<!– something random just like junk – yard –>

How to Play DVD in Ubuntu 9.10 Karmic Koala

Posted in bash, learning, linux, opensource, ubuntu by ganu on November 29, 2009

Today I got the little problem where I was not able to run the DVD to my this laptop.

I searched and found the tips to run it in my 9.10 karmic KoalaUbuntu.
First, I have read that why this is happening… and I got this link
https://help.ubuntu.com/community/RestrictedFormats
It says why some of the formats are not suitable sometime.

Second, then I installed Ubuntu-restricted-extra package to my system. Somewhre it says that these packages are by default installed but I installed again.

Third, still there is no sign of my work, so then you need to run this shell file…

apt-get install ubuntu-restricted-extras
cd /usr/share/doc/libdvdread4/
sudo ./install-css.sh

Thats it, now the DVD is running in my laptop.

My Latest Position

Posted in Timepass, fun, me by ganu on November 25, 2009

When top lavel guys look down they see only shit. :)

When bottom level guys look up they only see only assholes. :(

Happy Diwali, हैप्पी दिवाली

Posted in Personal, hindi, हिंदी by ganu on October 22, 2009

हैप्पी दिवाली,

मेरे सभी

रंग-बिरंगे पाठको

को दिवाली की खूब – खूब

बधाईया.

Software Diseases – सॉफ्टवेर की समस्याए

Posted in fun, hindi, programming, tips, हिंदी by ganu on September 24, 2009

* Code मैं बग आना
* Client का नाराज़ होना
* समय पर project की डिलिवरी ना होना.
* Final release मैं रुकावट होना.
* Onsite opportunity का ना मिलना.
* USA का वीसा न मिलना.
* Project manager से अनबन.
* Salary का ना बढ़ना
* मानसिक अशांति
* Conference call मैं client का परेशान होना.
* Weekends पर ऑफिस मैं आना.
* Team मैं आपसी मतभेद.

Tagged with: , , , , ,

Mann Ka Radio Hindi Lyrics

Posted in Timepass, hindi, india, movies, हिंदी by ganu on September 2, 2009

Hey !! Did i ever told that i am big fan of himesh.

So here I present the hindi lyrics of his new movie “radio” the song is “Mann ka Radio”.
I just loved this song.

—————————————————————–
मन का रेडियो बजने दे जरा, गम को भूल कर जी ले तू जरा.
स्टेशन कोई नया tune कर ले जरा, full to attitude दे दे तू जरा.
टुटा दिल क्या हुआ, हो गया जो हुआ .. आ आ आ आ. …

भूले बिसरे गीत गाके तू भूल जा.
बदला जो rhythm उसपे जा
full to attitude दे दे तू जरा. आ आ आ आ आ

क्या होगा क्या नहीं होगा ऊपर वाले पर छोड़ दे. ऊपर वाले पर छोड़ दे.
आज इस पल मैं तू ज़िन्दगी को जी जरा, तुझको आकाश की वाणी का है वास्ता.

क्या खोया क्या नहीं पाया उसपे रोना तू छोड़ दे , उसपे रोना तू छोड़ दे.
band जो बजे तेरा खुल के तू भी साथ गा दर्द ही बने दवा funda है ये लाइफ का.

मन का रेडियो बजने दे जरा, गम को भूल कर जी ले तू जरा.
स्टेशन कोई नया tune कर ले जरा, full to attitude दे दे तू जरा.
टुटा दिल क्या हुआ, हो गया जो हुआ .. आ आ आ आ. …
—————————————————————–

So don’t worry be happy.
What is going or whatever you are facing accept it and find the happiness from your all incoming tasks. :)

Happy Living. :)

Tagged with: , , , , ,

Happy indian independence day

Posted in General, india, हिंदी by ganu on August 15, 2009
Happy indian independence day

Happy indian independence day

Happy indian independence day to all of you. :)

Running and Living Kandivali-Mumbai Chapter

Posted in fun, health, me, meetup, mumbai by ganu on August 5, 2009

Oh! My God.
बस क्या कहू, मजा आ गया.

So guys and gals, if you love to run and live. And you love the concept of Running and Living. Then come and join us. We usually run either on saturday or sunday from borivali national park to kaneri caves.

JOin the group – Running-and-Living-Kandivali-Chapter

Now just waiting for next weekend for more run.

Happy Running and Living.

quick ffmpeg audio-video encoding usage help

Posted in LAMP, learning, linux, observation, opensource, tips, ubuntu by ganu on July 18, 2009

o from last 2-3 days I spent my so much time on file conversion with ffmpeg and mencoder.

After work done, I got some good links to follow for my future help and for all other readers.

The command what I tried for my use is like this

For High Quality and FFMPEG and libx264 vcodec i used this.

/usr/bin/ffmpeg -i /home/ganu/public_html/video/316.mp4
-b 1M -bt 4M -vcodec libx264 -pass 2 -vpre hq -acodec libfaac
-ac 2 -ar 44100 -ab 192k -threads 0 -s 552x311 -bufsize 200000000
-f flv -y /home/ganu/public_html/flvideo/316x.flv

Finally I used this this is working fine.

/usr/bin/ffmpeg -i /home/ganu/public_html/video/316.mp4
-r 30000/1001 -b 2M -bt 4M -acodec libfaac -ac 2
-ar 44100 -ab 192k -s 552x311 -f flv -y /home/ganu/public_html/flvideo/316x.flv
/usr/bin/ffmpeg -i /home/ganu/public_html/video/316.mp4
-f image2 -ss 00:00:1 -s 120x90 -vframes 2
-y /home/ganu/public_html/tmp/thumbs/316/%08d.jpg

For metadata injection i used like this.

/usr/bin/flvtool2 -Uv
/home/ganu/public_html/flvideo/316x.flv
/home/ganu/public_html/flvideo/316.flv

So first say the file 316.mp4 is converted to 316x.flv. And after flvtool2 the meta information is injected and final file will be 316.flv

So this is how, the flv conversion is done.

Happy Programming. :)

testing post by email, new wordpress feature.

Posted in General by ganu on May 25, 2009

Hey,

This test “post by email” facility in wordpress blogs.

india startup tips in proto.in

Posted in india, learning, meetup, observation, tips by ganu on May 24, 2009

No , No I am not a strtup guy. I don’t have any thing to start now.

Yea but I can work for you. So if you have any thing to work/code/analyse/test/hack then let me know, that I can do that.

Yesterday I was watching the Official proto.in video channel and after so many days I liked the talk given my Mr. Mahesh Murthy. I really got some energy to think more for some idea and work for it. Let see.

Here i am summarizing the points what he mentioned in his talk, that will be helpful for me and other in future.

  • If you have a product in your mind don’t even bother just go ahead. Your idea is your idea and if you think is good then just go ahead.
  • Price – Price of the product is your weapon.
    • Never give lesser price to your product. Analyze the price and give the competitive price of your product. Your price would give the tension to your competitor.
    • He gave good example that if you are 20 person company then by lesser price you can never catch a 2000 person company, they will be
      always ahead.
    • Only competitive price will give tension to the opposite party.
  • User Interface – UI should be good. No compromise with UI.
    • bad, crappy UI shows the cheapness in your product.
    • Good UI will give good competition.
  • Customers – Getting customers/users for your site.
    • Any startup look for first 100 customers. If they are with feel-good-fector then automatically 100 will converted to 100*n times.
    • Get your customers/users from confs/events/get-together. At these places you can adv your product free of your cost.
    • For paid confs/events, represent your self as speaker so your will get free entry. :)
  • Marketing – He gave one statement, sorry I dont understant that.
    • Not necessary that more budget will give more success.
    • “Competence is a marketer, is inversely proportional to your marketing budget.” I really don’t understood this. :(
    • “More the budget is less the brain”. :)
  • Be the Master
    • Be the master in your field.
    • Do some research in your field and you should be thought leader in your field.
  • Don’t follow the trends
    • You can almost never be successful by following the trend.
    • Trend is like end.

Wow, what a nice talk, you can get/see/watch/listen more talk on Official proto.in video channel.

Till then I will collect more talk and summarize this for you all and for me too. :)

Happy Startup. :P

romantic love poem

Posted in hindi, me, हिंदी by ganu on May 22, 2009

Now a days i am feeling romantic.

just got this kavita/poem…
This is by Dr. Kumar Vishwas.

कोई दीवाना कहता है, कोई पागल समझता है.
मगर धरती की बैचेनी को बस बादल समझता है.
मैं तुझसे दूर कैसा हु, तू मुझसे दूर कैसी है.
ये तेरा दिल समझता है, या मेरा दिल समझता है.

Tagged with: , , , , ,

altaf raja and month name song

Posted in hindi, हिंदी by ganu on April 18, 2009

भाई कुछ भी कहो, हम तो अलताफ राजा के fan थे और fan है.

अलताफ राजा के एक गाने मैं साल के पुरे १२ महीनो का जिक्र है.
लीजीये प्रस्तुत है उसका हिंदी अनुवाद.

जब तुमसे इत्तफ़ाकन मेरी नज़र मिली थी – अब याद आ रहा है , शायद वो जनवरी थी.
तुम यू मिली दुबारा , फिर महे फ़रवरी मैं – जैसे की हमसफ़र हो , तुम रहे जिंदगी मैं.
कितना हसी जमाना आया था मार्च लेकर, राहे वफ़ा पे थी तुम , वाडो की टोर्च ले कर.
बँधा जो अहदे -उलफत अप्रैल चल रहा था, दुनिया बदल रही थी मौसम बदल रहा था
लकिन मे जब आई जलने लगा जमाना, हर शक्स की ज़बान पर बस यही था फसाना.
दुनिया के दर से तुमने , बदली थी जब निगाहे था जून का महीना , लब पर थी गरम आहे.
जुलाइ मैं जब तुमने जब बातचीत कुछ कम , थे आसमा पे बादल और मेरी आँखे पूर नाम.
महे ऑगस्ट मैं जब, बरसात हो रही थी. बस आसुओ की बारिश दिन रात हो रही थी.
कुछ याद आ रहा है, वो माह था सितंबर , भेजा था तुमने मुझको तार के बफा का लेटर.
तुम गेर हो रही थी, अक्टोबर आ गया था. दुनिया बदल चुकी थी, मौसम बदल चुका था
जब आ गया नवेंबर ऐसी भी रात आई , मुझसे तुम्हे छुड़ाने साज-कर बारात आई.
बे-क्फ था डिसेंबर , जसबात मार चुके थे. मौसम था सर्द उसमे, अरमा पिघल चुके थे

लेकिन ये क्या बतौ अब हाल दूसरा है …

अरे वो साल दूसरा था, ये साल दूसरा है.

क्या बात क्या लिखा है और क्या गाया है, भाई वाह !! मजा आ गया.

चाणक्य हिंदी नाटक, historical hit, must watch

Posted in hindi, weekend, हिंदी by ganu on April 2, 2009

बहुत महीनो से सोच रहे थे, की || चाणक्य || नाटक देखा जाय. बस झोला-झंडा उठाया, और निकल पड़े.
So finally we got the chance and got the tickets too.

 चाणक्य हिंदी नाटक, must watch, historical hit


अदिव्तीय, अलोकिक और एतिहासिक नाटक.

if you get chance then must watch.

चाणक्य team को अनगिनत शुभकामनाये

Symfony Criteria for table alias with join of same table

Posted in LAMP, learning, opensource, programming by ganu on March 31, 2009

Symfony Criteria for table alias and join a quick example.

Yesterday got a good situation, A kind of join with same table and with table alias.
I need to use the first query with symfony criteria.

I got this, hope this will be usefull to you too.

SELECT u1.USR_FNAME AS a, u1.USR_LNAME AS b, u2.USR_FNAME AS c, u2.USR_LNAME AS d, u3.USR_FNAME AS e, u3.USR_LNAME AS f
FROM tbl_test
LEFT JOIN tbl_users u1 ON ( tbl_test.TEST_USER1_ID = u1.USR_ID )
LEFT JOIN tbl_users u2 ON ( tbl_test.TEST_USER2_ID = u2.USR_ID )
LEFT JOIN tbl_users u3 ON ( tbl_test.TEST_USER3_ID = u3.USR_ID )
ORDER BY tbl_test.TST_ID ASC
LIMIT 10
$c = new Criteria();
   	$c->clearSelectColumns();
   	$c->addAlias('u1','tbl_users');
   	$c->addAlias('u2','tbl_users');
    $c->addAlias('u3','tbl_users');
   	$c->addSelectColumn(TblProjectPeer::TST_NAME);
   	$c->addAsColumn('a','u1.USR_FNAME');
   	$c->addAsColumn('b','u1.USR_LNAME');
    $c->addAsColumn('c','u2.USR_FNAME');
    $c->addAsColumn('d','u2.USR_LNAME');
  	$c->addAsColumn('e','u3.USR_FNAME');
   	$c->addAsColumn('f','u3.USR_LNAME');
   	$c->addJoin(TblTestPeer::TEST_USER1_ID,'u1.USR_ID',Criteria::LEFT_JOIN);
   	$c->addJoin(TblTestPeer::TEST_USER2_ID,'u2.USR_ID',Criteria::LEFT_JOIN);
  	$c->addJoin(TblTestPeer::TEST_USER3_ID,'u3.USR_ID',Criteria::LEFT_JOIN);

Or take another example

SELECT a.id FROM article a RIGHT JOIN article b ON a.article_id = b.id ORDER BY a.name DESC, b.date DESC
$c=new Criteria();
$c->addAlias('a', 'article');
$c->addAlias('b', 'article');
$c->addSelectColumn('b.id');
$c->addSelectColumn('a.article_id');
$c->addDescendingOrderByColumn('a.name');
$c->addDescendingOrderByColumn('b.date');
$c->addJoin('a.arcticle_id','b.id','RIGHT JOIN');
$rs = ArticlePeer::doSelectRS($c);

Happy Programming. :cool:

फोटो चलचित्र, मैं और flickr

Posted in General, me, observation by ganu on March 22, 2009

flickr use करना मुझे अच्छा लगता है, हलाकि मैं इतना दमदार photographer नहीं हु, पर फिर भी काम चल जाता है.
Flickr का नाम मैंने तब सुना था जब मैं Yahoo! बंगलोर मैं था, ( अरे भाई as employee नहीं, on client side from my parent company for 3-4 months. :neutral: ) सभी लोग Flickr use करते थे. बस फिर क्या था, मैंने भी Flickring करना शुरू कर दिया. :cool:

लो इतना सब बता दिया पर मैं link तो दी ही नहीं, My Flickr Photos

अब ये wordpress.com वाले javascript embd tag का option तो देते नहीं है, तो फिर flickriver से अपना badge तैयार कर लिया है.

ganuullu - View my most interesting photos on Flickriver

I am using Sony DSC-W30

अब मेरे बहुत सारे दोस्त कहते है की भाई, अब Flickr का pro account खरीदने की क्या जरुरत है. तो मेरे प्यारे दोस्तों ३६५ (365) दिनों के १२६० (1260) Rs. , तो १ दिन का हो गया ३.५ (3.5) rs.
मात्र ३ और ५० पैसे ( लगभग ) प्रतिदिन, ध्यान से सोचो, कुछ महँगा सौदा नहीं है.

Any way, have fun, today I have extended my flickr pro account for 1 more year, keep in touch.

Happy Photography.