Skip to content

Instantly share code, notes, and snippets.

@shihokambara
shihokambara / serverspec-2
Last active August 29, 2015 14:24
serverspec-2
##serverspecの設計について
##できあがった環境に対して、その環境が意図した通りの状態で稼働しているかどうかをテストする「Serverspec」
=> 自動化どうやってるか学ばなければ
##Serverspecが超高速で書けるserverspec-snippetsがある
説明 http://blog.glidenote.com/blog/2014/06/17/serverspec-snippets/
github https://github.com/glidenote/serverspec-snippets
https://vimeo.com/98406679をみるとめちゃ高速でかけているようなので、期待
@shihokambara
shihokambara / background.js
Created September 5, 2017 14:55 — forked from danharper/background.js
Bare minimum Chrome extension to inject a JS file into the given page when you click on the browser action icon. The script then inserts a new div into the DOM.
// this is the background code...
// listen for our browerAction to be clicked
chrome.browserAction.onClicked.addListener(function (tab) {
// for the current tab, inject the "inject.js" file & execute it
chrome.tabs.executeScript(tab.ib, {
file: 'inject.js'
});
});
@shihokambara
shihokambara / connect-heroku-app-to-postgres-rds-with-ssl.md
Created September 12, 2017 07:57 — forked from glarrain/connect-heroku-app-to-postgres-rds-with-ssl.md
How to connect a Heroku application to an Amazon RDS PostgreSQL instance, forcing SSL and certificate chain verification

1 - Download the RDS certificates (root plus region-specific intermediate ones) bundle:

wget -O config/rds-combined-ca-bundle.pem https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem

2 - Add config/rds-combined-ca-bundle.pem to the repository and redeploy to Heroku.

3 - Update the DATABASE_URL env var:

@shihokambara
shihokambara / django-s3-imagekit-celery.rst
Created September 21, 2017 07:49 — forked from voluntas/django-s3-imagekit-celery.rst
S3 と非同期サムネイル作成 コトハジメ

S3 と非同期サムネイル作成 コトハジメ

更新

2013-12-08

バージョン

0.1.8

作者

@voluntas

URL

http://voluntas.github.io/

概要