PageRenderTime 23ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/page5/index.html

https://github.com/bcherry/bcherry.github.com
HTML | 417 lines | 224 code | 167 blank | 26 comment | 0 complexity | 738085cc15a00affbd75c06e952eb138 MD5 | raw file
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Adequately Good - By Ben Cherry</title>
  6. <!-- CSS, including Blueprint, jQuery w/Smoothness, and AG CSS -->
  7. <link rel="stylesheet" href="/css/blueprint/blueprint.min.css" media="screen, projection" />
  8. <link rel="stylesheet" href="/css/blueprint/print.min.css" media="print" />
  9. <!--[if lt IE 8]>
  10. <link rel="stylesheet" href="/css/blueprint/ie.min.css" media="screen, projection">
  11. <![endif]-->
  12. <link rel="stylesheet" href="/css/ag.css" media="screen" />
  13. <!-- Extra <head> Links -->
  14. <link rel="alternate" type="application/atom+xml" title="Adequately Good Atom Feed" href="http://www.adequatelygood.com/feeds/atom.xml" />
  15. <!-- TODO: favicon -->
  16. <!-- IE HTML5 Compatibility -->
  17. <!--[if IE]>
  18. <script type="text/javascript">
  19. (function () {
  20. var tags = "header hgroup nav article time footer".split(" "),
  21. i = 0,
  22. l = tags.length;
  23. for (; i < l; i += 1) {
  24. document.createElement(tags[i]);
  25. }
  26. }());
  27. </script>
  28. <![endif]-->
  29. </head>
  30. <body>
  31. <a name="top"></a>
  32. <div id="container" class="container">
  33. <!-- Header -->
  34. <header class="span-24 last">
  35. <!-- Title -->
  36. <div id="title" class="span-24 last">
  37. <div class="span-17 colborder prepend-top append-bottom">
  38. <hgroup>
  39. <h1>
  40. <a href="/">adequately good</a>
  41. </h1>
  42. <h3 class="prepend-2 alt">decent programming advice</h3>
  43. </hgroup>
  44. </div>
  45. <div class="span-6 last prepend-top append-bottom">
  46. <h2>
  47. written by
  48. <a href="http://twitter.com/bcherry">ben cherry</a>
  49. </h2>
  50. </div>
  51. </div>
  52. <hr />
  53. <!-- Navigation Bar -->
  54. <nav class="prepend-2 span-20 append-2 last append-bottom">
  55. <div class="span-5">
  56. <a href="/">home</a>
  57. </div>
  58. <div class="span-5">
  59. <a href="#" id="archiveLink">archives</a>
  60. </div>
  61. <div class="span-5">
  62. <a href="/about.html">about</a>
  63. </div>
  64. <div class="span-5 last">
  65. <a href="/feeds/atom.xml">feed</a>
  66. </div>
  67. </nav>
  68. <!-- Archives Links -->
  69. <div id="archives" class="span-24 last smallalts">
  70. <hr />
  71. <div class="archivelinks">
  72. <span class="alt">posts by year</span>
  73. <a class="tight" href="/2009">2009</a>
  74. <a class="tight" href="/2010">2010</a>
  75. <a class="tight" href="/2011">2011</a>
  76. </div>
  77. </div>
  78. <hr />
  79. </header>
  80. <div id="colcontainer" class="span-24 last">
  81. <!-- Main content: Posts, etc. -->
  82. <div id="content" class="span-17 colborder">
  83. <a name="main"></a>
  84. <article class="span-17 last">
  85. <header class="span-17 last">
  86. <time class="alt" datetime="2009-11-05" pubdate>2009-11-05</time>
  87. <h1><a href="/Javascript-Pseudo-threading.html">Javascript Pseudo-threading</a></h1>
  88. </header>
  89. <div class="span-17 last entry">
  90. <html><body>
  91. <p><strong><em>This post has been migrated from my old, defunct blog at bcherry.net. The links may not work, and the formatting may be wonky.</em></strong></p>
  92. <p>Ive been playing around with asynchronous Javascript for repeated large-set actions, in the hopes of generating some useful techniques for real applications. Ive narrowed down a...</p>
  93. </body></html>
  94. </div>
  95. </article>
  96. <article class="span-17 last">
  97. <header class="span-17 last">
  98. <time class="alt" datetime="2009-11-05" pubdate>2009-11-05</time>
  99. <h1><a href="/jQuery-Micro-templates.html">jQuery Micro-templates</a></h1>
  100. </header>
  101. <div class="span-17 last entry">
  102. <html><body>
  103. <p>John Resig wrote a neat micro-templating Javascript function a <a href="http://ejohn.org/blog/javascript-micro-templating/">while back</a>. Ive been playing with this, and have discovered two things:</p>
  104. <ol>
  105. <li>
  106. <p>These templates are totally nestable. Just make an element to be templated within a temp...</p>
  107. </li>
  108. </ol>
  109. </body></html>
  110. </div>
  111. </article>
  112. <article class="span-17 last">
  113. <header class="span-17 last">
  114. <time class="alt" datetime="2009-11-05" pubdate>2009-11-05</time>
  115. <h1><a href="/Managing-CSS-Through-Javascript.html">Managing CSS Through JavaScript</a></h1>
  116. </header>
  117. <div class="span-17 last entry">
  118. <html><body><p>Its often very difficult to keep track of what CSS goes where. Especially when you load up on Javascript controls and files in a large application, which render markup that depends on some CSS being there. One solution is to inline the CSS in the JavaScript, by adding style to each element as its created. This works, but its messy. Also, browsers are heavily optimized to apply CSS, faster than any Javascript solution could be. But when youve got a fancy script manager like LABjs, remembering to statically link all of the important CSS is a pain. Especially so if youre not sure at page load whethe...</p></body></html>
  119. </div>
  120. </article>
  121. <article class="span-17 last">
  122. <header class="span-17 last">
  123. <time class="alt" datetime="2009-11-05" pubdate>2009-11-05</time>
  124. <h1><a href="/Building-a-Better-Friend-Selector.html">Building a Better Friend Selector</a></h1>
  125. </header>
  126. <div class="span-17 last entry">
  127. <html><body>
  128. <p><strong><em>This post has been migrated from my old, defunct blog at bcherry.net. The links may not work, and the formatting may be wonky.</em></strong></p>
  129. <p>Working in social entertainment, one of the lynchpins of the entire business is the friend selector. Without it, there is virtually no way to grow your customer base. Having a simple, effective friend selector ...</p>
  130. </body></html>
  131. </div>
  132. </article>
  133. <div id="more_reading">
  134. <p class="smallalts pager">
  135. <span class="alt">go</span>
  136. <a class="tight" href="/page4">previous</a>
  137. </p>
  138. </div>
  139. </div>
  140. <!-- Sidebar: Search, links, etc. -->
  141. <div id="sidebar" class="span-6 last">
  142. <hr class="space" />
  143. <div id="links">
  144. <h3>the author</h3>
  145. <p>
  146. Ben is a 25 year-old software engineer. He lives and works in San Francisco. Many people think he invented the term "hoisting" in JavaScript, but this is untrue.
  147. </p>
  148. <ul>
  149. <li><a href="http://twitter.com/bcherry">Twitter</a> - @<a class="twitter-anywhere-user" href="http://twitter.com/bcherry">bcherry</a></li>
  150. <li><a href="http://github.com/bcherry">GitHub</a> - My Code</li>
  151. <li><a href="http://www.linkedin.com/in/bcherryprogrammer">LinkedIn</a> - Professional Profile</li>
  152. <li><a href="http://www.facebook.com/bcherry">Facebook</a> - That Other Social Network</li>
  153. <li><a href="http://www.bcherry.net/talks/">Presentations</a> - Slides From My Talks</li>
  154. </ul>
  155. <iframe allowtransparency="true" frameborder="0" scrolling="no"
  156. src="http://platform.twitter.com/widgets/follow_button.html?screen_name=bcherry&amp;button=grey&amp;text_color=7F7F7F&amp;link_color=666666"
  157. style="width:300px; height:20px;"></iframe>
  158. </div>
  159. <hr />
  160. <div id="tags">
  161. <h3>categories</h3>
  162. <ul>
  163. <li>
  164. <a href="/tag/javascript">javascript</a>
  165. (21)
  166. </li>
  167. <li>
  168. <a href="/tag/social%20gaming">social gaming</a>
  169. (1)
  170. </li>
  171. <li>
  172. <a href="/tag/css">css</a>
  173. (1)
  174. </li>
  175. <li>
  176. <a href="/tag/jquery">jquery</a>
  177. (2)
  178. </li>
  179. <li>
  180. <a href="/tag/performance">performance</a>
  181. (5)
  182. </li>
  183. <li>
  184. <a href="/tag/tools">tools</a>
  185. (2)
  186. </li>
  187. <li>
  188. <a href="/tag/html5">html5</a>
  189. (3)
  190. </li>
  191. <li>
  192. <a href="/tag/adequatelygood">adequatelygood</a>
  193. (1)
  194. </li>
  195. <li>
  196. <a href="/tag/timers">timers</a>
  197. (2)
  198. </li>
  199. <li>
  200. <a href="/tag/module%20pattern">module pattern</a>
  201. (3)
  202. </li>
  203. <li>
  204. <a href="/tag/talks">talks</a>
  205. (1)
  206. </li>
  207. <li>
  208. <a href="/tag/slide">slide</a>
  209. (1)
  210. </li>
  211. <li>
  212. <a href="/tag/python">python</a>
  213. (1)
  214. </li>
  215. <li>
  216. <a href="/tag/debugging">debugging</a>
  217. (1)
  218. </li>
  219. <li>
  220. <a href="/tag/testing">testing</a>
  221. (2)
  222. </li>
  223. <li>
  224. <a href="/tag/hashbang">hashbang</a>
  225. (1)
  226. </li>
  227. </ul>
  228. </div>
  229. <hr />
  230. </div>
  231. </div>
  232. </div>
  233. <script>
  234. (function() {
  235. var archiveLink = document.getElementById("archiveLink"),
  236. archives = document.getElementById("archives");
  237. archiveLink.onclick = function() {
  238. if (archives.className.match(/\bexpanded\b/)) {
  239. archives.className = archives.className.replace(/\bexpanded\b/g, '');
  240. } else {
  241. archives.className += ' expanded';
  242. }
  243. return false;
  244. };
  245. }());
  246. </script>
  247. <!-- Google Analytics -->
  248. <script type="text/javascript">var _gaq =_gaq||[]; _gaq.push(['_setAccount','UA-251077-4']);_gaq.push(['_trackPageview']);(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;ga.src=('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(ga);})();</script>
  249. </body>
  250. </html>