Skip to content

Instantly share code, notes, and snippets.

View frickm's full-sized avatar

Markus Frick frickm

  • Ada Health
  • Berlin
View GitHub Profile
import { AutoComplete } from 'antd';
function onSelect(value) {
console.log('onSelect', value);
}
class Complete extends React.Component {
state = {
dataSource: [],
}
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ nia ---
[INFO] com.bla:nia:jar:DEV-SNAPSHOT
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:1.2.8.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:1.2.8.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot:jar:1.2.8.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:1.2.8.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:1.2.8.RELEASE:compile
[INFO] | | | +- org.slf4j:jul-to-slf4j:jar:1.7.13:compile
[INFO] | | | +- org.slf4j:log4j-over-slf4j:jar:1.7.13:compile
[INFO] | | | \- ch.qos.logback:logback-classic:jar:1.1.3:compile
[{:db/ident :ml/name,
:db/valueType :db.type/string,
:db/fulltext true,
:db/cardinality :db.cardinality/one,
:db/unique :db.unique/identity}
{:db/ident :ml/parent,
:db/valueType :db.type/ref,
:db/index true,
:db/cardinality :db.cardinality/one}
{:db/ident :ml/superclass,
(defproject sample-proj "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[ring-server "0.4.0"]
[reagent "0.6.0"]
[reagent-utils "0.2.0"]
package my.fricke.stackoverflow;
import javax.inject.Inject;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.MockitoAnnotations;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@frickm
frickm / gist:7114961
Last active December 26, 2015 07:28
Self-Contained Example of a Camel-multicast that fails
package org.fricke.tests;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import java.util.List;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.AdviceWithRouteBuilder;
import org.apache.camel.builder.RouteBuilder;