Skip to content

Instantly share code, notes, and snippets.

View PromoFaux's full-sized avatar

Adam Warner PromoFaux

View GitHub Profile
||test.de^
appleid.apple.com
||.com^
||*.com^
||com^
@PromoFaux
PromoFaux / DoT.yml
Last active December 31, 2023 15:47
tcp:
routers:
rou_dot:
entryPoints:
- dot
rule: HostSNI(`my.dot.domain.here`)
service: svc_dot
tls:
certResolver: le
services:
@PromoFaux
PromoFaux / test
Last active February 14, 2023 21:30
*.microsoft.com,1
*.facebook.com,1
@PromoFaux
PromoFaux / are-you-sure-release.js
Last active December 26, 2021 00:13
Userscript to intercept the "publish release" button on Github to make sure the presser of said button is sure they want to press it
// ==UserScript==
// @name Github Release, are you sure??
// @version 0.1
// @description That green "Publish Release" button is just far too tempting to press when you want to save a draft.
// @author @promofaux
// @include *://github.com/*
// @icon https://www.google.com/s2/favicons?domain=github.com
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// ==/UserScript==
@PromoFaux
PromoFaux / DataTablesSSP.cs
Created January 21, 2019 22:50
Generic Class for handling Datatables.NET serverside processing in C# using LINQ/Entity
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic;
using System.Web.Mvc;
using Newtonsoft.Json;
namespace SUBSET.Code
{
#!/usr/bin/env bash
# Pi-hole: A black hole for Internet advertisements
# (c) 2017 Pi-hole, LLC (https://pi-hole.net)
# Network-wide ad blocking via your own hardware.
#
# Installs Pi-hole
#
# This file is copyright under the latest version of the EUPL.
# Please see LICENSE file for your rights under this license.
a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a