Posts

Showing posts from 2012

Satya Mev Jayte..

Tera rung aisa chadh gaya Koi aur rang naa chadh sake Tera naam seene pe likha Har koi aake padh sakey Hai junoon hai junoon hai Tere ishq ka ye junoon hai Rag rag mein ishq tera daudta Yeh bawraa sa khoon hai Tune hi sikhaya sachchaiyon ka matlab Tere paas aake jaana maine zindagi ka maqsad Satyamev... satyamev... satyamev jayate Sachcha hai pyaar tera, satyamev jayate Tere noor ke dastoor mein Na ho salwatein na shikan rahe Meri koshishein toh hai bas yahin Rahein khushbooein gulshan rahe Teri zulf suljhane chala Tere aur paas aane chala Jahan koi sur na ho be-sura Woh geet main gaane chala Tera rang aisa chadh gaya Tha nasha jo aur bhi badh gaya Teri barishon ka karam hai ye Main nikhar Gaya main sanwar gaya Jaisa bhi hoon apna mujhe Mujhe ye nahin hai bolna Qaabil tere main ban sakoo Mujhe dwaar aisa kholna Saanson ki iss raftaar ko Dhadkan ke iss tyohaar ko Har jeet ko har haar ko Khud apne iss sansaar ko Badloonga main tere liye Mujhe khud ko...

The year 2038 problem : Unix Millennium Bug, Y2K38 or Y2.038K

The year 2038 problem : Unix Millennium Bug, Y2K38 or Y2.038K Hey friends, some systems which are using unix timestamp at various step may cause error after 2038. The problem affects all software and systems that stores both system time as a signed 32-bit integer. For such sytems time beyond 19 Jan 2038  will "wrap around" and be stored internally as a negative number, which will counted as a date in 1901 rather than 2038. Affect of this in PHP: php's strtotime function fails to create timestamp if date is above then year 2038 and the server stores timestamp with 32 bit signed integer. (my local packages fails to create timestamp ) Solution : There is no particular system solution have been arrived yet for this. First solution from some people is to use unsigner 32 bit integer for time stamp so it will increase the availibility of time stamp till 2106 but still after that it will not useful and may create other problems in system. same way ...

Creating nodes programmatically in Drupal (including cck and location fields)

Creating a new node in drupal is trivial, but when the node includes custom cck fields, then a few things can trip you up. To save time and energy, here’s a quick guide and some tips to make your drupal life easier. Creating a basic node: global $user; //get current logged in user $new_node = new stdClass(); $new_node->type = 'YOUR_NODE_TYPE_HERE'; $new_node->uid = $user->uid; //you can specify some other userID here if you want $new_node->name = $user->name; $new_node->title = $YOUR_NODE_TITLE; $new_node->body = $YOUR_NODE_BODY; $new_node->status = 1; // published node_save($new_node); The function node_save() does a few things behind the scene. It checks if the nid property is empty to determine if this is a new insert or an update, then calls the appropriate functions so that you would not have duplicates. Put simply, if you want to do an update, populate the nid, and leave it out otherwise. Creatnig a node with CCK fields involves ...

How to Reinstall Windows XP Without Having to Reactivate With Microsoft

To tell you the truth, I have never understood what the big deal is with product activation. The fact is that software piracy is rampant, and Microsoft is the target for a large percentage of the piracy due to their dominance in the market. They have a right to try to stop or at least control that privacy, and the product activation seems to be a fair way of ensuring that only legitimate software owners get to benefit from using it. That said, I know many users abhor the process. It may be because they have had problems activating and have had to call the toll-free number and wait to talk to a Microsoft support agent who then read them some 278-character long activation code. (OK, that’s slight exaggeration.) Or maybe they just feel that it is some sort of invasion of privacy or that Microsoft is acting as “Big Brother” and monitoring their actions. No matter the reason, there are plenty of users who would rather never go through the product activation process again. Unf...

Check Out For Sonar Tools

http://docs.codehaus.org/display/SONAR/Install+Sonar#InstallSonar-Requirements it is a great one......

GET 50 Rs off for your Booking

Hello Friends, How If u can get a 50 rs off for your any ticket booked. ? It's wonderful as I can feel... so http://www.travelyaari.com/ go there book your ticket use coupon code 07944820000 or 08044820000 and get 50 Rs off. Have a great Journey. ..............
Implementing a note service (resource) Create a noteresource module that will contain our service implementation. The info file could look something like this: name = Note Resource description = Sample resource implementation package = Notes example core = 6.x php = 5.2 To get a really simple example I'll create an api for storing notes. In a real world scenario notes would probably be stored as nodes, but to keep things simple we'll create our own table for storing notes. // noteresource.install /** * Implements hook_install(). */ function noteresource_install () { drupal_install_schema ( 'noteresource' ); } /** * Implements hook_uninstall(). */ function noteresource_uninstall () { drupal_install_schema ( 'noteresource' ); } /** * Implements hook_schema(). */ function noteresource_schema () { return array( 'note' => array( '...

wouldn't wanna be anybody else

wouldn't wanna be anybody else hey [Verse 1] You made me insecure, Told me I wasn’t good enough. But who are you to judge When you’re a diamond in the rough? I’m sure you got some things You’d like to change about yourself. But when it comes to me I wouldn’t want to be anybody else. Na na na na na na na na na na na na na Na na na na na na na na na na na na na I’m no beauty queen I’m just beautiful me Na na na na na na na na na na na na na Na na na na na na na na na na na na na You’ve got every right To a beautiful life C'mon [Chorus:] Who says, who says you're not perfect? Who says you're not worth it? Who says you're the only one that's hurtin'? Trust me, that's the price of beauty Who says you're not pretty? Who says you're not beautiful? Who says? [Verse 2:] It’s such a funny thing How nothing’s funny when it’s you You tell ‘em what you mean But they keep whiting out the truth It’s like a work of art That never gets to see the light Keep y...

How to make a zend Debugger Enable with your Eclipse and Apache2

Installing Zend Debugger Hello Friends, I am adding this post only because i was not got easy way then this to remember what i have done . q: why to use debugger ?? I think you must remember those days with the C and C++ when we need this one most . it's good to have a environment where you can get error easily and make it correct faster. First you will need to install and configure the Zend Debugger: Ensure you have the Eclipse PDT (PHP Development Tools) installed. If not: Add this repository to your sources list in Help > Install New Software...: http://download.eclipse.org/releases/helios Expand the Programming Languages package and select PHP Development Tools (PDT) SDK Feature. Click next and install. Install the Zend PDT in the same way by adding this repository to your sources list: http://downloads.zend.com/studio-eclipse/updates/7_1 download your Zend Debugger from http://www.zend.com/en/products/studio...