Skip to content

Instantly share code, notes, and snippets.

View bthompson-nd's full-sized avatar

Benjamin Thompson bthompson-nd

View GitHub Profile
@bthompson-nd
bthompson-nd / MySQL8Ops.java
Created October 7, 2022 20:40
A helper function compatible with a MySQL 8 ResultSet that will return a Dynamic column. Meant to be used as a Routine in Talend 6.5.1
package routines;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import routines.system.Dynamic;
import routines.system.DynamicMetadata;
public class MySQL8Ops {
@bthompson-nd
bthompson-nd / activemq.service
Created February 6, 2017 15:14
A systemd ActiveMQ service file for CentOS 7 and Red Hat 7
[Unit]
Description=ActiveMQ Message Broker
After=syslog.target network.target
[Service]
Type=forking
PIDFile="/opt/activemq/data/activemq.pid"
ExecStart="/opt/activemq/bin/start"
ExecStop="/opt/activemq/bin/stop"
ExecReload="/opt/activemq/bin/restart"
---
- hosts: webservers
sudo: yes
vars:
http_port: 80
remote_user: vagrant
roles:
- { role: rvm_io.rvm1-ruby, tags: ruby, sudo: True }
tasks:
- name: install epel