Skip to content

Instantly share code, notes, and snippets.

@kjagiello
kjagiello / Dockerfile
Last active February 1, 2021 09:46
An example Dockerfile showing how to build Facebook's watchman for your application (a life saver when running Django locally)
# Stage: watchman
# Build watchman as a separate stage in the build process, as we do not want
# all the build dependencies to end up in the final image.
FROM python:3.7 AS watchman
ARG WATCHMAN_VERSION=v4.9.0
ENV WATCHMAN_VERSION=${WATCHMAN_VERSION}
WORKDIR /tmp
@cem2ran
cem2ran / main.js
Created December 28, 2015 01:10
React Getting Started - How it should be!
import React from 'react'
import ReactDOM from 'react-dom'
const Hello = ({name}) => <h1>Hello {name}!</h1>
ReactDOM.render(
<Hello name={"vjeux"}/>,
document.body.appendChild(document.createElement("div"))
)