Skip to content
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.


DevOps - Business Critical

I've worked in DevOps since before DevOps was a term. Back in 2000, on my first day at a web design company I was handed a sheet of paper and told I was taking over as webmaster as well as web developer.

Since then, just about about job title would contain web developer / webmaster, until DevOps became a term, then my job title usually became DevOps until today, where I do more DevOps than Dev.

And now and then you hear from someone about whether or not DevOps is Business Critical and that takes me back to a company I worked with 8 years or so ago.

View promises.html
<script src="" type="text/javascript"></script>
<script src=""></script>
var FB = function(){
var Ref = new Flybase("API-KEY", "sample", "chat");
echo "installing gcc"
sudo rpm --import
wget -O /etc/yum.repos.d/slc6-devtoolset.repo
yum install -y devtoolset-2-gcc-4.8.2 devtoolset-2-gcc-c++-4.8.2 devtoolset-2-binutils devtoolset-2-libstdc++-devel-4.8.2
sleep 2
ln -s /opt/rh/devtoolset-2/root/usr/bin/* /usr/local/bin/
hash -r
gcc --version
while true; do for i in 02E{{9..5},{6..8}}; do printf "\u${i}O=o>";sleep 0.09;printf "\b\b\b\b\b";done;printf "_";done

How to use Hello.js and Angular to enable client-side social login.

  1. bower install to install bower dependencies.

AWS ELB with Node.js and WebSockets

This assumes that:

  • You are using Nginx.
  • You want to accept incoming connections on port 80.
  • Your Node.js app is listening on port 3000.
  • You want to be able to connect to your Node.js instance directly as well as via the load balancer.

1. Create load balancer

Something went wrong with that request. Please try again.