Skip to content

Instantly share code, notes, and snippets.

Avatar
🎉
🎉

Jake Teton-Landis justjake

🎉
🎉
View GitHub Profile
View crashplan
#!/usr/bin/env zsh
APP="/Applications/CrashPlan.app"
CONFIG="/Contents/Resources/Java/conf/ui.properties"
unlink-prop() {
rm "$APP/$CONFIG"
}
link-prop() {
@justjake
justjake / fib.py
Created Nov 28, 2012
Fibonocci CLI tool
View fib.py
#!/usr/bin/env python
"""Fibonacci calculator with better precision than Javascript"""
def main():
import argparse
parser = argparse.ArgumentParser(description='Show the Fibonacci series number')
# method to use
parser.add_argument('-r', '--recursive', action='store_true',
help="Use a recursive method")
@justjake
justjake / fizzbuzz.clj
Created Nov 25, 2012
Extensable and functional fizz-buzz in Clojure
View fizzbuzz.clj
(comment
Here is FizzBuzz written by a
first-day clojure bro)
(defn divisible-by [by-num]
(fn [num]
(= 0 (rem num by-num))))
(def tests-and-outputs
@justjake
justjake / zenburn.css
Created Jul 6, 2012
Bare Minimum CSS
View zenburn.css
/* search your feelings, you know it to be true */
body {
color: #dcdccc;
background: #292929;
font-family: sans-serif;
margin: 1em 5.55%;
}
/* optional: nice text spacing */
body { line-height: 1.5; }
View derp.txt
-- DSL language syntax --
/* example syntax: python-like */
doctype 5
html
head
title My Awesome Page
body
div
id: global
p