Skip to content

Instantly share code, notes, and snippets.

:octocat:

Bob Cao bobintornado

:octocat:
Block or report user

Report or block bobintornado

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bobintornado
bobintornado / thrift.rb
Created Jun 26, 2018 — forked from ibigbug/thrift.rb
Thrift@0.9.1 for Homebrew
View thrift.rb
require "formula"
class Thrift < Formula
homepage "http://thrift.apache.org"
stable do
url "http://archive.apache.org/dist/thrift/0.9.1/thrift-0.9.1.tar.gz"
#sha1 "dc54a54f8dc706ffddcd3e8c6cd5301c931af1cc"
# These patches are 0.9.1-specific and can go away once a newer version is released
View .zshrc
alias editzsh="subl ~/.zshrc"
alias myip="ifconfig | grep "inet " | grep -v 127.0.0.1"
alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'"
export PATH=~/.rbenv:$PATH
export RBENV_ROOT=/usr/local/var/rbenv
# export LC_CTYPE="utf-8"
eval "$(rbenv init -)"
ssh-add ~/.ssh/github_rsa # making sure I have this ssh identity added in
@bobintornado
bobintornado / js-console.log
Last active Aug 29, 2015
Javascript console.log() snippet for sublime text
View js-console.log
<snippet>
<content><![CDATA[
console.log('${1:this}');
]]>
</content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>cl</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
</snippet>
You can’t perform that action at this time.