Skip to content

Instantly share code, notes, and snippets.

View rodolpheh's full-sized avatar
🐝

rodolpheh

🐝
  • United-Kingdom
View GitHub Profile
@rodolpheh
rodolpheh / PKGBUILD
Created January 29, 2020 16:13
Fork-Awesome PKGBUILD fixed
# Maintainer: Julien Deswaef <[email protected]>
# Corrected by: Rodolpheh <[email protected]>
pkgbase=ttf-fork-awesome
pkgname=(ttf-fork-awesome)
pkgver=1.1.7
pkgrel=1
pkgdesc="A fork of the iconic font and CSS toolkit"
url="https://forkawesome.github.io"
license=('custom:OFL')
# cyclictest -l10000 -m -S -p90 -i200 -h400 -q | tee dump_cyclic
import sys
t1_missed = 0
t2_missed = 0
for line in sys.stdin:
sys.stdout.write(line)
frags = line.split(" ")
@rodolpheh
rodolpheh / WeatherStationTutorial.md
Last active September 3, 2019 22:01
Weather Station Simple Tutorial

Weather Station

First, make sure you have a valid Python 3 installation. When typing python in a terminal, it should open the Python REPL :

Python 3.7.4 (default, Jul 16 2019, 07:12:58) 
[GCC 9.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> ▯ 
@rodolpheh
rodolpheh / kf2_map_config_generator.py
Created April 27, 2019 15:30
Killing Floor 2 map configuration generator
#!/usr/bin/python3
'''
# This is the example configuration given by the wiki :
[KF-Default KFMapSummary]
MapName=KF-Default
ScreenshotPathName=UI_MapPreview_TEX.UI_MapPreview_Placeholder
@rodolpheh
rodolpheh / sniff.py
Last active April 4, 2019 21:11
Scapy script for network security TP 1
from scapy.all import sniff, sendp
machine2_ip = "192.168.1.151"
machine1_ip = "192.168.1.220"
attacker_mac = "0c:2b:52:23:ca:00"
machine2_mac = "7a:fe:a8:d7:b3:b5"
machine1_mac = "e2:34:29:f8:d4:4a"