A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
- Headers
- Links
- Bold
| using System; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Linq; | |
| using UnityEngine; | |
| namespace KSPCommunityFixes | |
| { | |
| [KSPAddon(KSPAddon.Startup.Instantly, true)] | |
| public class MyAssemblyLoader : MonoBehaviour |
| #!/usr/bin/env python | |
| # | |
| # Building a tar file chunk-by-chunk. | |
| # | |
| # This is a quick bit of sample code for streaming data to a tar file, | |
| # building it piece-by-piece. The tarfile is built on-the-fly and streamed | |
| # back out. This is useful for web applications that need to dynamically | |
| # build a tar file without swamping the server. | |
| import os | |
| import sys |
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
| #!/bin/bash | |
| # Adapted from Erik Johnson's script at | |
| # http://terminalmage.net/2011/11/17/setting-a-usb-headset-as-the-default-pulseaudio-device/ | |
| # | |
| # Updated by Edward Faulkner <ef@alum.mit.edu> to move existing | |
| # streams and eliminate the extra fork script. | |
| # You'll need to change these to point at your headset device. | |
| OUTPUT="alsa_output.usb-Generic_FREETALK_Everyman_0000000001-00-Everyman.analog-stereo" |
##GTR lset applyto=() nst=6 # GTR lset applyto=() nst=6 rates=propinv # GTR + I lset applyto=() nst=6 rates=gamma # GTR + gamma lset applyto=() nst=6 rates=invgamma # GTR + I + gamma
##SYM
lset applyto=() nst=6 # SYM
prset applyto=() statefreqpr=fixed(equal)