Good Blog, Karl
Random quasi-technical stuff I want to remember
About

All Posts

A collection of links (and an OPML file) to web development blogs

Back in the days before HTML5, wrapping a link around block-level elements wasn't semantically appropriate. Even now, some situations—like linking a table row—call for a more creative solution

After 12 years, I decide to rebuild the site using Astro, a JavaScript-based static site generator

A list of Web * APIs because sometimes I can't remember which is which

Quick fix for a warning when running the Yeoman CLI

A super neat git trick for finding out which branches we can delete when we want to do a little housekeeping

A list of things I've read recently related to web development

Problems loading video on web sites and ways to fix them

A reminder about priority order for Apache's mode_rewrite

Late to the party, once again. Just discovered Debug Console in iPhone while looking through the Safari Developer Library and stumbling upon Safari on iPhone Tools: Safari on iPhone OS provides a debug console which reports messages, coding errors, warnings, and tips. In the iPhone Simulator or on iPhone or...

Every time clients start putting up links to Microsoft Office files on their sites, I’m sent scrambling around my hard drive with a find ~/Sites -name ".htaccess" -exec grep "ms-word" '{}' \; -print command or searching the googles for htaccess force download ms-word. Fortunately, it doesn’t take too long to...

Yet another build script tool

I usually start my projects with a local git repo and then at some later date decide to put it up on github.com. That’s usually a no-brainer if I’m the one who creates the remote repo; GitHub provides clear instructions on the very next page. But if the project is...

After I linked to a Media Query detection script written by Nicholas Zakas, Paul Irish pinged me to let me know about a gist he adapted from Scott Jehl. This one looks even cooler. It takes advantage of the new matchMedia function when it’s available, and defines its own when...

This gist from Nicholas C. Zakas looks really handy: This function determines if the browser is currently in a particular media media mode. Use the same media query as you would in CSS or on a <link> element. I can see myself using it quite a bit. His usage examples...

It took me a while to track down how to set up a new git repo on my remote server hosted by DreamHost. I imagine that most, if not all, of this stuff probably applies to any shared hosting service. Here’s what I have to do — in case I...

JavaScript Garden is a growing collection of documentation about the most quirky parts of the JavaScript programming language.

My goal for this site is to make it as easy for me to use as possible. That’s why I’m using Jekyll (which I’ll blog about another time). I also want to automate as much of the blogging, version control, and deployment as possible. Up until today I was using...

Lately I’ve been dabbling with bash scripting, mostly setting up aliases and very simple functions to make my life on the command line a little easier and more efficient. A couple weeks ago I stumbled upon a bash-scripting gold mine called “bash-it.” It’s a GitHub Repo with lots of custom...

The OS X Finder is the undisputed loser in the file management category. What’s particularly crazy is that OS X has rsync built into the OS. I can never remember the flags to use for the various rsync options, so I wrote a little bash function: function cps() { dirname=$1...

Sometimes I load a small init.js file in the <head> and load all the other scripts before the closing <body> tag, and it’s nice to have a few utility functions. This is one of those functions I use every now and then: var FM = FM || {}; (function() {...