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
#!/usr/bin/env ruby | |
search = "*1.0 TB" | |
efimnt = "/Volumes/EFI" | |
def run(cmd, &block) | |
puts "** #{cmd}" | |
if block == nil | |
system(cmd) | |
else |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="d3.min.js"></script> | |
</head> | |
<body> | |
<h1>A simple bar chart</h1> |
I hereby claim:
- I am erikdoe on github.
- I am erikdoe (https://keybase.io/erikdoe) on keybase.
- I have a public key whose fingerprint is 028F 3C71 85ED 1AF5 1351 5716 F607 BE74 93B5 DC25
To claim this, I am signing this object:
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
#import "CCMKeychainHelper.h" | |
@implementation CCMKeychainHelper | |
+ (BOOL)setPassword:(NSString *)password forURLString:(NSString *)aString error:(NSError **)errorPtr | |
{ | |
return [self setPassword:password forURL:[NSURL URLWithString:aString] error:errorPtr]; | |
} | |
+ (BOOL)setPassword:(NSString *)password forURL:(NSURL *)aURL error:(NSError **)errorPtr |
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
#!/usr/bin/ruby | |
# This script installs to /usr/local only. To install elsewhere you can just | |
# untar https://github.com/mxcl/homebrew/tarball/master anywhere you like. | |
module Tty extend self | |
def blue; bold 34; end | |
def white; bold 39; end | |
def red; underline 31; end | |
def reset; escape 0; end | |
def bold n; escape "1;#{n}" end |