Skip to content

Instantly share code, notes, and snippets.

Using bitlbee with HipChat

Initial setup

  • account add jabber [email protected] 'PASSWORD'
  • account hipchat set nick_source full_name
  • account hipchat set resource bot
  • account hipchat on
@spo11
spo11 / init.el
Created September 17, 2013 18:03
My init.el
;; File: init.el
;; Author: A.J.
;; PeepOpen and Textmate configuration for fuzzy-file-finding
;; Emacs-starter-kit by technomancy
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
@spo11
spo11 / custom_plan.rb
Created September 10, 2013 13:11
My zeus stuff.
require 'zeus/rails'
class CustomPlan < Zeus::Rails
# def my_custom_command
# # see https://github.com/burke/zeus/blob/master/docs/ruby/modifying.md
# end
end
@spo11
spo11 / emacs_peepopen.md
Last active December 19, 2015 03:19
Setting up Emacs with PeepOpen

First, install Emacs 24.x with cocoa support:

$ brew install emacs --cocoa

Then, create an alias in your home folder/Applications:

$ mkdir ~/Applications
@spo11
spo11 / post-receive
Created June 2, 2013 23:58
This is a working post-receive hook for jekyll deployment, when using RVM. Follow instructions here: http://jekyllrb.com/docs/deployment-methods/ for setting up the git repos. Then place this file under myrepo.git/hooks/post-receive.
#!/bin/bash -l
#
# An example hook script for the "post-receive" event.
#
# The "post-receive" script is run after receive-pack has accepted a pack
# and the repository has been updated. It is passed arguments in through
# stdin in the form
# <oldrev> <newrev> <refname>
# For example:
# aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
@spo11
spo11 / testgistio.md
Created July 27, 2012 02:16
I am testing gist.io

Because tumblr is too painstream

PBR portland photo booth mixtape post-ironic, artisan bicycle rights cliche godard. Bicycle rights before they sold out quinoa ethical mlkshk, selvage typewriter 3 wolf moon. Single-origin coffee aesthetic tumblr PBR, helvetica lomo art party irony trust fund mlkshk photo booth ethnic craft beer leggings pork belly. Food truck squid carles cliche, polaroid you probably haven't heard of them banksy twee gastropub thundercats mlkshk umami scenester fixie ethnic. Keytar terry richardson mcsweeney's, yr hella carles pitchfork salvia. Mumblecore messenger bag williamsburg sartorial, irony wayfarers pour-over jean shorts sustainable stumptown typewriter terry richardson. Salvia truffaut mustache, kogi hoodie art party mlkshk banh mi.

Mustache dreamcatcher next level selvage, master cleanse synth vinyl fanny pack four loko craft beer gastropub leggings. Four loko brooklyn PBR wolf, salvia post-ironic pop-up. Trust fund authentic letterpress single

@spo11
spo11 / .xinitrc
Created November 6, 2011 07:07
An ~/.xinitrc file to start dwm
#!/bin/zsh
mpd ~/.mpd/mpd.conf & # this is to start the music player daemon
nitrogen --restore & # this is to set an image background
xset +fp /usr/share/fonts/local & # must be done to make sure the symbols in Terminusmod show up
xset fp rehash & # see above
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session ~/.bin/startdwm