Tag Archives: erlang

Terminal Keyboard Macro

Find yourself typing the same thing repeatedly in the Terminal app on OS X?  Wish you could keyboard macro something that works regardless of what shell, sub-shell, or program you’re in?  Well you can. I’ve been doing a bit of … Continue reading

Posted in Stuff | Tagged , , , , | 3 Comments

Erlang syntax highlighting for BBEdit/TextWrangler

Coding in Erlang on OS X?  Using BBEdit or TextWrangler?  Wish you could have syntax highlighting for your .erl and .hrl files?  Well you can! Paul Guyot developed an Erlang Language Module for BBEdit/TextWrangler that you can find over at Google Code. … Continue reading

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

YAWS json vs json2

Have a project that uses the json/json2 modules?  Notice some weirdness after upgrading to json2?  Yep , me too. In the original json you might do something like this: case json:decode_string(JSONdata) of {ok, {struct, Data}} -> [Field1,Field2] = [ proplists:get_value(X, … Continue reading

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

Basic Directory Display in YAWS/Erlang

When setting up a web server for the first time what I always want to do is get a script working that just does basic things like show the contents of the directory on the server.  It helps me orient … Continue reading

Posted in Stuff | Tagged , , | Leave a comment

Installing 64-bit Erlang on a MacMini

A heads-up for those installing Erlang on an Intel MacMini… Let’s start by supposing you have Mac OS X Snow Leopard happily installed and updated on an Intel MacMini: $ uname -a Darwin MacMini.local 10.5.0 Darwin Kernel Version 10.5.0: Fri … Continue reading

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