Skip to content

Instantly share code, notes, and snippets.

View suitougreentea's full-sized avatar

suitougreentea suitougreentea

View GitHub Profile
function download(blob, filename) {
var objectURL = (window.URL || window.webkitURL).createObjectURL(blob),
a = document.createElement('a');
e = document.createEvent('MouseEvent');
//a要素のdownload属性にファイル名を設定
a.download = filename;
a.href = objectURL;
//clickイベントを着火
  • ユーザー -> ユーザ
  • Enhancing MIDI output
  • ビュアー -> ビューア
  • オッターヴァ/オッターバ
  • できます/出来ます
  • コンマ/カンマ
  • チルド/チルダ
  • reference前後のスペースを統一
% \friendsNoFermata でフレンズっぽくなる
% ベクター素材として以下を利用させていただきました。
% http://diagraph01.net/MMD_models/index.html#misc_kemofure_no
\version "2.19.64"
#(define friends-no-path
'((moveto 0.910213 -0.359043)
(rcurveto 0.046888 -0.080300 0.062305 -0.134120 0.076108 -0.197500)
(rcurveto 0.012709 -0.068600 0.020939 -0.119580 0.004504 -0.198900)
\version "2.19.64"
#(set-object-property! 'stem-fork-position 'backend-type? pair?)
#(set-object-property! 'skip-stem-fork-printing 'backend-type? boolean?)
forkedChord = #(define-music-function
(lst chord) (list? ly:music?)
(let* ((note-event-list (ly:music-property chord 'elements)))
(begin
(for-each
[General]
month_length = 62400
shift_divisor = 1440
[Stations]
始発駅
中間駅
終着駅
[RawTimes]
@suitougreentea
suitougreentea / tetris-advent-calendar-171218.rst
Last active December 23, 2023 01:55
私はいかにして全作GMを勝ち取ったか, Article for Tetris Advent Calendar 2017, 12/18

================== 私はいかにして全作GMを勝ち取ったか ==================

2017/12/18, りょくちゃ (@suitougreentea)

(12/20 22:20 モチベーション維持の部分に追記)

この記事は、テトリス Advent Calendar 2017 18日目の記事です。

@suitougreentea
suitougreentea / tetris-advent-calendar-171211.rst
Last active December 10, 2017 16:38
東京大学テトリス研究会の宣伝, Article for Tetris Advent Calendar 2017, 12/11
@suitougreentea
suitougreentea / msys2-here-uninstall.reg
Created February 3, 2018 06:04 — forked from elieux/msys2-here-uninstall.reg
MSYS2 here context menu items
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MSYS here]
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW64 here]
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW32 here]
@suitougreentea
suitougreentea / config.default
Last active April 27, 2018 15:27
Compile Simutrans-Extended with MinGW toolchain on Cygwin environment
CXX = i686-w64-mingw32-g++
C = i686-w64-mingw32-gcc
LD = i686-w64-mingw32-ld
SDL_CONFIG = /usr/i686-w64-mingw32/sys-root/mingw/bin/sdl-config
SDL2_CONFIG = /usr/i686-w64-mingw32/sys-root/mingw/bin/sdl2-config
BACKEND=gdi
COLOUR_DEPTH=16
OSTYPE=mingw32