Skip to content

Instantly share code, notes, and snippets.

View nakamura244's full-sized avatar

nakamura244 nakamura244

View GitHub Profile
@nakamura244
nakamura244 / backup.sh
Last active February 2, 2016 07:08
バックアップ用途にAWSのs3を使う時の小ネタ ref: http://qiita.com/nakamura-tsuyoshi/items/b7eebd33119c73490687
#!/bin/sh
# 終了ステータスが0以外の時は処理を中断してNGを出力する
# jenkinsのjobで実行予定で異常に気づけるように
set -e
trap 'echo NG' ERR
# n世代のバックアップを保存
MAX_SAVE_CNT=7
BACKUP_NAME=`date +"%Y-%m%d-%H%M%S".sql`
@nakamura244
nakamura244 / elasticsearch.repo
Created January 28, 2016 09:28
elasticsearchのセットアップして日本語の全文検索を試す ref: http://qiita.com/nakamura-tsuyoshi/items/993a4f87bcef2be59db5
[elasticsearch-2.x]
name=Elasticsearch repository for 2.x packages
baseurl=http://packages.elastic.co/elasticsearch/2.x/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
@nakamura244
nakamura244 / file0.txt
Last active January 27, 2016 01:33
デザイナーも学ぶgitと使えるコマンド ref: http://qiita.com/nakamura-tsuyoshi/items/84f5f0e019af3f5e50fc
ルートディレクトリ/-.git // gitのメインディレクトリ
| |-.git/config // config設定。最初だけいじる
|- .gitignore // gitで管理しないファイルを指定
|- .gitkeep // 空ディレクトリもgit管理したい場合使う
@nakamura244
nakamura244 / tech.md
Last active May 27, 2018 01:09
makuakeが利用している技術

makuakeが利用している技術

サービス

https://www.makuake.com/

どんなサービス?

クラウドファンディングサービス

インフラ

awsで下記あたり。