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
# Based on info from https://github.com/froggeric/DNS-blocklists | |
127.0.0.1 advertising.apple.com | |
127.0.0.1 banners.itunes.apple.com | |
127.0.0.1 iad.apple.com | |
127.0.0.1 iadcontent.apple.com | |
127.0.0.1 iadctest.qwapi.com | |
127.0.0.1 iadmoo.apple.com | |
127.0.0.1 iadworkbench.apple.com | |
127.0.0.1 launch.apple.com |
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
# taboola_start | |
0.0.0.0 popup.taboola.com | |
0.0.0.0 www.popup.taboola.com | |
0.0.0.0 taboola.com | |
0.0.0.0 www.taboola.com | |
0.0.0.0 cdn.taboolasyndication.com | |
0.0.0.0 taboolasyndication.com | |
0.0.0.0 www.taboolasyndication.com | |
0.0.0.0 www.cdn.taboolasyndication.com | |
0.0.0.0 trc.taboola.com |
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
# Block Taboola | |
0.0.0.0 popup.taboola.com | |
0.0.0.0 www.popup.taboola.com | |
0.0.0.0 taboola.com | |
0.0.0.0 www.taboola.com | |
0.0.0.0 cdn.taboolasyndication.com | |
0.0.0.0 taboolasyndication.com | |
0.0.0.0 www.taboolasyndication.com | |
0.0.0.0 www.cdn.taboolasyndication.com | |
0.0.0.0 trc.taboola.com |
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 os | |
import re | |
date_re = re.compile("(\w+) (\d+)(rd|th|st|nd), 2021.md") | |
month_to_number = { | |
'January': "01", | |
'February': "02", | |
'March': "03", | |
'April': "04", | |
'May': "05", |
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 os | |
import re | |
date_re = re.compile("(\d\d\d\d)(\d\d)(\d\d).md") | |
for root, dirs, files in os.walk("./"): | |
for filename in files: | |
if filename.endswith(".md"): | |
new_filename = filename | |
m = date_re.match(filename) |
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
(function() { | |
var ziws = {typingTimeoutId: null,wsEvtListener: null}; | |
ziws.wsEvtListener = document.addEventListener('input', inputTypingHandler); | |
function inputTypingHandler(event) { | |
if (event.target.type === 'password') return; | |
var email = event.target.value; | |
clearTimeout(ziws.typingTimeoutId); | |
ziws.typingTimeoutId = null; | |
if (!_isValidEmail(email)) return; | |
ziws.typingTimeoutId = setTimeout(function () { |
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
- (void)checkAllTheBadLaunchStates { | |
NSURL *bundleURL = [[NSBundle mainBundle] bundleURL]; | |
if ([bundleURL.path hasPrefix:@"/Applications"] && [bundleURL ag_isQuarantined]) { | |
log_error(self, @"Application has been translocated"); | |
NSString *title = OPLocalizedString(@"The system has quarantined 1Password.", @"title: 1Password has been quarantined by macOS."); | |
NSString *message = OPLocalizedString(@"1Password was not moved to the Applications folder correctly. To fix this issue, 1Password will copy a command to the Clipboard that you can paste in Terminal.", @"message: we're in AppTranlocation jail, updates will fail, no extensions will work."); | |
NSString *defaultButton = OPLocalizedString(@"Open Terminal", @"button: opens the Terminal app"); | |
NSString *secondaryButton = OPLocalizedString(@"Quit 1Password", @""); | |
op_showAlert(title, message, defaultButton, secondaryButton, nil, NO, ^(NSAlert *alert, NSModalResponse response) { | |
if (response == NSAlertFirstButtonReturn) { |
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
#[derive(Debug, Deserialize, Serialize)] | |
pub enum BluetoothError { | |
Type(String), | |
Network, | |
NotFound, | |
NotSupported, | |
Security, | |
InvalidState, | |
} |
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
[directory] | |
truncation_length = 7 | |
truncate_to_repo = true | |
[rust] | |
disabled = true | |
[nodejs] | |
disabled = true |
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
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"globals": { | |
"alwaysShowTabs": true, | |
"defaultProfile": "{79285a8e-036c-446f-8a9c-78994e34cf85}", | |
"initialCols": 120, | |
"initialRows": 30, | |
"requestedTheme": "dark", | |
"keybindings": [ | |
{ |
NewerOlder