Skip to content

Instantly share code, notes, and snippets.

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

tacke tacke

:octocat:
nemui...
View GitHub Profile
@kishida
kishida / drawtab.js
Last active October 30, 2023 19:09
Guitar Scale Generator
function calcPos(f) {
return f * (55 - f / 1.7);
}
function calcCenter(f) {
return (calcPos(f) + calcPos(f - 1)) / 2;
}
function draw(name, major, k, sn, tune, note, chord) {
const noteName = [
["T", "2♭", "2", "3♭", "3", "4", "4♯", "5", "6♭", "6", "7♭", "7"],
["T", "2♭", "2", "3♭", "3", "4", "5♭", "5", "6♭", "6", "7♭", "7"]
@matchy256
matchy256 / rec_radiko.sh
Last active April 12, 2026 16:35 — forked from saiten/rec_radiko.sh
簡易Radiko録音スクリプト
#!/bin/bash
LANG=ja_JP.utf8
pid=$$
date=`date '+%Y-%m-%d-%H_%M'`
outdir="."
if [ $# -le 1 ]; then
@saiten
saiten / rec_radiko.sh
Last active December 2, 2021 05:57
簡易radiko録音ツール。要swftools
#!/bin/sh
playerurl=http://radiko.jp/apps/js/flash/myplayer-release.swf
cookiefile=./cookie.txt
playerfile=./player.swf
keyfile=./authkey.png
if [ $# -eq 1 ]; then
channel=$1
output=./$1.flv