Permalink
Browse files

whoa

  • Loading branch information...
1 parent 96e6720 commit 3f6e1cd5f3b91fbd765da41592560149853683d0 @thomasdavis committed Mar 18, 2011
Showing with 538 additions and 76 deletions.
  1. +2 −0 _config.yml
  2. +99 −0 _layouts/default.html
  3. +15 −0 _layouts/post.html
  4. +22 −0 _posts/2011-03-07-npm-expressjs-and-connect.textile
  5. +197 −0 css/screen.css
  6. +60 −0 css/syntax.css
  7. +12 −76 index.html
  8. +77 −0 index.html2
  9. +54 −0 random/canvas_rotated_textfill.html
View
@@ -0,0 +1,2 @@
+markdown: rdiscount
+pygments: true
View
@@ -0,0 +1,99 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <title>{{ page.title }}</title>
+ <meta name="author" content="Ryan Kirkman" />
+
+ <!-- syntax highlighting CSS -->
+ <link rel="stylesheet" href="/css/syntax.css" type="text/css" />
+
+ <!-- Homepage CSS -->
+ <link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection" />
+
+ <!-- Typekit -->
+ <script type="text/javascript" src="http://use.typekit.com/jpd0pfm.js"></script>
+ <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+ <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
+ <style type="text/css">
+ body, ul { padding: 0; margin: 0; }
+ body { font-family: 'Arial'; }
+ #container { width: 760px; margin: auto; }
+ h1 { font-size: 3em; }
+ h3 { color: #444; }
+ #topmenu { height: 15px; border-bottom: 1px solid #996699; padding: 5px; }
+ #topmenu ul { list-style: none; }
+ #topmenu li { float: left; margin-left: 15px; font-size: 13px;}
+ </style>
+</head>
+<body>
+<div id="topmenu">
+ <ul>
+ <li>home</li>
+ <li><a href="https://github.com/thomasdavis">my repos</a></li>
+ <li><a href="about.html">about me</a></li>
+ <li><a href="http://twitter.com/?status=@iamjessicagomes,%20@neutralthoughts%20is%20a%20great%20guy,%20you%20should%20marry%20him" target="_blank" alt="will load in new window, please marry me">hot woman (SFW)</a></li>
+ <li><a href="http://protosal.com" target="_blank">my boot-strapped startup</a></li>
+ </ul>
+ <ul style="float: right; margin-right: 15px;">
+
+ <li>thomas davis - <a href="http://twitter.com/neutralthoughts">follow me on twitter</a> or don't</li>
+ </ul>
+</div>
+<!-- ClickTale Top part -->
+<script type="text/javascript">
+var WRInitTime=(new Date()).getTime();
+</script>
+<!-- ClickTale end of Top part -->
+
+<div class="site">
+ <div class="title">
+ <a href="/">Ryan Kirkman</a>
+ <a class="extra" href="/">home</a>
+ </div>
+
+ {{ content }}
+
+ <div class="footer">
+ <div class="contact">
+ <p>
+ Ryan Kirkman<br />
+ Cofounder of <a href="http://protosal.com/">Protosal</a><br />
+ ryan@ryankirkman.com
+ </p>
+ </div>
+ <div class="contact">
+ <p>
+ <a href="http://ryankirkman.com/">Personal Blog</a><br />
+ <a href="http://twitter.com/ryan_kirkman/">twitter.com/ryan_kirkman</a><br />
+ </p>
+ </div>
+ </div>
+</div>
+
+
+ <link rel="stylesheet" type="text/css" href="http://serve.poplytics.com/shadowbox.css">
+ <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js'></script>
+ <script type="text/javascript" src="http://serve.poplytics.com/shadowbox.js"></script>
+ <script language="javascript" type="text/javascript" src="http://serve.poplytics.com/js/jquery.xdomainajax.js"></script>
+ <script language="javascript" type="text/javascript">
+ Shadowbox.init();
+ $(document).ready(function()
+ {
+ $.ajax({
+ url: 'http://serve.poplytics.com/ads.php?uniq=148408611',
+ type: 'GET',
+ success: function(res) {
+ $('#poplytics').html(res.responseText);
+ }
+ });
+ })
+ </script>
+ <div id="poplytics"></div>
+ <script src="http://static.getclicky.com/js" type="text/javascript"></script>
+ <script type="text/javascript">try{ clicky.init(66379121); }catch(err){}</script>
+ <noscript><p><img alt="Clicky" width="1" height="1" src="http://in.getclicky.com/66379121ns.gif" /></p></noscript>
+
+
+</body>
+</html>
View
@@ -0,0 +1,15 @@
+---
+layout: default
+---
+<div id="post">
+{{ content }}
+</div>
+
+<div id="related">
+ <h2>Related Posts</h2>
+ <ul class="posts">
+ {% for post in site.related_posts limit:3 %}
+ <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
+ </ul>
+</div>
@@ -0,0 +1,22 @@
+---
+layout: post
+title: npm, express.js and connect
+---
+
+h1. {{page.title}}
+
+p(meta). 7 Mar 2011
+
+Connect (the node.js middleware framework) recently updated to its 1.0 release. If you're using Express.js, you will need to update to Express.js version 2.x to be compatible with Connect version 1.x.
+
+Notes:
+* Connect 1.0 removed the following modules:
+** cache (This cached everything, even dynamic content. Caused us quite a few problems)
+** conditionalGet (e.g. 304 - Not Modified)
+** staticGzip
+** gzip (Apparently this was buggy. Yeah, we used it)
+** lint
+* Connect 1.0 renamed the following modules:
+** staticProvider -> static
+** bodyDecoder -> bodyParser
+** cookieDeconder -> cookieParser
View
@@ -0,0 +1,197 @@
+/*****************************************************************************/
+/*
+/* Common
+/*
+/*****************************************************************************/
+
+/* Global Reset */
+
+* {
+ margin: 0;
+ padding: 0;
+}
+
+html, body {
+ height: 100%;
+}
+
+body {
+ background-color: white;
+ font: 13.34px helvetica, arial, clean, sans-serif;
+ *font-size: small;
+ text-align: center;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-size: 100%;
+}
+
+h1 {
+ margin-bottom: 1em;
+}
+
+p {
+ margin: 1em 0;
+}
+
+a {
+ color: #00a;
+}
+
+a:hover {
+ color: black;
+}
+
+a:visited {
+ color: #a0a;
+}
+
+table {
+ font-size: inherit;
+ font: 100%;
+}
+
+/*****************************************************************************/
+/*
+/* Home
+/*
+/*****************************************************************************/
+
+ul.posts {
+ list-style-type: none;
+ margin-bottom: 2em;
+}
+
+ ul.posts li {
+ line-height: 1.75em;
+ }
+
+ ul.posts span {
+ color: #aaa;
+ font-family: Monaco, "Courier New", monospace;
+ font-size: 80%;
+ }
+
+/*****************************************************************************/
+/*
+/* Site
+/*
+/*****************************************************************************/
+
+.site {
+ font-size: 110%;
+ text-align: justify;
+ width: 40em;
+ margin: 3em auto 2em auto;
+ line-height: 1.5em;
+}
+
+.title {
+ color: #a00;
+ font-weight: bold;
+ margin-bottom: 2em;
+}
+
+ .site .title a {
+ color: #a00;
+ text-decoration: none;
+ }
+
+ .site .title a:hover {
+ color: black;
+ }
+
+ .site .title a.extra {
+ color: #aaa;
+ text-decoration: none;
+ margin-left: 1em;
+ }
+
+ .site .title a.extra:hover {
+ color: black;
+ }
+
+ .site .meta {
+ color: #aaa;
+ }
+
+ .site .footer {
+ font-size: 80%;
+ color: #666;
+ border-top: 4px solid #eee;
+ margin-top: 2em;
+ overflow: hidden;
+ }
+
+ .site .footer .contact {
+ float: left;
+ margin-right: 3em;
+ }
+
+ .site .footer .contact a {
+ color: #8085C1;
+ }
+
+ .site .footer .rss {
+ margin-top: 1.1em;
+ margin-right: -.2em;
+ float: right;
+ }
+
+ .site .footer .rss img {
+ border: 0;
+ }
+
+/*****************************************************************************/
+/*
+/* Posts
+/*
+/*****************************************************************************/
+
+#post {
+
+}
+
+ /* standard */
+
+ #post pre {
+ border: 1px solid #ddd;
+ background-color: #eef;
+ padding: 0 .4em;
+ }
+
+ #post ul,
+ #post ol {
+ margin-left: 1.35em;
+ }
+
+ #post code {
+ border: 1px solid #ddd;
+ background-color: #eef;
+ font-size: 85%;
+ padding: 0 .2em;
+ }
+
+ #post pre code {
+ border: none;
+ }
+
+ /* terminal */
+
+ #post pre.terminal {
+ border: 1px solid black;
+ background-color: #333;
+ color: white;
+ }
+
+ #post pre.terminal code {
+ background-color: #333;
+ }
+
+#related {
+ margin-top: 2em;
+}
+
+ #related h2 {
+ margin-bottom: 1em;
+ }
Oops, something went wrong.

0 comments on commit 3f6e1cd

Please sign in to comment.