I hereby claim:
- I am dselans on github.
- I am dselans (https://keybase.io/dselans) on keybase.
- I have a public key whose fingerprint is C2C7 727C 16CC 3B5D FFB8 E92F 3902 9B2D A5F2 B7A5
To claim this, I am signing this object:
#!/usr/bin/env python | |
# | |
# Simple timeshift script | |
# | |
import re | |
import sys | |
import time | |
import operator |
I hereby claim:
To claim this, I am signing this object:
// example reverse proxy | |
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"net/http/httputil" | |
) |
#!/usr/bin/env python | |
# | |
import re | |
import sys | |
import pickle | |
import pprint | |
import feedparser | |
from slackclient import SlackClient |
Fri Jul 26 19:43:13 UTC 2019 |
// Launches 100 goroutines to mass delete keys that match certain criteria. | |
// | |
// Current results: ~3,600 keys/s (~193,000 keys/minute) | |
package main | |
import ( | |
"fmt" | |
"os" | |
"time" |
// Quick example of using the headers exchange with the streadway/amqp lib. | |
// | |
// NOTE: I couldn't find any examples of this anywhere, so maybe this will help | |
// someone else. | |
// | |
// Run consumer in one terminal: $ go run main.go | |
// Run publisher in another terminal: $ go run main.go -action publisher | |
// | |
// The consumer should have received a message. | |
// |
# Took a good hour+ to get this going as there's a lack of docs on how to do this (and/or I don't know where to look) | |
# | |
# Download the better mc server pack zip file from curseforge. Move that to /root/minecraft/ggf-fabric-bmc/pack. | |
# Reference the zip file in GENERIC_PACK. | |
# docker-compose up -d and watch the logs. There will be lots of errors due to better mc using ~200 mods but it should start | |
# nevertheless. | |
bt-minecraft: | |
image: itzg/minecraft-server | |
container_name: ggf-fabric-bmc-fixed |
I compiled these while learning about running Apache Pulsar. The notes are written from the perspective of a Go developer that interfaces primarily with Kafka, RabbitMQ and NATS. Something may not be entirely correct. Sorry!