$ brew install unbound ldns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime | |
import sublime_plugin | |
import re | |
class PluginEventProfileListener(sublime_plugin.ViewEventListener): | |
def on_activated_async(self): | |
view = self.view | |
if not view.is_scratch() or not view.name() or view.name() != 'Plugin Event Profile': | |
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use: | |
NSURLSessionConfiguration:backgroundSessionConfiguration: | |
instead of | |
NSURLSessionConfiguration:defaultSessionConfiguration | |
From the NSURLSessionConfiguration:backgroundSessionConfiguration: documentation: | |
Upload and download tasks in background sessions are performed by an external daemon instead of by the app itself. As a result, the transfers continue in the background even if the app is suspended, exits, or crashes. | |
So in your case, change: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "caption": "Developer: Open API Files", "command": "open_api_files" }, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime | |
import sublime_plugin | |
# @see https://discordapp.com/channels/280102180189634562/280157067396775936/697124502244687984 | |
class CompletionItemDemoListener(sublime_plugin.EventListener): | |
def on_query_completions(self, view, prefix, locations): | |
return ( | |
[ | |
sublime.CompletionItem( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a draft but it works | |
# FIRST (I don't even know if it works but we'll assume yes) | |
# sudo launchctl list | |
# sudo launchctl disable system/netbiosd | |
# sudo launchctl disable system/parsecd | |
# sudo launchctl disable system/parentalcontrols.check | |
# sudo launchctl disable system/airportd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://discord.com/channels/280102180189634562/280157067396775936/736233105295278120 | |
keyword: | |
keyword | |
storage.modifier | |
storage.type | |
keyword.declaration | |
variable.language | |
constant.language | |
type: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# PRIVACY RULES # | |
# * OSX EL CAPITAN - NO CONNECTIONS TO CUPPERTINO * # | |
# MIX OF DIFFERENT /etc/hosts FILES I'VE FOUND. 80% OF THE ENTRIES CAME FROM # | |
# MY OWN. OSX SENDS HUGE AMMOUNT OF REQUESTS TO CUPPERTINO EVENT WHEN # | |
# SPOTLIGHT SUGGESTIONS, ICLOUD, AND OTHER SERVICES ARE DISABLED # | |
# USE IT IF YOU DON'T LIKE OSX CALLING HOME WHEN YOU DON'T WANT IT TO HAPPEN # | |
# NO CONNECTIONS TO APPLE SERVERS REPORTED BY MY FIREWALL FOR 2 MONTHS # | |
################################################################################ | |
# SAVED FROM: http://pastebin.com/GfaXGL4r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Disable Face Detect in Photos app | |
defaults write com.apple.iPhoto PKFaceDetectionEnabled 0 | |
defaults write com.apple.gamed Disabled -bool true | |
defaults write com.apple.NetworkBrowser DisableAirDrop -bool YES # log out, log in | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Disable Face Detect in Photos app | |
defaults write com.apple.iPhoto PKFaceDetectionEnabled 0 | |
defaults write com.apple.gamed Disabled -bool true | |
defaults write com.apple.NetworkBrowser DisableAirDrop -bool YES # log out, log in | |
OlderNewer