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 .

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 […]

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 […]

PHP: container for values and objects

Using the class  \Airaghi\Tools\Container it’s  possibile to share between your scripts (inside a single execution flow) values and objects reference without having to use global variables. The class has methods for: – saving and getting values – saving and getting objects references – deleting of values stored – deleting of stored references The code is available here.

PhalconPHP: alternative way to use Oracle11g

Develpoing a new website based on PhalconPHP i tried to use Oracle11g as database, but in the process i had some problem. Searching the web for solutions i read about some problem with the native Oracle PDO driver, so i tried “pdo-via-oci8” by Arjay Angeles . As done for MSSQL i tried to create an new Adapter and a new Dialect to let me use pdo-via-oci8 inside my PhalconPHP-based application. What […]