Skip to content

Instantly share code, notes, and snippets.

View wnoguchi's full-sized avatar
😀

Wataru Noguchi wnoguchi

😀
View GitHub Profile
@wnoguchi
wnoguchi / mk_authorized_keys.sh
Last active August 29, 2015 14:22
公開鍵認証サーバー側ワンライナー
([ ! -e ~/.ssh ] && mkdir ~/.ssh && chmod 700 ~/.ssh ) ; cat <<EOF >>~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys
ssh-rsa blahblahblah rsa-key-20150608-comment
EOF
@wnoguchi
wnoguchi / README.md
Created December 18, 2014 14:37
Devise に関して
@wnoguchi
wnoguchi / fabfile.py
Last active August 29, 2015 14:09 — forked from k4200/fabfile.py
from fabric.api import local, env, run, roles, execute, put
from fabric.utils import abort
env.user = "playuser"
env.roledefs = {
'web': ['web.example.com'],
'batch': ['batch.example.com']
}
env.num_of_releases = 3

CoreOS とその関連技術に関するここ半年間の私の活動まとめ

はじめに

最近、社内で私が「何者で何をしているのか見えないので可視化して欲しい」という案件が出ているらしいので、ヘコヘコと徒然なるままに書いていきたいと思うのであります。

社内向けというだけでなく社外の人にも発信出来る内容に、との仕様も要求され、社外向けには出来るだけ旬なネタで、かつ、社内向けにはそれを理解する上で必要な関連する技術を個々に触れながら基礎知識が無くても理解出来るように、との追加仕様も提示されております。

で、何をネタにしてどのように書けばいいのか迷った訳ですが、自分が実際にやって来た内容である CoreOS であればそこそこ旬であるし、それをおさらいしつつ、関連技術も Docker、Omaha、systemd、BtrFS、Golang、etcd、Kubernetes 等々多岐にわたるので、それらに関して私見も含めてわかりやすく書ければいいかなぁと、とりあえず書き始めようとしている次第であります。

@wnoguchi
wnoguchi / spam.txt
Last active August 29, 2015 14:09
迷惑メール晒し20141012
higashi886655223@docomo.ne.jp
情報サイト利用者様
株式会社 東情報処理センター
【TEL】03-4477-2583
【担当】江原 英正
【営業時間】8:00~19:00
有料情報サイト運営企業様から再三に渡りメールにてサイト利用者様に連絡が取れない現状が続く中、最終通達の依頼を受け個別に担当者ベースで連絡をさせていただいております株式会社東情報処理センターの江原 英正と申します。 
@wnoguchi
wnoguchi / Vagrantfile.rb
Created October 14, 2014 23:12
Essential Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
@wnoguchi
wnoguchi / storage.json
Created September 13, 2014 07:39
IAM Storage Resource Full Access Policy: S3, Glacier, CloudFront
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:ListAllMyBuckets"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::*"
},
@wnoguchi
wnoguchi / 00README.md
Last active August 29, 2015 14:05
Many Tips.

Many Tips

Many tips here. (´・_・`)

Vim

  • = でフォーマット。
@wnoguchi
wnoguchi / 00README.md
Created August 19, 2014 14:31
gist command Tips.

gist command Tips

gist -c -d "Tmux configuration." -u d3a3efa1a45eca669574 ~/.tmux.conf
[wnoguchi@noguchiwataru-no-MacBook-Pro] ~
% gist -u d3a3efa1a45eca669574 -d "Main dotfiles." ~/.zshrc
% gist -c -u d3a3efa1a45eca669574 ~/.tmux.conf
Error: Copying to clipboard failed.
If you're running tmux on a mac, try http://robots.thoughtbot.com/post/19398560514/how-to-copy-and-paste-with-tmux-on-mac-os-x
Attempted to copy: https://gist.github.com/d3a3efa1a45eca669574