Ambari Server Host Addition in Ubuntu

Apachi Ambari provides a graphical user interface (GUI) to monitor Apachi Hadoop clusters. The installation process of ambari server can be found here. To add a new host in Ambari server, the host must have Fully Qualified Domain Name (FQDN) and password less SSH connection needs to be established between host and server. There are several steps that needs to be followed in order to add host successfully.

Continue reading

Password Hashing in Client Side

Password security is most important concern in web development. Most of the web applications developed now a days secure user password by hashing it in server side before storing it in database. But still there is possibility of exposing user password in client side if not handled properly.

Continue reading

Image upload in CKeditor

CKeditor is an open source HTML text editor. For adding CKeditor we need to create a <textarea> element in our web page and call CKeditor script.

We are going to create 3 files ie, ckeditor.html, upload.js, upload.php and an image folder to upload image.
1) ckeditor.html: HTML with a textarea element.
2) upload.js: Script to display CKeditor and Upload tab in image properties.
3) upload.php: Code for uploading images in image folder.

Continue reading

DataTables Column Filter in Header

To add column filter in DataTable you can go through my previous blog here. Now, we will move a step further and move column filter from footer to header.

Why do we need column filter in header?

If there are 50 to 100 records in a table then every time user needs to scroll down the page to use column filter. To make this more user friendly we can move column filter from footer to header.

Continue reading

DataTables Column Filter

DataTable is a jQuery plugin with advanced interaction controls to any HTML table. It is a highly flexible tool which provides pagination, multi-column ordering and instant search.

The DataTable search filter works for an entire table. But if you wish to add search filter for a particular column, then it’s also possible with a small tweak. Let’s take a look on adding column filter.

Continue reading

Multiple Firefox Profiles

Almost all of us want a clean browser while surfing the web. If more than one person is using same computer then there can be some bookmarks which is important for 1 user, but useless for other. Similarly, if one is using same laptop in home and work then we want distraction free Firefox profile at work to stay focused. We don’t need unnecessary bookmarks, extensions, username and passwords at work.

We can create multiple Firefox profile to get rid of these problems.

Continue reading