- Checkout Custom Cookbooks git repo, edit cookbook sub directory you want to edit (e.g, "my-backup")
- Make your changes, upload branch
- Include recipe (e.g., "my-backup::monitoring") to your OPS Works layer's
Custom Cookbooks
- Set branch in OPS Works Stack settings
- Update cookbooks (
Deployments
=>Run Command
) - Trigger setup (
Deployments
=>Setup
) - Find site-cookbooks directory on instance node
- Edit cookboooks on instance node and trigger setup to run remote changes
- Itoya on the Ginza (銀座): for some reason Japan is great at stationaries. The mother of all stationaries is Itoya on the Ginza ("Tokyo's Ku'Damm"). You can easily spend one or two hours at Itoya. Sony's flagg ship store is also located here together with plenty of camera stores and luxury reatilers. Also, don't forget to visit a Japanese department store (they are quite a culture of their own allbeit fading, Mitsukoshi Department Store)
- Shinjuku Gyouen (新宿区): my favorite garden in Tokyo, hang out with some food you bring a long from a convenience store. There is an admission of a few hundred Yen per person.
- Tokyo City Hall and Shinjuku (新宿区): free great view from the top flor (thus much cheaper than the Tokyo Tower). walkable from Shinjuku station. There are plenty of Pachinko parlors and game centers close to Shinjuku station. Also just walk around inside the statio
... which I followed for setting up a simple Rails App on Opsworks.
- Set up an IAM role for ssh to the instances later
- Set up a Stack
- Set up a Layer RDS instace (used MySQL)
- Set up the RDS' VPC id, endpoint, master user, password
- Create a database for the App and a user to connect to it using the db master user
- Add the RDS details in the database section of the custom JSON (see custom json below)
This file contains 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
class GooglePlayVerification | |
require 'google/api_client' | |
# Refer: | |
# https://code.google.com/p/google-api-ruby-client/issues/detail?id=72 | |
# and | |
# http://jonathanotto.com/blog/google_oauth2_api_quick_tutorial.html | |
# and | |
# http://milancermak.wordpress.com/2012/08/24/server-side-verification-of-google-play-subsc/ | |
GOOGLE_KEY = 'xxx-xxx.apps.googleusercontent.com' |
This file contains 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
Some Podcasts | |
The format of the list entries is as follows. | |
Title of podcast (ratio of decent to boaring shows) | |
Url of show | |
Frenquency and duration of shows | |
Remarks | |
NewerOlder