- 『ビジネススクールでは学べない 世界最先端の経営学』
- http://www.amazon.co.jp/dp/4822279324/
これを読んでる。
この本の中で「トランザクティブ・メモリー」という話がでてきた。概要は以下のコラムに書いてる。
# please include in server context | |
# ref: https://github.com/bitly/oauth2_proxy#endpoint-documentation | |
# for checking login status. | |
# only returns a 202 Accepted response or a 401 Unauthorized response; | |
location = /oauth2/auth { | |
internal; | |
# return 202 if local request, for inftataster test | |
set $local 0; |
これを読んでる。
この本の中で「トランザクティブ・メモリー」という話がでてきた。概要は以下のコラムに書いてる。
<source> | |
type in_tail | |
# ... | |
tag raw.eventlog | |
</source> | |
<match raw.**> | |
type forward | |
log_level "#{ENV['DEBUG'] ? 'debug' : 'info'}" |
# rubocop v0.35.0 から inherit_gem という機能が増えたので gem にしました | |
# https://github.com/onk/onkcop | |
inherit_gem: | |
onkcop: "config/rubocop.yml" |
function peco_select_rake_task_all() { | |
local tasks="bundle exec rake -AT" | |
task=$(eval $tasks | peco --query "$LBUFFER" ) | |
task_split=("${(s/ /)task}") | |
BUFFER=$task_split[1,2] | |
CURSOR=$#BUFFER | |
zle -R -c | |
} | |
zle -N peco_select_rake_task_all |
#!/usr/bin/env ruby | |
# @author Aaron Lampros | |
# | |
# Github-flavored markdown to HTML, in a command-line util. | |
# | |
# $ cat README.md | ./github-flavored-markdown.rb | |
# | |
# Notes: | |
# You will need to install Pygments for syntax coloring | |
# ```bash |
#!/bin/bash | |
# Get current swap usage for all running processes | |
# Erik Ljungstrom 27/05/2011 | |
# Updated: 2013-11-13 Yuichiro Saito | |
SUM=0 | |
OVERALL=0 | |
for DIR in `find /proc/ -maxdepth 1 -type d | egrep "^/proc/[0-9]"` ; do | |
PID=`echo $DIR | cut -d / -f 3` | |
PROGNAME=`ps -p $PID -o comm --no-headers` | |
for SWAP in `grep Swap $DIR/smaps 2>/dev/null| awk '{ print $2 }'` |
Why Should I Care (For Developers)
"Dockerが面白いのはシンプルな環境に隔離性と再現性をもたらしてくれることだ.ランタイムの環境を一度作れば、パッケージにして別のマシンでも再利用することできる.さらに,すべてはホスト内の隔離された環境で行われる(VMのように).最も素晴らしい点は,シンプルかつ高速であることだ."