Skip to content

Commit

Permalink
fix(quotes): user reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Sep 18, 2024
1 parent 7e70302 commit 0a9f08b
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 110 deletions.
2 changes: 1 addition & 1 deletion frontend/static/quotes/code_csharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"length": 201
},
{
"text": "static public void Main() {\n\t\tstring[] @for = {\"C#\", \"PHP\", \"Java\", \"Python\"};\n\t\tforeach (string @as in @for) {\n\t\t\tConsole.WriteLine(\"Element of Array: {0}\", @as); \n\t\t\t} \n\t\t}",
"text": "public static void Main() {\n\t\tstring[] @for = {\"C#\", \"PHP\", \"Java\", \"Python\"};\n\t\tforeach (string @as in @for) {\n\t\t\tConsole.WriteLine(\"Element of Array: {0}\", @as); \n\t\t\t} \n\t\t}",
"id": 24,
"source": "Geeks For Geeks - C# | Verbatim String Literal",
"length": 174
Expand Down
2 changes: 1 addition & 1 deletion frontend/static/quotes/code_javascript.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"id": 27
},
{
"text": "function fisherYates(originalArray) {\n\tconst array = originalArray.slice(0)\n\n\tfor (let i = array.length - 1; i > 0; i -= 1) {\n\t\tconst randomIndex = Math.floor(Math.random() * (i + 1))\n\t\t;[array[i], array[randomIndex]] = [array[randomIndex], array[i]]\n\t}\n\n\treturn array\n}",
"text": "function fisherYates(originalArray) {\n\tconst array = originalArray.slice(0)\n\n\tfor (let i = array.length - 1; i > 0; i -= 1) {\n\t\tconst randomIndex = Math.floor(Math.random() * (i + 1));\n\t\t[array[i], array[randomIndex]] = [array[randomIndex], array[i]]\n\t}\n\n\treturn array\n}",
"source": "trekhleb/javascript-algorithms - Fisher-Yates sourcecode",
"length": 270,
"id": 28
Expand Down
80 changes: 22 additions & 58 deletions frontend/static/quotes/english.json
Original file line number Diff line number Diff line change
Expand Up @@ -6387,7 +6387,7 @@
},
{
"text": "The wonder is, not that the field of stars is so vast, but that man has measured it.",
"source": "Civilization V",
"source": "Anatole France",
"id": 1115,
"length": 84
},
Expand Down Expand Up @@ -6758,10 +6758,10 @@
"length": 166
},
{
"text": "This is what I offer each of you today: one tiny vial of liquid luck to the student who in the hour that remains manages to brew an acceptable draft of living death. The recipe for which can be found on page 10 of your books.",
"text": "This is what I offer each of you today: one tiny vial of liquid luck to the student who in the hour that remains manages to brew an acceptable draught of living death. The recipe for which can be found on page 10 of your books.",
"source": "Harry Potter and the Half-Blood Prince",
"id": 1181,
"length": 225
"length": 227
},
{
"text": "The moon will never lie to anyone. Be like the moon. No one hates the moon or wants to kill it. The moon does not take antidepressants and never gets sent to prison. The moon never shot a guy in the face and ran away. The moon has been around a long time and has never tried to rip anyone off. The moon does not care who you want to touch or what color you are. The moon treats everyone the same. The moon never tries to get in on the guest list or use your name to impress others. Be like the moon. When others insult or belittle in an attempt to elevate themselves, the moon sits passively and watches, never lowering itself to anything that weak. The moon is beautiful and bright. It needs no makeup to look beautiful. The moon never shoves clouds out of its way so it can be seen. The moon needs not fame or money to be powerful. The moon never asks you to go to war to defend it. Be like the moon.",
Expand Down Expand Up @@ -6908,10 +6908,10 @@
"length": 149
},
{
"text": "In our world, every storm has an end. Every night, brings a new morning. What's important is to trust those you love, and never give up. We must all keep hope alive.",
"text": "In our world, every storm has an end. Every night brings a new morning. What's important is to trust those you love, and never give up. We must all keep hope alive.",
"source": "Chrono Trigger",
"id": 1207,
"length": 165
"length": 164
},
{
"text": "When the light of life has gone, no change for the meter. Then the king of spivs will come, selling blood by the litre. When nothing's sacred anymore, when the demon's knocking on your door, you'll still be staring down at the floor.",
Expand Down Expand Up @@ -9596,10 +9596,10 @@
"length": 241
},
{
"text": "I must have left my house at eight because I always do. My train, I'm certain, left the station when it was due. I must have read the morning paper going into town, and having gotten through the editorial no doubt I must have frowned.",
"source": "The Day Before You Came",
"text": "Must have left my house at eight, because I always do. My train, I'm certain, left the station just when it was due. I must have read the morning paper going into town, and having gotten through the editorial no doubt I must have frowned.",
"source": "ABBA - The Day Before You Came",
"id": 1690,
"length": 234
"length": 238
},
{
"text": "This used to be my playground, this used to be my childhood dream, this used to be the place I ran to whenever I was in need of a friend. Why did it have to end?",
Expand Down Expand Up @@ -10749,7 +10749,7 @@
},
{
"text": "Ocean man, take me by the hand, lead me to the land that you understand. Ocean man, the voyage to the corner of the globe is a real trip. Ocean man, the crust of a tan man imbibed by the sand. Soaking up the thirst of the land.",
"source": "Ocean Man",
"source": "Ween - Ocean Man",
"id": 1893,
"length": 227
},
Expand Down Expand Up @@ -12632,10 +12632,10 @@
"length": 607
},
{
"text": "You were the chosen one! It was said that you would destroy the Sith, not join them. You were to bring balance to the Force, not leave it in darkness.",
"text": "You were the chosen one! It was said that you would destroy the Sith, not join them. Bring balance to the Force, not leave it in darkness.",
"source": "Star Wars Episode III - Revenge of the Sith",
"id": 2226,
"length": 150
"length": 138
},
{
"text": "Well, when I came home from school my head started to get really hot. So I drank some cold water, but it didn't do nothing. So I laid in the bathtub for a while, but then I realized that it was my hair that was making my head hot. So I went into my kitchen and I shaved it all off. I don't want anyone to see.",
Expand Down Expand Up @@ -13947,10 +13947,10 @@
"length": 172
},
{
"text": "Every single night I endure the fight of little wings of white-flamed butterflies in my brain. These ideas of mine percolate the mind, trickle down the spine, swarm the bell, swellin' to a blaze. That's when the pain comes in like a second skeleton trying to fit beneath the skin. I can't fit the feelings in. Every single night is a fight with my brain.",
"text": "Every single night I endure the flight of little wings of white-flamed butterflies in my brain. These ideas of mine percolate the mind, trickle down the spine, swarm the bell, swellin' to a blaze. That's when the pain comes in like a second skeleton trying to fit beneath the skin. I can't fit the feelings in. Every single night is a fight with my brain.",
"source": "Every Single Night",
"id": 2462,
"length": 354
"length": 355
},
{
"text": "I am sitting in a room, different from the one you are in now. I am recording the sound of my speaking voice, and I am going to play it back into the room again and again, until the resonant frequencies of the room reinforce themselves, so that any semblance of my speech, with perhaps the exception of rhythm, is destroyed. What you will hear then are the natural resonant frequencies of the room articulated by speech. I regard this activity not so much as a demonstration of a physical fact, but more as a way to smooth out any irregularities my speech might have.",
Expand Down Expand Up @@ -14062,7 +14062,7 @@
},
{
"text": "Our attempts to succeed in life will be largely determined by our confidence. This rests on the way we see ourselves, what we believe about ourselves, what we believe we are capable of.",
"source": "The Born Identity",
"source": "The Bourne Identity",
"id": 2484,
"length": 185
},
Expand Down Expand Up @@ -15188,12 +15188,6 @@
"id": 2691,
"length": 243
},
{
"text": "She said let's change our luck, this night is all we've got. Drive fast until we crash... This dead-end life... Sweet dreams that won't come true, I'd leave it all for you. Brick walls are closing in, let's make... A run tonight.",
"source": "Skyway Avenue",
"id": 2693,
"length": 229
},
{
"text": "Renting a car in Palau has its advantages and disadvantages. Taxis and tour companies can take you on guided tours of the big island, but they are often expensive and less convenient than a rental car. Having your own car will allow you to go off the beaten path and to take your time. It is also a great idea if you are planning to spend a night or two at one of the little beach resorts up north.",
"source": "Federated States of Micronesia and Palau",
Expand Down Expand Up @@ -18716,12 +18710,6 @@
"id": 3333,
"length": 200
},
{
"text": "As the United States assumed greater status as a power in world politics, Americans came to believe that the nation's actions on the world stage should be guided by American political and moral principles.",
"source": "American Government and Politics Today: The Essentials",
"id": 3334,
"length": 205
},
{
"text": "Seems like everybody's got a price. I wonder how they sleep at night when the sale comes first and the truth comes second.",
"source": "Price Tag",
Expand Down Expand Up @@ -23115,12 +23103,6 @@
"id": 4125,
"length": 538
},
{
"text": "I need a love reaction. Come on now, baby, give me just one look.",
"source": "Dancing in the Dark",
"id": 4127,
"length": 65
},
{
"text": "Okay, stand outa the way. Sometimes when I go to exertin' myself I use up all the air nearby and grown men faint from suffocation. Stand back. There's liable to be crackin' cement and flying steel. Get the women and kids someplace safe. Stand back...",
"source": "One Flew Over the Cuckoo's Nest",
Expand Down Expand Up @@ -23199,12 +23181,6 @@
"id": 4140,
"length": 414
},
{
"text": "Everyday I get up and pray to Jah and he increases the number of clocks by exactly one. Everybody's coming home for lunch these days. Last night there were skinheads on my lawn. Take the skinheads bowling, take them bowling.",
"source": "Take the Skinheads Bowling",
"id": 4141,
"length": 224
},
{
"text": "You, my friend, are a victim of disorganized thinking. You are under the unfortunate impression that just because you run away you have no courage; you're confusing courage with wisdom.",
"source": "The Wizard of Oz",
Expand Down Expand Up @@ -25132,7 +25108,7 @@
"length": 340
},
{
"text": "I been doin' this a long time. I ain't never said nothin' to no cop. I feel old... I been out there since I was 13. I ain't never screwed up a count, never stole off a package, never did some stuff that I wasn't told to do. I've been straight up. But what come back? You think if I get jammed up on some stuff, they be like, \"All right, yeah. Bodie been there. Bodie hang tough. We got to his pay lawyer. We got a bail.\" They want me to stand with them, right? Where they at when they supposed to be standing by us? I mean, when it goes bad and there's hell to pay, where they at? This game is rigged, man...",
"text": "I been doin' this a long time. I ain't never said nothin' to no cop. I feel old... I been out there since I was 13. I ain't never screwed up a count, never stole off a package, never did some stuff that I wasn't told to do. I've been straight up. But what come back? You think if I get jammed up on some stuff, they be like, \"All right, yeah. Bodie been there. Bodie hang tough. We got to pay his lawyer. We got a bail.\" They want me to stand with them, right? Where they at when they supposed to be standing by us? I mean, when it goes bad and there's hell to pay, where they at? This game is rigged, man...",
"source": "The Wire",
"id": 4498,
"length": 608
Expand Down Expand Up @@ -34449,7 +34425,7 @@
"id": 6386
},
{
"text": "You know, it's funny; when you look at someone through rose colored glasses, all the red flags just look like flags.",
"text": "You know, it's funny; when you look at someone through rose-colored glasses, all the red flags just look like flags.",
"source": "Bojack Horseman",
"length": 116,
"approvedBy": "Smithster",
Expand Down Expand Up @@ -35268,16 +35244,16 @@
"id": 6512
},
{
"text": "I thought I felt your shape but I was wrong. Really all I felt was falsely strong.",
"text": "I thought I felt your shape, but I was wrong. Really all I felt, was falsely strong.",
"source": "I Felt Your Shape",
"length": 82,
"length": 84,
"approvedBy": "Smithster",
"id": 6513
},
{
"text": "Looking from up here, it's as if each flame were a small dream for each person. They look like a bonfire of dreams, don't they?... But there's not flame for me here. I'm just a temporary visitor, taking comfort from the flame.",
"text": "Looking from up here, it's as if each flame were a small dream for each person. They look like a bonfire of dreams, don't they?... But there's no flame for me here. I'm just a temporary visitor, taking comfort from the flame.",
"source": "Berserk",
"length": 226,
"length": 225,
"approvedBy": "Smithster",
"id": 6514
},
Expand Down Expand Up @@ -37338,12 +37314,6 @@
"length": 231,
"id": 6864
},
{
"text": "I am... not interested, little sun. Try again when you have become a man.",
"source": "Final Fantasy XIV",
"length": 73,
"id": 6865
},
{
"text": "Stay strong. Keep the faith. At duty's end, we will meet again. We will. We will.",
"source": "Final Fantasy XIV",
Expand Down Expand Up @@ -38299,9 +38269,9 @@
"id": 7030
},
{
"text": "Darkness cannot drive out darkness: only light can do that. Hate cannot drive out hate: only love can do that.",
"text": "Darkness cannot drive out darkness - only light can do that. Hate cannot drive out hate - only love can do that.",
"source": "Martin Luther King Jr.",
"length": 110,
"length": 112,
"id": 7031
},
{
Expand Down Expand Up @@ -38352,12 +38322,6 @@
"length": 108,
"id": 7039
},
{
"text": "Don't ever underestimate the power of volunteering. Noah's ark was built by volunteers, the Titanic was built by professionals.",
"source": "Anonymous",
"length": 127,
"id": 7040
},
{
"text": "You aren't a \"broken wreck\", Joshua. You're just scared, mostly because you care for people so much it breaks your heart… and you're lying to yourself about it. That's how I see it, and I know I'm right.",
"source": "Legend of Heroes: Trails in the Sky SC",
Expand Down
28 changes: 2 additions & 26 deletions frontend/static/quotes/french.json
Original file line number Diff line number Diff line change
Expand Up @@ -1537,12 +1537,6 @@
"length": 404,
"id": 264
},
{
"text": "J'ai envie de te dire oui mais je ne sais pas comment faire alors aide moi. je pense que ne nous sommes pas en mesure de répondre à ceci dans la mesure où la question posée est compliquée à répondre et je pense que pour y répondre nous devons déjà connaître comment l'analyser afin de pouvoir mieux l'appréhender et la terminer à tout jamais. Le principe même de la réflexion est important pour bien comprendre la question et son enjeu et donc pour moi un manque d'analyse sur une question est end.",
"source": "fakes - aqf",
"length": 498,
"id": 265
},
{
"text": "Vous savez, moi je ne crois pas qu'il y ait de bonne ou de mauvaise situation. Moi, si je devais résumer ma vie aujourd'hui avec vous, je dirais que c'est d'abord des rencontres. Des gens qui m'ont tendu la main, peut-être à un moment où je ne pouvais pas, où j'étais seul chez moi. Et c'est assez curieux de se dire que les hasards, les rencontres, forgent une destinée... Parce que quand on a le goût de la chose, quand on a le goût de la chose bien faite, le beau geste, parfois on ne trouve pas..",
"source": "je ne sais pas - Otis citation astérix et obélix mission cléopatre",
Expand Down Expand Up @@ -2221,12 +2215,6 @@
"length": 343,
"id": 378
},
{
"text": "La educación es el pasaporte para el futuro, el mañana pertenece a aquellos que se preparan para él en el día de hoy. Oséase, el hábito del estudio es el más demandado en cuánto a éxito.",
"source": "Malcom X - La educación",
"length": 186,
"id": 379
},
{
"text": "La fatalité fond sur nous. Le temps s'étire, les jours se suivent pesamment, en nous berçant de l'illusion que le désastre redouté va être différé. Puis, brusquement, les jours sombres que nous avons tous prédits sont sur nous, et l'heure est passée où nous aurions pu éviter le sort funeste. Jusqu'à quel âge faut-il vivre pour tirer des leçons de ses expériences ?",
"source": "Robin Hobb - Les aventuriers de la mer",
Expand Down Expand Up @@ -2893,12 +2881,6 @@
"length": 496,
"id": 492
},
{
"text": "Je ne veux pas travailler Je ne veux pas déjeuner Je veux seulement l'oublier Et puis je fume Déjà j'ai connu le parfum de l'amour Un millions de roses n'embaumeraient pas autant.",
"source": "Pink Martini - Sympathique",
"length": 179,
"id": 493
},
{
"text": "L'été craonnait, doux mais ferme, réchauffait ce bronze impeccablement lové sur lui-même : trois spires de vipères à tenter l'orfèvre, moins les saphirs classiques des yeux, car, heureusement pour moi, cette vipère, elle dormait.",
"source": "Hervé Bazin - Vipère au Poing",
Expand Down Expand Up @@ -3079,12 +3061,6 @@
"length": 221,
"id": 523
},
{
"text": "Parler avec ces pétasses, songeait Bruno en retraversant le camping, c'est comme pisser dans un urinoir rempli de mégots ; ou encore c'est comme chier dans une chiotte remplie de serviettes hygiéniques : les choses ne rentrent pas, et elles se mettent à puer.",
"source": "Michel Houellebecq - Les Particules élémentaires",
"length": 259,
"id": 524
},
{
"text": "Le sang est composé d'une partie liquide, le plasma, et d'une partie solide, les globules rouges, les globules blancs et les plaquettes. Le sang est essentiel à la vie des cellules et donc de notre corps.",
"source": "Elisabeth Andréani, etc. - De quoi est fait le sang ?",
Expand Down Expand Up @@ -4004,9 +3980,9 @@
"id": 678
},
{
"text": "Celui qui sait tout ne sait rien. Celui qui veut apprendre tout ne pourra jamais le faire. Celui qui veut apprendre en commençant par le début sans se soucir de tout fera des grandes choses.",
"text": "Celui qui sait tout ne sait rien. Celui qui veut apprendre tout ne pourra jamais le faire. Celui qui veut apprendre en commençant par le début sans se soucier de tout fera des grandes choses.",
"source": "Sarah Lemaitre",
"length": 190,
"length": 191,
"id": 679
},
{
Expand Down
4 changes: 2 additions & 2 deletions frontend/static/quotes/german.json
Original file line number Diff line number Diff line change
Expand Up @@ -3314,9 +3314,9 @@
"id": 577
},
{
"text": "Eines Tages wirdst du erwachen, und es wird keine Zeit dafür geben, zu machen, was du schon immer machen wolltest. Mach es lieber jetzt.",
"text": "Eines Tages wirst du erwachen, und es wird keine Zeit dafür geben, zu machen, was du schon immer machen wolltest. Mach es lieber jetzt.",
"source": "Paulo Coelho",
"length": 136,
"length": 135,
"id": 578
}
]
Expand Down
12 changes: 0 additions & 12 deletions frontend/static/quotes/indonesian.json
Original file line number Diff line number Diff line change
Expand Up @@ -1141,18 +1141,6 @@
"length": 63,
"id": 197
},
{
"text": "Nabi saja seorang pemimpin, tapi tidak sarjana kok.",
"source": "Megawati Sukarnoputri",
"length": 51,
"id": 198
},
{
"text": "Yo ndak tahu kok tanya saya.",
"source": "Joko Widodo",
"length": 28,
"id": 199
},
{
"text": "Inggris kita linggis Amerika kita setrika.",
"source": "Ir. H. Soekarno",
Expand Down
Loading

0 comments on commit 0a9f08b

Please sign in to comment.