Skip to content

Instantly share code, notes, and snippets.

Building and Launching!

Aaron Ogle geekgonecrazy

Building and Launching!
View GitHub Profile
geekgonecrazy / jwt-rsa256-keypair.go
Last active Mar 13, 2021 — forked from sdorra/keys.go
Golang RSA Key Generation
View jwt-rsa256-keypair.go
* Genarate rsa keys.
package main
import (
View rocket_theme_dark.js
var ThemeEnabler = {
isThemeOn: false,
controls: null,
onAppLoaded: async function() {
do {
geekgonecrazy / Import
Last active Apr 14, 2021
Import Emoji into Rocket.Chat
View Import


To use this drop these two files in beside a folder called emoji filled with the emoji you want to upload.

Run npm install to grab the needed dependencies.

Modify the host, user, and pass in the file.

Then run: node import-emoji.js


Bcrypt hash Compare issues

Bcrypt hashes generated by golang will not validate in node.js and vice versa


Get one external dependency:

go get

Then run:

geekgonecrazy /
Created Jun 3, 2018 — forked from mlafeldt/
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)




  • jennifer
  • martym
View delete-k8s-replicasets.js
const fs = require('fs');
const { exec } = require('child_process');
const file = fs.readFileSync('replicasets4.txt').toString();
// const file = fs.readFileSync('pods.txt').toString();
(async () => {
const lines = file.split('\n');
const total = lines.length;
geekgonecrazy /
Created Jul 14, 2017 — forked from Deepakkothandan/
Rocketchat callback plugin for Ansible
# (C) 2016, Deepak Kothandan
# This file is part of Ansible
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# Ansible is distributed in the hope that it will be useful,
geekgonecrazy /
Last active Jun 22, 2017 — forked from rodrigok/
Debug Rocket.Chat demo container
# Terminal 1
docker exec -it CONTAINER_ID /bin/bash
npm install node-inspector
curl -O && tar -xvzf ngrok-stable-linux-amd64.tar.gz
kill -s USR1 $(pidof node)
node_modules/node-inspector/bin/inspector.js --web-port=9000
# Press ctrl+z
./ngrok http 9000

Get personal access token from github

git config --global url."https://${GITHUB_TOKEN}".insteadOf ""

geekgonecrazy /
Created Sep 12, 2016 — forked from evandandrea/
Automatically publish to the snap store from Travis
#!/bin/sh -e
if [ -z "$SNAPCRAFT_SECRET" ]; then
exit 0
mkdir -p ".encrypted"
if [ ! -e ".encrypted/snapcraft.cfg.enc" ]; then
echo "Seeding a new macaroon."
echo "$SNAPCRAFT_CONFIG" > ".encrypted/snapcraft.cfg.enc"