This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
w=('じゃけん' '夜' '行きましょうね^〜') | |
out='' | |
while :; do | |
rand=$(expr ${RANDOM} % 3) | |
word=${w[$rand]} | |
printf ${word} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta name="if:Hide Tumblr Controls" content="0" /> | |
<style> | |
{CustomCSS} | |
{block:IfHideTumblrControls} | |
#tumblr_controls { display: none; } | |
{/block:IfHideTumblrControls} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Safari" | |
activate | |
set top_win to window 1 | |
set window_tab_urls to top_win's tab's URL | |
end tell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[こそ]れ?マジ?[\??] | |
まず(.*?)さ[あぁ]?(?:、|(?:\.|・){2,})(.*?)(?:、|(?:\.|・){2,})?ある?んだけど(?:、|(?:\.|・){2,})(.*) | |
(.+)↑(.+)↓ | |
やっぱ[あぁ]?(?:、|(?:\.|・){2,})?(.*?)(?:くん|君)?の(.*?)を(?:、|(?:\.|・){2,})?(.*?) | |
[\((].*?[\))]ないです | |
[\((](王者の風格|すっとぼけ|サイコパス|ガンギマリ|せっかち|ねっとり|思考停止|諸行無常|ドン引き|意味深|名推理|使命感|震え声|棒読み|半ギレ|淫夢|悟空|威圧|偏見|激寒|呆れ|恍惚|戒め|無知|妥協|提案|驚愕|池沼|正論|絶望|良心|哲学|便乗|困惑|脅迫|小声|適当|レ|素|[至名迷]言|大[嘘破]|[難幻]聴|[憤激]怒|届かぬ[思想]い|(?:察し|冊子)|(?:声だけ)?迫真|無(?:邪気|関心)|語録(?:無視)?|(?:ゲス|真)顏|(?:更|さら)なる高みへ|(?:.*?並(?:みの)?感想?|KONAMI|粉みかん))[\))]? | |
\?{,3}「.*?」 | |
.*?、どうぞ | |
申(?:し訳ないが)?.*?は?[NN][GG]? | |
じゃないですかね[\.・]{2,} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 波ダッシュを使わないバージョン */ | |
(?:[Ah嗚あゃ][h呼あゝぁら]?|は[えぇ]|くり)[\^^] | |
/* 文字をそのまま指定 */ | |
[\^|^][~〜~] | |
/* Unicodeで指定 */ | |
[\^|^][\u007e\u301c\uff5e] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; HHKBを日本語配列設定の端末に繋げてもそのまま使えるようキーリマップ | |
*"::send, @ | |
*&::send, {^} | |
*'::send, & | |
*(::send, * | |
*)::send, ( | |
*+0::send, ) | |
*=::send, _ | |
*^::send, = | |
*~::send, {+} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! Img_to_markdown() | |
let url = matchstr(getline("."), 'https\?:\/\/[^ >,;:"\[\]]*') | |
let img = matchstr(getline("."), 'https\?:\/\/[^ >,;:"\[\]]*\(jpe\?g\|png\|gif\|bmp\)') | |
let alt = matchstr(getline("."), 'alt="\zs.*\ze"') | |
call setline(".", "[![" . alt . "](" . img . ")](" . url . ")") | |
endfunction | |
nnoremap <silent><Plug>(img_to_markdown) :<C-u>call Img_to_markdown()<CR> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_git_alias() { | |
if `git status >/dev/null 2>&1`; then | |
command=${1} | |
shift | |
git ${command} "$@" | |
if [ "${command}" = 'status' ]; then :; else echo ''; git status; fi | |
return 0 | |
else | |
echo "_git_alias: Not a git repository" 1>&2 | |
return 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# @(#) ISLANDERSって表示するだけ。(<C-c>で)流してくれ。 | |
# | |
# Author: | |
# 844196 (@84____) | |
# | |
# License: | |
# WTFPL 2.0 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# @(#) ターミナルが256色使えるかどうか確認するスクリプトです | |
# | |
# Author: | |
# 844196 (@84____) | |
# | |
# License: | |
# WTFPL 2.0 | |
# |
OlderNewer