This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find / -type f -exec du -h {} + 2>/dev/null | sort -rh | head -n 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
go run github.com/dennwc/flatpak-go-mod@latest . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/loopholelabs/firecracker /tmp/firecracker | |
cd /tmp/firecracker | |
cargo build --target x86_64-unknown-linux-gnu | |
sudo install ./build/cargo_target/x86_64-unknown-linux-gnu/debug/firecracker /usr/local/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for icon in 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512; do | |
convert -background none icon.svg -resize ${icon} icon-${icon}.png | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
flatpak run io.mpv.Mpv --vo=gpu-next --gpu-api=vulkan file.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# From https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/1770502 | |
sudo chmod -v 4711 /usr/bin/cdrdao | |
sudo chmod -v 4711 /usr/bin/wodim | |
sudo chmod -v 0755 /usr/bin/growisofs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./hack/build-transport-container.sh && hydrun -o pojntfx/transport -e '--privileged -p 1337:1337' -i "tc qdisc add dev eth0 root netem delay 100ms && transport-server --grpc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ssh -R houston.serveo.net:80:localhost:40080 serveo.net # houston.serveo.net is the custom domain you want to use, leave it empty to create a random domain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Add a submodule | |
git submodule add 'https://github.com/pojntfx/green-guardian-gateway.git' gateway | |
# Pull submodules in a repo that already has them set up | |
git submodule update --init --recursive | |
# Update submodules to point to the latest remote ref (e.g. `main`) | |
git submodule update --remote --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -f ~/.local/share/flatpak/db/documents | |
# Now restart your system |