超雑にまとめました。修正してください。
登場人物
- アプリケーション先輩: いつも忙しい。横に広がるのが得意(デブじゃない)。
 - 後輩: 頼んでばっかしで役に立たない。
 - サーバー先輩: アプリケーション先輩と仲がいい。Unix Socket でつながるくらい仲良し。
 - プロクシ先輩: アプリケーション先輩とかサーバー先輩と後輩の間を取り持って代わりに伝えたりしてくれる。たまに勝手にレスポンスを書き換える。
 
| #!/bin/sh -exu | |
| dev=$1 | |
| cd $(mktemp -d) | |
| function umountboot { | |
| umount boot || true | |
| umount root || true | |
| } | |
| # RPi1/Zero (armv6h): | 
| #!/usr/bin/env bash | |
| caffeinate -i tmutil startbackup | 
| /log | |
| /tmp | |
| *.sqlite3 | 
| # | |
| # Install the MYSQL driver | |
| # gem install mysql2 | |
| # | |
| # Ensure the MySQL gem is defined in your Gemfile | |
| # gem 'mysql2' | |
| # | |
| # And be sure to use new-style password hashing: | |
| # http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
| development: | 
| class API::V1::BaseController < ApplicationController | |
| skip_before_filter :verify_authenticity_token | |
| before_filter :cors_preflight_check | |
| after_filter :cors_set_access_control_headers | |
| def cors_set_access_control_headers | |
| headers['Access-Control-Allow-Origin'] = '*' | |
| headers['Access-Control-Allow-Methods'] = 'POST, GET, PUT, DELETE, OPTIONS' | 
| [Desktop Entry] | |
| Encoding=UTF-8 | |
| Version=1.0 | |
| Type=Application | |
| Terminal=false | |
| Exec=/home/max/scripts/mine-open.sh %u | |
| Name[en_US]=MineOpen | |
| Comment[en_US]=Small, easy-to-use program to access Rubymine | |
| Name=MineOpen | |
| Comment=Small, easy-to-use program to access Rubymine | 
| # 1) Create your private key (any password will do, we remove it below) | |
| $ cd ~/.ssh | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key | 
| // Note: You must restart bin/webpack-watcher for changes to take effect | |
| var path = require('path') | |
| var webpack = require('webpack') | |
| var merge = require('webpack-merge') | |
| var config = require('./shared.js') | |
| var devconfig = { | |
| devtool: 'sourcemap', | 
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys and look for sec, use the key ID for the next stepgit to use GPG -- replace the key with the one from gpg --list-secret-keys