Skip to content

Instantly share code, notes, and snippets.

Subscribe to my newsletter!

Chee Aun cheeaun

Subscribe to my newsletter!
View GitHub Profile
View crowd-density-1.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 49 columns, instead of 36. in line 8.
cheeaun / mapbpx-tiles3dloader.js
Created Oct 9, 2021
Mapbox GL JS + Tiles3DLoader example
View mapbpx-tiles3dloader.js
import MapboxLayer from '';
import { Tiles3DLoader } from '';
import { Tile3DLayer } from '';
const buildingsLayer = new MapboxLayer({
id: 'buildings',
type: Tile3DLayer,
data: 'URL TO tileset.json',
loader: Tiles3DLoader,
loadOptions: {
View TimeSymbol.jsx
export default function TimeSymbol({ type = 'wd' }) {
const count = 3;
const size = 6;
const gutter = 1;
const typeHighlights = {
wd: [0, 1, 0],
sat: [0, 0, 1],
sun: [1, 0, 0],
const typeColor = {
cheeaun /
Last active Aug 10, 2021
Karabiner script to map new Macbook Globe🌐/fn key to open Mumu emoji picker
cheeaun /
Last active Jun 8, 2021
youtube-dl download specifc format
  1. youtube-dl -F VIDEO_ID - shows a list of formats available with codes in the first column
  2. youtube-dl -f FORMAT_CODE VIDEO_ID - specify the format code and download the exact format
# Dependency: requires macOCR
# Download:
# @raycast.schemaVersion 1
# @raycast.title macOCR
# @raycast.mode silent
# Lim Chee Aun
# @raycast.authorURL
cheeaun / polyline.svg
Created Apr 29, 2021
Render encoded polyline on SVG: polyline.svg#[ENCODED_POLYLINE_STRING]
View polyline.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
cheeaun / random-chmod-commands.txt
Last active Jan 6, 2022
Random chmod commands
View random-chmod-commands.txt
Set all files to 644
> find . -type f -exec chmod 644 {} \;
Set all folders to 755
> find . -type d -exec chmod 755 {} \;
Set all .bin files to executable
> chmod +x node_modules/.bin/*
Find all .bin files
View wishes.csv
We can't make this file beautiful and searchable because it's too large.
yy,Happy birthday Singapore!! Thank you Moments of Life team for creating this!,103.762,1.354
wj,Happy Birthday Singapore!,103.8,1.274
Cindy Lim Qiu Xia,Happy birthday to Singapore .,103.885,1.326
GJ,Happy Birthday Singapore!,103.873,1.368
Alexa,"Thanks for being there for my yesterdays, for growing with me into my today, and for giving me hope towards my tomorrow. Happy 55th and to more glorious years ahead! 😍 🇸🇬",103.806,1.443
GJ,Happy Birthday Singapore!!,103.873,1.368
Tanglin Boy,I love Singapore from the bottom of my heart! Happy National Day!,103.79851,1.2992
Tom,HBD Singapore!,103.80249,1.27221
z,"Happy Birthday, Singapore!",103.93579,1.36536