Skip to content

Instantly share code, notes, and snippets.

View SoftCreatR's full-sized avatar
👻
Boo!

Sascha Greuel SoftCreatR

👻
Boo!
View GitHub Profile
@SoftCreatR
SoftCreatR / HelloWorld.php
Created November 19, 2024 01:48
This script serves as an exaggerated example of over-engineering a simple "Hello World" application in PHP. It incorporates numerous design patterns, interfaces, traits, and a rudimentary dependency injection container to demonstrate how complexity can be artificially introduced into a basic task.
<?php
/*
* Copyright by SoftCreatR.dev.
*
* License: https://softcreatr.dev/license-terms
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@Remzi1993
Remzi1993 / Kleopatra-startup.xml
Created October 14, 2024 12:26
A task created with Windows Task Scheduler to run Kleopatra at startup in the background
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<URI>\Kleopatra startup</URI>
</RegistrationInfo>
<Triggers>
<LogonTrigger>
<Enabled>true</Enabled>
</LogonTrigger>
</Triggers>
@SoftCreatR
SoftCreatR / tor-exit.csv
Last active July 23, 2025 00:15
Tor exit nodes geo data
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
IP,Network Prefix,ASN,Organization,City Name,Continent Code,Continent Name,Country ISO Code,Country Name,Is Country in European Union,Location Accuracy Radius,Location Latitude,Location Longitude,Location Time Zone,Postal Code,Registered Country ISO Code,Registered Country Name,Is Registered Country in European Union,Subdivision ISO Code,Subdivision Name
"2a0a:4cc0:00c0:130c:14c3:a0ff:fe24:7692","2a0a:4cc0:c0:130c:14c3:a0ff:fe24:7692/59",197540,"""netcup GmbH""","Vienna","EU","Europe","AT","Austria",true,20,48.1951,16.3483,"Europe/Vienna","1060","DE","Germany",true,"9","Vienna"
"2a0a:4cc0:0040:091b:7425:2eff:fec8:5578","2a0a:4cc0:40:91b:7425:2eff:fec8:5578/41",197540,"""netcup GmbH""","Vienna","EU","Europe","AT","Austria",true,20,48.1951,16.3483,"Europe/Vienna","1060","DE","Germany",true,"9","Vienna"
"2a0b:f4c0:016c:0001:0000:0000:0000:0001","2a0b:f4c0:16c:1::1/31",205100,"""F3 Netze e.V.""","","EU","Europe","DE","Germany",true,200,51.2993,9.491,"Europe/Berlin","","DE","Germany",true,"",""
"2a0b:f4c0:016c:000
@SoftCreatR
SoftCreatR / update-hcfw.sh
Last active June 28, 2025 06:48
Hetzner Cloud Firewall Cloudflare IP Updater using either curl, wget or httpie.
#!/usr/bin/env bash
##############################################################
# Title : Hetzner Firewall Cloudflare IP Updater #
# Description : Allows you to update your Hetzner Cloud #
# Firewall to allow all incoming requests #
# from Cloudflare. #
# #
# Author : Sascha Greuel <[email protected]> #
# Date : 2021-03-30 09:30 #