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
#!/bin/bash | |
[[ "$1" = "-h" ]] && printf "Usage: $0 [VERSION]\nDefaults to cesm2.1.1\n" && exit | |
[[ -z "$1" ]] && version=2.1.1 || version="$1" | |
dirname="cesm${version}" | |
git clone -b "release-cesm${version}" https://github.com/ESCOMP/CESM.git "$dirname" | |
cd "$dirname" && ./manage_externals/checkout_externals |
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
:syntax on | |
:let html_use_css=0 | |
:set bg=light | |
:set number | |
:TOhtml | |
:wq % | |
:q |
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
# Let me know if you found this helpful! | |
class tag: | |
""" Class to help speed up/clarify HTML tagging """ | |
""" See usage example: https://gist.github.com/christophergeiger3/f472685a70d09a174be6b04a75c5ac4c """ | |
def __init__(self): | |
self.stack = [] | |
self.indent = 0 | |
self.ret = [] | |
self.indent_size = "\t" |