Use brew to make sure you are running the latest version: brew reinstall zsh --enable-etcdir
It will not behave as your /bin/zsh without --enable-etcdir
Change your default shell:
chsh
Speed up your login:
| NSNumber *a; | |
| NSNumber *b; | |
| NSArray *os = @[ [NSValue valueWithPointer:&a], | |
| [NSValue valueWithPointer:&b] ]; | |
| for (int i = 0; i<2; i++) { | |
| void *pointer = [[os objectAtIndex:i] pointerValue]; | |
| NSNumber *a_ptr_1 = (__bridge NSNumber*)pointer; |
| ### Stack | |
| ``` | |
| CocoaPods : 0.17.0.rc7 | |
| Ruby : ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin12.2.0] | |
| RubyGems : 1.8.24 | |
| Host : Mac OS X 10.8.3 (12D78) | |
| Xcode : 4.6.1 (4H512) | |
| Ruby lib dir : /Users/kalahan/.rvm/rubies/ruby-1.9.3-p327/lib | |
| Repositories : master - https://github.com/CocoaPods/Specs.git @ c0f022c6f6c86b622bb22c0d6439f50c06248c3d |
| # | |
| # uncrustify config file for objective-c and objective-c++ | |
| # | |
| indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs | |
| output_tab_size = 2 # new tab size | |
| indent_columns = output_tab_size | |
| indent_label = 2 # pos: absolute col, neg: relative column | |
| indent_align_assign = FALSE | |
| indent_oc_block = true |
| # Update, upgrade and install development tools: | |
| apt-get update | |
| apt-get -y upgrade | |
| apt-get -y install build-essential git-core curl libssl-dev \ | |
| libreadline5 libreadline5-dev \ | |
| zlib1g zlib1g-dev \ | |
| libmysqlclient-dev \ | |
| libcurl4-openssl-dev \ | |
| libxslt-dev libxml2-dev |
| #!/bin/bash | |
| if [ "$#" -eq 0 ]; then | |
| echo "Usage:" | |
| echo " dir2dmg <path/to/directory>" | |
| exit 1 | |
| fi | |
| PWD=`pwd` |
| require "sinatra" | |
| class Bone < Sinatra::Base | |
| get "/" do | |
| "hello" | |
| end | |
| run! if app_file == $0 |
| 2.1.0 (main):0 > class Bang | |
| 2.1.0 (main):0 * def instance_bang | |
| 2.1.0 (main):0 * class.class_bang | |
| SyntaxError: unexpected '.' | |
| class.class_bang | |
| ^ |
Use brew to make sure you are running the latest version: brew reinstall zsh --enable-etcdir
It will not behave as your /bin/zsh without --enable-etcdir
Change your default shell:
chsh
Speed up your login:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| #!/bin/bash | |
| # | |
| # Start CouchBase Server 2.2 | |
| ## | |
| [ "$HOME" != "" ] && exec -c $0 | |
| export SHLVL=1 | |
| export HOME=/Users/dominik | |
| export COUCHDB_ADDITIONAL_CONFIG_FILE=/Users/dominik/Library/Preferences/couchbase-server.in |