diff --git a/static/quotes/code_javascript.json b/static/quotes/code_javascript.json index 5e5a04157..db4294a8a 100644 --- a/static/quotes/code_javascript.json +++ b/static/quotes/code_javascript.json @@ -42,6 +42,12 @@ "source": "Github - CodingTrain/QuadTree", "length": 494, "id": 6 + }, + { + "text": "canvas.parent('rgb-Canvas');\\nlet colors = [];\\nlet labels = [];\\nfor (let record of data.entries) {\\n\\tlet col = [record.r / 255, record.g / 255, record.b / 255];\\n\\tcolors.push(col);\\n\\tlabels.push(labelList.indexOf(record.label));\\n}", + "source": "GitHub - CodingTrain/ColorClassifer-TensorFlow.js", + "length": 236, + "id": 7 } ] -} +} \ No newline at end of file diff --git a/static/quotes/code_python.json b/static/quotes/code_python.json index 41b99a4b7..009f57dde 100644 --- a/static/quotes/code_python.json +++ b/static/quotes/code_python.json @@ -36,6 +36,12 @@ "source": "GitHub - GauthamGoli/rar-Password-Cracker", "id": 5, "length": 444 + }, + { + "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)", + "source": "GitHub - MorvanZhou/easy-scraping-tutorial", + "id": 6, + "length": 178 } ] -} +} \ No newline at end of file diff --git a/static/quotes/french.json b/static/quotes/french.json index 5736c567b..06132d83b 100644 --- a/static/quotes/french.json +++ b/static/quotes/french.json @@ -156,8 +156,12 @@ "source": "Wikipedia - Bacillidae", "length": 229, "id": 24 + }, + { + "text": "Le Gouvernement français a demandé à l’ennemi à quelles conditions honorables un cessez-le-feu était possible. Il a déclaré que, si ces conditions étaient contraires à l’honneur, la dignité et l’indépendance de la France, la lutte devait continuer.", + "source": "Charles de Gaulle - Appel du 18 Juin", + "length": 248, + "id": 25 } ] -} - - +} \ No newline at end of file