follow this: [install xgboost on mac os x] https://www.ibm.com/developerworks/community/blogs/jfp/entry/Installing_XGBoost_on_Mac_OSX?lang=en
caveats: *use this during compile *make clean_all && make -j4
follow this: [install xgboost on mac os x] https://www.ibm.com/developerworks/community/blogs/jfp/entry/Installing_XGBoost_on_Mac_OSX?lang=en
caveats: *use this during compile *make clean_all && make -j4
| function qtranxj_get_cookie(n) { | |
| for (var e = document.cookie.split(";"), a = 0; a < e.length; ++a) { | |
| var t = e[a], | |
| i = t.split("="); | |
| if (i[0].trim() == n && !(e.length < 2)) return i[1].trim() | |
| } | |
| return "" | |
| } | |
| function qtranxj_ce(n, e, a, t) { |
| diff -r qtranslate-x/qtranslate_core.php /home/deployer/tmp/qtranslate-x/qtranslate_core.php | |
| 12a13 | |
| > | |
| 499c500 | |
| < return trailingslashit(content_url()).$q_config['flag_location']; | |
| --- | |
| > return trailingslashit(WP_CONTENT_URL).$q_config['flag_location']; | |
| diff -r qtranslate-x/qtranslate_utils.php /home/deployer/tmp/qtranslate-x/qtranslate_utils.php | |
| 219,232c219 | |
| < // PATCH for redirection in nginx for rule like location / {try_files $uri /index.php?q=$uri&$args; } |
| install PostgreSQL 9 in Mac OSX via Homebrew | |
| Mac OS X Snow Leopard | |
| System Version: Mac OS X 10.6.5 | |
| Kernel Version: Darwin 10.5.0 | |
| Install notes for PostgreSQL 9.0.1 install using Homebrew: | |
| sh-3.2# brew install postgresql |
| # for more info: https://gist.github.com/1120938 |
| before_restart.rb | |
| node[:deploy].each do |application, deploy_item| | |
| run "echo '#{deploy_item.to_json}' >> /tmp/logs.log" | |
| end | |
| ## Note only current_path is availabe, no shared_path or release_path | |
| {"home"=>"/home/deploy", | |
| "application_type"=>"rails", | |
| "mounted_at"=>nil, |
| #!/bin/bash | |
| # If it redirects to http://www.facebook.com/login.php at the end, wait a few minutes and try again | |
| EMAIL='YOUR_EMAIL' # edit this | |
| PASS='YOUR_PASSWORD' # edit this | |
| COOKIES='cookies.txt' | |
| USER_AGENT='Firefox/3.5' |