Skip to content

Instantly share code, notes, and snippets.


Jacob Kopczynski jkopczyn

View GitHub Profile
jkopczyn / server-example.go
Last active August 11, 2022 19:33
server to make datadog SubmitMetrics crash
View server-example.go
package main
import (
func serveHTTP(wr http.ResponseWriter, req *http.Request) {
http.Error(wr, "Client Error: Headers", http.StatusOK)
jkopczyn / submit-metrics-example.go
Last active August 11, 2022 19:32
datadog submit metrics to nonstandard endpoint
View submit-metrics-example.go
package main
import (
jkopczyn /
Created December 26, 2018 23:25
Automated god generator, implements
import random
domains = []
while True:
if random.randint(1,2) == 1:
dom_table = {
1: ["Play", "Fertility/Harvest/Babies", "Health/Disease", "Hunt", "Hearth", "Doors/Household Safety", "Baking", "Wine/Beer", "Sewing/Weaving", "Wealth", "Household Item", "Food (particular)", "Important Commodity", "Male Virility", "Bridges/Gates/Crossing/Crossroads", "Fidelity/Adultery", "Animal Husbandry", "Gossip/Reputation", "Books/Scrolls", "Important Domestic Animal/Insect"],
View gist:446e5a35d4768536a1fd
# scala install
sudo dpkg -i scala-2.11.1.deb
# sbt installation
wget wget
sudo dpkg -i sbt.deb
jkopczyn /
Created October 18, 2014 00:37
This Resembles FizzBuzz
def fizzbuzz():
x= raw_input("Max number for FizzBuzz/PingPong:")
fizz = ["fizz","ping"]
buzz = ["buzz","pong"]
fizzbuzz = ["fizzbuzz", "ping-pong"]
for i in range(1,int(x)):
if i%3 and i%5:
print i
elif not(i%3) and i%5: