This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env coffee | |
# install dependencies: npm install irc | |
irc = require 'irc' | |
server = 'hubbard.freenode.net' | |
nickServPassword = '' | |
nick = 'bongbot' | |
client = new irc.Client server, 'bongbot', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# git.sh - Interactive Git Shell | |
# store command history here | |
HISTFILE=~/.gitsh_history | |
control_c() { | |
# save history before exiting | |
history -a | |
# i can't figure out how to make this just break out of the read command |