Skip to content

Instantly share code, notes, and snippets.

@pdkl95
pdkl95 / mident.bash
Created October 10, 2012 21:30
mident - a wrapper for a more reliable "mplayer -identify"
#!/bin/bash
#####################################################
###/ \### #
### mident ### This is a wrapper script around #
###\ /### the "-identify" feature provided #
################ by mplayer/mplayer2, similar to #
# the "mplayer.sh" script that is #
# distributed with mplayer itself. This version #
# should be significantly more reliable, easier #
@pdkl95
pdkl95 / at-scrape.rb
Created August 17, 2012 20:32
AUTO-DERP (with dadadodo)
#!/bin/env ruby
# encoding: utf-8
#
# *** [WARNING]
# *** Be aware that I have not added any throttling, respect
# *** of robots.txt, or anything else to limit this script!
# *** If it gets you banninated, or something due to obvious
# *** bot-like behavior, that's your responsibility!
# *** [/warning]
#
@pdkl95
pdkl95 / mcjar-aether.bash
Created January 18, 2012 04:45
MC AetherMod .jar Patch Script
#!/bin/bash
## This script is Copyright Brent Sanders 2012, and is released
## for general use under the GPLv3
##
## INSTRUCTIONS:
## Put this script and all the downloaded .zip files for the various
## mods in a folder. 'cd' over to that folder. Run this script.
##
## e.g.
@pdkl95
pdkl95 / rubygems-completion.bash
Created December 15, 2011 07:48
bash tab completion for gem
#!/bin/bash
# -*- mode: bash -*-
#
# ---------------------------
# --= bash completion for the =--
# --= rubygems "gem" program =--
# ---------------------------
#
# Copyright C 2011 Brent Sanders <[email protected]>
# -> Derived losely from "git-completion.sh" in the git-sh