Skip to content

Instantly share code, notes, and snippets.

View john-clark's full-sized avatar
🛸
Out there

John Clark john-clark

🛸
Out there
View GitHub Profile
@john-clark
john-clark / openwrt_add_guest.sh
Created July 2, 2025 01:54 — forked from fbraz3/openwrt_add_guest.sh
[openwrt] This script will create a guest network fully isolated from the main one, also supports bandwith control
#!/bin/sh
#
# FOR USE IN OPENWRT
# This script creates a guest network fully isolated from the main one.
# Tested on a Xiaomi AX3000T router; should work on any OpenWRT-powered router.
#
# Ensure the Wi-Fi interfaces retain their default names (radio0 and radio1).
#
# Info about OpenWRT support on AX3000T:
@john-clark
john-clark / ComPort over Network.md
Created January 24, 2025 16:56 — forked from DraTeots/ComPort over Network.md
ComPort over Network
function Disable-DriveIndexing {
Param($Drive)
$obj = Get-WmiObject -Class Win32_Volume -Filter "DriveLetter='$Drive'"
$indexing = $obj.IndexingEnabled
if("$indexing" -eq $True){
write-host "Disabling indexing of drive $Drive"
$obj | Set-WmiInstance -Arguments @{IndexingEnabled=$False} | Out-Null
}
}
#Use: Disable-DriveIndexing "C:"
@john-clark
john-clark / fuckyou-gmail.en.md
Created September 25, 2022 04:26 — forked from dxdxdt/fuckyou-gmail.en.md
What to do when Gmail marks all the mails from your server as spam

What to do when Gmail marks all the mails from your server as spam

If you're self-hosting your services and having trouble getting your emails through Gmail and infuriated by Google's non-existent support, you're not the only one. I'd like to share my experiences trying to get it sorted out.

I'm the author of the post above. You can tell how arrogant Google employees are from all the previous posts he made in the past.