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”

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 i realized is the Oracle11 project you can download here.