Interesting questions
-
2
votes1
answer257
viewsforeach using css3
So I have a div with 3 imagens <div class="pai"> <img src="1.jpg" /> <img src="2.jpg" /> <img src="3.jpg" /> </div> I would like these three images to run from right to…
-
0
votes0
answers175
viewsConvert string separated by comma to json
I have the function: $data ={ $G,3,"027",8,"sao paulo" $H,3,"027",5,"curitiba" $SP,3,"027",5,"brasilia",62312 } var dados = data.split(","); var json = []; var toSplit = dados.split(","); for (var i…
javascriptasked 7 years, 11 months ago Monogarm 15 -
0
votes0
answers105
viewsRegistration of dates from the calendar
I am trying to make a record of recurrence of dates for an event, I have this calendar: https://procurandooquefazer.com.br/data_calendario/ I wanted it to be possible to click on each date,…
-
1
votes3
answers6042
viewsHow to limit the size of Body to be centered on the Css screen
body{ font-family: gotham, arial, helvetica, sans-serif; font-size: 18px; margin: 0; padding: 0; margin: 0 auto; }
-
0
votes1
answer1013
viewsHow to search for users in the database without select option
Good staff always found bad a method I use to search users in the database in a select option, when I have many records the page takes to load and only tends to get worse, someone has some idea of…
phpasked 11 years, 10 months ago Rafael Assmann 381 -
1
votes2
answers336
viewsAndroid: Problem searching last id inserted with Sqlitedatabase (ORM Lite)
I am having a problem executing a query (with Ormlite) that adds the return to 'ultimaConfiguration' in which you should get the last 'id' inserted in the Configuration table. the method that…
-
0
votes1
answer239
viewsInterleaved matrix
Hello, I’m doing this exercise, but I’m having a hard time. Follow the statement: 22) Write a program to generate one matrix (N x M) (<=20) and another (N x P) (<=20). Generate a third matrix…
-
4
votes1
answer616
viewsThread problem
public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try {…
-
2
votes2
answers43
viewsCount of boolean values
I’m doing some Javascript exercises and I came across this problem, in counting boolean values. I converted the Nodelist into an Array to try to count the values by the method for(), filter()…
javascriptasked 6 years, 3 months ago Daniel Barros 55 -
3
votes4
answers2332
viewsRegex to pick word between two words or "/"
Someone can help me, I would just take the word between resourceGroups and providers and assign to a variable in javascript.…
-
0
votes1
answer87
viewsCheck if Sim Card is installed
Hello, I wonder if it is possible to check if the sim card on the device is installed on Android.
androidasked 12 years ago Douglas Mesquita 809 -
1
votes0
answers99
viewsDifferences between brglm and logistf packages
I am working with a dashboard database that contains information about publicly traded companies from BOVESPA. Below follows a piece of this database: My dependent variable is binary (ROIC.MEDIANA)…
-
1
votes2
answers86
viewsComparison of dates with custom date class
For design reasons, the class Datetime do. NET is not suitable for me. So I decided to create my own version: public class HolidayDateTime { public readonly uint[] RangeValueDay = { 1, 31 }; public…
-
-1
votes1
answer50
viewsHow to check if a session exists
How do I check if a session exists and if it exists, redirect to a specific page? I tried it this way, but it’s not working. <?php if(isset($_SESSION)){ header('Location: painel.php'); exit(); }…
phpasked 7 years, 2 months ago Jhonatan Mendes 3 -
2
votes1
answer344
viewsReturn php values with javascript
I in java made a project that in several parts of the program called a function to go to the database to fetch a value and return, of type String nome = acessocliente.obtemnome(id); where in the…
-
0
votes1
answer89
viewsActive record, how to replace Uniq with distinct correctly?
I’m trying to recover the months where I have answers to a survey this way: Answers.pluck('EXTRACT(MONTH FROM created_at)').uniq (0.7ms) SELECT EXTRACT(MONTH FROM created_at) FROM `answers` =>…
-
2
votes1
answer216
viewsWhen I create a function in C++ do the variables within it stay in memory?
When I was studying pseudocode, I learned that when you call a function and create a variable, it only "exists" when I call that function, for example. funcao teste(): x = 10 retorna x In case, when…
-
0
votes1
answer130
viewsShow xml nfe tag value in datagridview columns
I have a little problem because I am reading the tags of an xml of Nfe, but I am not able to show in the columns of datagridview, my code is reading the correct tags, but do not notice anything in…
c#asked 8 years, 1 month ago Junior Guerreiro 617 -
1
votes1
answer403
viewsTwo types of search in the same textbox
I wonder if it is possible to search two types of variables (one at a time) in a single textbox. Example: public ActionResult Index(string pesquisa) { var usuario = from u in db.usuario select u; if…
-
0
votes0
answers21
viewsUsage of ... in Arrays (Javascript)
I wonder what the "..." is for before a Javascript array. Thanks in advance
javascriptasked 8 years, 2 months ago César Felipe 467