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
DEBIAN | |
#get latest tarball and unpack | |
http://vice-emu.sourceforge.net/index.html#download | |
#install depends | |
apt install libsdl1.2-dev | |
#build with SDL UI enabled | |
./configure --enable-ethernet --enable-sdlui --with-png --enable-rs232 [ --without-x ] | |
make | |
sudo make install |
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
Change border color | |
Yellow: | |
POKE 53280,7 | |
Change background color | |
Purple: | |
POKE 53281,4 |
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 | |
sudo softwareupdate --ignore "macOS Catalina" | |
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 | |
killall Dock |
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 | |
wget https://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add - | |
echo deb http://archive.raspbian.org/raspbian wheezy main contrib non-free >> /etc/apt/sources.list | |
apt update; apt install nano tmux htop hdparm sudo net-tools whois cmatrix cowsay fortune-mod sysvinit-utils nfs-common nfs-kernel-server openssh-server systemd-sysv avahi-daemon wget curl unar gnupg2 sdparm plocate git build-essential mosquitto-clients iftop iperf3 iperf lshw mosh lynx links ncdu rsync sysstat hd-idle fwupd samba smbclient btop | |
## 2023-08-04 have subbed plocate in place of mlocate | |
curl 'https://liquorix.net/add-liquorix-repo.sh' | sudo bash && sudo apt -yf install linux-image-liquorix-amd64 linux-headers-liquorix-amd64##add liquorix bleeding-edge kernels | |
apt install wireguard translate-shell npm | |
apt install pigpio-tools gpiod rpi.gpio-common | |
apt install colossal-cave-adventure tfortune tfortunes fortunes-ga haskell-misfortune dopewars 9base fortune-anarchism display-dhammapada fortunes bsdgames bsdgame |
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
# Configuration for Alacritty, the GPU enhanced terminal emulator. | |
# Any items in the `env` entry below will be added as | |
# environment variables. Some entries may override variables | |
# set by alacritty itself. | |
env: | |
# TERM variable | |
# | |
# This value is used to set the `$TERM` environment variable for | |
# each instance of Alacritty. If it is not present, alacritty will |
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
##needs adb in $PATH | |
## drop the "PX4" to run this on the builtin Pixel camera app rather than the ported one | |
#once - loads app | |
adb shell 'am start -n com.google.android.GoogleCameraPX4/com.android.camera.CameraLauncher' | |
#to take pics | |
adb shell 'am start -n com.google.android.GoogleCameraPX4/com.android.camera.activity.CaptureActivity' | |
#print last captured image filename to console |
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
https://serverfault.com/questions/978738/dahdi-3-0-0-not-assign-spans-and-cannot-generate-configuration?newreg=087dcf4ff9db40a9a48c8263c63c3ae3 | |
1 | |
Although the TDM410 and the TDM800 are no longer 'supported' they can be made to work to get yourself out of a mess. | |
Warning: You're on your own with support. | |
The example here is using DAHDI 3.1.0 as I found myself in the same mess. |
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 | |
for i in *.avi; | |
do name=`echo "$i" | cut -d'.' -f1` | |
echo "$name" | |
ffmpeg -i "$i" "${name}.mp4" | |
done |