Tag Archive for experience

An experience in a clinic!!!

Today I took one of my friends to a doctor and lot of crazy things happened in the clinic;

 

  • It seems he is a doctor practicing Russian medicine… But he has put MBBS so I assume he must have finished his course from Russia…
  • Doctor was not in station and doctor heard the complaint thru. Phone and he asked his asst. who claims to be a Doctor and looks like a compounder to give some medicines…
  • Compounder Doctor’s assistant looked like a Tug and over a point fun changed to fear…
  • All the medicines were given as capsules and they were packed in envelop… I think medicines were prepared by the doctor himself…
  • To be on the safer side we asked for a receipt for the payment and the compounder Doctor’s assistant gave us the receipt and he signed in for the doctor…
  • Here is scanned copy of the receipt which advertises the political affiliations of the doctor… Also there were multiple websites and email addresses

dr

 

Over all I advised my friend not to take those tablets and I really don’t know the authenticity of such doctors… Very much wired and these doctors reference are given by Just Dial…

Moments of embarrassment

Yesterday I met an acquaintance who happens to be common friend of couple of my friends… He has learned about lot of my bad side of mine thru my friends and he was talking to me telling that his friends had a Crazy bad guy as a friend and when I told him I’m that crazy bad guy, I got embarrassed and I was enjoying his facial reactions :) … Then I thought I can think of embarrassment I’d over come till date…

 

  1. Got caught with a COP while I was coming in one way… Didn’t want to waste time and I immediately offered him a bribe and only then came to know he was a honest cop and ended up getting advice for 30 min…
  2. Got caught with my MOM when I was stealing money from her wallet…
  3. When I was mimicking a faculty while he was standing behind me… The way he handled the situation embarrassed me further…
  4. Myself and Aravind went to a expensive restaurant and had milkshake and we got a bill of $2 or something, but we had only $1… Aravind faced the situation but still that was an embarrassing moment…
  5. When I lied a client telling I was not feeling well and didn’t come online… He said he was following me on twitter and he knew what all I updated… I’m happy that people are following me and also embarrassed…
  6. As a child I use to quarrel with my sister for window seat and she will give it up for me…

 

There are more moments and these are the ones I remember immediately… If you have any moment of embarrassment please post it as comment… So, the we can know how we got embarrassed and see how we can overcome these situation in future…

I’m a Word Press Boy

I’m a WordPress Bhoy boy looking for a WordPress girl :) yes for last 2 days I’m using WordPress… Not it is not a fools day prank… You can check this blog is on WordPress… I’ve been using Drupal CMS for my blog for last 4 years and I’ve great love for Drupal… There were lot criticism and cry from Drupal world… Even I got a shout from a buddy in twitter…

tronathan@anandnataraj Why on earth would you go from drupal TO wordpress? please enlighten me…6:19 AM Mar 29th from TweetDeck in reply to anandnataraj

For Drupal lovers or WordPress lovers let me confess I’m still a Drupalian by heart and WordPress is just a mask… I still challenge everyone that Drupal is the best CMS in the world than any other CMS… So, you can ask me why I converted from Drupal to WordPress… Here are my justifications

  •  
    • WordPress is quick in giving updates and more happening now-a-days
    • WordPress has all the tools for running a blog, which drupal must improve
    • WordPress admin interface is very simple to use
    • WordPress has more plugins and themes compared to drupal
    • Last but not least I get lot of enquries on wordpress customization… So using the system will help me understand client’s challenges and expectation…

I decided to convert to WordPress a month back, but I researched a lot on reading other blogs on lessons as I didn’t want to take a change… But itz all done within an hour and the process was very simple… This is what I did;

 

1.)    Installed WordPress in a folder /blog…

2.)    Make sure both wordpress and drupal tables are in same database…

Please use below SQL queries to export the posts and comments from drupal to wordpress 2.7.1. I used phpmyadmin to write queries

 

This sql will export all posts from drupal to wordpress 2.7.1

 

# Use the Drupal database

use db261070012;

# Remove all current posts from WordPress

TRUNCATE TABLE wp_posts;

# Insert posts from Drupal into WordPress

INSERT INTO wp_posts (id, post_date, post_content, post_title, post_excerpt, post_name, post_modified, post_type, `post_status`)

SELECT DISTINCT

n.nid `id`,

FROM_UNIXTIME(n.created) `post_date`,

r.body `post_content`,

n.title `post_title`,

r.teaser `post_excerpt`,

IF(SUBSTR(a.dst, 11, 1) = ‘/’, SUBSTR(a.dst, 12), a.dst) `post_name`,

FROM_UNIXTIME(n.changed) `post_modified`,

‘post’ `post_type`,

IF(n.status = 1, ‘publish’, ‘private’) `post_status`

FROM cms_node n

INNER JOIN cms_node_revisions r

USING(vid)

LEFT OUTER JOIN cms_url_alias a

ON a.src = CONCAT(‘node/’, n.nid)

;

            This sql will export all comments from drupal to wordpress 2.7.1

 

TRUNCATE TABLE wp_comments;INSERT INTO wp_comments (comment_post_ID, comment_date, comment_date_gmt, comment_content, comment_parent, comment_author, comment_author_email, comment_author_url, comment_author_ip, comment_approved)SELECTnid,FROM_UNIXTIME(timestamp),FROM_UNIXTIME(timestamp),comment,0,name,IF(mail=”, CONCAT(REPLACE(LOWER(name),’ ‘, ”), ‘@’, hostname, ‘.localhost’), mail),homepage,hostname,1FROM cms_comments;

This sql will update the number of counts in wordpress posts table

 

# update comments count on wp_posts tableUPDATE wp_posts SET comment_count = (SELECT COUNT(comment_post_id) FROM wp_comments WHERE wp_posts.id = wp_comments.comment_post_id);

3.)    In Drupal, I used url alies which was like /my_post_title_name and I wanted to have the same url alies.
To do this I updated the WordPress Permalink settings:
Custom Structure : %postname%    

4.)    120 posts and 98 comments were successfully imported from drupal to wordpress…

5.)    Finally pointed my site’s destination from /anandnataraj (location where drupal files reside) to /anandnataraj/blog (wordpress files)…

6.)    Changed rewritebase in /anandnataraj/blog/.htaccess from “/blog” to “/”…

7.)    Changed the site URL and blog URL in wp_options table to http://www.anandnataraj.com

 

It took 30 minutes to migrate from drupal to wordpress 2.7.1… So far, everything seems to be working just fine…

 

Yesterday I designed my own WordPress, brought a coffee mug and printed it there, also shot some snaps with it :)