This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
APP="/Applications/CrashPlan.app" | |
CONFIG="/Contents/Resources/Java/conf/ui.properties" | |
unlink-prop() { | |
rm "$APP/$CONFIG" | |
} | |
link-prop() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- DSL language syntax -- | |
/* example syntax: python-like */ | |
doctype 5 | |
html | |
head | |
title My Awesome Page | |
body | |
div | |
id: global | |
p |
NewerOlder