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
| server_data = compute.create_server( | |
| 1, | |
| 49 | |
| ).body['server'] | |
| until compute.get_server_details( | |
| server_data['id'] | |
| ).body['server']['status'] == 'ACTIVE' | |
| end |
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
| if has('win32') || has ('win64') | |
| let $VIMHOME = $HOME."/Dropbox/dotfiles/.vim" | |
| if !empty($CONEMUBUILD) | |
| set term=xterm | |
| set t_Co=256 | |
| let &t_AB="\e[48;5;%dm" | |
| let &t_AF="\e[38;5;%dm" | |
| endif |
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
| require 'nokogiri' | |
| require 'highline/import' | |
| require 'instapush' | |
| pinboard_username = ask("Enter your Pinboard username: ") { |q| q.echo = true } | |
| pinboard_password = ask("Enter your Pinboard password: ") { |q| q.echo = "*" } | |
| bookmarks = `wget http://#{pinboard_username}:#{pinboard_password}@pinboard.in/export/` | |
| instapaper_username = ask("Enter your Instapaper username: ") { |q| q.echo = true } |
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
| require 'sinatra' | |
| get '/' do | |
| "Hello world" | |
| end |
NewerOlder