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 / horizontal-scroll.ahk
Created August 4, 2009 03:18
AutoHotkey: Shift + Wheel for horizontal scrolling
View horizontal-scroll.ahk
; Shift + Wheel for horizontal scrolling
+WheelDown::WheelRight
+WheelUp::WheelLeft
@cheeaun
cheeaun / social-meetups.md
Last active May 17, 2023 03:58
Social developer/designer meetups around the world
View social-meetups.md

Social developer/designer meetups around the world

This is a list of social meetups with these criterias:

  • No presentations, no talks, no speakers
  • No set of agendas and schedules
  • Works like the coffee breaks between talks in conferences (AKA Hallway Track) or the afterparties.

Here goes:

@cheeaun
cheeaun / feed-readers-comparison.md
Last active April 28, 2023 03:25
Feed Readers comparison
View feed-readers-comparison.md

Feed Readers comparison

My comparison notes for web-based remotely-hosted Google Reader clones/replacements. Has to be at least 90% similar to Google Reader and not some Pinterest-like or Instapaper-like apps.

Here's a list of almost all Google Reader alternatives. And another one here.

In no particular order, here goes:

CommaFeed

@cheeaun
cheeaun / fb-friend-locationer.html
Created August 29, 2010 03:04
Get your Facebook friends' current location
View fb-friend-locationer.html
<!DOCTYPE html>
<title>FB Friend Locationer</title>
<style>
* {font-family: sans-serif;}
table th, table td{border: 1px solid #ccc; padding: 0 1em;}
</style>
<table id="loc">
<thead>
<tr>
<th>Name</th><th>Current location</th>
@cheeaun
cheeaun / ocr.sh
Last active November 23, 2022 14:23
macOCR script for Raycast. Preview https://twitter.com/cheeaun/status/1395973544983425025
View ocr.sh
#!/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 / close-app-mem.ahk
Created June 15, 2009 15:13
AutoHotkey script to immediately kill an application when exceeded a set memory usage limit
View close-app-mem.ahk
Loop {
app = msnmsgr.exe
; Live Messenger on my machine is having memory leaks, hence this script :)
mem := GetProcessMemoryInfo(app)
Menu, tray, tip, %app% %mem% KB
if mem > 80000
{
Process, close, %app%
TrayTip, %app% closed, %mem% KB used.
}
@cheeaun
cheeaun / facebook-tinymce.js
Created October 7, 2010 02:44
Facebook's TinyMCE code
View facebook-tinymce.js
function MceEditor() {}
MceEditor.prototype = {
init: function (b, c) {
this.canvasId = b.id;
this.settings = c;
var a = c.plugins;
if (a && a.search('AtD') !== -1) this.settings.atd_rpc_id = $('post_form_id').value;
if (this.is_visible || !this.settings.delay_initialization) this.startEditor();
},
startEditor: function () {
@cheeaun
cheeaun / say.html
Created March 19, 2010 04:24
Experimental page to test html5 <audio> tag with google translate tts technology.
View say.html
<!DOCTYPE html>
<title>Say it to me!</title>
<link rel="stylesheet" href="http://cheeaun.github.com/cacss/ca.min.css">
<style>
body{
text-align: center;
}
input, button{
font-size: 2em;
width: 70%;