// Credits: BlueBubblesApp/bluebubbles-app#2577 (comment)
systemctl --user
Search for Handbrake: /handbrake
systemctl --user --force edit app-flatpak-fr.handbrake.ghb-.scope
// Credits: BlueBubblesApp/bluebubbles-app#2577 (comment)
systemctl --user
Search for Handbrake: /handbrake
systemctl --user --force edit app-flatpak-fr.handbrake.ghb-.scope
# Login into router using SSH and execute listed commands (AT OWN RISK!). | |
# To apply the settings on boot, copy + paste the same settings in init-start. | |
# Backup current settings | |
nvram dump > dump.txt | |
# Set country + TX-power | |
nvram set asuscfe0:ccode=US | |
nvram set asuscfe1:ccode=US | |
nvram set asuscfe0:regrev=0 |
[Unit] | |
Description=Suspend system | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/systemctl suspend |
#!/bin/sh | |
qemu-system-x86_64 -display gtk \ | |
-boot c \ | |
-enable-kvm -machine q35,accel=kvm \ | |
-object rng-random,id=rng0,filename=/dev/urandom \ | |
-device virtio-rng-pci,rng=rng0 \ | |
-cpu host \ | |
-smp $(nproc) \ | |
-m 4G \ | |
-drive id=disk,file=/run/media/archie/Data/Images/droid,if=none,format=raw \ |
#!/bin/sh | |
# force Thunderbolt/USB 3.1C power | |
# doc: https://www.kernel.org/doc/html/v5.1/admin-guide/thunderbolt.html | |
echo 1 > /sys/bus/wmi/devices/86CCFD48-205E-4A77-9C48-2021CBEDE341/force_power; \ | |
echo "on" > /sys/bus/wmi/devices/86CCFD48-205E-4A77-9C48-2021CBEDE341/power/control |
# https://docs.continuent.com/tungsten-clustering-5.0/performance-networking.html | |
# https://wiki.archlinux.org/index.php/Sysctl | |
# https://pubs.vmware.com/continuent/tungsten-replicator-3.0/performance-networking.html | |
# https://www.vultr.com/docs/how-to-setup-tcp-optimization-on-linux | |
# https://russ.garrett.co.uk/2009/01/01/linux-kernel-tuning/ | |
fs.file-max = 2097152 | |
net.core.netdev_max_backlog = 250000 | |
net.core.somaxconn = 1024 | |
net.core.rmem_max = 67108864 |
[Unit] | |
Description=Set 88XXau txpower and monitor-mode | |
After=systemd-udevd.service systemd-sysusers.service systemd-sysctl.service | |
Before=network-pre.target multi-user.target shutdown.target | |
Conflicts=shutdown.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=sh -c 'iw %i set txpower fixed 3000' |
Following instructions are provided without any warranty, and may even get you in trouble legally. The instructions are provided for testing, and should be use with care. We (including commentators) are not responsible for any damage to your device(s).
This may enable additional channels and power (in most cases don't) on ASUS Merlin provided routers.
#!/bin/sh | |
rm -rf .list.txt | |
for file in *; do | |
filename=$(basename -- "$file") | |
basename="${filename%.*}" | |
extension="${filename##*.}" | |
echo "file '$file'" >> .list.txt; | |
done |
#!/usr/bin/env python3 | |
import libtorrent as lt | |
import time | |
import json | |
import os | |
def write_json(path, contents): | |
with open(path, 'w', encoding='utf-8') as f: | |
json.dump(contents, f, default=str, indent=4, sort_keys=True) |