gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
""" | |
This script is used to convert a WordPress XML dump to Hugo-formatted posts. | |
NOTE: The WP post data is kept as-is (probably HTML). It is not converted to | |
Markdown. This is to reduce the amount of "fixing" one has to do after the | |
data is converted (e.g. line endings, links, etc). This is generally not an | |
issue since Markdown allows HTML. | |
The post Metadata is converted to TOML. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (window, document, Chartist) { | |
'use strict'; | |
function AutoScaleAxis(axisUnit, data, chartRect, options) { | |
// Usually we calculate highLow based on the data but this can be overriden by a highLow object in the options | |
var highLow = options.highLow || Chartist.getHighLow(data.normalized, options, axisUnit.pos); | |
this.bounds = Chartist.getBounds(chartRect[axisUnit.rectEnd] - chartRect[axisUnit.rectStart], highLow, options.scaleMinSpace || 20, options.onlyInteger); | |
var scale = options.scale || 'linear'; |