Update frontmatter data

This commit is contained in:
Angelos Chalaris
2023-04-28 22:29:23 +03:00
parent 705e4e097d
commit 8850e3dfbe
577 changed files with 1731 additions and 1678 deletions

View File

@ -1,10 +1,10 @@
--- ---
title: Partial sum array title: Partial sum array
tags: math type: snippet
tags: [math]
author: chalarangelo author: chalarangelo
cover: river-house-lights cover: river-house-lights
firstSeen: 2020-05-04T12:20:46+03:00 dateModified: 2022-01-30T13:10:13+02:00
lastUpdated: 2022-01-30T13:10:13+02:00
--- ---
Creates an array of partial sums. Creates an array of partial sums.

View File

@ -1,10 +1,10 @@
--- ---
title: Add class to HTML element title: Add class to HTML element
tags: browser type: snippet
tags: [browser]
author: chalarangelo author: chalarangelo
cover: budapest-palace cover: budapest-palace
firstSeen: 2020-12-30T19:21:15+02:00 dateModified: 2020-12-30T19:21:15+02:00
lastUpdated: 2020-12-30T19:21:15+02:00
--- ---
Adds a class to an HTML element. Adds a class to an HTML element.

View File

@ -1,9 +1,9 @@
--- ---
title: Add days to date title: Add days to date
tags: date type: snippet
tags: [date]
cover: digital-nomad-12 cover: digital-nomad-12
firstSeen: 2020-10-12T03:03:18+03:00 dateModified: 2020-11-28T19:18:29+02:00
lastUpdated: 2020-11-28T19:18:29+02:00
--- ---
Calculates the date of `n` days from the given date, returning its string representation. Calculates the date of `n` days from the given date, returning its string representation.

View File

@ -1,10 +1,10 @@
--- ---
title: Add event listener to all targets title: Add event listener to all targets
tags: browser,event type: snippet
tags: [browser,event]
author: chalarangelo author: chalarangelo
cover: red-mountain cover: red-mountain
firstSeen: 2021-04-22T08:53:29+03:00 dateModified: 2021-04-22T08:53:29+03:00
lastUpdated: 2021-04-22T08:53:29+03:00
--- ---
Attaches an event listener to all the provided targets. Attaches an event listener to all the provided targets.

View File

@ -1,9 +1,9 @@
--- ---
title: Add minutes to date title: Add minutes to date
tags: date type: snippet
tags: [date]
cover: lake-trees cover: lake-trees
firstSeen: 2020-11-28T19:27:46+02:00 dateModified: 2020-11-28T19:27:46+02:00
lastUpdated: 2020-11-28T19:27:46+02:00
--- ---
Calculates the date of `n` minutes from the given date, returning its string representation. Calculates the date of `n` minutes from the given date, returning its string representation.

View File

@ -1,9 +1,9 @@
--- ---
title: Add multiple listeners title: Add multiple listeners
tags: browser,event type: snippet
tags: [browser,event]
cover: balloons cover: balloons
firstSeen: 2020-10-08T00:40:30+03:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Adds multiple event listeners with the same handler to an element. Adds multiple event listeners with the same handler to an element.

View File

@ -1,10 +1,10 @@
--- ---
title: Add styles to HTML element title: Add styles to HTML element
tags: browser type: snippet
tags: [browser]
author: chalarangelo author: chalarangelo
cover: digital-nomad-14 cover: digital-nomad-14
firstSeen: 2021-01-07T00:37:43+02:00 dateModified: 2021-01-07T00:37:43+02:00
lastUpdated: 2021-01-07T00:37:43+02:00
--- ---
Adds the provided styles to the given HTML element. Adds the provided styles to the given HTML element.

View File

@ -1,9 +1,9 @@
--- ---
title: Add weekdays to date title: Add weekdays to date
tags: date type: snippet
tags: [date]
cover: digital-nomad-9 cover: digital-nomad-9
firstSeen: 2020-10-11T16:51:39+03:00 dateModified: 2021-01-08T00:23:44+02:00
lastUpdated: 2021-01-08T00:23:44+02:00
--- ---
Calculates the date after adding the given number of business days. Calculates the date after adding the given number of business days.

View File

@ -1,9 +1,9 @@
--- ---
title: Check if array elements are equal based on function title: Check if array elements are equal based on function
tags: array type: snippet
tags: [array]
cover: orange-coffee-2 cover: orange-coffee-2
firstSeen: 2020-10-19T22:14:49+03:00 dateModified: 2020-10-19T22:14:49+03:00
lastUpdated: 2020-10-19T22:14:49+03:00
--- ---
Checks if all elements in an array are equal, based on the provided mapping function. Checks if all elements in an array are equal, based on the provided mapping function.

View File

@ -1,9 +1,9 @@
--- ---
title: Check if array elements are equal title: Check if array elements are equal
tags: array type: snippet
tags: [array]
cover: shelf-plant cover: shelf-plant
firstSeen: 2018-08-03T00:03:08+03:00 dateModified: 2020-10-18T20:24:28+03:00
lastUpdated: 2020-10-18T20:24:28+03:00
--- ---
Checks if all elements in an array are equal. Checks if all elements in an array are equal.

View File

@ -1,9 +1,9 @@
--- ---
title: Check if all array elements are unique based on function title: Check if all array elements are unique based on function
tags: array type: snippet
tags: [array]
cover: digital-nomad-10 cover: digital-nomad-10
firstSeen: 2020-10-19T22:15:05+03:00 dateModified: 2021-01-08T00:23:44+02:00
lastUpdated: 2021-01-08T00:23:44+02:00
--- ---
Checks if all elements in an array are unique, based on the provided mapping function. Checks if all elements in an array are unique, based on the provided mapping function.

View File

@ -1,9 +1,9 @@
--- ---
title: Check if all array elements are unique title: Check if all array elements are unique
tags: array type: snippet
tags: [array]
cover: jars-on-shelf cover: jars-on-shelf
firstSeen: 2020-10-19T19:47:26+03:00 dateModified: 2021-01-08T00:23:44+02:00
lastUpdated: 2021-01-08T00:23:44+02:00
--- ---
Checks if all elements in an array are unique. Checks if all elements in an array are unique.

View File

@ -1,9 +1,9 @@
--- ---
title: Test if all array elements are truthy title: Test if all array elements are truthy
tags: array type: snippet
tags: [array]
cover: touch-flower cover: touch-flower
firstSeen: 2018-02-14T11:46:15+02:00 dateModified: 2020-10-18T20:24:28+03:00
lastUpdated: 2020-10-18T20:24:28+03:00
--- ---
Checks if the provided predicate function returns `true` for all elements in a collection. Checks if the provided predicate function returns `true` for all elements in a collection.

View File

@ -1,9 +1,10 @@
--- ---
title: Sort array alphabetically title: Sort array alphabetically
tags: array type: snippet
tags: [array]
author: chalarangelo author: chalarangelo
cover: boutique-home-office-1 cover: boutique-home-office-1
firstSeen: 2023-02-15T05:00:00-04:00 dateModified: 2023-02-15T05:00:00-04:00
--- ---
Sorts an array of objects alphabetically based on a given property. Sorts an array of objects alphabetically based on a given property.

View File

@ -1,10 +1,10 @@
--- ---
title: Logical and title: Logical and
tags: math,logic type: snippet
tags: [math,logic]
unlisted: true unlisted: true
cover: succulent-1 cover: succulent-1
firstSeen: 2020-05-13T11:35:31+03:00 dateModified: 2021-01-04T13:04:15+02:00
lastUpdated: 2021-01-04T13:04:15+02:00
--- ---
Checks if both arguments are `true`. Checks if both arguments are `true`.

View File

@ -1,9 +1,9 @@
--- ---
title: Test if any array element is truthy title: Test if any array element is truthy
tags: array type: snippet
tags: [array]
cover: basket-paper cover: basket-paper
firstSeen: 2018-02-14T11:46:15+02:00 dateModified: 2020-10-18T20:24:28+03:00
lastUpdated: 2020-10-18T20:24:28+03:00
--- ---
Checks if the provided predicate function returns `true` for at least one element in a collection. Checks if the provided predicate function returns `true` for at least one element in a collection.

View File

@ -1,10 +1,10 @@
--- ---
title: Consecutive element subarrays title: Consecutive element subarrays
tags: array type: snippet
tags: [array]
author: chalarangelo author: chalarangelo
cover: camera-zoom cover: camera-zoom
firstSeen: 2020-05-13T13:25:33+03:00 dateModified: 2020-10-18T20:24:28+03:00
lastUpdated: 2020-10-18T20:24:28+03:00
--- ---
Creates an array of `n`-tuples of consecutive elements. Creates an array of `n`-tuples of consecutive elements.

View File

@ -1,9 +1,9 @@
--- ---
title: Approximate number equality title: Approximate number equality
tags: math type: snippet
tags: [math]
cover: engine cover: engine
firstSeen: 2018-02-14T12:47:13+02:00 dateModified: 2020-11-01T20:50:57+02:00
lastUpdated: 2020-11-01T20:50:57+02:00
--- ---
Checks if two numbers are approximately equal to each other. Checks if two numbers are approximately equal to each other.

View File

@ -1,9 +1,9 @@
--- ---
title: Arithmetic progression title: Arithmetic progression
tags: math,algorithm type: snippet
tags: [math,algorithm]
cover: u-got-this cover: u-got-this
firstSeen: 2020-10-04T11:37:07+03:00 dateModified: 2021-10-13T19:29:39+02:00
lastUpdated: 2021-10-13T19:29:39+02:00
--- ---
Creates an array of numbers in the arithmetic progression, starting with the given positive integer and up to the specified limit. Creates an array of numbers in the arithmetic progression, starting with the given positive integer and up to the specified limit.

View File

@ -1,9 +1,9 @@
--- ---
title: Array to CSV title: Array to CSV
tags: array,string type: snippet
tags: [array,string]
cover: sunrise-over-city cover: sunrise-over-city
firstSeen: 2018-06-27T20:26:43+03:00 dateModified: 2020-11-03T21:55:08+02:00
lastUpdated: 2020-11-03T21:55:08+02:00
--- ---
Converts a 2D array to a comma-separated values (CSV) string. Converts a 2D array to a comma-separated values (CSV) string.

View File

@ -1,9 +1,9 @@
--- ---
title: Array to HTML list title: Array to HTML list
tags: browser,array type: snippet
tags: [browser,array]
cover: red-succulent cover: red-succulent
firstSeen: 2020-10-08T00:02:45+03:00 dateModified: 2020-10-20T11:46:23+03:00
lastUpdated: 2020-10-20T11:46:23+03:00
--- ---
Converts the given array elements into `<li>` tags and appends them to the list of the given id. Converts the given array elements into `<li>` tags and appends them to the list of the given id.

View File

@ -1,9 +1,9 @@
--- ---
title: Function arity title: Function arity
tags: function type: snippet
tags: [function]
cover: trippy-chemicals cover: trippy-chemicals
firstSeen: 2018-01-24T13:59:54+02:00 dateModified: 2020-10-18T20:24:28+03:00
lastUpdated: 2020-10-18T20:24:28+03:00
--- ---
Creates a function that accepts up to `n` arguments, ignoring any additional arguments. Creates a function that accepts up to `n` arguments, ignoring any additional arguments.

View File

@ -1,9 +1,10 @@
--- ---
title: Assert object keys are valid title: Assert object keys are valid
tags: object type: snippet
tags: [object]
author: chalarangelo author: chalarangelo
cover: river-flow cover: river-flow
firstSeen: 2021-07-18T05:00:00-04:00 dateModified: 2021-07-18T05:00:00-04:00
--- ---
Validates all keys in an object match the given `keys`. Validates all keys in an object match the given `keys`.

View File

@ -1,9 +1,9 @@
--- ---
title: Decode Base64 encoded string title: Decode Base64 encoded string
tags: node,string type: snippet
tags: [node,string]
cover: thread cover: thread
firstSeen: 2018-01-17T21:43:21+02:00 dateModified: 2020-09-15T16:28:04+03:00
lastUpdated: 2020-09-15T16:28:04+03:00
--- ---
Decodes a string of data which has been encoded using base-64 encoding. Decodes a string of data which has been encoded using base-64 encoding.

View File

@ -1,9 +1,9 @@
--- ---
title: Attempt invoking a function title: Attempt invoking a function
tags: function type: snippet
tags: [function]
cover: spanish-resort cover: spanish-resort
firstSeen: 2018-01-28T14:44:40+02:00 dateModified: 2020-10-18T20:24:28+03:00
lastUpdated: 2020-10-18T20:24:28+03:00
--- ---
Attempts to invoke a function with the provided arguments, returning either the result or the caught error object. Attempts to invoke a function with the provided arguments, returning either the result or the caught error object.

View File

@ -1,9 +1,9 @@
--- ---
title: Mapped array average title: Mapped array average
tags: math type: snippet
tags: [math]
cover: rock-climbing cover: rock-climbing
firstSeen: 2018-01-11T12:25:54+02:00 dateModified: 2020-10-21T21:17:45+03:00
lastUpdated: 2020-10-21T21:17:45+03:00
--- ---
Calculates the average of an array, after mapping each element to a value using the provided function. Calculates the average of an array, after mapping each element to a value using the provided function.

View File

@ -1,9 +1,9 @@
--- ---
title: Average of numbers title: Average of numbers
tags: math type: snippet
tags: [math]
cover: interior-8 cover: interior-8
firstSeen: 2017-12-29T13:29:49+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Calculates the average of two or more numbers. Calculates the average of two or more numbers.

View File

@ -1,9 +1,9 @@
--- ---
title: Bifurcate array based on function title: Bifurcate array based on function
tags: array type: snippet
tags: [array]
cover: canoe cover: canoe
firstSeen: 2018-02-14T12:13:07+02:00 dateModified: 2020-11-01T20:50:57+02:00
lastUpdated: 2020-11-01T20:50:57+02:00
--- ---
Splits values into two groups, based on the result of the given filtering function. Splits values into two groups, based on the result of the given filtering function.

View File

@ -1,9 +1,9 @@
--- ---
title: Bifurcate array based on values title: Bifurcate array based on values
tags: array type: snippet
tags: [array]
cover: two-cities cover: two-cities
firstSeen: 2018-02-14T12:13:07+02:00 dateModified: 2020-11-01T20:50:57+02:00
lastUpdated: 2020-11-01T20:50:57+02:00
--- ---
Splits values into two groups, based on the result of the given `filter` array. Splits values into two groups, based on the result of the given `filter` array.

View File

@ -1,10 +1,10 @@
--- ---
title: Binary search title: Binary search
tags: algorithm,array type: snippet
tags: [algorithm,array]
author: chalarangelo author: chalarangelo
cover: zen-indoors cover: zen-indoors
firstSeen: 2020-12-28T12:35:44+02:00 dateModified: 2020-12-29T13:06:47+02:00
lastUpdated: 2020-12-29T13:06:47+02:00
--- ---
Finds the index of a given element in a sorted array using the binary search algorithm. Finds the index of a given element in a sorted array using the binary search algorithm.

View File

@ -1,10 +1,10 @@
--- ---
title: Binary function arity title: Binary function arity
tags: function type: snippet
tags: [function]
author: chalarangelo author: chalarangelo
cover: blue-bird cover: blue-bird
firstSeen: 2020-05-13T13:36:36+03:00 dateModified: 2020-10-18T23:04:45+03:00
lastUpdated: 2020-10-18T23:04:45+03:00
--- ---
Creates a function that accepts up to two arguments, ignoring any additional arguments. Creates a function that accepts up to two arguments, ignoring any additional arguments.

View File

@ -1,9 +1,9 @@
--- ---
title: Bind all object methods title: Bind all object methods
tags: object,function type: snippet
tags: [object,function]
cover: laptop-with-code cover: laptop-with-code
firstSeen: 2018-01-26T14:14:53+02:00 dateModified: 2020-11-03T22:11:18+02:00
lastUpdated: 2020-11-03T22:11:18+02:00
--- ---
Binds methods of an object to the object itself, overwriting the existing method. Binds methods of an object to the object itself, overwriting the existing method.

View File

@ -1,9 +1,9 @@
--- ---
title: Bind object method title: Bind object method
tags: function,object type: snippet
tags: [function,object]
cover: oven-paddle cover: oven-paddle
firstSeen: 2018-01-24T14:22:43+02:00 dateModified: 2020-10-18T23:04:45+03:00
lastUpdated: 2020-10-18T23:04:45+03:00
--- ---
Creates a function that invokes the method at a given key of an object, optionally prepending any additional supplied parameters to the arguments. Creates a function that invokes the method at a given key of an object, optionally prepending any additional supplied parameters to the arguments.

View File

@ -1,9 +1,9 @@
--- ---
title: Bind function context title: Bind function context
tags: function,object type: snippet
tags: [function,object]
cover: tranquility cover: tranquility
firstSeen: 2018-01-24T14:14:49+02:00 dateModified: 2020-10-18T23:04:45+03:00
lastUpdated: 2020-10-18T23:04:45+03:00
--- ---
Creates a function that invokes `fn` with a given context, optionally prepending any additional supplied parameters to the arguments. Creates a function that invokes `fn` with a given context, optionally prepending any additional supplied parameters to the arguments.

View File

@ -1,9 +1,9 @@
--- ---
title: Binomial coefficient title: Binomial coefficient
tags: math,algorithm type: snippet
tags: [math,algorithm]
cover: blue-red-mountain cover: blue-red-mountain
firstSeen: 2018-02-14T12:34:02+02:00 dateModified: 2020-12-28T13:49:24+02:00
lastUpdated: 2020-12-28T13:49:24+02:00
--- ---
Calculates the number of ways to choose `k` items from `n` items without repetition and without order. Calculates the number of ways to choose `k` items from `n` items without repetition and without order.

View File

@ -1,10 +1,10 @@
--- ---
title: Logical and for functions title: Logical and for functions
tags: function,logic type: snippet
tags: [function,logic]
unlisted: true unlisted: true
cover: succulent-2 cover: succulent-2
firstSeen: 2020-05-13T11:35:36+03:00 dateModified: 2021-01-04T13:04:15+02:00
lastUpdated: 2021-01-04T13:04:15+02:00
--- ---
Checks if both of the given functions return `true` for a given set of arguments. Checks if both of the given functions return `true` for a given set of arguments.

View File

@ -1,9 +1,9 @@
--- ---
title: Check if bottom of page is visible title: Check if bottom of page is visible
tags: browser type: snippet
tags: [browser]
cover: red-mountain cover: red-mountain
firstSeen: 2017-12-17T17:55:51+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Checks if the bottom of the page is visible. Checks if the bottom of the page is visible.

View File

@ -1,9 +1,9 @@
--- ---
title: Encode string to Base64 title: Encode string to Base64
tags: node,string type: snippet
tags: [node,string]
cover: laptop-journey cover: laptop-journey
firstSeen: 2018-01-17T21:43:21+02:00 dateModified: 2020-09-15T16:28:04+03:00
lastUpdated: 2020-09-15T16:28:04+03:00
--- ---
Creates a base-64 encoded ASCII string from a String object in which each character in the string is treated as a byte of binary data. Creates a base-64 encoded ASCII string from a String object in which each character in the string is treated as a byte of binary data.

View File

@ -1,9 +1,9 @@
--- ---
title: Bubble sort title: Bubble sort
tags: algorithm,array type: snippet
tags: [algorithm,array]
cover: budapest-palace cover: budapest-palace
firstSeen: 2020-12-27T21:20:31+02:00 dateModified: 2020-12-29T12:18:58+02:00
lastUpdated: 2020-12-29T12:18:58+02:00
--- ---
Sorts an array of numbers, using the bubble sort algorithm. Sorts an array of numbers, using the bubble sort algorithm.

View File

@ -1,9 +1,9 @@
--- ---
title: Bucket sort title: Bucket sort
tags: algorithm,array type: snippet
tags: [algorithm,array]
cover: canoe cover: canoe
firstSeen: 2020-12-28T22:11:56+02:00 dateModified: 2020-12-29T12:22:44+02:00
lastUpdated: 2020-12-29T12:22:44+02:00
--- ---
Sorts an array of numbers, using the bucket sort algorithm. Sorts an array of numbers, using the bucket sort algorithm.

View File

@ -1,9 +1,9 @@
--- ---
title: Byte size of string title: Byte size of string
tags: string type: snippet
tags: [string]
cover: mountain-lake-cottage-2 cover: mountain-lake-cottage-2
firstSeen: 2017-12-29T14:30:34+02:00 dateModified: 2020-10-18T23:04:45+03:00
lastUpdated: 2020-10-18T23:04:45+03:00
--- ---
Returns the length of a string in bytes. Returns the length of a string in bytes.

View File

@ -1,9 +1,9 @@
--- ---
title: Caesar cipher title: Caesar cipher
tags: algorithm,string type: snippet
tags: [algorithm,string]
cover: ancient-greek-building cover: ancient-greek-building
firstSeen: 2020-12-28T20:10:18+02:00 dateModified: 2020-12-29T12:29:21+02:00
lastUpdated: 2020-12-29T12:29:21+02:00
--- ---
Encrypts or decrypts a given string using the Caesar cipher. Encrypts or decrypts a given string using the Caesar cipher.

View File

@ -1,9 +1,10 @@
--- ---
title: Call or return title: Call or return
tags: function type: snippet
tags: [function]
author: chalarangelo author: chalarangelo
cover: cows cover: cows
firstSeen: 2022-04-04T05:00:00-04:00 dateModified: 2022-04-04T05:00:00-04:00
--- ---
Calls the argument if it's a function, otherwise returns it. Calls the argument if it's a function, otherwise returns it.

View File

@ -1,9 +1,9 @@
--- ---
title: Call functions with context title: Call functions with context
tags: function type: snippet
tags: [function]
cover: rabbit-call cover: rabbit-call
firstSeen: 2017-12-22T21:54:30+02:00 dateModified: 2021-06-13T13:50:25+03:00
lastUpdated: 2021-06-13T13:50:25+03:00
--- ---
Given a key and a set of arguments, call them when given a context. Given a key and a set of arguments, call them when given a context.

View File

@ -1,9 +1,9 @@
--- ---
title: Capitalize every word title: Capitalize every word
tags: string,regexp type: snippet
tags: [string,regexp]
cover: laptop-plants cover: laptop-plants
firstSeen: 2017-12-17T17:55:51+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Capitalizes the first letter of every word in a string. Capitalizes the first letter of every word in a string.

View File

@ -1,9 +1,9 @@
--- ---
title: Capitalize string title: Capitalize string
tags: string type: snippet
tags: [string]
cover: digital-nomad-3 cover: digital-nomad-3
firstSeen: 2017-12-17T16:41:31+02:00 dateModified: 2020-11-01T20:50:57+02:00
lastUpdated: 2020-11-01T20:50:57+02:00
--- ---
Capitalizes the first letter of a string. Capitalizes the first letter of a string.

View File

@ -1,9 +1,9 @@
--- ---
title: Cartesian product title: Cartesian product
tags: math type: snippet
tags: [math]
cover: sail-away cover: sail-away
firstSeen: 2020-12-28T20:23:47+02:00 dateModified: 2020-12-29T12:31:43+02:00
lastUpdated: 2020-12-29T12:31:43+02:00
--- ---
Calculates the cartesian product of two arrays. Calculates the cartesian product of two arrays.

View File

@ -1,9 +1,9 @@
--- ---
title: Cast to array title: Cast to array
tags: type,array type: snippet
tags: [type,array]
cover: man-red-sunset cover: man-red-sunset
firstSeen: 2018-01-23T20:54:12+02:00 dateModified: 2020-09-15T16:28:04+03:00
lastUpdated: 2020-09-15T16:28:04+03:00
--- ---
Casts the provided value as an array if it's not one. Casts the provided value as an array if it's not one.

View File

@ -1,10 +1,10 @@
--- ---
title: Celsius to Fahrenheit title: Celsius to Fahrenheit
tags: math type: snippet
tags: [math]
unlisted: true unlisted: true
cover: last-light cover: last-light
firstSeen: 2020-04-16T11:00:06+03:00 dateModified: 2021-01-04T13:04:15+02:00
lastUpdated: 2021-01-04T13:04:15+02:00
--- ---
Converts Celsius to Fahrenheit. Converts Celsius to Fahrenheit.

View File

@ -1,9 +1,9 @@
--- ---
title: Chain async functions title: Chain async functions
tags: function type: snippet
tags: [function]
cover: tram-car cover: tram-car
firstSeen: 2017-12-17T17:55:51+02:00 dateModified: 2020-09-15T16:28:04+03:00
lastUpdated: 2020-09-15T16:28:04+03:00
--- ---
Chains asynchronous functions. Chains asynchronous functions.

View File

@ -1,9 +1,9 @@
--- ---
title: Change color lightness title: Change color lightness
tags: string,browser,regexp type: snippet
tags: [string,browser,regexp]
cover: aerial-view-port cover: aerial-view-port
firstSeen: 2020-10-30T17:38:31+02:00 dateModified: 2020-10-31T16:37:54+02:00
lastUpdated: 2020-10-31T16:37:54+02:00
--- ---
Changes the lightness value of an `hsl()` color string. Changes the lightness value of an `hsl()` color string.

View File

@ -1,9 +1,9 @@
--- ---
title: Check property title: Check property
tags: function,object type: snippet
tags: [function,object]
cover: white-tablet-2 cover: white-tablet-2
firstSeen: 2019-03-17T03:53:00+02:00 dateModified: 2020-11-01T20:50:57+02:00
lastUpdated: 2020-11-01T20:50:57+02:00
--- ---
Creates a function that will invoke a predicate function for the specified property on a given object. Creates a function that will invoke a predicate function for the specified property on a given object.

View File

@ -1,10 +1,10 @@
--- ---
title: Split array into n chunks title: Split array into n chunks
tags: array type: snippet
tags: [array]
author: chalarangelo author: chalarangelo
cover: dark-leaves-2 cover: dark-leaves-2
firstSeen: 2020-05-04T13:00:46+03:00 dateModified: 2020-11-03T21:46:13+02:00
lastUpdated: 2020-11-03T21:46:13+02:00
--- ---
Chunks an array into `n` smaller arrays. Chunks an array into `n` smaller arrays.

View File

@ -1,9 +1,9 @@
--- ---
title: Split into chunks title: Split into chunks
tags: array type: snippet
tags: [array]
cover: filter-coffee-pot cover: filter-coffee-pot
firstSeen: 2017-12-17T16:41:31+02:00 dateModified: 2020-11-03T21:35:12+02:00
lastUpdated: 2020-11-03T21:35:12+02:00
--- ---
Chunks an array into smaller arrays of a specified size. Chunks an array into smaller arrays of a specified size.

View File

@ -1,10 +1,10 @@
--- ---
title: Chunk iterable title: Chunk iterable
tags: function,generator,array type: snippet
tags: [function,generator,array]
author: chalarangelo author: chalarangelo
cover: cave-view cover: cave-view
firstSeen: 2021-03-16T22:50:40+02:00 dateModified: 2021-03-16T22:50:40+02:00
lastUpdated: 2021-03-16T22:50:40+02:00
--- ---
Chunks an iterable into smaller arrays of a specified size. Chunks an iterable into smaller arrays of a specified size.

View File

@ -1,9 +1,9 @@
--- ---
title: Clamp number title: Clamp number
tags: math type: snippet
tags: [math]
cover: clay-pot-horizon cover: clay-pot-horizon
firstSeen: 2017-12-20T19:19:18+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Clamps `num` within the inclusive range specified by the boundary values `a` and `b`. Clamps `num` within the inclusive range specified by the boundary values `a` and `b`.

View File

@ -1,9 +1,9 @@
--- ---
title: Clone RegExp title: Clone RegExp
tags: type type: snippet
tags: [type]
cover: tomatoes cover: tomatoes
firstSeen: 2018-01-01T19:45:47+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Clones a regular expression. Clones a regular expression.

View File

@ -1,9 +1,10 @@
--- ---
title: Closest numeric match title: Closest numeric match
tags: math type: snippet
tags: [math]
author: chalarangelo author: chalarangelo
cover: sparkles cover: sparkles
firstSeen: 2022-03-30T05:00:00-04:00 dateModified: 2022-03-30T05:00:00-04:00
--- ---
Finds the closest number from an array. Finds the closest number from an array.

View File

@ -1,9 +1,9 @@
--- ---
title: Argument coalescing factory title: Argument coalescing factory
tags: function,type type: snippet
tags: [function,type]
cover: coffee-phone-tray cover: coffee-phone-tray
firstSeen: 2017-12-18T12:15:36+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Customizes a coalesce function that returns the first argument which is `true` based on the given validator. Customizes a coalesce function that returns the first argument which is `true` based on the given validator.

View File

@ -1,9 +1,9 @@
--- ---
title: Argument coalescing title: Argument coalescing
tags: type type: snippet
tags: [type]
cover: flower-portrait-1 cover: flower-portrait-1
firstSeen: 2017-12-17T10:08:55+02:00 dateModified: 2020-09-15T16:28:04+03:00
lastUpdated: 2020-09-15T16:28:04+03:00
--- ---
Returns the first defined, non-null argument. Returns the first defined, non-null argument.

View File

@ -1,9 +1,9 @@
--- ---
title: Convert function to variadic title: Convert function to variadic
tags: function,array type: snippet
tags: [function,array]
cover: polar-bear cover: polar-bear
firstSeen: 2017-12-22T05:08:36+02:00 dateModified: 2021-06-13T13:50:25+03:00
lastUpdated: 2021-06-13T13:50:25+03:00
--- ---
Changes a function that accepts an array into a variadic function. Changes a function that accepts an array into a variadic function.

View File

@ -1,9 +1,9 @@
--- ---
title: Colorize text title: Colorize text
tags: node,string type: snippet
tags: [node,string]
cover: sea-view cover: sea-view
firstSeen: 2018-01-13T13:36:59+02:00 dateModified: 2020-11-03T22:11:18+02:00
lastUpdated: 2020-11-03T22:11:18+02:00
--- ---
Adds special characters to text to print in color in the console (combined with `console.log()`). Adds special characters to text to print in color in the console (combined with `console.log()`).

View File

@ -1,10 +1,10 @@
--- ---
title: Combine object arrays title: Combine object arrays
tags: array,object type: snippet
tags: [array,object]
author: chalarangelo author: chalarangelo
cover: digital-nomad-6 cover: digital-nomad-6
firstSeen: 2020-10-04T00:26:51+03:00 dateModified: 2020-10-08T02:22:39+03:00
lastUpdated: 2020-10-08T02:22:39+03:00
--- ---
Combines two arrays of objects, using the specified key to match objects. Combines two arrays of objects, using the specified key to match objects.

View File

@ -1,9 +1,10 @@
--- ---
title: Common keys title: Common keys
tags: object type: snippet
tags: [object]
author: chalarangelo author: chalarangelo
cover: symmetry-cloudy-mountain cover: symmetry-cloudy-mountain
firstSeen: 2022-04-23T05:00:00-04:00 dateModified: 2022-04-23T05:00:00-04:00
--- ---
Finds the common keys between two objects. Finds the common keys between two objects.

View File

@ -1,9 +1,10 @@
--- ---
title: Compact and join array title: Compact and join array
tags: array type: snippet
tags: [array]
author: chalarangelo author: chalarangelo
cover: racoon cover: racoon
firstSeen: 2022-04-08T05:00:00-04:00 dateModified: 2022-04-08T05:00:00-04:00
--- ---
Removes falsy values from an array and combines the remaining values into a string. Removes falsy values from an array and combines the remaining values into a string.

View File

@ -1,9 +1,9 @@
--- ---
title: Compact object title: Compact object
tags: object,array,recursion type: snippet
tags: [object,array,recursion]
cover: shapes cover: shapes
firstSeen: 2020-11-27T13:57:41+02:00 dateModified: 2020-11-27T13:57:41+02:00
lastUpdated: 2020-11-27T13:57:41+02:00
--- ---
Deeply removes all falsy values from an object or array. Deeply removes all falsy values from an object or array.

View File

@ -1,9 +1,9 @@
--- ---
title: Compact whitespaces title: Compact whitespaces
tags: string,regexp type: snippet
tags: [string,regexp]
cover: travel-mug-1 cover: travel-mug-1
firstSeen: 2018-12-12T19:11:33+02:00 dateModified: 2020-10-18T23:04:45+03:00
lastUpdated: 2020-10-18T23:04:45+03:00
--- ---
Compacts whitespaces in a string. Compacts whitespaces in a string.

View File

@ -1,9 +1,9 @@
--- ---
title: Compact array title: Compact array
tags: array type: snippet
tags: [array]
cover: basket-paper cover: basket-paper
firstSeen: 2017-12-14T08:19:15+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Removes falsy values from an array. Removes falsy values from an array.

View File

@ -1,9 +1,9 @@
--- ---
title: Logical complement title: Logical complement
tags: function,logic type: snippet
tags: [function,logic]
cover: flower-portrait-10 cover: flower-portrait-10
firstSeen: 2020-05-13T11:28:33+03:00 dateModified: 2020-09-15T16:28:04+03:00
lastUpdated: 2020-09-15T16:28:04+03:00
--- ---
Returns a function that is the logical complement of the given function, `fn`. Returns a function that is the logical complement of the given function, `fn`.

View File

@ -1,9 +1,9 @@
--- ---
title: Reverse compose functions title: Reverse compose functions
tags: function type: snippet
tags: [function]
cover: rocky-beach cover: rocky-beach
firstSeen: 2018-01-23T22:12:56+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Performs left-to-right function composition. Performs left-to-right function composition.

View File

@ -1,9 +1,9 @@
--- ---
title: Compose functions title: Compose functions
tags: function type: snippet
tags: [function]
cover: digital-nomad-16 cover: digital-nomad-16
firstSeen: 2017-12-17T16:41:31+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Performs right-to-left function composition. Performs right-to-left function composition.

View File

@ -1,10 +1,10 @@
--- ---
title: Check if string contains whitespace title: Check if string contains whitespace
tags: string,regexp type: snippet
tags: [string,regexp]
author: chalarangelo author: chalarangelo
cover: bag-waiting cover: bag-waiting
firstSeen: 2020-03-25T12:37:13+02:00 dateModified: 2020-10-18T23:04:45+03:00
lastUpdated: 2020-10-18T23:04:45+03:00
--- ---
Checks if the given string contains any whitespace characters. Checks if the given string contains any whitespace characters.

View File

@ -1,10 +1,10 @@
--- ---
title: Converge branching functions title: Converge branching functions
tags: function type: snippet
tags: [function]
excerpt: Converges a list of branching functions into a single function and returns the result. excerpt: Converges a list of branching functions into a single function and returns the result.
cover: cherry-trees cover: cherry-trees
firstSeen: 2018-02-07T12:23:04+02:00 dateModified: 2021-01-08T00:23:44+02:00
lastUpdated: 2021-01-08T00:23:44+02:00
--- ---
Accepts a converging function and a list of branching functions and returns a function that applies each branching function to the arguments and the results of the branching functions are passed as arguments to the converging function. Accepts a converging function and a list of branching functions and returns a function that applies each branching function to the arguments and the results of the branching functions are passed as arguments to the converging function.

View File

@ -1,9 +1,9 @@
--- ---
title: Copy sign to number title: Copy sign to number
tags: math type: snippet
tags: [math]
cover: keyboard-tea cover: keyboard-tea
firstSeen: 2020-10-07T23:52:57+03:00 dateModified: 2020-10-07T23:52:57+03:00
lastUpdated: 2020-10-07T23:52:57+03:00
--- ---
Returns the absolute value of the first number, but the sign of the second. Returns the absolute value of the first number, but the sign of the second.

View File

@ -1,8 +1,9 @@
--- ---
title: Copy to clipboard async title: Copy to clipboard async
tags: browser,string,promise type: snippet
tags: [browser,string,promise]
cover: typing cover: typing
firstSeen: 2022-01-11T05:00:00-04:00 dateModified: 2022-01-11T05:00:00-04:00
--- ---
Copies a string to the clipboard, returning a promise that resolves when the clipboard's contents have been updated. Copies a string to the clipboard, returning a promise that resolves when the clipboard's contents have been updated.

View File

@ -1,9 +1,9 @@
--- ---
title: Copy to clipboard title: Copy to clipboard
tags: browser,string,event type: snippet
tags: [browser,string,event]
cover: typing cover: typing
firstSeen: 2017-12-31T11:40:33+02:00 dateModified: 2022-01-11T09:32:04+02:00
lastUpdated: 2022-01-11T09:32:04+02:00
--- ---
Copies a string to the clipboard. Copies a string to the clipboard.

View File

@ -1,9 +1,9 @@
--- ---
title: Count grouped elements title: Count grouped elements
tags: array,object type: snippet
tags: [array,object]
cover: tools cover: tools
firstSeen: 2018-01-11T13:45:53+02:00 dateModified: 2020-11-03T22:11:18+02:00
lastUpdated: 2020-11-03T22:11:18+02:00
--- ---
Groups the elements of an array based on the given function and returns the count of elements in each group. Groups the elements of an array based on the given function and returns the count of elements in each group.

View File

@ -1,9 +1,9 @@
--- ---
title: Count occurrences title: Count occurrences
tags: array type: snippet
tags: [array]
cover: dark-leaves-4 cover: dark-leaves-4
firstSeen: 2017-12-17T17:55:51+02:00 dateModified: 2020-10-18T23:04:45+03:00
lastUpdated: 2020-10-18T23:04:45+03:00
--- ---
Counts the occurrences of a value in an array. Counts the occurrences of a value in an array.

View File

@ -1,10 +1,10 @@
--- ---
title: Count substrings of string title: Count substrings of string
tags: string,algorithm type: snippet
tags: [string,algorithm]
author: chalarangelo author: chalarangelo
cover: obelisk cover: obelisk
firstSeen: 2020-12-31T13:58:51+02:00 dateModified: 2021-01-08T00:23:44+02:00
lastUpdated: 2021-01-08T00:23:44+02:00
--- ---
Counts the occurrences of a substring in a given string. Counts the occurrences of a substring in a given string.

View File

@ -1,9 +1,9 @@
--- ---
title: Count weekdays between two dates title: Count weekdays between two dates
tags: date type: snippet
tags: [date]
cover: organizer cover: organizer
firstSeen: 2020-10-11T11:44:44+03:00 dateModified: 2020-10-20T11:21:07+03:00
lastUpdated: 2020-10-20T11:21:07+03:00
--- ---
Counts the weekdays between two dates. Counts the weekdays between two dates.

View File

@ -1,9 +1,9 @@
--- ---
title: Counter title: Counter
tags: browser type: snippet
tags: [browser]
cover: touch-flower cover: touch-flower
firstSeen: 2018-05-06T17:55:46+03:00 dateModified: 2020-11-01T20:50:57+02:00
lastUpdated: 2020-11-01T20:50:57+02:00
--- ---
Creates a counter with the specified range, step and duration for the specified selector. Creates a counter with the specified range, step and duration for the specified selector.

View File

@ -1,9 +1,9 @@
--- ---
title: Create directory if not exists title: Create directory if not exists
tags: node type: snippet
tags: [node]
cover: sunrise-over-city cover: sunrise-over-city
firstSeen: 2018-12-12T19:25:16+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Creates a directory, if it does not exist. Creates a directory, if it does not exist.

View File

@ -1,9 +1,9 @@
--- ---
title: Create HTML element title: Create HTML element
tags: browser type: snippet
tags: [browser]
cover: flower-portrait-4 cover: flower-portrait-4
firstSeen: 2018-01-05T18:21:44+02:00 dateModified: 2020-10-19T18:51:03+03:00
lastUpdated: 2020-10-19T18:51:03+03:00
--- ---
Creates an element from a string (without appending it to the document). Creates an element from a string (without appending it to the document).

View File

@ -1,9 +1,9 @@
--- ---
title: Create event hub title: Create event hub
tags: browser,event type: snippet
tags: [browser,event]
cover: city-view cover: city-view
firstSeen: 2018-01-05T15:07:26+02:00 dateModified: 2020-09-15T16:28:04+03:00
lastUpdated: 2020-09-15T16:28:04+03:00
--- ---
Creates a pub/sub ([publishsubscribe](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern)) event hub with `emit`, `on`, and `off` methods. Creates a pub/sub ([publishsubscribe](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern)) event hub with `emit`, `on`, and `off` methods.

View File

@ -1,9 +1,9 @@
--- ---
title: CSV to array title: CSV to array
tags: string,array type: snippet
tags: [string,array]
cover: keyboard-tea cover: keyboard-tea
firstSeen: 2018-06-27T20:57:54+03:00 dateModified: 2022-01-30T12:14:39+02:00
lastUpdated: 2022-01-30T12:14:39+02:00
--- ---
Converts a comma-separated values (CSV) string to a 2D array. Converts a comma-separated values (CSV) string to a 2D array.

View File

@ -1,9 +1,9 @@
--- ---
title: CSV to JSON title: CSV to JSON
tags: string,object type: snippet
tags: [string,object]
cover: kettle-laptop cover: kettle-laptop
firstSeen: 2018-06-27T21:14:24+03:00 dateModified: 2022-01-30T12:14:39+02:00
lastUpdated: 2022-01-30T12:14:39+02:00
--- ---
Converts a comma-separated values (CSV) string to a 2D array of objects. Converts a comma-separated values (CSV) string to a 2D array of objects.

View File

@ -1,9 +1,9 @@
--- ---
title: Current URL title: Current URL
tags: browser type: snippet
tags: [browser]
cover: tropical-bike cover: tropical-bike
firstSeen: 2017-12-18T11:05:03+02:00 dateModified: 2020-10-20T11:46:23+03:00
lastUpdated: 2020-10-20T11:46:23+03:00
--- ---
Returns the current URL. Returns the current URL.

View File

@ -1,9 +1,9 @@
--- ---
title: Curry function title: Curry function
tags: function,recursion type: snippet
tags: [function,recursion]
cover: rocky-beach-2 cover: rocky-beach-2
firstSeen: 2017-12-10T15:21:35+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Curries a function. Curries a function.

View File

@ -1,10 +1,10 @@
--- ---
title: Cycle generator title: Cycle generator
tags: function,generator type: snippet
tags: [function,generator]
author: chalarangelo author: chalarangelo
cover: secret-tree cover: secret-tree
firstSeen: 2020-10-11T17:05:38+03:00 dateModified: 2020-10-11T17:05:38+03:00
lastUpdated: 2020-10-11T17:05:38+03:00
--- ---
Creates a generator, looping over the given array indefinitely. Creates a generator, looping over the given array indefinitely.

View File

@ -1,8 +1,9 @@
--- ---
title: Date range generator title: Date range generator
tags: date,function,generator type: snippet
tags: [date,function,generator]
cover: portal-timelapse cover: portal-timelapse
firstSeen: 2021-06-21T05:00:00-04:00 dateModified: 2021-06-21T05:00:00-04:00
--- ---
Creates a generator, that generates all dates in the given range using the given step. Creates a generator, that generates all dates in the given range using the given step.

View File

@ -1,9 +1,9 @@
--- ---
title: Day name title: Day name
tags: date type: snippet
tags: [date]
cover: interior cover: interior
firstSeen: 2020-10-04T00:31:08+03:00 dateModified: 2020-11-01T20:50:57+02:00
lastUpdated: 2020-11-01T20:50:57+02:00
--- ---
Gets the name of the weekday from a `Date` object. Gets the name of the weekday from a `Date` object.

View File

@ -1,9 +1,9 @@
--- ---
title: Day of year title: Day of year
tags: date type: snippet
tags: [date]
cover: interior-3 cover: interior-3
firstSeen: 2018-09-29T13:22:20+03:00 dateModified: 2020-10-19T18:51:03+03:00
lastUpdated: 2020-10-19T18:51:03+03:00
--- ---
Gets the day of the year (number in the range 1-366) from a `Date` object. Gets the day of the year (number in the range 1-366) from a `Date` object.

View File

@ -1,9 +1,9 @@
--- ---
title: Days ago title: Days ago
tags: date type: snippet
tags: [date]
cover: sunrise-over-city cover: sunrise-over-city
firstSeen: 2020-10-06T05:35:23+03:00 dateModified: 2022-01-30T11:48:07+03:00
lastUpdated: 2022-01-30T11:48:07+03:00
--- ---
Calculates the date of `n` days ago from today as a string representation. Calculates the date of `n` days ago from today as a string representation.

View File

@ -1,9 +1,9 @@
--- ---
title: Days from now title: Days from now
tags: date type: snippet
tags: [date]
cover: tent-stars cover: tent-stars
firstSeen: 2020-10-09T02:49:17+03:00 dateModified: 2022-01-30T11:48:07+03:00
lastUpdated: 2022-01-30T11:48:07+03:00
--- ---
Calculates the date of `n` days from today as a string representation. Calculates the date of `n` days from today as a string representation.

View File

@ -1,8 +1,9 @@
--- ---
title: Number of days in month title: Number of days in month
tags: date type: snippet
tags: [date]
cover: laptop-plants-2 cover: laptop-plants-2
firstSeen: 2021-06-13T05:00:00-04:00 dateModified: 2021-06-13T05:00:00-04:00
--- ---
Gets the number of days in the given `month` of the specified `year`. Gets the number of days in the given `month` of the specified `year`.

View File

@ -1,10 +1,10 @@
--- ---
title: Debounce promise title: Debounce promise
tags: function,promise type: snippet
tags: [function,promise]
excerpt: Creates a debounced function that returns a promise. excerpt: Creates a debounced function that returns a promise.
cover: ice cover: ice
firstSeen: 2020-10-10T21:09:04+03:00 dateModified: 2020-10-19T18:51:03+03:00
lastUpdated: 2020-10-19T18:51:03+03:00
--- ---
Creates a debounced function that returns a promise, but delays invoking the provided function until at least `ms` milliseconds have elapsed since the last time it was invoked. Creates a debounced function that returns a promise, but delays invoking the provided function until at least `ms` milliseconds have elapsed since the last time it was invoked.

View File

@ -1,9 +1,9 @@
--- ---
title: Debounce function title: Debounce function
tags: function type: snippet
tags: [function]
cover: solitude-beach cover: solitude-beach
firstSeen: 2018-01-28T15:18:26+02:00 dateModified: 2021-10-13T19:29:39+02:00
lastUpdated: 2021-10-13T19:29:39+02:00
--- ---
Creates a debounced function that delays invoking the provided function until at least `ms` milliseconds have elapsed since its last invocation. Creates a debounced function that delays invoking the provided function until at least `ms` milliseconds have elapsed since its last invocation.

View File

@ -1,9 +1,9 @@
--- ---
title: Decapitalize string title: Decapitalize string
tags: string type: snippet
tags: [string]
cover: forest-balcony cover: forest-balcony
firstSeen: 2018-01-11T11:58:40+02:00 dateModified: 2020-11-01T20:50:57+02:00
lastUpdated: 2020-11-01T20:50:57+02:00
--- ---
Decapitalizes the first letter of a string. Decapitalizes the first letter of a string.

View File

@ -1,9 +1,9 @@
--- ---
title: Deep clone object title: Deep clone object
tags: object,recursion type: snippet
tags: [object,recursion]
cover: neon-desk-2 cover: neon-desk-2
firstSeen: 2018-01-23T20:48:46+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Creates a deep clone of an object. Creates a deep clone of an object.

View File

@ -1,9 +1,9 @@
--- ---
title: Deep flatten array title: Deep flatten array
tags: array,recursion type: snippet
tags: [array,recursion]
cover: digital-nomad-4 cover: digital-nomad-4
firstSeen: 2017-12-17T17:55:51+02:00 dateModified: 2020-10-22T20:23:47+03:00
lastUpdated: 2020-10-22T20:23:47+03:00
--- ---
Deep flattens an array. Deep flattens an array.

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