Skip to content

Instantly share code, notes, and snippets.

View mi2428's full-sized avatar

mi2428 mi2428

  • Tokyo Institute of Technology
  • Tokyo, Japan
View GitHub Profile
#!/bin/bash
cd $(dirname $0)
BASEDIR="/home/taichi/Documents/Kindle/"
#DISPLAY=":1"
DISPLAY=":0"
VNCPORT="5901"
SCREEN_SIZE="4096x2160"
COLOR="24"
#!/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}')
--[[
RTX1200でサーバを死活監視する
(InfluxDB連携 & 死んでいたらブザーで警告)
06.26.16 ver1.0
"Ping応答監視スクリプト"
http://jp.yamaha.com/products/network/solution/wp-content/uploads/2013/05/case3.lua
をベースに機能の追加削除を行った
]]
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)

Keybase proof

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:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mi2428
mi2428 / python-list.ipynb
Last active October 30, 2020 15:07
忘れるな
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.