sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
| xcodebuild -exportArchive -exportFormat ipa -archivePath {PATH}/MyApp.xcarchive -exportPath ~/Desktop/MyApp.ipa |
| /** | |
| * Implement function check (text) which checks whether brackets within text are correctly nested. | |
| * You need to consider brackets of three kinds: (), [], {}. | |
| */ | |
| /** | |
| * STACK approach | |
| */ | |
| function check(str){ | |
| var brackets = "()[]{}", |
| sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime |
| /* | |
| * Updated to use the function-based method described in http://www.phpied.com/social-button-bffs/ | |
| * Better handling of scripts without supplied ids. | |
| * | |
| * N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function. | |
| */ | |
| (function(doc, script) { | |
| var js, | |
| fjs = doc.getElementsByTagName(script)[0], |
| { | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AS": "American Samoa", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", | |
| "DE": "Delaware", |
This helper has finally been moved into a gem called nav_lynx!
https://github.com/vigetlabs/nav_lynx
http://rubygems.org/gems/nav_lynx
Thanks to @brianjlandau and @reagent for getting that set up and tested!
| # db/migrate/20111218135715_globalize_models.rb | |
| class GlobalizeModels < ActiveRecord::Migration | |
| def up | |
| NewsItem.create_translation_table!( | |
| {:title => :string, :body => :text}, | |
| {:migrate_data => true} | |
| ) | |
| end |
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |