Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Shumway danShumway

View GitHub Profile
@danShumway
danShumway / Chrome Autoplay Fragments
Created May 28, 2018
Domain fragments from Chrome's Autoplay Whitelist. It wouldn't be too dificult to construct the complete list from the compiled file, but I haven't taken the time to do so.
View remote_jobs.md

99Designs

1-to-1 Project, Contest

description: Expert Designers Community serving Any industry, Any business. Design Logos, websites, and yes, even tattoos - there are so many (90+) categories.

AngelList

View Monte Carlo Distribution (Rubber Band Damage)
var damageDealt = 0;
var max = 0;
var trials = 1000000;
function dealDamage(damage){
if(Math.random() < .2){
return damage;
} else {
return dealDamage(damage + 1);
}
View Passing by reference in C#
using System.IO;
using System;
class Program
{
static void Main()
{
int x = 5;
int y = 10;
View static_server.js
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
, filename = path.join(process.cwd(), uri);
You can’t perform that action at this time.