Skip to content

Instantly share code, notes, and snippets.

@cameronelliott
cameronelliott / turnutils_uclient.md
Last active January 15, 2024 13:31
Tutorial for turnutils_uclient and Coturn server

Tutorial for turnutils_uclient and Coturn server

@emeeks
emeeks / cartogram.js
Last active October 20, 2020 04:17
Cartogram Experiments
(function(exports) {
/*
* d3.cartogram is a d3-friendly implementation of An Algorithm to Construct
* Continuous Area Cartograms:
*
* <http://chrisman.scg.ulaval.ca/G360/dougenik.pdf>
*
* It requires topojson to decode TopoJSON-encoded topologies:
*
#!/usr/bin/python
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org)
# The author disclaims copyright to this source code.
import sys
import struct
import socket
import time
import select
@jgrahamc
jgrahamc / slide10.go
Last active December 15, 2015 12:48
The code associated with this talk: http://www.slideshare.net/jgrahamc/go-oncurrency
func worker(die chan bool) {
for {
select {
// ... do stuff cases
case <- die:
return
}
}
}