Permalink
Browse files

Created gh-pages branch via GitHub

  • Loading branch information...
0 parents commit c8c8209846e611d52fa2cf5d685718f726ea1c27 @garethrees committed Apr 3, 2012
Showing with 2,713 additions and 0 deletions.
  1. BIN fonts/opensans-bold-webfont.eot
  2. +251 −0 fonts/opensans-bold-webfont.svg
  3. BIN fonts/opensans-bold-webfont.ttf
  4. BIN fonts/opensans-bold-webfont.woff
  5. BIN fonts/opensans-bolditalic-webfont.eot
  6. +251 −0 fonts/opensans-bolditalic-webfont.svg
  7. BIN fonts/opensans-bolditalic-webfont.ttf
  8. BIN fonts/opensans-bolditalic-webfont.woff
  9. BIN fonts/opensans-extrabold-webfont.eot
  10. +251 −0 fonts/opensans-extrabold-webfont.svg
  11. BIN fonts/opensans-extrabold-webfont.ttf
  12. BIN fonts/opensans-extrabold-webfont.woff
  13. BIN fonts/opensans-italic-webfont.eot
  14. +251 −0 fonts/opensans-italic-webfont.svg
  15. BIN fonts/opensans-italic-webfont.ttf
  16. BIN fonts/opensans-italic-webfont.woff
  17. BIN fonts/opensans-regular-webfont.eot
  18. +252 −0 fonts/opensans-regular-webfont.svg
  19. BIN fonts/opensans-regular-webfont.ttf
  20. BIN fonts/opensans-regular-webfont.woff
  21. BIN images/bg-ramp.jpg
  22. BIN images/blockquote-gfx-2x.png
  23. BIN images/blockquote-gfx.png
  24. BIN images/chevron-2x.png
  25. BIN images/chevron.png
  26. BIN images/download-fallback-bg.png
  27. BIN images/download-sprite.png
  28. BIN images/footer-ramp.jpg
  29. BIN images/fork-sprite.png
  30. BIN images/hr-2x.jpg
  31. BIN images/hr.jpg
  32. BIN images/octocat-2x.png
  33. BIN images/octocat.png
  34. BIN images/ribbon-tail-sprite-2x.png
  35. BIN images/ribbon-tail-sprite.png
  36. BIN images/shield-fallback.png
  37. BIN images/shield.png
  38. BIN images/site-2.png
  39. BIN images/small-ribbon-tail-sprite-2x.png
  40. BIN images/small-ribbon-tail-sprite.png
  41. +124 −0 index.html
  42. +1 −0 javascripts/headsmart.min.js
  43. +1 −0 javascripts/main.js
  44. +4 −0 javascripts/modernizr.js
  45. +1 −0 params.json
  46. +3 −0 stylesheets/core.css
  47. +510 −0 stylesheets/mobile.css
  48. +154 −0 stylesheets/non-screen.css
  49. +34 −0 stylesheets/print.css
  50. +69 −0 stylesheets/pygment_trac.css
  51. +556 −0 stylesheets/screen.css
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,124 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset='utf-8'>
+ <meta http-equiv="X-UA-Compatible" content="chrome=1">
+ <meta name="viewport" content="width=640" />
+
+ <link rel="stylesheet" href="stylesheets/core.css" media="screen"/>
+ <link rel="stylesheet" href="stylesheets/mobile.css" media="handheld, only screen and (max-device-width:640px)"/>
+ <link rel="stylesheet" href="stylesheets/pygment_trac.css"/>
+
+ <script type="text/javascript" src="javascripts/modernizr.js"></script>
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+ <script type="text/javascript" src="javascripts/headsmart.min.js"></script>
+ <script type="text/javascript">
+ $(document).ready(function () {
+ $('#main_content').headsmart()
+ })
+ </script>
+ <title>Readingtime by garethrees</title>
+ </head>
+
+ <body>
+ <a id="forkme_banner" href="https://github.com/garethrees/readingtime">Fork Me on GitHub</a>
+ <div class="shell">
+
+ <header>
+ <span class="ribbon-outer">
+ <span class="ribbon-inner">
+ <h1>Readingtime</h1>
+ <h2>Estimates reading time</h2>
+ </span>
+ <span class="left-tail"></span>
+ <span class="right-tail"></span>
+ </span>
+ </header>
+
+ <section id="downloads">
+ <span class="inner">
+ <a href="https://github.com/garethrees/readingtime/zipball/master" class="zip"><em>download</em> .ZIP</a><a href="https://github.com/garethrees/readingtime/tarball/master" class="tgz"><em>download</em> .TGZ</a>
+ </span>
+ </section>
+
+ <span class="banner-fix"></span>
+
+ <section id="main_content">
+ <h1>Estimate Reading Time</h1>
+
+<p><a href="http://travis-ci.org/garethrees/readingtime"><img src="https://secure.travis-ci.org/garethrees/readingtime.png" alt="Build Status"></a></p>
+
+<p>I use <a href="http://iawriter.com" title="iA Writer">iA Writer</a> and find the <em>estimated reading time</em> feature pretty handy. I thought it would be cool to add at the top of my blog articles on the web as <a href="http://nicepaul.com" title="The personal blog of @nicepaul">others</a> do.</p>
+
+<h2>How to Use</h2>
+
+<p><a href="http://github.com/garethrees/readingtime" title="Gem to estimate reading time">readingtime</a> extends the Ruby String class, so you can call <code>reading_time</code> on any <code>String</code> object.</p>
+
+<h3>Install</h3>
+
+<pre><code>gem install readingtime
+</code></pre>
+
+<h3>In irb</h3>
+
+<pre><code>$ irb
+&gt; require 'readingtime'
+ =&gt; true
+&gt; @words = "Lorem ipsum dolor sit amet"
+&gt; @words.reading_time
+ =&gt; "00:01"
+</code></pre>
+
+<h3>In Your App</h3>
+
+<pre><code>&lt;article&gt;
+
+ &lt;header&gt;
+ &lt;h1&gt;&lt;%= @article.title %&gt;&lt;/h1&gt;
+ &lt;span class="readingtime"&gt;Estimated reading time – &lt;%= @article.body.reading_time %&gt;&lt;/span&gt;
+ &lt;/header&gt;
+
+ &lt;%= @article.body %&gt;
+
+&lt;/article&gt;
+</code></pre>
+
+<p>And voila!</p>
+
+<p><img src="https://github-screenshots.s3.amazonaws.com/readingtime-view.png" alt="Screenshot of readingtime in use" title="Screenshot of readingtime in use"></p>
+
+<h3>Options</h3>
+
+<p>You can also send in options to modify the formatting.</p>
+
+<pre><code># Default output
+@article.body.reading_time :format =&gt; :basic
+=&gt; "03:36"
+
+# Longer text output
+@article.body.reading_time :format =&gt; :long
+=&gt; "3 minutes and 36 seconds"
+</code></pre>
+
+<h2>Thanks</h2>
+
+<p>Credit goes to <a href="http://briancray.com/2010/04/09/estimated-reading-time-web-design" title="Brian Cray - Estimated Reading Time in Web Design">Brian Cray</a> for explaining how to do it in PHP.</p>
+ </section>
+
+ <footer>
+ <span class="ribbon-outer">
+ <span class="ribbon-inner">
+ <p>this project by <a href="https://github.com/garethrees">garethrees</a> can be found on <a href="https://github.com/garethrees/readingtime">GitHub</a></p>
+ </span>
+ <span class="left-tail"></span>
+ <span class="right-tail"></span>
+ </span>
+ <p>Generated with <a href="http://pages.github.com">GitHub Pages</a> using Merlot</p>
+ <span class="octocat"></span>
+ </footer>
+
+ </div>
+
+
+ </body>
+</html>

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1 @@
+console.log('This would be the main JS file.');

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1 @@
+{"name":"Readingtime","body":"# Estimate Reading Time\r\n\r\n[![Build Status](https://secure.travis-ci.org/garethrees/readingtime.png)](http://travis-ci.org/garethrees/readingtime)\r\n\r\n\r\nI use [iA Writer](http://iawriter.com \"iA Writer\") and find the *estimated reading time* feature pretty handy. I thought it would be cool to add at the top of my blog articles on the web as [others](http://nicepaul.com \"The personal blog of @nicepaul\") do.\r\n\r\n## How to Use\r\n\r\n[readingtime](http://github.com/garethrees/readingtime \"Gem to estimate reading time\") extends the Ruby String class, so you can call `reading_time` on any `String` object.\r\n\r\n### Install\r\n\r\n\tgem install readingtime\r\n\r\n### In irb\r\n\r\n\t$ irb\r\n\t> require 'readingtime'\r\n\t\t=> true\r\n\t> @words = \"Lorem ipsum dolor sit amet\"\r\n\t> @words.reading_time\r\n\t\t=> \"00:01\"\r\n\r\n### In Your App\r\n\r\n\t<article>\r\n\r\n\t\t<header>\r\n\t\t\t<h1><%= @article.title %></h1>\r\n\t\t\t<span class=\"readingtime\">Estimated reading time – <%= @article.body.reading_time %></span>\r\n\t\t</header>\r\n\r\n\t\t<%= @article.body %>\r\n\r\n\t</article>\r\n\r\nAnd voila!\r\n\r\n![Screenshot of readingtime in use](https://github-screenshots.s3.amazonaws.com/readingtime-view.png \"Screenshot of readingtime in use\")\r\n\r\n### Options\r\n\r\nYou can also send in options to modify the formatting.\r\n\r\n\t# Default output\r\n\t@article.body.reading_time :format => :basic\r\n\t=> \"03:36\"\r\n\t\r\n\t# Longer text output\r\n\t@article.body.reading_time :format => :long\r\n\t=> \"3 minutes and 36 seconds\"\r\n\r\n## Thanks\r\n\r\nCredit goes to [Brian Cray](http://briancray.com/2010/04/09/estimated-reading-time-web-design \"Brian Cray - Estimated Reading Time in Web Design\") for explaining how to do it in PHP.","tagline":"Estimates reading time","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
@@ -0,0 +1,3 @@
+@import url("screen.css");
+@import url("non-screen.css") handheld;
+@import url("non-screen.css") only screen and (max-device-width:640px);
Oops, something went wrong.

0 comments on commit c8c8209

Please sign in to comment.