Skip to content

Instantly share code, notes, and snippets.

@ingeniumstudio
ingeniumstudio / jupyter-lab-build-memory.md
Created March 15, 2025 14:25
How to build jupyter lab assets without running out-of-memory

How to build jupyter lab assets without running out-of-memory

  1. Limit the amount of memory used with
export NODE_OPTIONS='--max_old_space_size=2096'
  1. Build
@ingeniumstudio
ingeniumstudio / dhammapada.json
Created February 19, 2025 05:13
the Dhammapada in json format. sort a number between 0 and 346 and get a verse! 🙂
{
"0": [
[
1,
2
],
"Mind precedes its objects. They are mind-governed and mind-made. To\nspeak or act with a defiled mind is to draw pain after oneself, like a\nwheel behind the feet of the animal drawing it. \n\nMind precedes its objects. They are mind-governed and mind-made. To\nspeak or act with a peaceful mind, is to draw happiness after oneself,\nlike an inseparable shadow."
],
"1": [
[
@ingeniumstudio
ingeniumstudio / redirect-to-english.js
Created November 3, 2022 23:35 — forked from loilo/redirect-to-english.js
Userscript: Redirect Website to its English Version
// This userscript redirects you to the English version of a website if it's denoted in the source code.
// Insert any URLs of websites below (after @match), for example https://developer.mozilla.org/* or https://www.php.net/*
// Use multiple @match clauses to enable the script on several domains.
// ==UserScript==
// @name Redirect to English
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Redirect websites to their English version
// @author Florian Reuschel <[email protected]>