Skip to content

Checkout a Git branch

If you are using GitFlow you will typically need to create a branch from ‘Develop’ to do your development work. To create the branch follow these steps: Clone the respository git clone git@bitbucket.org:example/example-repo.git Create the branch in the remote repository. Identify the repo with git branch  (optional)…

Continue reading Checkout a Git branch

Download and install Sigar

Sigar is a Java library that allows you to monitor various aspects of your system. Including Network, Memory, and CPU. To use Sigar in you Java application follow these steps: 1. Copy the following Maven dependency into your project:  <dependency> <groupId>org.gridkit.lab</groupId> <artifactId>sigar-lib</artifactId> <version>1.6.4</version> </dependency> 2.…

Continue reading Download and install Sigar

How to implement custom queries using Spring-data and JPA

This tutorial will describe how to implement custom JPA methods for dynamically-driven queries in Spring Boot. Maven package dependencies <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.1.RELEASE</version> <relativePath /> </parent> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> </dependencies> The JPA interface Typically JPA…

Continue reading How to implement custom queries using Spring-data and JPA

Cryptography explained!

Cryptography (encryption) is the process of protecting information by transforming it into an unreadable format, called cipher text. This will usually be done using cryptographic key systems to encrypt and decrypt cipher text. These systems include the Diffie-Hellman key exchange, as well as Advanced Encryption…

Continue reading Cryptography explained!