Wed 24 Apr 2013

 

Wake up Pakistan... 

عجب رسم ھے چارہ گروں کی محفل میں,,

لگا کر زخم, نمک سے مساج کرتے ہیں...

غریبِ شھر ترستا ہے ایک نوالے کو,,

امیرِ شھر کے کتے بھی راج کرتے ہیں...

...............

 

ستم زریفیِ وقت نے کلیوں کی نزاکت کو،،

دلوں کی محبت کو،،

اس طرح سے مسلا ہے،،

اس طرح سے کُچلا ہے،،

کہ زندگی ازیت ہے،،

اور سانس کی بھی قیمت ہے،،

کس کا ہاتھ ہے، جو خون سے رنگا نہیں،،

کس کا گریبان ہے جو گرفت سے بچا نہیں،،

صداِ موت آتی ہے شھر بھر کی گلیوں سے،،

خون کی بو آتی ہے پھولوں کی کلیوں سے۔۔

  
Categories : Thoughts / Lessons
E-mail this post to someone or Comments here
Mon 8 Apr 2013

“We started with two aircraft leased from PIA (Pakistan International Airlines), and after three of four profitable years we were in the position to buy our own planes. Now Emirates has overtaken Delta to become the second largest airline in the world measured by seat-miles"

“The future outlook is marvellous, and growth is happening naturally from our lovely base in Dubai. Dubai Airport will peak at a maximum of 100 million passengers a year, which would limit Emirate’s growth, but the new Al Maktoum International with its capacity for another 120 million passengers will allow us to continue growing,” said Maurice Flanagan, Executive Vice Chairman of Emirates Airline.

 

Categories : Thoughts / Lessons
E-mail this post to someone or Comments here
Tue 26 Mar 2013

In last days, I was trying to restore SharePoint web application backup using PowerShell, but run into following error (although my sharepoint version was newer then the backup version)

Restore-SPSite : Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.5138' or later.

Following is the quick overview / steps which I followed and successfully restored the SharePoint backup. Might be this could be applicable in your case

If you have the source database files (mdf and ldf) not the SharePoint backup file then follow step 2, otherwise step 1 and 2

Step 1.

  • Create a virtual machine if you don’t have

  • Install SharePoint on that vm if your don’t have it on that vm

  • Make the environment version same by installing the same cumulative update(s) which source server has. Once the server has the same version as of the backup, in my case it was (14.0.0.5138). (to check SharePoint version central administration -> upgrade and migration -> check product and patch installation)

  • Create new web application and Restore the SharePoint backup.

  • In sql server, detach the restored SharePoint database and physically copy database files (mdf and ldf)

 

Step 2.

On SharePoint environment where you want to restore the backup (this SharePoint version obviously needs to be later version, in my case it was 14.0.6029.1000)

  • Create web application (no need to create site collection) (central administration -> application management -> manage web application-> new)

  • Remove content database of newly created web application (central administration -> application management -> manage content database -> choose web application from the dropdown -> click on database name -> choose offline from database status and check mark Remove content database) (make sure you have selected the newly created web application and its content database)

  • In sql server, detach that content database of newly created web application

  • Physically replace the detached content database files (mdf and ldf) from the SharePoint backup's mdf/ldf file (which were taken from step1 or from the original server / source)

  • Attach Database (while attaching, after selecting mdf file, Change the Database name as of file name in Database to Attach's -> Attach As textbox, then on same screen, select/browse both mdf and ldf file in database details section -> Current File Path)

  • Open SharePoint 2010 Management Shell, and add content database using following command
    stsadm -o addcontentdb -url <URL name> -databasename <database name>

  • Then follow remaining application specific restore steps (for e.g. change site collection administrators, changes in web.config, add or change global resource files etc.)

Then access web application, hope so it would restored successfully

 

E-mail this post to someone or Comments here
Fri 21 Dec 2012

Amazon founder and CEO Jeff Bezos' patent for a phone airbag patent was recently approved. Here's how it would work: "Prior to impact between a surface and a device, a determination of a risk of damage to the device is made. If the risk of damage to the device exceeds a threshold, a protection system is activated to reduce or eliminate damage to the device.

Airbags+for+Smartphones.jpg

 

Below is a Video of Lenovo Flying Laptop having technology something similar to this.

[youtube:KWbLq0kMEpM]

 In the patent filing papers, this system utilizes the handset's integrated gyroscope, camera, accelerometers as well as other onboard sensors to determine if it is currently falling. Should a fall be detected, the system will deploy airbags to reduce potential damage - or possibly change the trajectory of its fall by firing jets of air.

 Source: dailymail.co.uk/news/article-2248824/Airbag-dropped-smartphones-invented-Amazon-patents-airbag-air-jet-mobile-phones

E-mail this post to someone or Comments here