Render PDF using PhantomJS

Recently, I got a requirement from one of the clients to generate PDF report. The traditional way to generate PDF report is using Jasper reports(jrxml). In my previous projects I had used iReport to generate PDF using .jrxml but it is a bit time consuming and hectic...

Exposing local web server publicly

When working on web development, there are times when we need to share our local changes quickly. If the change is small, deploying to web server by generating a war file would consume a lot of time. There needs to be a quick way to expose web server(running locally)...

Test GPU’s performance on Linux

I recently downloaded Playstation 1 Emulator:PCSX on my PC and few PS roms like Tekken, Spider-man etc. and these games worked smoothly giving around 50-60 fps at 1366*768 resolution. I wondered whether my integrated graphics card can run PS2 rom games as smoothly as...

How to handle brightness in ubuntu 14.04

How to fix the Brightness problem in ubuntu 14.4? It is very simple follows these steps 1. Open a terminal and create the following configuration file, if it does not exist: sudo touch /usr/share/X11/xorg.conf.d/20-intel.conf 2. Now we need to edit this file. You can...

Configure MYSQL as case insensitive on Linux

Few months back I was working on a task in which I had to construct few SQL queries to fetch specific data and display on the GSP pages. I fired few queries(table names were given in lower case) but it failed. It showed an error that there is no such table with the...