Fix css-mode indention in emacs

Here’s a quick fix for the obnoxious default indention settings for emacs. Just drop these lines into your .emacs file:

(setq cssm-indent-level 4)
(setq cssm-newline-before-closing-bracket t)
(setq cssm-indent-function #'cssm-c-style-indenter)
(setq cssm-mirror-mode nil)

Thanks to stokebloke.com for saving my sanity.

Change (dot gov)

Promptly at 12pm, Obama’s media team launched the redesigned whitehouse.gov. Some thoughts:

Perhaps most emblematic of a new, open government, though, is the site’s robots.txt file. For the uninitiated, a robots.txt file tells search engines like Google what they’re allowed to index. Things that aren’t indexed aren’t searchable. The old whitehouse.gov had a robots.txt totalling over 2400 lines, meaning that lots of stuff on the site was essentially hidden, or at least a pain in the ass to find. Obama’s site has just one exclusion, which is a directory used for scripts (useless information for search engines anyway).

Here’s to a new day in the US of A.

Wordle of inauguration speech

I’m sure I’m not the first to do this, but I threw the text of Obama’s speech into Wordle today. Here are the results:

Obama's Inauguration Speech

(Click to enlarge)

Barack’s new digs

1) Obama’s transition team has a website up and running already. Good to see that he intends to continue leveraging the internet for campaigning and dissemination of information.

2) Damn. Look at that site. His team continues to do amazing graphic design work. The coherence of the graphic design and branding throughout the campaign was phenomenal. His website, his signs, even the stage at which he gave his acceptance speech – they all meshed beautifully. Marketers and politicians, take note. That is how you build a brand.

3) Note the quotation on top of the site:

“Today, we begin in earnest the work of making sure that the world we leave our children is just a little bit better than the one we inhabit today.”

It’s going to be good to have the president I’ve always wanted.

|