Skip to content

Instantly share code, notes, and snippets.

View ogg1e's full-sized avatar

Gary Ogden ogg1e

  • Salesforce
  • Canada
View GitHub Profile
@ogg1e
ogg1e / smb.conf
Created May 11, 2025 20:07 — forked from mafredri/smb.conf
Samba config for Open PS2 Loader (PlayStation 2)
# This setup works pretty well for OPL with a network link that travels through
# two UniFi switches and connects to a Samba server running inside Docker. The
# host OS is Debian with a ZFS filesystem and the container OS is also Debian.
# Latest Samba (4.11+).
[global]
# ======================
# General Samba settings
# ======================
log level = 1
@ogg1e
ogg1e / oktapussy.sh
Created April 1, 2023 13:08 — forked from blark/oktapussy.sh
Making an OktaPussy ROM for Amiga
#!/bin/bash
# Download and decompress the prerequisite files and put them in the directory with this script:
#
# 1. "OKT612.ROM"
# "Oktagon 2008 SCSI Controller 6.12 ROM 27256"
# http://kickstart.ddns.net/Hardware-Software%20Amiga/Hardware/Rom%20Archive/romwebby/okt612.rar
#
# 2. "at" (OktaPussy/Expansion/at):
# http://aminet.net/disk/misc/oktapus.lha
#
@ogg1e
ogg1e / ufw-denier.sh
Created November 17, 2020 17:37 — forked from Ekultek/ufw-denier.sh
A script to download bad IP addresses and deny them with UFW
#!/bin/bash
TMP_DIR="/tmp"
URL_LINKS=$"http://www.blocklist.de/lists/ssh.txt
http://www.blocklist.de/lists/apache.txt
http://www.blocklist.de/lists/asterisk.txt
http://www.blocklist.de/lists/bots.txt
http://www.blocklist.de/lists/courierimap.txt
http://www.blocklist.de/lists/courierpop3.txt
http://www.blocklist.de/lists/email.txt