Tags » Bytes

The Easy Way? Or The Hard Way?

“8 bits in 1 byte”

Hmm, so I went over the type of commands that the arduino would have to process. The most important function would be the GOTO function. 304 more words

NO FLUFF!! JUST CODE!! EXCITED!!!

Hello Folks!

My¬†current Arduino sketch contains code that reads in bytes from Serial. The neat thing is that I made an instruction buffer. It’s defined to hold 8 instructions at the moment, but I can easily increase it to 64. 617 more words

daemonizing shell scripts | catch crashed processes | eternal run


#!/bin/bash
if [ $# -lt 1 ]; then
exit 1
fi
main() {
while true; do
$@
done
}
main $@ &
exit

Bytes

OPSI | software inventory | list clients having software versions installed

#!/bin/bash

red='33}"
VERSION="${ARRAY[1]}"
echo -ne "${red}$NAME${NC} | ${purple}$VERSION${NC} | "
echo "select clientId from SOFTWARE_CONFIG where name = '$NAME' and version = '$VERSION';" | mysql -B -N -u${USER} -p${PASS} -D opsi | xargs echo -n… 56 more words

Bytes