Month: January 2013

Peacock Feathers

Posted on Updated on

Peacock with wide open feathers
(click for enlarge)

I have to wait for more than fifteen minutes around the cage for this moment;

Flag Counter

Day 3 – Walking and Talking :: Trek to Rush Lake, Nagar valley;

Posted on Updated on

Tuesday, 10th July 2K12:

It was my first ever night in camp; Such feeling are very different when you open your eyes and recall yourself that you are not in your bed and room, but in a sleeping bag & camp at the height of 10,200 feet, ~3100 meters; It isn’t a pillow under your head, its your rucksacks full of cloths and other travel items;

06:00h. I woke up and looked outside the camp; A cool breeze with aroma of mountain flowers & trees welcomed me with open arms; I took my tooth brush and came out of the camp; It was indeed cold outside; With a deep breath I tried to absorb the freshness of morning, and it made me tremble with cold from inside; The second try was canceled instantly; The water in washbasin is enough to numb my fingers and face;

12026061556_95f0b2e3b4_z
Team is crossing Hopper Glacier.

06:30h – 07:30h. Rizwan Yousuf is getting fresh and asking me to wakeup Asadullah and Butt sb; It was our first night of calm sleep after tiring travel of two days, so no one was ready to wakeup; Well one by one, we are getting fresh, and approaching to kitchen where hot omlate and parathas are waiting for us;

07:45h. We are packing our camps and sleeping bags; The sun is shining brightly with clear sky and we are hesitating whether we should put on our worm jackets or not? We have fixed our sticks, rucksacks are on our shoulders and shoes are tied; Its time to start our trek; Yes this is the moment we were waiting for;

08:00 – 09:00h.  We have left Hopper valley at back, and a long Hopper Glacier is in front of our eyes; It is full of mud, sharp rocks and stones, as you can see in above image; Seems it will take more than an hour to cross it; Read the rest of this entry »

Tutorial: How to play with zip files in iOS;

Posted on Updated on

Hello Dev mates…
Hope you are enjoying your work in winters; (:

Few days back I was working on a project where I needed to compress some files to create a zip archive; Although my teammate has done much of the work, I just refined some business logic and finalized the code to complete this feature; So lets start and see how we achieved this;

1. Setup your project

  • Download an open source library from here; It is a very handy library for zip/unzip operations, written by Shannon Ai (acsolu@gmail.com)
  • Create new project in Xcode (or open your existing one)
  • Add libz.1.2.3.dylib into your project frameworks;
  • Drag and drop downloaded library into your project and chose “copy items” option from a popup window;
  • Add the following values in to your Constants file; If you are using .pch file, then declare then using @define macro; Read the rest of this entry »

The Mall Road, Lahore;

Posted on Updated on

An evening walk, on Mall Road Lahore;
(dated 26th August, 2k12)

Flag Counter