Skip to content

Instantly share code, notes, and snippets.

@AiyionPrime
AiyionPrime / ponyhof.sh
Created May 6, 2020 10:02
This script builds and installs the experimental 'ponyhof' branch of tinc on a clean deban buster with sudo configured
#!/bin/bash
# This script builds and installs the experimental 'ponyhof' branch of tinc on a clean deban buster with sudo configured
sudo apt install git autoconf gcc libncurses-dev libreadline-dev zlib1g-dev liblzo2-dev libssl-dev make
sudo apt install make texinfo checkinstall
cd ~
if [ ! -d tinc ]; then
@AiyionPrime
AiyionPrime / get_commit.sh
Last active April 10, 2020 08:57
get last commit sha of github repo
wget --header="Accept: application/vnd.github.VERSION.sha" -qO commit_id http://api.github.com/repos/freifunkh/site/commits/master
@AiyionPrime
AiyionPrime / config
Created May 17, 2018 22:53
a basic termiantor configuration in order to open connections to all hannover freifunk-supernodes at once
[global_config]
focus = mouse
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
type = Terminal
[[[window0]]]
parent = ""
@AiyionPrime
AiyionPrime / examplepickling.py
Created February 6, 2018 21:22
How to prevent unpickl'able attributes to get serialized
#!/usr/bin/env python3
import logging
import pickle
module_logger = logging.getLogger('examplepickling')
module_logger.setLevel(logging.DEBUG)
fh = logging.FileHandler('exppickle.log')
fh.setLevel(logging.DEBUG)
ch = logging.StreamHandler()
ch.setLevel(logging.INFO)

Keybase proof

I hereby claim:

  • I am AiyionPrime on github.
  • I am aiyionprime (https://keybase.io/aiyionprime) on keybase.
  • I have a public key whose fingerprint is 9619 88DB 578E 33B3 E281 2463 F3CD 9014 5E0C 0947

To claim this, I am signing this object: