I hereby claim:
- I am mi2428 on github.
- I am mi2428 (https://keybase.io/mi2428) on keybase.
- I have a public key whose fingerprint is 5542 1958 DDB1 98A0 38E7 7D88 E088 BA22 2E83 1FF1
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function main() | |
local uri = ngx.var.request_uri | |
local chk = string.sub(uri,1,10) | |
if chk == "/endpoint?" then | |
local url = ngx.req.get_uri_args().url | |
local res = ngx.location.capture("/encode?url="..url) | |
ngx.print(res.body) | |
else | |
local nonce = string.sub(uri,2) | |
local res = ngx.location.capture("/decode?nonce="..nonce) |
--[[ | |
RTX1200でサーバを死活監視する | |
(InfluxDB連携 & 死んでいたらブザーで警告) | |
06.26.16 ver1.0 | |
"Ping応答監視スクリプト" | |
http://jp.yamaha.com/products/network/solution/wp-content/uploads/2013/05/case3.lua | |
をベースに機能の追加削除を行った | |
]] |
#!/bin/bash | |
cd `pwd` | |
function crawling() { | |
local i tag base tmp1 tmp2 page url title fname ret nnew | |
interval="0.5" | |
while read target; do | |
tag=$(echo "$target" | awk '{print $1}') |
#!/bin/bash | |
cd $(dirname $0) | |
BASEDIR="/home/taichi/Documents/Kindle/" | |
#DISPLAY=":1" | |
DISPLAY=":0" | |
VNCPORT="5901" | |
SCREEN_SIZE="4096x2160" | |
COLOR="24" |