-
Simplest intro to git by github and codeschool - Try Git
-
[Intro to github]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in-place swap | |
let swap i j (arr : 'a []) = | |
let tmp = arr.[i] | |
arr.[i] <- arr.[j] | |
arr.[j] <- tmp | |
// http://en.wikipedia.org/wiki/Bubble_sort | |
let bubbleSort arr = | |
let rec loop (arr : 'a []) = | |
let mutable swaps = 0 |
Notes by Jeremy W. Sherman, October 2013, based on:
Feathers, Michael. Working Effectively with Legacy Code. Sixth printing, July 2007.
Foreword:
- Software systems degrade into a mess.
- Requirements ALWAYS change.
- Your goal as a software developer: Create designs that tolerate change.
- Related Setup: https://gist.github.com/hofmannsven/6814278
- Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
- Interactive Beginners Tutorial: http://try.github.io/
- Git Cheatsheet by GitHub: https://services.github.com/on-demand/downloads/github-git-cheat-sheet/
Press minus + shift + s
and return
to chop/fold long lines!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NSubstitute; | |
using NUnit.Framework; | |
using System.Collections.ObjectModel; | |
using System.Net; | |
using System.Net.Http; | |
using System.Security.Claims; | |
using System.Security.Principal; | |
using System.Threading; | |
using System.Web.Http; | |
using System.Web.Http.Controllers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if INTERACTIVE | |
#r "bin/Debug/FSharp.Data.dll" | |
#r "bin/Debug/FSharp.Charting.dll" | |
#r "bin/Debug/ServiceStack.Common.dll" | |
#r "bin/Debug/ServiceStack.Interfaces.dll" | |
#r "bin/Debug/ServiceStack.Text.dll" | |
#r "bin/Debug/ServiceStack.Redis.dll" | |
#load "../packages/FSharp.Charting.0.90.5/FSharp.Charting.fsx" | |
#endif | |
open System.IO |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type internal AsyncCallableHandler(messageHandler) = | |
inherit DelegatingHandler(messageHandler) | |
member internal x.CallSendAsync(request, cancellationToken) = | |
base.SendAsync(request, cancellationToken) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
OlderNewer