mkdir myproject
cd myproject
...do some work, create/edit files etc
git init
git add *
git status
git commit
sudo apt-get update -y
sudo apt-get upgrade -y
sudo rpi-update -y
echo "bcm2708_wdog" | sudo tee -a /etc/modules
sudo apt-get install watchdog -y
sudo update-rc.d watchdog defaults
watchdog_module="bcm2708_wdog"
max-load-1 = 24
and watchdog-device
in /etc/watchdog.conf
sudo /etc/init.d/watchdog start
/etc/init.d/watchdog status
[ ok ] watchdog is running.
: (){ :|:& };:
sudo touch /forcefsck
sudo shutdown -r now
user@machine ~ $ ssh pi@192.168.7.15
pi@192.168.7.15's password:
Linux pideskcam 3.18.11+ #776 PREEMPT Mon Apr 6 13:13:58 BST 2015 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Apr 14 18:55:50 2015 from machine.home
ssh pi@192.168.7.15 uptime
pi@192.168.7.15's password:
sudo min-memory=1
while : ;do ps -e S | egrep drop | egrep -o "[^S]+";echo "====";sleep 10; done
while : ;do ps -e S ;ps -e S|wc -l; sleep 60; done
{ access_token: 'ya29.XwGZIU4znRV79yY0EFxMI4GbD-4xVpLbYlNwzIh3ZzGY9bJdUP3R5J_W4eDPotNEl4rHh4F6DkzJg',
token_type: 'Bearer',
refresh_token: '1/uwCkNebyF-H9LA7e65EwJX4FS9rfjcXZhHAb5t2lpM',
expiry_date: 1429911157900 }
{ access_token: 'ya29.XwFk4qFf-Y0fH0IDuLWfN6bSU-8eYcwRIM9p-QbxgOZY40iBgYi8RwILrm8Vt2EtoLg0uisQ4P5tA',
token_type: 'Bearer',
expiry_date: 1429910935749 }
curl -L http://localhost:2002/
email
root
flog archives
Disclaimer:
This page is by me for me, if you are not me then please be aware of the following
I am not responsible for anything that works or does not work including files and pages made available at www.jumpstation.co.uk
I am also not responsible for any information(or what you or others do with it) available at www.jumpstation.co.uk
In fact I'm not responsible for anything ever, so there!