Starting from PhalconPHP 3.0 the old connector i wrote to allow me to use SQL Server stopped working.
To let me use new versions of PhalconPHP i updated the old classes (both Adapter and Dialect).
You can download them here , search for the two files named Mssql3.php
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”
Do you add quite often files to your local working copy, forgetting to put them under version control ?
Why not using a tool that, when used, add every new file it finds ?
SVN-ADD-NEW (shell script) could be the answer (very simple)
Continue reading “Linux: script to add new files to SVN”
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”
Every time you update manually the kernel of your Linux distro you have to rebuild the modules used by VirtualBox: this process can be made automatic.
Let’s see how.
Continue reading “Automatic VirtualBox modules compilation”
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
Continue reading “Cross platform push notification”
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”
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.
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.
Do you need tools and libraries to use MSQ SQL Server from your Linux box ?
Have you tried using UnixODBC and FreeDTS ?
Let’s see how to do this if you choose to compile and build those libraries.
Continue reading “Linux: SQL Server connection”