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 Registry Editor Version 5.00 | |
[ | |
-HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate | |
] |
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
// https://stackexchange.github.io/dnscontrol/js | |
type Ttl = string | number; | |
// Top Level Functions | |
declare function REV(address: string): string; | |
declare function NewRegistrar(name: string, type: string, meta?: any): string; | |
declare function NewDnsProvider(name: string, type: string, meta?: any): string; | |
declare function DEFAULTS(...modifiers: any[]): void; | |
declare function D(name: string, registrar: string, ...meta: any[]): void; |
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
Install Pre-Reqs: | |
pkg.installed: | |
- pkgs: | |
- apt-transport-https | |
- ca-certificates | |
- curl | |
- software-properties-common | |
Install Docker Apt Repo: | |
pkgrepo.managed: |
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
{% set network = "master" %} | |
{% set id = grains['id'] %} | |
{% set interface = "Master" %} | |
{% set interfaceConfig = pillar['vAddress'] + " 255.255.0.0" %} | |
{% set tincBase = "C:\\Program Files (x86)\\tinc\\" %} | |
{% set configBase = tincBase + network + "\\" %} | |
{% set hostsPath = configBase + "hosts\\" %} | |
{% set port = "655" %} |
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
{ | |
"expected_update_period_in_days": "14", | |
"url": "https://billing.dacentec.com/hostbill/index.php?/cart/dedicated-servers/", | |
"type": "html", | |
"mode": "on_change", | |
"extract": { | |
"Title": { | |
"css": "tbody > tr th:nth-child(1)", | |
"value": "normalize-space(.)" | |
}, |
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 Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT] | |
"DontOfferThroughWUAU"=dword:00000001 | |
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
$apps = @( | |
"A278AB0D.MarchofEmpires", | |
"9E2F88E3.Twitter", | |
"Facebook.Facebook", | |
"king.com.CandyCrushSodaSaga", | |
"Microsoft.MicrosoftSolitaireCollection", | |
"Microsoft.SkypeApp", | |
"Microsoft.MinecraftUWP", | |
"Microsoft.MicrosoftOfficeHub", | |
"Microsoft.BingWeather", |
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
var guid = Guid.Parse("10a5be07-e2ba-46fa-bb18-273f77dc39f0"); | |
var b = guid.ToByteArray(); | |
var mirror = guid.ToByteArray(); | |
b[0] = mirror[3]; | |
b[1] = mirror[2]; | |
b[2] = mirror[1]; | |
b[3] = mirror[0]; |
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 | |
export PASSPHRASE={{ grains['backup.password'] }} | |
export AWS_ACCESS_KEY_ID={{ grains['backup.aws_id'] }} | |
export AWS_SECRET_ACCESS_KEY={{ grains['backup.aws_key'] }} | |
FOLDER={{ grains['id'] }} | |
TARGET=s3+http://{{ grains['backup.aws_bucket'] }}/$FOLDER | |
SOURCE=/ | |
LOGLOC=/var/log/nightly-backup |
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
# | |
# Mark Lopez (Silvenga) <m@silvenga.com> | |
# https://silvenga.com | |
# | |
{% set requirements = ['jinja2', 'flask', 'flask-wtf', 'requests', 'pymongo', 'werkzeug==0.9.4', 'cherrypy'] %} | |
{% set install_path = '/opt/saltpad' %} | |
{% set git_rev = 'f62809f6a854b9e9d49bd1534b09b7943abec354' %} | |
{% set api_url = 'https://YOURSALTMASTER.net' %} | |
{% set secret_key = '' %} |