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.…
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.…
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…
Quick snippet on password encryption for the org.picketbox.datasource.security.SecureIdentityLoginModule which is relatively version agnostic. From your JBoss directory, run
1 |
java -cp "modules/system/layers/base/org/picketbox/main/*;modules/system/layers/base/org/jboss/logging/main/*" org.picketbox.datasource.security.SecureIdentityLoginModule EXAMPLE_PASSWORD |
It’ll output the encrypted password, which you can update your configuration with. If you get an error, like
1 |
Error: Could not find or load main class org.picketbox.datasource.security.SecureIdentityLoginModule |
It’s most likely…
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…
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…
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,
1 2 3 4 |
<h:outputFormat value="{0} comes out as {1}"> <f:param value="This"/> <f:param value="That"/> </h:outputFormat> |
This outputs “This comes out as that.” – fine for your everyday message, but when…
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…
Introduction I’ve been working with the ANT API whilst putting together a build tool (long story) recently. There isn’t a whole lot of documentation available on the ‘net (in fact, there’s explicitly little documentation in cases), so here are two…
[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…
Introduction Have you been at your wit’s end trying to work out why your action just won’t fire? Have you exhausted BalusC’s list of potential reasons? Does it happen to be just the last couple of buttons that don’t work,…