Skip to content

Instantly share code, notes, and snippets.

View InfiniteRain's full-sized avatar

David Lysenko InfiniteRain

View GitHub Profile
@InfiniteRain
InfiniteRain / ModuleNotFoundError Guide.md
Last active September 3, 2019 20:44
ModuleNotFoundError

ModuleNotFoundError

During the MorphMan recalc, if you encounter the ModuleNotFoundError error, that probably means that Anki is trying to access a database that was generated by the older version of MorphMan, the one that's for 2.0. In such case, there are two potential courses of action that you can take. One that you should take depends on how your MorphMan database was initially made:

  1. The database was generated purely from your Anki collection, with no imports to the external.db or priority.db. If you do have a priority.db, but it's simply a pre-made list, this option is also applicable for you.
  2. The database was generated from your Anki collection ALONGSIDE some custom imports into your external.db (from books, etc.).

Database was generated purely from your Anki colletion

In this case, go to your dbs folder via the following path: %APPDATA%\Anki2\\dbs (make sure to replace part with the name of the Anki profile that you're doing this for). After you're th

@InfiniteRain
InfiniteRain / shreddisc.js
Created December 18, 2018 08:09
Shred Discord
const SC = {};
SC._config = {
searchBefore: '523474136849186826',
userId: '194157930948460544',
token: document.body.appendChild(document.createElement('iframe')).contentWindow.localStorage.token.replace(/"/g, '')
};
SC._fetchedMessages = [];