Skip to content

Instantly share code, notes, and snippets.

View tacke's full-sized avatar
:octocat:
nemui...

tacke tacke

:octocat:
nemui...
View GitHub Profile
@tacke
tacke / drawtab.js
Created February 2, 2023 18:13 — forked from kishida/drawtab.js
Guitar Scale Generator
// 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");
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
@tacke
tacke / fictionjunction.js
Created May 17, 2014 11:56
FictionJunction
javascript:_=typeof alert;__=''+{};___=(_[+!+[]+!+[]+!+[]])+(_[+!+[]+!+[]+!+[]+!+[]])+(_[+!+[]+!+[]+!+[]+!+[]+!+[]])+(__[+!+[]])+(_[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]);alert((_[+[]])+(_[+!+[]+!+[]+!+[]+!+[]+!+[]])+___+(__[+!+[]+!+[]+!+[]])+(_[+!+[]])+(_[+!+[]+!+[]])+___)
@tacke
tacke / hide-duplication.user.js
Created March 15, 2011 10:16
hide-duplication.user.js
// ==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=[];