Tanita BC-601 Scale Script

/

I own a body scale called Tanita BC-601. Everyt ime I step on it all the data will be written to an SD card and they include a pretty pretty bad Windows software to analyze the data. Besides the quality. Who wants to boot Windows just to read that data… There is one file for Read More

Fritzbox: fetch data with a bash script

/

Fritzbox is a popular router with many great features. Today I want share a script that allows you to extract some information without using the web interface. Many thanks to home.debian-hell.org. This post inspred me to look into this topic and I reused the connection part. #!/bin/bash _FBOX=”https://$1″ _HTTP_USERNAME=”$2″ _HTTP_PASSWORD=”$3″ _USERNAME=”” _PASSWORD=”” _EXPORT_PASSWORD=”foobar” echo “Fritzbox URL: Read More

Bash: Telephone number reverse search

/

You want to know who called you? Here is a small bash function that helps you. Add this to your .bashrc function numsearch { curl -s -k “http://www.dastelefonbuch.de/?kw=$1&s=a20000&cmd=search&ort_ok=0&sp=3&vert_ok=0&aktion=23” | grep -e ‘$id=’ -e ‘na=’ | cut -d “&” -f 5-9 | sed -e ‘s/na=//’ -e ‘s/&st=/, /’ -e ‘s/&hn=/ /’ -e ‘s/&pc=/, /’ -e ‘s/&ci=/ Read More

Terminal: synchronize config with git

/

We have access to more than one computer and every bash/zsh/vim/… needs a configuration. I’ve tried several things to keep it in sync (rsync, unison, …), but at the end I used git. create: cd ~ mkdir .config cd .config git init vi ~/.config/1_create_links.sh #!/bin/bash now=`date “+%Y%m%d-%H%M%S”` if [ -e ~/.alias -a ! -L ~/.alias Read More