Raspberry Pi climate data logger using adafruit and a DHT22

Linux command line black with white letters

1.) Connect DHT22 Sensor  to Raspberry Pi

Raspberry Pi DHT22 AM2302 data logger

Raspberry Pi DHT22 AM2302 data logger parts

On howto connect your raspberry to your sensors please read one of those helpfull articles

http://www.test-wetterstation.de/temperaturmessung-mit-dem-raspberry-pi
http://www.instructables.com/id/Raspberry-PI-and-DHT22-temperature-and-humidity-lo/
http://www.rototron.info/dht22-tutorial-for-raspberry-pi/

2.) Setup Raspberry Pi, boot and connect to via ssh

Continue reading

WordPress shortcode plugin to list recent posts

An easy to use shortcode for wordpress to display recent posts headlines and toggle excerpt

simple usage:

 [recentnews] 

with options:

 [recentnews count=10] 

working sample



Download: recentnews.zip (20KB)

[Usage]

  1. Upload
  2. Activate
  3. Configure default count of posts/news headlines to display
  4. Insert shortcode to your posts

HOWTO backup with find and tar

Linux command line black with white letters

Short and simple way to backup an entire directory and a mysql database. Log some informations and send an email when the job is done. This bash script was write to be executed on OSX Yosemite, but with some minor changes it should run on almost any X driven system. If you need compression just add -z (gzip) to tar command, and name your tarball [FILENAME].tar.gz

 

Continue reading