Skip to content

Instantly share code, notes, and snippets.

View kyanny's full-sized avatar

Kensuke Nagae kyanny

View GitHub Profile
@kyanny
kyanny / .tigrc
Created August 7, 2014 07:16
tig: rebind f,b/C-f,C-b
# rebind f,b/C-f,C-b
bind generic f move-page-down
bind generic <Ctrl-f> move-page-down
bind generic b move-page-up
bind generic <Ctrl-b> move-page-up
@kyanny
kyanny / cov.csv
Created August 29, 2014 17:00
Marionette.js ベースで3ヶ月開発したアプリのカバレッジ推移をまとめてみた - @kyanny's blog http://blog.kyanny.me/entry/2014/08/30/021221
1122 Statements 72.59 739 1018
1130 Statements 72.59 739 1018
1145 Statements 72.94 857 1175
1149 Statements 73.65 1104 1499
1153 Statements 76.59 1361 1777
1154 Statements 75.88 1372 1808
1156 Statements 76.01 1375 1809
1158 Statements 67.68 1399 2067
1159 Statements 67.65 1393 2059
1165 Statements 67.65 1393 2059
@kyanny
kyanny / gist:f38f369b616b540d3764
Created September 11, 2014 12:50
closed also purple
/* domain: github.com */
.type-icon-state-closed {
color: #6e5494;
}
@kyanny
kyanny / a.rb
Created December 26, 2014 06:04
1
@kyanny
kyanny / a.out
Created December 26, 2014 06:04
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
-nan 0.000000 0 79 read
-nan 0.000000 0 1 write
-nan 0.000000 0 259 198 open
-nan 0.000000 0 64 close
-nan 0.000000 0 1 waitpid
-nan 0.000000 0 1 execve
-nan 0.000000 0 1 time
-nan 0.000000 0 9 8 access
@kyanny
kyanny / b.out
Created December 26, 2014 06:04
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
100.00 0.004000 16 253 192 open
0.00 0.000000 0 80 read
0.00 0.000000 0 1 write
0.00 0.000000 0 64 close
0.00 0.000000 0 1 waitpid
0.00 0.000000 0 1 execve
0.00 0.000000 0 1 time
0.00 0.000000 0 9 8 access
@kyanny
kyanny / c.out
Created December 26, 2014 06:15
SYSCALL(args) = return
thread_selfid(0x0, 0x0, 0x0) = 6994966 0
csops(0x0, 0x0, 0x7FFF50342008) = 0 0
issetugid(0x0, 0x0, 0x7FFF50342008) = 0 0
shared_region_check_np(0x7FFF5033FF48, 0x0, 0x7FFF50342008) = 0 0
stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF503410D8, 0x7FFF50342008) = 0 0
open("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x0, 0x0) = 3 0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x1000) = 4096 0
fcntl(0x3, 0x3D, 0x7FFF5033F440) = 0 0
@kyanny
kyanny / d.out
Created December 26, 2014 06:15
SYSCALL(args) = return
thread_selfid(0x0, 0x0, 0x0) = 6994748 0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x1000) = 4096 0
stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF5243AAF8, 0x1) = 0 0
open("/dev/dtracehelper\0", 0x2, 0x7FFF5243BF00) = 3 0
sysctl(0x7FFF5243B548, 0x2, 0x7FFF5243B558) = 0 0
thread_selfid(0x7FFF5243B548, 0x2, 0x7FFF5243B558) = 6994748 0
bsdthread_register(0x7FFF87B4A4A4, 0x7FFF87B4A494, 0x2000) = 1073741855 0
require 'minitest/autorun'
class TestFoo < MiniTest::Test
def setup
print "foo"
end
end
class TestBar < TestFoo
def setup
@kyanny
kyanny / gist:4feeb13d450f76a49f49
Last active August 29, 2015 14:16
github.com cookies (secure values are masked)
[
{
"domain": ".github.com",
"expirationDate": 1488811786,
"hostOnly": false,
"httpOnly": false,
"name": "_ga",
"path": "/",
"secure": false,
"session": false,