This file contains 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 | |
# -*- coding: utf-8 -*- | |
''' | |
VMware Inventory Script | |
======================= | |
''' | |
# import logging | |
# import time | |
# import os.path | |
# import subprocess |
This file contains 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
#!/bin/sh | |
## | |
## FILE: gogs-clonecreatepush.sh | |
## | |
## DESCRIPTION: Git Clone, Gogs Create, Git Push | |
## | |
## AUTHOR: J. M. Becker | |
## | |
## Exit Point | |
die() { |
This file contains 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 | |
# (c) 2016, J. M. Becker <[email protected]> | |
# GPL V3 | |
###################################################################### | |
''' | |
VMware Inventory Script | |
======================= |
This file contains 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
#!/bin/sh | |
## | |
## FILE: split-vss2xhtml.sh | |
## | |
## DESCRIPTION: Split VSS/SVG Sections | |
## | |
## Exit Point | |
die() { | |
[ -n "$2" ] && echo "$2" |
This file contains 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
#!/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/" |
This file contains 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
import threading | |
import time | |
import json | |
import os | |
import signal | |
from datetime import datetime, timezone | |
from confluent_kafka import Producer | |
# Kafka broker(s) configuration | |
bootstrap_servers = 'your_kafka_broker(s)' |
This file contains 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
package main | |
import ( | |
"fmt" | |
"log" | |
"time" | |
"github.com/Shopify/sarama" | |
) |
This file contains 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
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"log" | |
"time" | |
"github.com/segmentio/kafka-go" |
This file contains 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
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"log" | |
"runtime" | |
"sync" | |
"time" |