yum-config-manager --add-repo http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/cloudera-cdh5.repo
yum install impala-server impala-catalog impala-state-store impala-shell
ln -sf /usr/lib/hbase/lib/hbase-client.jar /usr/lib/impala/lib
ln -sf /usr/lib/hbase/lib/hbase-common.jar /usr/lib/impala/lib
ln -sf /usr/lib/hbase/lib/hbase-protocol.jar /usr/lib/impala/lib
This file contains hidden or 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
rake db:migrate --trace | |
** Invoke db:migrate (first_time) | |
** Invoke db:migrate:load (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
Warning: NLS_LANG is not set. fallback to US7ASCII. | |
** Execute db:migrate:load | |
** Execute db:migrate | |
** Invoke db:dump (first_time) | |
** Invoke environment |
This file contains hidden or 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
traceroute -m 200 obiwan.scrye.net | |
traceroute to obiwan.scrye.net (204.244.252.35), 200 hops max, 52 byte packets | |
1 192.168.16.20 (192.168.16.20) 7.534 ms 4.420 ms 2.951 ms | |
2 41.161.72.225 (41.161.72.225) 6.101 ms 5.317 ms 5.075 ms | |
3 41.160.24.13 (41.160.24.13) 7.364 ms 9.033 ms 8.662 ms | |
4 * * * | |
5 41.160.0.243 (41.160.0.243) 10.521 ms 8.304 ms 8.235 ms | |
6 41.160.0.242 (41.160.0.242) 10.024 ms 9.046 ms 13.001 ms | |
7 ix-0-3-0-0.tcore1.jso-johannesburg.as6453.net (216.6.55.37) 53.576 ms 9.311 ms 9.040 ms | |
8 if-4-2.tcore1.klt-capetown.as6453.net (41.206.178.2) 183.272 ms 183.199 ms 180.528 ms |
This file contains hidden or 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
ruby -pi.bak -e 'gsub(/"SOME_TEXT"\./, "REPLACE_TEXT")' *.sql |
This file contains hidden or 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
''' | |
Create sublime projects from a root directory with all your code | |
Sublime projects are just JSON files, describing the project | |
''' | |
import os | |
SUBLIME_PROJECT_DIR = 'sublime_projects' | |
SUBLIME_PROJECT_EXT = '.sublime-project' |
This file contains hidden or 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
source ~/.git-completion.bash |
This file contains hidden or 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
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push origin source | |
trace: built-in: git 'push' 'origin' 'source' | |
trace: run_command: 'ssh' '[email protected]' 'git-receive-pack '\''ismaild/ismaild.github.io.git'\''' | |
ERROR: Permission to ismaild/ismaild.github.io.git denied to codiez/codiez.github.io. | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
------ |
This file contains hidden or 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
1. Backup any databases you have using mysqldump | |
2. Stop MySQL using the pref panel | |
3. Open Terminal and type in the following commands | |
4. sudo rm /usr/local/mysql | |
5. sudo rm -rf /usr/local/mysql* | |
6. sudo rm -rf /Library/StartupItems/MySQLCOM | |
7. sudo rm -rf /Library/PreferencePanes/My* | |
8. edit /etc/hostconfig and remove the line MYSQLCOM=-YES- (May not be necessary) | |
9. rm -rf ~/Library/PreferencePanes/My* | |
10. sudo rm -rf /Library/Receipts/mysql* |
This file contains hidden or 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
2013-03-17T20:35:04+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/v1/cities.json"): | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/rack/logger.rb:32:in `call_app' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/rack/logger.rb:16:in `block in call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/tagged_logging.rb:22:in `tagged' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/rack/logger.rb:16:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9 |
NewerOlder