Skip to content

Instantly share code, notes, and snippets.

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

Florian Hübner nothub

💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢
View GitHub Profile
{
"createdBy": "Redirector v3.5.3",
"createdAt": "2023-08-02T15:27:37.166Z",
"redirects": [
{
"description": "twitter.com -> nitter.net",
"exampleUrl": "https://twitter.com/foo",
"exampleResult": "https://nitter.net/foo",
"error": null,
"includePattern": "https://twitter.com/*",
@nothub
nothub / LICENSE.md
Created January 30, 2022 16:21
Opinionated NonCommercial Public License (based on the Prosperity Public License)

The Opinionated NonCommercial Public License (Draft)

Contributor: $name

Source Code: $address

Purpose

This license allows you to use and share this software for noncommercial purposes for free and to try this software for commercial purposes for thirty days.

@nothub
nothub / disable_automute.sh
Last active December 26, 2021 19:48
disable ubuntu sound application automute
#!/usr/bin/env bash
sudo sed -e '/load-module module-role-cork/ s/^#*/#/' -i /etc/pulse/default.pa
The Malloc Maleficarum
From: "Phantasmal Phantasmagoria" <phantasmal () hush ai>
Date: Tue, 11 Oct 2005 10:14:02 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[--------------------------------
The Malloc Maleficarum
phase direction id 1.17.1-2 id 1.18-1
LOGIN clientbound 0x00 LoginDisconnectPacket 0x00 ClientboundLoginDisconnectPacket
LOGIN clientbound 0x01 EncryptionRequestPacket 0x01 ClientboundHelloPacket
LOGIN clientbound 0x02 LoginSuccessPacket 0x02 ClientboundGameProfilePacket
LOGIN clientbound 0x03 LoginSetCompressionPacket 0x03 ClientboundLoginCompressionPacket
LOGIN clientbound 0x04 LoginPluginRequestPacket 0x04 ClientboundCustomQueryPacket
LOGIN serverbound 0x00 LoginStartPacket 0x00 ServerboundHelloPacket
LOGIN serverbound 0x01 EncryptionResponsePacket 0x01 ServerboundKeyPacket
LOGIN serverbound 0x02 LoginPluginResponsePacket 0x02 ServerboundCustomQueryPacket
STATUS clientbound 0x00 StatusResponsePacket 0x00 ClientboundStatusResponsePacket
@nothub
nothub / Dockerfile
Created November 17, 2021 21:52
zig container
FROM alpine:3 as builder
RUN apk update && apk add --no-cache tar xz
ARG ZIG_URL=https://ziglang.org/download/0.8.1/zig-linux-x86_64-0.8.1.tar.xz
ADD ${ZIG_URL} /tmp/zig.tar.xz
RUN tar xvf /tmp/zig.tar.xz --directory=/opt/
RUN mv /opt/zig* /opt/zig
FROM alpine:3
COPY --from=builder /opt/zig/ /opt/zig/
ENV PATH "$PATH:/opt/zig"
@nothub
nothub / recaf.sh
Created October 27, 2021 17:38
use recaf from context menu etc.
#!/usr/bin/env bash
set -e
FILE="$(realpath $1)"
cd "$(dirname "${BASH_SOURCE[0]}")"
java -jar recaf.jar --input=$FILE
@nothub
nothub / discord-installer-libayatana
Created September 23, 2021 06:52
install discord with libayatana-appindicator1 instead of libappindicator1
#!/usr/bin/env bash
set -eo pipefail
curl -L -o discord-installer-original.deb "https://discordapp.com/api/download?platform=linux&format=deb"
dpkg-deb -R discord-installer-original.deb discord-deb-work
sed -i 's/libappindicator1/libayatana-appindicator1/g' discord-deb-work/DEBIAN/control
dpkg-deb -b discord-deb-work discord-installer-libayatana.deb
rm -rf discord-deb-work
@nothub
nothub / LICENSE
Last active February 10, 2022 20:47
MIT
The MIT License (MIT)
Copyright © 2022 nothub
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: