Skip to main content

Posts

Christmas Weekend Trip to Pondicherry and It's awesome !

Last year we went to pondicherry for a weekend trip, just after Christmas (26th -28th of December 2014). It all started with "Yaar ! Is weekend toh kahin ghumne jaana hai ? Kuch plan kar bhai !".(Yaar ! Let's plan for a weekend trip.) We were planning for a trip on 25th December for the coming weekend. Friends put forward few suggestions and ultimately we decided to go to pondicherry and the main reason for this decision was the availability of tatkal tickets in the only train from Bangalore to Pondicherry (16573/Yesvantpur-Puducherry Weekly Express). Thanks to IRCTC and everyone else who didn't book a ticket in this train otherwise tatkal tickets vanish in few seconds. After we zeroed-in on a destination, we started asking friends and colleagues to join for the trip and finally 4 of us were in for the trip and sadly, the numbers were the same as it was at start. It was peak season for tourists in Pondicherry and It was very difficult to get a hotel room b...

Embed Images Directly into HTML

In HTML, images are defined with the <img> tag. <img src="url" alt="some_text"> The src attribute defines the url (web address) of the image. The alt attribute specifies an alternate text for the image, if it cannot be displayed. If you want to show an image, you write something similar to this in your HTML : <img src="html5_sticker.png" alt="HTML5 Sticker"> But, sometimes you may want to show an image on your webpage but you don't want to link an external image file. In that case, you can directly embed your image into the HTML without having to link to an external file. The idea behind it is that the browser interprets the image file in encoded format. So why not we directly put the encoded data in the src attribute of <img> tag. One of the advantages of embedding the image directly into the HTML is Portability. There are so many online Base64 Image encoder available on the web. Just google it and y...

Yes, You heard it right - Rohit Sharma does it Again

Eden Gardens’ 150 years celebration could not be better than this. No one would have thought that this day will be written in golden letters in the history of ODI cricket. Cricket fans, who were watching this match from the stands, will cherish this day for their lifetime. Returning from injury, Rohit Sharma played a fabulous inning of 264 in 173 balls in 4 th ODI against Sri Lanka on 13 th November, 2014. He was not out until the last ball of India’ inning was bowled. He falls off the last ball of the innings trying to play a big shot. Rohit Sharma was on 4 when he was dropped by Thisara Perera at third man. India Scored 405/5 altogether and in their effort to chase such a big total, Guests could garner a meagre 251 and lost by 153 runs. India leads 4-0 (undefeatable) in the 5 match ODI series. Rohit Sharma Celebrating his double hundred at Eden Gardens, Kolkata It was his first international match after he injured himself in the second ODI against England in Au...

Cross-Site Scripting (XSS) Vulnerability

Cross-site scripting   ( XSS ) is a type of   computer security   vulnerability   typically found in   Web applications . Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into  trusted web sites.   Cross-site Scripting ( XSS )  is generally believed to be one of the most common application layer hacking techniques. XSS is the hacking technique that leverages vulnerabilities in the code of a web application to allow an attacker to send malicious content from an end-user and collect some type of data from the victim. An attacker can use XSS to send a malicious script to an unsuspecting user. The end user’s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by the browser and used with th...

Dynamically Add/Remove Rows in HTML Table Using Javascript

Following code snippet will show how to dynamically add/remove rows in Table using simple HTML and Javascript : Source Code : HTML Table : <table cellspacing=0 cellpadding=0 border=0 border-spacing=10px id="attributes_configuration_table"> <thead> <tr> <th><b>Name</b></th> <th><b>Value</b></th> </tr> </thead> <tbody> <tr id="row_1"> <td> <input type="text" name="attribute_name_1" id="attribute_name_1" style="margin-right:10px" autocomplete="off"> </td> <td> <input type="text" name="attribute_value_1" id="attribute_value_1" style="margin-right:10px" autocomplete="of...

सपना...एक तसब्बुर

हे प्रिये चलो मैं आज तुम्हे कुछ और ही बात बताता हूँ जिस दुनियाँ में सपने बस्ते हैं उस दुनिया की सैर कराता हूँ ना बंदिश है ना पाबंदी ना तीखी नज़रें हैं दुनियाँ वालों की बस एक मैं हूँ और एक तुम और सपने हैं दिलवालों की उन बागों की शैर करें जहाँ फूल प्यार के खिलतें हैं उस क्षितिज के पास चलें जहाँ ज़मीन आसमान से मिलतें हैं उन झरनों के पास चलें जो संगीत प्यार का सुनाती है उन तारों के पार चलें जो रोज़ हमें बुलाती है कितनी प्यारी है ये दुनियाँ जो की सपनो मे रहती है किसी और की नही यहाँ बस अपनी मर्ज़ी इसमे चलती है प्यारे सचमुच हैं ये सपने क्यूंकी यहीं हम तुमसे मिलते है ये सपना ना जाने कब सच हो बस इंतज़ार इसी का करते हैं

Remembering Jamsetji Tata - Legendary Father of Indian Industry

3 March, 2014 - 175th birth anniversary of Jamshetji Tata, One of the big founders of Modern India. He was the founder of Tata Group,  India's biggest conglomerate company. Jamshetji Tata ( 3 March 1839 – 19 May 1904) Jamsetji Tata was a great visionary and businessman who had devoted his life to set up : A World Class Steel & Iron Company (TATA Steel) A World Class Institution (IISC Bangalore) A Unique Hotel (Taj Mahal Hotel, Mumbai) A Hydro-Electric Power Plant (TATA Power) Our first Prime Minister Jawaharlal Nehru once said -  "When you have to give the lead in action, in ideas - a lead which does not fit in with the very climate of opinion - that is true courage, physical or mental or spiritual, call it what you like, and it is this type of courage and vision that Jamsetji Tata showed. It is right that we should honour his memory and remember him as one of the big founders of modern India." We pay our tribute to the legend, who ...