Skip to content

Instantly share code, notes, and snippets.

Charles Gardner opsroller

Block or report user

Report or block opsroller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@opsroller
opsroller / bio_unpack.py
Created Dec 25, 2018 — forked from XVilka/bio_unpack.py
Unpacks *.BIO and *.CAP EFI capsule files
View bio_unpack.py
#!/bin/env python
import ctypes
import struct
import sys
import os
import array
EFI_CAPSULE_GUID = "BD86663B760D3040B70EB5519E2FC5A0".decode('hex') # 3B6686BD-0D76-4030-B70E-B5519E2FC5A0
EFI2_CAPSULE_GUID = "8BA63C4A2377FB48803D578CC1FEC44D".decode('hex') # 4A3CA68B-7723-48FB-803D-578CC1FEC44D
UEFI_CAPSULE_GUID = "B9829153B5AB9143B69AE3A943F72FCC".decode('hex') # 539182B9-ABB5-4391-B69A-E3A943F72FCC
@opsroller
opsroller / lxd.py
Created Mar 16, 2018 — forked from haarcuba/lxd.py
ansible inventory module that lists lxd containers
View lxd.py
#!/usr/bin/env python3
import sys
import subprocess
import re
def containers():
lxcOutput = subprocess.check_output( ['lxc', 'list' ] )
ips = re.compile( '\d+\.\d+\.\d+\.\d+' ).findall( str( lxcOutput ) )
nodes = dict( hosts = ips, vars = { "ansible_user": "root" } )
inventory = dict( nodes = nodes )
View keybase.md

Keybase proof

I hereby claim:

  • I am opsroller on github.
  • I am opsroller (https://keybase.io/opsroller) on keybase.
  • I have a public key ASCymbOaaRO75mJq6QAkcfFFa8HfX86Tm1tMYX1wJ45rNQo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am opsroller on github.
  • I am opsroller (https://keybase.io/opsroller) on keybase.
  • I have a public key whose fingerprint is 11E9 1895 F9BB D748 A845 0513 5755 0C94 BD84 8AA6

To claim this, I am signing this object:

@opsroller
opsroller / openpgp.txt
Created Jul 17, 2016
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:a094833b7ea069cbc5cd83758ce03008e1a37127]
@opsroller
opsroller / openpgp.txt
Created Jul 17, 2016
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:a094833b7ea069cbc5cd83758ce03008e1a37127]
@opsroller
opsroller / openpgp.txt
Created Jul 17, 2016
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:a094833b7ea069cbc5cd83758ce03008e1a37127]
@opsroller
opsroller / openpgp.txt
Created Jul 17, 2016
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:a094833b7ea069cbc5cd83758ce03008e1a37127]
@opsroller
opsroller / openpgp.txt
Created Jul 17, 2016
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:a094833b7ea069cbc5cd83758ce03008e1a37127]
@opsroller
opsroller / openpgp.txt
Created Jul 17, 2016
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:a094833b7ea069cbc5cd83758ce03008e1a37127]
You can’t perform that action at this time.