Skip to content

Instantly share code, notes, and snippets.

Avatar
💥
Working on Jakarta EE9 migration

Ralph Soika rsoika

💥
Working on Jakarta EE9 migration
View GitHub Profile
@rsoika
rsoika / GotenbergClient.java
Created Sep 14, 2021
HTML to PDF Converter - Java Client
View GotenbergClient.java
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 Jun 30, 2021
Migration Script form Java EE8 to Jakarta 9
View migrate_ee8_jakarta9.sh
#!/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 Jun 23, 2020
Script to generate a key pair for encrypting the node-to-node communictaion within a cassandra cluster
View cassandra-key-generator.sh
#!/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.
#
View gitbucket-wildfly-install.sh
#!/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 Jan 27, 2017 — forked from sukharevd/wildfly-install.sh
Installation Script for Wildfly 10 on Linux
View wildfly-install.sh
#!/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