Random query recipes of JMESPath for the AWS CLI tools that I might have written or stumbled upon.
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/python3 | |
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
#============================================================================== | |
# Copyright (c) 2018, William Gurecky | |
# All rights reserved. | |
# | |
# DESCRIPTION: | |
# Inspired from stack overflow question: | |
# https://stackoverflow.com/questions/52227599/interpolate-griddata-uses-only-one-core |
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
# From https://coderwall.com/p/-wbo5q/pip-install-a-specific-github-repo-tag-or-branch | |
pip install -e git://github.com/{ username }/{ reponame }.git@{ tag name }#egg={ desired egg name } |
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 sys | |
""" | |
For each character c, if its value is: | |
#13: treat as newline | |
#128, #160: treat as space ' ' | |
#169..#171, #173, #174: treat as dash '-' | |
#192..#236: skip ahead and ignore all characters until another occurrence |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder