Skip to content

Instantly share code, notes, and snippets.

View nothub's full-sized avatar
💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢

Florian Hübner nothub

💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢
View GitHub Profile
@nothub
nothub / .gitconfig
Created December 6, 2020 21:16
directory based gitconfig
[user]
name = a
email = [email protected]
[includeIf "gitdir:~/work/"]
path = ~/work/.gitconfig-work
@nothub
nothub / postman-install.sh
Last active March 3, 2021 05:16 — forked from Bobmajor/gist:319e89e9c876cccdb1b77f1783e9a820
install postman without snap
#!/usr/bin/env bash
set -e
wget -O /tmp/postman.tar.gz https://dl.pstmn.io/download/latest/linux64
sudo rm -rf /opt/Postman/ && sudo tar xvf /tmp/postman.tar.gz -C /opt/
sudo ln -sf /opt/Postman/app/Postman /usr/bin/postman
rm /tmp/postman.tar.gz
@nothub
nothub / samizdat
Last active October 14, 2020 20:38
samizdat (PoC||GTFO) - for a post "The Lawful Access to Encrypted Data Act" and "EARN IT Bill" future
I write it myself, edit it myself, censor it myself, publish it myself, distribute it myself, and spend time in prison for it myself.
Bukovskiĭ, Vladimir - 1942
@nothub
nothub / replace-audio.sh
Last active September 21, 2020 23:21
ffmpeg
#!/bin/bash
set -e
EXAMPLE_USAGE="$(basename $0) video.mp4 audio.mp3 merged.mp4"
if [ -z "$1" ]; then
echo "please specify input video file"
echo "$EXAMPLE_USAGE"
exit 1
#!/bin/bash
set -e
if [ -z "$1" ]; then
echo "please provide dir path containign repos"
exit 1
fi
cd "$1"
@nothub
nothub / scrup
Last active June 21, 2021 14:03
poor mans screenshot upload
#!/usr/bin/env bash
set -e
SSH_USER=''
SSH_HOST=''
SSH_PATH='' # relative
BASE_URL='' # http
LOCAL_ARCHIVE_PATH="$HOME/scrup"
@nothub
nothub / UnboxingEquals.java
Last active August 13, 2020 18:35
found somewhere on stackoverflow
package not.hub.test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
class UnboxingEquals {
@Test
void sanity_check() {
// noinspection NumberEquality,SimplifiableAssertion,SimplifiableAssertion
@nothub
nothub / steam.desktop
Created August 12, 2020 23:35
unfuck steam
/usr/games/steam %U -no-browser -nofriendsui steam://open/minigameslist
package not.hub.test;
class UnsoundTypeBreakage<T, U> {
final Constrain<? super T> constrain;
final U u;
UnsoundTypeBreakage(T t) {
u = coerce(t);
constrain = getConstrain();