Skip to content

Commit d541598

Browse files
committed
fix(quotes): user reports
1 parent 5e35892 commit d541598

File tree

6 files changed

+10
-114
lines changed

6 files changed

+10
-114
lines changed

frontend/static/quotes/code_python.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@
3131
"id": 4,
3232
"length": 254
3333
},
34-
{
35-
"text": "def bruteforce(charset, maxlength):\n\treturn (''.join(candidate)\n\t\tfor candidate in itertools.chain.from_iterable(itertools.product(charset, repeat=i)\n\t\tfor i in range(1, maxlength + 1)))\ndef extractFile(arFile, attempt):\n\ttry:\n\t\tarFile.extractall(pwd=attempt)\n\t\tprint \"Password found! password is %s\"%attempt\n\t\texit(0)\n\texcept Exception,e:\n\t\tpass\n\tif datetime.datetime.now().second%20==0:\n\t\tprint 'At %s'%attempt",
36-
"source": "GitHub - GauthamGoli/rar-Password-Cracker",
37-
"id": 5,
38-
"length": 412
39-
},
4034
{
4135
"text": "soup = BeautifulSoup(html, features='lxml')\nprint(soup.h1)\nprint(line_break, soup.p)\n\nall_href = soup.find_all('a')\nall_href = [l['href'] for l in all_href]\nprint(line_break, all_href)",
4236
"source": "GitHub - MorvanZhou/easy-scraping-tutorial",
@@ -452,10 +446,10 @@
452446
"length": 372
453447
},
454448
{
455-
"text": "class Graph():\n\ndef __init__(self, vertices):\nself.V = vertices\nself.graph = [[0 for column in range(vertices)]\nfor row in range(vertices)]\n\ndef printSolution(self, dist):\nprint('Vertex \t Distance from Source')\nfor node in range(self.V):\nprint(node, '\t\t', dist[node])\n\ndef minDistance(self, dist, sptSet):\nmin = 1e7\n\nfor v in range(self.V):\nif dist[v] < min and sptSet[v] == False:\nmin = dist[v]\nmin_index = v\n\nreturn min_index\n\ndef dijkstra(self, src):\n\ndist = [1e7] * self.V\ndist[src] = 0\nsptSet = [False] * self.V\n\nfor cout in range(self.V):\n\nu = self.minDistance(dist, sptSet)\n\nsptSet[u] = True\n\nfor v in range(self.V):\nif (self.graph[u][v] > 0 and\nsptSet[v] == False and\ndist[v] > dist[u] + self.graph[u][v]):\ndist[v] = dist[u] + self.graph[u][v]\n\nself.printSolution(dist)",
449+
"text": "class Graph():\n\n\tdef __init__(self, vertices):\n\t\tself.V = vertices\n\t\tself.graph = [[0 for column in range(vertices)]\n\t\t\t\tfor row in range(vertices)]\n\n\tdef printSolution(self, dist):\n\t\tprint('Vertex \t Distance from Source')\n\t\tfor node in range(self.V):\n\t\t\tprint(node, '\t\t', dist[node])\n\n\tdef minDistance(self, dist, sptSet):\n\t\tmin = 1e7\n\n\t\tfor v in range(self.V):\n\t\t\tif dist[v] < min and sptSet[v] == False:\n\t\t\t\tmin = dist[v]\n\t\t\t\tmin_index = v\n\n\t\treturn min_index\n\n\tdef dijkstra(self, src):\n\n\t\tdist = [1e7] * self.V\n\t\tdist[src] = 0\n\t\tsptSet = [False] * self.V\n\n\t\tfor cout in range(self.V):\n\n\t\t\tu = self.minDistance(dist, sptSet)\n\n\t\t\tsptSet[u] = True\n\n\t\t\tfor v in range(self.V):\n\t\t\t\tif (self.graph[u][v] > 0 and\n\t\t\t\t\tsptSet[v] == False and\n\t\t\t\t\tdist[v] > dist[u] + self.graph[u][v]):\n\t\t\t\t\tdist[v] = dist[u] + self.graph[u][v]\n\n\t\tself.printSolution(dist)",
456450
"source": "https://www.geeksforgeeks.org/python-program-for-dijkstras-shortest-path-algorithm-greedy-algo-7/",
457451
"id": 75,
458-
"length": 777
452+
"length": 851
459453
}
460454
]
461455
}

frontend/static/quotes/english.json

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,12 +2101,6 @@
21012101
"id": 361,
21022102
"length": 166
21032103
},
2104-
{
2105-
"text": "Tell me how we're not alike, but we work so well and we don't even know why. Funny how the stars crossed right, 'cause we work so well, and we don't even know why. You can call it fire and ice, but we work so well, and we don't even know why.",
2106-
"source": "Why",
2107-
"id": 363,
2108-
"length": 242
2109-
},
21102104
{
21112105
"text": "I hated that having done the right thing was somehow considered wrong. And I hated that there didn't seem to be any other way to survive school.",
21122106
"source": "Sammy Keyes and the Night of the Skull",
@@ -8258,10 +8252,10 @@
82588252
"length": 154
82598253
},
82608254
{
8261-
"text": "I'm not the one who's lost with no direction, but you'll never see. You're so busy making masks with my name on them in all caps. You got the talking down, just not the listening.",
8255+
"text": "I'm not the one who's lost with no direction, but you'll never see. You're so busy making maps with my name on them in all caps. You got the talking down, just not the listening.",
82628256
"source": "King of Anything",
82638257
"id": 1448,
8264-
"length": 179
8258+
"length": 178
82658259
},
82668260
{
82678261
"text": "There's a simplicity to war: Attacking is the only secret. Dare, and the world yields. How quickly they forget that all it takes to change the course of history is the will of a single man.",
@@ -16886,12 +16880,6 @@
1688616880
"id": 3001,
1688716881
"length": 348
1688816882
},
16889-
{
16890-
"text": "I'm a good man, food on the table, working two jobs, ready, willing and able, check. Good man, up having fun, got no kids and I love the Lord, check. Good man, I'm monogamous, never did time well, maybe just once, check. Good man and I puts it down, wanna say it twice but I puts it down, check. How could you ever walk away after all I've done for you? I feel like there's a knife in my back, babe. You might as well put it all the way through, good man.",
16891-
"source": "Good Man",
16892-
"id": 3002,
16893-
"length": 455
16894-
},
1689516883
{
1689616884
"text": "To feel it so like myself, indeed, so brotherly, made me realize that I'd been happy, and that I was happy still. For all to be accomplished, for me to feel less lonely, all that remained to hope was that on the day of my execution there should be a huge crowd of spectators and that they should greet me with howls of execration.",
1689716885
"source": "The Stranger",
@@ -20289,12 +20277,6 @@
2028920277
"id": 3621,
2029020278
"length": 286
2029120279
},
20292-
{
20293-
"text": "Isn't it kind of weird? It's like, there's a guy in a gorilla suit, and there's - he's got a robot head, and inside he's got kind of a bunch of clay... I mean, I've seen Dali paintings that make more sense than this movie does.",
20294-
"source": "Mystery Science Theater 3000: Robot Monster",
20295-
"id": 3622,
20296-
"length": 227
20297-
},
2029820280
{
2029920281
"text": "A place where there isn't any trouble. Do you suppose there is such a place, Toto? There must be. It's not a place you can get to by a boat or a train. It's far, far away. Behind the moon, beyond the rain...",
2030020282
"source": "The Wizard of Oz",
@@ -30179,7 +30161,7 @@
3017930161
"id": 5453
3018030162
},
3018130163
{
30182-
"text": "I just... feel like I need to save everyone. To redeem myself.",
30164+
"text": "I just... Feel like I need to save everyone. To redeem myself.",
3018330165
"source": "Thomas, The Maze Runner",
3018430166
"length": 62,
3018530167
"id": 5456
@@ -32177,12 +32159,6 @@
3217732159
"length": 123,
3217832160
"id": 5864
3217932161
},
32180-
{
32181-
"text": "What kind of tea do you want? We have blueberry, raspberry, ginseng, sleepy time, green tea, green tea with lemon, green tea with lemon and honey, liver disaster, ginger with honey, ginger without honey, vanilla almond, white truffle, blueberry chamomile, vanilla walnut, constant comment, and... earl grey.",
32182-
"source": "Scott Pilgrim vs. The World",
32183-
"length": 307,
32184-
"id": 5865
32185-
},
3218632162
{
3218732163
"text": "People have an annoying habit of remembering things they shouldn't.",
3218832164
"source": "Eragon - Christopher Paolini",
@@ -35034,7 +35010,7 @@
3503435010
"id": 6477
3503535011
},
3503635012
{
35037-
"text": "It's okay to lose your way... just don't lose sight of what you have decided.",
35013+
"text": "It's okay to lose your way... Just don't lose sight of what you have decided.",
3503835014
"source": "One Piece",
3503935015
"length": 77,
3504035016
"approvedBy": "Smithster",
@@ -35082,13 +35058,6 @@
3508235058
"approvedBy": "Smithster",
3508335059
"id": 6485
3508435060
},
35085-
{
35086-
"text": "You never had a rope around your neck. Well, I'm going to tell you something. When that rope starts to pull tight, you can feel the devil bite your ass.",
35087-
"source": "The Good, The Bad, and The Ugly",
35088-
"length": 152,
35089-
"approvedBy": "Smithster",
35090-
"id": 6486
35091-
},
3509235061
{
3509335062
"text": "I'll tell you one thing, Blondie. If I knew that my last hour had come, I swear, in my place... in your place I would do the same thing. I would tell about the gold. Yes, yes, I would. I would tell the name on the grave. What good is the money if you're dead? I know the name of the cemetery. But you know how many graves there are there? Please. Blondie, please. Have a little... coffee? Please, tell me the name. On... on the grave. If I get my hands on the 200,000 dollars, I'll always honor your memory. I swear I'll always honor your memory.",
3509435063
"source": "The Good, The Bad, and The Ugly",
@@ -35180,13 +35149,6 @@
3518035149
"approvedBy": "Smithster",
3518135150
"id": 6503
3518235151
},
35183-
{
35184-
"text": "When you're ten, they call you a prodigy. When you're fifteen, they call you a genius. Once you hit twenty, you're just an ordinary person.",
35185-
"source": "Free!",
35186-
"length": 139,
35187-
"approvedBy": "Smithster",
35188-
"id": 6504
35189-
},
3519035152
{
3519135153
"text": "Because I feel nothing like my father, he's been sleeping underground. Don't wait around, 'cause there's nothing there at all, there's nothing but the end!",
3519235154
"source": "Snowing - Sam Rudich",

frontend/static/quotes/french.json

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2245,12 +2245,6 @@
22452245
"length": 362,
22462246
"id": 384
22472247
},
2248-
{
2249-
"text": "Les femmes sont des plaies ... Capricieuses, Égoïstes, Râleuses ... Elles sont froides, sèches, calculatrices et en même temps extraordinairement mièvres et collantes. On ne sait jamais si elles s'entendent bien ou mal entre elles ... En plus, elles croient pouvoir manipuler tous les hommes ... En tout cas, c'est toujours un tas d'ennuis les femmes ...",
2250-
"source": "Filipe - Shikamaru",
2251-
"length": 354,
2252-
"id": 385
2253-
},
22542248
{
22552249
"text": "Et j'ai appris à haïr ce monde de toutes mes forces, j'ai cherché à le détruire de mes propres mains, ce que l'Akatsuki cherche exactement à faire aujourd'hui. Mais ... Un certain ninja de Konoha ... A eu le cran de m'arrêter ! J'étais son ennemi, mais ça ne l'a pas empêché de pleurer pour moi ! Je l'ai blessé mais il a continué à m'appeler son ami ! Il m'a sauvé ! Moi, son ennemi ! Moi qui comme lui, étais un Jinchuuriki !",
22562250
"source": "Filipe - Le discours de Gaara (2/4)",
@@ -2347,12 +2341,6 @@
23472341
"length": 260,
23482342
"id": 401
23492343
},
2350-
{
2351-
"text": "Dépourvue d'âme, la femme est dans l'incapacité de s'élever vers Dieu. En revanche, elle est en général pourvue d'un escabeau qui lui permet de s'élever vers le plafond pour faire les carreaux. C'est tout ce qu'on lui demande.",
2352-
"source": "Pierre Desproges - Pierre Desproges",
2353-
"length": 226,
2354-
"id": 402
2355-
},
23562344
{
23572345
"text": "Longtemps, je me suis couché de bonne heure. Parfois, à peine ma bougie éteinte, mes yeux se fermaient si vite que je n'avais pas le temps de me dire : \"Je m'endors.\" Et, une demi-heure après, la pensée qu'il était temps de chercher le sommeil m'éveillait ; je voulais poser le volume que je croyais avoir encore dans les mains et souffler ma lumière ; je n'avais pas cessé en dormant de faire des réflexions sur ce que je venais de lire, mais ces réflexions avaient pris un tour un peu particulier.",
23582346
"source": "Marcel Proust - Incipit Du côté de chez Swann",
@@ -2456,9 +2444,9 @@
24562444
"id": 420
24572445
},
24582446
{
2459-
"text": "Il n'y a rien dans le monde qui n'ait son moment décisif, et le chef-d'oeuvre de la bonne conduite est de connaître et de prendre ce moment : si on le manque, surtout dans la révolution des États, on court fortune ou de ne pas le retrouver, ou de ne le pas apercevoir.",
2447+
"text": "Il n'y a rien dans le monde qui n'ait son moment décisif, et le chef-d'oeuvre de la bonne conduite est de connaître et de prendre ce moment : si on le manque, surtout dans la révolution des États, on court fortune ou de ne pas le retrouver, ou de ne pas l'apercevoir.",
24602448
"source": "Le Cardinal de Retz - Mémoires",
2461-
"length": 268,
2449+
"length": 267,
24622450
"id": 421
24632451
},
24642452
{
@@ -3085,12 +3073,6 @@
30853073
"length": 326,
30863074
"id": 528
30873075
},
3088-
{
3089-
"text": "Venue de Texas et influencée par la cuisine mexicaine, d'où son nom, la cuisine tex-mex connaît un véritable engouement : chaleureuse et épicée avec des ingrédients colorés et relevés comme le maïs et le piment, la tomate et l'avocat, elle s'inscrit parfaitement dans un cuisine plein air qui jour la carte du dépaysement et de la joie de vivre. Faciles et rapides, les recettes tex-mex permettent de composer un buffet orignal.",
3090-
"source": "Sylvie Girard-Lagorce - Cuisine de plein-air - Le buffet TEX-MEX",
3091-
"length": 428,
3092-
"id": 529
3093-
},
30943076
{
30953077
"text": "Ce qui fait que si peu de personnes sont agréables dans la conversation, c'est que chacun songe plus à ce qu'il veut dire qu'à ce que les autres disent.",
30963078
"source": "François de la Rochefoulcaud",
@@ -4490,7 +4472,7 @@
44904472
"id": 763
44914473
},
44924474
{
4493-
"text": "Il arborait une courte barbe noire, aussi touffue et désordonnée que sa chevelure, et ses joues étaient tannées au-dessus. D'épais sourcils surplombaient ses yeux sombres. Sa poitrine bombait comme un tonneau et ses épaules tendaient le tissu de sa chemise. Ses poings étaient carrés et couturés de cicatrices, bien que les doigts de sa main droite fussent tachés d'encre.",
4475+
"text": "Il arborait une courte barbe noire, aussi touffue et désordonnée que sa chevelure, et ses joues étaient tannées au-dessus. D'épais sourcils surplombaient ses yeux sombres. Sa poitrine bombait comme un tonneau et ses épaules tendaient le tissu de sa chemise. Ses poings étaient carrés et couturés de cicatrices, bien que les doigts de sa main droite fussent tâchés d'encre.",
44944476
"source": "Robin Hobb - L'assasin Royal : l'apprenti assassin",
44954477
"length": 372,
44964478
"id": 764
@@ -5773,12 +5755,6 @@
57735755
"length": 443,
57745756
"id": 977
57755757
},
5776-
{
5777-
"text": "La femme est assez proche de l'Homme, comme l'épagneul breton. À ce détail près qu'il ne manque à l'épagneul breton que la parole, alors qu'il ne manque à la femme que de se taire. Par ailleurs la robe de l'épagneul breton est rouge feu et il lui en suffit d'une.",
5778-
"source": "Pierre Desproges - La femme et l'épagneul",
5779-
"length": 263,
5780-
"id": 978
5781-
},
57825758
{
57835759
"text": "Les chaussettes de l'archiduchesse sont-elles sèches, archi-sèches ? Un chasseur sachant chasser sans son chien est un bon chasseur. Jésus chez Zachée.",
57845760
"source": "Inconu - Prononciation",

frontend/static/quotes/indonesian.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,6 @@
157157
"length": 209,
158158
"id": 27
159159
},
160-
{
161-
"text": "Karena kalo cepat puas lo akan berhenti pada satu titik. Lo harus terus belajar dan mengamati. Gue berhenti ketika dipanggil Tuhan. Selama itu belum terjadi gue akan terus proses belajar.",
162-
"source": "Lukman Sardi",
163-
"length": 187,
164-
"id": 28
165-
},
166160
{
167161
"text": "Pendidikan dan pengajaran di dalam Republik Indonesia harus berdasarkan kebudayaan dan kemasyarakatan bangsa Indonesia, menuju ke arah kebahagiaan batin serta keselamatan hidup lahir.",
168162
"source": "Ki Hadjar Dewantara",
@@ -1171,12 +1165,6 @@
11711165
"length": 42,
11721166
"id": 205
11731167
},
1174-
{
1175-
"text": "Diobok-obok airnya diobok-obok. Ada ikannya kecil-kecil pada mabok. Diputar-putar krannya diputar-putar. Airnya banjir aku jadi mandi lagi. Dingin-dingin, dimandiin, nanti masuk angin.",
1176-
"source": "Joshua",
1177-
"length": 184,
1178-
"id": 206
1179-
},
11801168
{
11811169
"text": "Gatau ah males pengen beli truk.",
11821170
"source": "Dewangga",
@@ -1189,12 +1177,6 @@
11891177
"length": 196,
11901178
"id": 208
11911179
},
1192-
{
1193-
"text": "Atas nama kita. Ya, Desa Sukrawetan Kecamatan Sukra ya. Maaf, masyarakat Kedungdawa ya. Tertibkan yang joget yang rapi lah. Kita sampai tekang genah ning. Tuan rumah ya tolong kita ya. Awas, apa? Organ apa ini? Anu nada. Leo Nada ya maaf ya.",
1194-
"source": "Wa Brontok, Hansip Sukrawetan Indramayu",
1195-
"length": 241,
1196-
"id": 209
1197-
},
11981180
{
11991181
"text": "Dan atas nama saya yang dari kewakilan tuan rumah. Saya tegangkan kita sing rapih, rapih, repeh, ripah, gemah. Dengarkan kita supaya jangan keributan. Saya tegangkan dari masyarakat Desa Sukrawetan Kedungdawa.",
12001182
"source": "Wa Brontok, Hansip Sukrawetan Indramayu",

0 commit comments

Comments
 (0)