Skip to content

Instantly share code, notes, and snippets.

Catch Phrases

Phrase Meaning
Your ego is not your amigo
There are some rights worth dying for, but the right of way isn't one of them
Temperature Challenge Suspect died
Polyester Pileup Multiple police officers tackling a suspect
{
"Metadata": {
"Title": "First Catechism",
"AlternativeTitles": [
],
"Year": "1996",
"Authors": [
"GCP", "OPC", "PCA"
],
"Location": null,
@NonlinearFruit
NonlinearFruit / termsaver-quotes.py
Last active November 19, 2019 15:02
Plugin for termsaver to allow displaying quotes from local file
# git clone https://github.com/brunobraga/termsaver.git
# curl https://gist.githubusercontent.com/NonlinearFruit/07cca3536e321ec1b92045548ed192bd/raw -o termsaver/termsaverlib/screen/quotes.py
# curl https://gist.githubusercontent.com/NonlinearFruit/5ff69f8291b4d241a60ca445c06508bf/raw -o wcf.json
# curl https://gist.githubusercontent.com/NonlinearFruit/dda52038c29f26b83d337c82f25bdef8/raw -o wlc.json
# jq -r '.[] | . as $parent | .Sections[] | { title: $parent.Title, chapter: $parent.Chapter, section: .Section, content: .Content } | "\(.title) (WCF \(.chapter).\(.section))\n\(.content)\n\n"' wcf.json > wcf.saver
# jq -r '.[] | "\(.Question) (WLC \(.Number))\n\(.Answer)\n\n"' wlc.json >> wcf.saver
# python termsaver/termsaver quotes -p wcf.saver
import time
import sys
@NonlinearFruit
NonlinearFruit / ImpossibleCreaturesScientificNames.md
Last active April 25, 2020 16:05
Scientific (binomial) names for the various animals in Impossible Creatures

IC Scientific Names

Animal Scientific (Binomial) Name
Albatross Diomedea exulans
Anaconda Eunectes notaeus
Anglerfish Melanocetus johnsonii
Ant Iridomyrmex purpureus
Archerfish Toxotes chatareus
Armadillo Dasypus hybridus
var purchaseSleep = 500;
var cookieClickSleep = 5;
var goldCookieClickSleep = 200;
var sugarLumpClickSleep = 24*60*60*1000;
var maxUpgradeWait = 10*60;
var priorityUpgrades = [476];
var excludeUpgrades = ["toggle","tech"];
function buyBestThing(){
var myCookies = Game.cookies;
@NonlinearFruit
NonlinearFruit / MyAom100Books.md
Last active April 5, 2019 03:20
The union of "100 Books Every Man Should Read" and "100 Must Read Books: The Man's Essential Library" by Art of Manliness

100 Must Read Books

Title Author Rating
1984 George Orwell
7 Habits of Highly Successful People, The Stephen Covey
Adventures of Huckleberry Finn, The Mark Twain
After Virtue Alasdair MacIntyre
All Quiet on the Western Front Erich Maria Remarque
American Boys’ Handy Book Daniel Carter Beard
Animal Farm George Orwell 8
@NonlinearFruit
NonlinearFruit / ZtypeBot.js
Last active October 19, 2022 17:44
JS Hack that plays a spaceship, typing game https://zty.pe/
// Record:
// - Score = 104102
// - Accuracy = 100
// - Streak = 34724
// - Wave = 111
function goGoGadgetBot() {
try {
var chars = Array.from(ig.game.entities[0].remainingWord);
var length = chars.length;
@NonlinearFruit
NonlinearFruit / TuringMachine_Addition.tm
Created September 28, 2018 15:05
Turing Machine for adding two binary numbers. http://morphett.info/turing/turing.html
startIncrement _ * l find0
startIncrement * * r startIncrement
find0 1 0 l increment
find0 0 1 l endIncrement
find0 * * l find0
increment 1 0 l increment
increment * 1 * endIncrement
@NonlinearFruit
NonlinearFruit / Book_GoodReads.js
Last active July 21, 2019 02:28
Retrospector Book Plugin
// https://www.goodreads.com/book/title.xml?author=Arthur+Conan+Doyle&key=zj1nZyl5vy2F4vGRt2Elg&title=Hound+of+the+Baskervilles
/**
This plugin is only meant to handle the 'Book' category.
It is not meant to for anything else. Assumptions:
- 'Year' factoid exists
- The title is either in the title or episode field
- Book episodes are of the form 'B1 Scarlet Thread, The'
- If there is a comma in the title, it is only followed by 'A', 'An' or 'The'
**/