Skip to content

Instantly share code, notes, and snippets.

View ryo33's full-sized avatar

Ryo Hirayama ryo33

View GitHub Profile
// State
{
todos: {
todoA: [],
todoB: [],
todoC: []
},
currentTodoKey: "todoA"
}
#!/usr/bin/env bash
curl -O http://kuina.ch/download/kuina_chan_fusion.mp3
mp3splt -n kuina_chan_fusion.mp3 0.0 3.32 7.04 10.34 13.54 17.16 20.24 24.03 27.13 30.53 34.09 36.59 91.7
mv kuina_chan_fusion_00m_00s__03m_32s.mp3 砂のお城とアイスクリーム.mp3
mv kuina_chan_fusion_03m_32s__07m_04s.mp3 朽ちた時計台.mp3
mv kuina_chan_fusion_07m_04s__10m_34s.mp3 春を運ぶ風.mp3
mv kuina_chan_fusion_10m_34s__13m_54s.mp3 輝く凍土世界.mp3
mv kuina_chan_fusion_13m_54s__17m_16s.mp3 子供の縄張り.mp3
mv kuina_chan_fusion_17m_16s__20m_24s.mp3 獣たちは嵐を駆ける.mp3
mv kuina_chan_fusion_20m_24s__24m_03s.mp3 ペンギンたちの願い.mp3
augroup plugin-POWER-mode
autocmd!
autocmd TextChangedI * call s:shake()
autocmd CursorHold,CursorHoldI * call s:restore_pos()
augroup END
command! ShakeOn call s:switch(1)
command! ShakeOff call s:switch(0)
set updatetime=60
@ryo33
ryo33 / ilh.py
Last active May 8, 2016 16:38
hubeny
"""
Copyright(c) 2015 ryo hashiguchi
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
"""
import math
import sys
def convert(data):