curl -L https://downloads.raspberrypi.org/raspbian_lite_latest | bsdtar -xvf-
https://downloads.raspberrypi.org/raspios_lite_arm64/images/
Dictionary is the application, which shall be adjusted to the position {0, 20} and to the size {1280, 800}.
Note that this is the size of the plain window without a shadow. If you do a screenshot, you can omit a shadow by holding the ⌥ [option] key.
tell application "System Events"
set ssProcess to first process whose name is "Dictionary"
tell ssProcess
tell first window
set position to {0, 20}
XVFB=/usr/bin/Xvfb | |
XVFBARGS=":1 -screen 0 1024x768x24 -ac +extension GLX +render -noreset" | |
PIDFILE=/var/run/xvfb.pid | |
case "$1" in | |
start) | |
echo -n "Starting virtual X frame buffer: Xvfb" | |
start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS | |
echo "." | |
;; | |
stop) |
tee -a /etc/dnsmasq.conf << EOF
###################################
# TFTP Server custom configutation
####################################
enable-tftp
tftp-root=/root/tftp
# Architecture list
# https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#processor-architecture
Taken from http://netatalk.sourceforge.net/wiki/index.php/Bonjour_record_adisk_adVF_values via the https://web.archive.org/web/20140421030824/http://netatalk.sourceforge.net:80/wiki/index.php/Bonjour_record_adisk_adVF_values
Starting with 10.9 TM requires the _adisk._tcp service name to exactly match the regular AFP _afpovertcp._tcp service name. Prior OSX versions didn't have that requirement.
List of adVF Bonjour records values:
#!/bin/bash -x | |
if [[ -z $1 ]]; then | |
printf 'Must supply a path\n' | |
exit 1 | |
fi | |
# We want to advertise a consistent volume UUID that will survive reprovisions. | |
zone_uuid=$(zonename) | |
bonjour_name="$(hostname -s).local" |