Skip to content

Instantly share code, notes, and snippets.

@steveej
steveej / gist:c392c420a5cdd7e23c1f6a1b30c65b19
Created March 21, 2024 11:21
coturn buffer overflow stacktrace on cli connection
Mar 21 11:20:31 turn-infra-holochain-org turnserver[66325]: 388: (66496): INFO: IPv4. CLI connected to: 127.0.0.1:35632
Mar 21 11:20:33 turn-infra-holochain-org turnserver[66325]: *** buffer overflow detected ***: terminated
Mar 21 11:20:33 turn-infra-holochain-org systemd[1]: Started Process Core Dump (PID 66558/UID 0).
Mar 21 11:20:33 turn-infra-holochain-org systemd-coredump[66559]: [🡕] Process 66325 (turnserver) of user 249 dumped core.
Module libffi.so.8 without build-id.
Module libgmp.so.10 without build-id.
Module libhogweed.so.6 without build-id.
Module libnettle.so.8 without build-id.
Module libtasn1.so.6 without build-id.
@steveej
steveej / happ.diff
Created April 18, 2023 10:52
pin holochain_integrity_type in scaffolded forum example
diff --git a/Cargo.lock b/Cargo.lock
index 7ba4221..87f7353 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -696,9 +696,9 @@ dependencies = [
[[package]]
name = "hdk_derive"
-version = "0.1.2"
+version = "0.1.1"
@steveej
steveej / keybase.md
Last active January 17, 2021 01:01
keybase.md

Keybase proof

I hereby claim:

  • I am steveej on github.
  • I am steveej (https://keybase.io/steveej) on keybase.
  • I have a public key whose fingerprint is 6F70 69FE 6B96 E894 E60E C45C 6EEF A706 CB17 E89B

To claim this, I am signing this object:

@steveej
steveej / configuration.nix snippet
Created May 3, 2017 17:58
activationScripts simple bin
system.activationScripts.bin = ''
echo "setting up /bin..."
ln -sfn ${pkgs.bash}/bin/bash /tmp/.binbash
mv /tmp/.binbash /bin/bash
'';
@steveej
steveej / Procfile
Last active July 26, 2016 22:43
rkt-flannel-cluster
# Use goreman to run `go get github.com/mattn/goreman`
etcd: sudo rkt run --net=default-restricted:IP=172.16.28.2 --port=etcd2:2379 ../ACIs/etcd-2.3.7-linux-amd64.aci -- --listen-peer-urls 'http://0.0.0.0:2380,http://0.0.0.0:7001' --listen-client-urls 'http://0.0.0.0:2379,http://0.0.0.0:4001' --initial-advertise-peer-urls 'http://172.16.28.2:2380,http://172.16.28.2:7001' --advertise-client-urls 'http://172.16.28.2:2379,http://172.16.28.2:4001' --initial-cluster="default=http://172.16.28.2:2380,default=http://172.16.28.2:7001"
etcdctl: while true; do sleep 1; etcdctl --endpoints=http://172.16.28.2:2379 --no-sync set /coreos.com/network/config '{ "Network": "172.15.0.0/16", "Backend": { "Type": "vxlan" } }' 2>/dev/null && exit 0; done
flannel1: sleep 5; sudo rkt run --net=bridge-nat1,default-restricted --volume flanneld,kind=host,source=/home/steveej/src/github/coreos/flannel/bin/flanneld --mount volume=flanneld,target=/bin/flanneld --volume nix,kind=host,source=/nix/store,readOnly=true --mount volume=nix,tar