I hereby claim:
- I am brimizer on github.
- I am brimizer (https://keybase.io/brimizer) on keybase.
- I have a public key whose fingerprint is 9794 98A3 975E 2816 1B51 ED73 C261 1987 1A53 037D
To claim this, I am signing this object:
require 'sinatra' | |
require 'fileutils' | |
require 'json' | |
post '/:filename' do | |
content_type :json | |
puts "Opening directory" | |
dirname = File.expand_path("~/my_dir") |
/** | |
* An easy way to NSLog a message with any color you'd like. | |
* Requires XcodeColors, available here: https://github.com/robbiehanson/XcodeColors | |
* MIT License | |
* Created by Daniel Brim | |
*/ | |
#define NSLogColor(color, args...) ExtendNSLogColor(color, __FILE__,__LINE__,__PRETTY_FUNCTION__,args); | |
void NSLogColor(UIColor *color, const char *file, int lineNumber, const char *functionName, NSString *format, ...); |
// Public domain. | |
// Free to use. | |
// Use like this: | |
var world = "Hello, world!" | |
let convertedRange = world.convertRange(0..<5) | |
world.removeRange(convertedRange) | |
// Converts a regular range (0..5) to a proper String.Index range. | |
extension String { |
""" | |
Depends on GitPython | |
pip install GitPython | |
""" | |
from git import Repo | |
def get_current_branch_name(repo_path) | |
""" | |
Gets the name of the active Git branch as a string. |
I hereby claim:
To claim this, I am signing this object: