All Questions

1
answer

MySQL sort too slow for results with many records

I have two tables, the first one is used to group the data of the second with some information about the set, in order to facilitate the pagination of the contents. Table 1: - id INT(11) NOT NULL UNSIGNED AUTO_INCRE...
asked on 30.04.2016 / 02:12
1
answer

How to improve this algorithm?

The purpose of my algorithm is to make the user train division: he will have to hit the integer quotient (ie no decimal places) and the rest of the division 10 times in a row. I made this algorithm especially for my niece, so she passed the ch...
asked on 21.10.2016 / 23:37
1
answer

Send via Json data to the controller

I am trying to send via Ajax some data from my form. In this form, I have inputs normal fields and a list of providers that I previously selected through the checkbox. Follow screen: I'mcreatingtheJSONobjectandsendingitviaAjax,butmyli...
asked on 21.09.2015 / 21:09
1
answer

Generate header when exporting data to excel

I did an export routine for excel , using StreamWriter , but it gives me a problem. I can not get the name of the columns that come in the select. For me to do the header, I had to put it in the hand. This would not be the problem, t...
asked on 12.01.2016 / 11:21
2
answers

How to put side menus on ionic?

I'm developing an application in ionic I'm not able to put side menus left on the first page of the application and a login I'm not able to do the side menus on page home.html which is for that page which goes to the...
asked on 08.07.2015 / 23:12
1
answer

Why use "git branch --unset-upstream"?

I created a project and left it hosted remotely. I have the following code: So far so good. Now I do a branch called test, and I already do add / commit / push. And now what I wanted to ask is: When I go back to the branch master, t...
asked on 09.12.2016 / 19:33
1
answer

Tests with digital certificates

I would like to know if anyone knows a way to test digital certificates. I have the following situation, my system works normally with digital certificates. However when the configured certificate expires or in the case of token certificates,...
asked on 22.09.2015 / 21:24
1
answer

Is it possible to know at what point the script reaches peak memory?

Is it possible to know at what point the script reaches peak memory? I have a PHP script that in the end shows this result:    Use: 380.515625Kb       Peak: 393.5859375Kb       Real: 512Kb Example: <?php ... echo PHP_EOL,...
asked on 02.06.2015 / 06:31
2
answers

Search system listing error with pagination

When I query, I get the following result [image1] When clicking to go to page 2, I get the following result [image2] That is, on page "1" everything works with the total results displayed (10) and total links (2), but when going to page "2...
asked on 04.09.2015 / 00:33
1
answer

Can denying access to a folder with mod_rewrite be insecure?

I'm thinking of creating a very limited php microframework just for own use, however I came across a situation, most frameworks use a folder called public and on the usually production servers we point this folder with DocumentRoot...
asked on 12.12.2015 / 01:26