My Random Tech Stuff
Sunday, February 4, 2018
Getting Started with Python's Virtualenv
›
This blog will teach you how to get started with virtualenv in Python. First install virtualenv if you have not installed it. pip install v...
Friday, January 12, 2018
Getting Started with Java Module System
›
In this blog, I'm going to teach you how to get started with Java module system. build.gradle apply plugin: "java" sourceC...
1 comment:
Friday, June 30, 2017
How to a Build Standalone REST Application in Java
›
There are many frameworks that allow you to build REST easily in Java. In this blog, however, I am going tho show you how to build a standal...
Thursday, April 6, 2017
How to Shade a JAR and Relocate Classes in Maven
›
The example below shows how to shade org.fredy.myjar and guava JARS and rename the Guava classes that contain com.google.guava to org.fredy....
Friday, March 3, 2017
How to Cancel a Goroutine in Go
›
The example below shows how to cancel a goroutine while is in the middle of executing a long-running task. package main import ( ...
Wednesday, February 22, 2017
How to Embed JavaScript in Java
›
Java 8 came with a JavaScript engine called Nashorn. This makes it easy to call some JavaScript code from Java. In this example, I'm go...
1 comment:
Wednesday, December 14, 2016
How to Use Jetty to Serve Static Content
›
Download Jetty. Extract it to some location. We will call this JETTY_HOME. Set JETTY_BASE environment variable. This is a separate direct...
›
Home
View web version