Archive for the 'Code' Category

 

 

Oct 28 2021

SSL Versions Supported on my JVM

Published by under Java

SSL or TLS supported on a JVM can change depending on many things. Here are the many factors it depends on, and how to display which SSL versions are available and enabled on your JVM. Factors Affecting SSL Support SSL support depends first on your JDK version. TLS 1.0 and 1.1 are disabled on more […]

No responses yet

Apr 28 2021

Show All Available Icons in Diagram as Code

Published by under Python

Diagram as Code by Mingrammer lets you draw beautiful diagrams while offering so many icons. It is just frustrating to go within all subdirectories to check and see all available icons. I decided to write a piece of code that imports classes from Diagram as Code package’s submodules.I then gather each provider’s submodules in a […]

No responses yet

Apr 01 2021

Build Ansible Inventory from IBM Cloud Resources

Published by under Ansible,Python

IBM Cloud relies on Softlayer API – also called IBM Classic Infrastructure – to automate things. The API is available in different languages such as Python, Go, Java or PHP, and can be used to build an Ansible inventory. Here I will generate automatically a host inventory collected from my IBM Cloud account, directly usable […]

No responses yet

Mar 14 2021

Draw Beautiful Diagrams with Diagram as Code

Published by under Python

Diagram as Code is a hot topic these days that brings a lof of benefits. Among them:– Keep track of changes, who and what– Store on a repository as simple text– No need to realign arrows or move things around when you add an item– Much faster as a consequence once you have the knowledge– […]

No responses yet