View createOSXInstallerIso
#!/usr/bin/env bash
# Create OSX Installer ISO.
# 2017 robertoschwald
# https://gist.github.com/robertoschwald/7f9eadf78739128ea1fb7a32c0472e1c
installer_path=/Applications/Install\ macOS\ High\ Sierra.app
installer_mountpoint=/Volumes/Install\ macOS\ High\ Sierra
echo "Creating Install ISO"
View SampleEntity.java
// Due to MySQL's lack of sequences, Hibernate 5.x would use TABLE identity if
// setting strategy = @GeneratedValue(strategy = GenerationType.AUTO).
// This currently does not work with Galera Cluster, as it needs a PK
// which is not defined by the default hibernate sequence table "hibernate_sequence",
// so DDL will fail and the application does not work as expected.
// One Trick would be to define our own TableGenerator which holds a PK like below.
// Disadvantages:
// - performance (generally a problem when using GenerationType.TABLE)
// - not the best option for a DB agnostic application, when other DB types support SEQUENCE.
View ApacheEmailValidator.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance with the License. You may obtain a
* copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
View GitHubEnterprise.ovf
<?xml version="1.0" encoding="UTF-8"?>
<!-- Manually converted to vCenter 6.5 format by roos
Note: You must update the GitHubEnterprise.mf sha1 fingerprint of this file.
This version fixes the OVF import error in vCenter 6.5 ("..ProductInfo not allowed in Envelope..")
-->
<!--Generated by VMware ovftool 3.5.0 (build-1274719), UTC time: 2017-01-26T19:38:58.786729Z-->
<Envelope vmw:buildId="build-1274719" xmlns="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common"
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
View application.groovy
quartz {
autoStartup = true
jdbcStore = true
waitForJobsToCompleteOnShutdown = true
// Allows monitoring in Java Melody (if you have the java melody plugin installed in your grails app)
exposeSchedulerInRepository = true
scheduler {
instanceName = 'gmwc_quartz'
instanceId = 'AUTO'
View application.yml
quartz:
autoStartup: true
jdbcStore: true
sheduler:
instanceName: myapp_quartz
instanceId: AUTO
skipUpdateCheck: true
threadPool:
class: org.quartz.simpl.SimpleThreadPool
threadCount: 5
View grails-quartz-2.2.1-db-migration.groovy
// Grails database-migration changeLog for Quartz 2.2.1 DB Tables (Grails Quartz-Plugin 2.0.0)
// See http://svn.terracotta.org/svn/quartz/tags/quartz-2.2.1/distribution/src/main/assembly/root/docs/dbTables/tables_mysql_innodb.sql
databaseChangeLog = {
changeSet(author: "r.o. (manual)", id: "1476893806-1") {
sql('''
DROP TABLE IF EXISTS QRTZ_FIRED_TRIGGERS;
DROP TABLE IF EXISTS QRTZ_PAUSED_TRIGGER_GRPS;
DROP TABLE IF EXISTS QRTZ_SCHEDULER_STATE;
DROP TABLE IF EXISTS QRTZ_LOCKS;
View GrailsDomainConfiguration.groovy
/*
* Copyright 2013-2016 symentis GmbH - All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
View macports_build_bacula_dmg_private.sh
#!/bin/sh
# Script to build MacPorts based OSX Bacula FD Client (7.0.4) in private dir as MDMG installer
# containing all dependencies.
# (c) 2015 Robert Oschwald
# Prerequisites:
# - OSX (10.11 tested)
# - XCODE (7.1.1 and 7.2.0 tested)
# - PackageMaker.app (http://adcdownload.apple.com/Developer_Tools/auxiliary_tools_for_xcode__late_july_2012/xcode44auxtools6938114a.dmg)