Today we are going just to detect Shake Motion gesture on iPhone or iPad. We are going to create a new Universal application. Just create a new project, select single view and select “Universal” on devices option Now you have a delegate and one “ViewController”. Open the .xib file and …
Read More »Bad Request Your browser sent a request that this server could not understand
I faced the problem when I was configuring the Drupal for Facebook module to add a Facebook registration form. I tried couple of things but none of them worked. So after banging my head I found out that this is due to “GET request limit” set in your server …
Read More »Difference between Asp.NET Profile Properties and Session State Properties?
First of all, there are a lot of similarities between both of them as both monitor a specific user’s action on your site on server side and every user has his different session state and Profiles. The biggest difference is that Session state is lost when user end his session …
Read More »Adding dynamic form elements using AHAH in Apply for for role Module
In Drupal AHAH is the best practice for adding removing from elements dynamically I am not going to explain the basics if anyone want to learn what is AHAH go to http://drupal.org/node/331941. I have been using apply for role module in the registration form. I got a task form my client …
Read More »How to create a new project in XCode
This post is just to let you guys know how to create a new project in Xcode 4.x. So First of all open the Xcode from your Applications folder or search “Xcode” in spotlight. When xcode is opened now you have to follow these steps Click on “File” available in …
Read More »Enable or Disable ARC on single file in a Project
ARC (Automatic Reference Counting) was introduced in iOS 5.0 SDK. Although there is no difference in the execution of an ARC program and a well written MRC (Manual Reference Counting), it is good to use ARC if it is annoying for you to manually keep track of reference counting of …
Read More »Debugging in Classic Asp
Classic Asp is kind of old fashioned or even a historical language for some folks but if you are a part of a team which is responsible for maintenance of a huge application, you have to live with Classic Asp and its limitations. Because Asp is a server side language …
Read More »Increase Drupal Performance by using Memcache
When site starting to get bigger with thousands of users and millions of records in database and lots of traffic performance becomes a major issue. Drupal is very powerful tool but it requires some fine tuning. I have built sites with thousands of users and hundreds of modules. What is …
Read More »Username and Password in SQL Server
User Names and passwords are saved in sys.syslogins table of Master DB but SQL Server doesn’t save passwords in plain or encrypted form for the obvious purpose of Security. When you query sys.syslogins table, it will return an un-readable string in password field. Passwords are saved in hashes and because …
Read More »10 Basic Tasks To Complete Before Publish Post in WordPress
Basic Tasks To Complete Before Publish Post in WordPress If you want to get the most out of your blogging strategy and excellent content you post so hard, you need to perform some optimization, design and performance that allow you to have better results, more visits and conversions. Essential Tasks …
Read More »