Skip to content

Instantly share code, notes, and snippets.

View gislifreyr's full-sized avatar

Gísli Freyr Brynjarsson gislifreyr

View GitHub Profile
@gislifreyr
gislifreyr / buddyadd
Created June 20, 2013 10:26
Takes a text-file as an input and pumps all the email-addresses into Pidgin. If being used with sipe then the account must be in the form of email@company.com,DOMAIN\user (case-sensitive). If you wanna use it with other protocols just change the protocol according to what you're using. Usage: ./buddyadd <account> <group> <file>
#!/usr/bin/env python
#TODO: Add the capability of only adding contacts that aren't in the group already.
import dbus
import sys
if len(sys.argv) < 4:
print("usage: ./buddyadd <account> <group> <file>")
exit()
@gislifreyr
gislifreyr / setup.sh
Created July 13, 2012 16:44
setup file
DATE=`date +%d%m%y-%H:%M`
function clone_repo() {
git clone https://gislifreyr@github.com/gislifreyr/ready-steady-go.git ~/.setup
}
function create_vimrc() {
ln -s ~/.setup/vimrc ~/.vimrc
}