Skip to content

Instantly share code, notes, and snippets.

@PrivatePixels
PrivatePixels / traefik_portainer.md
Created January 20, 2020 05:27 — forked from ruanbekker/traefik_portainer.md
Traefik with SSL + Portainer on Docker Swarm Repro

Traefik and Portainer on Docker Swarm with Letsencrypt

Reproducing a Traefik with SSL and Portainer setup on a 2 Node Docker Swarm

Install Docker:

Install Docker on both nodes with a Bootstrap Script:

$ curl https://gitlab.com/rbekker87/scripts/raw/master/setup-docker-ubuntu.sh | bash

Keybase proof

I hereby claim:

  • I am moonstash on github.
  • I am moonstash (https://keybase.io/moonstash) on keybase.
  • I have a public key ASARFnn4ykQaGSVNygdxX-amQA5mzBNmM2uLJuoT5hqPBgo

To claim this, I am signing this object:

//instructions are taken from: https://github.com/intel/linux-sgx
//Installing SGX driver:
//-----------------------
git clone https://github.com/intel/linux-sgx-driver.git
//Check if matching Kernel headers are installed:
dpkg-query -s linux-headers-$(uname -r)
//If not run:
sudo apt-get install linux-headers-$(uname -r)
//In order to build:
@PrivatePixels
PrivatePixels / index.html
Created November 29, 2018 02:10
VHS CRT Paused
<div class="vhs-message">
<span>
<h1>text</h1>
</span>
</div>
<div class="screen-bottom">
<div class="line">
<div class="red"></div>
<div class="white"></div>
#This script was written by REXOVAS to automate 90% of a ZEN Secure Node setup process for an IPv4 node.
#Parts of this script were adapted from a script by github user rnkhouse
#rnkhouse script found here: https://gist.github.com/rnkhouse/f7f04f0cb10b596e2c6623275968a220
#Prior to running this script, please ensure that you are not signed in as root, and have completed all steps up until the copying
#of authentication key pairs in this guide: https://blockoperations.com/build-zencash-secure-node-part-1-prepare-vps/
#This script performs all actions described in the 3 guides found on blockoperations.com. It compiles zend from source.
#This script installs both Monit and PM2 and automatically configures monit to monitor zend.
#WARNING: This script is intended for use by advanced Linux users. Please read through this script thoroughly to ensure that
#!/usr/bin/env bash
# IMPORTANT: Run this script from /home/<USER>/ directory: bash -c "$(curl SCRIPT_URL)"
# (optional): Preparing the environment if you want to install zen from source:
# Once you get the VM up and running you need to login with your root account and run below commands.
# apt-get update && apt-get upgrade -y
# apt-get install -y build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libgtk2.0-dev && apt-get autoremove -y
Verifying my Blockstack ID is secured with the address 13Jxze6QiyADS8D7jrGNXKucGw8SWrBG8M https://explorer.blockstack.org/address/13Jxze6QiyADS8D7jrGNXKucGw8SWrBG8M
@PrivatePixels
PrivatePixels / gist:90e35c37e5cb8a84091a
Created December 4, 2015 21:05 — forked from wschenk/gist:86e1e87772e7d589e963
Basic twitter CLI to see what's going on
require 'thor'
require 'twitter'
require 'httparty'
TWITTER_APP_KEY="rzlJX...."
TWITTER_APP_SECRET="euF5bI...."
TWITTER_ACCESS_TOKEN="17827...."
TWITTER_ACCESS_TOKEN_SECRET="7NSXm..."
def print_user_info( u )