If your system is running Slackware64-current and you need to use e GkSu here you can find the precompiled package gksu-polkit, which is gksu using PolicyKit as backend. The packages doesn’t contain any other library or dependency, look for them in the official Slackware repository or SlackBuilds. GkSu-Polkit packages is available (with other packages …
Author Archives: Davide Airaghi
WordPress Custom Mime Types
WordPress Media Library doesn’t allow you to upload any file you want, you are limited to a small set of types. With the plugin “WordPress Extra File Types” you extend the default list of file types adding more than 680 extensions, presented and selectable in a dedicated administration page found under “Settings” menu. Download . …
WordPress auto update for plugins and themes
Last releases of WordPress now allow the core to be fully auto-updated without spending time in manual operations. The same is not valid for themes and plugins, in fact you have to manually add code to enable this very useful feature for them. Here you can find a simple plugin that do this for you. Download .
WordPress Plugins
Here you can find a list of WordPress Plugins i’ve found useful. Advanced Custom Fields : create/modify custom fields to be used in pages and posts Google Tag Manager : simply include and configure google tag manager in your pages Shareaholic : insert social buttons in the pages W3 Total Cache : contents and objects caching WordPress …
Javascript Design Patterns
Addy Osmani has published, under the Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 license, a manual on javascript design patterns. To read the manual in the browser: click here. To download the manual: click here.
PHP Date
This PHP class let you manage dates, time intervals, timezone conversions and format conversions. Format supported are 3: – “db” : yyyy-mm-dd – “ita” : gg-mm-yyyy – “iso” : yyyy-mm-ddThh:MM:ss.000 This class contains also methods to use when your PHP installation is using 32bit integers and so you can fall in the “year 2038 bug”, now …
PhalconPHP: SQL Server Connector
During the developing of a PhalconPHP based web application i had the necessity (it was a project constraint) to use MS SQL Server as database. I started looking around the web and i jumped into this project, but using it i had some problem with pdo_sqlsrv driver and i had to create something (not so much) different. The result …
PHP Mail
During my daily life as web developer i’ve always had the necessity to send email using PHP, after some time using PHPMailer i decided to create a wrapper (very simple) to it in order to: parse template files containing markers to create dynamic html content to use as email’s body send emails without having to createexplicitly an instance of …