Skip to content

Instantly share code, notes, and snippets.

View nilshartmann's full-sized avatar
🐿️
https://graphql.schule

Nils Hartmann nilshartmann

🐿️
https://graphql.schule
View GitHub Profile
@nilshartmann
nilshartmann / add_bb.sh
Last active August 29, 2015 14:26
Bash function that creates a private BitBucket Repository for your current local Git repository
# Creates a private BitBucket repository with one call from bash
# --------------------------------------------------------------------------------
#
# Uses the BitBucket REST API to create a new private, non-forkable repository
# for the local Git repository your currently staying in.
# The content of your local repository gets pushed after the repository is created.
#
# Prequisites:
# - you must have curl installed
# - your local repo must not have a remote already connect to a bitbucket repo
@nilshartmann
nilshartmann / gist:fb68c34a461d922cd86c
Created July 1, 2015 08:37
Using babel browser.js to compile ES6 and JSX code
<!DOCTYPE html>
<html>
<head>
<script src="./react-0.13.3.min.js"></script>
<script src="./browser.min.js"></script>
</head>
<body>
<div id="mount"></div>
</body>