Skip to content

Instantly share code, notes, and snippets.

View azazeal's full-sized avatar
:shipit:

Panagiotis Siatras azazeal

:shipit:
View GitHub Profile
@azazeal
azazeal / docker-compose.yml
Last active November 21, 2020 23:07
Quick 3-node CockroachDB cluster via Docker Compose
version: "3.7"
services:
node01:
image: cockroachdb/cockroach:v20.2.1
volumes:
- /data/crdb/node01:/cockroach/cockroach-data
command: start --insecure --logtostderr --join=node02,node03
ports:
- 8080:8080
@azazeal
azazeal / insanity.go
Created August 3, 2018 02:40
Sample callback implementation
package insanity
import (
"encoding/json"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"strings"
@azazeal
azazeal / gist:9f6a30819f0fb9c153255caa45239a7d
Created January 10, 2018 08:07 — forked from BastienClement/gist:b34f14dd93381498a7a1
The CASC (Content Addressable Storage Container) Filesystem
---------------------------------------------------------------------
| The CASC (Content Addressable Storage Container) Filesystem |
| Warlords of Draenor Alpha, Build 6.0.1.18125 |
| Written April 14th, 2014 by Caali |
| Version 1.2 |
---------------------------------------------------------------------
Distribution and reproduction of this specification are allowed without
limitation, as long as it is not altered. Quotation in other works is
freely allowed, as long as the source and author of the quote are stated.
@azazeal
azazeal / corsair_headset_linux.bash
Created April 18, 2017 20:57 — forked from pubkey/corsair_headset_linux.bash
Corsair Gaming VOID Headset on Linux
# Corsair headsets will stuck the apps on your linux system. This is due to wrong usb-mapping.
# thx to http://www.c0urier.net/2016/corsair-gaming-void-usb-rgb-linux-fun
# 1. open terminal
# 2. type this and search the line with your headset
lsusb
#Get the USB ID of the mouse and add it to xorg.conf:
#!/bin/bash
# Bash shell script for generating self-signed certs. Run this in a folder, as it
# generates a few files. Large portions of this script were taken from the
# following artcile:
#
# http://usrportage.de/archives/919-Batch-generating-SSL-certificates.html
#
# Additional alterations by: Brad Landers
# Date: 2012-01-27