From 381a06839a718b737de36894287ccb0d69ff2dbd Mon Sep 17 00:00:00 2001 From: yourealt <84110576+yourealt@users.noreply.github.com> Date: Mon, 13 Sep 2021 08:28:27 -0400 Subject: [PATCH 1/3] added more javascript quotes (#1843) by yourealt --- static/quotes/code_javascript.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/static/quotes/code_javascript.json b/static/quotes/code_javascript.json index a5e7fdf0f..0a39cc5d5 100644 --- a/static/quotes/code_javascript.json +++ b/static/quotes/code_javascript.json @@ -48,6 +48,24 @@ "source": "GitHub - CodingTrain/ColorClassifer-TensorFlow.js", "length": 236, "id": 7 + }, + { + "text": "$('button').click(function(){\\n\\t$.post('demo_test_post.asp',\\n{\\n\\t\\tname: 'Donald Duck',\\n\\t\\tcity: 'Duckburg'\\n\\t},\n\\tfunction(data, status){\\n\\t\\talert('Data: ' + data + '\nStatus: ' + status);\\n\\t});\\n});", + "source": "W3Schools - jQuery Get/Post", + "length": 228, + "id": 8 + }, + { + "text": "const points = [40, 100, 1, 5, 25, 10];\\n\\nfor (let i = points.length -1; i > 0; i--) {\\n\\tlet j = Math.floor(Math.random() * i)\\n\\tlet k = points[i]\\n\\tpoints[i] = points[j]\\n\\tpoints[j] = k\\n}", + "source": "W3Schools JS Array Sort - Fisher Bates Method", + "length": 205, + "id": 9 + }, + { + "text": "function quicksort(arr){\\n\\tvar pivot = arr[0];\\n\\n\\tvar left = [];\\n\\tvar right = [];\\n\\n\\tfor (var i = 1; i < arr.length; i++) {\\n\\t\\tarr[i] < pivot ? left.push(arr[i]) : right.push(arr[i]);\\n\\t}\\n\\n\\treturn quicksort(left).concat(pivot, quicksort(right));\\n}", + "source": "JavaScript Quicksort Algorithm", + "length": 280, + "id": 10 } ] -} +} \ No newline at end of file From 44e8312e91fc1cb4eecef729559c93c4b2dba941 Mon Sep 17 00:00:00 2001 From: Michael <67599521+kemonprogrammer@users.noreply.github.com> Date: Mon, 13 Sep 2021 14:28:50 +0200 Subject: [PATCH 2/3] Fix capitalization (#1841) by kemonprogrammer --- static/quotes/german.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/quotes/german.json b/static/quotes/german.json index c7455b587..d06cc88d9 100644 --- a/static/quotes/german.json +++ b/static/quotes/german.json @@ -2456,7 +2456,7 @@ "id": 409 }, { - "text": "Henry hatte sich nicht verändert. Er antwortete nur auf Fragen, die ihm gefielen. aber das störte mich nicht besonders. Jeder Mensch braucht seine Geheimnisse, und Henry brauchte offenbar mehr als andere Menschen.", + "text": "Henry hatte sich nicht verändert. Er antwortete nur auf Fragen, die ihm gefielen. Aber das störte mich nicht besonders. Jeder Mensch braucht seine Geheimnisse, und Henry brauchte offenbar mehr als andere Menschen.", "source": "Silber – Das erste Buch der Träume", "length": 213, "id": 410 From 85b52622c8940932040de3410b1276ba4d705beb Mon Sep 17 00:00:00 2001 From: Aaron <79121360+UnrealApex@users.noreply.github.com> Date: Mon, 13 Sep 2021 05:32:05 -0700 Subject: [PATCH 3/3] Fixed a little typo (#1839) by UnrealApex * Renamed command line setting timer-progress bar * Update terms-of-service.html --- static/terms-of-service.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/terms-of-service.html b/static/terms-of-service.html index 39bcdc472..2289dbef1 100644 --- a/static/terms-of-service.html +++ b/static/terms-of-service.html @@ -109,12 +109,12 @@

- These terms of service were last updated on September 8, 2021. + These terms of service were last updated on September 11, 2021.

Agreement

By accessing this Website, accessible from monkeytype.com, you are - agreeingto be bound by these Website Terms of Service and agree that + agreeing to be bound by these Website Terms of Service and agree that you are responsible for the agreement in accordance with any applicable local laws.