Remember, it's all just text.
FoldingText does some neat things, but in the end you are just typing. If you know how to type, you already know most of what you need to effectively use FoldingText.
(Click "#" to expand headings)
| protocol ArrayRepresentable { | |
| typealias ArrayType | |
| func toArray() -> ArrayType[] | |
| } | |
| extension Range : ArrayRepresentable { | |
| func toArray() -> T[] { | |
| return T[](self) | |
| } | 
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| This uses positive look-ahead to check if there's a string ahead to substitute commas present outside quoted strings. | |
| s/\v,(([^"]*"[^"]*")*[^"]*$)@=/|/g | |
| Explanation: | |
| * "[^"]*" | |
| Match a double-quoted string | 
| body { | |
| font-family: Helvetica, arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| background-color: white; | |
| padding: 30px; } | |
| body > *:first-child { | 
Moved, see VIM Cheatsheet
| #!/usr/bin/python | |
| # Script for assigning the date of a track in a GPX file as track name. | |
| # | |
| # Usage e.g $ python ChangeGpxTrackName.py source.gpx target.gpx" | |
| # | |
| # Peter Vasil | |
| # Date: 2011-02-05 | |
| from optparse import OptionParser |