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 | |
################################################################################ | |
# Alex Hogen (code.ahogen@outlook.com) | |
# https://github.com/ahogen | |
# | |
# A basic script to inspect the return code from pylint, filter it based on our | |
# needs, and return with a non-zero exit code when appropriate. | |
# | |
# PyLint returns non-zero exit codes for things that aren't errors. For example, | |
# if a warning message was issued, 0x4 is OR'd into the exit code. |
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 | |
##################################################################### | |
# Alex Hogen (https://github.com/ahogen) | |
# | |
# Run the command provided, redirecting STDERR to STDOUT, effectivly | |
# reducing all output to a single output pipe, hence the name "spipe". | |
# This script is also capable of capturing some common kill codes | |
# and forwarding them to the child process. | |
# |
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
#!/usr/bin/env python3 | |
""" | |
The idea here is to have one demo of each common argparse format | |
type. This is useful for me to be able to copy/paste into a new | |
script and have something to quickly edit and trim down to get | |
the functionality I need. | |
Expect this file to grow/change as I need new options. | |
This is, however, a working example. I hate examples that don't |
OlderNewer