Skip to content

Instantly share code, notes, and snippets.

@mafredri
mafredri / smb.conf
Last active January 29, 2024 20:42
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
@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active May 10, 2024 14:43
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@HaydenElza
HaydenElza / AutoClicker.sh
Created June 15, 2015 03:25
Auto-Clicker using xdotool on linux
#!/bin/bash
COUNTER=0
while [ $COUNTER -lt 10000 ]; do
xdotool click 1
sleep 0.001s
echo The counter is $COUNTER
let COUNTER=COUNTER+1
done
@tzermias
tzermias / ip_forward.md
Last active May 5, 2024 17:03
Forward traffic from wlan0 to eth0 interface

Forward traffic from a laptop's eth0 to wlan0

###To laptop

Specify an IP address to eth0 (here 192.168.56.1)

sudo ifconfig eth0 192.168.56.1 netmask 255.255.255.0