JavaScript: Function declarations & function expressions

Here's the thing... there is a lot more to this than I'm going to write here. I just want to make one quick point. But first... What is a "function declaration"? Just state the function: function foo(){ return bar; } What is a "function expression"? The function is assigned to a…

iPhone: Aspire to new levels of laziness with this flashlight protip

We all love the ease of Control Center to turn on the iPhone's flashlight feature, but us lazy minimalist users can easily turn off the flashlight by tapping the camera icon on the homescreen. True story. via Cult of Mac…

OS X: Copy contents of file to clipboard

Being an active Vim user I occasionally run into an issue where I have to copy a whole document and paste it into something. Here is the easiest way I’ve found so far: cat [file] | pbcopy …

Django: Quickly change a users password

I need to do this all the time. With databases bouncing down from production or working on password change flows, I manage to change my dev password constantly and lock myself out of admin. I had forgotten about this super easy way to change passwords until recently, and it has…

Techcrunch: The redesign is good.

Just now, Techcrunch released a wonderful redesign. Here are the things about the homepage that initially caught my eye: Minimal Navigation There are only 4 navigation elements. Navigation is one of those areas where shit is constantly shoveled into to satisfy advertisers, editors, and 34 other people in the conference…

New T-Shirt Designs

Nested in Pennsylvania's Appalachain mountains is the Laurelville Mennonite Center. A Pittsburgh faith-based youth organization has been renting the facilities their for the last 50 years. I personally have been there at least 60 times in the last 20-some years, and started designing t-shirts for them 15 years ago. It's…