This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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]*);; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** 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. | |
やくまん /役満;[麻雀]/ | |
さんばいまん /三倍満;[麻雀]/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 $@ |