Skip to content

Instantly share code, notes, and snippets.

View rsoika's full-sized avatar
💥
Working on Jakarta EE9 migration

Ralph Soika rsoika

💥
Working on Jakarta EE9 migration
View GitHub Profile
@rsoika
rsoika / GotenbergClient.java
Created September 14, 2021 14:43
HTML to PDF Converter - Java Client
package org.rsoika;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.HttpURLConnection;
import java.net.URL;
@rsoika
rsoika / migrate_ee8_jakarta9.sh
Created June 30, 2021 09:29
Migration Script form Java EE8 to Jakarta 9
#!/bin/bash
# this script can be used to replace deprecated javax. package names from a
# Java EE8 project with the new jakarta. package names in Jakarta 9
# Initial version from rsoika, 2021
echo "replacing:"
echo " javax.annotation. -> jakarta.annotation."
echo " javax.ejb. -> jakarta.ejb."
echo " javax.enterprise. -> jakarta.enterprise."
@rsoika
rsoika / cassandra-key-generator.sh
Last active October 10, 2022 08:05
Script to generate a key pair for encrypting the node-to-node communictaion within a cassandra cluster
#!/bin/bash
#############################################################################
#############################################################################
#
# Cassandra Key Generator v1.0
#
# This script can be used to generate a key pair to be used to encrypt the
# node-to-node communictaion within a cassandra cluster.
#
#!/bin/bash
#title :gitbucket-wildfly-install.sh
#description :The script to install Gitbucket on Wildfly 9.x,10.x
#more :https://github.com/gitbucket/gitbucket/wiki/Deployment-to-JEE-and-Servlet-containers
#author :initial: Ralph Soika
#date :20161218
#changes :initial script
#usage :/bin/bash wildfly-install.sh [INSTALLDIR] [GITBUCKET-VERSION]
function usage
@rsoika
rsoika / wildfly-install.sh
Last active January 27, 2017 10:31 — forked from sukharevd/wildfly-install.sh
Installation Script for Wildfly 10 on Linux
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 8.x
#more :http://sukharevd.net/wildfly-8-installation.html
#author :initial: Dmitriy Sukharev, changes:Ralph Soika
#date :20141129, 20141213
#changes :added arguments for installation dir and port offset
#usage :/bin/bash wildfly-install.sh [INSTALLDIR] [PORTOFFSET]
function usage