*spl exception class http://blog.asial.co.jp/1128
*phpunit mock prophency http://qiita.com/Hiraku/items/326b58c586a134d2ea74
*phpunit http://qiita.com/t_ishida/items/694b2356ed23a8d89295
*splfile
cat << EOT >~/.emacs.d/ElgetPackages | |
(el-get-bundle auto-complete) | |
(el-get-bundle quickrun) | |
(el-get-bundle ag) | |
(el-get-bundle color-theme) | |
(el-get-bundle flymake) | |
(el-get-bundle highlight-symbol) | |
(el-get-bundle helm) | |
(el-get-bundle helm-ag) |
#/bain/bash | |
RUNDIR=${0%/*} | |
cd ${RUNDIR} | |
#check /etc/resolv.conf | |
yum -y upgrade ca-certificates | |
#centos6 | |
#rpm -ivh https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
#centos7 |
If the source IP matches a source IP bound to a zone, it uses that. | |
If the source IP doesn't match any particular zone, it checks to see if there's a zone configured | |
for the interface the packet came in on. If there is one, it uses that. | |
Lastly, if nothing else matches, it uses the default zone. | |
IPアドレスが複数条件にマッチする場合は上から順番に評価されるので先に狭いレンジの設定を入れる | |
reloadした時に勝手に順番が替わる?必ずreloadして確認すること。 | |
firewall-cmd --list-all | |
firewall-cmd --list-all-zones | |
firewall-cmd --get-active-zones |
var args = phantom.args; | |
var page = require('webpage').create(); | |
url = args[0]; | |
imgpath = args[1]; | |
sp_gisou = args[2]; | |
var page = require('webpage').create(); | |
if (sp_gisou == "true") { |
##AWS AMIから起動するとデフォルトでyum updateがかかった状態なるので、この動作をしないようにするためには追加設定が必要 | |
- hosts: localhost | |
connection: local | |
user: root | |
vars: | |
tasks: | |
- name: copy timezone file | |
shell: cp /usr/share/zoneinfo/Japan /etc/localtime | |
- name: set false to clock utc |
*spl exception class http://blog.asial.co.jp/1128
*phpunit mock prophency http://qiita.com/Hiraku/items/326b58c586a134d2ea74
*phpunit http://qiita.com/t_ishida/items/694b2356ed23a8d89295
*splfile
https://mowa-net.jp/wiki/JMeter
c4xlargeでテストしたが、大きなインスタンスは不要?
エラー時の停止するオプションがあるので、テスト時の設定に注意する。
Throughput Shaping Timerをインストールする。<==同時アクセス数を簡単に設定できる CUIの場合には、以下よりJMeterPlugins-Standard-1.4.0.zipをインストール https://jmeter-plugins.org/downloads/old/
インターネット経由のみ | |
IPアドレスによる制限のみ&IAM制限 | |
kibanaは同梱されている(バージョン古い?) | |
local install | |
sudo yum install java-1.8.0 | |
sudo alternatives --config java | |
https://www.elastic.co/jp/blog/setting-up-es-cluster-on-ec2 |
git archive --format=tar HEAD --prefix=`basename $(git remote get-url origin) .git`/ | (cd /opt/libs/XXX && tar xf -)
create only diff file http://www.granfairs.com/blog/staff/git-archivediff
centosに新しいバージョンのパッケージを簡単にインストールする | |
http://qiita.com/hnakamur/items/77791e63ac2ad9644a2b | |
curl -s https://setup.ius.io/ | bash | |
yum install git2u | |
#yum install -y scl-utils | |
#yum install -y centos-release-scl-rh | |
#yum install rh-php56-php rh-php56-php-mbstring | |