Supporting Material.
This file contains hidden or 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 python | |
import argparse | |
import sys | |
import jinja2 | |
import markdown | |
TEMPLATE = """<!DOCTYPE html> | |
<html> |
This file contains hidden or 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
{ | |
"AL": "Alabama", | |
"AK": "Alaska", | |
"AS": "American Samoa", | |
"AZ": "Arizona", | |
"AR": "Arkansas", | |
"CA": "California", | |
"CO": "Colorado", | |
"CT": "Connecticut", | |
"DE": "Delaware", |
This file contains hidden or 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
# di=5;34;43 Setting the LS_COLORS di parameter to the above example will make directories appear in flashing blue text with an orange background | |
#0 = Default Colour | |
#1 = Bold | |
#4 = Underlined | |
#5 = Flashing Text | |
#7 = Reverse Field | |
#31 = Red | |
#32 = Green | |
#33 = Orange | |
#34 = Blue |
-
Introduction 'another_4433185' gathers different ways of dumping latin-1 chars (such as accented letters) from UniCode 0..255 into straight 7bit/ HTML strings.
-
Original author This was originally fetched from cookedapple It was a very basic function (see 'l2h').
-
Content ** Files:
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes:
git add .gitmodules
- Delete the relevant section from
.git/config
- Run
git rm --cached path_to_submodule
(no trailing slash) - Run
rm -rf .git/modules/path_to_submodule
(no trailing slash) - Commit:
git commit -m "Removed submodule <name>"
- Delete the now untracked submodule files:
rm -rf path_to_submodule
This file contains hidden or 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
# reindent.py -- Tim Peters, and H.Moreira | |
# pylint: disable=missing-function-docstring, trailing-whitespace, line-too-long, invalid-name, unused-argument | |
# Re-named to reindent.py and enhanced by Henrique Moreira, 01 Dec 2019. | |
# Released to the public domain, by Anshul Kanakia, 22 May 2019 as reindentv2.py | |
# Original code reindent.py released to the public domain, by Tim Peters, 03 October 2000. | |
# This version is modified to allow custom indent space values (not just 4 spaces). | |
"""reindent [-d][-r][-v] [ path ... ] |