This file contains hidden or 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 python3 | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
import json, re | |
from pathlib import Path | |
from typing import Dict, Any, Optional | |
import pandas as pd | |
import matplotlib.pyplot as plt |
This file contains hidden or 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 | |
# https://us-east-1.console.aws.amazon.com/iam/home?region=us-east-1#/security_credentials | |
# Get your MFA ARN from the URL above. | |
MFA_ARN="arn:aws:iam::<yoursgoeshere>" | |
DURATION=129600 # 36 hours | |
# Prompt for MFA code | |
read -p "Enter MFA code: " MFA_CODE |
This file contains hidden or 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 datetime | |
import glob | |
import jwt | |
import random | |
import requests | |
import string | |
import time | |
from pathlib import Path | |
# Example download command: |
This file contains hidden or 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
Components.utils.import("resource://gre/modules/Services.jsm"); | |
function install(aData, aReason) { | |
Services.prefs.setCharPref("extensions.getAddons.link.url", "https://addons.thunderbird.net/%LOCALE%/%APP%/") | |
Services.prefs.setCharPref("extensions.getAddons.recommended.url", "https://services.addons.thunderbird.net/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=thunderbird") | |
Services.prefs.setCharPref("extensions.getAddons.search.browseURL", "https://addons.thunderbird.net/%LOCALE%/%APP%/search/?q=%TERMS%") | |
Services.prefs.setCharPref("extensions.getAddons.search.url", "https://services.addons.thunderbird.net/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=thunderbird") | |
Services.prefs.setCharPref("extensions.getAddons.themes.browseURL", "https://addons.thunderbird.net/%LOCALE%/thunderbird/themes/?src=thunderbird") | |
Services.prefs.setCharPref("extensions.update.background.url", "https://versioncheck-bg. |
This file contains hidden or 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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/PuerkitoBio/goquery" | |
"net/http" | |
) | |
type PageData struct { |