HOME / Posts Tagged: code

Just because you can: GUI icons with pure CSS

// Inspired by an elegant piece of CSS code by +Lea Verou, creating the WiFi code (see it here http://bit.ly/wificss), I searched for other examples of this and found this little gem: A demo of 84 icons created with just CSS by +Nicolas Gallagher. Nicolas calls it’s a "technical exercise" but given that this was [Continue reading]

How to start writing secure PHP code

// Some basics of writing #secure   #code  from Nathan Good at IBM 1) Validate input2) Guard your file system3) Guard your database4) Guard your session data5) Guard against Cross-Site Scripting (XSS) vulnerabilities6) Verify form posts7) Protect against Cross-Site Request Forgeries (CSRF) Kind of seem obvious, but they are not to a lot of people. The [Continue reading]

Behold the Beauty of Bash

// This dangerous and #fun piece of #code (called a "fork bomb") would make a great t-shirt :)You can try to find out what it does, do a backup first. Or read the analysis here http://bit.ly/VYACFcVia +Geek Humor Google+: Reshared 1 times