Skip to content

Instantly share code, notes, and snippets.

View rhauch's full-sized avatar

Randall Hauch rhauch

View GitHub Profile
[INFO] DOCKER> ... Status: Downloaded newer image for mysql/mysql-server:5.7
[INFO] DOCKER> [mysql/mysql-server:5.7] "database": Start container 77ba337669ef
16:26:38.062 mysql> Initializing database
16:26:41.253 mysql> Database initialized
16:26:41.262 mysql> MySQL init process in progress...
16:26:42.770 mysql> Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
16:26:43.884 mysql> Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
16:26:43.938 mysql> mysql: [Warning] Using a password on the command line interface can be insecure.
16:26:43.951 mysql> mysql: [Warning] Using a password on the command line interface can be insecure.
16:26:43.960 mysql> mysql: [Warning] Using a password on the command line interface can be insecure.
@rhauch
rhauch / gist:58f99b2dc2da8afa5b31
Created March 16, 2016 18:59
Expected output of Maven build
...
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running io.debezium.connector.mysql.MySqlDdlParserTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.239 sec - in io.debezium.connector.mysql.MySqlDdlParserTest
Running io.debezium.connector.mysql.TableConvertersTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in io.debezium.connector.mysql.TableConvertersTest
Results :
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.mysql;
import java.sql.Types;
import java.util.ArrayList;
import java.util.Collection;
@rhauch
rhauch / Store.java
Created October 9, 2015 20:53
Alternative builder API for multiple kinds of StateStores
/**
* 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
*
@rhauch
rhauch / gist-reveal.it-slides.html
Last active August 29, 2015 14:14
Test-slides.html
<section data-background-transition='zoom' data-transition='concave' data-background='http://ryanjarvinen.com/presentations/shared/img/broadcast_reveal_dark.png' data-state='blackout'>
<h2>Really cool</h2>
<h1>Presentations</h1>
<h2>using gist-reveal.it</h2>
<p class='fragment'><small>This is just a test</small></p>
</section>
<section data-background-transition='zoom' data-transition='linear'>
<h2>Introduction</h2>
<p>Create your own deck by forking a copy of <a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>this github gist</a>: <br /><a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>https://gist.github.com/ryanj/af84d40e58c5c2a908dd</a></p>
<p>Or, by placing any valid Revealjs <a href="#sections">&lt;section&gt;</a> tag content into a fresh gist.</p>
<<<<<<< HEAD
<!--
The commons-logging dependency should not *normally* be required because it is a transitive dependency of
org.apache.httpcomponents:httpclient.
However, during the productization build process, the version of httpclient used excludes this dependency which
is otherwise required (https://hc.apache.org/httpcomponents-client-ga/httpclient/dependencies.html)
-->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
JCR-SQL2 -> SELECT * FROM [nt:base] WHERE [jcr:name] = 'myFirstBook'
AQM -> SELECT * FROM [nt:base] WHERE [nt:base].[jcr:name] = 'myFirstBook'
plan -> Access [nt:base]
Project [nt:base] <PROJECT_COLUMNS=[[nt:base].[jcr:primaryType], [nt:base].[jcr:mixinTypes], [nt:base].[jcr:path], [nt:base].[jcr:name], [nt:base].[jcr:score], [nt:base].[mode:localName], [nt:base].[mode:depth], [nt:base].[mode:id]], PROJECT_COLUMN_TYPES=[STRING, STRING, STRING, STRING, DOUBLE, STRING, LONG, STRING]>
Select [nt:base] <SELECT_CRITERIA=NAME([nt:base]) = 'myFirstBook'>
Source [nt:base] <SOURCE_NAME=__ALLNODES__, SOURCE_ALIAS=nt:base, SOURCE_COLUMNS=[jcr:frozenUuid(STRING), mode:sharedUuid(STRING), mode:nodeTypeName(STRING), jcr:defaultValues(STRING), mode:projectedNodeKey(STRING), jcr:mixinTypes(STRING), jcr:frozenPrimaryType(STRING), jcr:defaultPrimaryType(STRING), jcr:statement(STRING), jcr:lastModifiedBy(STRING), jcr:mimeType(STRING), jcr:hasOrderableChildNodes(BOOLEAN), jcr:etag(STRING), jcr:encoding(STRING), jcr:
/*
* ModeShape (http://www.modeshape.org)
*
* 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
{
"children": {
"ddl:addColumnDefinition": {
"properties": {
"jcr:hasOrderableChildNodes": "false",
"jcr:isAbstract": "false",
"jcr:isMixin": "true",
"jcr:isQueryable": "true",
"jcr:nodeTypeName": "ddl:addColumnDefinition",
"jcr:primaryType": "nt:nodeType",
@rhauch
rhauch / New output
Last active August 29, 2015 13:56
ClusteredJournalTest output
Running org.modeshape.jcr.journal.ClusteredJournalTest
main 09:41:17,314 INFO SLF4J implementation located in the classpath. It will be used by ModeShape for logging.
-------------------------------------------------------------------
GMS: address=Randalls-MacBook-Pro-53483, cluster=default-journal-cluster, physical address=fe80:0:0:0:18e8:56ff:fe31:8604%10:57887
-------------------------------------------------------------------
-------------------------------------------------------------------
GMS: address=Randalls-MacBook-Pro-8055, cluster=journal-cluster-1, physical address=fe80:0:0:0:18e8:56ff:fe31:8604%10:57888
-------------------------------------------------------------------