React Native with MEmu Emulator

The Android Virtual Devices that are installed through Android Studio are slower than a physical device. MEmu is a high performance, fully compatible Android emulator that allows multiple instances. It truly brings the Android experience to Microsoft Windows devices. The following is a guide to setup a Reactive Native project with the MEmu emulator. MEmu Requirements […]

Scala IDE for Eclipse

There are currently three Scala development environments available; IntelliJ IDEA, NetBeans and Eclipse IDE. The following is an excerpt from Scala IDE Scala IDE provides support for development of Scala applications in the Eclipse platform. The main purpose is the support for the Scala language and the integration with the Eclipse Java tools. It provides […]

Java Embedded Browser

So why embed a browser in an application, when anybody can just access a site via Firefox, Google Chrome, Internet Explorer or others? Why re-invent the wheel? In terms of security, this is useful because it can restrict access to a web host through the application or it can prevent users from accessing third-party plugins […]

Build Maven Standalone Tests

Maven projects are not only used for building standalone or web applications they are also used for providing robust test frameworks using Java. Running a standalone test is difficult, because the problem is that Maven packages the JAR file with only the main classes or test classes separately without the full dependencies. The following describes […]

SQL Server XML Data Retrieval Using XQuery

SQL Server allows that storage of XML in table columns. The XML can be stored in either a plain text data type or as valid XML. The most efficient way of accessing the XML is using a temporary table to store XML data. The main reason is that the column may not be an XML […]

Write and Read Configuration Files Using Python

Configuration files are important in the storing of persistent data on the local disk and its retrieval for later use. The data could be in the form of an automated timestamp of last access or it could be user-entered information such as a name or personal user settings. In order to easily achieve this in […]

Use Dropbox to Host a Maven Repository

There are many Maven repository hosts that offer a free service if the project is open source software (OSS) such as Sonatype Nexus and JFrog Bintray. There are times where privacy is required, such as commercial or experimental code, however the price to host such projects is not viable. This is a guide to setup […]

Open Windows Folder Containing File from Eclipse

There are a number of times where the developer requires to look at the folder where project resources are stored. There are two ways though that a folder can be opened directly from Eclipse thus eliminating the need to navigate the project packages manually. Firstly, StartExplorer Eclipse plug-in is an easy way to implement this. […]

Remove Extra New Lines and Whitespace Using Java Regex

Sometimes when extracting text from another item may result in formatting issues that involve extra blank lines or leading/trailing whitespace on each line. This commonly occurs when extracting from HTML elements or XML documents. The following String regular expressions can fix the following issues. (?m) = multi-line mode The following removes the leading/trailing whitespace from […]

jQuery – Scroll to Top

Using anchors within the same page to navigate between sections is a good way to improve the user’s experience. However, this jump occurs in an instant and gives the user little feedback to indicate that the document position has changed. The use of animations can greatly improve the user experience and feedback by creating on-demand […]