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 time | |
import logging | |
import pandas as pd | |
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.chrome.options import Options | |
from bs4 import BeautifulSoup | |
logging.basicConfig( |
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://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/35359 | |
https://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/34815 | |
https://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/34816 | |
https://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/35145 | |
https://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/35143 | |
https://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/35139 | |
https://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/35152 | |
https://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/35358 | |
https://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/35280 | |
https://aaas.confex.com/aaas/2025/meetingapp.cgi/Session/35136 |
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 AT YOUR OWN RISK | |
// This is a JavaScript script edits your statuses/toots | |
// It's pretty rudimentary and doesn't account for all possible cases | |
// | |
// This script will iterate through a list of Mastodon statuses, | |
// searching for Twitter t.co shortlinks and replacing them with their actual targets. | |
// When a t.co link is found, this script makes a web request to find its target and updates it. | |
// It will also convert all http:// links to https:// | |
// | |
// While running, this script will output progress to the console so you can check for erros |
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
[ | |
{"owner_name": "PussTheCat.org", "owner_website": "https://pussthecat.org", "instance": "https://breezewiki.pussthecat.org"}, | |
{"owner_name": "~vern", "owner_website": "https://vern.cc", "instance": "https://bw.vern.cc"}, | |
{"owner_name": "Esmail", "owner_website": "https://en.esmailelbob.xyz", "instance": "https://breezewiki.esmailelbob.xyz"}, | |
{"owner_name": "Artemis", "owner_website": "https://artemislena.eu", "instance": "https://bw.artemislena.eu"} | |
] |
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
/* | |
A console script that can be run on a MediaWiki wiki to extract all tweets linked in the mainspace. | |
To run this: visit a MediaWiki wiki, open your browser's developer console, paste this code in, and press enter. | |
It will print and re-print a growing array of Tweets until it is done searching. | |
How does this janky script work? | |
It first searches MediaWiki for all pages that contain the text "twitter". | |
Trying to search for URLs (i.e. twitter.com) is unreliable depending on a wiki's search infrastructure. | |
This script then grabs the wikitext from all these pages and uses regex to search for any Tweet URLs. |
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 | |
########################## | |
# Change these variables # | |
########################## | |
FILE="/path/to/console.log" | |
WEBHOOK_URL="CHANGEME" | |
STEAMKEY="CHANGEME" | |
########################## |
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
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |
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
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |
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
{ | |
"COMMON": { | |
"YES": "Yes", | |
"NO": "No", | |
"OR": "or", | |
"LOADING": "Loading...", | |
"DATE": "DD MMM YYYY", | |
"DATETIME": "DD MMM YYYY HH:mm", | |
"SAVE": "Save", | |
"CANCEL": "Cancel", |
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
/* This file has been modified from its original version by Kevin Payravi */ | |
@charset "UTF-8"; | |
.introjs-helperLayer,.introjs-overlay{ | |
-webkit-transition:all .3s ease-out; | |
-moz-transition:all .3s ease-out; | |
-ms-transition:all .3s ease-out; | |
-o-transition:all .3s ease-out; | |
box-sizing:content-box | |
} |
NewerOlder