Skip to content

Instantly share code, notes, and snippets.

View mzaksana's full-sized avatar
:atom:
Mars Exploration

Muammar Zikri Aksana mzaksana

:atom:
Mars Exploration
View GitHub Profile
# Script to genarate vosk api model from kaldi exp
# by mzaksana
# Path for model
model_online="/path-user/chain-online"
graph="/path-user/tree/graph"
lang="/path-user/data/lang"
@mzaksana
mzaksana / kaldi_online.sh
Created August 15, 2021 17:30
Example to online ASR using kaldi model
# Prepare kaldi exp to vosk model format. ! Unnecessary
# https://gist.github.com/mzaksana/83f673a2e0460f88c671c4f7f94dc0bb
online2-tcp-nnet3-decode-faster \
--verbose=1 \
--endpoint.silence-phones=1:2:3:4:5 \
--mfcc-config=model-android/conf/mfcc.conf \
--ivector-extraction-config=model-android/conf/ivector_extractor.conf \
model-android/am/final.mdl \
model-android/graph/HCLG.fst \
@mzaksana
mzaksana / tmux-cheatsheet.markdown
Created November 27, 2021 08:52 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@mzaksana
mzaksana / total-n-newest-files.sh
Created September 12, 2025 21:16
Total & Newest Files
watch -n 2 '
echo "Total files: $(find src -type f | wc -l)"
echo
echo "Newest 10 files:"
find src -type f -exec stat -f "%Sm %z %N" {} + | sort -r | head -n 10
'
🌞 Morning 4 commits β–ˆβ–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 15.4%
πŸŒ† Daytime 11 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 42.3%
πŸŒƒ Evening 11 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 42.3%
πŸŒ™ Night 0 commits β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.0%
@mzaksana
mzaksana / Makefile
Last active April 11, 2026 14:19
Mysql Lab
#!/usr/bin/make
.PHONY = all clean
BASH := $(shell which bash)
up:
bash -c 'docker-compose -p mysql-server -f docker-compose.yml up -d --build'
down: