Skip to content

Instantly share code, notes, and snippets.

View keybase.md

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:

@AiyionPrime
AiyionPrime / examplepickling.py
Created Feb 6, 2018
How to prevent unpickl'able attributes to get serialized
View examplepickling.py
#!/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)
@AiyionPrime
AiyionPrime / config
Created May 17, 2018
a basic termiantor configuration in order to open connections to all hannover freifunk-supernodes at once
View config
[global_config]
focus = mouse
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
type = Terminal
[[[window0]]]
parent = ""
@AiyionPrime
AiyionPrime / get_commit.sh
Last active Apr 10, 2020
get last commit sha of github repo
View get_commit.sh
wget --header="Accept: application/vnd.github.VERSION.sha" -qO commit_id http://api.github.com/repos/freifunkh/site/commits/master
@AiyionPrime
AiyionPrime / ponyhof.sh
Created May 6, 2020
This script builds and installs the experimental 'ponyhof' branch of tinc on a clean deban buster with sudo configured
View ponyhof.sh
#!/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