Skip to content

Instantly share code, notes, and snippets.

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x000000014183d9c0, pid=24739, tid=10755
#
# JRE version: OpenJDK Runtime Environment Temurin-19.0.1+10 (19.0.1+10) (build 19.0.1+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-19.0.1+10 (19.0.1+10, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C [libMicrosoft.CognitiveServices.Speech.extension.embedded.tts.dylib+0xf79c0] CreateModuleObject+0xf1220
#
[DEBUG] [auth] [2023-07-01T21:16:28.007Z] Logged in as tmc, oauth token fetched
[DEBUG] [auth] [2023-07-01T21:16:29.724Z] Copilot Voice waitlist status: hasAccess=true, alreadySignedUp=true
[DEBUG] [auth] [2023-07-01T21:16:30.121Z] Copilot token for tmc fetched
[INFO] [audio] [2023-07-01T21:16:30.122Z] Connecting to embedded speech server
[INFO] [HeyGitHub] [2023-07-01T21:16:30.123Z] Extension Copilot Voice is now active!
[DEBUG] [audio] [2023-07-01T21:16:30.278Z] stderr: [main] INFO Main - ***START**
[DEBUG] [audio] [2023-07-01T21:16:30.278Z] stderr: [main] INFO Main - Checking if lock exists and another instance of speech server is running.
[DEBUG] [audio] [2023-07-01T21:16:30.280Z] stderr: [main] INFO com.github.next.cody.embeddedspeech.FileLockService - Trying to take a lock on lockfile name speech_lock_file
@tmc
tmc / gist:f1364bcee04d1192278dd2f297cf116f
Last active June 19, 2021 21:47
Pure Go VRF implementation benchmarking
goos: linux
goarch: amd64
pkg: github.com/algorand/go-algorand/crypto
cpu: Intel(R) Xeon(R) CPU @ 2.30GHz
BenchmarkVrfVerifyGo-2 signal: interrupt
FAIL github.com/algorand/go-algorand/crypto 1.863s
goos: linux
goarch: amd64
pkg: github.com/algorand/go-algorand/crypto
cpu: Intel(R) Xeon(R) CPU @ 2.30GHz
@tmc
tmc / circleci-docker-api-verions.patch
Last active June 15, 2017 19:57
allow control of DOCKER_API_VERSION in circleci 2.0 local build script
--- /usr/local/bin/circleci-orig 2017-06-15 12:52:44.000000000 -0700
+++ /usr/local/bin/circleci 2017-06-15 12:56:17.000000000 -0700
@@ -133,6 +133,7 @@
fi
docker run -it --rm \
+ -e DOCKER_API_VERSION=${DOCKER_API_VERSION:-1.23} \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(pwd):$(pwd) \
-v ~/.circleci/:/root/.circleci \
@tmc
tmc / macOS Sierra USB Fax Modem Reinstallation.md
Created June 15, 2017 02:15 — forked from essandess/macOS Sierra USB Fax Modem Reinstallation.md
Reinstall USB Fax Modem Capabilities on macOS Sierra

This post tells how to reinstall USB fax modem capabilities on macOS Sierra, after Apple dropped support.

If dropping support for fax modems affects you negatively, please take the time to issue feedback at Apple's website.

To restore USB Fax Modem capability to Sierra, simply copy the files listed below from your old El Capitan install.

Here is this list of files you need:

@tmc
tmc / etcd-controller.yaml
Created December 9, 2015 19:56
etcd discovery based controller (would need services/name-resolution for each pod)
kind: "ReplicationController"
apiVersion: "v1"
metadata:
name: "etcd"
spec:
replicas: 3
selector:
name: etcd
template:
metadata:
@tmc
tmc / etcd-static.yaml
Created December 9, 2015 19:54
etcd static k8s cluster (no PV)
kind: "Service"
apiVersion: "v1"
metadata:
name: "etcd-static"
spec:
ports:
- targetPort: 2379
port: 80
selector:
app: "etcd-static"

Keybase proof

I hereby claim:

  • I am tmc on github.
  • I am tmc (https://keybase.io/tmc) on keybase.
  • I have the public key with fingerprint 8B24 C0E3 6A63 95BB 80DB  F378 A815 2998 72A2 287F

To claim this, I am signing this object:

@tmc
tmc / gpg_key
Created November 8, 2013 07:57
gpg key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (Darwin)
mQINBFJ8lw0BEACZecIpLGs7NPIIXOhPHHibVwzr3YQx7kNbyUfDCKUnjp+KxV4M
sn+rmnHvIJLWEV+E3zMmSRM3mxRNCqidDCxL+stuNlG1OcmfJRLR3jNMsafBSGEO
j1GgjXCGAFxN0tgKdXuRe5BrMAm/155OVfcnR6iwLV69v/zTwKl4VqX/rRocQP6e
L6q6to3Ok6KXGwwnfuTyPRYkGIh8TuY2i8YO3y7wIDd+N++/+nJr3jh0e8Q5HOk6
a9T67zf4/oZSvjdhKRoingReUWGoxS7uQBhmBmqHni16L5d3rX51m8IUHWQ0Thpi
ZXbtNT2aSJHPe4SdR1H2G5DDaD1y58US7UwK8y+6nHTw+KqHfRmAAtOKu2Jmynxh
KxxmLoiSXFI47Fpw3awCqYvgSMIIXRg1xlLHSvUHDqegrrQlomS7cGC8S5NgJRIK
@tmc
tmc / example.sh
Last active December 27, 2015 17:18
$ go get github.com/tmc/watcher
$ watcher sh reload.sh