-
jHipster step by step – null to hello world
I’ve seen one of my friend and college doing awesome project using jHipster. May be it’s the new big thing to start new Spring Boot + AngularJS + Bootstrap in fast boot mood! *** I’m new to all the technologies used in jHipster (a yeoman genarator) except the core technologies – Spring, AngularJS and Bootstrap.…
-
Eclipse (Juno) is not initializing suddenly!
My Eclipse (Juno) was working fine till yesterday, it’s not initializing today. It doesn’t even showing any error message! Splash screen coming and GONE! Solution: Step 1: Delete YOUR_WORKSPACE\.metadata\.plugins\org.eclipse.core.resources\.snap If your problem is not solved yet STEP 2: DELETE YOUR_WORKSPACE\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi You are DONE!
-
Size conversion filter using AngularJS
Following code should give you a clean and simple example of custom filter using AngularJS. HTML code: ——————— <!doctype html> <html > <head> <script src=”src=”http://code.angularjs.org/angular-1.0.0rc6.min.js”></script > <script src=”filter.js“></script> </head> <body> <div ng-app=”testFilterApp“> <label>Size in Byte:</label> <input type=”text” ng-model=”sizeInB” placeholder=”Enter a name here”> <hr> <h2>Human Readable Size (precision:3) {{sizeInB | sizeConverter:3}}!</h2> <h2>Human Readable Size (precision: not…
-
Funny JSP parser!
OK have a look: JSP code: <% if(thisCodeIsOK){ %> I am a genius ! <% }%> <% else { %> JSP parser is genius ! <% } %> Tell me are you a genius? I don’t think so. To be genius you have to write this code as following <% if(thisCodeIsOK){ %> I am…
-
Eclipse Debugging
This article describes how to debug a Java application in Eclipse. This article is based on Eclipse 4.2 (Eclipse Juno). Table of Contents 1. Overview 1.1. What is debugging? 1.2. Debugging support in Eclipse 2. Prerequisites 3. Debugging in Eclipse 3.1. Setting Breakpoints 3.2. Starting the Debugger 3.3. Stack 3.4. Evaluating variables 4. Advanced Debugging…
-
Hints for writing secure code
Security and data protection are becoming now more and more popular topics. We are coming into the world where too much information is transfered/used/processed by computer systems and any leak of that information can cause a big trouble. Thus, it is very important for application to protect customer information as much as it can and…
-
Hack your open cart pagination library to enable AJAX calls
Okay, I just faced and solved an very interesting problem and can’t wait to share with you all. PROBLEM: I was trying to do pagination calls by ajax as my whole project architecture is like that. But open cart’s pagination do not by default support ajax call. I’ll go step by step through the solution. Pagination class…
-
Change base url of your magento application (And a bonus problem!)
Starting work with magetno (eCommerce platform). I installed the framework defining the base url as “localhost“. Everything was OK but yet i was unable to login to admin panel. I even tried changing password in database (Changing the original password to md5 hash). I just figured out that magento requires “.” in the host name (it should…
-
Creating a new .htaccess or .password file in windows 7
Have you ever tried to create a new .htaccess file in Windows 7 (or Vista) via windows explorer? If so, this error will probably look familiar. Fix: Open Notepad and hit go to File > Save As. Change the save as type to “All Files”. Enter “.htaccess” as the file name and hit save.
-
New Website Developed
Very recently I developed website for an software firm of Bangladesh called tetra soft. (www.tetrasoft.com.bd) Tetra Soft was developed to help business organizations running properly in the world of globalization. For these responsibilities and challenges, Tetra Soft is applying its acquired knowledge, skills, experience, expertise and professionalism. The firm is one of the best solution…