View dockerfile.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
#(nop) CMD ["/opt/entrypoint.sh"] | |
cp /usr/share/pmm-server/entrypoint.sh /opt/entrypoint.sh | |
ansible-playbook -vvv -i 'localhost,' -c local /opt/playbook-init.yml | |
#(nop) COPY file:a969fd4cfc09f89b74fb2ba60e955c0f6a7f4aaf050100501633d19c933cae4d in /opt/playbook-init.yml | |
ansible-playbook -vvv -i 'localhost,' -c local /opt/playbook-install.yml | |
#(nop) COPY file:b94f58ef90751b3a827d3d85000e585b2ce11a83e830db6d722f31c31fcc8453 in /opt/playbook-install.yml | |
#(nop) COPY file:07c96ecb439e64ef84963c186de39d8a34efc3cbef0a1fc0fbc2dee4a3ba78c3 in /tmp/gitCommit | |
#(nop) COPY dir:2e52ca7492897d14e051e405564f95426a034c5d705d76c7129a83463cf47906 in /tmp/RPMS | |
yum -y install epel-release && yum -y install ansible | |
useradd -s /bin/false pmm |
View mxroute.linq
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
<Query Kind="Program"> | |
<NuGetReference>cPanelSharp</NuGetReference> | |
<NuGetReference>Newtonsoft.Json</NuGetReference> | |
<Namespace>cPanelSharp</Namespace> | |
<Namespace>Newtonsoft.Json</Namespace> | |
<Namespace>Newtonsoft.Json.Linq</Namespace> | |
</Query> | |
cPanelClient Client = new cPanelClient("silvenga", "ghost.mxroute.com", password: Util.GetPassword("mxroute-silvenga"), cpanel: true); |
View global.d.ts
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
// Version 1 | |
// 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; |
View global.d.ts
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; |
View docker.sls
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: |
View tinc.sls
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" %} |
View huginn-dac
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(.)" | |
}, |
View remove-bloat-appx.ps1
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", |
View Disable Malicious Software Removal Tool From Installing.reg
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 | |
View convert.cs
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]; |
NewerOlder