Get WiFi Password from Command Line
I met Guillermo Rauch several years ago in the #mootools-dev room on IRC. He jumped into the MooTools project and made great things happen; he also coded MooTools' plugins forge. Since then he's gone on to create amazing things, most recently releasing HyperTerm, an excellent terminal app for Mac. I was recently browsing his GitHub repo list and found a goldmine of work but one quickly stuck out: wifi-password.
Have you ever been at a coworking location, a bar or restaurant, or your friend's house and someone asks you for the wifi password? You don't remember, of course, and the signs posting it are no longer up. What do you do? You grab wifi-password!
Once you've cloned wifi-password, you run the utility while you're connected to the network:
./wifi-password
Wait a moment and the wifi password is output to your command line:

I can think of dozens of instances when this would've done me well. Being able to retrieve passwords from any app or network is incredibly useful when on the go!
![Convert XML to JSON with JavaScript]()
If you follow me on Twitter, you know that I've been working on a super top secret mobile application using Appcelerator Titanium. The experience has been great: using JavaScript to create easy to write, easy to test, native mobile apps has been fun. My...
![JavaScript Promise API]()
While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready? Promises are becoming a big part of the JavaScript world...
![CSS Ellipsis Beginning of String]()
I was incredibly happy when CSS text-overflow: ellipsis (married with fixed width and overflow: hidden was introduced to the CSS spec and browsers; the feature allowed us to stop trying to marry JavaScript width calculation with string width calculation and truncation. CSS ellipsis was also very friendly to...
![MooTools ContextMenu Plugin]()
ContextMenu is a highly customizable, compact context menu script written with CSS, XHTML, and the MooTools JavaScript framework. ContextMenu allows you to offer stylish, functional context menus on your website.
The XHTML Menu
Use a list of menu items with one link per item. The...
You can also just do the following: