Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander / Aebian Aebian

View GitHub Profile
View haproxy-sample.conf
listen www-https
bind 10.0.0.120:443 ssl crt /path/to/the/fullchain.pem ciphers ECDHE-RSA-AES256-SHA:-RC4-SHA:HIGH:!MD5:!aNULL:!EDH #SSL offloading
mode tcp
option tcplog
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }
default_backend gw-web-ssl
View dell-oem.bat
@echo off
setlocal
echo:
echo Setting OEMID in RegEdit...
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Store" /v OEMID /f /t REG_SZ /d DELL
echo:
echo Setting SCMID...
echo Fetching System Model Name
View Update_Client.bat
@echo off
REM https://github.com/BytexDigital/SteamCLI/
SETLOCAL ENABLEDELAYEDEXPANSION
SET STEAMUSER=<user>
SET STEAMPWD=<pw>
SET A3ID=107410
SET A3BRANCH=public
View command0.sh
./configure --with-compat --add-dynamic-module=../nginx-rtmp-module --with-http_ssl_module --with-cc-opt="-Wimplicit-fallthrough=0"
View ipsec.conf
# generated by /opt/vyatta/sbin/vpn-config.pl
config setup
conn %default
keyexchange=ikev2
include /config/user-data/ki-vpn.ipsec
View cloudflare-builtin.sh
configure
set service dns dynamic interface eth0 service custom-cloudflare login <user@domain.com>
set service dns dynamic interface eth0 service custom-cloudflare password <cloudflare-api-key>
set service dns dynamic interface eth0 service custom-cloudflare protocol cloudflare
set service dns dynamic interface eth0 service custom-cloudflare options zone=domain.com
commit ; save
View sample-crm.config
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
View Install-RSATv1809v1903v1909.ps1
<#
.SYNOPSIS
Install RSAT features for Windows 10 1809 or 1903 or 1909.
.DESCRIPTION
Install RSAT features for Windows 10 1809 or 1903 or 1909. All features are installed online from Microsoft Update thus the script requires Internet access
.PARAM All
Installs all the features within RSAT. This takes several minutes, depending on your Internet connection
View network.interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
View cf
#CF_Opts
CLOUDFLARED_OPTS=–address 127.0.0.1 --port 7359 --upstream https://1.1.1.1/dns-query --upstream https://1.0.0.1/dns-query --metrics 127.0.0.1:6284