Get me outta here!

Farsim

My Dream I Care Most…

Menu

Skip to content
  • Home
  • About
  • About Me
  • Contact

Author Archives

Farsimhttp://farsim.meI'am Simply Simple

jHipster step by step – null to hello world

March 29, 2016 by Farsim

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. So my learning curve will be including Yeoman, Grunt, Gulp, sass, npm etc…

jHipster

JEE Porgramming Spring Leave a comment

Eclipse (Juno) is not initializing suddenly!

August 21, 2013 by Farsim

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!

Porgramming EclipseJavaTipsTroubleshooting Leave a comment

Size conversion filter using AngularJS

April 27, 2013 by Farsim

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 defined) {{sizeInB | sizeConverter}}!</h2>
</div>
</body>
</html>

Continue reading →

23.709921 90.407143
Porgramming AngularJSjavascriptweb 2 Comments

Funny JSP parser!

April 2, 2013 by Farsim

OK have a look:

JSP code:

<%  if(thisCodeIsOK){ %>

I am a genius !

<% }%>

<% else { %>

JSP parser is genius !

<% } %>

 

Tell me are you a genius?

Internet-Troll

I don’t think so. To be genius you have to write this code as following

<%  if(thisCodeIsOK){ %>

I am a genius !

<% }else { %>

JSP parser is genius !

<% } %>

23.709921 90.407143
Porgramming Leave a comment

Eclipse Debugging

January 14, 2013 by Farsim

JAVA Debugging in Eclips

JAVA Debugging in Eclips

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
4.1. Skip all breakpoints
4.2. Breakpoint Properties
4.3. Watchpoint
4.4. Exception Breakpoint
4.5. Method Breakpoint
4.6. Class Load Breakpoint
4.7. Step Filter
4.8. Hit Count
4.9. Drop to frame
5. Exercise: Create Project for debugging
5.1. Create Project
5.2. Debugging

1.1. What is debugging?

Debugging allows you to run the program interactively and to watch the source code and the variables during this execution. Continue reading →

23.709921 90.407143
Porgramming DebuggingEclipsJava 1 Comment

Hints for writing secure code

January 14, 2013 by Farsim

Secure Coding

Secure Coding

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 do not allow it to spread out.There are many aspects of application security and these cover processes, architecture, infrastructure, code, etc. The whole topic is extremely big and versatile and there are some books written to cover all its possible verges. I will touch just a small piece which is related to something which is in area of developer’s responsibility – code and application architecture. Also, I assume that that reader mostly works on web applications implemented on Java or similar platform.

I disagree that creation of secure code is hard work; I would say it’s just a question of some knowledge and discipline. Here are several guidelines which developer has to follow to cover the most of application security vulnerabilities. Of course list is not complete and mostly covers just protection of customer’s data. Continue reading →

23.709921 90.407143
Porgramming JavaSecurity Leave a comment

Hack your open cart pagination library to enable AJAX calls

December 11, 2012 by Farsim

Open cart pagination

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 returns a string what we just echo in our page. Now what is the architecture actually of that generated code?

open cart  pagination class generated code

How this code is generated?

Untitled2

You need to change the followings:

Untitled2So, can you see what is the change? I am sending a new flag “isCustomized” and changed the url.

Now you have to change in pagination.php library.Untitled3

Now write your code in classAjax()(Actually it’d callAjax) method.

23.709921 90.407143
Porgramming ajaxopencartpaginationphp Leave a comment

Change base url of your magento application (And a bonus problem!)

November 16, 2012 by Farsim

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 be 127.0.0.1 instead of localhost). So, i had to change the host name      every time browsing each new page from admin panel. This solved my bonus problem ;P.

Continue reading →

23.709921 90.407143
Porgramming eCommerecphp Leave a comment

Creating a new .htaccess or .password file in windows 7

November 1, 2012 by Farsim

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.

.htaccess

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.

 

23.709921 90.407143
Porgramming .htaccessapacheconfigureserverwindows7 Leave a comment

New Website Developed

October 22, 2012 by Farsim

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 provider in Bangladesh.

Tetrasoft Bangladesh

23.709921 90.407143
Porgramming phpsoftwarewebsite Leave a comment

Post navigation

← Older posts

Search

Calendar

March 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Mar    

Tag Cloud

.htaccess ajax AngularJS Animation apache barrel roll Basic C++ colorbox configure Debugging Dependancy Injection design Eclips Eclipse eCommerec File Framework fun Game google HR Management I/O illustrator image upload Interview Java javascript Java Swing JEE jquery JSE Map maps.google Motivation MVC mySql opencart OpenGL pagination photoshop php phpMyAdmin pyGame python RMI searching Security server SESSION software Software Engineering Spring String String processing Symbian Symbian C++ Symbina UI Design Tips tooltip Troubleshooting UI UI Design usefull links web web development web security website web technologies windows7 xampp XSS

Top Posts & Pages

  • jHipster step by step - null to hello world
  • Eclipse (Juno) is not initializing suddenly!
  • Size conversion filter using AngularJS
  • Funny JSP parser!
  • Eclipse Debugging

Archives

  • March 2016 (1)
  • August 2013 (1)
  • April 2013 (2)
  • January 2013 (2)
  • December 2012 (1)
  • November 2012 (2)
  • October 2012 (2)
  • July 2012 (2)
  • June 2012 (1)
  • March 2012 (5)
  • February 2012 (4)
  • January 2012 (2)
  • December 2011 (1)
  • November 2011 (5)
  • October 2011 (1)
  • August 2011 (1)
  • July 2011 (3)
  • June 2011 (1)
  • May 2011 (3)
  • January 2011 (1)

Blogs I Follow

Author Grid

সাদাসিধে কথা আর্কাইভ

মুহম্মদ জাফর ইকবাল এর কলামগুলোর সংগ্রহ

Farsim
  • Follow Following
    • Farsim
    • Already have a WordPress.com account? Log in now.
    • Farsim
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...