=====
I made a book, its one page.
| # ghost | |
| # description "An Upstart task to make sure that my Ghost server is always running" | |
| # author "@allenhurff" | |
| start on startup | |
| script | |
| cd /var/www/ghost/ | |
| npm start --production |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| #!/usr/bin/env ruby | |
| require 'net/http' | |
| require 'json' | |
| # this job will track some metrics of a facebook page | |
| # Config | |
| # ------ | |
| # the fb id or username of the page you’re planning to track | |
| facebook_graph_username = ENV['FACEBOOK_GRAPH_USERNAME'] || 'foobugs' |
| <div id="friendbuy_widget"></div> | |
| <script type="text/javascript"> | |
| var _frnd = { | |
| site: "site-00000000-host", | |
| order: { | |
| id: "{{ order_number }}", | |
| amount: "{{ total_price | money_without_currency }}" | |
| }, | |
| products: [ | |
| {% for line in line_items %} |
| { | |
| "site": "site-00000000-host", | |
| "order": { | |
| "id": "1014", | |
| "amount": "200.54" | |
| }, | |
| "products": [ | |
| { | |
| "sku": "OMW-1001", | |
| "price": "27.99", |
=====
I made a book, its one page.
| # Sublime Text 3 - Useful Shortcuts | |
| *Tested in Mac OS X: super == command* | |
| Open/Goto | |
| _________ | |
| - super+t: go to file | |
| - super+ctrl+p: go to project | |
| - super+r: go to methods | |
| - super+shift+p: command prompt |