Skip to content

Instantly share code, notes, and snippets.

View andruschak's full-sized avatar

Tyler Andruschak andruschak

  • Calgary, Alberta, Canada
View GitHub Profile
@andruschak
andruschak / py3venv.txt
Created June 21, 2020 04:44
python3 virtual environments
sudo apt-get install virtualenv
git clone https://github.com/uuu/xxx
cd xxx
virtualenv –p python3 venv
source venv/bin/activate
pip install –r requirements.txt
@andruschak
andruschak / docker.txt
Created May 11, 2018 19:33
install docker-ce on hyper-v behind enterprise ssl-mitm proxy
install docker-ce on hyper-v behind enterprise ssl-mitm proxy
- could be manually installed via *.deb but wanted official repo support
Part 1. Get ubuntu to recognize cert:
-------------------------------------
Error:
Ign:10 https://download.docker.com/linux/ubuntu xenial/stable Translation-en
@andruschak
andruschak / ethereum.txt
Created November 22, 2017 04:49
Playing with Ethereum
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
screen geth --rinkeby
screen geth --datadir=$HOME/.ethereum/rinkeby attach ipc:$HOME/.ethereum/rinkeby/geth.ipc console
#############################################################################################################
Welcome to the Geth JavaScript console!
@andruschak
andruschak / qr4wifi.txt
Created November 10, 2017 03:44
QR Code for Guest WiFi
# QR code wifi poster
# works natively on iphone (ios11) tested but not android?
# create QR code (set as contents: wifi network)
http://zxing.appspot.com/generator/
@andruschak
andruschak / plex.md
Last active November 10, 2017 02:25
Freenas 9.10.3 Plex Jail

setup plex on a freenas 9.10.3 system

nov 11/2017

assumed already setup and defined dataset

note: child data sets will not be inherited

Create a Jail (advanced) in the webgui

  • Name: plex
@andruschak
andruschak / unifi controller.txt
Last active October 21, 2017 19:34
Unifi Controller Setup on Raspberry Pi
# Running Unifi Controller 5.5 on an RPI2
# Most of the commands will copy and paste
# Working as of Oct/21/2017
Hardware
- rpi 2 - an rpi3 will work, but since the controller will be wired its a good use of older hardware
- 8gb micro sdcard
- keyboard + monitor/tv for initial setup
Installation Steps:
Download etcher for your os (for writing images to SD Card)
https://etcher.io/
Flash latest raspbian ()
Adafruit 5" and 7" 800x480 TFT HDMI Backpack
Learn: https://learn.adafruit.com/adafruit-5-800x480-tft-hdmi-monitor-touchscreen-backpack/raspberry-pi-config
Store: https://www.adafruit.com/product/2407