Apache Log Format for Amazon EC2 with Elastic Load Balancer

The journey through the Amazon Cloud (AWS) is quite amazing. Recently I had to use two EC2 instance with Elastic Load balancer. Once the website was served with load balancer only the load balancer IP was logged as remote IP. After Googling for few hour and with trial and error method I got the correct… Continue reading Apache Log Format for Amazon EC2 with Elastic Load Balancer

Download & Process Amazon Cloudfront Logs with Awstats

These days we use Amazon Cloudfront for content delivery. Amazon has made it very easy to deliver files in a Amazon Simple Storage Service (S3) bucket using Amazon Cloudfront distribution. If you are using Cloudfront as Content Delivery Network (CDN) your next task will be monitoring the usage. For this Amazon Cloudfront has a provision… Continue reading Download & Process Amazon Cloudfront Logs with Awstats

UIScreen Notifications for connecting external display in iOS

UIScreen class has three main notifications which gets triggered when a new screen (external display) is attached to the device. UIScreenDidConnectNotification This notification is posted when a new screen is connected to the device. The object of the notification is the UIScreen object representing the new screen. There is no userInfo dictionary. Connection notifications are… Continue reading UIScreen Notifications for connecting external display in iOS

iPhone RSS Reader with source code

Last week I had prepared simple RSSReader application for demoing at Arabnet Shift Digital Summit. Since there was not much time to really explain I had to cut short my presentation with a very basic application demo. I promised to few programmers at Arabnet that I will release the source code for this application on… Continue reading iPhone RSS Reader with source code