querying (AD) active directory server using ldapsearch

Please download the following on your AS server http://adsi.mvps.org/adsi/csharp/beavertail.html unzip the file and run the exe file .. you ...

Job Search Sites

Job Search Engines 1) http://www.Indeed.co.in 2) http://India.Recruit.net 3) http://www.Simplyhired.co.in Job Sites 1) http:...

openssl keys

create the private key openssl genrsa -des3 -out domain.com.key 2048 create the csr cert openssl req -new -key domain.com.key -o...

installing evolus-pencil on ubuntu x 86 arch .

download the evolus-pencil from http://code.google.com/p/evoluspencil/downloads/list and install on ubuntu x86 arch dpkg -i --force...

date range function in perl

This is a date range function that give you a array of all the dates you specify in datestart and dateend sub daterange { my $dat...

To show custom background image for UIToolbar in both i0S 4.0 and iOS 5.0.

UIImage *toolBarImage = [UIImage imageNamed: @"toolBar_brown.png"];    if ([toolBar respondsToSelector:@selector(setBackgroundImag...

installing a simple dns server on centos

A simple and fast set up for a DNS server on cent OS  yum install bind bind-chroot bind-libs bind-utils [root@mail /]# cat  /etc/named.conf ...

open: /etc/rndc.key: file not found ( solved )

If you trying to install a simple dns server and you come accros this error : # /etc/init.d/named start Starting named: Error in named confi...

not able to find updatedb on centos

updatedb is a command that  updates the database for the locate command to find files on a file system . if you are not able to find the upd...

Disabling data detectors for only specific HTML tags in UIWebView

To disable data detectors for certain tags in UIWebView, use the "x-apple-data=detectors=false" attribute to the tag as follows: &...

not able to create directories in /net

If unable to create directories in /net , then we need to remove autofs yum remove autofs now try mkdir -p /net/dir1/dir2

Get the version of my iPhone app programmatically

One can fetch their application version number with following line of code: NSString *currentAppVersion = [[ NSBundle mainBundle ] objectF...

how to log automatically as root in konsole

Need to put an entry in the ~/bashrc file , which runs by default on open of  konsole this is the entry log in as user the normal user vi ~/...

Path of installed JDK on mac system

The JDK gets installed at the following path on Mac system : /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home We can always...

Code snippet to identify whether a device supports retina display or not.

To identify programmatically if a device supports retina display, use the below snippet code: if ([[UIScreen mainScreen] respondsToSelector:...

courier IMAP/POP error -- ERR chdir Maildir failed

If you are getting the following error in maillog tail -f /var/log/maillog  Feb 1019:20:01 test courierpop3login: chdir Maildir: No such fil...

Compleate websbased perl cgi script for commenting and email notification

The Following script is a perl cgi script ( commenting systems ) . This has 3 parts  1 . Basic HTML  2. the  HTML source  3. the CGI perl ...

Issues with receiving push notification

Please refer the following troubleshooting steps if you are facing any issues with receiving push notification : https://developer.apple.com...

How to add snippets of you post on blogger

Log into your control panel ->  edit HTML -> back up your blog before you make any changes find the following : <data:post.body /&g...

Efficiently import data into a Core Data application

Refer the following apple documentation to efficiently import data into a core data application: http://developer.apple.com/library/mac/#doc...

php difference in date - month

<?php $d1=date('2011-1-1'); $d2=date('2011-5-2'); echo "the date d1 =  ".$d1."<br>"; echo "...

How to create iPhone and iPad version of an application (Creating universal app)

Simple steps to create a universal app of an existing app : 1) Create two set of view controllers related to iPhone and iPad with postfix &q...

Implementing apple push notification

Please refer this link to learn how to implement apple push notification: http://mobiforge.com/developing/story/programming-apple-push-notif...

Where is binary file created while building any iPhone app in Xcode 4.2

The binary file(.app) is created in the below path : /Library/Developer/Xcode/DerivedData/{Project Name}/Build/Products We can directly go t...

iPhone/iPod Touch: Icon.png: icon dimensions (0 x 0) don’t meet the size requirement. The icon file must be 57×57 pixels, in .png format.

While validating the application for an iPhone application, if you get the following error message :"iPhone/iPod Touch: Icon.png: icon ...

Signing Your android applications

http://developer.android.com/guide/publishing/app-signing.html

How to find out the intel processor configuration .

http://ark.intel.com/products/52224/Intel-Core-i5-2410M-Processor-%283M-Cache-2_30-GHz%29

blogger template editor

http://download.cnet.com/YouCMSAndBlog-WYSIWYG-IDE/3000-10247_4-10835719.html just to let everyone know to try out new free WYSIWYG editor f...

learning python

http://learnpythonthehardway.org/book/ ""I've wasted months struggling what language to earn firtst either C or Python, and...