Skip to content

Instantly share code, notes, and snippets.

@JesseWeinstein
JesseWeinstein / ifb.user.js
Created January 1, 2019 01:28
[DEMO] Collapse subject-only comments (IFB)
// ==UserScript==
// @name Collapse subject-only comments (IFB)
// @description Collapses toplevel comments whose body is a single period into a summarized view,
// just showing their subject lines with a count, similar to Slack or Discord.
// @namespace frobisherw.dreamwidth.org
// @version 0.1
// @match *://*.dreamwidth.org/*
// @grant none
// @license Just for demostration at this time; do not redistribute; expected to be released under a free license later.
// ==/UserScript==
@JesseWeinstein
JesseWeinstein / paste-a-date.user.js
Created September 30, 2017 06:15
Musicbrainz Paste-a-date!
// ==UserScript==
// @name MusicBrainz: Paste-A-Date!
// @description This script adds a field after the existing date fields where you can paste a date and it will try to parse it.
// @version 2017-09-29
// @author -
// @namespace http://userscripts.org/users/41307
//
// @include *://musicbrainz.org/*
// @include *://beta.musicbrainz.org/*
// @include *://test.musicbrainz.org/*
@JesseWeinstein
JesseWeinstein / wikimedia_commons_ia_status.py
Last active August 5, 2016 19:34
Wikimedia Commons status update script
import internetarchive.api as iaapi
import humanize
w=iaapi.get_item('wikimediacommons')
def extract(x):
s = x.identifier.split('-',1)
date = s[1] if '-' in s[1] else s[1][:4]+'-'+s[1][4:]
return ' |-\n | ' + ' || '.join((date, '{{IA id|'+x.identifier+'}}', str(x.files_count), humanize.naturalsize(x.item_size)))
This file has been truncated, but you can view the full file.
046http://adrive.com/public/90ad66a925a36ad807638785f2670636c4c9fa8ff88ab9d9a510705cd4f6d9fc.html
11. http://www.adrive.com/public/0af79050f36666f4540f50142d442e3669f08ec81150b814dbea0fbb67c27149.html
1. http://www.adrive.com/public/7c8a303cf86888bab8e293d6d9f5944e8902f6161ba026c67a5665d4f760995d.html
1 http://www.adrive.com/public/b81831cc368f42bcc09b4c680e3cbab84848afca1cc76aa4416eaca116ee889c.htm
2. http://www.adrive.com/public/7fce85ec1805d5e2265505aacd161f4faed8398b4d37bf82a44becff5088bccb.html
	http://www.adrive.com/public/9e5445934f09becba075514995e2d6c01de3ef77fc94818051011911975dcee0.html
<FONT color=#ce3a2b unselectable="off"><A href="http://www.adrive.com/public/dbc4b2a7c2887859619ac279a2d0ecdf5e54e5e399b88e6b97d0ae5410c7ecd3.html" target=_blank>http://www.adrive.com/public/<WBR>dbc4b2a7c2887859619ac279a2d0ec<WBR>df5e54e5e399b88e6b97d0ae5410c7<WBR>ecd3.html</A></FONT>
ftp://admin---pc-infothek.de:Daten2014!@ftp.adrive.com/Software/lanparty.zip
ftp://ftp.adrive.com/?
ftp://ftp.adrive.com/../?