Interesting questions
-
5
votes1
answer240
viewsWhat does git stash create?
I always use the git stash, who ends up making a git stash push, and send it to a stack, and then retrieve the changes later using the git stash pop. So far so good, but I found that there is the…
gitasked 7 years, 2 months ago user155240 -
0
votes0
answers185
viewsHow to activate autoplay with sound in any browser?
Hello. I am working on a website and I would like a background sound to start playing automatically when I open the page. However, it seems that Google has been censoring anything that brings…
-
3
votes2
answers75
viewsWhat do increment operators do in arrays?
Accidentally I was creating a PHP script and unintentionally put an increment operator in a variable whose type is array. To my surprise, no error was shown by PHP. I did some tests and found that…
-
-5
votes0
answers39
viewsHow do you ask a good question?
Impossible to ask a good question on this site, besides the bad explanation and a bad tutorial, all questions are rated as outside the scope of the site or things like that, even making clear which…
flutterasked 5 years, 1 month ago Programador otaku 1 -
1
votes1
answer116
viewsHow to change the graph structure in ggplot2?
I used the following command line from ggplot2 in R to generate the attached graph: g1 <- ggplot(count, aes(x=cluster, y=Reads)) + geom_point(shape=1) + facet_grid(. ~ Spp) ggplot(count,…
-
0
votes1
answer841
viewsUpdating a field in Mongodb
Considering the following structure: { "_id" : ObjectId("5ad69abb3630404194c80571"), "cnpj" : 2352345234523452, "razao_social" : "Lalala Ltda.", "fantasia" : " "aiufhdiua Ltda.", "dt_criacao" :…
-
0
votes1
answer2934
viewsChecking internet connection with phonegap
I took this model from the Phonegap website and yet it doesn’t issue an alert showing the status of the connection. I want to open the Inappbrowser that I am creating it show if it is connected on…
apache-cordovaasked 12 years, 5 months ago Paulo Roberto 1,988 -
0
votes1
answer177
viewsAggregate array of two or more collections in mongodb
Hello, I have two Collections and want to query the two Collections, like the sql "Join". The relation between the Collections is made as follows: medico: [{ medicoId: { type:…
-
0
votes0
answers453
viewsRotary banner with previous and next button
I have this code in jquery which is made for banner with numeric buttons (1,2,3,4...). I wanted to change the configuration so that it can be used with only two buttons, the next and previous…
-
0
votes1
answer29
viewsAdd a fixed image sequence in PHP
I own this code: <table class"is-bordered is-striped is-narrow is-hoverable is-fullwidth"> <tr align="center" id="title"> <td>POSIÇÃO</td> <td>NOME</td>…
-
0
votes1
answer69
viewsHow to block the suggestion list of an input text?
I want to block that list of suggestions that appears when you type something in a text field, someone knows how to do it?…
-
3
votes1
answer3164
viewsCreate folder/directory with Node.JS
There is the module "Fs", which is used to create files: const fs = require("fs"); fs.writeFile(`./teste.txt`, "conteúdo", function (erro) { if (erro) { throw erro; } console.log("Arquivo salvo com…
node.jsasked 6 years, 9 months ago Gabriel Ribeiro 495 -
2
votes1
answer31
viewsRemoving duplicate values from an array
I am managing to do the listing in the correct way, but some values are duplicated and I wanted to remove them and I can not at all... if anyone can help me, I am very grateful. // Creating variable…
phpasked 7 years, 10 months ago Marcos André 21 -
0
votes2
answers234
viewsSelectedvalue error of a dropdownlist in ASP.NET
I have an Asp.Net form for vehicle registration, where there are DropDownList which are filled with database data. However, clicking Save returns the error System.Exception: 'Unable to record…
-
1
votes1
answer33
viewsSearch for data not committed
I was doing some tests with respect to transactions and I saw that if I perform a search of the data registered and not committed they are returned. In Entity Framework this doesn’t happen, and so I…
-
1
votes1
answer68
viewsRead contents of a netflow package
I’m developing a tool that captures every UDP package that goes through my firewall (an Openbsd 5.4, simulated by a virtual machine), but I’m having trouble extracting the information I need from…
-
0
votes1
answer640
viewsMYSQL+PHP, How to add items from different tables SUM()?
I have two tables: table_entries | id | descricao | quantidade | | 1 | Maquina Prensa | 1 | | 2 | Maquina Secadora | 2 | table_bom_entries | id | id_itens | codigo | quantidade | | 1 | 1 | mp001 | 1…
-
1
votes0
answers39
viewsDifferent sessions for each level of access. Is it possible?
I am creating a CRUD for the service, where I will have 3 levels of access. Levels: Administrator (Register and delete and edit information) Collaborator (Registration only information) User (Only…
-
1
votes1
answer383
viewsError deserializing Model JSON data
JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'SoftluxWebCore.Models.Tabelas.Financeiro.CaixasModel' because the type requires a JSON object (e.g.…
-
1
votes1
answer59
viewsHow to add list to a Javascript object
I’ve been doing several tests for some time to be able to add a list to an object. I tried several ways and left the code in this format so that it is easier to understand the problem! The code…
javascriptasked 6 years, 2 months ago Matheus Felix 49