Skip to content

Instantly share code, notes, and snippets.

View sasairc's full-sized avatar

sasairc sasairc

View GitHub Profile
#!/bin/bash
#
# Author:
# sasairc (@sasairc2)
#
# License
# MIT
#
readonly Y="\033[48;5;220m \033[m"
#!/bin/bash
#
# Author:
# sasairc (@sasairc2)
#
# License
# MIT
#
readonly W="\033[48;5;255m \033[m"
Attribute Similarity ratio Value
User agent <0.1% "Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29.1"
Accept 55.44% "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
Connection 59.82% "close"
Content encoding 60.12% "gzip, deflate"
Content language 0.17% "ja,en-us;q=0.7,en;q=0.3"
List of plugins 1.12% "Plugin 0: Shockwave Flash; Shockwave Flash 11.2 r202; libflashplayer.so. "
Platform 13.42% "Linux x86_64"
Cookies enabled 87.72% "yes"
Do Not Track 56.61% "NC"
@sasairc
sasairc / tumblr_apache.css
Created December 12, 2014 02:03
Apache2_modoki.htmlの上余白を気にならなくする
body {
margin-top : -13px ;
}
#!/bin/bash
#
#
# Author:
# sasairc (@sasairc2)
#
# License
# MIT
#
#!/bin/bash
#
# /* やめようね */
#
# Author:
# sasairc (@sasairc2)
#
# License
# WTFPL 2.0
#
@sasairc
sasairc / MOVLANDERS.sh
Last active August 29, 2015 14:10 — forked from 844196/ISLANDERS.sh
#!/bin/bash
#
# @(#) ISLANDERSって表示するだけ。(<C-c>で)流してくれ。
#
# Author:
# Original: 844196 (@84____)
# Revised : sasairc(@sasairc)
#
# License:
# WTFPL 2.0
@sasairc
sasairc / dmesg
Created December 1, 2014 06:47
Pulseaudioのalsa-sinkが例外起こしまくって困ってる
[ 5230.263050] traps: alsa-sink-ALC88[2335] trap divide error ip:7f924d0fcbc5 sp:7f924749f220 error:0 in libsamplerate.so.0.1.8[7f924d0f9000+16b000]
#!/bin/bash
R="\033[0;41m \033[m"
W="\033[0;47m \033[m"
if $(which sleepenh >/dev/null 2>&1); then
SLEEP='sleepenh'
else
SLEEP='sleep'
fi
@sasairc
sasairc / robots.sh
Last active August 29, 2015 14:10
折り返し付き
#!/bin/bash
LAST=0
R="$(tput smso)$(tput setaf 1) $(tput rmso)"
W="$(tput smso)$(tput setaf 7) $(tput rmso)"
if $(which sleepenh >/dev/null 2>&1); then
SLEEP='sleepenh'
else
SLEEP='sleep'