This file contains hidden or 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
| .PHONY: all export run clean dist-clean get_sdk | |
| # `make run` will start chirpw | |
| # `make run python` will start the python interpreter inside the flatpak | |
| # `make run bash` will start bash shell inside the flatpak | |
| args = $(filter-out $@,$(MAKECMDGOALS)) | |
| CMD ?= $(if $(args),$(args),chirpw) | |
| all: | |
| flatpak-builder --force-clean build-dir --repo repo/ com.danplanet.chirp.yml | tee build.txt |
This file contains hidden or 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
| import time | |
| import pyautogui | |
| do_break = False | |
| while True: | |
| if do_break: | |
| break | |
| start_time = time.time() | |
| while True: |
This file contains hidden or 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/ |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 | |
| # | |
| # In a container (where root isn't really root) | |
| # apt install git python3-pip gnome-keyring curl | |
| # cd /root | |
| # git clone https://github.com/snapcore/snapcraft | |
| # cd snapcraft/ | |
| # python3 -m venv --system-site-packages venv/ |
This file contains hidden or 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 |
OlderNewer