Skip to content

Instantly share code, notes, and snippets.

View mnh48's full-sized avatar
💼
Still looking for full time jobs amid discrimination

Yaya - Nurul Azeera Hidayah Yatsuko Muhammad Nur Hidayat Yasuyoshi (MNH48) mnh48

💼
Still looking for full time jobs amid discrimination
View GitHub Profile
@mnh48
mnh48 / thailand-apm-suvarnabhumi
Last active November 5, 2021 02:05
rough translation of this facebook post: https://www.facebook.com/491766874595130/posts/1305394736565669/ for sharing in Comic Fiesta Community Discord serverʹs #public-transport channel -- rough translation is using both Google Translate and Bing Translate, in addition to thai2english.com corpus as vocab because some of the words given by both …
Get to know the #APM train connecting the airport terminal #Suvarnabhumi
Airval, the latest electric wheeled vehicle from Siemens.
Today, bring your friends and let's get to know the latest little train that will come into service in our country, the APM electric train that will serve the connection between the main terminal (MTB) and the secondary building 1 (SAT 1) that is under construction, delaying the opening until the year 2020 (year 65 refers to Thai year 2565 which is equivalent to our year 2020).
In the project, it will be using rubber-wheeled electric train for the APM, model Airval by Siemens.
So I introduce you to each of these.
—————————
<?php
+ $rank = 34.2;
$url = "https://discordapp.com/api/webhooks/xxx"; // Censored for privacy
$hookObject = json_encode([
"username" => "Promotion Logs",
"avatar_url" => "https://cdn.discordapp.com/icons/472520717515096078/60cc7dd2864c95a749516d1213359b67.png",
"tts" => false,
"embeds" => [
[
@mnh48
mnh48 / desc.txt
Last active November 28, 2019 18:45
Replying to reddit
I tried copying from LibreOffice Writer where it shows the correct glyph,
and pasting it in GIMP, but it still doesn't show the correct glyph.
ڤڽاكيت ڽاڽين كڽاتأنڽ
@mnh48
mnh48 / updatepo.sh
Last active March 9, 2022 00:53
This is a script to update translation source strings from mods' lua source code. The script is for Minetest mods that supports intllib and had strings needing translation passed via intllib's functions declared correctly. The script was taken from homedecor_modpack and tweaked it so it is usable in common mods' locale folder.
#! /bin/bash
# To create a new translation:
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
cd "$(dirname "${BASH_SOURCE[0]}")/..";
# Extract translatable strings.
xgettext --from-code=UTF-8 \
--language=Lua \