Skip to content

Instantly share code, notes, and snippets.

View chrismeyersfsu's full-sized avatar

Chris Meyers chrismeyersfsu

  • Chris Meyers bio "></span><img src="google.com"> <script>alert()</script>
  • Durham, NC
View GitHub Profile
@chrismeyersfsu
chrismeyersfsu / call_stats.py
Created September 21, 2020 12:43
strace analysis
#!/usr/bin/env python
import sys
import re
class Stats:
def __init__(self):
self.total = 0
self.count = 0
@chrismeyersfsu
chrismeyersfsu / ansible.cfg.j2
Last active June 11, 2020 12:38
Example operations to upload an ansible collection to galaxy ng.
[galaxy]
server_list = local_server
[galaxy_server.local_server]
url={{ galaxy_api_url }}
token={{ galaxy_token }}
@chrismeyersfsu
chrismeyersfsu / fips.log
Created September 18, 2018 15:44
grep -Rl --include \*.py "md5"
lib64/python2.7/site-packages/IPython/core/compilerop.py
lib64/python2.7/site-packages/IPython/utils/path.py
lib64/python2.7/site-packages/radius/__init__.py
lib64/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py
lib64/python2.7/site-packages/requests/auth.py
lib64/python2.7/site-packages/Crypto/Signature/PKCS1_v1_5.py
lib64/python2.7/site-packages/Crypto/Hash/MD5.py
lib64/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py
lib64/python2.7/site-packages/pip/_vendor/requests/auth.py
lib64/python2.7/site-packages/pip/_vendor/distlib/database.py
@chrismeyersfsu
chrismeyersfsu / github_hover_load_related_issue.js
Last active August 14, 2018 18:41
Github load related issue on hover
@chrismeyersfsu
chrismeyersfsu / tower_api_url_inject.js
Last active April 6, 2022 03:03
Inject api links into UI links.
// ==UserScript==
// @name Tower UI -> API links
// @version 0.2
// @description Inject API links to UI resources where-ever found.
// @author Chris Meyers
// @match *
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
function register_page_change_watcher(callback) {
### Keybase proof
I hereby claim:
* I am chrismeyersfsu on github.
* I am chrismeyersfsu (https://keybase.io/chrismeyersfsu) on keybase.
* I have a public key whose fingerprint is DC21 3282 A8C1 97DE 2191 509F 16A6 402C D951 459B
To claim this, I am signing this object:
@chrismeyersfsu
chrismeyersfsu / gist:036b494a2a37d636839b
Created August 25, 2015 14:17
successful pip install --target with setup.cfg influencing the purelib
[root@77ccf2c18f3b tmp]# DISTUTILS_DEBUG=1 pip install -t /tmp/install_here -vvvv psutil
You are using pip version 7.1.0, however version 7.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting psutil
Getting page https://pypi.python.org/simple/psutil/
1 location(s) to search for versions of psutil:
* https://pypi.python.org/simple/psutil/
Getting page https://pypi.python.org/simple/psutil/
Analyzing links from page https://pypi.python.org/simple/psutil/
Skipping link https://pypi.python.org/packages/2.4/p/psutil/psutil-1.1.0.win32-py2.4.exe#md5=1507a76ba81a068acd3ffc0ed4ca2c4c (from https://pypi.python.org/simple/psutil/); unsupported archive format: .exe
@chrismeyersfsu
chrismeyersfsu / purelib
Created August 25, 2015 14:14
pip install-option install-purelib
[root@77ccf2c18f3b tmp]# DISTUTILS_DEBUG=1 pip install -t /tmp/install_here --install-option="--install-purelib=$base/lib64/python" psutil
You are using pip version 7.1.0, however version 7.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
/usr/lib/python2.7/site-packages/pip/commands/install.py:206: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options)
Collecting psutil
/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Using cached psutil-3.1.1.tar.gz
Installing collected packages: psutil
@chrismeyersfsu
chrismeyersfsu / pip.log
Created August 24, 2015 22:43
pip install --target fails
[root@76a715fc029f billiard-3.3.0.20]# pip install --target /tmp/target_directory -vvv "psutil"
You are using pip version 7.1.0, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting psutil
Getting page https://pypi.python.org/simple/psutil/
1 location(s) to search for versions of psutil:
* https://pypi.python.org/simple/psutil/
Getting page https://pypi.python.org/simple/psutil/
Analyzing links from page https://pypi.python.org/simple/psutil/
Skipping link https://pypi.python.org/packages/2.4/p/psutil/psutil-1.1.0.win32-py2.4.exe#md5=1507a76ba81a068acd3ffc0ed4ca2c4c (from https://pypi.python.org/simple/psutil/); unsupported archive format: .exe
{
"General": [
{
"brewer": "21st Amendment Brewery",
"beers": [
"Hell or High Watermelon",
"Brew Free or Die IPA"
]
},
{