Skip to content

Instantly share code, notes, and snippets.

@yogin
yogin / torn-friendly-faction-give-to-user.user.js
Last active August 7, 2019 03:54
TORN UserScript: Friendly Faction Give To User
// ==UserScript==
// @name TORN - Friendly Faction Give To User
// @description Removes the background bars in the Faction's Give To User tab, so it is easier to read and search for members
// @version 0.4
// @author Sekor [2170311]
// @namespace https://github.com/yogin
// @homepage https://gist.github.com/yogin/fcf60ad5e7737e5450ed926c3738b01a
// @match https://www.torn.com/factions.php?step=your*
// @grant none
// ==/UserScript==
@yogin
yogin / torn-safer-faction-give-to-user.user.js
Last active October 19, 2019 22:34
TORN UserScript: Safer Faction Give To User
// ==UserScript==
// @name TORN - Safer Faction Give To User
// @description Removes the background bars in the Faction's Give To User tab, so it is easier to read and search for members
// @version 0.1
// @author Sekor [2170311]
// @namespace https://github.com/yogin
// @homepage https://gist.github.com/yogin/f5f2337009c5263a0518dc94bec60b9d
// @match https://www.torn.com/factions.php?step=your*
// @grant none
// ==/UserScript==
@yogin
yogin / main.go
Created January 22, 2020 01:42
Hubspot API signatures in Go
package main
import (
"crypto/sha256"
"encoding/hex"
"fmt"
)
// Request ...
type Request struct {
@yogin
yogin / install-docker.md
Created December 29, 2020 21:09 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command

UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.

Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/

Docker CE Install

sudo amazon-linux-extras install docker
sudo service docker start