bdunagan
fill the void

Posts Tagged random

Converting MySQL from LATIN1 to UTF8

MySQL defaults to “latin1″ as its character set, but at some point, most people want to migrate to “utf8″. I realize that there are dozens of posts about how people handled this, and yet, not a single one of those worked completely for me. I wanted MySQL to use “utf8″ for the character set and [...]


Server Tip: Better SSH Timeouts

I recently had an issue with my SSH connections timing out quickly. At Starbucks, I had no issues, but at home, the connection timed out faster than usual. First, I wanted to see how fast, so I wrote a short bash script that sleeps for increasing periods of time. I found that the connection timed [...]


Posted
28 June 2011 @ 9am

Tagged
random

Developer Tip: Remap Caps Lock to Command (⌘)

Apple makes it easy to remap certain keys. The left Command key on my MacBook Pro’s keyboard never worked well ergonomically, so I remapped the Caps Lock (⇪) key to Command (⌘). I’ve been happy with it ever since. Frankly, I physically removed the left Command key after that to prevent my muscle memory from [...]


Posted
20 June 2011 @ 1pm

Tagged
random

Server Tip: preserve the user environment

crontab and sudo don’t preserve the user environment by default. Here are ways to fix that:


Obligatory iPad Post

“When the Mac first came out, Newsweek asked me what I [thought] of it. I said: Well, it’s the first personal computer worth criticizing. So at the end of the presentation, Steve came up to me and said: Is the iPhone worth criticizing? And I said: Make the screen five inches by eight inches, and [...]