Skip to content

Instantly share code, notes, and snippets.

@toothrot
toothrot / git-cleanup.sh
Last active January 27, 2016 19:05
Clean up branches that have been merged into master
#!/bin/sh
set -e
if test -d .git
then
git fetch
git checkout master
git branch --merged master | grep -v "\* master" | xargs -n 1 git branch -d
git remote prune origin
git checkout -
fi
@raphaelcastaneda
raphaelcastaneda / README.md
Last active July 3, 2024 16:56
Batch upload pidgin emote packs to slack

Pidgin emote pack uploader for Slack

Downloaded pidgin icon packs can be uploaded (one at a time) to Slack by posting the form. Note that this does not (yet) handle name conflicts with existing emotes. Failures to upload will be printed to the console.

Usage

install the requirements

pip install -r requirements.txt

Extract your icon pack into the working directory, under a new folder called "emote_files"