Skip to content

Instantly share code, notes, and snippets.

View Ast3risk-ops's full-sized avatar
🍋
I don't want your damn lemons!

Asterisk Ast3risk-ops

🍋
I don't want your damn lemons!
View GitHub Profile
@Ast3risk-ops
Ast3risk-ops / waydroid-x11.sh
Last active August 8, 2025 04:01
My personal modifications to the official Waydroid on X11 script.
#!/usr/bin/bash
if [ "$(systemctl is-active waydroid-container.service)" == 'active' ];then
killall -9 weston
sudo systemctl stop waydroid-container.service
exit
fi
killall -9 weston
sudo systemctl restart waydroid-container.service
if [ -z "$(pgrep weston)" ]; then
weston --xwayland &> /dev/null &
@Ast3risk-ops
Ast3risk-ops / censys.sh
Created May 16, 2025 15:10
Simple script to block Censys's IPv4 scanning subnets in iptables
#!/bin/sh
iptables -A INPUT -s 162.142.125.0/24 -j DROP
iptables -A INPUT -s 167.94.138.0/24 -j DROP
iptables -A INPUT -s 167.94.145.0/24 -j DROP
iptables -A INPUT -s 167.94.146.0/24 -j DROP
iptables -A INPUT -s 167.248.133.0/24 -j DROP
iptables -A INPUT -s 199.45.154.0/24 -j DROP
iptables -A INPUT -s 199.45.155.0/24 -j DROP
iptables -A INPUT -s 206.168.34.0/24 -j DROP
@Ast3risk-ops
Ast3risk-ops / cloudflared.service
Created May 9, 2025 20:40
Script to install/update cloudflared for use on a pihole
[Unit]
Description=cloudflared DNS over HTTPS proxy
After=syslog.target network-online.target
[Service]
Type=simple
User=cloudflared
EnvironmentFile=/etc/default/cloudflared
ExecStart=/usr/local/bin/cloudflared proxy-dns $CLOUDFLARED_OPTS
Restart=on-failure
@Ast3risk-ops
Ast3risk-ops / adding-ff-to-steam-group.md
Last active December 8, 2025 17:32
Adding Fortress Forever as a favorite game of your Steam group (or any other game you can't just *add*)
@Ast3risk-ops
Ast3risk-ops / bzf.sh
Last active February 25, 2025 01:46
Small bzip2 compressor script I use when building a FastDL.
#!/bin/bash
for i in *.txt; do bzip2 -z "$i"; done
for i in *.bsp; do bzip2 -z "$i"; done
for i in *.nav; do bzip2 -z "$i"; done
for i in *.res; do bzip2 -z "$i"; done
for i in *.mp3; do bzip2 -z "$i"; done
for i in *.vmt; do bzip2 -z "$i"; done
for i in *.vtf; do bzip2 -z "$i"; done
for i in *.wav; do bzip2 -z "$i"; done
@Ast3risk-ops
Ast3risk-ops / gpt.md
Created December 15, 2023 22:20
Windows GPT conversion

Converting your Windows disk to GPT so you can install Windows to it

Note

A USB with a Windows live installer is required.

Format your disk to GPT

Caution

This will wipe all partitions and data on the selected disk (must be done for GPT conversion)!

#!/bin/bash
echo "Disconnecting from WARP..."
warp-cli disconnect
echo "Deleting exisiting WARP registration..."
warp-cli delete
echo "Re-registering with WARP..."
warp-cli register
echo "Re-connecting to WARP..."
warp-cli connect
echo "Connected to WARP!"
@echo off
echo Disconnecting from WARP...
warp-cli disconnect
echo Deleting exisiting WARP registration...
warp-cli delete
echo Re-registering with WARP...
warp-cli register
echo Re-connecting to WARP...
warp-cli connect
echo Connected to WARP!
@Ast3risk-ops
Ast3risk-ops / keybase.md
Created September 20, 2022 23:20
Keybase Proof

Keybase proof

I hereby claim:

  • I am ast3risk-ops on github.
  • I am ast3risk (https://keybase.io/ast3risk) on keybase.
  • I have a public key whose fingerprint is 553F 1C7F A3BD 59F5 6CFD 893B EEE5 3737 4CA3 1AC1

To claim this, I am signing this object: