Skip to content

Instantly share code, notes, and snippets.

View hieuthi's full-sized avatar

Hieu-Thi Luong hieuthi

View GitHub Profile
@hieuthi
hieuthi / common-vietnamese-syllables.txt
Last active October 19, 2022 06:19
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
của
các
được
trong
cho
không
người
@hieuthi
hieuthi / all-vietnamese-syllables.txt
Last active February 8, 2023 21:35
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
a
ai
am
an
ang
anh
ao
au
ay
ba
@mixxorz
mixxorz / waveform.py
Last active January 19, 2023 15:46
Generate waveform images from audio files
# 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 July 20, 2012 11:24
Print your own Muji dotted paper in A4 format (open in Preview.app, print at 100% scale)
%!PS-Adobe-3.0
% Title: dot grid paper, 5x5 mm
%%BeginSetup
%%BeginFeature: *PageSize A4
<< /PageSize [ 595.27 841.889 ]
/ImagingBBox null
>> setpagedevice
%%EndFeature
%%EndSetup