Skip to content

Instantly share code, notes, and snippets.

View kae1616's full-sized avatar
🎯
Focusing

Kae kae1616

🎯
Focusing
View GitHub Profile
@chengkiang
chengkiang / paynow.js
Last active February 12, 2026 21:02
SG PayNow QR Code Generator Sample
String.prototype.padLeft = function (n, str) {
if (n < String(this).length) {
return this.toString();
}
else {
return Array(n - String(this).length + 1).join(str || '0') + this;
}
}
function crc16(s) {
@ilbunilcho
ilbunilcho / How to remove Windows paths from WSL path.md
Created November 1, 2018 16:41
How to remove Windows paths from WSL path

after Build 17093

  • can override settings by edit "/etc/wsl.conf"
  • normally this file is not exists at first
$ sudo vi /etc/wsl.conf

[interop]
appendWindowsPath = false