Serve a Directory via Python
I recently found out that you can serve up a directory using one Python command line directive:
# Serves the current directory at: http://0.0.0.0:8000/
python -m SimpleHTTPServer
Excellent. No more directory and MAMP Stack juggling. Even better is that the command is easy to memorize so no need to constantly look it up. Keep this in mind when you want to work on something without a big server install!
Kids these days, I tell ya. All they care about is the technology. The video games. The bottled water. Oh, and the texting, always the texting. Back in my day, all we had was...OK, I had all of these things too. But I still don't get...
Speech recognition software is becoming more and more important; it started (for me) with Siri on iOS, then Amazon's Echo, then my new Apple TV, and so on. Speech recognition is so useful for not just us tech superstars but for people who either want to work "hands...
A few weeks back I wrote an article about MooTools Link Nudging, which is essentially a classy, subtle link animation achieved by adding left padding on mouseover and removing it on mouseout. Here's how to do it using jQuery:
It's important to keep...