Skip to content

Instantly share code, notes, and snippets.

@730730
730730 / ab-filter.user.js
Last active January 8, 2024 19:33
Tampermonkey script that adds filtering and sorting capabilities to AnimeBytes torrent groups
// ==UserScript==
// @name AB Filter/Sorter
// @version 1.0
// @description Adds a table of filters to AnimeBytes torrent groups and the possibility to sort by size/snatches/seeders/leechers
// @author 730
// @match https://animebytes.tv/torrents.php?id=*
// @updateURL https://gist.githubusercontent.com/730730/241caafc5ee60ea83d537a80051aecc4/raw/ab-filter.user.js
// @downloadURL https://gist.githubusercontent.com/730730/241caafc5ee60ea83d537a80051aecc4/raw/ab-filter.user.js
// @grant none
// ==/UserScript==
@fasiha
fasiha / README.md
Last active April 7, 2023 14:15
How Anki calculates intervals

Reading _nextRevIvl and its subfunction _constrainedIvl plus _rescheduleLapse will illuminate how Anki calculates the due date (the “interval”) of a flashcard, based on whether you answer

  • 1 (fail)
  • 2 (pass but hard)
  • 3 (pass)
  • 4 (pass and easy)

This is more of a self-note, so I assume you’ve read the Anki manual top-to-bottom a couple of times.

Let d >= 0, “delay”, be the days between the due date and the date you actually reviewed. This can be important because if you successfully answer a flashcard a long time after it was due for study, that means you probably know it really well.