Skip to content

Instantly share code, notes, and snippets.

Avatar
🦕
☄️

Colin Wilson colinwilson

🦕
☄️
View GitHub Profile
@colinwilson
colinwilson / hbap4k.json
Created Jun 6, 2019
HandBrake Preset [h.265,2160p,audio passthrough]
View hbap4k.json
{
"PresetList": [
{
"AudioCopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:mp3",
"copy:truehd",
@colinwilson
colinwilson / kemp-cert-update_v1.2.sh
Last active Dec 5, 2018
pfSense KEMP cert autoupdate script
View kemp-cert-update_v1.2.sh
#!/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
# Update: 05/12/2018
# Author: Colin Wilson [https://github.com/colinwilson]
# Vendor or Software Link: https://www.pfsense.org/ , https://kemptechnologies.com
# Version: 1.2.1
@colinwilson
colinwilson / LICENCE SUBLIME TEXT
Created Nov 30, 2018
Sublime Text 3 Serial key build is 3176
View LICENCE SUBLIME TEXT
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
View KEMP SSO Image Set Partial Structure.txt
imagesets/ <------ tar this directory
MY IMAGE SET/
lm_initial.html
lm_logout.html
MANIFEST
INFO
lm_sso.js
....
View KEMP Blank SSO Image Set lm_inital.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; CHARSET=utf-8">
<title>KEMP Login Screen</title>
<meta content="NOINDEX, NOFOLLOW" name="Robots">
<link rel="shortcut icon" href="/lm_auth_proxy?LMimage=favicon.ico" type="image/x-icon">
<link href="/lm_auth_proxy?LMimage=kmgstyle.css" type="text/css" rel="stylesheet">
<style type="text/css">
body
View KEMP Custom SSO Image Set Structure.txt
imagesets/
MY IMAGE SET/
lm_initial.html
lm_logout.html
MANIFEST
INFO
lm_sso.js
espblank.gif
espbottom.gif
favicon.ico
View KEMP SSO Image Set MANIFEST example.txt
# Default manifest of all files that are part of the logon
# screens.
#ident "$Id: EN-Colin-Wilson-Basic.manifest 16042 2018-02-28 10:16:37Z phil $ phil"
#
# Format is "filename filetype".
# The first file is the initial login screen
# The second file is the logout screen.
#
lm_initial.html
View KEMP SSO Image Set Structure.txt
imagesets/
<IMAGESETNAME>/
lm_initial.html
lm_logout.html
MANIFEST
...
View KEMP HTML SSO Greeting Message.html
<img src="https://i.imgur.com/exPeDfZ.png"/><h2 style="font-weight:700">Authorised Access Only!</h2>