Skip to content

Instantly share code, notes, and snippets.

View danShumway's full-sized avatar

Daniel Shumway danShumway

View GitHub Profile
@danShumway
danShumway / Chrome Autoplay Fragments
Created May 28, 2018 05:03
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.
0
1
2
3
4
5
6
7
8
9

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.

var damageDealt = 0;
var max = 0;
var trials = 1000000;
function dealDamage(damage){
if(Math.random() < .2){
return damage;
} else {
return dealDamage(damage + 1);
}
using System.IO;
using System;
class Program
{
static void Main()
{
int x = 5;
int y = 10;
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);