Skip to content

Instantly share code, notes, and snippets.

View PharaohKJ's full-sized avatar
👺
Ten-goods come on! Working from home

ふぁらお加藤 PharaohKJ

👺
Ten-goods come on! Working from home
View GitHub Profile
@PharaohKJ
PharaohKJ / session_task.md
Created January 15, 2018 14:59
JAWS-DAYS2018セッション担当タスク時系列

トラック担当者タスク一覧

  • キーノートセッション1後、トラック入り

  • Session①

    • PC接続チェック(HDMI/VGA)
    • マイクチェック
    • 開始アナウンス
      • 拍手
  • (あれば)挙手による質問 > 質問者にマイクを渡す

~/Downloads/シビックテックコミュニティブック原稿
[pharaohkj]$ find . -name *.png -print0 -o -name *.jpg -print0| xargs -0 identify
./Code for Amagasaki/codeforamagasaki_logo.png PNG 170x170 170x170+0+0 8-bit sRGB 1898B 0.000u 0:00.009
./CodeforChiba/logo.png PNG 500x500 500x500+0+0 8-bit sRGB 33262B 0.000u 0:00.000
./CodeforDOGO/CFDロゴ大.png PNG 683x448 683x448+0+0 8-bit sRGB 156699B 0.000u 0:00.000
./CodeforFuchu/CodeforFuchu.png PNG 1000x1000 1000x1000+0+0 8-bit sRGB 264706B 0.000u 0:00.000
./CodeforGifu/logo_white.png PNG 510x510 510x510+0+0 8-bit sRGB 21795B 0.000u 0:00.000
./CodeforIbaraki/CFI-vertical-s.png PNG 200x232 200x232+0+0 8-bit sRGB 15560B 0.000u 0:00.000
./CodeforIkoma/codeforikoma_logo.png PNG 405x404 405x404+0+0 8-bit sRGB 13811B 0.000u 0:00.000
./CodeforKanagawa/cfklogo.jpg JPEG 336x154 336x154+0+0 8-bit sRGB 17651B 0.000u 0:00.000
SELECT cs_uri_stem, count(cs_uri_stem) as count
FROM cloudfront_logs
GROUP BY cs_uri_stem
ORDER BY count desc;
aws s3 mv s3://octopress.phalanxware.com-cdn-accesslog s3://octopress.phalanxware.com-cdn-accesslog/2017-02 --exclude "*" --include "E29YPAR1OLFGY5.2017-02*" --recursive
@PharaohKJ
PharaohKJ / invalidation.shell
Last active November 27, 2016 04:18
cloudfront invalidation
$ cp template.json _amazon.json
$ cat _amazon.json
{
"DistributionId": "MY-DESTRIBUTION-ID",
"InvalidationBatch": {
"Paths": {
"Quantity": 1,
"Items": [
"/*"
]
TARGET=`echo -n 直線 | ruby -ne '$_.codepoints { |cp| $stdout << "\\\\\\\\u" << cp.to_s(16) }'` ; find . -name '*.properties'|xargs grep $TARGET
@PharaohKJ
PharaohKJ / md2slide_test.md
Last active June 18, 2016 04:16
md2slide_test

AWS-Summitいってきた

AWS Summit Tokyo 2016 - クラウド活用の最適解、ここに集結。- 2016年6月1~3日 グランドプリンスホテル新高輪にて開催

JAWS-UG金沢 第11回 Meetup! - JAWS-UG 金沢

先日、出席した「AWS Summit Tokyo 2016」の報告会を、立ち飲みイタリアンバルで飲みながらやるという会である。

バスで行ってガッツリ呑みながら話しようと考えていたのだが、バスが2本続けて、満車のため乗車拒否というメにあい、しょうがなく、自宅に戻って車で移動。何かあったのかな?

@PharaohKJ
PharaohKJ / init.el
Created June 14, 2016 08:02
textlint for emacs flycheck
;; ref https://github.com/amperser/proselint/issues/37
;; textlint
(flycheck-define-checker textlint
"A linter for prose."
:command ("textlint" "--format" "unix" "--rule" "no-mix-dearu-desumasu" "--rule" "max-ten" "--rule" "spellcheck-tech-word" source-inplace)
:error-patterns
((warning line-start (file-name) ":" line ":" column ": "
(id (one-or-more (not (any " "))))
(message (one-or-more not-newline)
(zero-or-more "\n" (any " ") (one-or-more not-newline)))
host="target-hostname"
ssh-keygen -R $host
ssh-keyscan -H $host >> ~/.ssh/known_hosts

トップ

自己紹介

CIツールの歴史

http://itpro.nikkeibp.co.jp/article/COLUMN/20130619/486173/?rt=nocnt http://www.atmarkit.co.jp/ait/articles/1104/07/news111.html

CIツールには今、大きな追い風が吹いている。アプリケーションの開発、テスト、展開、運用といった「アプリケーションライフサイクル」の自動化を図る「DevOps(デブオプス、DevelopmentとOperationの合成語)」が話題になる中で、CIツールがDevOpsの実践に不可欠な存在だと見なされているからだ。

DevOpsにおけるCIツールの役割

2009年のイベントで DevOps とかはじめて言われたらしい