Skip to content

Instantly share code, notes, and snippets.

View DorianRudolph's full-sized avatar

DorianRudolph

View GitHub Profile
@DorianRudolph
DorianRudolph / wpa_supplicant.conf
Created October 15, 2023 13:24
UPB Raspberry Pi Eduroam WiFi
network={
ssid="eduroam"
key_mgmt=WPA-EAP
eap=TLS
identity="<login>@uni-paderborn.de"
private_key="<path/to/network_certificate.p12>"
private_key_passwd="<password>"
}
@DorianRudolph
DorianRudolph / MouseToAndFroScript.java
Last active June 25, 2023 15:26
MouseToAndFroScript.java Ghidra
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@DorianRudolph
DorianRudolph / merge.sh
Created February 17, 2022 20:50
Merge videos with different resolutions using FFMPEG
W=1920
H=1080
fps=fps=24000/1001
out='../out.mp4'
vids=$(ls *.mp4)
n=$(echo "$vids" | wc -l)
inputs=$( for v in $vids; do echo -i; echo $v; done )
filters0=$( for i in $(seq 0 $(($n-1))); do printf "[$i:v]scale=$W:$H:force_original_aspect_ratio=decrease,pad=$W:$H:(ow-iw)/2:(oh-ih)/2,setsar=1/1,setpts=PTS-STARTPTS,fps=$fps[v$i]; "; done )
filters1=$( for i in $(seq 0 $(($n-1))); do printf "[v$i][$i:a]"; done )
ffmpeg -y $inputs -filter_complex "$filters0$filters1 concat=n=$n:v=1:a=1[v][a]" -map "[v]" -map "[a]" "$out"
@DorianRudolph
DorianRudolph / LICENSE.txt
Last active January 4, 2024 03:36
Arduino PS2 to USB HID Keyboard Converter
Copyright (c) 2015, Dorian Rudolph
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all