christianromney.com

4 notes

Set a default Emacs font the easy way on Mac OS X

First, enabled menu bar mode if you haven’t already (M-x menu-bar-open). Under Options, select Set default font… and choose your font face and size. Now, use M-x describe-font to see the font description string. Copy and paste this string into your .emacs configuration. Here’s mine:


(set-default-font "-apple-Menlo-medium-normal-normal-*-18-*-*-*-m-0-iso10646-")

Filed under technology

0 notes

UX Thought of the Day

No one wants to click a comment form Preview button. And if you let me choose between Submit and Preview, I’ll choose Submit everytime – only to notice my spelling error or blacklisted HTML tag after my comment’s been posted. Then, I’ll likely submit another comment right on its heels lamenting your shitty comment form’s lack of usability. It seems to me that inline previews with spell-checking and context-sensitive help are the way to go. Come to think of it, this might make a fun technology demo…

Filed under Technology

0 notes

In only a few hours, I was able to write a small, easily customizable proxy server that caches responses to help me develop while disconnected from our backend system. Node.js and MongoDB are definitely a force to be reckoned with.

1 note

The Great Whitespace Giveaway

Today only, I’d like to offer the first 10,000,000 programmers unlimited FREE whitespace! Take advantage of this limited-time offer to update your code with all the newlines, tabs, and especially spaces it so richly deserves. Now you’ll finally be able to turn this:


if(true){
foo();
}else{
bar();
}

into this:

if (true) {
  foo();
} 
else {
  bar();
}

So, go ahead, and let your code breathe.

Filed under code

0 notes

When adding unit test targets and classes in XCode, it’s easy to accidentally choose the wrong SDK / project type. I could have saved myself a lot of head-scratching building my iPad app if I had bothered to pay attention.

0 notes

Even running Windows in a VM when I need to test a site in IE is painful. The user experience is absolutely terrible.

0 notes

Xcode UI Improvements

Great suggestions. He should make an Xcode plugin to do just that. Oh wait, you can’t f’ing extend Xcode. That’s one of my biggest gripes with Xcode. Otherwise, I’d have hacked up Git support by now…

Xcode UI Improvements | Brandon Walkin

0 notes

A Real Class Act

Umpire Jim Joyce admits his mistake like a man. I hope he’s remembered as much for his integrity as for this call. I also hope the league overturns this unfortunate mistake. (via Gruber)

0 notes

I work with the terminal a lot. In fact, the first thing I do when I log in to my machine at work is to open up several shell tabs in Terminal and change directory. The specific directories I change to vary from project to project. With a little help from common shell commands and utilities, it’s easy to find out which directories you CD into most often. If you find yourself visiting a particular directory often, consider adding it to CDPATH.