Skip to content

Instantly share code, notes, and snippets.

@zzot
zzot / gist:ffa323dc54e094ee4ba3
Created September 17, 2014 22:00
keybase.md
### Keybase proof
I hereby claim:
* I am zzot on github.
* I am zzot (https://keybase.io/zzot) on keybase.
* I have a public key whose fingerprint is 274E C81B C2C7 FA6E 4CD2 B1D5 FF22 CC4F ACB5 E718
To claim this, I am signing this object:
@zzot
zzot / ensure_mate.scpt
Created March 15, 2010 15:04 — forked from danmackinlay/ensure_mate.scpt
Actually, you can use the standard UNIX interpreter syntax directly with osascript; just mark the file as executable and you're set.
#!/usr/bin/osascript
-- invoke with $ osascript ensure_mate.scpt /path/to/project
-- or create a wrapper script that looks like this:
-- #!/bin/sh
-- osascript ~/bin/ensure_mate.scpt $@ &
-- Created 2010 Dan MacKinlay and hereby released into the public domain
on run (wantedPath)
set wantedPathFound to false
global wantedDoc
@zzot
zzot / license
Created January 27, 2010 16:15 — forked from defunkt/license
MIT License Generator
#!/bin/sh -e
# Usage: license
# Prints an MIT license appropriate for totin' around.
#
# $ license > COPYING
#!/bin/sh
echo "Copyright (c) `date +%Y` Josh Dady
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the