During the development of an application it is mostly required at a certain point to test the application in question, on the target platform. Since, this is most certainly desirable before the app is published to the marketplace, it needs to be deployed without using windows market place.
Here is how it can be done in 4 simple steps:
1. .XAP file which is produced as a result of the build and should be available in Bin/Debug or Bin/Release (we used Visual Studio 2010 to build our app) [1]
2. Install Windows Phone Developer Tools
3. Install Zune Client Software
4. Register the device using the Windows Phone Developer Registration Tool that is included in the Windows Phone Developer Tools. [2]
Tuesday, May 24, 2011
Sunday, December 5, 2010
Conference on Corporate Innovation & Entrepreneurship 2010
Dear All,
Please Join us at the CCIE ‘10 – Conference on Corporate Innovation & Entrepreneurship 2010 and Finals of BAP-2010 on 11th December 2010 at Pearl Continental Hotel, Karachi. We would also request that you forward this invitation to to your email list and post it on your blogs/websites.
Dr. Zahir Ali Syed
Co-Chair MITEFP

CCIE ‘10 – Conference on Corporate Innovation & Entrepreneurship 2010
Fostering Innovation in The Pakistan Entrepreneurial Ecosystem
December 11th, 2010 | Pearl Continental Hotel, Karachi | 09:00 am to 06:00 pm
Overview
For Pakistan to scale the ladder of development and be counted among the developed nations, it is vital that it has a thriving Entrepreneurial Eco-system. We at MIT Enterprise Forum of Pakistan (MITEFP: http://www.mitef-pakistan.org), over the past four years, have been working towards building this eco-system on a brick by brick basis. One of the activities towards this aim that we have been undertaking, for the past four years, is the Business Acceleration Plan (BAP) competition. Last year we expanded the scope of this activity by organizing a Conference on Corporate Innovation & Entrepreneurship (CCIE-2009) along with the competition. We are continuing this trend this year also and are organizing CCIE-2010 along with BAP -2010.
MITEFP is working with OPEN (Organization of Pakistani Entrepreneurs of North America) and Terrabiz for conducting the History Making MITEFP-OPEN Business Acceleration Program BAP-2010 & CCIE 2010. We are being provided guidance and leadership by Mr. Ken Morse, Founding MD, MIT Entrepreneurship Center & Mr. Bill Aulet, MD, MIT Entrepreneurship Center and Mr. Imran Sayeed, Chairman OPEN Global. We are also being supported by a number of other organizations.
MITEFP-OPEN BAP now in its fourth year has become one of the best programs of its kind in the world (as declared by Mr. Ken Morse, Founding MD, MIT Entrepreneurship Center). This history making initiative has the potential of having significant impact on the economic growth of Pakistan. The participating teams have reported that they benefited tremendously from participating in BAP-2007, BAP-2008 and BAP-2009. Similarly, CCIE-2009 Conference on Corporate Innovation & Entrepreneurship (CCIE 2009) was a huge success and now we are holding the second conference CCIE-2010 along with the fourth BAP.
Topics to be discussed:
· Culture of Creativity, Innovation, and Entrepreneurship
· Inevitable Journey: Trend-setting Enterprises journey from mid to large size
· Entrepreneurship & Incubation Centers and Entrepreneurship Education
· Fostering Innovation in The Pakistan Entrepreneurial Ecosystem
· Passing on the Baton: How Pakistani family businesses are Increasingly relying on professional managers to scale-up and modernize their businesses
C o n f e r e n c e S p o t l I g h t
Kenneth P. Morse, Founding Managing Director, MIT Entrepreneurship Center
Dr. Ishrat Husain, Dean & Director, Institute of Business
Administration
Hussain Dawood, Chairman, Karachi Education Initiative,
Engro Corp & The Dawood Group
Prof. Dr. S. Sohail H. Naqvi, Executive Director, Higher Education Commission
Imran Sayeed, Vice President, Keane, USA
Carlos Cashman, CEO, Constellation Inc.
Other Confirmed Judges, Speakers and Panelists:
Aftab Tapal, Owner & CEO, Tapal Tea (Private) Limited
Ali Jameel, CEO, Trakker Group
Ali Jehangir Siddiqui, Managing Partner, JS Private Equity
Aziz Memon, Chairman, Kings Group
Rear Amiral (R) M. Mushtaq, Pro-Rector Innovation & Entrepreneurship, NUST
Mohammad Sajid, Partner, JS Private Equity
Monis Rahman, Chairman & CEO, Naseeb Networks
Osman Saifullah, CEO, Saif Textile
Samad Dawood, CEO, Dawood Group
Scott Briggs, COO, Constellation
Seema Aziz, CEO, CARE and Bareeze
Sohail Naqvi, Exective Director, HEC
Zafar Khan, CEO, Sofizar
Zafar Siddiqui, Director, IBA-CED
“Showcasing Research at Pakistani Universities that are ready for Commercialization”
Session Chair:
Dr. Sohail Naqvi – Executive Director, HEC
Registration Fee:
Rs. 6,000/- per participant
Discounts for 2 or more participants from
the same organization with increasing discount % as participants increase
Includes Lunch, Refreshments and Business Networking & MITEFP Certificate, signed by
Kenneth P. Morse
TO REGISTER CONTACT:
TERRABIZ
Mohammed Phaysal
E-mail: phaysal@terrabizgroup.com
register@terrabizgroup.com
Mobile: +92 300 213 38 49 & +92 345 303 7045
Fax: +92 21 3455 7264
Phones: +92 21 3455 8539 & 3455 0431
Please Join us at the CCIE ‘10 – Conference on Corporate Innovation & Entrepreneurship 2010 and Finals of BAP-2010 on 11th December 2010 at Pearl Continental Hotel, Karachi. We would also request that you forward this invitation to to your email list and post it on your blogs/websites.
Dr. Zahir Ali Syed
Co-Chair MITEFP

CCIE ‘10 – Conference on Corporate Innovation & Entrepreneurship 2010
Fostering Innovation in The Pakistan Entrepreneurial Ecosystem
December 11th, 2010 | Pearl Continental Hotel, Karachi | 09:00 am to 06:00 pm
Overview
For Pakistan to scale the ladder of development and be counted among the developed nations, it is vital that it has a thriving Entrepreneurial Eco-system. We at MIT Enterprise Forum of Pakistan (MITEFP: http://www.mitef-pakistan.org), over the past four years, have been working towards building this eco-system on a brick by brick basis. One of the activities towards this aim that we have been undertaking, for the past four years, is the Business Acceleration Plan (BAP) competition. Last year we expanded the scope of this activity by organizing a Conference on Corporate Innovation & Entrepreneurship (CCIE-2009) along with the competition. We are continuing this trend this year also and are organizing CCIE-2010 along with BAP -2010.
MITEFP is working with OPEN (Organization of Pakistani Entrepreneurs of North America) and Terrabiz for conducting the History Making MITEFP-OPEN Business Acceleration Program BAP-2010 & CCIE 2010. We are being provided guidance and leadership by Mr. Ken Morse, Founding MD, MIT Entrepreneurship Center & Mr. Bill Aulet, MD, MIT Entrepreneurship Center and Mr. Imran Sayeed, Chairman OPEN Global. We are also being supported by a number of other organizations.
MITEFP-OPEN BAP now in its fourth year has become one of the best programs of its kind in the world (as declared by Mr. Ken Morse, Founding MD, MIT Entrepreneurship Center). This history making initiative has the potential of having significant impact on the economic growth of Pakistan. The participating teams have reported that they benefited tremendously from participating in BAP-2007, BAP-2008 and BAP-2009. Similarly, CCIE-2009 Conference on Corporate Innovation & Entrepreneurship (CCIE 2009) was a huge success and now we are holding the second conference CCIE-2010 along with the fourth BAP.
Topics to be discussed:
· Culture of Creativity, Innovation, and Entrepreneurship
· Inevitable Journey: Trend-setting Enterprises journey from mid to large size
· Entrepreneurship & Incubation Centers and Entrepreneurship Education
· Fostering Innovation in The Pakistan Entrepreneurial Ecosystem
· Passing on the Baton: How Pakistani family businesses are Increasingly relying on professional managers to scale-up and modernize their businesses
C o n f e r e n c e S p o t l I g h t
Kenneth P. Morse, Founding Managing Director, MIT Entrepreneurship Center
Dr. Ishrat Husain, Dean & Director, Institute of Business
Administration
Hussain Dawood, Chairman, Karachi Education Initiative,
Engro Corp & The Dawood Group
Prof. Dr. S. Sohail H. Naqvi, Executive Director, Higher Education Commission
Imran Sayeed, Vice President, Keane, USA
Carlos Cashman, CEO, Constellation Inc.
Other Confirmed Judges, Speakers and Panelists:
Aftab Tapal, Owner & CEO, Tapal Tea (Private) Limited
Ali Jameel, CEO, Trakker Group
Ali Jehangir Siddiqui, Managing Partner, JS Private Equity
Aziz Memon, Chairman, Kings Group
Rear Amiral (R) M. Mushtaq, Pro-Rector Innovation & Entrepreneurship, NUST
Mohammad Sajid, Partner, JS Private Equity
Monis Rahman, Chairman & CEO, Naseeb Networks
Osman Saifullah, CEO, Saif Textile
Samad Dawood, CEO, Dawood Group
Scott Briggs, COO, Constellation
Seema Aziz, CEO, CARE and Bareeze
Sohail Naqvi, Exective Director, HEC
Zafar Khan, CEO, Sofizar
Zafar Siddiqui, Director, IBA-CED
“Showcasing Research at Pakistani Universities that are ready for Commercialization”
Session Chair:
Dr. Sohail Naqvi – Executive Director, HEC
Registration Fee:
Rs. 6,000/- per participant
Discounts for 2 or more participants from
the same organization with increasing discount % as participants increase
Includes Lunch, Refreshments and Business Networking & MITEFP Certificate, signed by
Kenneth P. Morse
TO REGISTER CONTACT:
TERRABIZ
Mohammed Phaysal
E-mail: phaysal@terrabizgroup.com
register@terrabizgroup.com
Mobile: +92 300 213 38 49 & +92 345 303 7045
Fax: +92 21 3455 7264
Phones: +92 21 3455 8539 & 3455 0431
Thursday, December 2, 2010
Startup Sunday @ T2F
Startup Sunday @ T2F (Karachi)
http://www.facebook.com/home.php?#!/event.php?eid=127561320638546
If one does not use facebook, you can find the event here:
http://www.t2f.biz/category/events/
http://www.facebook.com/home.php?#!/event.php?eid=127561320638546
If one does not use facebook, you can find the event here:
http://www.t2f.biz/category/events/
Thursday, July 15, 2010
MIT Enterprise Forum, Pakistan - Business Acceleration Program 2010
MIT Enterprise Forum, Pakistan - Business Acceleration Program 2010
The program is in its 4th year. The introductory sessions are already over. Nonetheless, one can still apply if one qualifies.
The success story which they often refer to is that of Sofizar (a Lahore based software company), whose revenues before the program were USD 800 K in 2007 and were USD 30 M in 2009.
The program is in its 4th year. The introductory sessions are already over. Nonetheless, one can still apply if one qualifies.
The success story which they often refer to is that of Sofizar (a Lahore based software company), whose revenues before the program were USD 800 K in 2007 and were USD 30 M in 2009.
Monday, June 28, 2010
Launchpad by P@SHA in Karachi on 27 June 2010
I attended the launchpad event arranged by P@SHA, yesterday. PSEB and Microsoft were two of the main sponsors.
P@SHA and PSEB are displaying the sort of public private partnership that we need in many other strata of our society. It is heartening to see that events for the promotion of entrepreneurship are taking place in Pakistan. We at RIKSOF, believe that entrepreneurs are an essential asset to society, as they cause creative destruction of its status quo. Even more encouraging was the fact that most of the presentations were either from final year students or fresh out of college grads. And keeping in mind the limitations of startups, P@SHA had arranged one in Lahore on Saturday too.
Without keeping you too bogged down in the spiral of my thoughts, following is the list of presented:
1. Arzi Rehaish - In comparison to bastee.pk and other such real-estate websites, the niche here is arzi or temporary accommodation specifically for bachelors. According to the conceiver's market research there is a greater need for that in Islamabad and Pindi followed by Lahore and then Karachi.
2. H2O or HR2O, presented by Asim Naseem Siddiqui, was an idea to build an eco-system for HR Consultants. The most interesting part for one of the judges was that data from the jobs posted would be used to analyze/suggest salary ranges for that job in the industry. What I found interesting was also the fact that he wanted to build a network for HR consultants, so that referrals from former employers could be shared as well. Mr. Siddiqui himself has been a HR consultant himself for 3 years. This should help cover the trust deficit while hiring in our society.
3. Kitabain - is a sister of the successful business venture of thereadersclub , by Usman Siddiqui, who took the first prize for kitabain this year and thereadersclub in last year's launchpad.
4. Foot Mouse - presented by Muhammad Ahsan from NED University was having the mouse in your feet, so that you can have your hands free for the keyboard, should be good for disabled people and as one of the judges said, could be used to produce an exhilarating game with 2 in the feet and 2 in the hands. Interestingly this young lad had also done sort of a market research, even though this was his final year project. According to that, a Foot Mouse currently available is at the cost of 359 USD. He built one in 700 PKR. A question from the judge, how long would it take and how much would it cost/unit to manufacture 100,000 units, couldn't be answered. Shared the second prize with tagit.
May be it would be good for you to somehow get in touch with Mr. Sheryar Hydri of Trango Interactive. Last time I heard him, he seemed to be passionate about development in general, with his current focus on game development.
5. Pakpolling - by Syed Ali Naqi - presented the idea of using the already available databases of NADRA and PTA for voting either through fingerprints or SMS. As judges pointed out that this should greatly increase the voter turn-out. However, as soon as one claims that his main customer would be the government, the difficult question to answer is "How would you sell?" Another important question from the judges was how much should a voting unit based on finger-print recognition cost. A judge also asked them to refer to UNI voting system being implemented in India.
6. Rensoy - by Adnan Muzaffar - presented a search tool/assistant - As I commented yesterday, you probably haven't done much research on "semantic search engines". And I think Google's wonder wheel is already a step in that direction, with a much simpler interface than Rensoy's. I think you should restart your market survey from here:
i. Semantic Search Engines
ii. Power Search Tool
7. Reflex 360 IDRH - Internet Development and Research Center - presented by a couple of students who had graduated from NED University. The idea is to have a software development center which actually funds a research and development center. They needed a seed money of 2.5 million to raise awareness about "how important is the research/thinking culture in a society". Most of the time was spent explaining just what would be done with the money earned from the software house. What you need to explain to get money from an investor is that how do you plan to generate money from the software house.
8. GSM/GPRS based tracking tool - A software service for companies to track their assets/personnel. They are probably already collaborating with an ambulance service. The advantage that they have over uTrack and other such tracking services is of course that this tool is Telco independent.
9. SEO Analysis Tool - presented by Sadia Allauddin - An automated tool to analyze why a web page won't show up in Google's search results, built by 2 ladies as a final year project in NED University. They were already invited by one of the judges for a talk. Congratulations and Good luck, an investor's time is as important as his/her money.
10. Dhaba - A food ordering service. An already existing service was mentioned by the judges, which I cannot recall now.
11. Global Learning - presented by Subhan Gillani of Gillani Soft - The idea is to have an online learning tools/lectures resource.
12. FYDEST - Find Your Destination - An SMS based tool to find the shortest, easiest and fastest path from tagged points in a city. The most important question How do you get runtime traffic information? There are a lot of stake-holders/risk involved here
13. Shahzebsaeed.com - Selling high-quality shirts without a retail outlet. Is still a student at IBA. Setup the company with a 15,000 savings from his internship.
14. Pakipay - A mobile payment service similar to Telenor's Easy paisa but telco independent. Comment from the judges is to go back and get some feedback from a finance specialist. There is State Bank involved wherever there are financial transactions, and that is probably why Telenor's Easy paisa has Tameer Bank involved. I, personally think that you do need to get a bank involved in between.
15. Telecom Clicking GE - built and presented by two ladies in their final year at NED University, is a tool to assist RF planners inside Telcos. The idea is to have information about 3D buildings etc on mapinfo. Currently, the RF planners use Google Earth to get information about construction(s) in a location and terrain info from mapinfo. Switching between tools is a hassle which they are attempting to target.
16. Help Me - presented by Farzal Dojki
A review here
17. Kidsconvent.com - A school for all ages, lectures audio/animated prepared with experts on different subjects available on DVDs and on line so that anyone can teach children with a unified syllabus. According to them they already have a contract to deploy this material in 40 model schools that CDGK is building.
18. Tagit - An SMS based tagging service, where for example lipton can be tag and people can subscribe for updates to this tag. They shared the second prize with Foot Mouse, they did have a good presentation, but I personally could not differentiate them from chopaal and pringit combined. More on that combination here: http://www.codeweek.pk/2010/02/chopaal-pringit-social-networking-tide-in-pakistan/
In the end I would like to apologize if I have misspelled anyone's names. Congratulations and Good luck to all of you in being the cause of the change you want.
P@SHA and PSEB are displaying the sort of public private partnership that we need in many other strata of our society. It is heartening to see that events for the promotion of entrepreneurship are taking place in Pakistan. We at RIKSOF, believe that entrepreneurs are an essential asset to society, as they cause creative destruction of its status quo. Even more encouraging was the fact that most of the presentations were either from final year students or fresh out of college grads. And keeping in mind the limitations of startups, P@SHA had arranged one in Lahore on Saturday too.
Without keeping you too bogged down in the spiral of my thoughts, following is the list of presented:
1. Arzi Rehaish - In comparison to bastee.pk and other such real-estate websites, the niche here is arzi or temporary accommodation specifically for bachelors. According to the conceiver's market research there is a greater need for that in Islamabad and Pindi followed by Lahore and then Karachi.
2. H2O or HR2O, presented by Asim Naseem Siddiqui, was an idea to build an eco-system for HR Consultants. The most interesting part for one of the judges was that data from the jobs posted would be used to analyze/suggest salary ranges for that job in the industry. What I found interesting was also the fact that he wanted to build a network for HR consultants, so that referrals from former employers could be shared as well. Mr. Siddiqui himself has been a HR consultant himself for 3 years. This should help cover the trust deficit while hiring in our society.
3. Kitabain - is a sister of the successful business venture of thereadersclub , by Usman Siddiqui, who took the first prize for kitabain this year and thereadersclub in last year's launchpad.
4. Foot Mouse - presented by Muhammad Ahsan from NED University was having the mouse in your feet, so that you can have your hands free for the keyboard, should be good for disabled people and as one of the judges said, could be used to produce an exhilarating game with 2 in the feet and 2 in the hands. Interestingly this young lad had also done sort of a market research, even though this was his final year project. According to that, a Foot Mouse currently available is at the cost of 359 USD. He built one in 700 PKR. A question from the judge, how long would it take and how much would it cost/unit to manufacture 100,000 units, couldn't be answered. Shared the second prize with tagit.
May be it would be good for you to somehow get in touch with Mr. Sheryar Hydri of Trango Interactive. Last time I heard him, he seemed to be passionate about development in general, with his current focus on game development.
5. Pakpolling - by Syed Ali Naqi - presented the idea of using the already available databases of NADRA and PTA for voting either through fingerprints or SMS. As judges pointed out that this should greatly increase the voter turn-out. However, as soon as one claims that his main customer would be the government, the difficult question to answer is "How would you sell?" Another important question from the judges was how much should a voting unit based on finger-print recognition cost. A judge also asked them to refer to UNI voting system being implemented in India.
6. Rensoy - by Adnan Muzaffar - presented a search tool/assistant - As I commented yesterday, you probably haven't done much research on "semantic search engines". And I think Google's wonder wheel is already a step in that direction, with a much simpler interface than Rensoy's. I think you should restart your market survey from here:
i. Semantic Search Engines
ii. Power Search Tool
7. Reflex 360 IDRH - Internet Development and Research Center - presented by a couple of students who had graduated from NED University. The idea is to have a software development center which actually funds a research and development center. They needed a seed money of 2.5 million to raise awareness about "how important is the research/thinking culture in a society". Most of the time was spent explaining just what would be done with the money earned from the software house. What you need to explain to get money from an investor is that how do you plan to generate money from the software house.
8. GSM/GPRS based tracking tool - A software service for companies to track their assets/personnel. They are probably already collaborating with an ambulance service. The advantage that they have over uTrack and other such tracking services is of course that this tool is Telco independent.
9. SEO Analysis Tool - presented by Sadia Allauddin - An automated tool to analyze why a web page won't show up in Google's search results, built by 2 ladies as a final year project in NED University. They were already invited by one of the judges for a talk. Congratulations and Good luck, an investor's time is as important as his/her money.
10. Dhaba - A food ordering service. An already existing service was mentioned by the judges, which I cannot recall now.
11. Global Learning - presented by Subhan Gillani of Gillani Soft - The idea is to have an online learning tools/lectures resource.
12. FYDEST - Find Your Destination - An SMS based tool to find the shortest, easiest and fastest path from tagged points in a city. The most important question How do you get runtime traffic information? There are a lot of stake-holders/risk involved here
13. Shahzebsaeed.com - Selling high-quality shirts without a retail outlet. Is still a student at IBA. Setup the company with a 15,000 savings from his internship.
14. Pakipay - A mobile payment service similar to Telenor's Easy paisa but telco independent. Comment from the judges is to go back and get some feedback from a finance specialist. There is State Bank involved wherever there are financial transactions, and that is probably why Telenor's Easy paisa has Tameer Bank involved. I, personally think that you do need to get a bank involved in between.
15. Telecom Clicking GE - built and presented by two ladies in their final year at NED University, is a tool to assist RF planners inside Telcos. The idea is to have information about 3D buildings etc on mapinfo. Currently, the RF planners use Google Earth to get information about construction(s) in a location and terrain info from mapinfo. Switching between tools is a hassle which they are attempting to target.
16. Help Me - presented by Farzal Dojki
A review here
17. Kidsconvent.com - A school for all ages, lectures audio/animated prepared with experts on different subjects available on DVDs and on line so that anyone can teach children with a unified syllabus. According to them they already have a contract to deploy this material in 40 model schools that CDGK is building.
18. Tagit - An SMS based tagging service, where for example lipton can be tag and people can subscribe for updates to this tag. They shared the second prize with Foot Mouse, they did have a good presentation, but I personally could not differentiate them from chopaal and pringit combined. More on that combination here: http://www.codeweek.pk/2010/02/chopaal-pringit-social-networking-tide-in-pakistan/
In the end I would like to apologize if I have misspelled anyone's names. Congratulations and Good luck to all of you in being the cause of the change you want.
Saturday, May 1, 2010
Send email with attachment.
If you want to send email with attachment in PHP then just copy the code from the below link, paste it to your myfile.php & upload to your server & see its magic.
Thursday, April 15, 2010
Generating a MySQL database alter script using MySQLWorkbench
MySQL Workbench facilitates in generating mysql database creation and alteration scripts. Though the creation is straighforward, (File > Export > Forward Engineer SQL Create Script), a correct alteration script isn't simply generated.
One more thing about creation, before I can delve into the work around required for generating alteration script using MySQL Workbench is that, when we generate the create script, the tool adds the db qualifier mydb by default. And, there is no way I could find to change that. So, I remove the qualifier manually whenever I generate the script.
Now, if we have a working database, for which a mysql creation script does not exist or even if it does, it most probably won't contain the mydb qualifier, without which the MySQL Workbench does not generate a correct alteration script. So, for the alter script generation to work correctly:
One more thing about creation, before I can delve into the work around required for generating alteration script using MySQL Workbench is that, when we generate the create script, the tool adds the db qualifier mydb by default. And, there is no way I could find to change that. So, I remove the qualifier manually whenever I generate the script.
Now, if we have a working database, for which a mysql creation script does not exist or even if it does, it most probably won't contain the mydb qualifier, without which the MySQL Workbench does not generate a correct alteration script. So, for the alter script generation to work correctly:
- Export the existing database structure using any mysql client as a script.
- In MySQL Workbench: File > Import > Reverse Engineer MySQL Create Script
- File > Export > Forward Engineer MySQL Create Script, will generate the sql create script for the existing database with the mydb qualifier.
- File > Export > Forward Engineer MySQL Alter Script.
- Input File: is the path to the sql script for existing database, with the mydb qualifier (the one that was generated in Step 3).
- Output File: is the path to the alteration file, that is to be generated.
- Select Next
- Select Execute
- Now, one can remove the mydb qualifier from the generated file (using search/replace in one's favorite editor)
Monday, January 11, 2010
How to format usb flash drive in ubuntu.

Instructions
- Plug your flash drive into an empty USB port, then back up any data on the drive. Open the main menu, move your cursor over "Accessories," then click on "Terminal." At the terminal prompt type "sudo apt-get install gparted" (without quotes) then hit the "Enter" key on your keyboard.
- Enter your Ubuntu administrator password when prompted, then hit the "Enter" key again. This will download and install GParted which is an open source drive partitioning program.
- Go to the Ubuntu main menu after the installation is complete, move your cursor over "System," then "Administration," then click on "Partition Editor." Enter your administrator password when prompted, then click "OK."
- Click on "GParted" in the toolbar then hover over "Devices" and select your USB flash drive from the list (dev/sdb1 for example). Right-click on the device in the main GParted window, then click "Unmount." It may take a few minutes for the device to be unmounted.
- Right-click on the device again (after it is umnounted) then hover over "Format to." Select the desired file system type (RiserFS, linux-swap, Ext 2/3, or FAT16/32 for example), then click "Apply" in the toolbar. Depending on the size of the flash drive, it will take 3 to 4 minutes or so for GParted to complete the process.
- Close GParted after the flash drive is formatted. To mount your USB flash drive, unplug it and then plug it back in. The drive is now ready to store data in the file format you selected.
Friday, January 8, 2010
How to create Paypal Buy Now Button in Paypal SandBox - Testing Environment.(Part 2)
How to create Paypal Buy Now Button in Paypal SandBox - Testing Environment.
Simply follow the instructions available on the link as follow:
http://hubpages.com/hub/How-to-refund-back-to-your-customer-using-Paypal
Simply follow the instructions available on the link as follow:
http://hubpages.com/hub/How-to-refund-back-to-your-customer-using-Paypal
Thursday, December 31, 2009
Saturday, December 19, 2009
ALERT

A : Attention
L : Life
E : Emergency
R : Rush up
T : Think about it...!
Friday, 18-Dec-2009, about 9:00 am, in Rimpa Plaza, Karachi, Pakistan.....
There was load shedding our laptops bettry became low so we decide to take tea from outside. But when we came out from our office & go towards stairs some peoples were ran upstairs & said there is fire on 6th floor in a store-room exactly next over our office room. Some of our friends immediately rush up out from the plaza & the other were return to office & shift our laptops to our head office. In th mean time all channels team, police, rescue, ambulance, fire brigade reached & try to stop the fire as soon as possible. Thanks to Allah no one was injered except the 6th floor & the fire became cool after a great efforts. Then after Jumma pray we deside to go back to our home.
Conclusion:
I think that was happened only due to poor security & safty precautions which should be taken by the Plaza owner.
And also office owners must have to choose those place to setup their business where all facilities are available like transport should available for (all) employees & similarly other facilities to face such accidents like on Friday.
Opinion:
In Karachi i think the best location to setup once business is from NIPA to Hassan Square because NIPA is the center to all routs.
Excuse:
There may be some English mistakes so please forgive it.
Thanks.
Friday, November 20, 2009
Create subdomain on localhost in linux
Question: Let suppose i have a web site www.webspot.com. Now I want to create a subdomain sub.domain.com, and when I enter it in my browser, I want to go to the same web site (www.webspot.com).
Answer: Simply on terminal type
then type:
now restart apache2 by using:
Answer: Simply on terminal type
- sudo gedit /etc/apache2/sites-available/your-web-site
ServerName webspot.com
DocumentRoot /var/www/your-website/public
ServerAlias sajid.webspot.com
ServerAlias naveed.webspot.com
ServerAlias nasir.webspot.com
ServerAlias ihsan.webspot.com
ServerAlias zeeshan.webspot.com
Options FollowSymLinks
AllowOverride All
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
then type:
- gedit /etc/hosts
127.0.0.1 localhost
127.0.0.1 webspot.com
127.0.0.1 sajid.webspot.com
127.0.0.1 naveed.webspot.com
127.0.0.1 nasir.webspot.com
127.0.0.1 ihsan.webspot.com
127.0.0.1 zeeshan.webspot.com
127.0.1.1 sajid-laptop
now restart apache2 by using:
- sudo /etc/init.d/apache2 restart
Monday, September 14, 2009
OpenID

OpenID is a standard for user authentication. OpenID allow users to get access to different web services with the same digital identity. By using one OpenID we does not need to create different accounts for different web services.
An OpenID is a unique URL and authenticated by user's OpenID provider. The OpenID protocol does not work on a central authority for user's identity authentication. OpenID reduce frustration associated with maintaining multiple usernames and passwords and is the safer and easier method to joining new sites.
How to get OpenID:
How to login with OpenID?
1. When you visit a site that support OpenID and need authentication, you will see a form like this.
2. Enter your OpenID or your OpenID provider URL (for example yahoo.com) into the form.
3. Your browser will send you to your OpenID provider login form.
4. Login to your OpenID provider site with your username and password.
5. Tell your provider that the original web site can use your identity. You are then sent back to the original website as authenticated user.
An OpenID is a unique URL and authenticated by user's OpenID provider. The OpenID protocol does not work on a central authority for user's identity authentication. OpenID reduce frustration associated with maintaining multiple usernames and passwords and is the safer and easier method to joining new sites.
How to get OpenID:
You may already have an OpenID. If you are using Google, Yahoo, Facebook etc , you does not need to create a new one. OpenID authentication is provided by several large websites. Several organizations either provide or accept OpenIDs, including Google, Facebook, Yahoo!, Microsoft, AOL, MySpace, Sears, etc.
How to login with OpenID?
1. When you visit a site that support OpenID and need authentication, you will see a form like this.
2. Enter your OpenID or your OpenID provider URL (for example yahoo.com) into the form.3. Your browser will send you to your OpenID provider login form.
4. Login to your OpenID provider site with your username and password.
5. Tell your provider that the original web site can use your identity. You are then sent back to the original website as authenticated user.
Friday, August 21, 2009
Goal Setting
Five Rules to set yourself up for Success
You think about what you want to be doing in your life? Are you clear about what your main objective at work is at moment? Do you know what you want to achieved by the end of today?
If you want to succeed, you need to set goals. Without goals you lack of focus and direction. Goal setting allows you to take control of your life direction and it also provides you a benchmark for determining whether you are actually succeeding.
To achieved your goal, however, you need to know how to set them.
Here are the Five Golden Rules of Goal Setting.
Rule 1: Set Goals that Motivates You.
Rule 2: Set SMART Goals.
Rule3 : Set Goals in Writing.
Rule4 : Make an Action Plan.
Rule5 : stick With it.
If you want to succeed, you need to set goals. Without goals you lack of focus and direction. Goal setting allows you to take control of your life direction and it also provides you a benchmark for determining whether you are actually succeeding.
To achieved your goal, however, you need to know how to set them.
Here are the Five Golden Rules of Goal Setting.
Rule 1: Set Goals that Motivates You.
Rule 2: Set SMART Goals.
Rule3 : Set Goals in Writing.
Rule4 : Make an Action Plan.
Rule5 : stick With it.
Monday, August 17, 2009
Install Mysql on UBUNTU
MySQL Workbench can be easily installed on Ubuntu/Gnome. Just download the binary .deb file from the MySQL web site for workbench (currently named mysql-workbench-oss-5.1.16-1_i386.deb), save it to your home directory. Then run:
sudo apt-get install liblua5.1-0 libzip1Then, you have MySQL Workbench listed under "Applications > Programming".
sudo dpkg -i mysql-workbench-oss-5.1.16-1_i386.deb (adapt the name accordingly)
Labels:
database,
Installing software on ubunto,
linux,
open source,
software,
ubuntu
Sunday, August 16, 2009
Friday, August 7, 2009
Zend Framework on ubuntu

Follow me ....
- Download Zend Framework (.rar or .tar) from http://framework.zend.com/
- Un-rar and copy this folder to /var/www/
- Remove version number from that downloaded folder for example,Zend Framework-1.9.0 to Zend Framework.
- Goto Terminal type :
- gedit ~/.profile
Now type the path where you past Zend Framework but must follow the placement of line, see below image.
Now simply type an ALIAS which you want to reference to your website on localhost, for instance for my website i write " mywebz ", but must follow the format : Alias /mywebz "/var/www/myweb/public"
Now save and close this file.- Atlast to set the above configuration you must restart the apache server.
- To resatrt apache server, in Terminal type :
- sudo /etc/init.d/apache2 restart
To test your configuration, in Terminal type :
- echo $PATH
/var/www/ZendFramework:/var/www/ZendFramework/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
then fine.
- Now type in Terminal :
- cd /var/www/web_folder
- Finally type :
- zf.sh
Congratulation ... !You have installed Zend Framework successfully .
Saturday, August 1, 2009
jQuery: Working with Checkboxes
In jQuery sometime you have to work with checkboxes. Find a checkbox by its attributes, Check a checkbox is checked or not and check a checkbox. Their are some related tricks.
Find checkboxes:
$('input[type="checkbox"]') (get all checkboxes)
$('input[name="mycb"]') (get checkbox named mycb)
Get checkboxes Attributes:
$('#myCheckbox').attr('name') (return name of checkbox)
$('#myCheckbox').attr('checked') (return true or false)
Checked or Not:
$('#myCheckbox').is(':checked') (return true if checked)
Check/Uncheck a Checkbox:
$('input[name="mycb"]').attr("checked",false); (uncheck named mycb)
$('input[type="checkboxes"]').attr("checked",true); (check all)
Find checkboxes:
$('input[type="checkbox"]') (get all checkboxes)
$('input[name="mycb"]') (get checkbox named mycb)
Get checkboxes Attributes:
$('#myCheckbox').attr('name') (return name of checkbox)
$('#myCheckbox').attr('checked') (return true or false)
Checked or Not:
$('#myCheckbox').is(':checked') (return true if checked)
Check/Uncheck a Checkbox:
$('input[name="mycb"]').attr("checked",false); (uncheck named mycb)
$('input[type="checkboxes"]').attr("checked",true); (check all)
Tuesday, July 28, 2009
Creating simple form in Zend Framwork


Zend frame work has a component called zend_form used for creating forms.
It simplify the process of form validation, data filtering, and data storage.
To create a simple form in zend follow the steps:
1- Create a simple form class and place it in application/forms/Simple_Form.
2- Add some element in the Simple_Form class.
3- Create a controller for the Simple_Form using the following command.
(your project path)#zf.sh create controller simple
It will be created in application/controllers/mycontroller.php. It will also create
a folder name 'simple' in application/view/scripts/simple/index.phtml
4- You can also create actions in the controller by using following command.
(your project path)#zf.sh create action myaction simple
After creating an action it would place a file name 'myaction.phtml' in
application/view/scripts/simple/myaction.phtml
Now place an object of your form class in this action.
public function myaction() {
$form = new Simple_Form();
$this->view->form = $form;
}
5- To see the form place the following line in the myaction.phtml file.
$echo $this->form;
Subscribe to:
Posts (Atom)


