View cf_clr_cache_dev_mode.sh
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
email=colin@wyveo.com | |
tkn=<API KEY> | |
domain=wyveo.com | |
zone=$(curl -s -X GET "https://api.CloudFlare.com/client/v4/zones?name=${domain}&status=active&page=1&per_page=20&order=status&direction=desc&match=all" \ | |
-H "X-Auth-Email: ${email}" \ | |
-H "X-Auth-Key: ${tkn}" \ | |
-H "Content-Type: application/json") | |
zone=${zone:18:32} |
View custom-prism-autoloader.js
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
(function () { | |
if (typeof Prism === 'undefined' || typeof document === 'undefined') { | |
return; | |
} | |
/* eslint-disable */ | |
/** | |
* The dependencies map is built automatically with gulp. |
View kemp-cert-update.sh
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 | |
# | |
# Title: Auto-Update & Upload LetsEncrypt Certs to KEMP LoadMaster | |
# Guide/Source: https://colinwilson.uk/2017/06/19/auto-update-ssl-certificates-on-kemp-loadmaster-via-pfsense--lets-encrypt/ | |
# Created: 12/06/2017 | |
# Author: Colin Wilson @colinwilson | |
# Vendor or Software Link: https://www.pfsense.org/ , https://kemptechnologies.com | |
# Version: 1.1.0 | |
# Category: BASH Shell Script |
View hb_h.265_1080p_vfast.sh
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/bash | |
# This script uses HandBrakeCLI to automatically convert a folder containing video files to H.265 (HEVC). | |
# You need to substitute SRC -- Source folder, DEST -- Destination folder, | |
# PRESET -- Preset name, & PRESET_FILE -- Preset file (json) for your own values | |
SRC="/root/video_in" | |
DEST="/root/video_out" | |
DEST_EXT=mkv | |
HANDBRAKE_CLI=HandBrakeCLI |
View hbap_vfast.json
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
{ | |
"PresetList": [ | |
{ | |
"AudioCopyMask": [ | |
"copy:aac", | |
"copy:ac3", | |
"copy:dtshd", | |
"copy:dts", | |
"copy:mp3", | |
"copy:truehd", |
View main.tf
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
provider "hcloud" { | |
token = var.hcloud_token | |
} | |
resource "hcloud_ssh_key" "default" { | |
name = var.ssh_public_key_name | |
public_key = var.ssh_public_key | |
} | |
resource "hcloud_network" "default" { |
View all-in-one-postgres-dev.yaml
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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: kong | |
--- | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: kongconsumers.configuration.konghq.com | |
spec: |
View all-in-one-postgres.yaml
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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: kong | |
--- | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: kongconsumers.configuration.konghq.com | |
spec: |
View hb_install.sh
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/bash | |
cd /root && mkdir video_in && mkdir video_out \ | |
&& wget https://gist.githubusercontent.com/colinwilson/bdc29535d8825acdda2fbc2d3718d021/raw/2a14fa3f8be94424a650308a2b5f2dbd6bad8876/hbap.json \ | |
&& wget https://gist.githubusercontent.com/colinwilson/3ba48ea637035d3f4ac8fdf5c25bc55a/raw/b9692629119246685bfeb3141b35e63a96a6ef6f/hbap720p.json \ | |
&& wget https://gist.githubusercontent.com/colinwilson/8852b8fe09a52cca6828960621edd5d3/raw/90f4b89f8f6b35a1929a1fd7b187340cb1d5342a/hbap4k.json \ | |
&& wget https://gist.githubusercontent.com/colinwilson/5ea73985e520f0c85e610c2f0e29ac39/raw/484cfa10216973d754bee2ab1e16ca18fb864dfa/hb_h.265_720p.sh \ | |
&& wget https://gist.githubusercontent.com/colinwilson/db77c82536721f6ea70309b6d601f19e/raw/4bd1f86df6b144123f3885c9bb99fe0842ee7e4c/hb_h.265_1080p.sh \ | |
&& wget https://gist.githubusercontent.com/colinwilson/4416611115d5f76bb9f6555dd2fe0730/raw/c343cde69b6a4e23e5bca304f865d36593e91b95/hb_h.265_2160p.sh \ | |
&& chmod +x hb_h.265_720p.sh \ | |
&& chmod +x hb_h.265_1080p.sh \ |
NewerOlder