Monday 4 September 2017

Windows 10 God Mode

Got Windows 10? Want to tweak a lot of settings in one place?

Create a new folder on your desktop and rename it "GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}"

Happy tweaking

Saturday 2 September 2017

Installing phonegap developer app on older devices or older versions of the developer app

You may go to the android play store and find that it tells you that the app is incompatible with your device even though you have had it installed on that device before.

Or you may find that you want to install an older version of the developer app because it worked better than the current version in the stores.

Fear not, you can download older versions from here

Monday 5 June 2017

Installing Birt on Linux

This is a simple post of how to install the Birt reporting engine on Linux. In this example I am installing on Linux Mint 18.1 but the same will apply to other versions and distros based on Debian/Ubuntu.

You can use your package manager or the command line apt-get tool.

Step 1: Install Apache2 and Mysql
Apache 2 is the web server of choice for a lot of Linux installations. Mysql is a free database engine. I would assume that these tools would already be installed on your system by the time you wanted to get birt up and running.

$ sudo apt-get install apache2 mysql-server

Step 2: Install Tomcat8
At the time of writing, this is the latest version of Tomcat

$ sudo apt-get install tomcat8

Step 3: Webapps folder
This is generally downloaded from the Birt-eclipse website (http://download.eclipse.org/birt/downloads/#runtime). Unzip the file, the folder we're interested in is the WebViewerExample, you can rename this as you wish and copy or link it under /var/lib/tomcat8/webapps/

Step 4: jdbc driver

For MySQL:

$ sudo apt-get install libmysql-java

For Microsoft SQL Server, download from SourceForge https://sourceforge.net/projects/jtds/, unzip the file, copy the jtds-*.jar file to /var/lib/tomcat8/lib

Step 5 restart birt

$ sudo service tomcat8 restart

 Additional Steps
Assuming you're using Eclipse to design the report, you will need to install the mysql driver into that, the download for the jar file is here https://dev.mysql.com/downloads/connector/j/