Chrome has a terrific feature that lets you close all the tabs to the right of the current one. Very handy if you’ve opened a bunch of links from search results, found the one you want, and want to get rid of all the rest. Safari is a bit more limited; you can only close …
Author Archives: Andrew
Markdown coming to Jetpack
WordPress.com have just rolled out native Markdown support. Down in the comments, the author suggests that the functionality may be coming to Jetpack soon.
The bash function I should have written years ago
I bet you nine times out of ten when you mkdir whatever, the next thing you do is cd whatever. Add this to your bash profile. function mcd() { mkdir $1 cd $1 } Run mcd whatever at the shell prompt, and you’ll find yourself in a brand new directory called whatever.
Use DNS prefetching to speed up web font loading
Poking around in a framework today, I saw they’d suggested using the new dns-prefetching feature in HTML5 to speed up resolving some foreign domains. Further digging showed folks are prefetching the domains from which Google serve their web fonts. It’s a great idea, given that web fonts are one of the biggest contributors to page …
Continue reading “Use DNS prefetching to speed up web font loading”
Change DNS servers from the command line in Mac OS X
Changing DNS servers isn’t something most people need to do frequently. When you do need to change them up, though, it takes too many clicks in System Preferences. Use networksetup at the command line instead. For example, to change your DNS server to the OpenDNS servers, issue the following (if you’re using Ethernet): sudo networksetup …
Continue reading “Change DNS servers from the command line in Mac OS X”