Posts by Cesar de Barros • 546 points
14 posts
-
2
votes1
answer1882
viewsQ: Pick up specific columns with Laravel querybuilder
Consider that my table in DB has many columns. However, for a specific query I do not need all of them. As I would in Laravel ( using both Eloquent and Querybuilder to pick up only the columns I…
-
0
votes1
answer118
viewsQ: Retrieve records created in a Mysql date range
Dear friends, I have a mysql table that receives manpower effective data in a client of my company. Each DB record has a start date (When this service began to be provided in this client) and a end…
-
2
votes2
answers258
viewsQ: Is there any way to reverse javascript minification?
Once the file has been minified using, for example, the uglifyJS it is possible to make it readable again? If yes, how? Obs: Use of the GulpJS as task Runner…
-
4
votes1
answer68
viewsQ: How to pick up points of interest between two moments in time?
Consider that there are two moments in time, represented in the standard format (HH:mm:ss). And consider that a point of interest is any moment that is represented by at most two different digits (…
phpasked Cesar de Barros 546 -
1
votes1
answer485
viewsQ: Is Websql the only local storage form in phonegap/Ordova?
Outside the database created by "browser", what other forms of data persistence we have on android with phonegap?
-
0
votes2
answers511
viewsA: JSON message does not appear
Look at, resposta.status // Não vai te trazer o conteúdo da resposta, apenas seu status. resposta.responseText //seria o ideal. One other little thing, $('#msg').html(resposta.responseText)//…
-
6
votes3
answers1605
viewsQ: Can you access the bash on Android?
I’m not an expert on Linux. But if Android uses the Linux kernel, it is understood that there must be some similarities. The terminal would be one of them?
-
4
votes2
answers5048
viewsQ: How to make a progress bar with steps?
How could I make a step progress bar using Html5, css3 and js? An example to clarify what I need to do: I prefer to do it from scratch, but is there any library ready for it?…
-
2
votes1
answer415
viewsQ: What tools/frameworks are available to create a restful PHP API?
Are there any such tools that facilitate the development of a Restful API? I’ve heard of the Slim Framework, but I wanted to know more tools. -----edited To be more specific, I want to make a…
-
3
votes1
answer5437
viewsQ: Difference between Multi and Single Thread
In terms of processes, what is the difference between the multi-thread pro single-thread? How the two forms will work with a requisition?
-
1
votes1
answer133
viewsQ: What are the causes that cause a php Session to expire?
In php, Sessions are useful for temporarily holding data. But mine are expiring very fast (in less than 15 minutes) and I still can’t figure out why. Man Session.cache_expire, according to phpinfo()…
phpasked Cesar de Barros 546 -
0
votes4
answers120
viewsA: Error using variables in a query
Try placing the variables within the query wrapped in single quotes. something like: ( '$nome', '$descricao' ) With me it works like this. After all, your string uses double quotes.…
-
3
votes1
answer159
viewsA: how to make a query that the user himself can generate?
I once solved this problem in a search system that had many optional fields. Sort of like this: $wheres = "";//cria uma string vazia pra receber a clausula where no SQL $first = true;//variavel pra…
-
13
votes2
answers2440
viewsQ: How does Math.sqrt work in javascript?
All right, I know it returns the square root of a number. But, what numerical operations it does to bring this result?