The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
| .bkgEnvi { | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .moveCloud { | |
| position: absolute; | |
| top: 10px; | |
| right: 50px; | |
| z-index: 5; | |
| } |
| (function () { | |
| var forEach = [].forEach, | |
| regex = /^data-(.+)/, | |
| dashChar = /\-([a-z])/ig, | |
| el = document.createElement('div'), | |
| mutationSupported = false, | |
| match | |
| ; | |
| function detectMutation() { |
| Autosave from Chrome Notes: | |
| Watch: http://addyosmani.com/blog/autosave-changes-chrome-dev-tools/ | |
| Installation Instructions: https://github.com/NV/chrome-devtools-autosave | |
| Afraid of Node? Here's a one-click install: https://sites.google.com/site/nodejsmacosx/ | |
| To monitor changes, you have to run `node chrome-devtools-autosave-server/index.js` in the Terminal. This is hard to remember, | |
| so create an alias. Run |
| gem("thin") | |
| gem("bcrypt-ruby", version:"~> 3.0.0") | |
| gem("heroku") | |
| gem("gravatar_image_tag") | |
| gem("kaminari") | |
| gem("bourbon", group: 'assets') | |
| gem("annotate", group: 'development', :git => 'git://github.com/ctran/annotate_models.git') | |
| gem("ffaker", group: 'development') | |
| if yes?("Would like to install Zurb Foundation?") |
| class Project < ActiveRecord::Base | |
| class << self | |
| def always_attributes | |
| %w{attributes anybody can edit} | |
| end | |
| def draft_attributes | |
| %w{available only while project is being written} |
| class PostsController < ActionController::Base | |
| def create | |
| Post.create(post_params) | |
| end | |
| def update | |
| Post.find(params[:id]).update_attributes!(post_params) | |
| end | |
| private |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.com | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
| * Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
| */ | |
| $args = array( |
| /* ============================================================================= | |
| WordPress WYSIWYG Editor Styles | |
| ========================================================================== */ | |
| .entry-content img { | |
| margin: 0 0 1.5em 0; | |
| max-width: 100%; | |
| height: auto; | |
| } | |
| .alignleft, img.alignleft { |
The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
| upstream app { | |
| server unix:/srv/app/current/tmp/sockets/unicorn.sock fail_timeout=0; | |
| } | |
| server { | |
| listen 80; | |
| server_name www.app.com; | |
| rewrite ^/(.*) http://app.com/$1 permanent; | |
| } | |
| server { |