Once TVHeadend (TVH) is running, open its web interface at http://x.x.x.x:9981 and follow these steps.
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
| #!/usr/bin/osascript | |
| set maxVolume to 15 | |
| # brew install switchaudio-osx | |
| set deviceSwitcher to "/usr/local/bin/SwitchAudioSource" | |
| set currentDevice to do shell script deviceSwitcher & " -c" | |
| if currentDevice = "Cyrus soundKey" then | |
| set currentVolume to output volume of (get volume settings) | |
| if currentVolume > maxVolume then set volume output volume maxVolume |
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
| rem === https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions | |
| rem === Run this from recovery / install prior to starting the install wizard to put the recovery partition at | |
| rem === end of the drive, else the Windows installer will put it at the start and you won't be able to reclaim | |
| rem === the space, if you choose. | |
| rem === DiskPart /s F:\createpartitions.txt | |
| select disk 0 | |
| clean | |
| convert gpt | |
| rem === create the EFI partition | |
| create partition efi size=260 |
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
| gssdp-discover --target=urn:schemas-upnp-org:device:MediaRenderer:1 -n 3 | egrep -o 'http?://[^ ]+' | xargs -I % sh -c 'xmllint --xpath "string(//*[local-name()='\''friendlyName'\''])" %; echo;' | sort |
Using isorespin.sh
Instructions on installing Debian variants on Beelink AP42 or Kodlix AP42 and possibly other Apollo Lake Intel CPU computers.
This is the specific machine I purchased from Amazon CoolFun N42 DIY SSD Mini PC Intel Apollo Lake Pentium N4200 Processor.
I couldn't find any step-by-step instructions detailing this, so here we go.
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
| Install rasberry pi | |
| Write image to SD card | |
| grab Raspbian Jessie image from https://www.raspberrypi.org/downloads/raspbian/ | |
| unount card then | |
| sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskn | |
| login locally pi/raspberry |
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
| ssh -f -L 5900:localhost:5900 user@server sleep 10; open vnc://127.0.0.1:5900 | |
| ## the sleep 10 ensure it won't stay open after the VNC session is closed |
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
| for f in ./*.flac; do ffmpeg -i "$f" -c:a alac "${f%.*}.m4a"; done |
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
| if which ruby >/dev/null && which gem >/dev/null; then | |
| PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH" | |
| fi | |
| PATH=$HOME/bin:$PATH | |
| PS1="\[\e[0;37m\]\u@\h\[\e[m\] \[\e[0;36m\]\w\[\e[m\] \[\e[0;37m\]\$\[\e[m\] \[\e[0;36m\]" | |
| trap 'printf "\e[0m"' DEBUG | |
| export CLICOLOR=1 | |
| if [ -f $(brew --prefix)/etc/bash_completion ]; then |