Efficient use of the each function
This code is efficient from a performance standpoint because we are creating variables outside the loop and pass them into the loop. Also we are NOT checking the DOM for […]
» Read moreTalk To Me
This code is efficient from a performance standpoint because we are creating variables outside the loop and pass them into the loop. Also we are NOT checking the DOM for […]
» Read moreA simple bit of js to show/hide div element based on start and end time. Handy script if you need to display a message on your website/page for a period […]
» Read moreList all open files on port 80 lsof -i tcp:80 -Pn Apache SSH into your server and go to cd ../etc/apache2/sites-available/ This depends on how your VHOST is configured. Edit […]
» Read moreRedirect from http to https via Apache config SSH into your server and go to cd ../etc/apache2/sites-available/ This depends on how your VHOST is configured. Edit the httpd.conf file, or […]
» Read moreMaking sense of GIT
» Read moreSome basic, but useful commands File & folder ownership & groups Find all files/folders with user apache. find . -user apache Find all files/folders that DO NOT have user apache. […]
» Read more