Skip to content

Instantly share code, notes, and snippets.

View githubteacher's full-sized avatar

GitHub Teacher githubteacher

View GitHub Profile
@githubteacher
githubteacher / sample.md
Created April 29, 2014 22:34
A simple Markdown example

Header one

Body text

@githubteacher
githubteacher / questions.md
Last active August 29, 2015 13:58
Great Wide Open - Workflows, Collaboration & GitHub

Workflows & Collaboration

  • Merging
  • Dependencies across projeces
  • Forking vs. merging and cloning
  • Feature branching
  • Release management
  • Conflict resolution
  • Bug tracking
  • Sharing environment config
@githubteacher
githubteacher / sample.md
Created February 19, 2014 13:59
A simple Markdown example

Header one

Body text

(ns cow.model
(:require [cow.math :as math]))
(def cow-count 25)
(def max-starting-velocity 0.01)
(def cow-id (atom 0))
(defn random-cow []
(let [random-velocity (fn [] (- max-starting-velocity (rand (* 2 max-starting-velocity))))
@githubteacher
githubteacher / bus-map.geojson
Created October 26, 2013 14:32
Map of the StartupBus EU locations and city stops
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@githubteacher
githubteacher / git-loglive.sh
Last active December 24, 2015 17:09
A nifty log command useful for studying branching, merging, rebasing, et al.
#!/bin/bash
while :
do
clear
git --no-pager log --graph --oneline --decorate --all $*
sleep 1
done
@githubteacher
githubteacher / git-loglive
Created February 26, 2013 11:38
A Git command to display a live log. Put this file in your path, make it executable, and run "git loglive"
#!/bin/bash
while :
do
clear
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $*
sleep 1
done
@githubteacher
githubteacher / Øredev-git-workshop.md
Created November 6, 2012 15:59
Øredev Git Workshop

Øredev Git Workshop

  • Some philosophical thoughts
  • Configuration
    • git config --global user.name "Name"
    • git config --global user.email "[email protected]"
    • git config --global color.ui auto
  • Creating a Repo
    • git init newproject
  • Add files