Skip to content

Instantly share code, notes, and snippets.

Avatar

Hieu-Thi Luong hieuthi

View GitHub Profile
@hieuthi
hieuthi / common-vietnamese-syllables.txt
Last active Oct 24, 2021
7184 common Vietnamese syllables that's cover more than 94% occurrences, the list is sorted by frequency in descending order. More information can be found at: http://www.hieuthi.com/blog/2017/04/03/vietnamese-syllables-usage.html
View common-vietnamese-syllables.txt
của
các
được
trong
cho
không
người
@hieuthi
hieuthi / all-vietnamese-syllables.txt
Last active Nov 7, 2021
All possibly existent Vietnamese syllables, created by combine all onsets with all rimes. More information can be found at: http://hieuthi.com/blog/2017/03/21/all-vietnamese-syllables.html
View all-vietnamese-syllables.txt
a
ai
am
an
ang
anh
ao
au
ay
ba
@mixxorz
mixxorz / waveform.py
Last active Oct 28, 2021
Generate waveform images from audio files
View waveform.py
# Requires pydub (with ffmpeg) and Pillow
#
# Usage: python waveform.py <audio_file>
import sys
from pydub import AudioSegment
from PIL import Image, ImageDraw
@bomberstudios
bomberstudios / muji-dotted-paper.ps
Created Jul 20, 2012
Print your own Muji dotted paper in A4 format (open in Preview.app, print at 100% scale)
View muji-dotted-paper.ps
%!PS-Adobe-3.0
% Title: dot grid paper, 5x5 mm
%%BeginSetup
%%BeginFeature: *PageSize A4
<< /PageSize [ 595.27 841.889 ]
/ImagingBBox null
>> setpagedevice
%%EndFeature
%%EndSetup