Skip to content

Instantly share code, notes, and snippets.

Avatar

Tobias "Knight" S. Knight1

View GitHub Profile
@Knight1
Knight1 / Bunq-wish-list.md
Created Jan 10, 2020
Bunq.com personal wish list
View Bunq-wish-list.md
  • physical cards only for POS and ATM usage
  • IFTTT
  • catalyst iPad App
  • hide card in overview
  • charity function
  • card express shipment
  • block card usages (NFC, Swipe, ATM, online, online without CCV2, POS)
  • token on card for verification (better then unsafe SMS)
  • ability to block bunq web or just allow card control
@Knight1
Knight1 / Dockerfile
Last active Oct 24, 2019
Simple Dockerfile for Ripe Atlas Software Probe
View Dockerfile
FROM centos:centos7
LABEL maintainer="Tobias Sachs"
RUN curl -O 'https://ftp.ripe.net/ripe/atlas/software-probe/centos7/noarch/ripe-atlas-repo-1-2.el7.noarch.rpm' \
&& yum install ripe-atlas-repo-1-2.el7.noarch.rpm -y \
&& yum install atlasswprobe openssh-clients iproute sysvinit-tools net-tools -y \
&& systemctl enable atlas.service \
&& (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
View netboot.xyz-edgerouter.md

Setting up netboot.xyz with an EdgeRouter legacy (not the 2.0 branch)

This document covers how to setup netboot.xyz, a service that provides iPXE-based installation and live boot of a bunch of operating systems, on a Ubiquiti EdgeRouter.

Assumptions

I've made a few assumptions throughout this document that will probably be different for your setup:

@Knight1
Knight1 / install mailcow
Last active Nov 11, 2018
install mailcow
View install mailcow
#cloud-init
#ONLY USE THIS FOR CLEAN INSTALL with cloud-init!
runcmd:
- curl -sSL https://get.docker.com/ | CHANNEL=stable sh
- systemctl enable docker.service
- systemctl start docker.service
- curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
@Knight1
Knight1 / hetzner.sh
Last active Oct 18, 2020
Hetzner Cloud create temporary Windows Servers
View hetzner.sh
#!/bin/bash
ID=`hcloud server list | tail -1 | grep Windoof | awk '{print $1;}'`
CONTEXT=`hcloud context active`
if [ "$CONTEXT" != "testing" ]; then
echo "[CRIT] Aborting, wrong context"
exit
fi
@Knight1
Knight1 / packet.net
Last active May 3, 2018
Check Packet.net availability of specific server type in every location and ~💵 not collected per month
View packet.net
#!/bin/bash
#Usage: default is Type 2a. If you wish another server type use ./packet.net 1/2/3
#See https://www.packet.net/bare-metal/
#Obtain api key here => https://app.packet.net/portal#/api-keys
KEY=
if [[ -z ${1+x} ]]; then
PLAN=2a
else
View keybase.md

Keybase proof

I hereby claim:

  • I am knight1 on github.
  • I am knight22 (https://keybase.io/knight22) on keybase.
  • I have a public key ASAVuRBoy-GZH_mQ8WXGvVObZ-lPJzNL7crNkALeoOEcsgo

To claim this, I am signing this object:

You can’t perform that action at this time.