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
# https://forum.openwrt.org/t/support-for-xiaomi-wifi-r3p-pro/20290/882 | |
A short note here for those who (just like me) have problems with a UAS driver and USB3 external drives. | |
The symptoms are that the device is recognized and you can see it with lsusb -t command. The driver lists uas, | |
but the drive does not show up in /dev/sd*. | |
root@AndyNet:~# lsusb -t | |
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M | |
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M | |
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M |
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
# https://github.com/hirotakaster/baytail-bootia32.efi/issues/2 | |
sudo apt install git bison libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev flex libfont-freetype-perl automake autotools-dev libfreetype6-dev texinfo | |
sudo apt install make autopoint pkg-config libtool | |
sudo apt install gawk | |
sudo apt purge mawk | |
git clone git://git.savannah.gnu.org/grub.git --depth=1 | |
./configure --with-platform=efi --target=i386 --program-prefix="" |
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
args: -cpu host,-hypervisor,kvm=off,hv_vendor_id=intel, -smbios type=0,vendor="Dell Inc.",version=1.3.7,date="04/11/2017", -smbios type=1,uuid=a7a97ecc-4989-4621-acec-244a358c35e5,manufacturer="Dell Inc.",product="OptiPlex 3050",serial=1ABCDE2,sku=07A3,family=Optiplex, -smbios type=3,manufacturer="Dell Inc.",serial=1ABCDE2,sku=Desktop | |
bios: ovmf | |
boot: order=sata0 | |
cores: 4 | |
cpu: host,hidden=1 | |
efidisk0: Team512:vm-106-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M | |
kvm: 1 | |
machine: pc-q35-8.0 | |
memory: 8192 | |
meta: creation-qemu=8.0.2,ctime=1701744172 |
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 | |
# Getting snapcraft and dependencies | |
# | |
# git clone https://github.com/snapcore/snapcraft | |
# cd snapcraft/ | |
# pip install . --break-system-packages | |
# pip install catkin-pkg --break-system-packages | |
# mkdir -p /usr/share/snapcraft/schema | |
# mkdir /usr/share/snapcraft/extensions |
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
sed -i 's/checked_command: function(orig_cmd) {/checked_command: function(orig_cmd) {orig_cmd();},\n\n zzzchecked_command: function(orig_cmd) {/g' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js |
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/sh | |
while ! $(nc -z -v -w1 example.com 443); do sleep 10; done; curl -d "Example.com may be up" https://ntfy.lan/example |
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
# The purpose here is to play Xonotic on older OS with glibc < 2.29 | |
# | |
# The resulting AppImage doesn't work BUT | |
# you can extract the AppImage using | |
# `./Xonotic-0.8.5-x86_64.AppImage --appimage-extract` | |
# and execute `./squashfs-root/AppRun` to play the game | |
# | |
# There are some tweaks to file modes and copying over symlinks to ensure that | |
# the file is executable on other systems where the uid is different. | |
# |
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
BAOFENGH5 |
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
xdg-mime default "roblox.desktop" x-scheme-handler/roblox-player |
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
# aarch64 and arm64 are basically the same thing | |
sudo dpkg --add-architecture arm64 | |
sudo apt install -y gcc-aarch64-linux-gnu libpq-dev:arm64 libmariadb-dev:arm64 libmariadbclient-dev-compat:arm64 libgnutls28-dev:arm64 liblz-dev:arm64 libssl-dev:arm64 | |
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
rustup target add aarch64-unknown-linux-gnu | |
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/aarch64-linux-gnu-gcc | |
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig/ |
NewerOlder