Skip to content

Instantly share code, notes, and snippets.

View mhahl's full-sized avatar
👁️‍🗨️
Oh, hi Mark!

Mark Hahl mhahl

👁️‍🗨️
Oh, hi Mark!
View GitHub Profile
@sjenning
sjenning / disconnected-operators.md
Last active November 16, 2020 21:37
disconnected-operators
@Zibri
Zibri / KMS_office.cmd
Created January 18, 2020 15:59 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
@echo off
title Microsoft Office 2019 versions are supported!&cls&echo
============================================================================&echo
#Project: Activating Microsoft software products for FREE without software&echo
============================================================================&echo.&echo
#Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(if exist
"%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist
"%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b
..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b
..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo
@dleonard0
dleonard0 / POIs.csv
Last active July 10, 2025 01:10
Hypothetical NBN POI Addresses
Name Ref Geolocation Address
Civic 9CVI -35.27376,149.13163 50 Mort Street, Braddon ACT 2612
Queanbeyan 9QBN -35.35361,149.23189 36 Lowe St, Queanbeyan NSW 2620
Albury 2ALB -36.08194,146.91488 475 Kiewa St, Albury NSW 2640
Asquith Depot 2SYA -33.69570,151.10987 3 Kelray Place, Asquith NSW 2077
Berkeley Vale 2BLV -33.34911,151.43602 3-5 Pindarri Ave, Berkeley Vale NSW 2261
Blacktown 2BLK -33.77027,150.90826 17 Flushcombe Rd, Blacktown NSW 2148
Campbelltown 2CBT -34.06800,150.81187 253 Queen St, Cambelltown NSW 2560
Campsie 2CAM -33.91586,151.10954 395 Canterbury Rd, Campsie 2194
Carramar 2CRR -33.88823,150.96885 6-12 The Horsley Dr, Carramar NSW 2163
@user890104
user890104 / cert-production.sh
Created July 31, 2018 12:10
Certbot / Letsencrypt Wildcard DNS with nsupdate hook
# This will issue a production (valid and trusted) certificate
certbot certonly --agree-tos --manual --preferred-challenge=dns --manual-auth-hook=./hook.sh --register-unsafely-without-email --manual-public-ip-logging-ok -d '*.example.com' -d 'example.com' --server https://acme-v02.api.letsencrypt.org/directory
@cws-khuntly
cws-khuntly / squid.conf
Created July 17, 2016 19:51
Squid config
#
# Recommended minimum configuration:
#
visible_hostname proxy.caspersbox.com
## add in basic authentication (pending ldap auth)
auth_param basic program /usr/lib/squid/squid_ldap_auth -b "dc=caspersbox,dc=com" -f "uid=%s" -D "uid=AppUser,ou=AppAdmins,organizationalUnitName=Service Accounts,organizationalUnitName=Users,organizationName=CWS US,dc=caspersbox,dc=com" -W /etc/squid/ldap_pass -h data.caspersbox.corp -p 10389
auth_param basic children 50
auth_param basic realm CWS Proxy Services
auth_param basic credentialsttl 90 minutes
@rafaeltuelho
rafaeltuelho / openshift-cheatsheet.md
Last active May 22, 2025 13:25
My Openshift Cheatsheet

My Openshift Cheatsheet

Project Quotes, Limits and Templates

  • Cluster Quota
oc create clusterquota env-qa \
    --project-label-selector environment=qa \
    --hard pods=10,services=5
    
oc create clusterquota user-qa \
@yegorg
yegorg / readme.md
Created November 11, 2015 03:15 — forked from ashrithr/readme.md
Installing ELK on a single machine

Installing ELK (CentOS)

This is a short step-by-step guide on installing ElasticSearch LogStash and Kibana Stack on a CentOS environment to gather and analyze logs.

I. Install JDK

rpm -ivh https://dl.dropboxusercontent.com/u/5756075/jdk-7u45-linux-x64.rpm
@fntlnz
fntlnz / i3wm-fedora.md
Last active December 23, 2024 08:47
i3wm fedora lightdm

Install i3

dnf install i3

Add exec i3 to xinitrc

echo "exec i3" > ~/.xinitrc
#!/usr/bin/env ruby
require './app'
require 'eventmachine'
class FingerServer < EM::Connection
def receive_data(data)
data.strip!
if data =~ /\A\w+\z/
#!/bin/ruby
######################################################
#
# Author: Mark Hahl
# Email: [email protected]
# Version: 0.0.0
#
# Firewall configuration script for gateway server,
# managing traffic and other rules.
#