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
# root2ram.sh | |
# more info: https://skyboo.net/2017/04/rpi-creating-a-ram-disk-running-linux-environment-from-nfs-booted-raspbian/ | |
set -x | |
#uncomment following 2 lines to have a network in qemu: | |
#ip route del default | |
#ip route add default via 10.0.2.2 dev eth0 | |
#setting time from NTP as the first step, otherwise all created files/dirs will have a bad dates | |
/usr/src/ntpclient/ntpclient -n -d -c1 -s ntp.task.gda.pl |
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 | |
# a simple bash script for weight logging automation | |
# more info: https://skyboo.net/2017/03/automate-my-weekly-weight-logging/ | |
if [[ $# -eq 0 ]]; then | |
echo "[*] ERROR: missing weight argument" | |
exit | |
fi | |
echo "[*] **** MyFitnessPal ****" |
NewerOlder