Check I have no changes:
p4 opened
Sync to head:
| # 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 ... ] |
To remove a submodule you need to:
git add .gitmodules.git/configgit rm --cached path_to_submodule (no trailing slash)rm -rf .git/modules/path_to_submodule (no trailing slash)git commit -m "Removed submodule <name>"rm -rf path_to_submoduleIntroduction '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:
| # 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 |
| { | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AS": "American Samoa", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", | |
| "DE": "Delaware", |
| #!/usr/bin/env python | |
| import argparse | |
| import sys | |
| import jinja2 | |
| import markdown | |
| TEMPLATE = """<!DOCTYPE html> | |
| <html> |
Supporting Material.
| # Decrypt password-protected PDF in Python. | |
| # cleaned-up version of http://stackoverflow.com/a/26537710/329263 | |
| # | |
| # Requirements: | |
| # pip install PyPDF2 | |
| # | |
| # Usage: decrypt_pdf('encrypted.pdf', 'decrypted.pdf', 'secret_password') | |
| from PyPDF2 import PdfFileReader, PdfFileWriter |