Posts by Luigi Matheus • 154 points
8 posts
-
3
votes2
answers1429
viewsA: Exclude an element from a specific div
Friend, you can use the css selectors the same way in javascript. So you can select only the chosen element. $("#lista p").remove(); Hugs.
-
1
votes3
answers307
viewsA: Equivalent to javascript wrap
Well, I think maybe this will help you. org_html = document.getElementById("containerPAI").innerHTML; new_html = "<div id='containerFILHO'>" + org_html + "</div>";…
-
4
votes1
answer1092
viewsA: Automate a script . sh
Come on... Well, I’ll try to help solve these obstacles but if I had posted the code it would be easier... DATE Using this code concatenated the string where the date is inserted will take the…
-
0
votes3
answers934
viewsA: Best way to save login data
Friend recommend the use of a framework in the back-end, I am using in several projects Codeigniter, the framework itself takes care of the whole process of login, registration and authentication.…
-
0
votes4
answers571
viewsA: Apply class to a link within an echo?
Follows: The result is the same in both, but if you use echo it tries to 'printar' as an element and only the word appears with the link. Using var_dump: var_dump('<a…
-
0
votes3
answers339
viewsA: Bash - Mysql backups
Hello, Required packages: mysql, mysqldump and zip. git clone https://github.com/SoundTooth/backupMysql.git vi . /backupMysql/backup.sh zip_passwd="YOUR PASSWORD" ESC + WQ + ENTER sh .…
-
2
votes1
answer91
viewsA: Collapse bootstrap opens all tabs at once
Good afternoon, Change: <div class="taskToDo clearfix data-toggle="collapse"> For: <div class="taskToDo clearfix" data-toggle="collapse"> I think you should solve...…
-
0
votes1
answer304
viewsQ: Real-time database replication
We have a client who needs to perform several queries in the database in a short period of time, something approaching 40,000 requests in less than 2 hours. I created a program that bridges the gap…