Skip to content

Instantly share code, notes, and snippets.

View cheeaun's full-sized avatar
🐘
Follow me on https://mastodon.social/@cheeaun

Chee Aun cheeaun

🐘
Follow me on https://mastodon.social/@cheeaun
View GitHub Profile
@cheeaun
cheeaun / userstyle.css
Created February 6, 2026 03:46
2-col layout for Mastodon web. Modify domains as needed.
@-moz-document domain("mastodon.social"), domain("hachyderm.io") {
.columns-area__panels__pane--compositional {
display: none;
}
.columns-area__panels__main {
order: 2;
}
.columns-area__panels__pane--navigational .navigation-bar {
display: block !important;
}
@cheeaun
cheeaun / js-error-logging-services.md
Last active September 18, 2025 20:18
JavaScript error logging services
@cheeaun
cheeaun / plugin.privateChat.js
Created December 11, 2009 15:44
Private Chat plugin for Talkerapp, now with chat log storage.
// https://cheeaun.talkerapp.com/plugins/82
var vendorStyles = function(str){
var s = str.split('-');
if (s.length == 4 && s[0] == 'border'){
var value = s[3].split(':')[1];
return str + '-webkit-' + str + '-moz-border-radius-' + s[1] + s[2] + ':' + value + ';';
}
return str + '-moz-' + str + '-webkit-' + str;
};
@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
@cheeaun
cheeaun / img-gif.js
Created July 30, 2025 08:58
img-gif.js — web component to render GIF as static image (`manualplay` attribute)
import { decodeFrames } from 'modern-gif';
import workerUrl from 'modern-gif/worker?url';
class ImgGif extends HTMLElement {
constructor() {
super();
this.frame = null;
this.canvas = null;
this.ctx = null;
this.isPlaying = false;
@cheeaun
cheeaun / rdrc2016.md
Last active June 13, 2025 19:46
RedDotRubyConf 2016 links & resources 😘
@cheeaun
cheeaun / singapore-boundary.geojson
Created February 12, 2019 15:22
Singapore land boundary GeoJSON (hi-res)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cheeaun
cheeaun / image-processing-services.md
Last active March 3, 2025 01:50
3rd-party image processing/manipulation/upscaling/enlarging services
@cheeaun
cheeaun / ocr.sh
Last active December 30, 2024 10:25
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 / README.md
Last active December 12, 2024 23:58
Karabiner script to map new Macbook Globe🌐/fn key to open Mumu emoji picker