Skip to content

Instantly share code, notes, and snippets.

@guildencrantz
guildencrantz / ripdvd.sh
Last active December 10, 2015 11:58 — forked from anonymous/ripdvd.sh
#!/bin/bash
HANDBRAKE_EXTRA_OPTIONS=
CORES_DENOMINATOR=1
usage() {
cat << EOF
Use lsdvd, cpulimit, and HandBrakeCLI to rip a title from a dvd and then SCP the
resulting mp4 to another host. When ripping is finished, and again when SCPing
@guildencrantz
guildencrantz / human_enum.py
Created February 27, 2012 21:01 — forked from anthonywu/human_enum.py
Python Human Enums
"""
Copyright (c) 2012 Anthony Wu, twitter.com/anthonywu
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions: