Keith Dahlby
@dahlbyk
- Philosophically, why is Git more than a Subversion killer?
- Should we switch from Mercurial?
- How does GitHub work?
- Is there a good distro to host a private repository (Linux)?
- Where to host/backup?
- Gitolite
$GitInstallDir = 'C:\Program Files (x86)\Git' | |
$Env:HOME = $Env:USERPROFILE | |
$Env:PLINK_PROTOCOL = 'ssh' | |
$Env:Path = "$GitInstallDir\bin;$GitInstallDir\mingw\bin;$Env:Path" | |
Set-Alias gitk "$GitInstallDir\cmd\gitk.cmd" | |
. C:\Dev\OSS\posh-git\profile.example.ps1 |
[alias] | |
dt = difftool | |
mt = mergetool | |
[diff] | |
tool = bc3 | |
[difftool] | |
prompt = false | |
[difftool "bc3"] | |
cmd = \"c:/program files (x86)/beyond compare 3/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" | |
[difftool "p4"] |
Keith Dahlby
@dahlbyk
Dependency Inversion Principle says do this:
class Foo
{
IBar bar;
public Foo(IBar bar) {
this.bar = bar;
}
open System; | |
open System.Diagnostics; | |
[<EntryPoint>] | |
let main argv = | |
let rec cc amount coins = | |
match (amount, coins) with | |
| (0,_) -> 1 | |
| (_,[]) -> 0 | |
| (amount,_) when amount < 0 -> 0 |
Conferences | |
=========== | |
Heartland Developer Conference in Omaha ~ September | |
Kansas City Developer Conf ~ June says Darin | |
St Louis Days of .NET ~ Nov (in two weeks, smart ass - thanks, seriously. you're the best) | |
Nebraska Code Camp ~ April (...) | |
Twin Cities Code Camp ~ April / October | |
Iowa Code Camp ~ "Spring" in summer (June last year, July this year), and Novemberish | |
That Conference ~ August (HIIIIIIGHLY recommended - Kalahari water park, BACON BAR) | |
Norweigian Developer Conference ~ June (a maz ing) |
# To start a demo between <start-ref> and <end-ref> (default = HEAD): | |
# git demo <start-ref> [<end-ref>] | |
# To step through commits toward <end-ref>: | |
# git next | |
[alias] | |
demo = !sh -c 'git update-ref DEMO_HEAD $(git rev-parse ${2-HEAD}) && git checkout -fq $1~0' - | |
next = !sh -c 'git checkout -fq $(git log ..DEMO_HEAD --pretty=format:"%H" | tail -n1)' - |
PS>git init test | |
Initialized empty Git repository in C:/temp/test/.git/ | |
> | |
PS>cd test | |
> | |
PS>git commit --allow-empty -m test | |
[master (root-commit) 33f14f7] test | |
> |
events | timeline | Attribute | Description |
---|
[alias] | |
co = checkout | |
# New branch | |
nb = checkout origin -b | |
# Push new branch | |
pnb = push -u origin HEAD | |
# Log Graph |