Skip to content

Instantly share code, notes, and snippets.

View rzhw's full-sized avatar

Richard Wang rzhw

View GitHub Profile
@rzhw
rzhw / README.md
Last active August 29, 2015 14:04 — forked from andersonimes/gist:2490459
ReactiveUI property code snippet fork
  • Separate public/private literals
  • For RxUI 5
  • No private
  • Single line get/set
@rzhw
rzhw / wordpressxml2jekyll.rb
Created March 25, 2011 23:03 — forked from ecerulm/wordpressxml2jekyll.rb
WordPress to Jekyll exporter, modified to work on Windows
#!/usr/bin/env ruby
# Input: WordPress XML export file.
# Outputs: a series of Textile files ready to be included in a Jekyll site,
# and comments.yml which contains all approved comments with metadata which
# can be used for a Disqus import.
# Changes from the original gist: http://gist.github.com/268428
# 1. Handles titles containing special characters. Those have to be YAML escaped
# 2. Use the original permalinks in wordpress.