Challenge: Make something cool, from scratch, while on an airplane. Start when electronics are allowed and end when they’re not.
Dead Simple PHP Maintenance Lock Out
Here’s a quick and dirty way to lock people out of viewing your PHP site while you’re working on it. Put this in a base file or at the top of any page that you don’t want rendered.
You can view it by appending
?maint to all the URLs, which normal visitors won’t know. Of course, you can use other attribute names or text.
Is this the most secure way to do it? Definitely not. But for most purposes, it’s totally fine.
There’s A Sticker On My Computer!
Semi-Transparent Mockup Overlays with CSS / jQuery UI
I recently needed to convert some PSDs to HTML/CSS with pretty high accuracy, that is, the finished webpages needed to look very close to their original mockups. As is customary nerd style, I wrote some code to help me do that.