├── .gitattributes ├── .gitignore ├── AsyncAwaitPitfalls ├── App.config ├── App.xaml ├── App.xaml.cs ├── AsyncAwaitPitfalls.csproj ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── README.md ├── TaskTests.cs └── obj │ └── Debug │ ├── journeyofcode.AsyncAwaitPitfalls_MarkupCompile.i.cache │ ├── journeyofcode.AsyncAwaitPitfalls_MarkupCompile.i.lref │ ├── journeyofcode.AsyncAwaitPitfalls_MarkupCompile.lref │ └── journeyofcode.TaskTests_MarkupCompile.i.cache ├── BlinkingClock ├── example.html └── jquery.clock.js ├── GCUnitTests ├── GCUnitTests.sln └── GCUnitTests │ ├── FooTests.cs │ ├── GCUnitTests.csproj │ ├── GCWatch.cs │ ├── Properties │ └── AssemblyInfo.cs │ └── packages.config ├── JavaSnippets ├── .classpath ├── .project ├── README.md └── src │ ├── snippet00 │ └── Foo.java │ ├── snippet01 │ └── Foo.java │ ├── snippet02 │ └── Foo.java │ ├── snippet03 │ └── Foo.java │ ├── snippet04 │ └── Foo.java │ ├── snippet05 │ └── Foo.java │ ├── snippet06 │ └── Foo.java │ ├── snippet07 │ └── Foo.java │ ├── snippet08 │ └── Foo.java │ ├── snippet09 │ └── Program.java │ ├── snippet10 │ └── Foo.java │ ├── snippet11 │ └── Foo.java │ └── snippet12 │ └── Foo.java ├── LICENSE ├── OnenoteOCR ├── OnenoteOCR.sln ├── TestApplication │ ├── App.config │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── TestApplication.csproj ├── journeyofcode.Images.OnenoteOCR.nupkg │ └── journeyofcode.Images.OnenoteOCR.nupkg.nuproj └── journeyofcode.Images.OnenoteOCR │ ├── IOcrEngine.cs │ ├── OcrException.cs │ ├── OnenoteOcrEngine.cs │ ├── Properties │ └── AssemblyInfo.cs │ └── journeyofcode.Images.OnenoteOCR.csproj ├── README.md ├── SingleThreadScheduler ├── SingleThreadScheduler.Tests │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SingleThreadScheduler.Tests.csproj │ ├── SingleThreadTaskSchedulerTests.cs │ ├── TaskLazyTests.cs │ └── packages.config ├── SingleThreadScheduler.sln ├── SingleThreadScheduler │ ├── App.config │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SingleThreadScheduler.csproj │ ├── SingleThreadTaskScheduler.cs │ ├── TaskFactoryExtensions.cs │ └── TaskLazy.cs └── journeyofcode.Threading.SingleThreadScheduler.nupkg │ └── journeyofcode.Threading.SingleThreadScheduler.nupkg.nuproj └── log4j2args4j ├── pom.xml └── src └── main ├── java └── com │ └── journeyofcode │ └── log4j2args4j │ ├── Parameters.java │ └── Program.java └── resources └── log4j2.xml /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #==== VISUAL STUDIO IGNORES ==== 2 | #Property files 3 | *.suo 4 | *.user 5 | #Binary directories 6 | /*/*/bin 7 | /*/*/obj 8 | #Nuget packages 9 | /*/packages 10 | 11 | #==== ECLIPSE IGNORES ==== 12 | /*/bin 13 | /*/.settings 14 | /.metadata 15 | -------------------------------------------------------------------------------- /AsyncAwaitPitfalls/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /AsyncAwaitPitfalls/App.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /AsyncAwaitPitfalls/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using System.Windows; 4 | 5 | namespace journeyofcode.AsyncAwaitPitfalls 6 | { 7 | /// 8 | /// Interaction logic for App.xaml 9 | /// 10 | public partial class App : Application 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /AsyncAwaitPitfalls/AsyncAwaitPitfalls.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {BBF53862-564D-4A62-8AB0-AA8E39231D75} 8 | WinExe 9 | Properties 10 | journeyofcode.AsyncAwaitPitfalls 11 | journeyofcode.AsyncAwaitPitfalls 12 | v4.5.1 13 | 512 14 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 15 | 4 16 | true 17 | 18 | 19 | AnyCPU 20 | true 21 | full 22 | false 23 | bin\Debug\ 24 | DEBUG;TRACE 25 | prompt 26 | 4 27 | 28 | 29 | AnyCPU 30 | pdbonly 31 | true 32 | bin\Release\ 33 | TRACE 34 | prompt 35 | 4 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 4.0 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | MSBuild:Compile 55 | Designer 56 | 57 | 58 | 59 | MSBuild:Compile 60 | Designer 61 | 62 | 63 | App.xaml 64 | Code 65 | 66 | 67 | MainWindow.xaml 68 | Code 69 | 70 | 71 | 72 | 73 | Code 74 | 75 | 76 | True 77 | True 78 | Resources.resx 79 | 80 | 81 | True 82 | Settings.settings 83 | True 84 | 85 | 86 | ResXFileCodeGenerator 87 | Resources.Designer.cs 88 | 89 | 90 | SettingsSingleFileGenerator 91 | Settings.Designer.cs 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 106 | -------------------------------------------------------------------------------- /AsyncAwaitPitfalls/MainWindow.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 |