RFIDer: tool to get data from a rfid reader

For a home automation project i had to connect a rdif reader (this one) to a Raspberry Pi 3 and then have the system execute a program each time a token is read by the reader:RFIDer is the tool i developed to do this job.

RFIDer sources (GPLv3 license) are available, but you can also find precompiled binaries  for some platform.

Once compiled and installed on your linux box RIFDer will allow you to read digits from an input device and send everything read to the standard input of a program launched each time the read process is completed; a single “read procress” ends when the rfid-reader send a message equivalent to an “ENTER” keypress.

Continue reading “RFIDer: tool to get data from a rfid reader”

Manage D-Link DCS-960L motion detection using a RaspberryPi

Installing and configuring a surveillance camera is becoming an operation very easy and very common, strong technical skills are not required anymore.
The question is: can we control a “home camera”  with our RaspberryPi ? The short answer is: YES !

I’ll show how to use the RaspberryPi to control, using jus the linux shell, a D-Link DCS-960L .

Continue reading “Manage D-Link DCS-960L motion detection using a RaspberryPi”

How to delete Gradle cache files

If, like me, you are having troubles compiling projects (also Android Studio ones) after having upgraded Gradle you can try to delete cache files.

I’m assuming you are working on a Linux box and that your Android projects are saved inside  ~/AndroidStudioProjects/

  • How to delete general caches:
  • How to delete Android Studio caches:

    I hope these commands will help you!

Linux – suspend Thunderbird when screensaver is active

If you have configured many Thunderbird’s mail filters and you don’t want them to be applied when you are away from your computer, maybe because (like me) you want to have all the messages in the standard Inbox when you are reading them on the smartphone, you could try to suspend Thunderbird when screensaver is active.

 

A simple script, and crontab, could be enough … Continue reading “Linux – suspend Thunderbird when screensaver is active”

Android icons creation tool

Are you developing an Android application and have you to convert an image to a set of icons ? Do you want to avoid as much as possible repetitive manual operations ?

Here you can find a tool to convert a single image to the set of icons needed by Android for various device screen resolutions.

Continue reading “Android icons creation tool”

Cross platform push notification

Do you need to add a cross platform push notification system to your App ? Do you want to make it as generic as possible without having to implement specific versions for each platform ?

You have, at least, 4 possibilities to do so:

  • AMAZON Simple Notification Service (SNS)
  • Push Woosh
  • QuickBlox
  • BoxCar

Continue reading “Cross platform push notification”

SimpleORM: PHP ORM classes and tools

SimpleOrm is a set of PHP classes to let you interact with tables and views in a database using an object oriented syntax (as the name implies it’s a simple PHP ORM).

Key features are:
1- Database abstraction
2- Query builder
3- Table-Model mapping
4- Fully iterable Resultsets

Continue reading “SimpleORM: PHP ORM classes and tools”