TO THE NEW Blog PAGES

Node.js

Executing MongoDB shell commands from Javascript file

MongoDB uses javascript interface for the shell commands. We can really use this feature in a great way – by writing the MongoDB (shell) commands in a javascript (.js file) and execute in single go. In this blog, I am going to show an example for the same: [javascript] print(‘===== My Demo Script =====’); print(db.getCollectionNames()); […]

Salil
Salil
Read

Technology

Normalization Forms for Accented Characters in Java

Text Normalization is the process of “standardizing” text to a certain form, so as to enable, searching, indexing and other types of analytical processing on it. Often working with large quantities of text we encounter character with accents like é , â etc. Unicode provides multiple ways to create such characters . For example we […]

Sachin
Sachin
Read

Grails

How to configure SSL on Tomcat server and run Grails/Java application on HTTPS

To run your Grails application on SSL, firstly you need to configure the Tomcat server. Here in this example, I will show how to configure Tomcat instance and run Grails/Java application. For SSL/HTTPS: We need .keystore file. You can generate it by using command“keytool -genkey”. Run this command on linux terminal or window cmd, follow […]

Grails

Facebook ‘Like’ a wall post using Graph API

Hi, In one of my Grails project, i needed to ‘Like’ any Facebook wall post using facebook API. I searched about it and found a way to achieve this using Facebook Graph API and thought it worth sharing. To achieve it, we should have a valid facebook access_token, which can be obtained using steps described […]

Grails

Posting photos to Facebook album using Graph API

Hi, In my recent grails project, i needed to post images to the albums for Facebook Profile/ Fan page/ Group using facebook API. I searched a lot and find a way to achieve this using Facebook Graph API. To post any content over facebook, we need to have facebook access_token which can be obtained using […]

Grails

Integrating Grails With Weceem 2 : Creating custom content

Hiya…. Last time we met, we  were talking about how to get started on Integrating Grails With Weceem CMS. Moving on, when you actually use it in a typical product development scenario, you will more often that end up customizing the content being served by Weceem. So this blog will concentrate on exactly that….. Creating Custom […]

Technology

Normalizing Accented Words

We all often need to work on data aggregated together from different sources, and before we analyse it, we often need to normalize it to a certain standard, A normalization process typically includes removing special characters, converting all text to lower case , We can also have certain rules that words like “saint” will always […]

Sachin
Sachin
Read

Technology

Removing/replacing special character from database.

Recently in one of my project i faced a problem that database was having special character, which is shown as space on the User Interface. So as to solve this issue i found a very simple solution which consists of following steps: 1. First, you just need to identify which type special character to be […]

Technology

How to Set-up SSL certificates on your Linux server

In one of my project, I have to set-up SSL certificates for my website to make it secure, so that it could also be access via https protocol. SSL is a way to secure internet communication from your browser to a secure website. The websites using SSL will have https:// to their name. Following are […]