Skip to content

Instantly share code, notes, and snippets.

View flyfy1's full-sized avatar

Song Yangyu flyfy1

View GitHub Profile
@flyfy1
flyfy1 / check_pr_status
Created March 7, 2016 07:06
Check the Application status for Singapore Permanent Residence. Used to work long time ago.. not sure if it is still working now.
#!/usr/bin/env ruby
require 'rubygems'
require 'selenium-webdriver'
# Configs
FIN = "YOUR_FIND_NUMBER"
APPLICATION_NUMBER = "YOUR-PR-APPLICATION-NUMBER"
APPNUM_ARR = APPLICATION_NUMBER.split "-"
@flyfy1
flyfy1 / index.html
Last active January 12, 2016 09:45
Body.no-scoll test
<html>
<head>
<title>Test Body No Scoll</title>
<style>
body{
background-color: black;
color: white;
}
</style>
</head>