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 ruby | |
require 'fileutils' | |
require 'optparse' | |
class String | |
def unindent | |
gsub /^#{self[/\A\s*/]}/, '' | |
end | |
end |
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
#!/bin/zsh | |
# VOLume Toggle => volt | |
# | |
# Usage: volt <volume> | |
# This script toggles the mountedness of the specified OS X disk | |
# volume using diskutil. The volume may be specified as the first | |
# parameter, or as the name of a symlink to this script. | |
volume=${1:=${0:t}} |
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
var markGroup = dataGroup.selectAll(".mark") | |
.data(flatData).enter() | |
.append("svg:g") | |
.attr("class","mark"); | |
markGroup.append("svg:rect"). | |
attr("x", function (d,i) { return x(i); }). | |
attr("y", 0). | |
attr("class", targetStyle(this.kind)). | |
attr("width", widthFunc(this)). |
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
==> Downloading http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3.tar.bz2 | |
File already downloaded and cached to /Users/whitley/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/whitley/Library/Caches/Homebrew/emacs-23.3.tar.bz2 | |
==> Downloading patches | |
/usr/bin/curl -f#LA Homebrew 0.8 (Ruby 1.8.7-174; Mac OS X 10.6.7) https://github.com/downloads/typester/emacs/feature-fullscreen.patch -o 001-homebrew.diff | |
######################################################################## 100.0% ######################################################################## 100.0% ######################################################################## 100.0% 0.0% ###### 9.3% #################### 28.0% ################################# 46.8% ############################################### |
NewerOlder