Skip to content

Instantly share code, notes, and snippets.

View justinrolston's full-sized avatar

Justin Rolston justinrolston

  • CoverMyMeds
  • Columbus, OH
View GitHub Profile
module EventuallyHelper
def eventually(options = {})
timeout = options[:timeout] || 10
interval = options[:interval] || 0.1
time_limit = Time.now + timeout
loop do
begin
yield
rescue => error
end

Keybase proof

I hereby claim:

  • I am justinrolston on github.
  • I am justinrolston (https://keybase.io/justinrolston) on keybase.
  • I have a public key whose fingerprint is DE95 5077 3C99 DF79 B00C EFFD 202E 6800 E2F2 6959

To claim this, I am signing this object:

@justinrolston
justinrolston / main.go
Created December 10, 2014 13:50
working proxy
package main
import (
"fmt"
"log"
"net/http"
"github.com/elazarl/goproxy"
)
{"status":"fail"}
@justinrolston
justinrolston / ruby22.sh
Created May 11, 2016 01:06
docker function in bash
ruby22 () {
eval $(docker-machine env default)
docker run -it --rm \
-v "$PWD":/data \
-w /data \
ruby:2.2-alpine ruby $*
}
@justinrolston
justinrolston / CS-Roadmap.md
Last active May 27, 2024 01:03
Computer Science (CS) Roadmap

Here’s a structured approach to help Ethan get started into computer science (CS):

1. Basic Computer Literacy

  • Understand the Basics: Get comfortable with using operating systems (Windows, macOS, Linux), basic software applications, and file management.
  • Typing Skills: Good typing skills are essential for coding efficiently.

2. Mathematics

  • Discrete Mathematics: Fundamental for algorithms and data structures. Topics include logic, sets, relations, and functions.
  • Linear Algebra: Important for graphics, machine learning, and many other fields.
  • Calculus: Useful for understanding changes and motion, especially in simulations and certain algorithms.