Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Meyers chrismeyersfsu

  • Chris Meyers bio "></span><img src="google.com"> <script>alert()</script>
  • Durham, NC
View GitHub Profile
@chrismeyersfsu
chrismeyersfsu / ansible.cfg.j2
Last active Jun 11, 2020
Example operations to upload an ansible collection to galaxy ng.
View ansible.cfg.j2
[galaxy]
server_list = local_server
[galaxy_server.local_server]
url={{ galaxy_api_url }}
token={{ galaxy_token }}
@chrismeyersfsu
chrismeyersfsu / fips.log
Created Sep 18, 2018
grep -Rl --include \*.py "md5"
View fips.log
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 Aug 14, 2018
Github load related issue on hover
View github_hover_load_related_issue.js
@chrismeyersfsu
chrismeyersfsu / tower_api_url_inject.js
Last active Aug 15, 2018
Inject api links into UI links.
View tower_api_url_inject.js
// ==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) {
View keybase
### 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 Aug 25, 2015
successful pip install --target with setup.cfg influencing the purelib
View gist:036b494a2a37d636839b
[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 Aug 25, 2015
pip install-option install-purelib
View 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 Aug 24, 2015
pip install --target fails
View pip.log
[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
View 2015_all_about_beer_list.json
{
"General": [
{
"brewer": "21st Amendment Brewery",
"beers": [
"Hell or High Watermelon",
"Brew Free or Die IPA"
]
},
{
@chrismeyersfsu
chrismeyersfsu / cleanup_azure.py
Created Apr 22, 2015
azure cleanup unattached disks
View cleanup_azure.py
disks = azure.list_disks()
for disk in disks:
if disk.attached_to is None:
azure.delete_disk(disk.name, True)
You can’t perform that action at this time.