- Go to https://www.facebook.com/ads/preferences/?entry_product=ad_settings_screen and open the section "Advertisers you've interacted with"
- Open Web Inspector
- Copy-paste this script to load all advertisers:
smt=setInterval(() => {let x=document.querySelector('div[shade=medium]'); x ? x.click() : clearInterval(smt), console.log('done')}, 1000)
- It will output a number. Wait for it to say “done” in the console. This may take a long time. you'll notice the scrollbar changing while it's loading all advertisers.
- Copy-paste this and press enter:
document.querySelectorAll('[data-tooltip-content="Hide all ads from this advertiser"]').forEach(el => el.click())
. Note Facebook has changed the text on the button a few times, so if this has no effect, you may need to edit the command. Hover over the "x" icon on any advertiser until a pop-up tooltip appears. Make the double-quoted text in this c
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<dict> | |
<key>Crashed</key> | |
<true/> | |
<key>SuccessfulExit</key> | |
<false/> |
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
diff --git a/archives/wwdccheck.html b/archives/wwdccheck.html | |
index be95ffd..f92ed3a 100644 | |
--- a/archives/wwdccheck.html | |
+++ b/archives/wwdccheck.html | |
@@ -60,7 +60,7 @@ | |
var s_account="appleglobal,appleusdeveloper" | |
</script> | |
-<script type="text/javascript" src="https://ssl.apple.com/metrics/scripts/s_code_h.js"></script> | |
+<!-- <script type="text/javascript" src="https://ssl.apple.com/metrics/scripts/s_code_h.js"></script> --> |
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
diff --git a/archives/wwdccheck.html b/archives/wwdccheck.html | |
index f92ed3a..713b830 100644 | |
--- a/archives/wwdccheck.html | |
+++ b/archives/wwdccheck.html | |
@@ -60,7 +60,7 @@ | |
var s_account="appleglobal,appleusdeveloper" | |
</script> | |
-<!-- <script type="text/javascript" src="https://ssl.apple.com/metrics/scripts/s_code_h.js"></script> --> | |
+<script type="text/javascript" src="https://www.apple.com/metrics/scripts/s_code_h.js"></script> |
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
diff --git a/archives/wwdccheck.html b/archives/wwdccheck.html | |
index 713b830..93d4f4f 100644 | |
--- a/archives/wwdccheck.html | |
+++ b/archives/wwdccheck.html | |
@@ -6,7 +6,7 @@ | |
<meta name="viewport" content="width=1024" /> | |
<link rel="shortcut icon" href="/favicon.ico" /> | |
<link rel="icon" href="/favicon.ico" /> | |
-<link rel="stylesheet" href="https://devimages.apple.com.edgekey.net/assets/core/styles/base.css" type="text/css" /> | |
+<link rel="stylesheet" href="/assets/core/styles/base.css" type="text/css" /> |
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
struct x { | |
int y; | |
}; | |
@interface Game : NSObject { | |
char fields[9]; | |
BOOL singlePlayer; | |
BOOL isPlayerOne; | |
BOOL wasPlayerOne; | |
long int played; |
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 CoreData | |
import PlaygroundSupport | |
// Build a simple model in code for demo purposes. | |
// The model has a single entity called "Entity" with a single optional string attribute called "testAttribute". | |
// There are no relationships in the model. | |
let model = NSManagedObjectModel() | |
let entity = NSEntityDescription() | |
entity.name = "Entity" | |
let testAttribute = NSAttributeDescription() |
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
@IBInspectable var comment: String { | |
set {} | |
get { 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
#!/bin/sh | |
say "Warming up the pitch engine..." | |
for word in `sort -R /usr/share/dict/words` | |
do | |
PITCH="It's like Uber for $word." | |
echo $PITCH | |
say $PITCH | |
sleep 1 | |
done |
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
// | |
// NSObject+setValuesForKeysWithJSONDictionary.h | |
// SafeSetDemo | |
// | |
// Created by Tom Harrington on 12/29/11. | |
// Copyright (c) 2011 Atomic Bird, LLC. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |