Skip to content

Instantly share code, notes, and snippets.

View cameronelliott's full-sized avatar

Cameron Elliott cameronelliott

View GitHub Profile
@cameronelliott
cameronelliott / turnutils_uclient.md
Last active November 24, 2025 02:40
Tutorial for turnutils_uclient and Coturn server

Tutorial for turnutils_uclient and Coturn server

Addsearch http://addsearch.com $25+ per month

AWS CloudSearch (AWS | Amazon CloudSearch - Search Service in the Cloud)

Azure Search (Azure Search - Cloud Search Service | Microsoft Azure)

Cludo (https://www.cludo.com) (199$ per month)

Elasticsearch: RESTful, Distributed Search & Analytics (open source)

@cameronelliott
cameronelliott / howto.txt
Last active December 8, 2018 22:00
Install postgres 11.1 on windows with crc on blocks
unzip postgresql-11.1-1-windows-x64-binaries.zip to \ which leaves pgsql in root
cd \pgsql\bin
mkdir \pgsql\data
mkdir \pgsql\log
initdb -k -U postgres -A password -E utf8 -W -D \pgsql\data
# as administrator
\pgsql\bin\pg_ctl.exe register -N "postgresql" -U "NT AUTHORITY\NetworkService" -D "\pgsql\data" -l "\pgsql\log\pgsql.log" -w
# maybe helpful to fix perms
@cameronelliott
cameronelliott / sharppcap.bpf.linq
Last active August 31, 2016 23:32
Sharppcap Live Packet filtering using BPF
var devices = CaptureDeviceList.Instance;
devices.Select (z=>z.Description).Dump();
WinPcapDevice d = (WinPcapDevice )devices.First(z=>z.Description.Contains("Ethernet"));
d.Open(SharpPcap.WinPcap.OpenFlags.NoCaptureLocal,0);
d.Filter="port 80";
WinPcapDevice.GetSequence(d).Take(10).Dump();
module Jekyll
module Convertible
def write(dest)
path = destination(dest)
FileUtils.mkdir_p(File.dirname(path))
if File.extname(path).downcase == '.html' then
self.output.strip!
reg = /<\/?pre[^>]*>/i
pres = self.output.scan(reg)
tary = self.output.split(reg)