From 72fdb45377ba5c6b4405a01475f8676785aa7789 Mon Sep 17 00:00:00 2001 From: Chalarangelo Date: Mon, 2 May 2022 18:51:12 +0300 Subject: [PATCH] Add images for some snippets --- snippets/HSLToRGB.md | 1 + snippets/caesarCipher.md | 1 + snippets/copyToClipboard.md | 1 + snippets/copyToClipboardAsync.md | 1 + snippets/countWeekDaysBetween.md | 1 + snippets/deepClone.md | 1 + snippets/deepFreeze.md | 1 + snippets/deepMerge.md | 1 + snippets/dig.md | 1 + snippets/equals.md | 1 + snippets/euclideanDistance.md | 1 + snippets/flatIterator.md | 1 + snippets/formatDuration.md | 1 + snippets/get.md | 1 + snippets/getBaseURL.md | 1 + snippets/getCmdArgs.md | 2 ++ snippets/getURLParameters.md | 1 + snippets/hasDecimals.md | 1 + snippets/hashBrowser.md | 1 + snippets/hashNode.md | 1 + snippets/indexOfSubstrings.md | 1 + snippets/isNil.md | 1 + snippets/isSameDate.md | 1 + snippets/kMeans.md | 1 + snippets/kNearestNeighbors.md | 1 + snippets/listenOnce.md | 1 + snippets/luhnCheck.md | 1 + snippets/memoize.md | 1 + snippets/parseCookie.md | 1 + snippets/primes.md | 1 + snippets/pullBy.md | 1 + snippets/serializeCookie.md | 1 + snippets/shallowClone.md | 1 + snippets/sleep.md | 1 + snippets/toOptionalFixed.md | 1 + snippets/uniqueElements.md | 1 + snippets/unzip.md | 1 + snippets/unzipWith.md | 1 + 38 files changed, 39 insertions(+) diff --git a/snippets/HSLToRGB.md b/snippets/HSLToRGB.md index 6b8ff3ea6b7..bd4c90f790f 100644 --- a/snippets/HSLToRGB.md +++ b/snippets/HSLToRGB.md @@ -2,6 +2,7 @@ title: HSL to RGB tags: math expertise: intermediate +cover: blog_images/maple-leaf-palette.jpg firstSeen: 2020-10-01T23:15:49+03:00 lastUpdated: 2020-10-04T11:24:27+03:00 --- diff --git a/snippets/caesarCipher.md b/snippets/caesarCipher.md index 87f97506aa1..2a72bacea90 100644 --- a/snippets/caesarCipher.md +++ b/snippets/caesarCipher.md @@ -3,6 +3,7 @@ title: Caesar cipher tags: algorithm,string expertise: beginner author: maciv +cover: blog_images/ancient-greek-building.jpg firstSeen: 2020-12-28T20:10:18+02:00 lastUpdated: 2020-12-29T12:29:21+02:00 --- diff --git a/snippets/copyToClipboard.md b/snippets/copyToClipboard.md index a287b8447d0..05eabc827c0 100644 --- a/snippets/copyToClipboard.md +++ b/snippets/copyToClipboard.md @@ -2,6 +2,7 @@ title: Copy to clipboard tags: browser,string,event expertise: advanced +cover: blog_images/typing.jpg firstSeen: 2017-12-31T11:40:33+02:00 lastUpdated: 2022-01-11T09:32:04+02:00 --- diff --git a/snippets/copyToClipboardAsync.md b/snippets/copyToClipboardAsync.md index cc89561c916..c225a80af4e 100644 --- a/snippets/copyToClipboardAsync.md +++ b/snippets/copyToClipboardAsync.md @@ -2,6 +2,7 @@ title: Copy to clipboard async tags: browser,string,promise expertise: advanced +cover: blog_images/typing.jpg firstSeen: 2022-01-11T05:00:00-04:00 --- diff --git a/snippets/countWeekDaysBetween.md b/snippets/countWeekDaysBetween.md index 09c92aec567..220bbdf4e79 100644 --- a/snippets/countWeekDaysBetween.md +++ b/snippets/countWeekDaysBetween.md @@ -2,6 +2,7 @@ title: Count weekdays between two dates tags: date expertise: intermediate +cover: blog_images/organizer.jpg firstSeen: 2020-10-11T11:44:44+03:00 lastUpdated: 2020-10-20T11:21:07+03:00 --- diff --git a/snippets/deepClone.md b/snippets/deepClone.md index 491b7887684..9c5ee5ad932 100644 --- a/snippets/deepClone.md +++ b/snippets/deepClone.md @@ -2,6 +2,7 @@ title: Deep clone object tags: object,recursion expertise: advanced +cover: blog_images/pagodas.jpg firstSeen: 2018-01-23T20:48:46+02:00 lastUpdated: 2020-10-22T20:23:47+03:00 --- diff --git a/snippets/deepFreeze.md b/snippets/deepFreeze.md index d792a770aba..c2cef624872 100644 --- a/snippets/deepFreeze.md +++ b/snippets/deepFreeze.md @@ -2,6 +2,7 @@ title: Deep freeze object tags: object,recursion expertise: intermediate +cover: blog_images/frozen-globe.jpg firstSeen: 2018-08-25T18:54:16+03:00 lastUpdated: 2020-10-19T18:51:03+03:00 --- diff --git a/snippets/deepMerge.md b/snippets/deepMerge.md index df29e279b70..15ff176a66f 100644 --- a/snippets/deepMerge.md +++ b/snippets/deepMerge.md @@ -3,6 +3,7 @@ title: Deep merge objects tags: object,function expertise: advanced author: chalarangelo +cover: blog_images/coffee-drip.jpg firstSeen: 2021-07-25T05:00:00-04:00 --- diff --git a/snippets/dig.md b/snippets/dig.md index affd5058295..d98031a619b 100644 --- a/snippets/dig.md +++ b/snippets/dig.md @@ -2,6 +2,7 @@ title: Get nested value in object tags: object,recursion expertise: intermediate +cover: blog_images/brown-bird.jpg firstSeen: 2018-07-08T23:06:24+03:00 lastUpdated: 2020-10-19T18:51:03+03:00 --- diff --git a/snippets/equals.md b/snippets/equals.md index baadb96c46c..234cbc0abc5 100644 --- a/snippets/equals.md +++ b/snippets/equals.md @@ -2,6 +2,7 @@ title: Check object equality tags: object,array,type,recursion expertise: advanced +cover: blog_images/beach-pineapple.jpg firstSeen: 2018-01-15T18:34:11+02:00 lastUpdated: 2021-10-13T19:29:39+02:00 --- diff --git a/snippets/euclideanDistance.md b/snippets/euclideanDistance.md index 834e4934fd5..aa712056363 100644 --- a/snippets/euclideanDistance.md +++ b/snippets/euclideanDistance.md @@ -3,6 +3,7 @@ title: Euclidean distance tags: math,algorithm expertise: intermediate author: chalarangelo +cover: blog_images/ancient-greek-building.jpg firstSeen: 2020-12-28T13:41:19+02:00 lastUpdated: 2020-12-28T13:41:19+02:00 --- diff --git a/snippets/flatIterator.md b/snippets/flatIterator.md index bbcbbd376ab..996fdfefd93 100644 --- a/snippets/flatIterator.md +++ b/snippets/flatIterator.md @@ -3,6 +3,7 @@ title: Flat iterator tags: array,iterator,generator expertise: advanced author: chalarangelo +cover: blog_images/balloons.jpg firstSeen: 2022-03-09T05:00:00-04:00 --- diff --git a/snippets/formatDuration.md b/snippets/formatDuration.md index dd36f9ea21e..5bb7e6aa79d 100644 --- a/snippets/formatDuration.md +++ b/snippets/formatDuration.md @@ -2,6 +2,7 @@ title: Format duration tags: date,math,string expertise: intermediate +cover: blog_images/clock.jpg firstSeen: 2018-01-04T09:26:42+02:00 lastUpdated: 2020-10-22T20:23:47+03:00 --- diff --git a/snippets/get.md b/snippets/get.md index d3bb72b6b4f..7ebd0bc697f 100644 --- a/snippets/get.md +++ b/snippets/get.md @@ -2,6 +2,7 @@ title: Get nested object property from path string tags: object,regexp expertise: intermediate +cover: blog_images/brown-bird.jpg firstSeen: 2018-01-18T17:40:42+02:00 lastUpdated: 2020-10-19T22:49:51+03:00 --- diff --git a/snippets/getBaseURL.md b/snippets/getBaseURL.md index cd9612369a8..fb5bd4b2032 100644 --- a/snippets/getBaseURL.md +++ b/snippets/getBaseURL.md @@ -3,6 +3,7 @@ title: Get base URL tags: string,browser,regexp expertise: beginner author: chalarangelo +cover: blog_images/compass.jpg firstSeen: 2020-05-03T12:20:54+03:00 lastUpdated: 2021-01-03T20:32:13+02:00 --- diff --git a/snippets/getCmdArgs.md b/snippets/getCmdArgs.md index b0fa1a37de3..0f5433dd8ed 100644 --- a/snippets/getCmdArgs.md +++ b/snippets/getCmdArgs.md @@ -2,6 +2,8 @@ title: Command-line arguments tags: node expertise: beginner +author: chalarangelo +cover: blog_images/terminal.jpg firstSeen: 2022-04-26T05:00:00-04:00 --- diff --git a/snippets/getURLParameters.md b/snippets/getURLParameters.md index 1f879889056..543eb5b27f3 100644 --- a/snippets/getURLParameters.md +++ b/snippets/getURLParameters.md @@ -3,6 +3,7 @@ title: URL parameters as object tags: browser,string,regexp expertise: intermediate author: chalarangelo +cover: blog_images/compass.jpg firstSeen: 2017-12-17T17:55:51+02:00 lastUpdated: 2020-10-22T20:23:47+03:00 --- diff --git a/snippets/hasDecimals.md b/snippets/hasDecimals.md index ce56701d5c2..033f5ebb008 100644 --- a/snippets/hasDecimals.md +++ b/snippets/hasDecimals.md @@ -3,6 +3,7 @@ title: Number has decimal digits tags: math expertise: beginner author: chalarangelo +cover: blog_images/man-cup-laptop.jpg firstSeen: 2022-05-13T05:00:00-04:00 --- diff --git a/snippets/hashBrowser.md b/snippets/hashBrowser.md index 5f2b80af934..e53cf599f6b 100644 --- a/snippets/hashBrowser.md +++ b/snippets/hashBrowser.md @@ -2,6 +2,7 @@ title: Calculate SHA-256 hash (browser) tags: browser,promise expertise: advanced +cover: blog_images/padlocks.jpg firstSeen: 2018-01-17T14:09:01+02:00 lastUpdated: 2021-10-13T19:29:39+02:00 --- diff --git a/snippets/hashNode.md b/snippets/hashNode.md index ef7ff7f50e8..d58af6276e5 100644 --- a/snippets/hashNode.md +++ b/snippets/hashNode.md @@ -2,6 +2,7 @@ title: Calculate SHA-256 hash (Node.js) tags: node,promise expertise: advanced +cover: blog_images/padlocks.jpg firstSeen: 2018-01-17T14:09:01+02:00 lastUpdated: 2021-10-13T19:29:39+02:00 --- diff --git a/snippets/indexOfSubstrings.md b/snippets/indexOfSubstrings.md index a19375c3de9..9ee49721409 100644 --- a/snippets/indexOfSubstrings.md +++ b/snippets/indexOfSubstrings.md @@ -3,6 +3,7 @@ title: Index of substrings tags: string,algorithm,generator expertise: intermediate author: chalarangelo +cover: blog_images/violin.jpg firstSeen: 2020-12-31T13:58:51+02:00 lastUpdated: 2020-12-31T13:58:51+02:00 --- diff --git a/snippets/isNil.md b/snippets/isNil.md index a1b6bb69950..fad2f0b9123 100644 --- a/snippets/isNil.md +++ b/snippets/isNil.md @@ -2,6 +2,7 @@ title: Value is nil tags: type expertise: beginner +cover: blog_images/river-houses.jpg firstSeen: 2018-01-16T16:50:21+02:00 lastUpdated: 2020-10-20T23:02:01+03:00 --- diff --git a/snippets/isSameDate.md b/snippets/isSameDate.md index 378150a3f7f..0a308c4b430 100644 --- a/snippets/isSameDate.md +++ b/snippets/isSameDate.md @@ -2,6 +2,7 @@ title: Date is same as another date tags: date expertise: beginner +cover: blog_images/pineapple-at-work.jpg firstSeen: 2018-09-29T13:58:38+03:00 lastUpdated: 2020-11-03T22:11:18+02:00 --- diff --git a/snippets/kMeans.md b/snippets/kMeans.md index 5e8a4be0798..a9496344716 100644 --- a/snippets/kMeans.md +++ b/snippets/kMeans.md @@ -3,6 +3,7 @@ title: K-means clustering tags: algorithm,array expertise: advanced author: chalarangelo +cover: blog_images/antelope.jpg firstSeen: 2020-12-28T15:38:40+02:00 lastUpdated: 2020-12-29T16:32:46+02:00 --- diff --git a/snippets/kNearestNeighbors.md b/snippets/kNearestNeighbors.md index c801ec8e66b..31dbc3219c5 100644 --- a/snippets/kNearestNeighbors.md +++ b/snippets/kNearestNeighbors.md @@ -3,6 +3,7 @@ title: K-nearest neighbors tags: algorithm,array expertise: advanced author: chalarangelo +cover: blog_images/building-blocks.jpg firstSeen: 2020-12-28T16:31:43+02:00 lastUpdated: 2021-10-13T19:29:39+02:00 --- diff --git a/snippets/listenOnce.md b/snippets/listenOnce.md index 5e1d5e913fe..7b71a53be47 100644 --- a/snippets/listenOnce.md +++ b/snippets/listenOnce.md @@ -3,6 +3,7 @@ title: Listen for an event only once tags: browser,event expertise: beginner author: chalarangelo +cover: blog_images/dog-waiting.jpg firstSeen: 2020-06-01T16:58:52+03:00 lastUpdated: 2020-10-22T20:23:47+03:00 --- diff --git a/snippets/luhnCheck.md b/snippets/luhnCheck.md index 659c6adb5fc..5bdaf662aea 100644 --- a/snippets/luhnCheck.md +++ b/snippets/luhnCheck.md @@ -2,6 +2,7 @@ title: Luhn check tags: math,algorithm expertise: advanced +cover: blog_images/blank-card.jpg excerpt: Implements the Luhn Algorithm, used to validate a variety of identification numbers. firstSeen: 2018-01-03T11:02:35+02:00 lastUpdated: 2022-01-30T13:37:39+02:00 diff --git a/snippets/memoize.md b/snippets/memoize.md index 3bf0a9a3c2b..9a4b80ee3ea 100644 --- a/snippets/memoize.md +++ b/snippets/memoize.md @@ -2,6 +2,7 @@ title: Memoize function tags: function expertise: advanced +cover: blog_images/hard-disk.jpg firstSeen: 2017-12-31T13:55:55+02:00 lastUpdated: 2020-10-21T21:54:53+03:00 --- diff --git a/snippets/parseCookie.md b/snippets/parseCookie.md index 14feacb1e29..e25e3ea2698 100644 --- a/snippets/parseCookie.md +++ b/snippets/parseCookie.md @@ -2,6 +2,7 @@ title: Parse cookie tags: browser,string expertise: intermediate +cover: blog_images/three-vases.jpg firstSeen: 2018-01-13T14:19:21+02:00 lastUpdated: 2020-10-22T20:24:04+03:00 --- diff --git a/snippets/primes.md b/snippets/primes.md index 08149b18eb4..ba3a3a3bb56 100644 --- a/snippets/primes.md +++ b/snippets/primes.md @@ -2,6 +2,7 @@ title: Primes up to given number tags: math,algorithm expertise: intermediate +cover: blog_images/apples.jpg firstSeen: 2017-12-21T12:20:22+02:00 lastUpdated: 2020-12-28T13:49:24+02:00 --- diff --git a/snippets/pullBy.md b/snippets/pullBy.md index cc3985bf675..9f446d374f6 100644 --- a/snippets/pullBy.md +++ b/snippets/pullBy.md @@ -2,6 +2,7 @@ title: Pull values from array based on function tags: array expertise: advanced +cover: blog_images/fishermen.jpg firstSeen: 2018-01-26T13:48:50+02:00 lastUpdated: 2020-10-22T20:24:04+03:00 --- diff --git a/snippets/serializeCookie.md b/snippets/serializeCookie.md index d1cf761c77a..b52a01a3975 100644 --- a/snippets/serializeCookie.md +++ b/snippets/serializeCookie.md @@ -2,6 +2,7 @@ title: Serialize cookie tags: browser,string expertise: intermediate +cover: blog_images/three-vases.jpg firstSeen: 2018-01-13T14:19:21+02:00 lastUpdated: 2020-10-22T20:24:30+03:00 --- diff --git a/snippets/shallowClone.md b/snippets/shallowClone.md index 770601047ae..8c71e55d4ff 100644 --- a/snippets/shallowClone.md +++ b/snippets/shallowClone.md @@ -2,6 +2,7 @@ title: Shallow clone object tags: object expertise: beginner +cover: blog_images/pagodas.jpg firstSeen: 2017-12-17T17:55:51+02:00 lastUpdated: 2020-09-15T16:28:04+03:00 --- diff --git a/snippets/sleep.md b/snippets/sleep.md index 453cca006a8..0e96adf4fa8 100644 --- a/snippets/sleep.md +++ b/snippets/sleep.md @@ -2,6 +2,7 @@ title: Delay async function execution tags: function,promise expertise: intermediate +cover: blog_images/sleepy-cat.jpg firstSeen: 2017-12-13T22:40:56+02:00 lastUpdated: 2020-10-22T20:24:30+03:00 --- diff --git a/snippets/toOptionalFixed.md b/snippets/toOptionalFixed.md index 97ad98ec7dc..7a6f53ec4ee 100644 --- a/snippets/toOptionalFixed.md +++ b/snippets/toOptionalFixed.md @@ -3,6 +3,7 @@ title: Number to fixed-point notation without trailing zeros tags: math,string expertise: beginner author: chalarangelo +cover: blog_images/red-succulent.jpg firstSeen: 2022-05-10T05:00:00-04:00 --- diff --git a/snippets/uniqueElements.md b/snippets/uniqueElements.md index 463fb8b91ac..925d9f546c3 100644 --- a/snippets/uniqueElements.md +++ b/snippets/uniqueElements.md @@ -2,6 +2,7 @@ title: Unique values in array tags: array expertise: beginner +cover: blog_images/architectural.jpg firstSeen: 2018-01-17T19:02:49+02:00 lastUpdated: 2020-10-22T20:24:44+03:00 --- diff --git a/snippets/unzip.md b/snippets/unzip.md index eea88a094fe..69eaeaa718b 100644 --- a/snippets/unzip.md +++ b/snippets/unzip.md @@ -2,6 +2,7 @@ title: Ungroup array elements tags: array expertise: intermediate +cover: blog_images/glass-blowing.jpg firstSeen: 2018-01-24T12:35:25+02:00 lastUpdated: 2020-10-22T20:24:44+03:00 --- diff --git a/snippets/unzipWith.md b/snippets/unzipWith.md index 0d667518363..245f12dcb35 100644 --- a/snippets/unzipWith.md +++ b/snippets/unzipWith.md @@ -2,6 +2,7 @@ title: Ungroup array elements based on function tags: array expertise: advanced +cover: blog_images/coconuts.jpg firstSeen: 2018-01-24T12:44:16+02:00 lastUpdated: 2022-01-23T13:18:50+03:00 ---