Skip to content

Instantly share code, notes, and snippets.

View davidthewatson's full-sized avatar

david watson davidthewatson

View GitHub Profile
@davidthewatson
davidthewatson / markdown_example.md
Created December 12, 2011 06:45
Markdown Example

An h1 header

Paragraphs are separated by a blank line.

2nd paragraph. Italic, bold, monospace. Itemized lists look like:

  • this one
  • that one
@davidthewatson
davidthewatson / the_new_blog_software_flask_plus_gist_equals_flasgist.html
Created December 13, 2011 14:39
The New Blog Software: Flask + Gist = flasgist
<p>I'm not sure if anyone's been crazy enough to try this yet, but I've had this vision for a while. I had three main goals: get the data out of a relational database, put it in the cloud, and make it look pretty.</p>
<p><b>I satisfied the first goal using github's gist API as a data store for all of my blog posts.</b> I use the description as the title, the filename to anchor the URL semantically, the created_at date for the date/time of the posting, and the body for the post itself. I'm only supporting single filename gists right now, and I use the starred/unstarred functionality to mean published and draft, respectively. The beauty of this design is that it allows me to avoid having to implement all of the CMS functions directly, i.e authentication, creating, updating, deleting posts, etc. In exchange, I use github's gist interface for creation, updating, deleting, promoting from draft to published, and in turn, I get versioning and forking of posts for free, which is inline with both my share and share-al
@davidthewatson
davidthewatson / david_watson_architect.html
Created December 17, 2011 21:47
David Watson - Architect
<p>If I ever wind up with a giant pile of money, <a href="http://watsonarchitect.com/">this guy is going to be my architect</a>.</p>
@davidthewatson
davidthewatson / black_dub_at_guitar_center_doing_surely.html
Created December 18, 2011 16:50
Black Dub at Guitar Center doing Surely
<p><iframe width="940" height="705" src="http://www.youtube.com/embed/qG5AZIRMvRo" frameborder="0" allowfullscreen></iframe></p>
@davidthewatson
davidthewatson / david_foster_wallace_this_is_water.html
Created December 18, 2011 17:12
David Foster Wallace: This is Water
<p><iframe width="940" height="705" src="http://www.youtube.com/embed/M5THXa_H_N8" frameborder="0" allowfullscreen></iframe></p>
<p><iframe width="940" height="705" src="http://www.youtube.com/embed/uSAzbSQqals" frameborder="0" allowfullscreen></iframe></p>
@davidthewatson
davidthewatson / heroku_no_app_specified.html
Created December 19, 2011 02:36
Heroku No App Specified
<p>
If you run into the dreaded "heroku no app specified" problem, <a href="http://www.digitalsanctum.com/2010/05/05/heroku-no-app-specified/">here's the solution</a>.
</p>
@davidthewatson
davidthewatson / get_flickr_userid.html
Created December 19, 2011 02:41
Get Flickr Userid
<p>Why this has to be so difficult I'm not sure, but <a href="http://idgettr.com/">this tool</a> to go from your userid to that hideous thing that the flickr API's require works.</p>
@davidthewatson
davidthewatson / paul_hudak_on_haskell.html
Created December 21, 2011 03:48
Paul Hudak on Haskell
An interview with <a href="http://www.infoq.com/interviews/paul-hudak-haskell-Qcon-SF-08">Yale's Paul Hudak</a> on Haskell.
@davidthewatson
davidthewatson / a_history_of_haskell.html
Created December 21, 2011 03:53
A History of Haskell
A <a href="http://research.microsoft.com/en-us/um/people/simonpj/papers/history-of-haskell/history.pdf">history of Haskell [PDF]</a> from Microsoft Research.
@davidthewatson
davidthewatson / the_smartest_thing_ever_written_about_vim_vs_emacs.html
Created December 28, 2011 18:30
The Smartest Thing Ever Written About Vim vs. Emacs
<p>
Derek Thurn has written probably the best comparison of Vim and Emacs ever written. In particular, he's confirmed that I'm not the only person in the known universe who uses vi for quick sysadmin editing tasks and emacs for larger scale coding efforts. And he's managed to do this in <a href="http://www.thurn.ca/why_i_switched_from_vim_to_emacs">the most fence-straddling way possible</a>.</p>
<p>
I'd also add that Gabriel Lanaro's <a href="http://gabrielelanaro.github.com/emacs-for-python/">emacs for python starter kit</a> tipped the scales in favor of emacs for me having come from vim.
</p>