Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
git filter-branch --commit-filter '
if [ "$GIT_AUTHOR_EMAIL" = "OLD@users.noreply.github.com" ];
then
GIT_AUTHOR_NAME="NEW";
GIT_AUTHOR_EMAIL="NEW@users.noreply.github.com";
git commit-tree "$@";
else
git commit-tree "$@";
fi' HEAD
@rxon
rxon / chrome-urls.md
Last active November 18, 2016 14:19
An interesting chrome-urls collection.
  • chrome://user-actions/ User Actions Debug Page
  • chrome://view-http-cache/ httpの状態でのキャッシュ
  • chrome://network-error/ ./-[n]でエラーを変えてる
  • chrome://network-errors/ ↑の一覧
  • chrome://version/ バージョン情報
  • chrome://sync-internals/ Chrome同期のダッシュボード

more...

@rxon
rxon / googru.sh
Created July 30, 2016 06:29
コマンドラインから複数の単語を一気に検索するためのsh
#!/bin/sh
# > sh guguru.sh hoge hoge2
# と打つとbrowserで検索結果が現れる
# 例外処理しなくてもいいよね…
while [ "$1" != "" ]
do
open https://www.google.co.jp/search?q=$1
# 古語の単語検索は open http://kobun.weblio.jp/content/$1
@rxon
rxon / _meta.jade
Last active July 18, 2016 02:43
metaのテンプレ的なやつ
- var description = ''
- var title = ''
- var url = ''
- var fb-img = ''
- var tw-img = ''
- var tw-account = ''
- var icon = ''
meta(charset='UTF-8')
title title
@rxon
rxon / honukai.zsh-theme
Last active May 27, 2016 17:02
My honukai.zsh-theme
# Clean, simple, compatible and meaningful.
# Tested on Linux, Unix and Windows under ANSI colors.
# It is recommended to use with a dark background and the font Inconsolata.
# Colors: black, red, green, yellow, *blue, magenta, cyan, and white.
#
# http://ysmood.org/wp/2013/03/my-ys-terminal-theme/
# Mar 2013 ys
# Machine name.
function box_name {

Awful-noscript

Javascriptをoffにしている人なんて今時いないと思うけど……

##これはひどい   なんにもわかってない

<noscript>

 
@rxon
rxon / 究極のIE対策.md
Created April 21, 2016 12:52
Ultimate-IE-Countermeasure

究極のIE対策

もういやですよね  

「IE8以前」という言葉…

##これでいいや  

 <!--[if lte IE 8]>
 
@rxon
rxon / jp.txt
Last active April 7, 2016 13:53
1000 Most Common Japanese Words for mortenjust/cleartext-mac using http://bit.ly/1TDSLea.
ように
私は
彼の
その
ために
上の
アール
とともに