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
/** | |
* merge sort | |
**/ | |
var arr = [8,7,9,30,13,8,99,124, 5]; | |
//var arr = [1,10,9]; | |
var newArr = []; | |
var ii = 0; |
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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Get IP</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
</head> | |
<body> | |
<?php | |
$domains = array('api.twitter.com', 'twitter.com'); |
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
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a she ll session *as a function* | |
GEM_PATH=$GEM_PATH:/usr/local/rvm/gems/ruby-1.9.2-p290 | |
PATH=$PATH:/usr/local/rvm/gems/ruby-1.9.2-p290/bin | |
GIT_WORK_TREE=$HOME/octopress/ git checkout -f | |
cd $HOME/octopress/ | |
bundle install | |
bundle exec rake generate |
NewerOlder