Interesting questions
-
0
votes1
answer92
viewsHow to remove upload files after the db:drop command in Rails?
My API uses the Gem shrine to effect several different types of uploads. Unfortunately during development the files are accumulating in the folder public/uploads every time I do db:drop of the…
ruby-on-railsasked 9 years, 3 months ago Bruno Wego 1,568 -
1
votes2
answers15896
viewsHow to stop an execution in Python?
I’m starting programming in Python and would like to know how to stop the program execution? In the language C for example, there is the equivalent command system("pause"). If I open IDLE, more…
-
1
votes0
answers42
viewsDoubts of Alignment between two Tables
I have a little doubt about the alignment between these two tables <table id="tableCabecVendasML"> and <table id="tableDadosVendasML"> NOTE: I made this page this way because I want to…
css3asked 9 years, 9 months ago Gustavo Castilho 392 -
1
votes1
answer773
viewsPlace div daughter element ul li occupying 100% of page width
The problem is this: I have a div who is daughter of a li element of a ul that does not start in the corner of the page. There are two subproblems: 1 - I need to be able to expand this div so that…
-
0
votes1
answer420
viewsMinimize jfx window
My window is without the edges of the system. primaryStage.initStyle(StageStyle.UNDECORATED); I created a button to minimize the window but I find Exception by assigning to my stage: @FXML void…
-
-4
votes1
answer81
viewsDoubt about jquery code
People is like this when the user clicks on the red div that is the div_2 it would disappear and appear the green div that is the div_1, but this giving an error the red div is not disappearing.…
-
0
votes1
answer68
viewsDash Sliding-Middle-out on top image
I have an image and at Hover, I want to present a dash at the top of the image growing from the middle out. example here (below "our Programs"): http://www.templatemonster.com/demo/58536.html I’m…
-
0
votes1
answer165
viewsDecrease php hours
I’m having trouble fixing the time to decrease it in php. My idea take the time that comes from the database and decrease with the current time and bring the rest , however. code I’m using as an…
-
2
votes1
answer276
viewsHow do I deploy an Angular app to Heroku using Gitlab?
Angular Use 5 (5.2.10) and Angular CLI (1.7.4) and I would like to deploy to Heroku, but my files are in the Gitlab repository. Some more information: Node (8.11.1) and npm (5.6.0).
-
1
votes2
answers451
viewsGet which div was clicked correctly
I got some Ivs: <div class="filter__filters tamanho"></div> <div class="filter__filters preco"></div> <div class="filter__filters cor"></div> I’m trying to catch…
-
0
votes2
answers123
viewsHide checkbox and display other
I did a little validation in my script only that I am not able to do the following validation. I have 2 checkbox, each execulta an action, as you can see in my if down below. @if (item.Cadeado == 1…
-
0
votes2
answers448
viewsHow to remove back arrow from home screen (flutter)?
People I’m having a problem the moment I logout type, I press the icon to logout it leaves the app, only when soon again it presents an arrow back on the home screen. my code is like this:…
-
-1
votes1
answer39
viewsI cannot understand why this value is Nan in the column "[lethalityRegionalSaude]"
#letalidade por estado letalidadeRegionalSaude = [] for i in range(len(regional_saude)): letalidadeRegionalSaude.append(regional_saude.obitosNovos[i] * 100 /…
-
3
votes1
answer673
viewsHow to hide.php displays from link (friendly url)
All right? Please, I need help... Currently, my site presents links as follows: https://site.com/pagina/noticia/2019/ciencia-e-saude/exibe.php?link=página-do-leitor-é-maneira In the…
-
1
votes1
answer116
viewsUsing model Annotations for C#controller
I have this Annotation on my model [ZoneamentoDados(fim = 2, inicio = 1, tamanho = 2, obs = "Tipo Registro")] public String tipoRegistro { get; set; } [ZoneamentoDados(fim = 54, inicio = 54, tamanho…
-
1
votes1
answer682
views -
1
votes1
answer509
viewsTake combobox selectedIndex and switch to input?
In the following example I take the value of the description in Alert; I need to take this text from the drop-down box in the value of an input field... how to adapt this? I have to send this…
javascriptasked 11 years, 3 months ago Rose 775 -
0
votes0
answers35
viewsguidMemberAdd is not working normally (Discord.js)
I’m making a code that has "guildMmemberAdd", that when someone enters the server, the bot sends an embed with information. However, it is sending 5 messages at once. My code:…
javascriptasked 5 years, 4 months ago davi0880 _ 11 -
-4
votes1
answer36
viewsHelp with Array
I’m having a problem with javascript. I have an array with 500 positions, I want to print all the data in my html. But when I throw this dice into a div it pulls only the last element. I appreciate…
-
1
votes1
answer49
viewsWhat is the best way to work with user data coming from the server?
I’m on a project for an online sales (mobile) app. What is the best way to work with data from tables? Sqlite, JSON, creating a class, Localstorage? For example, when soon, I don’t want to be on the…