Skip to content

Instantly share code, notes, and snippets.

View pozylon's full-sized avatar
💪
Pushing Unchained to the next level

Pascal Kaufmann pozylon

💪
Pushing Unchained to the next level
View GitHub Profile
@pozylon
pozylon / docker-compose.yml
Created May 10, 2019 16:33
Docker Compose Unchained Setup for a Docker Machine with swarm mode activated
version: "3.4"
services:
traefik:
image: traefik:tetedemoine-alpine
network_mode: host
ports:
- target: 80
published: 80
protocol: tcp
mode: host
@pozylon
pozylon / uca.md
Last active February 26, 2019 21:58
UCA (derived from the Meteor Contributor Agreement v2.0)

Contributing to Unchained

Thank you for contributing code to the Unchained project! Like many open source projects, we need a contributor license agreement from you before we can merge in your changes. You only need to fill out this agreement once.

In brief, by submitting your code to the Unchained project, you are granting us a right to use that code under the terms of this Agreement, including providing it to others. You are also certifying that you wrote it, and that you are allowed to license it to us. You are not giving up your copyright in your work.

Contributor License Agreements are important because they define the chain of ownership of a piece of software. Some companies won't allow the use of free software without clear agreements around code ownership. That's why many open source projects collect similar agreements from contributors.

Please read this document carefully before signing and keep a copy for your records. (You'll get an email confirmation when you electronically sign the CLA.) If

@pozylon
pozylon / meteor-vulcan-fix.patch
Created May 8, 2018 12:57
Fix Strange Vulcan/Meteor issue related to babel/ecmascript
diff --git a/.meteor/release b/.meteor/release
index d502dc0..011385b 100644
--- a/.meteor/release
+++ b/.meteor/release
@@ -1 +1 @@
-METEOR@1.6.1
+METEOR@1.6.1.1
diff --git a/package-lock.json b/package-lock.json
index 791e04e..2840bb1 100644
--- a/package-lock.json
@pozylon
pozylon / styled.jsx
Created April 23, 2018 14:38
Styled JSX magic
import React from 'react';
import connectApollo from '../lib/connectApollo';
import withRegion from '../lib/withRegion';
const InnerComponent = props => (
<div {...props}>
<p>Hello World</p>
<style jsx>{`
p {
color: blue;
@pozylon
pozylon / dynamically-import-component.js
Created February 11, 2017 14:21
React & Recompose & Meteor dynamic-import
import { compose, withState, lifecycle } from 'recompose';
let AsyncComponent = null;
export default (loader, loadingComponent) => compose(
withState('isDynamicallyLoaded', 'updatedIsDynamicallyLoaded', false),
lifecycle({
componentDidMount() {
const { updatedIsDynamicallyLoaded } = this.props;
loader.then((LoadedModule) => {