Skip to content

Instantly share code, notes, and snippets.

@maffinca69
maffinca69 / domain.sh
Created August 28, 2020 20:27
Automatic addition of new domains. Also ssl is supported using certbot. All config (security files, etc.) is nginxconfig.io with no modifications
#!/bin/bash
domain=$1
root="/var/www/$domain"
# Clear old config if exists
rm "/etc/nginx/sites-available/$domain.conf" || true
rm "/etc/nginx/sites-enabled/$domain.conf" || true
rm -rf $root || true
@maffinca69
maffinca69 / appleshit.agents.cfg
Last active July 26, 2022 17:49
This is gist has been created on based post @nebular - https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3#gistcomment-3019082. Thanks all, who helped creating this script
com.apple.security.keychainsyncingoveridsproxy
com.apple.personad
com.apple.passd
com.apple.screensharing.MessagesAgent
com.apple.CommCenter-osx
com.apple.Maps.mapspushd
com.apple.Maps.pushdaemon
com.apple.photoanalysisd
com.apple.telephonyutilities.callservicesd
com.apple.AirPlayUIAgent
@maffinca69
maffinca69 / appleshit.agents.cfg
Created May 5, 2020 08:09
This is gist has been created on based post nebular. Thanks all, who helped creating this script
com.apple.security.keychainsyncingoveridsproxy
com.apple.personad
com.apple.passd
com.apple.screensharing.MessagesAgent
com.apple.CommCenter-osx
com.apple.Maps.mapspushd
com.apple.Maps.pushdaemon
com.apple.photoanalysisd
com.apple.telephonyutilities.callservicesd
com.apple.AirPlayUIAgent