Skip to content

Instantly share code, notes, and snippets.

@jdaviescoates
jdaviescoates / export_mastodon_followers.py
Created November 23, 2022 12:21 — forked from zero-mstd/export_mastodon_followers.py
A tool for exporting Mastodon followers
###############################################################################
# A tool for exporting Mastodon followers
# Author: Zero
# Last update: 2022-02-09
###############################################################################
# Usage
#
# 1. Save this code as `export_mastodon_followers.py` in your computer.
#
# 2. Edit it, note that there are three places need to be changed:
@crazy4groovy
crazy4groovy / export-bookmarklet.href
Last active September 27, 2023 16:35
export your Diigo bookmarks from a logged-in account page in browser console (JavaScript)
javascript:'use%20strict';void%20function(){(async%20function(){async%20function%20a(a){return%20fetch(%22https://www.diigo.com/interact_api/load_user_items%3Fpage_num=%22+a+%22%26sort=updated%26count=96%22).then(function(a){return%20a.json()})}function%20b(b,c){var%20d=2%3Carguments.length%26%26arguments[2]!==void%200%3Farguments[2]:%22text/plain%22,e=new%20Blob([b],{type:d}),f=document.createElement(%22a%22);f.href=URL.createObjectURL(e),f.download=c,f.click(),URL.revokeObjectURL(f.href)}if(confirm(%22Begin%20export%20to%20diigo-bookmarks.json%3F%20(please%20be%20patient!!)%22)){for(var%20c=-1,d=[];;){var%20e=await%20a(++c),f=e.items;if(f=f.map(function(a){return{description:a.description,tags:a.tags.split(%22,%22),title:a.title,type_name:a.type_name,url:a.url}}),d=d.concat(f),96%3Ef.length)break}console.log({l:d.length});var%20g=JSON.stringify(d,null,2);b(g,%22diigo-bookmarks.json%22)}})()}();
@zero-mstd
zero-mstd / export_mastodon_followers.py
Last active November 2, 2024 17:58
A tool for exporting Mastodon followers
###############################################################################
# A tool for exporting Mastodon followers
# Author: Zero
# Last update: 2022-02-09
###############################################################################
# Usage
#
# 1. Save this code as `export_mastodon_followers.py` in your computer.
#
# 2. Edit it, note that there are three places need to be changed:
@IanColdwater
IanColdwater / twittermute.txt
Last active October 13, 2024 04:40
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@tav
tav / godson.md
Created September 1, 2018 12:03

Dearest Saul,

As I write this, you are a cute little bundle of joy that needs his parents to take care of his every needs. As you read this, I hope you are a dashing young man ready to take on the world on his own.

Now life as a young man has never been easy. I apologise for my generation's role in making it particularly hard for yours. But I hope these words will help make up for it in some small way.