Skip to content

Instantly share code, notes, and snippets.

View rudzainy's full-sized avatar
Building Ranting

Rudzainy Rahman rudzainy

Building Ranting
View GitHub Profile
rudzainy / state_of_malaysia.rb
Last active May 18, 2022 05:24
A simple Ruby program to illustrate current state of Malaysia
View state_of_malaysia.rb
# state_of_malaysia.rb
# A simple Ruby program to illustrate current state of Malaysia
# This class represents a generalisation of leaders in Malaysia
class MalaysianLeaders
def boleh_harap?
return false
def are_not_fighting_for_power?
rudzainy / box-shadow.html
Created April 28, 2017 10:48 — forked from ocean90/box-shadow.html
CSS3 Box Shadow, only top/right/bottom/left and all
View box-shadow.html
<!DOCTYPE html>
<title>Box Shadow</title>
.box {
height: 150px;
width: 300px;
margin: 20px;
rudzainy / timestamp.js
Created January 29, 2017 02:37 — forked from hurjas/timestamp.js
Print out a nicely formatted timestamp in JavaScript.
View timestamp.js
* Return a timestamp with the format "m/d/yy h:MM:ss TT"
* @type {Date}
function timeStamp() {
// Create a date object with the current time
var now = new Date();
// Create an array with the current month, day and time

JavaScript, the weird parts

link to notes

about Sher Minn

  • front-end web engineer
  • funemployed, but joining in a week
  • recently spent 3 months in NYC at the Recurse Center
    • retreat for programmers
  • where people go to be better at what they do
View Hide OS X Dock and remove hide delay
defaults write autohide -bool true && defaults write autohide-delay -float 0 && defaults write autohide-time-modifier -float 0 && killall Dock
View Sublime Text 3 - Terminal symlink fix for OS X 10.11 El Capitan
rudzainy / Gemfile
Last active August 9, 2020 21:40 — forked from stevebourne/Gemfile
Add facebook auth to a Clearance app, using omniauth-facebook
View Gemfile
gem 'omniauth'
gem 'omniauth-facebook'
gem 'clearance'