You should trust the Netflix Party Chrome Extension as much as you trust a random programmer in Philadelphia [1][Sharya], who hosts the NextflixParty.com site.
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
from pydantic import BaseModel | |
from typing import Any | |
class UnfrozenThing(BaseModel): | |
model_config = {"extra": "allow", "validate_assignment": True} | |
f: str | None = None | |
def model_post_init(self, __context: Any) -> None: | |
self.f = 'a' | |
self.model_config |
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
# Dig (dns lookup has both going to the same place | |
# traceroute has both going to the same place. | |
❯ dig +noall +answer +multiline @216.146.35.35 walkingshadow.org any | |
walkingshadow.org. 3600 IN A 66.96.163.129 | |
walkingshadow.org. 1800 IN MX 10 ASPMX2.GOOGLEMAIL.COM. | |
walkingshadow.org. 1800 IN MX 10 ASPMX3.GOOGLEMAIL.COM. | |
walkingshadow.org. 1800 IN MX 1 ASPMX.L.GOOGLE.COM. | |
walkingshadow.org. 1800 IN MX 5 ALT1.ASPMX.L.GOOGLE.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
-- | |
-- General Filter for 'seen today' for all Study and Shield addons | |
-- | |
-- | |
require "cjson" | |
require "hyperloglog" | |
require "string" |
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
Name: Shield Study 13 - Net Neutrality | |
Type: show-heartbeat | |
{ engagementButtonLabel: 'Get it now', | |
includeTelemetryUUID: true, | |
learnMoreMessage: 'Learn More', | |
learnMoreUrl: 'https://wiki.mozilla.org/Firefox/Shield/Shield_Studies', | |
message: 'Want to try something new in Firefox?', | |
postAnswerUrl: 'https://addons.mozilla.org/firefox/shield_study_13', | |
repeatOption: 'once', |
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
Name: Shield Study 13 - Net Neutrality | |
Type: show-heartbeat | |
{ engagementButtonLabel: 'Get it now', | |
includeTelemetryUUID: true, | |
learnMoreMessage: 'Learn More', | |
learnMoreUrl: 'https://wiki.mozilla.org/Firefox/Shield/Shield_Studies', | |
message: 'Want to try something new in Firefox?', | |
postAnswerUrl: 'https://addons.mozilla.org/firefox/shield_study_13', | |
repeatOption: 'once', |
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
window.NodeList.prototype.map = Array.prototype.map; | |
function floatTime (s) { f=s.split(':').map(Number); return f[0] + f[1]/60} | |
console.log(document.querySelectorAll('.mile-splits tbody tr').map(node=>node.querySelector('td:nth-child(2)').firstChild.data).map(floatTime).join("\n")) | |
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://github.com/gregglind/quantum-preference-telemetry-annotation-pretender/blob/master/index.js | |
const CID = Cu.import('resource://gre/modules/ClientID.jsm'); | |
const { TelemetryController } = Cu.import('resource://gre/modules/TelemetryController.jsm'); | |
const { TelemetryEnvironment } = Cu.import('resource://gre/modules/TelemetryEnvironment.jsm'); | |
function generateTelemetryIdIfNeeded() { | |
let id = TelemetryController.clientID; | |
/* istanbul ignore next */ |
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 waitUp(t) { | |
window.setTimeout(()=>console.log("waited", t),t) | |
} | |
waitUp.bind(null, 100)() | |
function loadAFile(url) { | |
return new Promise(function (resolve, reject){ | |
// simulate unknown wait time |
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
filename = "s3_parquet.lua" | |
message_matcher = "Type == 'telemetry' && Fields[docType] == 'shield-study-addon'" | |
ticker_interval = 60 | |
preserve_data = false | |
parquet_schema = [=[ | |
message shield-study-addon { | |
required group application { | |
optional group addons { | |
optional group activeAddons (MAP) { |
NewerOlder