Written by Timo Stankowitz [email protected] on 2018-03-19. The installation was tested on a RPI2 running Raspbian 9.
Note: Radius uses UDP and not TCP
sudo su
apt update
apt upgrade -y
#!/bin/bash | |
# author: Timo Stankowitz <[email protected]> | |
# version: 6 | |
# last (working) test: 2018-12-24 | |
# prerequirement: all instances must have the "aws tag" "Cluster" with the value of "vault-cluster" | |
# create directories | |
mkdir consul-persistent-data | |
mkdir consul-config |
#!/bin/bash | |
# author: Timo Stankowitz <[email protected]> | |
# version: 2 | |
# other instances: setup consul | |
# create directory | |
mkdir consul-persistent-data | |
mkdir consul-config |
#!/bin/bash | |
# author: Timo Stankowitz <[email protected]> | |
# version: 6 | |
# last (working) test: 2018-12-24 | |
# use the script to configure vault. | |
mkdir vault-config vault-log | |
cd vault-config | |
wget https://vault-ha.de/files/vault-config.hcl |
#!/bin/bash | |
# author: Timo Stankowitz <[email protected]> | |
# create date: 2017-11-17 | |
# last change: 2018-02-13 | |
# version 3 | |
# everytime your dynamic ip changes you get a notification to your slack channel | |
# with the current dynamic ip of your router | |
# create a cronjob and let the script execute every 5 minutes |
#!/bin/bash | |
# author: Timo Stankowitz <[email protected]> | |
# create date: 2017-12-04 | |
# last modify: 2017-12-04 | |
# version: 1 | |
# You can use this script to modify port 22 of your aws security-group. | |
# usage: | |
# first check if port 22 is open for everyone: ./manage-vpn-security-group.sh check-port |
Written by Timo Stankowitz [email protected] on 2018-03-19. The installation was tested on a RPI2 running Raspbian 9.
Note: Radius uses UDP and not TCP
sudo su
apt update
apt upgrade -y
import requests | |
import json | |
def lambda_handler(event, context): | |
url = "https://api.example.com/alexa.php" | |
r = requests.post(url, data=json.dumps(event)) | |
return r.json() | |
# git stuff | |
alias gs="git status" | |
alias gl="git log" | |
alias gpl="git pull" | |
alias gpu="git push" | |
alias gad="git add" | |
alias gcm="git commit" |
#!/bin/bash | |
# how to setup GPIO on Raspberry Pi | |
sudo su | |
apt-get install python3-pip | |
pip3 install RPi.GPIO | |
pip3 install requests |
by Timo Stankowitz [email protected]
The latest version of Laravel with Apache webserver in just one Docker container.
If you have any questions of any suggestions just reach out to me.
Don't create an extra directory. Comperser will do this for you. The folder name will be project-name (change to your actual project name).