create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| <<USER>> <<APP>> change this variables |
| HTTP status code symbols for Rails | |
| Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
| Status Code Symbol | |
| 1xx Informational | |
| 100 :continue | |
| 101 :switching_protocols | |
| 102 :processing |
| How to setup Heroku Hostname SSL with GoDaddy SSL Certificate and Zerigo DNS | |
| Heroku recently added an exciting new 'Hostname SSL' option. This option offers the broad compatibility of IP-based SSL, but at 1/5 the price ($20 / month at the time of this writing). | |
| The following tutorial explains how to use Heroku's new 'Hostname SSL' option on your Heroku project. Before we begin, let's list what we're using here: | |
| * Heroku Hostname SSL | |
| * GoDaddy Standard SSL Certificate | |
| * Zerigo DNS |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| .ui-autocomplete { | |
| position: absolute; | |
| top: 100%; | |
| left: 0; | |
| z-index: 1000; | |
| float: left; | |
| display: none; | |
| min-width: 160px; | |
| _width: 160px; | |
| padding: 4px 0; |
| //Get a reference to the alert using the following: | |
| alert = page.driver.browser.switch_to.alert | |
| // and then hit OK with | |
| page.driver.browser.switch_to.alert.accept | |
| // or dismiss it with |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
SSH into Root
$ ssh [email protected]
Change Root Password
| ### USAGE | |
| ### | |
| ### ./ElasticSearch.sh 1.5.0 will install Elasticsearch 1.5.0 | |
| ### ./ElasticSearch.sh 1.4.4 will install Elasticsearch 1.4.4 | |
| ### ./ElasticSearch.sh will fail because no version was specified (exit code 1) | |
| ### | |
| ### CLI options Contributed by @janpieper | |
| ### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch | |
| ### ElasticSearch version |
| # This file should be placed on the directory of ~/blog/config | |
| upstream unicorn { | |
| server unix:/tmp/unicorn.todo.socket fail_timeout=0; | |
| } | |
| server { | |
| listen 80 default; | |
| #server_name example.com; | |
| root /home/username/blog/public; |