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
# base layer | |
FROM debian:stable AS builder | |
# Get current & install Java, curl | |
RUN apt-get -y update && apt-get upgrade | |
RUN apt-get -y install git openjdk-11-jre-headless curl | |
# Run spigot as spigot user | |
RUN useradd spigot && mkdir -p /home/spigot | |
RUN usermod -a -G spigot spigot |
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
# [!] Windows Syslog Agent/Client | |
# [$] Forward Windows Events via UDP in JSON format, designed for compatibility with Syslog/Rsyslog | |
# [$] Written: Gordon Young | |
function getStatus () { | |
$ip = '192.168.1.100' | |
$offlineLogs = 'C:\Windows\Temp\queued.log' |
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/python | |
# -*- coding: utf-8 -*- | |
# Gordon Young 2016 Checkout_Password.py | |
# | |
# This script demonstrates: | |
# 1. Authenticating to the Lieberman ERPM PAM / EPV API | |
# 3. Requesting & returning a password key by account & target ID | |
# | |
import ssl |
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/env python3 | |
from datetime import date, datetime | |
import json | |
import logging | |
import subprocess | |
# Get all the Docker images in the repository | |
import uuid | |
from datetime import date |
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/env python | |
import pickle | |
import fnmatch | |
import os # For Raspi hardware + Find OS Path for images | |
import pygame | |
# why do we need *? | |
from pygame import * | |
from time import sleep |
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
## Prometheus server ConfigMap entries | |
## | |
serverFiles: | |
## Alerts configuration | |
## Ref: https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/ | |
alerting_rules.yml: | |
groups: | |
- name: security | |
rules: |
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
/* | |
============================================================================ | |
Name : hello_world.c | |
Author : Gordon Young | |
Version : | |
Copyright : Your copyright notice | |
Description : Hello World in C, Ansi-style | |
============================================================================ | |
*/ |
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
/* | |
============================================================================ | |
Name : hello_world.c | |
Author : Gordon Young | |
Version : | |
Copyright : Your copyright notice | |
Description : Hello World in C, Ansi-style | |
============================================================================ | |
*/ |
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
/* | |
============================================================================ | |
Name : hello_world.c | |
Author : Gordon Young | |
Version : | |
Copyright : Your copyright notice | |
Description : Hello World in C, Ansi-style | |
============================================================================ | |
*/ |
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
/* | |
============================================================================ | |
Name : hello_world.c | |
Author : Gordon Young | |
Version : | |
Copyright : Your copyright notice | |
Description : Hello World in C, Ansi-style | |
============================================================================ | |
*/ |