This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
katoh$ ab -n 100 -c 10 http://blog.phalanxware.com/ | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking blog.phalanxware.com (be patient).....done | |
Server Software: nginx/1.4.4 | |
Server Hostname: blog.phalanxware.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
katoh$ ab -n 1000 -c 100 http://blog.phalanxware.com/ | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking blog.phalanxware.com (be patient) | |
Completed 100 requests | |
Completed 200 requests | |
Completed 300 requests | |
apr_socket_recv: Connection timed out (110) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git archive --format=zip --prefix=root/ HEAD `git diff --name-only HEAD HEAD^` -o archive.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% git clone https://github.com/keiko713/rails-todo.git | |
% cd rails-todo | |
% bundle install --without production | |
% foreman run bundle exec rake db:migrate | |
% foreman start | |
localhost:5000 で確認する。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# addgreether REMOTE_IP LOCAL_IP GRE_KEY LOCAL_SLICE_IP | |
ip link add gre1 type gretap remote ${1} local ${2} key ${3} | |
ip addr add ${4} dev gre1 | |
ip link set gre1 up | |
ip link set gre1 mtu 1450 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net_tools_deprecated_message () { | |
echo -n 'net-tools コマンドはもう非推奨ですよ?おじさんなんじゃないですか? ' | |
} | |
arp () { | |
net_tools_deprecated_message | |
echo 'Use `ip n`' | |
} | |
ifconfig () { | |
net_tools_deprecated_message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET @i := 0; | |
UPDATE `tablename` SET `order` = (@i := @i +1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pharaohkj]$ brew list | |
ansible ctags gdbm libpng neon python scons | |
autoconf docker git-flow libtool nkf rabbitmq sqlite | |
bdw-gc etcd imagemagick libyaml node rbenv subversion17 | |
bison etcdctl jmeter markdown openssl readline w3m | |
boot2docker fleetctl jpeg mosquitto pkg-config redis watch | |
c-ares freetype jq mysql pstree ruby-build wget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs= |
OlderNewer