Retitle snippets

This commit is contained in:
Chalarangelo
2022-02-13 18:40:16 +02:00
parent cd58cfe194
commit d88d014e80
130 changed files with 134 additions and 134 deletions

View File

@ -1,5 +1,5 @@
--- ---
title: HSBToRGB title: HSB to RGB
tags: math,intermediate tags: math,intermediate
firstSeen: 2020-09-18T14:25:07+03:00 firstSeen: 2020-09-18T14:25:07+03:00
lastUpdated: 2020-09-18T14:25:07+03:00 lastUpdated: 2020-09-18T14:25:07+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: HSLToRGB title: HSL to RGB
tags: math,intermediate tags: math,intermediate
firstSeen: 2020-10-01T23:15:49+03:00 firstSeen: 2020-10-01T23:15:49+03:00
lastUpdated: 2020-10-04T11:24:27+03:00 lastUpdated: 2020-10-04T11:24:27+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: gcd title: Greatest common divisor
tags: math,algorithm,recursion,intermediate tags: math,algorithm,recursion,intermediate
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-12-29T12:36:50+02:00 lastUpdated: 2020-12-29T12:36:50+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: generateItems title: Generate items
tags: array,function,intermediate tags: array,function,intermediate
firstSeen: 2020-10-09T20:41:21+03:00 firstSeen: 2020-10-09T20:41:21+03:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: generateUntil title: Generate until condition is met
tags: function,generator,advanced tags: function,generator,advanced
firstSeen: 2022-01-21T05:00:00-04:00 firstSeen: 2022-01-21T05:00:00-04:00
--- ---

View File

@ -1,5 +1,5 @@
--- ---
title: generateWhile title: Generate while condition is met
tags: function,generator,advanced tags: function,generator,advanced
firstSeen: 2022-01-21T05:00:00-04:00 firstSeen: 2022-01-21T05:00:00-04:00
--- ---

View File

@ -1,5 +1,5 @@
--- ---
title: generatorToArray title: Generator to array
tags: function,array,generator,beginner tags: function,array,generator,beginner
firstSeen: 2020-12-31T13:22:18+02:00 firstSeen: 2020-12-31T13:22:18+02:00
lastUpdated: 2020-12-31T13:22:18+02:00 lastUpdated: 2020-12-31T13:22:18+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: geometricProgression title: Geometric progression
tags: math,algorithm,intermediate tags: math,algorithm,intermediate
firstSeen: 2018-01-03T09:36:23+02:00 firstSeen: 2018-01-03T09:36:23+02:00
lastUpdated: 2020-12-28T13:49:24+02:00 lastUpdated: 2020-12-28T13:49:24+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: get title: Get nested object property from path string
tags: object,regexp,intermediate tags: object,regexp,intermediate
firstSeen: 2018-01-18T17:40:42+02:00 firstSeen: 2018-01-18T17:40:42+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getAncestors title: Get element ancestors
tags: browser,beginner tags: browser,beginner
firstSeen: 2020-10-15T09:28:34+03:00 firstSeen: 2020-10-15T09:28:34+03:00
lastUpdated: 2021-01-05T22:45:34+02:00 lastUpdated: 2021-01-05T22:45:34+02:00
@ -22,6 +22,6 @@ const getAncestors = el => {
``` ```
```js ```js
getAncestors(document.querySelector('nav')); getAncestors(document.querySelector('nav'));
// [document, html, body, header, nav] // [document, html, body, header, nav]
``` ```

View File

@ -1,5 +1,5 @@
--- ---
title: getBaseURL title: Get base URL
tags: string,browser,regexp,beginner tags: string,browser,regexp,beginner
firstSeen: 2020-05-03T12:20:54+03:00 firstSeen: 2020-05-03T12:20:54+03:00
lastUpdated: 2021-01-03T20:32:13+02:00 lastUpdated: 2021-01-03T20:32:13+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: getColonTimeFromDate title: Get colon time from date
tags: date,string,beginner tags: date,string,beginner
firstSeen: 2018-01-13T17:14:48+02:00 firstSeen: 2018-01-13T17:14:48+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getDaysDiffBetweenDates title: Date difference in days
tags: date,intermediate tags: date,intermediate
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2021-04-24T12:42:47+03:00 lastUpdated: 2021-04-24T12:42:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getElementsBiggerThanViewport title: Get elements bigger than viewport
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2020-10-06T17:41:22+03:00 firstSeen: 2020-10-06T17:41:22+03:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getHoursDiffBetweenDates title: Date difference in hours
tags: date,beginner tags: date,beginner
firstSeen: 2021-04-24T12:56:21+03:00 firstSeen: 2021-04-24T12:56:21+03:00
lastUpdated: 2021-04-24T12:56:21+03:00 lastUpdated: 2021-04-24T12:56:21+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getImages title: Get all images in element
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2018-10-07T16:24:36+03:00 firstSeen: 2018-10-07T16:24:36+03:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getMeridiemSuffixOfInteger title: Get meridiem suffix of integer
tags: date,beginner tags: date,beginner
firstSeen: 2018-01-13T17:14:48+02:00 firstSeen: 2018-01-13T17:14:48+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getMinutesDiffBetweenDates title: Date difference in minutes
tags: date,beginner tags: date,beginner
firstSeen: 2021-04-24T12:48:49+03:00 firstSeen: 2021-04-24T12:48:49+03:00
lastUpdated: 2021-04-24T12:48:49+03:00 lastUpdated: 2021-04-24T12:48:49+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getMonthsDiffBetweenDates title: Date difference in months
tags: date,intermediate tags: date,intermediate
firstSeen: 2020-08-07T15:15:26+03:00 firstSeen: 2020-08-07T15:15:26+03:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getParentsUntil title: Get parents until element matches selector
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2021-01-05T22:47:21+02:00 firstSeen: 2021-01-05T22:47:21+02:00
lastUpdated: 2021-01-06T13:04:18+02:00 lastUpdated: 2021-01-06T13:04:18+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: getProtocol title: Current page protocol
tags: browser,beginner tags: browser,beginner
firstSeen: 2020-10-07T01:40:53+03:00 firstSeen: 2020-10-07T01:40:53+03:00
lastUpdated: 2020-10-20T11:46:23+03:00 lastUpdated: 2020-10-20T11:46:23+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getScrollPosition title: Scroll position
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getSecondsDiffBetweenDates title: Date difference in seconds
tags: date,beginner tags: date,beginner
firstSeen: 2021-04-24T12:39:48+03:00 firstSeen: 2021-04-24T12:39:48+03:00
lastUpdated: 2021-04-24T12:39:48+03:00 lastUpdated: 2021-04-24T12:39:48+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getSelectedText title: Get selected text
tags: browser,beginner tags: browser,beginner
firstSeen: 2020-08-07T15:34:53+03:00 firstSeen: 2020-08-07T15:34:53+03:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getSiblings title: Array of element's siblings
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2020-08-07T15:31:48+03:00 firstSeen: 2020-08-07T15:31:48+03:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getStyle title: Get style for element
tags: browser,css,beginner tags: browser,css,beginner
firstSeen: 2017-12-29T00:08:17+02:00 firstSeen: 2017-12-29T00:08:17+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getTimestamp title: Unix timestamp from date
tags: date,beginner tags: date,beginner
firstSeen: 2020-10-08T17:15:56+03:00 firstSeen: 2020-10-08T17:15:56+03:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getType title: Type of value
tags: type,beginner tags: type,beginner
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getURLParameters title: URL parameters as object
tags: browser,string,regexp,intermediate tags: browser,string,regexp,intermediate
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: getVerticalOffset title: Vertical offset of element
tags: browser,beginner tags: browser,beginner
firstSeen: 2021-01-05T22:41:09+02:00 firstSeen: 2021-01-05T22:41:09+02:00
lastUpdated: 2021-01-05T22:41:09+02:00 lastUpdated: 2021-01-05T22:41:09+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: groupBy title: Group array elements
tags: array,object,intermediate tags: array,object,intermediate
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: hammingDistance title: Hamming distance
tags: math,algorithm,intermediate tags: math,algorithm,intermediate
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-12-28T13:49:24+02:00 lastUpdated: 2020-12-28T13:49:24+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: hasClass title: Check if HTML element has class
tags: browser,css,beginner tags: browser,css,beginner
firstSeen: 2017-12-28T23:46:33+02:00 firstSeen: 2017-12-28T23:46:33+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: hasDuplicates title: Check if array has duplicates
tags: array,beginner tags: array,beginner
firstSeen: 2020-10-22T20:23:09+03:00 firstSeen: 2020-10-22T20:23:09+03:00
lastUpdated: 2020-10-22T20:23:09+03:00 lastUpdated: 2020-10-22T20:23:09+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: hasFlags title: Check if process arguments contain flags
tags: node,intermediate tags: node,intermediate
firstSeen: 2018-01-01T18:24:43+02:00 firstSeen: 2018-01-01T18:24:43+02:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: hasKey title: Check if object has key
tags: object,intermediate tags: object,intermediate
firstSeen: 2019-10-15T15:45:13+03:00 firstSeen: 2019-10-15T15:45:13+03:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: hasMany title: Check if array has many matches
tags: array,beginner tags: array,beginner
firstSeen: 2021-07-11T05:00:00-04:00 firstSeen: 2021-07-11T05:00:00-04:00
--- ---

View File

@ -1,5 +1,5 @@
--- ---
title: hasOne title: Check if array has only one match
tags: array,beginner tags: array,beginner
firstSeen: 2021-07-04T05:00:00-04:00 firstSeen: 2021-07-04T05:00:00-04:00
--- ---

View File

@ -1,5 +1,5 @@
--- ---
title: hashBrowser title: Calculate SHA-256 hash (browser)
tags: browser,promise,advanced tags: browser,promise,advanced
firstSeen: 2018-01-17T14:09:01+02:00 firstSeen: 2018-01-17T14:09:01+02:00
lastUpdated: 2021-10-13T19:29:39+02:00 lastUpdated: 2021-10-13T19:29:39+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: hashNode title: Calculate SHA-256 hash (Node.js)
tags: node,promise,advanced tags: node,promise,advanced
firstSeen: 2018-01-17T14:09:01+02:00 firstSeen: 2018-01-17T14:09:01+02:00
lastUpdated: 2021-10-13T19:29:39+02:00 lastUpdated: 2021-10-13T19:29:39+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: haveSameContents title: Check if arrays have same contents
tags: array,intermediate tags: array,intermediate
firstSeen: 2020-01-05T21:40:39+02:00 firstSeen: 2020-01-05T21:40:39+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: head title: Head of array
tags: array,beginner tags: array,beginner
firstSeen: 2017-12-17T16:41:31+02:00 firstSeen: 2017-12-17T16:41:31+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: heapsort title: Heap sort
tags: algorithm,array,recursion,advanced tags: algorithm,array,recursion,advanced
firstSeen: 2020-12-28T22:48:09+02:00 firstSeen: 2020-12-28T22:48:09+02:00
lastUpdated: 2020-12-28T22:48:09+02:00 lastUpdated: 2020-12-28T22:48:09+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: hexToRGB title: Hex to RGB
tags: string,math,advanced tags: string,math,advanced
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: hide title: Hide elements
tags: browser,css,beginner tags: browser,css,beginner
firstSeen: 2017-12-28T23:33:21+02:00 firstSeen: 2017-12-28T23:33:21+02:00
lastUpdated: 2020-09-15T16:28:04+03:00 lastUpdated: 2020-09-15T16:28:04+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: httpDelete title: HTTP delete
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2020-04-16T11:21:33+03:00 firstSeen: 2020-04-16T11:21:33+03:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: httpGet title: HTTP get
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2018-01-08T18:21:52+02:00 firstSeen: 2018-01-08T18:21:52+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: httpPost title: HTTP post
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2018-01-08T22:07:02+02:00 firstSeen: 2018-01-08T22:07:02+02:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: httpPut title: HTTP put
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2020-04-16T11:21:33+03:00 firstSeen: 2020-04-16T11:21:33+03:00
lastUpdated: 2020-10-19T22:49:51+03:00 lastUpdated: 2020-10-19T22:49:51+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: httpsRedirect title: Redirect to HTTPS
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2017-12-21T08:33:56+02:00 firstSeen: 2017-12-21T08:33:56+02:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00
@ -20,6 +20,6 @@ const httpsRedirect = () => {
``` ```
```js ```js
httpsRedirect(); httpsRedirect();
// If you are on http://mydomain.com, you are redirected to https://mydomain.com // If you are on http://mydomain.com, you are redirected to https://mydomain.com
``` ```

View File

@ -1,5 +1,5 @@
--- ---
title: hz title: Hertz frequency of function
tags: function,intermediate tags: function,intermediate
unlisted: true unlisted: true
firstSeen: 2018-04-11T16:39:49+03:00 firstSeen: 2018-04-11T16:39:49+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: inRange title: Number in range
tags: math,beginner tags: math,beginner
firstSeen: 2017-12-20T18:33:58+02:00 firstSeen: 2017-12-20T18:33:58+02:00
lastUpdated: 2020-11-01T20:50:57+02:00 lastUpdated: 2020-11-01T20:50:57+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: includesAll title: Check if array includes all values
tags: array,beginner tags: array,beginner
firstSeen: 2019-11-04T21:37:16+02:00 firstSeen: 2019-11-04T21:37:16+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: includesAny title: Check if array includes any values
tags: array,beginner tags: array,beginner
firstSeen: 2019-11-03T23:49:17+02:00 firstSeen: 2019-11-03T23:49:17+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: indentString title: Indent string
tags: string,beginner tags: string,beginner
firstSeen: 2018-09-24T22:14:27+03:00 firstSeen: 2018-09-24T22:14:27+03:00
lastUpdated: 2020-11-01T20:50:57+02:00 lastUpdated: 2020-11-01T20:50:57+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: indexBy title: Index array based on function
tags: array,object,intermediate tags: array,object,intermediate
firstSeen: 2021-06-20T05:00:00-04:00 firstSeen: 2021-06-20T05:00:00-04:00
--- ---

View File

@ -1,5 +1,5 @@
--- ---
title: indexOfAll title: Index of all matches
tags: array,intermediate tags: array,intermediate
firstSeen: 2018-01-06T12:07:56+02:00 firstSeen: 2018-01-06T12:07:56+02:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: indexOfSubstrings title: Index of substrings
tags: string,algorithm,generator,intermediate tags: string,algorithm,generator,intermediate
firstSeen: 2020-12-31T13:58:51+02:00 firstSeen: 2020-12-31T13:58:51+02:00
lastUpdated: 2020-12-31T13:58:51+02:00 lastUpdated: 2020-12-31T13:58:51+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: indexOn title: Array to object based on key
tags: array,object,intermediate tags: array,object,intermediate
firstSeen: 2021-06-27T05:00:00-04:00 firstSeen: 2021-06-27T05:00:00-04:00
--- ---

View File

@ -1,5 +1,5 @@
--- ---
title: initial title: Array without last element
tags: array,beginner tags: array,beginner
firstSeen: 2017-12-17T16:41:31+02:00 firstSeen: 2017-12-17T16:41:31+02:00
lastUpdated: 2020-11-03T21:46:13+02:00 lastUpdated: 2020-11-03T21:46:13+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: initialize2DArray title: Initialize 2D array
tags: array,intermediate tags: array,intermediate
firstSeen: 2017-12-19T23:38:18+02:00 firstSeen: 2017-12-19T23:38:18+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: initializeArrayWithRange title: Initialize array with range
tags: array,intermediate tags: array,intermediate
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: initializeArrayWithRangeRight title: Initialize array with reversed range
tags: array,intermediate tags: array,intermediate
firstSeen: 2018-01-16T17:09:39+02:00 firstSeen: 2018-01-16T17:09:39+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: initializeArrayWithValues title: Initialize array with values
tags: array,intermediate tags: array,intermediate
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: initializeNDArray title: Initialize n-dimensional array
tags: array,recursion,intermediate tags: array,recursion,intermediate
firstSeen: 2018-04-14T10:52:39+03:00 firstSeen: 2018-04-14T10:52:39+03:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: injectCSS title: Inject CSS
tags: browser,css,intermediate tags: browser,css,intermediate
firstSeen: 2020-10-15T22:18:00+03:00 firstSeen: 2020-10-15T22:18:00+03:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00
@ -23,6 +23,6 @@ const injectCSS = css => {
``` ```
```js ```js
injectCSS('body { background-color: #000 }'); injectCSS('body { background-color: #000 }');
// '<style type="text/css">body { background-color: #000 }</style>' // '<style type="text/css">body { background-color: #000 }</style>'
``` ```

View File

@ -1,5 +1,5 @@
--- ---
title: insertAfter title: Insert HTML string after element
tags: browser,beginner tags: browser,beginner
firstSeen: 2018-06-19T20:57:58+03:00 firstSeen: 2018-06-19T20:57:58+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: insertAt title: Insert value at array index
tags: array,intermediate tags: array,intermediate
firstSeen: 2020-05-22T09:07:35+03:00 firstSeen: 2020-05-22T09:07:35+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: insertBefore title: Insert HTML string before element
tags: browser,beginner tags: browser,beginner
firstSeen: 2018-06-19T20:57:58+03:00 firstSeen: 2018-06-19T20:57:58+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: insertionSort title: Insertion sort
tags: algorithm,array,intermediate tags: algorithm,array,intermediate
firstSeen: 2020-12-28T21:53:53+02:00 firstSeen: 2020-12-28T21:53:53+02:00
lastUpdated: 2020-12-28T21:53:53+02:00 lastUpdated: 2020-12-28T21:53:53+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: intersection title: Array intersection
tags: array,intermediate tags: array,intermediate
firstSeen: 2017-12-17T16:41:31+02:00 firstSeen: 2017-12-17T16:41:31+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: intersectionBy title: Array intersection based on function
tags: array,intermediate tags: array,intermediate
firstSeen: 2018-01-24T12:53:18+02:00 firstSeen: 2018-01-24T12:53:18+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: intersectionWith title: Array intersection based on function
tags: array,intermediate tags: array,intermediate
firstSeen: 2018-01-24T12:53:18+02:00 firstSeen: 2018-01-24T12:53:18+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,11 +1,11 @@
--- ---
title: invertKeyValues title: Invert object
tags: object,advanced tags: object,advanced
firstSeen: 2018-01-01T17:33:46+02:00 firstSeen: 2018-01-01T17:33:46+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00
--- ---
Inverts the key-value pairs of an object, without mutating it. Inverts the key-value pairs of an object, without mutating it.
- Use `Object.keys()` and `Array.prototype.reduce()` to invert the key-value pairs of an object and apply the function provided (if any). - Use `Object.keys()` and `Array.prototype.reduce()` to invert the key-value pairs of an object and apply the function provided (if any).
- Omit the second argument, `fn`, to get the inverted keys without applying a function to them. - Omit the second argument, `fn`, to get the inverted keys without applying a function to them.

View File

@ -1,5 +1,5 @@
--- ---
title: is title: Check if value is of type
tags: type,array,intermediate tags: type,array,intermediate
firstSeen: 2018-01-17T21:23:46+02:00 firstSeen: 2018-01-17T21:23:46+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isAbsoluteURL title: Check if absolute URL
tags: string,browser,regexp,intermediate tags: string,browser,regexp,intermediate
firstSeen: 2017-12-31T14:42:45+02:00 firstSeen: 2017-12-31T14:42:45+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isAfterDate title: Check if date is after another date
tags: date,beginner tags: date,beginner
firstSeen: 2018-09-29T13:58:38+03:00 firstSeen: 2018-09-29T13:58:38+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isAlpha title: String is alpha
tags: string,regexp,beginner tags: string,regexp,beginner
firstSeen: 2020-12-31T14:01:42+02:00 firstSeen: 2020-12-31T14:01:42+02:00
lastUpdated: 2020-12-31T14:01:42+02:00 lastUpdated: 2020-12-31T14:01:42+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: isAlphaNumeric title: String is alphanumeric
tags: string,regexp,beginner tags: string,regexp,beginner
firstSeen: 2020-09-06T07:59:16+03:00 firstSeen: 2020-09-06T07:59:16+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isAnagram title: String is anagram
tags: string,regexp,intermediate tags: string,regexp,intermediate
firstSeen: 2018-02-19T15:47:47+02:00 firstSeen: 2018-02-19T15:47:47+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isArrayLike title: Value is array-like
tags: type,array,intermediate tags: type,array,intermediate
firstSeen: 2017-12-31T14:53:01+02:00 firstSeen: 2017-12-31T14:53:01+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isAsyncFunction title: Value is async function
tags: type,function,intermediate tags: type,function,intermediate
firstSeen: 2020-08-07T15:41:55+03:00 firstSeen: 2020-08-07T15:41:55+03:00
lastUpdated: 2020-10-20T11:21:07+03:00 lastUpdated: 2020-10-20T11:21:07+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isBeforeDate title: Check if date is before another date
tags: date,beginner tags: date,beginner
firstSeen: 2018-09-29T13:58:38+03:00 firstSeen: 2018-09-29T13:58:38+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isBetweenDates title: Check if date is between two dates
tags: date,beginner tags: date,beginner
firstSeen: 2020-10-07T20:31:52+03:00 firstSeen: 2020-10-07T20:31:52+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isBoolean title: Value is boolean
tags: type,beginner tags: type,beginner
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-09-15T16:28:04+03:00 lastUpdated: 2020-09-15T16:28:04+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isBrowser title: Environment is browser
tags: browser,node,intermediate tags: browser,node,intermediate
firstSeen: 2018-03-19T04:50:55+02:00 firstSeen: 2018-03-19T04:50:55+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isBrowserTabFocused title: Check if browser tab is focused
tags: browser,beginner tags: browser,beginner
firstSeen: 2018-04-15T19:18:44+03:00 firstSeen: 2018-04-15T19:18:44+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isContainedIn title: Array is contained in other array
tags: array,intermediate tags: array,intermediate
firstSeen: 2020-01-05T21:40:51+02:00 firstSeen: 2020-01-05T21:40:51+02:00
lastUpdated: 2020-10-22T20:23:47+03:00 lastUpdated: 2020-10-22T20:23:47+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isDateValid title: Check if date is valid
tags: date,intermediate tags: date,intermediate
firstSeen: 2020-10-08T16:39:23+03:00 firstSeen: 2020-10-08T16:39:23+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isDeepFrozen title: Check if object is deep frozen
tags: object,recursion,intermediate tags: object,recursion,intermediate
firstSeen: 2020-09-04T20:20:11+03:00 firstSeen: 2020-09-04T20:20:11+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isDisjoint title: Disjointed iterables
tags: array,intermediate tags: array,intermediate
firstSeen: 2020-10-11T11:53:01+03:00 firstSeen: 2020-10-11T11:53:01+03:00
lastUpdated: 2020-10-11T11:53:01+03:00 lastUpdated: 2020-10-11T11:53:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isDivisible title: Nubmer is divisible
tags: math,beginner tags: math,beginner
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-09-15T16:28:04+03:00 lastUpdated: 2020-09-15T16:28:04+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isDuplexStream title: Stream is duplex
tags: node,type,intermediate tags: node,type,intermediate
firstSeen: 2018-10-03T22:16:10+03:00 firstSeen: 2018-10-03T22:16:10+03:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isEmpty title: Array is empty
tags: type,array,object,string,beginner tags: type,array,object,string,beginner
firstSeen: 2018-01-23T19:25:17+02:00 firstSeen: 2018-01-23T19:25:17+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isEven title: Number is even
tags: math,beginner tags: math,beginner
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isFunction title: Value is function
tags: type,function,beginner tags: type,function,beginner
firstSeen: 2017-12-17T17:55:51+02:00 firstSeen: 2017-12-17T17:55:51+02:00
lastUpdated: 2020-09-15T16:28:04+03:00 lastUpdated: 2020-09-15T16:28:04+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isGeneratorFunction title: Value is generator function
tags: type,function,intermediate tags: type,function,intermediate
firstSeen: 2020-08-07T15:40:38+03:00 firstSeen: 2020-08-07T15:40:38+03:00
lastUpdated: 2020-10-20T11:21:07+03:00 lastUpdated: 2020-10-20T11:21:07+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isISOString title: String is ISO formatted date
tags: date,intermediate tags: date,intermediate
firstSeen: 2020-11-29T12:16:43+02:00 firstSeen: 2020-11-29T12:16:43+02:00
lastUpdated: 2020-11-29T12:16:43+02:00 lastUpdated: 2020-11-29T12:16:43+02:00

View File

@ -1,5 +1,5 @@
--- ---
title: isLeapYear title: Check for leap year
tags: date,beginner tags: date,beginner
firstSeen: 2020-02-05T14:00:03+02:00 firstSeen: 2020-02-05T14:00:03+02:00
lastUpdated: 2020-10-20T23:02:01+03:00 lastUpdated: 2020-10-20T23:02:01+03:00

View File

@ -1,5 +1,5 @@
--- ---
title: isLocalStorageEnabled title: Check if localStorage is enabled
tags: browser,intermediate tags: browser,intermediate
firstSeen: 2020-12-31T13:13:47+02:00 firstSeen: 2020-12-31T13:13:47+02:00
lastUpdated: 2020-12-31T13:13:47+02:00 lastUpdated: 2020-12-31T13:13:47+02:00

Some files were not shown because too many files have changed in this diff Show More