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 | |
if (( $# != 2 )); then | |
echo 'Control whether an executable has the privilege to bind to ports < 1024, even if the user is not root' | |
echo | |
echo "Usage: $(basename "$0") [enable|disable|status] [path-to-exectuable]" | |
exit 1 | |
fi | |
FILE=$(readlink -f "$2") |
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 | |
# This takes in just the ligatures section of a .ttx file: | |
# USAGE: sed -n '/<LigatureSubst /,/<\/LigatureSubst>/p' FOO.ttx \ | |
# | ./ligature_xml_to_list.py | |
from __future__ import print_function | |
import lxml.etree | |
import sys |