This file contains 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
#!/bin/bash | |
# | |
# Zoom.us full uninstall script | |
# | |
# - Download this file locally | |
# - Run `chmod 755 ./remove_zoom_us_macos.sh` | |
# - Run `./remove_zoom_us_macos.sh` | |
echo Cleaning Zoom… |
This file contains 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
# Rough translation from Joy of Clojure refs example in Familiar | |
# https://github.com/daveray/familiar | |
# https://github.com/joyofclojure/book-source/blob/master/src/joy/refs.clj | |
$initial_board = [[:o, :k, :o], | |
[:o, :o, :o], | |
[:o, :K, :o]].to_clojure | |
# (defn board-map [f bd] | |
# (vec (map #(vec (for [s %] (f s))) bd))) |
This file contains 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
-- from http://veritrope.com/code/copy-omnifocus-item-uri-to-evernote/ | |
tell front window of application "OmniFocus" | |
try | |
set theTrees to selected trees of content | |
if (count of theTrees) < 1 then | |
set theTrees to selected trees of sidebar | |
end if | |
if (count of theTrees) < 1 then |
This file contains 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
#!/bin/bash | |
# | |
# Quicky Waynification of Nick's pickjdk | |
# | |
# | |
# pickjdk: for switching between Java versions: | |
# From Nick Sieger: http://pastie.org/170326 | |
# "I just symlink soylatte to: | |
# /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0-soylatte/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0-soylatte" |
This file contains 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
source :rubygems | |
gem 'octokit' | |
gem 'awesome_print' | |
gem 'rainbow' | |
gem 'jruby-openssl' |
This file contains 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
class Foo < String | |
attr_reader :omg | |
def initialize(str, omg) | |
super str | |
@omg = omg | |
end | |
def hash | |
[@omg, to_str].hash | |
end |