brew install cmake
brew link cmake
brew install libgit2
git clone git://github.com/rowanj/gitx.git
cd gitx
git submodule init
brew install cmake
brew link cmake
brew install libgit2
git clone git://github.com/rowanj/gitx.git
cd gitx
git submodule init
This Ruby 1.9.2-p320 is compiled with Clang compiler coming with Xcode 4.3, via RVM (specifying -C --with-gcc=clang
).
It seems that errors happened mostly in Thread. Bad news for some Ruby programs.
I wrote a post on how to obtain a GNU C Compiler and compile Ruby 1.9.2 with GCC.
{ | |
/* home */ | |
"\UF729" = "moveToBeginningOfLine:"; | |
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; | |
/* end */ | |
"\UF72B" = "moveToEndOfLine:"; | |
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; | |
/* page up/down */ |
# depends on oh-my-zsh | |
# forked from macovsky-ruby theme | |
local return_code="%(?..%{$bg[red]%}%{$fg[black]%}=%?%{$reset_color%})" | |
function rvm_prompt_info { | |
echo "$ZSH_THEME_RVM_PROMPT_PREFIX$(~/.rvm/bin/rvm-prompt i v g)$ZSH_THEME_RVM_PROMPT_SUFFIX" | |
} | |
function git_prompt_status_full { |
# see https://github.com/rightscale/right_aws/pull/47 for more details | |
# Traditional way, without headers and response-* params | |
s3instance.get_link('bucket_name', 'key/song.mp3', 86400) | |
#=> https://bucket_name.s3.amazonaws.com:443/key%2Fsong.mp3?Signature=vIh5...&Expires=1296611902&AWSAccessKeyId=AK... | |
# To generate url with response-* params, headers parameter must be specified, | |
# and response-* params are in hash style | |
s3instance.get_link('bucket_name', 'key/song.mp3', 86400, | |
{}, # empty additional headers |
var Pie = React.createClass({ | |
defaultProps: { | |
percentage: 0 | |
}, | |
calculateAngle: function(percentage) { | |
return (percentage) * (360 / 100); | |
}, | |
render: function() { | |
var angle = this.calculateAngle(this.props.percentage); |
http://paletton.com/ | |
(present = Full Colors) | |
Lightest Lighter Base Darker Darkest Hue ~= | |
#FF6363 #FF3939 #FF0000 #C50000 #9B0000 R 0 | |
#FFA863 #FF9139 #FF7100 #C55700 #9B4500 RO 30 | |
#FFCB63 #FFBD39 #FFAA00 #C58300 #9B6700 O 60 | |
#FFE463 #FFDD39 #FFD300 #C5A300 #9B8000 OY 90 |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |