Skip to content

Instantly share code, notes, and snippets.


SoonKhen OwYong owyongsk

View GitHub Profile
owyongsk / uob.js
Last active Oct 19, 2020
Automatically add transactions to
View uob.js
//* 1. Change the text below by pasting each line from the email you receive
//* 2. Then open the console, and copy and paste the whole file and press enter
text = `
Order matched Bought 30000 units of MTAG (0213) at RM 0.580000 on (2020-07-30 12:12:38). Login to UTRADE for more information.
Order matched Bought 13000 units of HEXZA (3298) at RM 1.330000 on (2020-07-30 12:14:27). Login to UTRADE for more information.
import SimpleHTTPServer
import SocketServer
import random
from urlparse import urlparse, parse_qs
class Redirect(SimpleHTTPServer.SimpleHTTPRequestHandler):
def do_GET(self):
term = parse_qs(urlparse(self.path).query)['q'][0]
owyongsk /
Last active Jun 6, 2018
A Google Form which sends all the data, including attachment to a URL of your choice via webhooks.
* Inspired by
* Please keep the source code updated with this gist at
* There's no way to have a gist owned by an organization
var webhook_url = "https://your.own/webhook/path";
owyongsk /
Last active Jun 26, 2016 — forked from jimsynz/
I use this to install Elixir on Codeship.
# I use this to install Elixir on our codeship instances for testing. YMMV.
# cd ~
# curl -O
# . ~/
# cd ~/clone
# You can override your Elixir and Erlang versions from your shell when you call ./