preload preload

[How-To] Create a folder programmatically in S3 using Amazon AWS Java SDK

This post is going to show you how you can programmatically create the folder in Amazon AWS S3. As we all know that S3 only understand files & the folder representations which we see in the S3 buckets are mere prefixes for your files. From the AWS console, it is very easy to create the folder & AWS provide option to do it. For ...

Simple-REST – Lightweight PHP REST Library

Web 2.0 has brought more and more social and syndication medium to the Internet world. Nowadays, every other web application is exposing web services for exposing their content and functionality. To enable web services, we rely on the protocols such as REST, SOAP, XMLRPC etc. Among these, REST is fast becoming a de-facto standard for the ...

Scribe Utilities

Lately, in my company I have been started working on the large scale distributed computing and storage technologies involving Hadoop, MapReduce, HBase, Scribe, Flume etc. Our work is like building the analytics platform utilizing and improving multiple open source technologies as mentioned earlier. A major component of this platform is Scribe. For those who are not familiar with the Scribe, it is a log aggregation server handling a massive streams of ...

mysqldump: Got error: 1016: Can’t open file: … (errno: 24) when using LOCK TABLES

Sometimes, when you have got a large number of tables in your database and while taking the dump of that particular database, you would have encountered this strange error [sourcecode type="bash"] mysqldump: Got error: 1016: Can't open file: '.\database\certain_table.frm' (errno: 24) when using LOCK TABLES [/sourcecode] There ...

[How-To] Install PHP OCI8 extension

If you are looking to connect the PHP to an oracle database, you would require to install PHP OCI8 extension. Following instructions will explain you the installation of PHP OCI8 extension using PECL on CentOS 5.5 64-bit server. We assume you already have installed the PEAR extension for PHP. 1. First install the Oracle Instant client ...

[How-To] Motorola Milestone Official Froyo Android 2.2 upgrade

As we all know that the Froyo (Android 2.2) has been released officially for Motorola Milestone and as mentioned on their site, the device can be upgraded using Motorola Software Updater (MSU). After trying the official upgrade steps and reflashing back and forth my Milestone for 8 times and every time getting stuck at Milestone boot ...

Apache httpd mod_jk PHP/Java Alias issue

As we all know that, Apache httpd can be used as a front end webserver for Apache tomcat to provide the better handling of static files like css, javascript etc. It can also be used to allow running PHP and Java parallely over the same server. While configuring, we can define that all PHP requests should goto PHP interpreter and all the ...

Root and Flash Custom ROM on Motorola Milestone running Android 2.1

[Update] Please refer to Motorola Milestone Official Android 2.2 (Froyo) upgrade for updating your Motorola Milestone. Recently, I have purchased Motorola Milestone mobile running Android 2.1. It was a nice device, however I was annoyed to see that it was lacking the Android market. Instead there was Motorola's Shop4Apps application ...

PHP Clustering using Apache httpd mod_proxy

Often for my clients, I have to prepare the deployment strategy for their LAMP based web applications. Some of them are small to medium businesses and are starting up so a single server setup work out for them. But there are few large web applications too which are growing continuously in terms of users and demands scaling either ...

phpMyAdmin: Export All Query Results

phpMyAdmin is an industry standard tool for creating and managing MySQL databases. It allows you to interact visually with the mysql databases and hide all the mysql operations behind it. A common operation which phpMyAdmin allows, is to export the table results to the number of output formats like sql, excel, csv etc. And a common ...