That's easy. Just add async attribute to the script tag. DOM will be ready before Javascript is downloaded, so the visitor will see contents of the page faster. It's always better, when your JavaScript is only used for user's interaction.
How to check if image has no code injected?
If you let images with code injection be saved on your server, it is possible, that it's a highwayto your php files and whole database, so it is important to make sure, that if user uploads avatar, it is really an avatar, not some hacky stuff with code injected into the image.
Free Ajax URL shortening service with 1 letter domain!
Hey geeks! Today I will share with you my new Free Ajax URL shortening service with 1 letter domain! It is simple to use, just make POST or GET request to this url:
How to start Android Studio Windows 8 64bit?
Quick tutorial on how to start Android Studio version 0.1 in Windows 8. You can download Android Studio from here: http://developer.android.com/sdk/installing/studio.html
Google April Fools jokes 2013
Here you can see all Google April Fools jokes for 2013. If you know something more, please write about it in comments.
php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory while installing php zip
I was trying to use ZipArchive, but i got an error:
Fatal error: Class 'ZipArchive' not foundThen I started to Google how to install zip extension on my Ubuntu Apache 2 server. I have PHP version 5.3.10 and in configuration it says, that zip is enabled. This information you can get with these 2 simple commands:
Subscribe to:
Posts (Atom)


