Author Archive

Ek dhalti howi shaam

February 27, 2015  |   Blog   |     |   Comments Off on Ek dhalti howi shaam

Ek dhalti howi shaam

2015-02-27 Aaj Jumai ka din hai, is wakat shaam k 4:30 ho rahe hain. Soraj ahista aahista ghroob ho raha hai. Is soraj k doobne se aisa lagta hai jaise dil bhi doob jai ga. Roz shaam ko jb mei daftar mei hota hun or shaam ka ye samaa dekhta hoo to asia lagta hai k zindagi ki shaam bhi bus dhalne wali hai. Aksar hi ye ahsaas hota hai k Allah ne mujhai sb kuch atta kr dya , insaan ki khuwahishe to kabhi bhi khatam nai hoti is lye mazeed to kisi dua k lye haath uthate howe bhi dr lagta hai. Najaane mei ne kb kb or kya kya Allah se manga or us ne mujhai foran ata kr dya. In sb namatoo ka mei kaise hisaab du ga? Aaj saal 2015 hai, pichle do saal se mei ne is blog pe koi post nai ki. Zindagi ki masroofyat ne to namaaz parhne ka waqat cheen lya hai, Allah ki namatoon ka shukar adaa krnai ka wakat kaha se laoon, kaise laoon. Itna wakat nai hai k us ki namatoon ko gin sakoon, or baat kar raha hu shukar adaa krnai ki. Sweden mei waise ye ek bohat khaas baat hai ...

La Uva Tapasbar- FB Contest

August 11, 2013  |   Facebook Apps,Porfolio,Solid publication,Wordpress   |     |   Comments Off on La Uva Tapasbar- FB Contest

La Uva Tapasbar- FB Contest

This work is only showcased here to present my skills, this was actually done as part of my job responsibility at www.solidpublication.se

Spice – Facebook Competition

August 11, 2013  |   Facebook Apps,Porfolio,Solid publication   |     |   Comments Off on Spice – Facebook Competition

Spice – Facebook Competition

I made this facebook application pizza sharing contest for the Solid Publication Norway. The idea was to let facebook users share virtual pizza slices with their friends. Appliation was made using framework provided by Solid Publication. Contest is currently live for limitted time at the following URL apps.facebook.com/spice_no/ The app is also mobile friendly and made responsive using bootstrap. This work is only showcased here to present my skills, this was actually done as part of my job responsibility at www.solidpublication.com  

http://www.stenindustri.se/

August 11, 2013  |   CMS Theme,Masteron,Porfolio,Wordpress   |     |   Comments Off on http://www.stenindustri.se/

http://www.stenindustri.se/

One of my best simple wp theme using blankslate theme. The theme is not responsive due to client requirements. It is live at http://www.stenindustri.se/. This work is only showcased here to present my skills, this was actually done as part of my job responsibility at www.masteron.se

Handling IE facebook sessions in facebooktabs on multiple pages

July 30, 2013  |   Blog   |     |   Comments Off on Handling IE facebook sessions in facebooktabs on multiple pages

Handling IE facebook sessions in facebooktabs on multiple pages

It took me almost 2 days, to find a solution for this issue. I was making a facebook tab application at my workplace and after the completion when i started testing the application for cross browser platform, the application started to crash in IE. Upon debugging I found that I am getting "Uncaught OAuthException: Error validating access token" , after spending 2 days digging the issue finally i came to know that the issue was with the sessions in Internet Explorer. The session id is not passed between pages in a facebook tab due to which we get this issue. The problem lies with a W3C standard called Platform for Privacy Preferences or P3P for short. This will allow Internet Explorer to accept your third-party cookie. Solution to this problem is to send the header on every page that sets a cookie. header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');

Gym motivation

May 17, 2013  |   Blog   |     |   Comments Off on Gym motivation

Gym motivation

Inspiration is something that keep you motivated. For me , i get more motivated with visual stuff as compared to inspirational quotes. Same goes for my gym determination, here is a collection of inspirational pictures that will keep you motivated. I recommend , bookmark this post and watch these pics once a day before your workout!  

drupal node?destination=node

April 30, 2013  |   Blog   |     |   Comments Off on drupal node?destination=node

drupal node?destination=node

The title of this post might help someone trying to migrate drupal website from one server to another, this problem took quite much of my time, and even after searching for a lot many forums i failed to find any working result. Lastly i tried what was in my mind and the knowledge of wordpress helped me fixing the problem. I would first explain a bit of what the problem was at my side, but if you are in a hurry and just want to try out the solution, go to the end of this post and try it. When i moved from a linux hosting to a windows hosting, everything seems to be working fine untill i clicked the login button. The page tries to open up a new page with a query string "drupal node?destination=node" The reason, to this was that in linux environment  URL rewrite is done using mod rewrite in .htaccess file, while in windows environment it was supposed to be done using web.config file. I tried to look for such information in .htaccess file but it dint helped, what you can do to fix it is to login as an administrator of the source website , and to directly to ...

Linux commands i use over SSH

March 11, 2013  |   Blog   |     |   Comments Off on Linux commands i use over SSH

Linux commands i use over SSH

Instead of keeping a list of commands on my desktop, isn't it better to have it on my blog so that others can benifit from the list since these are the one that i use most frequently and they are a bit difficult w.r.t extra parameters to keep them in mind all the time. Since i use Mac terminal quite often so i am not gonna write down very basic commands like ls, clear, etc. If you are having difficulty reading the the post, try clicking the heading link for a better preview of this post in the full window. I will keep on adding more commands with time later on. if your folder has subfolders you will need -r flag zip -r filename.zip foldername/ find file name or directories without throwing errors find /home -name 'x' -type d -print 2>/dev/null look for name server nslookup -type=ns domainname.com local over DNS (I dont use it in ssh , rather than on my mac terminal) sudo nano /private/etc/hosts

Synergy – Boost your productivity!

February 11, 2013  |   Blog   |     |   Comments Off on Synergy – Boost your productivity!

Synergy – Boost your productivity!

I wonder, how come i never googled for such a software earlier even when i am using two computers quite often. Its been many years i always have a pair of computers sometimes windows linux, sometimes laptop desktop and now i have MacBook Pro and windows at work while MacBookPro and Ubuntu at home. But strange enough that i always tried to use remote cotrol softwares rather than this one, which are a bit troublesome to setup and not so smooth. On the contrary, this one is way too smooth , it can detect the screen edges and even if you are running two different screen resolutions it works fine! Not only this , when it comes to mac and windows it can also map your keyboard command key to ctrl key on windows and it also sync your clipboard.... Thanks to my colleague Magnus Hammarström, for showing me this such a life saving software that has no doubt increased the productivity and easiness. I really recommend all my blog readers to install this software if you are using more than one computer! Here is where you can download it for free! http://synergy-foss.org/

Year in Review – 2012

January 01, 2013  |   Blog   |     |   Comments Off on Year in Review – 2012

Year in Review – 2012

The blog post currently under the tip of my fingers is rather more about the feelings , thoughts and achievements that i can summarize today in my words. Though i tend to be very optimist, and so main motivation behind this blog post is to share my achievements and pay gratitudes to all who stood beside me during this time and of course to Allah Almighty for his countless favors and blessing  upon me. The year started off, with my first job in Sweden. It was a bit stress with the new working environment but at the same time very interesting to be at work in a new country with a new language that I have to take care off. I cant count the blessings throughout the year, but I can for sure write down a few of big achievements. For example : Swedish language, Visits 2 UK, Work visa, Big apparment, Gadgets (40" LCD Tv, Xbox, 3TB HDD, DSLR and iPhone). For some of my readers these things might not be big enough but for me, when i compare these achievements relative to other fellows from Pakistan living in the same city i find my self very lucky to accomplish all of these milestones in ...