Skip to content

Instantly share code, notes, and snippets.

View cheeaun's full-sized avatar
📬
Subscribe to my newsletter https://cheeaun.substack.com/

Chee Aun cheeaun

📬
Subscribe to my newsletter https://cheeaun.substack.com/
View GitHub Profile
@cheeaun
cheeaun / stupid-hackathons.md
Last active May 11, 2024 15:27
List of stupid hackathons around the world!!1!
@cheeaun
cheeaun / README.md
Last active April 29, 2024 21:50
Karabiner script to map new Macbook Globe🌐/fn key to open Mumu emoji picker
@cheeaun
cheeaun / servers-custom-emojis.csv
Last active April 24, 2024 02:39
Servers with custom emojis count
domain count
pixey.org 22671
landofkittens.social 15322
metapixl.com 13859
lea.pet 13344
fedi.absturztau.be 12684
moth.zone 12665
mastodon.sergal.org 11789
shota.house 11212
shitposter.world 9858
@cheeaun
cheeaun / image-processing-services.md
Last active April 20, 2024 22:17
3rd-party image processing/manipulation/upscaling/enlarging services
@cheeaun
cheeaun / mapbpx-tiles3dloader.js
Created October 9, 2021 01:29
Mapbox GL JS + Deck.gl Tiles3DLoader example
import MapboxLayer from '@deck.gl/mapbox/dist/esm/mapbox-layer';
import { Tiles3DLoader } from '@loaders.gl/3d-tiles';
import { Tile3DLayer } from '@deck.gl/geo-layers';
const buildingsLayer = new MapboxLayer({
id: 'buildings',
type: Tile3DLayer,
data: 'URL TO tileset.json',
loader: Tiles3DLoader,
loadOptions: {
@cheeaun
cheeaun / local-static-file-server-https-node-http-server-openssl.md
Last active April 14, 2024 18:47
Set up local static file server with HTTPS

Set up local static file server with HTTPS

  • npm i http-server -g - global install the static file server
  • openssl genrsa -des3 -out key.pem 1024
  • openssl req -new -key key.pem -out csr.pem
  • cp key.pem key.pem.org
  • openssl rsa -in key.pem.org -out key.pem
  • openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
  • http-server . --S in the root directory
@cheeaun
cheeaun / singapore-boundary.geojson
Created February 12, 2019 15:22
Singapore land boundary GeoJSON (hi-res)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cheeaun
cheeaun / js-error-logging-services.md
Last active December 10, 2023 13:04
JavaScript error logging services
@cheeaun
cheeaun / ocr.sh
Last active December 6, 2023 20:38
macOCR script for Raycast. Preview https://twitter.com/cheeaun/status/1395973544983425025
#!/bin/bash
# Dependency: requires macOCR
# Download: https://github.com/schappim/macOCR
# @raycast.schemaVersion 1
# @raycast.title macOCR
# @raycast.mode silent
# @raycast.author Lim Chee Aun
# @raycast.authorURL https://github.com/cheeaun
@cheeaun
cheeaun / horizontal-scroll.ahk
Created August 4, 2009 03:18
AutoHotkey: Shift + Wheel for horizontal scrolling
; Shift + Wheel for horizontal scrolling
+WheelDown::WheelRight
+WheelUp::WheelLeft