Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Nyan

Kasumi Hanazuki hanazuki

:octocat:
Nyan
View GitHub Profile
View adblock.txt
[Adblock Plus 2.0]
! Title: PersonalList
@@||*.fastly-analytics.com
@@||js.rtoaster.jp/Rtoaster.js
||j.wovn.io
View crash.log
2017/04/12 22:34:14 [INFO] Terraform version: 0.9.2
2017/04/12 22:34:14 [INFO] Go runtime version: go1.8
2017/04/12 22:34:14 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.9.2/bin/terraform", "plan"}
2017/04/12 22:34:14 [DEBUG] Detected home directory from env var: /Users/usr0600373
2017/04/12 22:34:14 [DEBUG] Detected home directory from env var: /Users/usr0600373
2017/04/12 22:34:14 [DEBUG] Attempting to open CLI config file: /Users/usr0600373/.terraformrc
2017/04/12 22:34:14 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/04/12 22:34:14 [INFO] CLI command args: []string{"plan"}
2017/04/12 22:34:14 [DEBUG] Detected home directory from env var: /Users/usr0600373
2017/04/12 22:34:14 [DEBUG] command: loading backend config file: /var/folders/_6/hq6p6c512kn4y8d4yrwzf36r0000gn/T/tmp.zL2iW277
View keybase.md

Keybase proof

I hereby claim:

  • I am hanazuki on github.
  • I am hanazuki (https://keybase.io/hanazuki) on keybase.
  • I have a public key ASB_f9tK2PC38Z91muP1rBK-ZrkBvXvZYRckXhcAQJo6-Qo

To claim this, I am signing this object:

View gist:3744de4b64c4e2398f67

あんどろいどくん

3.4.0

Processor       : ARMv7 Processor rev 0 (v7l)
processor       : 0
BogoMIPS        : 38.40

processor       : 1
BogoMIPS        : 38.40
@hanazuki
hanazuki / README.md
Last active Sep 7, 2015
INT_MIN / -1 Optimization
View README.md
hanazuki@ring% clang++ --version
Debian clang version 3.0-6.2 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix
hanazuki@ring% clang++ -S -O2 test.cc
@hanazuki
hanazuki / emacs
Created May 4, 2015
emacs wrapper
View emacs
#!/bin/bash
if [ -z "$EMACS" ]; then
{
IFS=:
for path in $PATH; do
if [ -x "$path/emacs" -a ! "$path/emacs" -ef "$BASH_SOURCE" ]; then
EMACS="$path/emacs"
break
fi
View backup-system
#!/bin/bash -ex
BACKUP_DIR=/backup
REMOTE_BUCKET=s3://$(hostname -s).backup.$(hostname -d)
umask 077
for mode in "$@"; do
dir="$BACKUP_DIR/$mode"
rm -rf "$dir/" || true
@hanazuki
hanazuki / hengband-utf8.patch
Last active Dec 17, 2015
Patch for Hengband SVN r3405 to run in non-EUC-JP terminals (such as UTF-8) with curses (-mgcu) / 変愚蛮怒をUTF-8なターミナルで動作させるためのパッチです
View hengband-utf8.patch
diff --git a/src/main-gcu.c b/src/main-gcu.c
index 0c7f244..069d434 100644
--- a/src/main-gcu.c
+++ b/src/main-gcu.c
@@ -158,6 +158,7 @@
#include "angband.h"
+#include <iconv.h>