A dumping ground for everything that doesn't qualify for article status. Snippets may have an explanation, they may not. Simply useful little pieces of code I've used to solve a specific problem and I feel may be useful in the future!


Create a helper function...
Create a helper function in JS (React)
Remove all active Postgr...
Remove all active Postgres Db connections
Java 8 BiFunction
Filter a HashMap using a...
Filter a HashMap using a values in a Set
Remove Android app from ...
Remove Android app from CLI
Arrays in Swift
Class inheritance in Swi...
Class inheritance in Swift
Creating a class in Swif...
Creating a class in Swift
Creating a custom data s...
Creating a custom data structure
Deploy mobile apps local...
Deploy mobile apps locally from CLI
Adding and removing an i...
Adding and removing an item in array in state
Creating a new react app...
Creating a new react app
Validate all json files ...
Validate all json files in directory tree
Extract specific attribu...
Extract specific attribute from JSON response
Processing an array of P...
Processing an array of Promises async in parallel
Understanding the flatMa...
Understanding the flatMap and map
Generate a list of Integ...
Generate a list of Integer IDs using
Peeking at the objects w...
Peeking at the objects while iterating using stream()
Beautify JSON output on ...
Beautify JSON output on the command line
Quickly creating a blank...
Quickly creating a blank JEE project with maven
Using telnet to diagnose...
Using telnet to diagnose stmp issues
Prometheus resources
Run a Docker container w...
Run a Docker container with persistent storage
Paramaterising test data...
Paramaterising test data when running tests in Junit5
Starting docker-compose ...
Starting docker-compose on linux boot
Obtain an InputStream fr...
Obtain an InputStream from your strings
Quickly converting MySQL...
Quickly converting MySQL tables from MyISAM to InnoDB (Error 1215)
How to make Ubuntu 18.04...
How to make Ubuntu 18.04 hibernate
Problems installing Micr...
Problems installing Microsoft Gaming Services, see here!
Running individual tests...
Running individual tests from a modular maven project
Docker exec: bash wont c...
Docker exec: bash wont connect
CLI graphical view of di...
CLI graphical view of disk usage
Specifying a proxy for t...
Specifying a proxy for the docker daemon
Disable/Enable camera sn...
Disable/Enable camera snap shot noise
Thread.sleep without exc...
Thread.sleep without exception
Webserver configuration ...
Webserver configuration (apache)
Increase EJB transaction...
Increase EJB transaction timeout
Installing a certificate...
Installing a certificate to your JDKs cacerts file
Start a thread using a l...
Start a thread using a lamda
Iterating over a HashMap...
Iterating over a HashMap
Extracting attribute fro...
Extracting attribute from JSON in jBPM
Grab all process variabl...
Grab all process variables for a process
Grab the ksession or pro...
Grab the ksession or process instance ID
Hello world snippet!

v1.9.1

© ScottFreeIT.com 2020