Public Gists by jrk

gist: 230533 Simple flac2mp3 conversion ...
Gravatar
Mon Nov 09 17:21:26 -0800 2009
1
2
3
#!/usr/bin/ruby
# http://gist.github.com/gists/124242
 
gist: 229472 Convert CHM files to the LF...
Gravatar
Sun Nov 08 12:59:37 -0800 2009
1
2
3
from __future__ import with_statement
''' CHM File decoding support '''
__license__ = 'GPL v3'
gist: 226880 Toy LLVM Lisp, originally f...
Gravatar
Thu Nov 05 00:26:02 -0800 2009
1
2
3
/* A Trivial LLVM LISP
 * Copyright (C) 2008-2009 David Robillard <dave@drobilla.net>
 *
gist: 226604 Minimalist painting in HTML...
Gravatar
Wed Nov 04 17:35:57 -0800 2009
1
2
3
<!DOCTYPE html>
<html>
    <head>
Gravatar
Tue Oct 20 12:21:56 -0700 2009
1
2
[github]
token = !security 2>&1 >/dev/null find-generic-password -gs "github.token" | ruby -e 'print $1 if STDIN.gets =~ /^password: \\\"(.*)\\\"$/'
gist: 214476 Convert a p12 certificate e...
Gravatar
Tue Oct 20 11:16:27 -0700 2009
1
2
3
function p12topem {
    # Convert a p12 certificate export to raw OpenSSL pem format, including
    # private key and certificate.
gist: 204278 Tools for easily and automa...
Gravatar
Wed Oct 07 11:13:52 -0700 2009
1
2
3
# Initialize or renew Kerberos tickets. Assumes password for the requested principal is stored in the
# keychain, which is now automatically used by Snow Leopard kinit.
# This is useful to define globally in your shell profile, for easy use within other scripts and
gist: 193804 Alex Payne web productivity...
Gravatar
Fri Sep 25 13:27:13 -0700 2009
1
2
3
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
Gravatar
Tue Sep 15 13:17:42 -0700 2009
1
2
3
#!/bin/bash
#
# gitwait - watch file and git commit all changes as they happen
Gravatar
Mon Sep 14 19:56:03 -0700 2009
1
2
3
#include <CoreServices/CoreServices.h>
 
static void callback(ConstFSEventStreamRef streamRef,
Gravatar
Wed Sep 02 19:37:19 -0700 2009
1
2
3
-- Sets the style of the current Terminal.app terminal
-- via http://blog.omnigroup.com/2007/11/03/terminal-scripting-in-105/
-- v2, Updated for 10.6 (Snow Leopard)
gist: 156901 Recursive wget with link re...
Gravatar
Mon Jul 27 20:19:01 -0700 2009
1
2
# Recursive wget with link rewriting to point to local/relative paths
wget -rk <url>
gist: 151872 An improved replacement for...
Gravatar
Wed Jul 22 01:03:37 -0700 2009
1
2
3
#!/usr/bin/env perl
 
# Via: http://erdani.org/code/scpi.html
gist: 129461 A bookmarklet to redirect y...
Gravatar
Sat Jun 13 15:48:56 -0700 2009
1
<a href="javascript:location.href='https://libproxy.mit.edu/cgi-bin/ezpauth?url='+location.href">MIT proxy</a>
gist: 122722 Shell aliases for quickly a...
Gravatar
Tue Jun 02 18:25:07 -0700 2009
1
2
3
# Define front_finder_window_path to return the POSIX path string to the frontmost Finder window
alias front_finder_window_path="osascript -e 'tell application \"Finder\" to get URL of target of front Finder window' | sed 's/file:\\/\\/localhost//g'"
 
Gravatar
Sun May 17 12:58:29 -0700 2009
1
2
3
#!/bin/bash
 
# The CommandLineFu.com is a great web site to exchange knowledge about shell usage and command line
Gravatar
Mon May 11 13:02:10 -0700 2009
1
2
3
function gr {
    ## If the current working directory is inside of
    ## a git repository, this function will change
gist: 106869 Creates a new Jekyll post, ...
Gravatar
Mon May 04 23:48:37 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
require Dir
gist: 105668 Simple Campfire-Jabber rela...
Gravatar
Sat May 02 11:53:09 -0700 2009
1
2
3
# The MIT License
#
# Copyright (c) 2008 Jared Kuolt
gist: 88855 Quick and dirty PDF slide s...
Gravatar
Wed Apr 01 12:34:57 -0700 2009
1
2
3
#!/bin/sh
# Quick and Dirty PDF Sharing
# Converts a PDF to PNGs (using Image Magick)