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
#!/bin/bash | |
# This scripts lets you check which minimum GLIBC version an executable requires. | |
# Simply run './glibc-check.sh path/to/your/binary' | |
# | |
# You can set `MAX_VER` however low you want, although I (fasterthanlime) | |
# Ubuntu 12.04 has GLIBC 2.15 | |
# Centos 6.9 has GLIBC 2.12 | |
# Centos 7.4 has GLIBC 2.17 |
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
# Converts a docx file with tables and images to (simple) HTML | |
# ORIGINAL CODE BY DAVID SSALI AT SOURCE: https://medium.com/@dvdssali/docx-to-html-1374eb6491a1 | |
# | |
# Requires the Python module 'python-docx' <https://python-docx.readthedocs.io> | |
# | |
# Example use: | |
# >>> s = convert('./SOURCEDIR', 'SAMPLE.docx') | |
# >>> print(s) | |
# or | |
# $ python .\convert-docx-to-html.py > temp.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
# Converts a docx file with tables and images to a new docx file | |
# The new file is based on a 'stub' document which contains preamble text and styles | |
# | |
# Requires the Python module 'python-docx' <https://python-docx.readthedocs.io> | |
# Written for Python 3 | |
# | |
# Source documents are taken from the directory 'source' and converted documents are saved | |
# to the directory 'converted' | |
# | |
# Two types of source documents are handled: 'Fiscal Guide' or 'Economics Regime'. Each one |