I hereby claim:
- I am shinkbr on github.
- I am shinkbr (https://keybase.io/shinkbr) on keybase.
- I have a public key ASBsCQn4yQsMGCbliF0qFt3zEUj1FjLnObjjDNV4UqNo8Ao
To claim this, I am signing this object:
#!/bin/sh | |
# 実行したディレクトリにパンツ先生のプリキュア芸術の泉を爆誕させる | |
# http://diary.fc2.com/cgi-sys/ed.cgi/kazuharoom/ | |
usage(){ | |
echo "Usage: `basename $0` YEAR(yyyy) [MONTH(m)]" | |
exit 1 | |
} |
#!/usr/bin/env ruby | |
# coding: utf-8 | |
require 'socket' | |
s = TCPSocket.open('number.quals.seccon.jp', 31337) | |
count = 1 | |
while line = s.readline('?') | |
puts line |
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Control+[ to EISUU+Escape</name> | |
<identifier>private.lctrl_lbracket.escape_eisuu</identifier> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::BRACKET_LEFT, ModifierFlag::CONTROL_L, | |
KeyCode::ESCAPE, KeyCode::JIS_EISUU | |
</autogen> |
#!/usr/bin/env ruby | |
# coding: utf-8 | |
h1 = Hash.new(0) | |
h1[:a] += 1 | |
p h1 #=> {:a=>1} | |
h2 = Hash.new({a: 0}) | |
h2[:a][:a] += 1 | |
p h2 #=> {} |
#!/usr/bin/env bash | |
# Configure the macOS dock | |
defaults delete com.apple.dock | |
killall Dock | |
sleep 5 | |
defaults write com.apple.dock autohide -bool yes | |
defaults write com.apple.dock minimize-to-application -bool yes |
#!/usr/bin/env bash | |
num=4 | |
if [[ "${1}" -gt "0" ]]; then | |
num="${1}" | |
fi | |
openssl rand -hex "${num}" |
#!/usr/bin/env bash | |
usage () { | |
echo "Usage: $( basename $0 ) <e|d>" | |
} | |
if [ "$#" -ne 1 ]; then | |
usage | |
exit 1 | |
fi |
#!/usr/bin/env bash | |
read uri | |
query=${uri##*\?} | |
echo -n "$query" | tr "&" "\n" |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# coding: utf-8 | |
length = 12 | |
if ARGV.size > 0 && (ARGV[0].to_i.to_s == ARGV[0]) && | |
ARGV[0].to_i >= 4 && ARGV[0].to_i <= 128 | |
length = ARGV[0].to_i | |
end |