Posts by Rodrigo Gomes • 329 points
10 posts
-
1
votes1
answer271
viewsA: Force via HTACESS a single URL to run without https
I believe this is a possible solution to your problem. Note that I am using the /test/httpOn and /test/httpOff url as an example. Replace these values with the url you want to leave out of HTTPS.…
htaccessanswered Rodrigo Gomes 329 -
1
votes2
answers475
viewsA: Include extremes in BETWEEN and List missing values in SQL query
A possible solution is to use DATEADD, except a month of dataInstalacao and adding a month on CURRENT_DATE(). SELECT pagamentos.idPagamentos, pagamentos.mesReferencia FROM pagamentos, planosclientes…
-
4
votes2
answers1714
viewsA: Invoking an object’s method - reflect
Here’s a simple example of how you would play with Regeneration: http://rextester.com/ODXCPL39550 And the link of the documentation on reflextion…
-
4
votes2
answers1205
viewsA: Jquery Autocomplete
You forgot to filter the result with what was typed by the user. To do this, change the code snippet as below: success: function(data) { response($.ui.autocomplete.filter($.map(data, function(item)…
-
0
votes3
answers92
viewsA: Error in sql server
To prevent the values with end space return, you can make use of the function REPLACE. select * from TABELA where replace(COLUNA, ' ', '_') = replace('123456', ' ', '_') Here is an example from…
-
2
votes3
answers258
viewsA: How to generate SQL in relationship table without repeating values?
you can use the DISTINCT to ensure that only one value will be returned.
-
4
votes2
answers2937
viewsA: How to compare intervals?
Using your specifications the "manual" way of doing what you want is: D1 X D2 =$A$1=A2 =$A$2=A3 D1 X D3 =$A$1=A3 =$A$2=A4 D1 X D4 =$A$1=A4 =$A$2=A5 D1 X D5 =$A$1=A5 =$A$2=A6 D2 X D3 =$A$2=A3…
excelanswered Rodrigo Gomes 329 -
1
votes2
answers469
viewsA: Word break
If both arrays have the same size (attempts) (randomic), then you can simplify your method: String attempts[] = ...//Your array of attempts String numeroRamdomic[] = ...//Your random number array…
-
1
votes1
answer1450
viewsA: Stopwatch - Timer
You must put the condition for the chronometer to stop within the action Ex: timer = new Timer(1000, new ActionListener() { public void actionPerformed(ActionEvent evt) { if (/* Cronometro = 2…
-
2
votes1
answer31
viewsA: Regular expression does not detect first entity
This is happening I split the quotation marks after the .* (?<=.*)\s However you will still have to work on this regex as it will capture the spaces within the description attribute, which you…