Blog Archives

PokeWhat

Long, long ago, there was this article. That article spawned a meteor.js application that was a fully featured poker game, with an overly large GIF engine (for 2014), with which we whiled away a fair amount of time. Time moved

Tagged with: , ,
Posted in Java

CanDoGram – Telegram bot wrapper for Java EE

Introduction So there’s a pretty great wrapper for the Telegram API for Java – check it out here. I started creating a bot in it and, being naturally Java EE inclined, wanted to push it into a Java EE environment.

Tagged with: ,
Posted in Java

Crawling for cyber zama-zamas

Wow So, this post has everything. Crypto-currency. High-speed internet chases. Adventure. Excitement. Government negligence. Life lessons. Spiders. Morphing websites. Inside jobs. Ohhh boy. Crypto-mining: it’s like modern alchemy, turning electricity into gold. Tiny tiny tiny pieces of gold. The uber-summary

Tagged with: , , , , ,
Posted in Front-end, Java, Javascript, Security, Technology

JBoss EAP 6 – encrypt password for SecureIdentityLoginModule

Quick snippet on password encryption for theĀ  org.picketbox.datasource.security.SecureIdentityLoginModuleĀ  which is relatively version agnostic. From your JBoss directory, run

It’ll output the encrypted password, which you can update your configuration with. If you get an error, like

It’s most likely

Tagged with: , , ,
Posted in Java, Security

Creating / renewing a Let’s Encrypt certificate for Apache and WildFly

These instructions were written for Ubuntu 16, but they should translate quite easily to other flavours of *nix, relatively easily for macOS, and with only small tweaks for Windows. Probably. Apache Renewing the Apache portion of the certificate is fairly

Tagged with: , , , ,
Posted in Java, Security

IntelliJ says Maven’s M2_HOME system property is not set

And it’s right! To be fair, IntelliJ should really set this kind of thing up for us (given that it’s really not that hard), but I guess we should allow it a quirk every so often. I’ve found I run

Tagged with: ,
Posted in IntelliJ, Java, Javascript, Technology

IntelliJ Plugin Development – Drowning in Documentation

Introduction Documentation is important. Okay, let’s be slightly more precise – good documentation is important. Take as an example the IntelliJ plugin documentation – at the time of writing, it’s hopefully out of date. Trying to find any useful sources

Tagged with: , , , ,
Posted in Java

h:outputText values with named parameters

Introduction JSF supports parameter substitution out-of-the-box, but only so far as using numbered indices, which aren’t insanely easy to read or remember. For example,

This outputs “This comes out as that.” – fine for your everyday message, but when

Tagged with: , , ,
Posted in Java

JavaFX and JavaScript – calling Java from JavaScript

Introduction JavaFX’s integration with web pagesĀ is quite impressive – you can query the DOM, execute arbitrary JavaScript and get results back. In addition, you can trigger changes on the Java-side from the web page. In this brief introduction we’ll look

Tagged with: , ,
Posted in Java, Javascript

Java 9 – new reserved keyword ‘secret’

[This was April Fool’s, obviously] Under the guidance provided by the ‘Keep it Secret, Keep it Safe’ (KISKIS) principle, secretĀ is a proposed new keyword underĀ Java 1.9. This keyword is designed to be used in cases where an open and extensible

Tagged with: , , ,
Posted in Java