Pages classified as Java 1.8

ISO 3166 Codes in JAVA, JSON …

ISO-3166 Geographical Areas Here are 4,898 geographical area ISO-3166 codes with their hierarchical attributes as a JSON document a CSV Format (Microsoft Excel) Tab Delimited File Each ISO-3166 code comes with the geo area name and a “type” like country or district or prefecture or even continent. The type describes the geographical area. Geo area longitude and latitudes also come

Read more

How to Name Docker Containers

You need to name Docker containers, the Amazon cloud’s EC2 machines and S3 buckets, and any number of VirtualBox virtual machines. You also need a naming convention for folders within the containers, and files within the folders. When automatons produce and consume resources – your naming convention dictates productivity and the ability to administer all these things around you. 6.072-174905-sat.mar.12

Read more

BindException | How to Stop a Java Process on Ubuntu Listening on a Port

After a Java BindException on Ubuntu (from Jetty, Nexus, Jenkins, Jira) you may need to ascertain the details of the process listening on the port. And then stop it listening without a reboot. 1. The Java BindException? The BindException is like this. jvm 1 | java.net.BindException: Address already in use jvm 1 | at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_91] jvm 1 |

Read more

JSON and JAVA Syntax Highlighters – Do it in Style?

Here are 7 ways to highlight JSON and JAVA code. The methods are a tad creative – but they need to be because there is no perfect silver bullet solution to highlighting your JSON, JAVA, SQL, JSON-LD, Maven, SBT and ANT syntax. You Can Highlight JAVA and JSON Syntax Syntax Highlighting is tough if you don’t know how. Highlighting JAVA

Read more