This file contains hidden or 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
| // tsc --lib es2015,dom --target es2015 drawtab.ts -w | |
| function calcPos(f) { | |
| return f * (55 - f / 1.7); | |
| } | |
| function calcCenter(f) { | |
| return (calcPos(f) + calcPos(f - 1)) / 2; | |
| } | |
| function draw(major, k, sn) { | |
| const canvas = document.getElementById("canv"); | |
| const ctx = canvas.getContext("2d"); |
This file contains hidden or 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
| eval (hub alias -s) | |
| function fish_user_key_bindings | |
| bind \cr 'peco_select_history (commandline -b)' | |
| bind \cx\ck peco_kill | |
| bind \c] peco_select_ghq_repository | |
| bind \cx\cr peco_recentd | |
| end |
This file contains hidden or 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
| javascript:_=typeof alert;__=''+{};___=(_[+!+[]+!+[]+!+[]])+(_[+!+[]+!+[]+!+[]+!+[]])+(_[+!+[]+!+[]+!+[]+!+[]+!+[]])+(__[+!+[]])+(_[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]);alert((_[+[]])+(_[+!+[]+!+[]+!+[]+!+[]+!+[]])+___+(__[+!+[]+!+[]+!+[]])+(_[+!+[]])+(_[+!+[]+!+[]])+___) |
This file contains hidden or 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
| // ==UserScript== | |
| // @name de-duplication | |
| // @namespace http://www.dolpen.net/ | |
| // @description find duplicated tweet | |
| // @include http://www.sinsai.info/ushahidi/index.php/admin/messages/index/3* | |
| // @require http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js | |
| // ==/UserScript== | |
| (function(){ | |
| // 取り急ぎ機能追加&修正版 by tacke | |
| var strs=[]; |