Category Archives: coding

Open all files in separate emacs windows

How to open everything in a directory with emacs, each in their own window: find . -type f -exec $SHELL -c ‘”$0″ “$@” &’ emacs {} \; Many thanks to ephemient at StackOverflow for the inspiration:

Posted in coding | Tagged , , , | Leave a comment

How to conditionally display variables with EJS

Short version: <%= ? : ” %> When using EJS as a template language, it can be a bit of a mystery how to concisely display variables if and only if they are defined. For example, if you … Continue reading

Posted in coding, Development | Tagged , , , , | Leave a comment

The World’s Simplest AutoTweeter (in node.js)

Last month, I set up a quick little autotweeter using Node.js to help me with Repeal Day Santa Barbara. I wrote a short blurb about it before hand, here’s what actually shipped. (Many thanks to the guys at the Santa … Continue reading

Posted in AutoTweeter, coding | Tagged , , , , , , , , , , | Leave a comment

Towards a node.js Auto-Tweeter

I’ve been intrigued by node.js as a platform for highly-scalable server applications written in javascript and finally found a super simple application I wanted to try with it: an auto-tweeter that would let me schedule future tweets to my own … Continue reading

Posted in AutoTweeter, coding | Tagged , , , , , , | 6 Comments