Author Archives: Sanju

About Sanju

I’m Sanjunath.S from Mumbai, India. I like web technologies, traveling & history. I have 11+ years of experience in web technologies like HTML 5, CSS 3, JavaScript, Bootstrap, and PHP.

19 Dec

Remove hash from AngularJs url

Remove hash from AngularJs url

Rewrite your AngularJs app url from to

There are few things to set up for remove hash from AngularJs url. So your link in the browser will look like and these are your base href + angularjs config + .htaccess url rewrite.

1) Base href

Set the base href in HTML file.

    <base href="/">

2) Angularjs

Add html5Mode inside your angularjs config file.

app.config(function ($routeProvider,$locationProvider) {
  .when('/', {
	templateUrl: 'home-page.html',
	controller : 'appController'

3) .htaccess url rewrite

Put this inside your .htaccess file.

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /#/$1 [L]
06 Aug

Kallil bhagavathi temple – An ancient Jain cave temple in Kerala

Kallil bhagavathy temple

Jainism was introduced to South India in third century BC by the order of Emperor Chandragupta Mauryan (321-297 BC). From that time Jainism was well established in Kerala. In 800-1000 AD Jainism wiped out from Kerala. The revival of the Vedic Culture (Hinduism) was the main reasons of the disappearance. People were back into the Hinduism or merged with Hinduism. And Jain temples were also crushed during Tipu Sultan’s raid.

kallil temple jain saint

Many Hindu temples in Kerala were originally Jain temples. For example, Kudalmanikkam Temple near Irinjalakuda (Thrissur) and Kallil bhagavathi temple near Perumbavoor. Similarly, several temples in North Malabar was once a Jain temple. At present, Jainism in Kerala has a very small following. Ilango Adigal was on of the notable person of the Jain religion in Kerala. He was a poet and a Jain monk of the 2nd century AD.

Kallil cave temple is sited in Kunnathunadu Thaluk of Ernakulam District in Kerala. Is 22 km away from Kalady. The name ‘Kallil’ means ‘in Rock’. Studies indicate that the inception of the temple might date back to third century BC. The nature made cave temple, located in a 28-acre (113,000 m²) plot in thick forest area, is cut from a huge rock. The rock temple of 75 feet X 45 feet X 25 feet which rests without any proper support. The visitor has to climb 120 steps to reach this rare historic temple. There is an ancient pond that offer drinking water nearby.

Durgadevi is the main deity of the temple. The idol of Brahma is seen carved at the top of the rock. Brahma is also worshipped along with Siva and Vishnu. The temple closes after Poojas at noon every day and poojas are not being done at night. The presence of the Jain deities Parshvanath, Vardhamaana Mahavira and Padmavati devi (worshipped as Bhagawathi by the local population) point to the Jain history of the Kallil cave temple.

This very rock holding on to its position solely owing to Bhagavathi’s grace which may perhaps be called one of the wonders of the world is the unique feature of this temple. This Jain cave temple was to become a Hindu temple in the 9th century AD. Even today Jain followers come here to offer prayers.

Quick Facts:

State: Kerala
District: Eranakulam
Languages Spoken: Malayalam,Hindi and English
Weather: Summers: 35 °C (95 °F). Winters: 20 °C (68 °F)

Getting There:

Nearest Airport: Cochin Airport – 25 Km
Nearest Town: Perumbavoor – 10 Km


27 Jun

Top 5 responsive front-end frameworks – 2014

responsive front-end framework


The most popular front-end framework for developing responsive, mobile first projects on the web.

Bootstrap is absolutely the best accepted and broadly acclimated framework, nowadays. It’s a beautiful, automatic and able web architecture kit for creating cantankerous browser, constant and acceptable attractive interfaces. It offers abounding of the accepted UI apparatus with a plain-yet-elegant style, a filigree arrangement and JavaScript plugins for accepted scenarios.

twitter bootstrap 3

Bootstrap is a free collection of resources for generating websites and internet applications. It contains HTML and CSS-based design themes for typography, kinds, buttons, navigation along with other interface parts, because well as optional JavaScript extensions. In Summer 2014 it was the No.1 project on GitHub with 69,000+ performers and 25,000+ forks, with a user base including MSNBC and NASA.

Website :


ZURB Foundation 5

The most advanced responsive front-end framework in the world.

ZURB Foundation is a no-cost collection of resources for creating web sites and web programs. It contains HTML and CSS-based design themes for typography, forms, buttons, navigation and other user interface components, since well as recommended JavaScript extensions.

Website :

Semantic UI

Semantic UI

Semantic empowers designers and developers by creating a language for sharing UI.

Semantic is a UI Component library implemented using a set of specifications designed around natural language. It provides many commonly needed elements, collections, and modules. It also provides a structure for third party components to use.

Website :



Gumby 2.6 is built with the power of Sass. Sass is a powerful CSS preprocessor which allows us to develop Gumby itself with much more speed — and gives you new tools to quickly customize and build on top of the Gumby Framework.

Website :

Pure CSS

Pure CSS

A set of small, responsive CSS modules that you can use in every web project.

Pure is a little set of CSS segments which you can use in any web project. This has small impact. It is developed with cellular in your mind and has now minimal design which enables you to write your very own style on top of it. With number of CSS components Pure is just one of the strong competitor for Responsive CSS Frameworks choices.

Website :

05 May

Kumarakom – Paradise of backwater

Kumarakom is a popular tourism destination located near the city of Kottayam (16 kilometers), in Kerala, India, famous for its backwater tourism. It is set in the backdrop of the Vembanad Lake which is the largest freshwater lake in the state of Kerala.

Kumarakom has been described by National Geographic Traveler as “one of the must-see paradises on earth” and, is ranked fifty in the list. Kumarakom has been declared as a Special Tourism Zone by the Kerala state Government.

Kumarakom Houseboat

Kumarakom backwaters set in the absolute accomplishments of green paddy fields and the mangrove forests is a accurate contentment to its visitors. Kumarakom is famous for its majestic Kettuvallams ( House Boat ) which reflects the marvellous or Royal architectural wonder of Kerala. Houseboats, which are absolutely furnished and able with all the accessories accept ablution absorbed bedrooms, kitchens, dining and a clandestine advanced accouter to abduction the arresting adorableness of the back waters.

Sightseeing Highlights in Kumarakom

The Vembanad Lake, the largest lake in the state. The lake is famous for its scenic beauty and hundreds of kettuvallams. A cruise through the backwater will refresh your mind.

Kumarakom Bird Sanctuary

Kumarakom Bird Sanctuary, which is spread over 14-acres of land, is a favorite place of bird lovers. It has a huge cardinal of migrating birds like the Siberian stork, Egret, Darter, Night Heron, Cormorant, Indian Shag, Purple Heron, Cotton Pygmy-Goose, Little Cormorant etc.

The Pathiramanal ( Sands of midnight ) island reflects the amazing adorableness of the Vembanad Lake and its surrounding breadth is home to many breeds of migratory birds from different parts of the world. It is home to around 91 local species of birds and 50 migratory birds. The island is located in the Vembanad Lake, about 4 km from Kumarakom.

You can additionally seek some Ayurvedic analysis from the experts and go in for rejuvenation.

Kumarakom Backwater

Where to Stay

Kumarakom has many hotels and resorts which deals that everyone’s budget.
Hotels tariffs starting from Rs 700 and the high-end resorts and hotels tariffs can go as aerial as Rs 22,000.

Quick Facts

State: Kerala
District: Kottayam
Coordinates: 9.35 N 76.26 E
Languages Spoken: Malayalam and English
Weather: Summers: 20 – 36 C; Winters: 16 – 32 C

Getting There

Nearest Airport: Cochin Airport
Nearest Train Station: Kottayam
Main Highway: NH 47
Best time to visit: October to April


17 Apr

The Heartbleed – One of the biggest security issue in the world wide web

The Heartbleed bug is one of the biggest security issue in the world wide web. The Heartbleed bug permits anyone on the web to browse the memory of the systems protected by the vulnerable versions of the OpenSSL package. SSL is short form of Secure Sockets Layer, a protocol for transmitting secure data via the Internet. You can easily recognise whether SSL is in use on a website. URLS that require an SSL connection start with https instead of http. OpenSSL is an open-source implementation of SSL. The Heartbleed bug enables attackers to pay attention to communications and steal information directly from the services and users from OpenSSL.

Google’s security team reported Heartbleed on April 1, 2014. Security company Codenomicon gave Heartbleed a reputation and a emblem, tributary to public awareness of the difficulty.

Bug was introduced to OpenSSL in December 2011 and has been out in the wild since OpenSSL released 1.0.1 on 14th of March 2012. OpenSSL 1.0.1g released on 7th of April 2014 fixes the bug. So we can fix the problem using the right way. Upgrade OpenSSL to the latest version (OpenSSL 1.0.1g ) by server side .

Heartbleed went undetected for the past 2 years, and nobody is aware of who might have identified regarding it throughout that point or what they are doing. Currently that’s got into the open, up to a 0.5 million trustworthy websites—including many who individuals use a day, like GitHub, Yahoo, Facebo ok, Google, Wikipedia, Amazon, Twitter, Apple and Stack Overflow. They have been scrambling to patch the flaw and update their security protocols to shield users. The Canadian federal government quickly shut down online services of the Canada Revenue Agency (CRA) and a number of other government departments over Heartbleed bug security issues on April 8 2014. They made announcements recommending that users update passwords in response to the bug .

Security researcher Steve Gibson stated “it’s not just a server-side vulnerability, it’s also a client-side vulnerability because the server, or whomever you connect to, is as able to ask you for a heartbeat back as you are to ask them.” Google has confirmed that Android version 4.1.1 (Jelly Bean) has the Heartbleed bug. This affects approximately 50 million Android devices and remains unpatched.

Change your passwords on vulnerable sites immediately and change password again when the sites fix their server issues.

Heartbleed Testing Tools:

Norton Safeweb Heartbleed Check Tool
Heartbleed test
SSL Configuration Checker


20 Dec

jQuery Accordion plugin for beginners

Accordions can be of a great use when you want to present various sections of data in a small amount of space. It makes a better user experience. Today I’m going to show you how to create a simple accordion plugin for website. This post will help beginners to build your first jquery plugin.


(function ($) {

$.fn.w3Accordion = function () {
     $(".accordion div:nth-child(2)").fadeIn();
     $(".accordion h3:nth-child(1)").addClass('active');

  $(".accordion h3").click(function(){
		return this;

Call ‘w3Accordion’ jQuery function and CSS stylesheet into example.html

<script src="" type="text/javascript"></script>
<script type="text/javascript" src="js/w3_accordion.js"></script>
<script type="text/javascript">
<link href="w3_accordion_style.css" rel="stylesheet" />

HTML part of example.html

<div id="container">
<div class="accordion">
  <h3>Heading 1</h3>
  <p>Description Text 1</p>
  <h3>Heading 2</h3>
  <p>Description Text 2</p>


body {
	color: #333333;
	font-family: Century Gothic, sans-serif;
#container {
.accordion {
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
.accordion div {
	border: 1px solid #BCBCBC;
	padding: 8px;
.accordion h3 {
	border-radius: 6px;
	padding: 4px;
	margin-bottom: 4px;
	margin-top: 4px;
	font-size: 19px;
.accordion h3:hover {
.accordion .active {
	background-color: #EB69D8;
.accordion p {
	font-size: 14px;
	line-height: 23px;
	margin: 0;
	padding: 0;
.accordion img {
	float: left;
	height: 200px;
	margin-right: 12px;
	width: 200px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);

I hope beginners will enjoy this post..


Chhatrapati Shivaji The Legend

One of the most able administrators and ruler in India was undoubtedly Chhatrapati Shivaji. He was the founder of the Maratha Empire in India. With his flawless warrior skills and unlimited courage. Shivaji is to India what Napolean was to Europe.

Chhatrapati Shivaji Maharaj born in Shivner on 10th April, 1627. Since childhood, Shivaji was brave and never feared anything. There are many instances in his childhood that show he was a born ruler.At the age of 16, he took a pledge to establish a sovereign Hindu kingdom.

He founded the Hindu kingdom in the Deccan against all odds, fighting against the mighty Mughals. He inspired and united the common man to fight against the tyranny of Mughal ruler Aurangzeb, by inculcating a sense of pride and nationality in them.

He raised a strong army and navy, constructed and repaired forts, used gureilla warfare tactics,developed a strong intelligence network,gave equal treatment to the people from all religions and castes based on merit, and functioned like a seasoned Statesman and General. He appointed ministers with specific functions such as Internal security,Foreign affairs,Finance,Law and Justice,Religious matters,Defence etc.

He introduced systems in revenue collection and warned the officials against harassment of subjects.He thought ahead of times and was a true visionary.In his private life, his moral virtues were exceptionally high.His thoughts and deeds were inspired by the teachings of his mother Jijabai, his teachers, great saints like Dnyaneshwar & Tukaram and the valiancy and ideals of the Lords Rama and Krishna.

The tiny kingdom established by Chhatrapati Shivaji known as “Hindavi Swaraja” (Sovereign Hindu state) grew and spread beyond Attock in Northwest India (now in Pakistan)and beyond Cuttack in East India in course of time, to become the strongest power in India. After the death of Chhatrapati Shivaji & his son Sambhaji, their prime ministers or ‘the Peshwas’ became the defacto rulers. The Peshwas and the Maratha Sardars (Chieftans) like Shindes of Gwalior, Gaekwads of Baroda & Holkars of Indore contributed to the growth of the Maratha Confederacy.


The biography of Shivaji Maharaj has an answer for any problem faced by a Hindu or Indian politicians; however for this purpose the biography should be read with shrewdness and insight.

The history of India is incomplete without the history of Marathas and Shivaji is the nucleus of Maratha history. Shivaji has been a source of inspiration and pride to the past generations and will continue to inspire generations in future. We salute this legend and humbly dedicate this article to him. Please read and share the legendary life of Chhatrapati Shivaji Maharaj, before his upcoming Birth Anniversary!.


” Shivaji was the greatest Hindu king that India had produced within the last thousand years; one who was the very incarnation of lord Siva, about whom prophecies were given out long before he was born; and his advent was eagerly expected by all the great souls and saints of Maharashtra as the deliverer of the Hindus from the hands of the Mlecchas, and as one who succeeded in the reestablishment of Dharma which had been trampled underfoot by the depredations of the devastating hordes of the Moghals.”

Swami Vivekananda



20 Nov

Major Sandeep Unnikrishnan – The Lion of Mumbai 26 11

Major Sandeep Unnikrishnan

Major Sandeep Unnikrishnan, Ashok Kamte, Hemant Karkare, Vijay Salaskar, Arun Jadhav, Constable Ombale and many others. You were Heroes.. We shall never forget what you did for us till our last…. Salute to the lions!!!

Major Sandeep Unnikrishnan was a Major in the Indian Army serving in the elite Special Action Group of the National Security Guards (NSG). He was killed in action while fighting terrorists in the November 2008 Mumbai attacks. His bravery was honoured with the Ashoka Chakra, India’s highest peace time gallantry award, on 26 January 2009.

“Do not come up, I will handle them”, were the last words which Major Unnikrishnan told his men as he was hit by bullets while engaging well armed terrorists inside the Taj Mahal Palace & Tower during Operation Black Tornado, according to NSG officials.

Later, NSG sources clarified that when a Guardsman got injured during the operation, Major Unnikrishnan arranged for his evacuation and started chasing the terrorists himself. The terrorists escaped to another floor of the hotel and during the chase Major Unnikrishnan was seriously injured and succumbed to his injuries.

Operation Black Tornado ( Mumbai 26/11 )

On the night of 26 Nov 2008, several iconic buildings in South Mumbai were attacked by terrorists. One of the buildings where the terrorists held people hostage was the 100-year old Taj Mahal Palace Hotel. Major Unnikrishnan was the team commander of 51 SAG deployed in the operation at the Taj Mahal Hotel to rid the building of terrorists and rescue the hostages. He entered the hotel in a group of 10 commandos and reached the sixth floor through the staircase. As the team descended the stairs, they sensed the terrorists on the third floor. The terrorists had held a few women as hostages in a room and locked it from the inside. After breaking open the door, the round of fire by the terrorists hit Commando Sunil Yadav, who was Major Unnikrishnan’s partner.

Major Sandeep Unnikrishan led his team from the front and engaged the terrorists in a fierce gunfight. He arranged for Commando Sunil Yadav’s evacuation and regardless of personal safety, chased the terrorists who, meanwhile, escaped to another floor of the hotel, and while doing so Major Sandeep continuously engaged them. In the encounter that followed, he was shot from the back, seriously injured and succumbed to injuries.

At Major Sandeep Unnikrishnan’s funeral, mourners shouted “Long Live Major Sandeep Unnikrishnan”, “Sandeep Unnikrishnan Amar Rahee”. Thousands lined up outside the Bangalore house of the NSG Commando Major Sandeep Unnikrishnan as thousands lined up to pay their respects. The funeral of Major Sandeep Unnikrishnan was held with full military honours.

“My son became a hero. I am proud of him, but I didn’t want to lose him ever. Sandeep laid down his life for the country’s safety. But I don’t know whether the country has become safer today. I feel that more people should join the army,” says his Father.

Major Sandeep Unnikrishna,

You will always stay alive in our hearts..
We are breathing peace today because you sacrificed your yesterday..
We are forever grateful. And our salute to your parents, who nurtured the adoration for the motherland, in you..
Still many indian’s remembering you.
I am only a member of this unit.
Ajmal kasab needs a brutal behavior that can do justice to our soldiers like you! Ajmal Kasab should be hanged without delay. Your sacrifice for our motherland had encouraged many of like me to die for our Nation..
We realy proud of you Sir.. Jai Hind !!