Permalink
Browse files

Create gh-pages branch via GitHub

  • Loading branch information...
1 parent ca54b0a commit 8756117aba36aa4b6bc95cf74a2ae46765a5699c Paul Betts committed Sep 13, 2012
View
1 CNAME
@@ -1 +0,0 @@
-linqtoawait.net
View
Deleted file not rendered
View
Deleted file not rendered
View
Deleted file not rendered
View
Deleted file not rendered
View
@@ -1,36 +1,33 @@
-<!DOCTYPE html>
+<!doctype html>
<html>
-
<head>
- <meta charset='utf-8' />
- <meta http-equiv="X-UA-Compatible" content="chrome=1" />
- <meta name="description" content="LinqToAwait : A Task-based LINQ designed to work with async/await" />
-
- <link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
-
- <title>LinqToAwait</title>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="chrome=1">
+ <title>LinqToAwait by xpaulbettsx</title>
+
+ <link rel="stylesheet" href="stylesheets/styles.css">
+ <link rel="stylesheet" href="stylesheets/pygment_trac.css">
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <!--[if lt IE 9]>
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
</head>
-
<body>
+ <div class="wrapper">
+ <header>
+ <h1>LinqToAwait</h1>
+ <p>A Task-based LINQ designed to work with async/await</p>
- <!-- HEADER -->
- <div id="header_wrap" class="outer">
- <header class="inner">
- <a id="forkme_banner" href="https://github.com/xpaulbettsx/LinqToAwait">Fork Me on GitHub</a>
-
- <h1 id="project_title">LinqToAwait</h1>
- <h2 id="project_tagline">A Task-based LINQ designed to work with async/await</h2>
+ <p class="view"><a href="https://github.com/xpaulbettsx/LinqToAwait">View the Project on GitHub <small>xpaulbettsx/LinqToAwait</small></a></p>
- <section id="downloads">
- <a class="zip_download_link" href="https://github.com/xpaulbettsx/LinqToAwait/zipball/master">Download this project as a .zip file</a>
- <a class="tar_download_link" href="https://github.com/xpaulbettsx/LinqToAwait/tarball/master">Download this project as a tar.gz file</a>
- </section>
- </header>
- </div>
- <!-- MAIN CONTENT -->
- <div id="main_content_wrap" class="outer">
- <section id="main_content" class="inner">
+ <ul>
+ <li><a href="https://github.com/xpaulbettsx/LinqToAwait/zipball/master">Download <strong>ZIP File</strong></a></li>
+ <li><a href="https://github.com/xpaulbettsx/LinqToAwait/tarball/master">Download <strong>TAR Ball</strong></a></li>
+ <li><a href="https://github.com/xpaulbettsx/LinqToAwait">View On <strong>GitHub</strong></a></li>
+ </ul>
+ </header>
+ <section>
<h2>LinqToAwait</h2>
<p>In a world where many methods return <code>Task&lt;T&gt;</code> or other Awaitable types
@@ -41,9 +38,9 @@ <h2 id="project_tagline">A Task-based LINQ designed to work with async/await</h2
using LinqToAwait;
var inputs = new[] {
- "<a href="http://www.google.com">http://www.google.com</a>",
- "<a href="http://www.yahoo.com">http://www.yahoo.com</a>",
- "<a href="http://www.aol.com">http://www.aol.com</a>",
+ "http://www.google.com",
+ "http://www.yahoo.com",
+ "http://www.aol.com",
};
IEnumerable&lt;string&gt; results = await inputs.AsAsync()
@@ -57,7 +54,7 @@ <h2 id="project_tagline">A Task-based LINQ designed to work with async/await</h2
<h3>Where does this work?</h3>
-<p>Currently, you're going to need Visual Studio 11 - you can use LinqToAwait with both C# Metro-based applications, as well as standard .NET 4.5 applications.</p>
+<p>You're going to need Visual Studio 2012 - you can use LinqToAwait with .NET 4.5 applications.</p>
<h3>Hey, isn't this kind of like Rx?</h3>
@@ -68,22 +65,17 @@ <h2 id="project_tagline">A Task-based LINQ designed to work with async/await</h2
<h3>How do I get started?</h3>
-<p>It's .NET, how else? <a href="http://nuget.org/packages/linqtoawait">Use NuGet!</a>. There's a trick though: since Rx 2.0 is currently in beta, you need to install the package from the Powershell Console:</p>
+<p>It's .NET, how else? <a href="http://nuget.org/packages/linqtoawait">Use NuGet!</a>.</p>
-<pre><code>Install-Package LinqToAwait -pre
+<pre><code>Install-Package LinqToAwait
</code></pre>
</section>
- </div>
-
- <!-- FOOTER -->
- <div id="footer_wrap" class="outer">
- <footer class="inner">
- <p class="copyright">LinqToAwait &copy; 2011 <a href="https://github.com/xpaulbettsx">xpaulbettsx</a></p>
- <p>Published using <a href="http://pages.github.com">GitHub Pages</a> with the Slate Theme</p>
+ <footer>
+ <p>This project is maintained by <a href="https://github.com/xpaulbettsx">xpaulbettsx</a></p>
+ <p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
</footer>
</div>
-
+ <script src="javascripts/scale.fix.js"></script>
-
</body>
-</html>
+</html>
View
@@ -1 +0,0 @@
-console.log('This would be the main JS file.');
View
@@ -0,0 +1,17 @@
+var metas = document.getElementsByTagName('meta');
+var i;
+if (navigator.userAgent.match(/iPhone/i)) {
+ for (i=0; i<metas.length; i++) {
+ if (metas[i].name == "viewport") {
+ metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
+ }
+ }
+ document.addEventListener("gesturestart", gestureStart, false);
+}
+function gestureStart() {
+ for (i=0; i<metas.length; i++) {
+ if (metas[i].name == "viewport") {
+ metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
+ }
+ }
+}
View
@@ -1 +1 @@
-{"name":"LinqToAwait","body":"## LinqToAwait\r\n\r\nIn a world where many methods return `Task<T>` or other Awaitable types\r\n(especially in WinRT), LINQ can't be used nearly as easily. Enter LinqToAwait:\r\n\r\n```\r\nusing System;\r\nusing System.Reactive.Linq;\r\nusing LinqToAwait;\r\n\r\nvar inputs = new[] { \r\n \"http://www.google.com\", \r\n \"http://www.yahoo.com\", \r\n \"http://www.aol.com\", \r\n};\r\n\r\nIEnumerable<string> results = await inputs.AsAsync()\r\n .WhereAsync(async x => await IsPageInTop10WebSitesByTrafficAsync(x))\r\n .SelectAsync(async x => await DownloadPageAsync(x))\r\n .Select(x => x.Substring(0, 50))\r\n .GetResults();\r\n\r\n>>> [\"<html>....\"]\r\n```\r\n\r\n### Where does this work?\r\n\r\nCurrently, you're going to need Visual Studio 11 - you can use LinqToAwait with both C# Metro-based applications, as well as standard .NET 4.5 applications.\r\n\r\n### Hey, isn't this kind of like Rx?\r\n\r\nIt **is** Rx! However, it is a simplification of the API used for a more\r\nspecific use-case. Instead of choosing async/await *or* Rx, LinqToAwait helps\r\nyou use both at the same time, applying the most straightforward technique for\r\nthe particular problem.\r\n\r\n### How do I get started?\r\n\r\nIt's .NET, how else? [Use NuGet!](http://nuget.org/packages/linqtoawait). There's a trick though: since Rx 2.0 is currently in beta, you need to install the package from the Powershell Console:\r\n\r\n```\r\nInstall-Package LinqToAwait -pre\r\n```","tagline":"A Task-based LINQ designed to work with async/await","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
+{"note":"Don't delete this file! It's used internally to help with page regeneration.","body":"## LinqToAwait\r\n\r\nIn a world where many methods return `Task<T>` or other Awaitable types\r\n(especially in WinRT), LINQ can't be used nearly as easily. Enter LinqToAwait:\r\n\r\n```\r\nusing System;\r\nusing System.Reactive.Linq;\r\nusing LinqToAwait;\r\n\r\nvar inputs = new[] { \r\n \"http://www.google.com\", \r\n \"http://www.yahoo.com\", \r\n \"http://www.aol.com\", \r\n};\r\n\r\nIEnumerable<string> results = await inputs.AsAsync()\r\n .WhereAsync(async x => await IsPageInTop10WebSitesByTrafficAsync(x))\r\n .SelectAsync(async x => await DownloadPageAsync(x))\r\n .Select(x => x.Substring(0, 50))\r\n .GetResults();\r\n\r\n>>> [\"<html>....\"]\r\n```\r\n\r\n### Where does this work?\r\n\r\nYou're going to need Visual Studio 2012 - you can use LinqToAwait with .NET 4.5 applications.\r\n\r\n### Hey, isn't this kind of like Rx?\r\n\r\nIt **is** Rx! However, it is a simplification of the API used for a more\r\nspecific use-case. Instead of choosing async/await *or* Rx, LinqToAwait helps\r\nyou use both at the same time, applying the most straightforward technique for\r\nthe particular problem.\r\n\r\n### How do I get started?\r\n\r\nIt's .NET, how else? [Use NuGet!](http://nuget.org/packages/linqtoawait).\r\n```\r\nInstall-Package LinqToAwait\r\n```","google":"","name":"LinqToAwait","tagline":"A Task-based LINQ designed to work with async/await"}
@@ -1,65 +1,64 @@
-.highlight .hll { background-color: #ffffcc }
-.highlight { background: #f0f3f3; }
-.highlight .c { color: #0099FF; font-style: italic } /* Comment */
-.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */
-.highlight .k { color: #006699; font-weight: bold } /* Keyword */
-.highlight .o { color: #555555 } /* Operator */
-.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
-.highlight .cp { color: #009999 } /* Comment.Preproc */
-.highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */
-.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */
-.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
+.highlight { background: #ffffff; }
+.highlight .c { color: #999988; font-style: italic } /* Comment */
+.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
+.highlight .k { font-weight: bold } /* Keyword */
+.highlight .o { font-weight: bold } /* Operator */
+.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
+.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
+.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
+.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
+.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
+.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.highlight .ge { font-style: italic } /* Generic.Emph */
-.highlight .gr { color: #FF0000 } /* Generic.Error */
-.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */
-.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
-.highlight .go { color: #AAAAAA } /* Generic.Output */
-.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */
+.highlight .gr { color: #aa0000 } /* Generic.Error */
+.highlight .gh { color: #999999 } /* Generic.Heading */
+.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
+.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
+.highlight .go { color: #888888 } /* Generic.Output */
+.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
-.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */
-.highlight .gt { color: #99CC66 } /* Generic.Traceback */
-.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */
-.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
-.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
-.highlight .kp { color: #006699 } /* Keyword.Pseudo */
-.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
-.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */
-.highlight .m { color: #FF6600 } /* Literal.Number */
-.highlight .s { color: #CC3300 } /* Literal.String */
-.highlight .na { color: #330099 } /* Name.Attribute */
-.highlight .nb { color: #336666 } /* Name.Builtin */
-.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */
-.highlight .no { color: #336600 } /* Name.Constant */
-.highlight .nd { color: #9999FF } /* Name.Decorator */
-.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
-.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */
-.highlight .nf { color: #CC00FF } /* Name.Function */
-.highlight .nl { color: #9999FF } /* Name.Label */
-.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
-.highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */
-.highlight .nv { color: #003333 } /* Name.Variable */
-.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
+.highlight .gu { color: #800080; font-weight: bold; } /* Generic.Subheading */
+.highlight .gt { color: #aa0000 } /* Generic.Traceback */
+.highlight .kc { font-weight: bold } /* Keyword.Constant */
+.highlight .kd { font-weight: bold } /* Keyword.Declaration */
+.highlight .kn { font-weight: bold } /* Keyword.Namespace */
+.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
+.highlight .kr { font-weight: bold } /* Keyword.Reserved */
+.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
+.highlight .m { color: #009999 } /* Literal.Number */
+.highlight .s { color: #d14 } /* Literal.String */
+.highlight .na { color: #008080 } /* Name.Attribute */
+.highlight .nb { color: #0086B3 } /* Name.Builtin */
+.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
+.highlight .no { color: #008080 } /* Name.Constant */
+.highlight .ni { color: #800080 } /* Name.Entity */
+.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
+.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
+.highlight .nn { color: #555555 } /* Name.Namespace */
+.highlight .nt { color: #000080 } /* Name.Tag */
+.highlight .nv { color: #008080 } /* Name.Variable */
+.highlight .ow { font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
-.highlight .mf { color: #FF6600 } /* Literal.Number.Float */
-.highlight .mh { color: #FF6600 } /* Literal.Number.Hex */
-.highlight .mi { color: #FF6600 } /* Literal.Number.Integer */
-.highlight .mo { color: #FF6600 } /* Literal.Number.Oct */
-.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */
-.highlight .sc { color: #CC3300 } /* Literal.String.Char */
-.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
-.highlight .s2 { color: #CC3300 } /* Literal.String.Double */
-.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
-.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */
-.highlight .si { color: #AA0000 } /* Literal.String.Interpol */
-.highlight .sx { color: #CC3300 } /* Literal.String.Other */
-.highlight .sr { color: #33AAAA } /* Literal.String.Regex */
-.highlight .s1 { color: #CC3300 } /* Literal.String.Single */
-.highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */
-.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */
-.highlight .vc { color: #003333 } /* Name.Variable.Class */
-.highlight .vg { color: #003333 } /* Name.Variable.Global */
-.highlight .vi { color: #003333 } /* Name.Variable.Instance */
-.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */
+.highlight .mf { color: #009999 } /* Literal.Number.Float */
+.highlight .mh { color: #009999 } /* Literal.Number.Hex */
+.highlight .mi { color: #009999 } /* Literal.Number.Integer */
+.highlight .mo { color: #009999 } /* Literal.Number.Oct */
+.highlight .sb { color: #d14 } /* Literal.String.Backtick */
+.highlight .sc { color: #d14 } /* Literal.String.Char */
+.highlight .sd { color: #d14 } /* Literal.String.Doc */
+.highlight .s2 { color: #d14 } /* Literal.String.Double */
+.highlight .se { color: #d14 } /* Literal.String.Escape */
+.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
+.highlight .si { color: #d14 } /* Literal.String.Interpol */
+.highlight .sx { color: #d14 } /* Literal.String.Other */
+.highlight .sr { color: #009926 } /* Literal.String.Regex */
+.highlight .s1 { color: #d14 } /* Literal.String.Single */
+.highlight .ss { color: #990073 } /* Literal.String.Symbol */
+.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
+.highlight .vc { color: #008080 } /* Name.Variable.Class */
+.highlight .vg { color: #008080 } /* Name.Variable.Global */
+.highlight .vi { color: #008080 } /* Name.Variable.Instance */
+.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
.type-csharp .highlight .k { color: #0000FF }
.type-csharp .highlight .kt { color: #0000FF }
Oops, something went wrong.

0 comments on commit 8756117

Please sign in to comment.