Skip to content

Instantly share code, notes, and snippets.

Dave Cremins davecremins

Block or report user

Report or block davecremins

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
davecremins / worker_pool.go
Created Jan 21, 2019
Very simple example of a worker pool pattern in Golang
View worker_pool.go
package main
import (
type Job chan int
type Pool chan Job
davecremins / 0_reuse_code.js
Created Apr 7, 2017
Here are some things you can do with Gists in GistBox.
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 FizzBuzz
for(var i = 1; i <= 100; i++)
if(i % 3 == 0 && i % 5 == 0)
else if(i % 3 == 0)
else if(i % 5 == 0)
You can’t perform that action at this time.