View todo.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>React Tutorial</title>
<link rel="stylesheet" href="css/base.css" />
<script src=""></script>
<script src=""></script>
<script src=""></script>
<script src=""></script>
View queue.js
/* Creates a new queue. A queue is a first-in-first-out (FIFO) data structure -
* items are added to the end of the queue and removed from the front.
function Queue(){
// initialise the queue and offset
var queue = [];
var offset = 0;
// Returns the length of the queue.
View leftpad.js
function leftpad (str, len, ch) {
str = String(str);
var i = -1;
if (!ch && ch !== 0) ch = ' ';
len = len - str.length;
while (++i < len) {
str = ch + str;
return str;
View notify.html
<!-- Learn about this code on MDN: -->
<script src="notify.js"></script>
<button onclick="notifyMe()">Notify me!</button>
View gist:5cf5e85456494f5265ce
git fetch --all
git reset --hard origin/master
git pull origin master
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View install_ruby_1.9.3
Step 1: Upgrade Packages
# yum update
# yum -ygroupinstall "Development Tools"
Step 2: Installing Recommended Packages
# yum -y install gcc-c++ patch readline readline-devel zlib zlib-devel
# yum -y install libyaml-devel libffi-devel openssl-devel make
# yum -y install bzip2 autoconf automake libtool bison iconv-devel
Step 3: Install RVM ( Ruby Version Manager )
View geo.js
function CalculateDistance(lat1, long1, lat2, long2) {
// Translate to a distance
var distance =
Math.sin(lat1 * Math.PI) * Math.sin(lat2 * Math.PI) +
Math.cos(lat1 * Math.PI) * Math.cos(lat2 * Math.PI) * Math.cos(Math.abs(long1 - long2) * Math.PI);
// Return the distance in miles
//return Math.acos(distance) * 3958.754;
// Return the distance in meters
View not-bad-code.js
function getUserDetail(username) {
if (userCache[username]) {
return Promise.resolve(userCache[username]);
// Use the fetch API to get the information
return fetch('users/' + username + '.json')
.then(function(result) {
userCache[username] = result;
return result;

My name is Roger, I've worked remote for the past 3 years and for the past year I've worked remote as a senior DevOps Engineer with a company called Clevertech.

As a DevOps Engineer, it's my job to monitor and manage nearly 200 web servers for various clients, and to work with developers and clients to make sure they all have what they need.

Clevertech is a web and mobile app development company out of New York that has been around for 15 years. But that's not what makes us great.

What makes us great is that we have over 100 employees located all over the world.