Skip to content

Commit

Permalink
Add images for some snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalarangelo committed May 2, 2022
1 parent f0c4961 commit 72fdb45
Show file tree
Hide file tree
Showing 38 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions snippets/HSLToRGB.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/caesarCipher.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/copyToClipboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/copyToClipboardAsync.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
1 change: 1 addition & 0 deletions snippets/countWeekDaysBetween.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/deepClone.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/deepFreeze.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/deepMerge.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
1 change: 1 addition & 0 deletions snippets/dig.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/equals.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/euclideanDistance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/flatIterator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
1 change: 1 addition & 0 deletions snippets/formatDuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/getBaseURL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
2 changes: 2 additions & 0 deletions snippets/getCmdArgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
1 change: 1 addition & 0 deletions snippets/getURLParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/hasDecimals.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
1 change: 1 addition & 0 deletions snippets/hashBrowser.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/hashNode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/indexOfSubstrings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/isNil.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/isSameDate.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/kMeans.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/kNearestNeighbors.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/listenOnce.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/luhnCheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions snippets/memoize.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/parseCookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/primes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/pullBy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/serializeCookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/shallowClone.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/sleep.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/toOptionalFixed.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
1 change: 1 addition & 0 deletions snippets/uniqueElements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/unzip.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down
1 change: 1 addition & 0 deletions snippets/unzipWith.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down

0 comments on commit 72fdb45

Please sign in to comment.