Skip to content

Commit

Permalink
#190 Unit 3.1-3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Aug 23, 2016
1 parent 99c5877 commit 2c8ef9d
Show file tree
Hide file tree
Showing 27 changed files with 128 additions and 91 deletions.
2 changes: 2 additions & 0 deletions src/Unit-3/README.md
Expand Up @@ -63,6 +63,8 @@ You will then get a second window, where you enter the URL of the repo you want
![Unit 3 GithubScraper App Live Run](lesson5/images/lesson5-live-run.gif)
> NOTE: If you're following along using the eBook / .ePub, you won't see the animation. [Click here to see it](https://github.com/petabridge/akka-bootcamp/raw/master/src/Unit-3/lesson5/images/lesson5-live-run.gif).
> N.B. When working with the Github API, choose a repository that has a smaller number of followers - you might run out of API tokens rather quickly otherwise. If you run out of API tokens, repeat the steps above to get another OAuth token.
## Get Started
To get started, [go to the /DoThis/ folder](DoThis/) and open `GithubActors.sln`.

Expand Down
2 changes: 1 addition & 1 deletion src/Unit-3/lesson1/Completed/Actors/RepoResultsActor.cs
Expand Up @@ -58,7 +58,7 @@ private void InitialReceives()
row.Cells[1].Value = repo.Name;
row.Cells[2].Value = repo.HtmlUrl;
row.Cells[3].Value = similarRepo.SharedStarrers;
row.Cells[4].Value = repo.SubscribersCount;
row.Cells[4].Value = repo.OpenIssuesCount;
row.Cells[5].Value = repo.StargazersCount;
row.Cells[6].Value = repo.ForksCount;
_userDg.Rows.Add(row);
Expand Down
20 changes: 13 additions & 7 deletions src/Unit-3/lesson1/Completed/GithubActors.csproj
Expand Up @@ -32,17 +32,23 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Akka">
<HintPath>packages\Akka.1.0.0\lib\net45\Akka.dll</HintPath>
<Reference Include="Akka, Version=1.1.1.27, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Akka.1.1.1\lib\net45\Akka.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Octokit">
<HintPath>packages\Octokit.0.7.2\lib\net45\Octokit.dll</HintPath>
<Reference Include="Octokit, Version=0.21.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Octokit.0.21.1\lib\net45\Octokit.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
Expand Down
12 changes: 6 additions & 6 deletions src/Unit-3/lesson1/Completed/RepoResultsForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Unit-3/lesson1/Completed/RepoResultsForm.resx
Expand Up @@ -129,7 +129,7 @@
<metadata name="Shared.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Watchers.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="Issues.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Stars.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Expand Down
7 changes: 4 additions & 3 deletions src/Unit-3/lesson1/Completed/packages.config
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Akka" version="1.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
<package id="Octokit" version="0.7.2" targetFramework="net45" />
<package id="Akka" version="1.1.1" targetFramework="net45" />
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" />
<package id="Octokit" version="0.21.1" targetFramework="net45" />
<package id="System.Collections.Immutable" version="1.1.36" targetFramework="net45" />
</packages>
2 changes: 1 addition & 1 deletion src/Unit-3/lesson2/Completed/Actors/RepoResultsActor.cs
Expand Up @@ -58,7 +58,7 @@ private void InitialReceives()
row.Cells[1].Value = repo.Name;
row.Cells[2].Value = repo.HtmlUrl;
row.Cells[3].Value = similarRepo.SharedStarrers;
row.Cells[4].Value = repo.SubscribersCount;
row.Cells[4].Value = repo.OpenIssuesCount;
row.Cells[5].Value = repo.StargazersCount;
row.Cells[6].Value = repo.ForksCount;
_userDg.Rows.Add(row);
Expand Down
20 changes: 13 additions & 7 deletions src/Unit-3/lesson2/Completed/GithubActors.csproj
Expand Up @@ -32,17 +32,23 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Akka">
<HintPath>packages\Akka.1.0.0\lib\net45\Akka.dll</HintPath>
<Reference Include="Akka, Version=1.1.1.27, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Akka.1.1.1\lib\net45\Akka.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Octokit">
<HintPath>packages\Octokit.0.7.2\lib\net45\Octokit.dll</HintPath>
<Reference Include="Octokit, Version=0.21.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Octokit.0.21.1\lib\net45\Octokit.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
Expand Down
12 changes: 6 additions & 6 deletions src/Unit-3/lesson2/Completed/RepoResultsForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Unit-3/lesson2/Completed/RepoResultsForm.resx
Expand Up @@ -129,7 +129,7 @@
<metadata name="Shared.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Watchers.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="Issues.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Stars.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Expand Down
7 changes: 4 additions & 3 deletions src/Unit-3/lesson2/Completed/packages.config
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Akka" version="1.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
<package id="Octokit" version="0.7.2" targetFramework="net45" />
<package id="Akka" version="1.1.1" targetFramework="net45" />
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" />
<package id="Octokit" version="0.21.1" targetFramework="net45" />
<package id="System.Collections.Immutable" version="1.1.36" targetFramework="net45" />
</packages>
2 changes: 1 addition & 1 deletion src/Unit-3/lesson3/Completed/Actors/RepoResultsActor.cs
Expand Up @@ -58,7 +58,7 @@ private void InitialReceives()
row.Cells[1].Value = repo.Name;
row.Cells[2].Value = repo.HtmlUrl;
row.Cells[3].Value = similarRepo.SharedStarrers;
row.Cells[4].Value = repo.SubscribersCount;
row.Cells[4].Value = repo.OpenIssuesCount;
row.Cells[5].Value = repo.StargazersCount;
row.Cells[6].Value = repo.ForksCount;
_userDg.Rows.Add(row);
Expand Down
20 changes: 13 additions & 7 deletions src/Unit-3/lesson3/Completed/GithubActors.csproj
Expand Up @@ -32,17 +32,23 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Akka">
<HintPath>packages\Akka.1.0.0\lib\net45\Akka.dll</HintPath>
<Reference Include="Akka, Version=1.1.1.27, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Akka.1.1.1\lib\net45\Akka.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Octokit">
<HintPath>packages\Octokit.0.7.2\lib\net45\Octokit.dll</HintPath>
<Reference Include="Octokit, Version=0.21.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Octokit.0.21.1\lib\net45\Octokit.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
Expand Down
12 changes: 6 additions & 6 deletions src/Unit-3/lesson3/Completed/RepoResultsForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Unit-3/lesson3/Completed/RepoResultsForm.resx
Expand Up @@ -129,7 +129,7 @@
<metadata name="Shared.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Watchers.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="Issues.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Stars.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Expand Down
7 changes: 4 additions & 3 deletions src/Unit-3/lesson3/Completed/packages.config
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Akka" version="1.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
<package id="Octokit" version="0.7.2" targetFramework="net45" />
<package id="Akka" version="1.1.1" targetFramework="net45" />
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" />
<package id="Octokit" version="0.21.1" targetFramework="net45" />
<package id="System.Collections.Immutable" version="1.1.36" targetFramework="net45" />
</packages>
2 changes: 1 addition & 1 deletion src/Unit-3/lesson4/Completed/Actors/RepoResultsActor.cs
Expand Up @@ -58,7 +58,7 @@ private void InitialReceives()
row.Cells[1].Value = repo.Name;
row.Cells[2].Value = repo.HtmlUrl;
row.Cells[3].Value = similarRepo.SharedStarrers;
row.Cells[4].Value = repo.SubscribersCount;
row.Cells[4].Value = repo.OpenIssuesCount;
row.Cells[5].Value = repo.StargazersCount;
row.Cells[6].Value = repo.ForksCount;
_userDg.Rows.Add(row);
Expand Down
20 changes: 13 additions & 7 deletions src/Unit-3/lesson4/Completed/GithubActors.csproj
Expand Up @@ -32,17 +32,23 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Akka">
<HintPath>packages\Akka.1.0.0\lib\net45\Akka.dll</HintPath>
<Reference Include="Akka, Version=1.1.1.27, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Akka.1.1.1\lib\net45\Akka.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Octokit">
<HintPath>packages\Octokit.0.7.2\lib\net45\Octokit.dll</HintPath>
<Reference Include="Octokit, Version=0.21.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Octokit.0.21.1\lib\net45\Octokit.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
Expand Down

0 comments on commit 2c8ef9d

Please sign in to comment.