Category Archives: #*nix

A cool idea – A built-in wall vacuum

Part of a future project !

Automata

Automata theory is the study of abstract machines and automata, as well as the computational problems that can be solved using them. It is a theory in theoretical computer science and discrete mathematics (a subject of study in both mathematics and computer science). The word automata (the plural of automaton) comes from the Greek word αὐτόματα, which means “self-acting”.

wikipedia

Heart Beat shell script

I use this script to get alerts from some systems to insure they are still up.  It gives me local IP address, hostname and the WAN IP for the network.

 

#!/bin/sh
IP=”$(ip addr | grep ‘state UP’ -A2 | tail -n1 | awk ‘{print $2}’ | cut -f1 -d’/’)”
IP2=”$(curl ifconfig.co)”
HST=”$(hostname)”
CN=”$(curl ifconfig.co/country)”
CT=”$(curl ifconfig.co/city)”
HST=”$(hostname)”
echo $IP2 > /tmp/$HST
echo $IP >> /tmp/$HST
echo $CN >> /tmp/$HST
echo $CT >> /tmp/$HST

/usr/bin/sendemail -t info\@mydomain.org -f hb\@mydomain.org -u “HB from $HST” -s smtp.server -o message-file=/tmp/$HST;

90 hacker friendly boards

Our New Year’s guide to hacker-friendly single board computers turned up 90 boards, ranging from powerful media playing rigs to power-sipping IoT platforms.

Community backed, open spec single board computers running Linux and Android sit at the intersection between the commercial embedded market and the open source maker community. Hacker boards also play a key role in developing the Internet of Things devices that will increasingly dominate our technology economy in the coming years, from home automation devices to industrial equipment to drones.

[hackerboards.com]

I am building the world…

…that I want live in. Not waiting for the future…