- access https://markdownshare.com/view/a59e4c1f-ec81-49ea-a4b1-1bc53fc264fd to get direct link.
pbpaste | ruby -ruri -e 'puts "javascript:"+URI.encode(gets.chomp,/[^#{URI::PATTERN::UNRESERVED}]/).gsub("(","%28").gsub(")","%29").gsub(0x27.chr,"%27")'
(function(){var _parser_=document.createElement('a');_parser_.href=location.href,location.href='https://gateway.itc.u-tokyo.ac.jp'+_parser_.pathname+',DanaInfo='+_parser_.hostname;})();
- Open with UT SSL-VPN Gateway
(function(){if(location.href.indexOf('www.nicovideo.')>=0)location.href=location.href.replace('www.','ausp.');})();
- Open with niconico au
(function(){var registered=window.confirm('チュウニズムスコアツールへスコアを登録します。ログイン状態でないならキャンセルして下さい(ログインページに遷移します)');if(!registered){location.href="http://www.ginjake.net/score_update/users/login";}else{var script=document.createElement('script');script.src="https://gist.githack.com/cielavenir/713658ee499470b38067/raw/chunithm.js";document.documentElement.appendChild(script);}})();
- CHUNITHM更新
- cf: https://gist.github.com/cielavenir/713658ee499470b38067
- 更新履歴が長くなって30譜面に収まらなくなった時用です
(function(){var canPost=function(){return $('.update_diff_score').length<=30;};for(var diff=$('.update_diff_score'),i=diff.length-1;i>=0;i--){var difficulty=diff[i].children[0].children[0].children[0].textContent;if(difficulty=='BAS'||difficulty=='ADV')diff[i].remove();}})();
- chuniviewer_rm_BASADV