Skip to content

Instantly share code, notes, and snippets.

@bjo
Last active January 18, 2016 03:36
Show Gist options
  • Save bjo/608ccda8ac7ce412791b to your computer and use it in GitHub Desktop.
Save bjo/608ccda8ac7ce412791b to your computer and use it in GitHub Desktop.

Testing out roughdraft with markdown

A First Level Header

A Second Level Header

Now is the time for all good men to come to the aid of their country. This is just a regular paragraph.

The quick brown fox jumped over the lazy dog's back.

Header 3

This is a blockquote.

This is the second paragraph in the blockquote.

This is an H2 in a blockquote

  • Candy.
  • Gum.
  • Booze.

This is an example link.

I get 10 times more traffic from Google than from Yahoo or MSN.

roughdraft.io for blogging

I like the look of roughdraft.io for automatically rendering my Github Gists as a blog at http://lukego.roughdraft.io/.

I'd prefer to use my own name in the URLs though, so that links aren't permanently dependent on roughdraft.io. (There's a lot of churn in my blog infrastructure life, it seems.) I tried a little Apache config to make http://blog.lukego.com/6634948 display the content of http://lukego.roughdraft.io/6634948:

ProxyPassMatch ^(/[0-9]*)$ http://lukego.roughdraft.io$1

but for some reason the browser is redirecting to the roughdraft URL instead of letting apache transparently proxy. I wonder why.

$ telnet blog.lukego.com 80
Trying 46.4.118.98...
Connected to blog.lukego.com.
Escape character is '^]'.
GET /6634948 HTTP/1.0
Host: blog.lukego.com

HTTP/1.1 302 Found
Date: Sun, 19 Jan 2014 11:56:30 GMT
Server: nginx
Content-Type: text/html;charset=utf-8
Content-Length: 0
Status: 302 Found
Location: http://lukego.roughdraft.io/6634948

Thinking cap on...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment