Skip to content

Instantly share code, notes, and snippets.

View Dougley's full-sized avatar
🐲

Remco Jongschaap Dougley

🐲
View GitHub Profile
BEGIN MESSAGE.
dZI6xEX9NqyWfWv hmADvTyKk0jNeZl PPxYyMpLFvoEubt ESabKcOx2GvOKLh
nAQ6TfWMdN9NT8v AgDeDBrFohTTCKq 6Xr2MZHgg4Uw2tJ emeuV80D6MMQHbM
0WdCSdIo7DNBgP8 labFO86LCArGYFc uaMg7biSAXcSjfN R4cSN6fBR07YU4U
y6hRIgBGLQvgkOF 30JhmLhkSnBeVzE KCU8Q2IP.
END MESSAGE.
@Dougley
Dougley / Dockerfile
Created September 5, 2018 12:50
mongodb backblaze b2 backup
FROM mongo
LABEL maintainer="Remco Jongschaap <[email protected]>"
COPY . /opt/b2mongo
WORKDIR /opt/b2mongo
RUN apt update && apt install python3 curl -y
RUN curl https://bootstrap.pypa.io/get-pip.py | python3
RUN pip install --upgrade b2
@Dougley
Dougley / install-rancher-compose.sh
Last active November 10, 2017 17:12 — forked from jeefy/install-rancher-compose.sh
Rancher Compose Install Script
#!/bin/bash
# To run locally: ` curl -s https://gist.githubusercontent.com/Dougley/79ca0e9cdbb6bd9dfb0477dcf22eba3f/raw/install-rancher-compose.sh | sh `
VERSION_NUM="0.12.5"
wget https://github.com/rancher/rancher-compose/releases/download/v${VERSION_NUM}/rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz
tar zxf rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz
rm rancher-compose-linux-amd64-v${VERSION_NUM}.tar.gz
sudo mv rancher-compose-v${VERSION_NUM}/rancher-compose /usr/local/bin/rancher-compose
@Dougley
Dougley / index.js
Last active November 18, 2018 22:16
Uservoice webhooks
const Express = require('express')
const BP = require('body-parser')
const app = Express()
const Discordie = require('discordie')
const bot = new Discordie()
const morgan = require('morgan')
const Entities = require('html-entities').AllHtmlEntities;
const entities = new Entities();
app.use(morgan('dev'))

Keybase proof

I hereby claim:

  • I am dougley on github.
  • I am dougley (https://keybase.io/dougley) on keybase.
  • I have a public key whose fingerprint is 34BC 4117 9F60 0064 CC5D F043 3E02 5ABA 14BB 6FCB

To claim this, I am signing this object: