Skip to content

Instantly share code, notes, and snippets.

View turutosiya's full-sized avatar

Toshiya TSURU turutosiya

View GitHub Profile
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# solve the arrows mess when using vim in tmux
set -g default-terminal "xterm-256color"
# use mouse to scroll the output page instead of the command history
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDyyODRA4ApojQxY4JxpGqwqd2ddzfULKg3v+GfKHiDDXaE6gH8t/DN21krqbvRnLW8dcKKMWErfnpXEq2aokHtd5AiLilZAgpWYBfaPx+SO7Qc/lbK87Ki4BJ9rwDR6k9Bs7NrPK/jlcQui6hlibnb4nuCESiYlCfzxa3qjZO1bXZX6e9tvdPVVCtgjIJhmSBOyAFl3ufenf/WT0wnm9xdKLcePOxTVS2HOkJaD+FAXcWqVUfO5uA8dYROsKvWg9ATEqZloHYPproh0D6RaWDx3Gzh5SxxvnbXP8uEpBV4jJ9WqTuAef9v1tjOvuiRbHmPoxc5Ng/mxo/fpZWQyT+X toshiya.tsuru

Keybase proof

I hereby claim:

  • I am turutosiya on github.
  • I am turutosiya (https://keybase.io/turutosiya) on keybase.
  • I have a public key whose fingerprint is 72A2 D2FE E505 314A 4258 FBE7 C40C 8280 B002 F9E3

To claim this, I am signing this object:

Code Complete 2nd Edition
/ Steve McConnell
https://bookmeter.com/books/85841
Refactoring: Improving the Design of Existing Code
/ Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts
https://bookmeter.com/books/5690460
The Practice of Programming
set number
syntax on
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
DOSXForwardedForAsRemoteIP 0
SetEnvIf Request_URI "\.(gif|jpg|jpeg|png|bmp|css|js)$" IGNORE_DOS
DOSEmailNotify toshiya.tsuru@nadai.jp
--- mod_evasive20.c 2014-02-05 15:26:14.000000000 +0900
+++ mod_evasive20n.c 2014-11-10 13:12:31.368517100 +0900
@@ -212,6 +212,10 @@
/* BEGIN DoS Evasive Maneuvers Code */
+ /* IGNORE_DOS */
+ if (apr_table_get(r->subprocess_env, "IGNORE_DOS") != NULL)
+ return OK;
+
--- mod_evasive20.c 2014-02-05 15:26:14.000000000 +0900
+++ mod_evasive20n.c 2014-11-10 13:12:31.368517100 +0900
@@ -212,6 +212,10 @@
/* BEGIN DoS Evasive Maneuvers Code */
+ /* IGNORE_DOS */
+ if (apr_table_get(r->subprocess_env, "IGNORE_DOS") != NULL)
+ return OK;
+
<html>
<body>
Hello Gist!
</body>
</html>