1
0
Fork 0

convert quotes.js to fortune strfile

This commit is contained in:
dtb 2023-10-14 17:27:03 -04:00
parent 24728d4b01
commit adb77b6b01
2 changed files with 161 additions and 168 deletions

161
fortune/trinitydotmoe Normal file
View File

@ -0,0 +1,161 @@
Special thanks to Ками for their help with this quotes script.
-- trinity.moe/js/quotes.json
%
Yeah, that's just how it is. Just, nothing. So much nothing that it hurts.
-- danger/u/ aefd79
%
Reason has always existed, but not always in a reasonable form.
-- Katy Perry
%
Consult your pineal gland.
-- Eris
%
Back to 8chan please
-- Skyglider on wirechan.org
%
No, I am your father.
-- Darth Vader, "Star Wars: The Empire Strikes Back"
%
A checklist can aid here.
-- Lance Leventhal, "Z80 Assembly Language Programming"
%
You never know.
-- Mr. McSweeney of Winthrop, Maine
%
You lost the game.
-- Anonymous on 4chan.org
%
Jerma isn't particularly religious.
-- Jerma985 Wikitubia Fandom article
%
put me on here now
-- arsonist catboy on twitter.com
%
These are no longer memes this is y'all repressed anger
-- Khalifist on twitter.com
%
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when
you do, it blows away your whole leg.
-- Bjarne Stroustrup
%
I'll sleep when I'm dead.
-- Warren Zevon
%
I would have made a good pope.
-- Richard M. Nixon
%
To sit alone with my conscience will be judgement enough for me.
-- Charles William Stubbs
%
Your enemy is where you are not.
-- Sun Tzu, "The Art of War" (paraphrased; purportedly)
%
Be everywhere.
-- social media influencing 101
%
I wish everyone was bald.
-- Anonymous on 4chan.org
%
Nah
-- Soldier G65434-2
%
The kill command is a basic UNIX system command.
-- Matthew Helmke, "Ubuntu Linux Unleashed 2021 Edition, page
283"
%
If you raise the effing hot dog, I will kill you. Figure it out.
-- Craig Jelinek
%
Don't think. Feel and you'll be tanasinn.
-- 名無 on 2chan
%
They had overshadowed her in life. They would obliterate her in death.
-- Khaled Hosseini, "A Thousand Splendid Suns"
%
are your bones made out of fucking depleted uranium
-- Anonymous on the 4chan.org/x/ tulpa peridot thread
%
Giving the Linus Torvalds award to the Free Software Foundation is sort of like
giving the Han Solo award to the Rebel Fleet.
-- Richard Stallman, "Revolution OS (2001)"
%
Filthy Frank is the embodiment of everything a person should not be.
-- George Miller
%
It should be noted that no ethically-trained software engineer would ever
consent to write a DestroyBaghdad procedure. Basic professional ethics would
instead require him to write a DestroyCity procedure, to which Baghdad could be
given as a parameter.
-- Nathaniel Borenstein
%
An idiot admires complexity. A genius admires simplicity.
-- Terry A. Davis
%
When in doubt, use brute force.
-- Ken Thompson
%
Where MS Word is WYSIWYG (What You See Is What You Get), and Latex is WYGIWYW
(What You Get Is What You Want), HTML is WYGIWYD (What You Get Is What You
Deserve).
-- Trinity
%
Easy is the opposite of hard, not the opposite of time-consuming.
-- Brad Fitzpatrick, "discussion about plan9 support with Go"
%
Blame the Nazis for making me become a gun designer. I always wanted to
construct agricultural machinery.
-- Mikhail Kalashnikov
%
since KFC fired me the 11 herbs and spices are coriander, onion powder, garlic
powder, salt, white pepper, black pepper basil, parsley, chili pepper, lemon
powder, thyme, and sage.
-- @ashley.shoy on Tiktok
%
Sooner or later there has to be peace.
-- Abigail Thorn, "Identity: A Trans Coming Out Story"
%
Ich bin ein Berliner.
-- John F. Kennedy
%
I am a Bangor!
-- Erwin Kreuz
%
It's not enough that I should succeed - others should fail.
-- Unknown
%
Secundus says hello to his Prima, wherever she is. I ask, my mistress, that you
love me.
-- Unknown in the House and Office of Volusius Iuvencus
%
Debugging on windows is like trying to fix spelling mistakes but you can't see
the words
-- arwn in the 9fans Discord
%
I believe this rabble does not deserve to be given the means for its
emancipation.
-- Catboy Deleuze (deleuzian_catboy) on instagram.com
%
Nothing human makes it out of the near-future.
-- Nick Land, "Meltdown (1994)"
%
144hz doesnt help much with writing C
-- henesy on the 9fans Discord
%
It could be a monkey. You never know.
-- Peter, overheard in a Burger King
%
There's no law apart from Man's will.
-- Alex Alex, 'Only Blackjack' group on facebook.com
%
You will see by it, that the Opinion of this mischievous Effect from lead, is
at least above Sixty years old; and you will observe with Concern how long a
useful Truth may be known, and exist, before it is generally receiv'd and
practis'd on.
-- Benjamin Franklin in a private letter
%
You claim to seek progress, but you succeed mainly in whining.
-- Dennis Ritchie, "The UNIX-HATERS Handbook Anti-Foreword"
%
nemoj da juriŝ zene i autobusi, biĉe uvek novi
-- meatgrinder's pop, relayed by meatgrinder in metaspinoza's
nightmare wheelhouse

View File

@ -3838,174 +3838,6 @@ window.setStyling = function(sheet){
/* @license-end */
/js/Suffix verbatim
[ "Special thanks to Ками for their help with this quotes script.",
"trinity" ]
]}
/js/quotes.json
[ "Yeah, that's just how it is. Just, nothing. So much nothing that it hurts.",
"danger/u/ aefd79" ],
[ "Reason has always existed, but not always in a reasonable form.",
"Katy Perry" ],
[ "Consult your pineal gland.",
"Eris" ],
[ "Back to 8chan please",
"Skyglider" ],
[ "No, I am your father.",
"Darth Vader" ],
[ "A checklist can aid here.",
"Lance Leventhal" ],
[ "You never know.",
"Mr. McSweeney" ],
[ "You lost the game.",
"Anonymous" ],
[ "Jerma isn't particularly religious.",
"Jerma985 Wikitubia Fandom article" ],
[ "put me on here now",
"arsonist catboy" ],
[ "These are no longer memes this is y'all repressed anger",
"Khalifist" ],
[ "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg.",
"Bjarne Stroustrup" ],
[ "I'll sleep when I'm dead.",
"Warren Zevon" ],
[ "I would have made a good pope.",
"Richard M. Nixon" ],
[ "To sit alone with my conscience will be judgment enough for me.",
"Charles William Stubbs" ],
[ "Your enemy is where you are not.",
"Sun Tzu (paraphrased)", "Art of War" ],
[ "Be everywhere.",
"social media influencing 101" ],
[ "I wish everyone was bald.",
"Anonymous", "4chan" ],
[ "Nah",
"Soldier G65434-2" ],
[ "The kill command is a basic UNIX system command.",
"Matthew Helmke", " Ubuntu Linux Unleashed 2021 Edition; pg 283" ],
[ "If you raise the effing hot dog, I will kill you. Figure it out.",
"Craig Jelinek" ],
[ "Don't think. Feel and you'll be tanasinn.",
"名無", "2chan" ],
[ "They had overshadowed her in life. They would obliterate her in death.",
"Khaled Hosseini", "A Thousand Splendid Suns" ],
[ "are your bones made out of fucking depleted uranium",
"Anonymous", "4chan/x/ - tulpa peridot thread" ],
[ "Giving the Linus Torvalds award to the Free Software Foundation is sort of like giving the Han Solo award to the Rebel Fleet.",
"Richard Stallman", "Revolution OS (2001)" ],
[ "Filthy Frank is the embodiment of everything a person should not be.",
"George Miller" ],
[ "It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter.",
"Nathaniel Borenstein" ],
[ "An idiot admires complexity. A genius admires simplicity.",
"Terry A. Davis" ],
[ "When in doubt, use brute force.",
"Ken Thompson" ],
[ "Where MS Word is WYSIWYG (What You See Is What You Get), and Latex is WYGIWYW (What You Get Is What You Want), HTML is WYGIWYD (What You Get Is What You Deserve).",
"Anonymous" ],
[ "Easy is the opposite of hard, not the opposite of time-consuming.",
"Brad Fitzpatrick", "discussion about plan9 support with Go" ],
[ "Blame the Nazis for making me become a gun designer. I always wanted to construct agricultural machinery.",
"Mikhail Kalashnikov" ],
[ "since KFC fired me the 11 herbs and spices are coriander, onion powder, garlic powder, salt, white pepper, black pepper basil, parsley, chili pepper, lemon powder, thyme, and sage.",
"@ashley.shoy, Tiktok" ],
[ "Sooner or later there has to be peace.",
"Abigail Thorn", "Identity: A Trans Coming Out Story" ],
[ "Ich bin ein Berliner.",
"John F. Kennedy" ],
[ "I am a Bangor!",
"Erwin Kreuz" ],
[ "It's not enough that I should succeed - others should fail.",
"Unknown" ],
[ "Secundus says hello to his Prima, wherever she is. I ask, my mistress, that you love me.",
"Unknown", "House and Office of Volusius Iuvencus" ],
[ "Debugging on windows is like trying to fix spelling mistakes but you can't see the words",
"arwn", "9fans Discord" ],
[ "I believe this rabble does not deserve to be given the means for its emancipation.",
"Catboy Deleuze", "Instagram: deleuzian_catboy" ],
[ "Nothing human makes it out of the near-future.",
"Nick Land", "Meltdown (1994)" ],
[ "144hz doesnt help much with writing C",
"henesy", "9fans Discord" ],
[ "It could be a monkey. You never know.",
"Peter", "overheard in a Burger King" ],
[ "There's no law apart from Man's will.",
"Alex Alex", "'Only Blackjack' Facebook group" ],
[ "You will see by it, that the Opinion of this mischievous Effect from lead, is at least above Sixty years old; and you will observe with Concern how long a useful Truth may be known, and exist, before it is generally receiv'd and practis'd on.",
"Benjamin Franklin", "private letter" ],
[ "You claim to seek progress, but you succeed mainly in whining.",
"Dennis Ritchie", "The UNIX-HATERS Handbook Anti-Foreword" ],
[ "nemoj da juriŝ zene i autobusi, biĉe uvek novi",
"meatgrinder's pop", "metaspinoza's nightmare wheelhouse" ],
/js/Prefix verbatim
{ "quotes": [
/js/quotes.js verbatim
/* quotes.js; Deven Blake 2021-2022 */
/* @license magnet:?xt=urn:btih:5ac446d35272cc2e4e85e4325b146d0b7ca8f50c&dn=unlicense.txt Unlicense */
/* With thanks to Ками on Discord. */
/* To use:
* - add two elements with the IDs QUOTE_AUTHOR_ID (see code) and
* QUOTE_VALUE_ID (see code) respectively
* - make a JSON file with a "quotes" object that's an array of arrays
* (see code)
* - change window.QUOTES_FILE_LOCATION to wherever you put it
* - window.quotes_initialize();
* - use window.quote_new() to get a new quote. */
window.quotes_initialize = function(){
var defaults = {
quotes: [ ["Couldn't get quotes array.", "quotes.js"] ],
QUOTES_FILE_LOCATION: "/js/quotes.json",
QUOTES_L_QUOTE_MARK: '"',
QUOTES_R_QUOTE_MARK: '"',
QUOTES_QUOTE_AUTHOR_ID: "quote_author",
QUOTES_QUOTE_AUTHOR_PREFIX: "~ ",
QUOTES_QUOTE_VALUE_ID: "quote_value"
};
var i;
for(i = 0; i < Object.keys(defaults).length; ++i)
if(Object.keys(window).indexOf(Object.keys(defaults)[i]) == -1)
window[Object.keys(defaults)[i]] = Object.values(defaults)[i];
/* Weird JavaScript web voodoo. */
fetch(window.QUOTES_FILE_LOCATION)
.then(response => {return response.json();})
.then(data => window.quotes = data["quotes"]);
};
/* Will not give you the same quote twice in a row! */
window.quote_new = function(){
window.quote_old = window.quote; /* The quote currently in use. */
quote_index = Math.floor(Math.random() * window.quotes.length);
window.quote = window.quotes.splice(quote_index, 1)[0];
if(window.quote_old)
window.quotes.push(window.quote_old);
if(quote_text = document.getElementById(window.QUOTES_QUOTE_VALUE_ID))
quote_text.textContent =
window.QUOTES_L_QUOTE_MARK
+ window.quote[0]
+ window.QUOTES_R_QUOTE_MARK;
if(quote_author = document.getElementById(
window.QUOTES_QUOTE_AUTHOR_ID))
quote_author.textContent = window.QUOTES_QUOTE_AUTHOR_PREFIX
+ window.quote[1];
};
/* @license-end */
/js/cookies.js verbatim
/* cookies.js; Deven Blake 2021 */