Skip to content

Instantly share code, notes, and snippets.

finger_server.js

An extremely minimal implementation of the Finger protocol using node.js.

To run (Finger uses port 79 which requires sudo):

sudo node finger_server.js
@akrito
akrito / gist:897054
Created March 31, 2011 19:30
All together
ps1_venv () {
if [ -n "$VIRTUAL_ENV" ]; then
printf ' (%s)' `basename $VIRTUAL_ENV`
fi
}
ps1_err () {
errcode=$?
local prompt=$1
printf "$(ansi_hash ${prompt})"