Skip to content

Instantly share code, notes, and snippets.

@amalleo25
amalleo25 / ad-hoc-blacklist.txt
Created August 25, 2019 00:50
Ad-hoc Blacklist
googleads.g.doubleclick.net
{
"version": 3,
"terraform_version": "0.11.7",
"serial": 12,
"lineage": "d676e918-075f-6800-8aa9-e20da1a94885",
"modules": [
{
"path": [
"root"
],
############
## Import ##
############
root@9a48ce63-287c-ea55-8c25-bd4ae53bc648:~/terraform-triton2# terraform import triton_machine.network-test4 3773107d-8396-e319-820f-f17448ecd7b3
2018/05/20 16:33:34 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161
2018/05/20 16:33:34 [INFO] Go runtime version: go1.10.1
2018/05/20 16:33:34 [INFO] CLI args: []string{"/usr/local/bin/terraform", "import", "triton_machine.network-test4", "3773107d-8396-e319-820f-f17448ecd7b3"}
2018/05/20 16:33:34 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2018/05/20 16:33:34 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
@amalleo25
amalleo25 / telemetry-blocklist
Created May 20, 2018 02:40
Telemetry Blocklist for pfBlockerNG
#
# I did not create this list. I pulled the list from the following repo:
# https://github.com/W4RH4WK/Debloat-Windows-10/blob/master/scripts/block-telemetry.ps1
# I formatted the list to be used with pfBlockerNG.
#
184-86-53-99.deploy.static.akamaitechnologies.com
a-0001.a-msedge.net
a-0002.a-msedge.net
a-0003.a-msedge.net
a-0004.a-msedge.net
@amalleo25
amalleo25 / plex.conf
Last active March 22, 2017 04:36
Nginx config for plex
server {
listen 80;
server_name plex.example.com;
rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https
}
server {
listen 443 ssl;
server_name plex.example.com;
ssl_certificate /etc/ssl/certs/plex.example.com.crt;
@amalleo25
amalleo25 / seafile.conf
Created January 7, 2017 17:32
Nginx config for seafile server running on a different host
server {
listen 80;
server_name seafile.example.com;
rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https
}
server {
listen 443 ssl;
server_name seafile.example.com;
ssl_certificate /etc/ssl/certs/seafile.example.com.crt;