Posts by Carlos Pereira • 1,190 points
27 posts
-
2
votes1
answer639
viewsQ: Is there a nomenclature standard for table index names in Mysql?
It seems simple this question, but wanted to know how to set a pattern. Usually using the Mysql Workbench a default is set automatically, as in the example below: fk_tabela1_tabela2_idx Note: I am…
-
5
votes1
answer344
viewsQ: How to translate JS plugins dynamically with Codeigniter?
I’m developing a Webapp using Codeigniter and need to have multiple languages, in PHP quiet, my problem is how to organize the translations of Javascript plugins. Example, I have in the application…
-
0
votes1
answer225
viewsQ: What are the "partials" folders in Laravel?
In Laravel there are "partials" folders that is a convention? What should I save in these folders? PS: I’m starting in the Laravel world!
-
1
votes1
answer451
viewsQ: Does compressing all Nodejs JS files (node_modules) decrease performance?
In my application I am using Gulp to compress all my files JS inside the case node_modules, my question is on performance, it is a bad practice to do this or not? If you have any suggestions will…
-
6
votes3
answers170
viewsQ: Why use layout before loading information?
I see in several web applications that before displaying the content is displayed some blocks looking like an image, the blocks I speak in the image are those of the sidebar. Why use it and how to…
-
2
votes0
answers209
viewsQ: Problem to read formulas using Apache POI
I’m creating a method to hide the elements that are zeroed out from an excel file, but the problem that it can’t catch the values when the column is a formula. How can I get these values? My code:…
-
0
votes1
answer62
viewsQ: Can you block external access in an application?
Is it possible to block a system that is accessing from the outside? I have a system with login and users are using Curl PHP to load the whole page in their environment. I’m using Java + Jboss.…
-
7
votes1
answer737
viewsQ: How to create a system to generate hashes and break without the original string?
Is there any way to break Sha-256? There is a mathematical process to break? I need to create a program that generates several hashes and another to break without having the original string (similar…
cryptographyasked Carlos Pereira 1,190 -
1
votes2
answers288
viewsQ: How to block external requests in Jboss?
How to block an external application from accessing my web application? Are there any way to block this?
-
2
votes1
answer112
viewsQ: How to traverse a vector with the quantity of the second vector?
int[] teste1 = {3524, 79, 2573, -4216, -4126, -4169, 1876, 2903, 2702, 1090, -6544, -8600}; int[] teste2 = {3524, 79, 2573, -4216, -4126, -4169}; I have a vector with 12 records and another with 6,…
javaasked Carlos Pereira 1,190 -
0
votes1
answer36
viewsQ: Can you create a "Reader Mode" with PHP?
Safari has a "Reader Mode" that removes everything from a website and leaves only the article. Does anyone know of an open source library that provides the same functionality? Or, it is difficult to…
phpasked Carlos Pereira 1,190 -
0
votes2
answers131
viewsQ: How to load multiple records into a Combo?
I need to create a functionality for a system that one can select multiple records in a Combo, but the problem is that I am loading over 5000 records and the browser is crashing. Is there any way to…
-
6
votes1
answer12243
viewsQ: How to use the Row class in bootstrap?
I have two questions: 1st - In bootstrap it is mandatory to use the "Row" class to wrap the columns? 2nd - I can have more than 12 columns within the same class "Row"? Example: <div…
twitter-bootstrapasked Carlos Pereira 1,190 -
3
votes1
answer94
viewsQ: How to exit the controller before reaching the end with Vraptor 3?
Do you have a command in vraptor 3 that will allow you to log out of the controller before you get to the end of it? 'Cause I have a controller that if a particular one happens process in the middle…
-
3
votes1
answer2884
viewsQ: How to disable automatic Java update?
How to disable the 64-bit Java 7 update? I entered the Java control panel and the update tab does not appear. Note: I cannot update my version.
-
0
votes1
answer124
viewsQ: How to send SMTP commands and IP not be blocked?
I am developing a PHP system that sends SMTP commands for email validation, but the problem is that in some providers my IP is added in Blacklist. Is there any way to fix it? To validate I am…
-
4
votes2
answers90
viewsQ: How to identify when someone is uploading to the page?
I need to refresh the page every 5 minutes, but I have a form for sending files on the page and are usually large files. Is there any way to identify when someone is uploading a file with…
javascriptasked Carlos Pereira 1,190 -
0
votes1
answer295
viewsQ: How to add a new Runnable to an Executorservice?
This is the first time I’ve worked with threads... The method below runs every 15 seconds by the EJB. I wanted that if there is SMS list in the bank it add to a new thread triggering these SMS But…
-
6
votes2
answers1364
viewsQ: Problem with very large URL
I am trying to pass a URL by GET and the server is returning error 404 by the URL being too large (I am passing an XML through the URL). I have already tried to add the Maxfieldlength variables with…
-
3
votes3
answers688
viewsA: Floating div is not working right
There are some JQUERY plugins that might suit your need: http://someweblog.com/demo/hcsticky/ http://dropthebit.com/demos/stickyfloat/stickyfloat.html…
-
3
votes1
answer517
viewsQ: Identify element in an image with PHP?
Is there a tool or way to check if there is an element inside an image in PHP? The system needs to identify that the element of the first image is also in the second image. Example:…
phpasked Carlos Pereira 1,190 -
1
votes1
answer1569
viewsQ: How to compare two images with PHP?
Is there any tool or way to create an image comparison with PHP? I need the system to identify when one image is not the same as another.
phpasked Carlos Pereira 1,190 -
2
votes2
answers465
viewsQ: JSP Dynamic Change in Jboss AS 7.1
Hello. When working with JSP I find it very bad to have to pause and start the application every time I need to see a change. Have any way to update page changes without doing all this?…
-
4
votes1
answer363
viewsQ: How to send user information securely using Ajax?
I am developing a login system and need to send the values by Ajax. The login will be in a modal window at home, and because of that I will not use the HTTPS protocol. You can send securely by Ajax…
-
3
votes2
answers1210
viewsA: How to list more than 50 Youtube videos using Curl
You can use JSON to pick up the values more easily, just put the parameter alt=jsonc at the url. Example: $json_url =…
-
21
votes5
answers2054
viewsQ: Why put Javascript, CSS, and images on another server?
On most sites I noticed that they use another server to load scripts, CSS and images. Because they use?
-
27
votes9
answers37388
viewsQ: What should I use in CSS, id, or class?
I started practicing html and css and some questions arose: When creating a style for an HTML element what should I use in CSS, class or id? What are your criteria for choosing what to use in CSS?…