Skip to content

Instantly share code, notes, and snippets.

@orumin
orumin / avrdude.sh
Last active April 4, 2021 08:53 — forked from nyomo/avrdude.sh
WSLでavrdudeを簡単に使う為の奴
#!/bin/bash
if [ $# != 1 ]; then
echo "usage: $0 <target firmware>.hex"
exit 0
fi
read -p "target file is $1. correct? [Yn] " yn
case "$yn" in
"" | [yY]*);;
@orumin
orumin / SKK-JISYO.mahjong.patch
Created September 25, 2017 14:13 — forked from karubabu/SKK-JISYO.mahjong.patch
SKK-JISYO.mahjong.patch
*** SKK-JISYO.mahjong 2017-09-23 23:40:44.398832446 +0900
--- SKK-JISYO-new.mahjong 2017-09-23 23:43:31.818838527 +0900
***************
*** 1,3 ****
--- 1,6 ----
+ ;;; -*- coding: utf-8 -*-
+ ;; okuri-ari entries.
+ ;; okuri-nasi entries.
やくまん /役満;[麻雀]/
さんばいまん /三倍満;[麻雀]/
@orumin
orumin / Makefile
Created June 11, 2016 01:25 — forked from lmullen/Makefile
PDF slides and handouts using Pandoc and Beamer
SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md))
HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md))
all : $(SLIDES) $(HANDOUTS)
%.md.slides.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -o $@
%.md.handout.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -V handout -o $@