Skip to content

Instantly share code, notes, and snippets.

View caughtinflux's full-sized avatar

Aditya Krishnadevan caughtinflux

View GitHub Profile
@SethCalkins
SethCalkins / LittleSnitch_Block_List.md
Last active January 5, 2023 05:17
Little Snitch Script to block Ad Servers

Here is a script to take the hosts from From http://pgl.yoyo.org/adservers/ and convert them to rules for Little Snitch.

It has options to grab the entire list or grab new entries past a certain date.

Just grab the output and copy/paste into Little Snitch.

The script is written to block access to any process, any port. You can also delete those lines and it will only block Mail. Or use the options to enter any process, port or protocol you want to block.

@kirb
kirb / README.md
Last active March 29, 2016 12:14
SublimeClang user preferences json for iOS + theos
  1. Install SublimeClang with Package Control if you don't already have it (you do also need to install Package Control first)
  2. Click Sublime Text -> Preferences -> Sublime Clang -> User
  3. Paste in the contents of SublimeClang.sublime-settings, modifying the location of theos (-I/opt/theos/include) and the SDK (/Applications/Xcode.app/Contents/...etc) if needed
  4. Save, restart Sublime, be happy (or yell at me if it didn't work)

(This was just written from memory so let me know if something is wrong. Note that logos syntax is not supported as SublimeClang expects to only be running clang --analyze, and I know nothing about python.)