Skip to content

Instantly share code, notes, and snippets.

@jr-md
jr-md / index.html
Last active September 27, 2021 17:44
Chrome extension: list tabs
<html>
<head>
<style>
body {
width: 400px;
min-height: 100px;
}
</style>
</head>
<body>
@lingsamuel
lingsamuel / synced-tabs.js
Last active September 27, 2021 17:44
Backup Chrome synced tabs!
// use this in PC-Chrome history page (ctrl+H)
var itemList = Array.from(document.
getElementById('history-app').shadowRoot.getElementById('synced-devices').shadowRoot.
getElementById('synced-device-list').getElementsByTagName('history-synced-device-card')).
map(x=>x.shadowRoot.getElementById('tab-item-list')).map(x=>x.getElementsByClassName('website-link'));
// if you want to backup only one device, enter a index number here (start from 0)
// I suggest you use extension OneTab to manage tabs, so I export OneTab's url format
// <url> | <title>
@etjossem
etjossem / pronouns.js
Last active September 6, 2021 19:06
You can add pronoun support to your app, reusable across users and outputs through a simple template literal. Here's one way to do it:
P = function(person, theyConjugation) {
let conjugation = theyConjugation;
const allPronouns = {
"they/them": {
"subject": "they",
"object": "them",
"possessive-determiner": "their",
"possessive-pronoun": "theirs",
"reflexive": "themselves",
@thefranke
thefranke / RSS.md
Last active September 16, 2026 20:23
A list of RSS endpoints, feed-readers and resources

The RSS Endpoint List

Please refer to this blogpost to get an overview.

Replace *-INSTANCE with one of the public instances listed in the scrapers section. Replace CAPITALIZED words with their corresponding identifiers on the website.

Social Media

Twitter

@boisei0
boisei0 / Readme.MD
Created March 7, 2019 14:15
Find latest chapter you left comments on for an AO3 fic.

Find all comments left by a specific user on a fic on ArchiveOfOurOwn

Setup instructions

  1. Install Python 3; I've used similar code on both 3.6 as well as 3.7.
  2. Install https://github.com/tryolabs/requestium.git
  3. Make sure Chrome is installed, and insert the chromedriver file in the right directory.
  4. Change the necessary configuration on the script
  5. Run the script, preferably on the Python console directly so permission for GDPR can be given manually if relevant (see line 24 of the script)

Additional information

@rickastley22
rickastley22 / neutralizer.json
Last active October 1, 2021 03:41 — forked from wrenoud/neutral_pronouns.json
Gender & pronoun neutralizer dictionary for use with Word Replacer II Chrome extension (https://chrome.google.com/webstore/detail/word-replacer-ii/djakfbefalbkkdgnhkkdiihelkjdpbfh?hl=en)
//pronoun & syntax neutralizer for word replacer II
//Max Schaffer (2019) with Weston Renoud (2016)
//this remains very much a work in progress, looking for more people to expand this and add more language support!
//ACKNOWLEDGEMENTS
//Created by merging my work in 2019 with that of Weston Renoud (wrenoud)'s 2016 neutral_pronouns.json, who's work
//was really just all around better and cleaner than mine
//Thank you, Weston, for caring about this, it means a lot :) You helped me get off the ground here as I struggled
//to understand how regex works and fix my crappy functons.
@ctsstc
ctsstc / tabs-outliner-collapse-all.js
Last active September 22, 2025 12:12
Tabs Outliner - Collapse All
treeView.treeModel.currentSession_rootNode.subnodes.forEach(node => node.setCollapsing(true))
@pmkay
pmkay / top-brew-packages.txt
Last active September 23, 2026 07:12 — forked from r5v9/top-brew-packages.txt
Top homebrew packages
node: Platform built on V8 to build network applications
git: Distributed revision control system
wget: Internet file retriever
yarn: JavaScript package manager
python3: Interpreted, interactive, object-oriented programming language
coreutils: GNU File, Shell, and Text utilities
pkg-config: Manage compile and link flags for libraries
chromedriver: Tool for automated testing of webapps across many browsers
awscli: Official Amazon AWS command-line interface
automake: Tool for generating GNU Standards-compliant Makefiles
@0x9090
0x9090 / Nops_Blogs.opml
Last active May 27, 2026 07:29
My Infosec Blog List
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Nops subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="Security" title="Security">
<outline type="rss" text="X-Force Research – Security Intelligence" title="X-Force Research – Security Intelligence" xmlUrl="http://securityintelligence.com/topics/x-force/feed/" htmlUrl="https://securityintelligence.com"/>
<outline type="rss" text="SecurityIntelligence" title="SecurityIntelligence" xmlUrl="http://securityint.blogspot.com/feeds/posts/default" htmlUrl="http://securityint.blogspot.com/"/>