Skip to content

Instantly share code, notes, and snippets.

Avatar

J. M. Becker techzilla

View GitHub Profile
View pulp-autocreate.sh
#!/bin/sh
##
## FILE: pulp-autocreate.sh
##
## DESCRIPTION: Auto Create Mirror Repositories
##
REPO_ARGS='
--repo-id=remi-7-x86_64 --feed "http://mirror5.layerjet.com/remi/enterprise/7/remi/x86_64/"
--repo-id=remi-7-x86_64-safe --feed "http://mirror5.layerjet.com/remi/enterprise/7/safe/x86_64/"
View split-vss2xhtml.sh
#!/bin/sh
##
## FILE: split-vss2xhtml.sh
##
## DESCRIPTION: Split VSS/SVG Sections
##
## Exit Point
die() {
[ -n "$2" ] && echo "$2"
View vmware.py
#!/usr/bin/env python
# (c) 2016, J. M. Becker <cyberpunkspike@gmail.com>
# GPL V3
######################################################################
'''
VMware Inventory Script
=======================
@techzilla
techzilla / gogs-clonecreatepush.sh
Created January 20, 2016 22:25
Git Clone, Gogs Create, Git Push
View gogs-clonecreatepush.sh
#!/bin/sh
##
## FILE: gogs-clonecreatepush.sh
##
## DESCRIPTION: Git Clone, Gogs Create, Git Push
##
## AUTHOR: J. M. Becker
##
## Exit Point
die() {
@techzilla
techzilla / vmware.py
Last active September 27, 2015 02:31
POC, better scaling, Ansible pyVmomi dynamic inventory
View vmware.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
VMware Inventory Script
=======================
'''
# import logging
# import time
# import os.path
# import subprocess