Skip to content

Instantly share code, notes, and snippets.

Shiho shihokambara

  • japan
Block or report user

Report or block shihokambara

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shihokambara
shihokambara / django-s3-imagekit-celery.rst
Created Sep 21, 2017 — forked from voluntas/django-s3-imagekit-celery.rst
S3 と非同期サムネイル作成 コトハジメ
View django-s3-imagekit-celery.rst

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

更新:2013-12-08
バージョン:0.1.8
作者:@voluntas
URL:http://voluntas.github.io/

概要

@shihokambara
shihokambara / connect-heroku-app-to-postgres-rds-with-ssl.md
Created Sep 12, 2017 — 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
View connect-heroku-app-to-postgres-rds-with-ssl.md

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 / background.js
Created Sep 5, 2017 — 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.
View background.js
// 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'
});
});
View 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をみるとめちゃ高速でかけているようなので、期待
You can’t perform that action at this time.