Waqas Siddiqui http://www.waqassiddiqui.com Personal blog & portfolio Fri, 27 Feb 2015 16:31:01 +0000 en-US hourly 1 https://wordpress.org/?v=4.7.5 Ek dhalti howi shaam http://www.waqassiddiqui.com/ek-dhalti-howi-shaam/ Fri, 27 Feb 2015 16:31:01 +0000 http://www.waqassiddiqui.com/?p=760 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 k jb 6 mah , musalsal andhera rehta hai to phr us k baad jb soraj nazar aata hai to dil bohat machalta hai. Ye sardio ka soraj , halki halki thand wo wakat yaad kra deti hai jb shaam ko hm log apne bachpan mei khela karte the.

Aaj apne ap ko is wakat , is shaam mei yoon computer k aage office mei dekh kr itna ajeeb lag raha hai. Yaad aa rhaa hai wo sb wakat jb mei shaam ko apne behan bhayoon k sath khel raha hota tha. Us wakat merai pass sirf mera bachpana tha, or mei sochta tha k bara ho kr ye karo ga wo kroo ga. Or aaj sb ho gya, laiken wakat sirf wo bachpan kaa yaad aa rhaa hai.

Mujhai wo shaamei bhi yaad hai jb university mei meri classes shaam ko hoti thi, sare class mates shaam ko class k bahir beth kr gapai marte the, mei bhi kabhi kabhi shareek ho jata tha laiken zada tr mein masroof hota tha. Magar jb jb bhi mei dostoon k sath bethak lagti thi ye shaam ka waqat , parindoo ka chahchahan, bachoon ka gali mei cricket khelna sb yaad aata hai.

Aisa lagta hai kal shaam ki baat hai. Us wakat mujhai ahsaas nai howa tha k ye wakat kitna keemti hai. Us waqat mujhai khoob paise chahye the, us wakat mujhai job chahye thi, us waqat mujhai business krna tha, us waqat mujhai achi gari chahye thi, us waqat mujhai shaadi krni thi.

Or aaj , aj jb merai pass ye sb hai to sirf wo waqat nai hai. Wohi shaam hai, pr gali mei kheltai bacho ki awaazoo ki jaga keyboard typing ki awaazain hain. Dil mei ajeeb sa dard hai, is baat ka ihsaas hai k jo chala gya wo chala gya, aab wo bachpan wo university wo sb wapis nai aa sakta.

In sb cheezo k sath sath aaj mei tanhaa kitna hu, ek itni achi bv merai sath hai laiken hm dono is mulk mei sb se door bus akeelai hi hain, zindagi ki masroofiyat ne waqat k guzarne ka ihsaas khatam kr dya hai warna itni tanhai or khamooshi mei insaan pagal hi ho jai.

Ye to thi guzrai howe dino ki batain, aab jb soraj gharoob ho chuka hai. Merai sath kaam krnai wale dost apne apne computers band kar rahe hain or ghar ja rahe hain to mujhai bhi ye ihsaas ho raha hai k abhi to sirf ye shaam guzri hai, abhi thori muhlat baaki hai, us muhlat mei agar mei aaj apne aap pe nazar dalo or dekho k Allah ne mujhai kaha se kaha pohancha dya hai to koi shak nai k jism ka rowa roowa shukar krnai pe majboor ho jai ga.

Alhamdolillah aaj allah ne mujhai itni achi nokari di hai, itni acha karoobaar set kr k dya hai, or itni achi family di hai. Itni achi biwi di hai , or itna acha rishta banaya hai k hm dono ki zindagi pori tarah se hm ahang hai. Allah ka shukar hai k us ne mujhai aisa banaya k mei apne waladain se door to ho laiken phr bhi un ki zaroryat ka khyaal rakh sakoo. Na k un logo mei se jo log apne waldain k paise pe aish krte hain.


La Uva Tapasbar- FB Contest http://www.waqassiddiqui.com/la-uva-tapasbar-facebook-contest/ Sun, 11 Aug 2013 22:25:00 +0000 http://www.waqassiddiqui.com/?p=752 This work is only showcased here to present my skills, this was actually done as part of my job responsibility at www.solidpublication.se

Screen Shot 2013-08-12 at 12.22.26 AM

Spice – Facebook Competition http://www.waqassiddiqui.com/spice-facebook-competition/ Sun, 11 Aug 2013 22:09:50 +0000 http://www.waqassiddiqui.com/?p=744 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


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



2013-08-12 00.14.57

http://www.stenindustri.se/ http://www.waqassiddiqui.com/httpwww-stenindustri-se/ Sun, 11 Aug 2013 21:53:58 +0000 http://www.waqassiddiqui.com/?p=737 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

Screen Shot 2013-08-11 at 11.52.38 PM

Handling IE facebook sessions in facebooktabs on multiple pages http://www.waqassiddiqui.com/handling-ie-facebook-sessions-in-facebooktabs-on-multiple-pages/ Tue, 30 Jul 2013 16:51:54 +0000 http://www.waqassiddiqui.com/?p=731 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.

Gym motivation http://www.waqassiddiqui.com/gym-motivation/ Fri, 17 May 2013 12:22:40 +0000 http://www.waqassiddiqui.com/?p=722 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 http://www.waqassiddiqui.com/drupal-nodedestinationnode/ Tue, 30 Apr 2013 07:11:13 +0000 http://www.waqassiddiqui.com/?p=704 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 Administer -> content management -> Clean URLs and disable it.

After disabling it , go to your phpMyAdmin and export your db, then import it the new website DB and it will work. Some people on the internet also recommended to disable extra plugins before export , and that makes sense too but it dint helped me. Wish you good luck in getting this fixed for you.

Feel free to contact me if you cant solve the problem i might have some other suggestions for you with your specific requirements.

Linux commands i use over SSH http://www.waqassiddiqui.com/linux-commands-i-use-over-ssh/ Mon, 11 Mar 2013 08:47:46 +0000 http://www.waqassiddiqui.com/?p=708 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! http://www.waqassiddiqui.com/synergy-boost-your-productivity/ Mon, 11 Feb 2013 15:26:04 +0000 http://www.waqassiddiqui.com/?p=699 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!


Year in Review – 2012 http://www.waqassiddiqui.com/year-in-review-2012/ Tue, 01 Jan 2013 09:28:47 +0000 http://www.waqassiddiqui.com/?p=695 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 a very short while.

Apart from these materialistic achievements, i am quite satisfied with my level of knowledge and God gifted capability of being very optimistic. I believe that everything depends on what and how you think. I am happy that I am no longer a negative minded person, and i hope Inshallah i’ll continue to even improve this more by meditating once a day.

Lets dive down a little more in details from the beginning of the year 2012, it started of with sizzling motivation of getting a new bigger apartment since i signed the contract a couple of days before Jan 1 2012. I also started a new job by the end of 2011 so i was very satisfied with my life and was planning big things for future. Later in the first month of 2012, i got my visit visa stamped for UK and i travelled to UK as well and met some of my very old friends.

Later, the move from one apartment to another showed me how cruel this world is and how people turn their back on you when you need help from someone, this made my mind to live at my own out from city center and stay a bit reserved with all those who tend to be my friend.

Summer 2012, went a bit slow but with the manifestation of one of my with to have a big TV screen along with gaming console. Then came some twist in life with the rejection of my visa application. But it happened for a reason to be even better, and finally i got my Swedish work permit in october 2012. This big achievement, brought further blessing of 14th November 2012 which is still a bit confidential but it will soon be out with a blast.

The year ended with a lot more sizzling achievements, for example i came across insportant.com management and i landed the project along with my friend’s company inn0vators in Pakistan. And one more good freelance project. This year, the christmas sale was exactly what i wanted from the last 2 years, not because of what it was offering me but just because i had some cash in my bank to buy all this. One of the biggest achievement of 2012 is also interms of how much i saved this year and I plan to keep going untill i find a good investment opportunity.

The last day of 2012 increased my heart beat to another level by locking a new business deal that will Inshallah commence from today!