https://gist.githubusercontent.com/SolomonHD/af2d4ccee5e893377396f1be16fcf12f/raw/solomonhd_adblock_exception_list.txt
This file contains hidden or 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
## Prerequisites: | |
# 1) Create a Docker IPv4 bridge network | |
# 2) Pick an IPv4 Address for Traefik, use the end of the network range | |
# 3) Pick a domain, recommend real DNS but faking is possible by editing the /etc/hosts file to point to Traefik's IPv4 address. | |
# 4) Replace the ${DOMAIN} place holder in the config-ldap.yaml, and env-config.js and files with the domain. | |
# 5) Get a valid certificate via Let's Encrypt or another method, recommend a wildcard cert | |
# 6) Copy cert/private key as /etc/letsencrypt/live/${DOMAIN}/{privkey.pem, fullchain.pem}, Uncomment lines 233-234 in the docker.compose.yml file | |
# Also uncomment the lines in traefik_dynamic.yaml after cert and key are in place | |
# 7) Copy this file as '.env', fill out with the appropriate values |
This file contains hidden or 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
[{ | |
"type": 1, | |
"title": "WireGuard", | |
"name": "wireguard", | |
"description": "WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.", | |
"logo": "https://cdn.freelogovectors.net/wp-content/uploads/2021/10/wireguard-logo-freelogovectors.net_-400x400.png", | |
"image": "linuxserver/wireguard:latest", | |
"categories": [ | |
"Other" | |
], |
This file contains hidden or 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
## This Powershell template sets proper perms for ssh key usage in WSL2. Edit the variables before running | |
## Requires Powershell 7+!!! | |
## Set Variables | |
New-Variable -Force -Name Key -Value "$env:UserProfile\.ssh\key_file_name_here" | |
New-Variable -Name PERMS -Value "RW" | |
## Perform Operations, |
This file contains hidden or 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/bash | |
# Written by Solomon G Hilliard | |
### Additional Functionality ### | |
# To avoid having to set awx token for each shell, create and load this alias: | |
# alias awx='awx --conf.token $(cat ~/.ansible/.awxcli/token)' | |
### Requirements ### | |
# Encpass script: https://github.com/plyint/encpass.sh | |
# AWX CLI: https://github.com/ansible/awx/blob/devel/INSTALL.md#installing-the-awx-cli |
This file contains hidden or 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
require 'net/http' | |
require 'uri' | |
require 'json' | |
require 'java' | |
## | |
# Delegate script to connect Cantaloupe to Fedora. It slices a piece of | |
# Cantaloupe for Samvera to consume. | |
# | |
# This is a first pass and doesn't have a lot of error checking built in yet. |
This file contains hidden or 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
<< //// | |
This function will ssh into a EC2 based on Name tags. You can ssh in via public or private IP This function requires awscli to work | |
There are several optional environment variables: | |
AWS_PROFILE = Control which profile is active with this variable, if this is unset the function will use AWS_DEFAULT_PROFILE instead | |
SSH_EC2_KEY_FILE = path to the key file for the user | |
SSH_EC2_USER = name of the user that logs in, if this variable is unset the value is ec2-user | |
To use this function do the following commands | |
(from command line) |
This file contains hidden or 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
require 'net/http' | |
require 'uri' | |
require 'json' | |
require 'java' | |
## | |
# Delegate script to connect Cantaloupe to Fedora. It slices a piece of | |
# Cantaloupe for Samvera to consume. | |
# | |
# This is a first pass and doesn't have a lot of error checking built in yet. |
This file contains hidden or 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: Build list of instance IDs by instance name | |
ec2_instance_facts: | |
region: "{{ region }}" | |
filters: | |
"tag:NightlyBackup": "Yes" | |
# "tag:Name": "{{ groups['backup'] }}" | |
register: ec2_facts | |
- debug: |
This file contains hidden or 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
require 'minitest/autorun' | |
require 'minitest/pride' | |
# Write code which will be included in the human class which will give humans | |
# intelligent and bipedal behavior. | |
# WRITE YOUR CODE BELOW THIS COMMENT... | |
module Intelligent | |
NUMBER_OF_BRAINS = 1 |
NewerOlder