Skip to content

Instantly share code, notes, and snippets.

View phillip-kruger's full-sized avatar
😃
Happy

Phillip Krüger phillip-kruger

😃
Happy
View GitHub Profile
@sherl0cks
sherl0cks / GraalReflectionConfig.kt
Last active June 10, 2020 07:41
Getting Smallrye Graphql Client 1.0.3 Working with Quarkus 1.5.0.Final in Native Image
package com.acme.myapp;
import io.quarkus.runtime.annotations.RegisterForReflection
@RegisterForReflection(
targets = [
io.smallrye.graphql.client.typesafe.api.GraphQlClientApi::class,
io.smallrye.graphql.client.typesafe.api.GraphQlClientBuilder::class,
io.smallrye.graphql.client.typesafe.api.GraphQlClientHeader::class,
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream