- Morocco
-
10:16
(UTC +02:00) - in/hichambenjelloun
Pinned Loading
-
Memoizing recursive functions
Memoizing recursive functions 1const memoizeFactory = hashFn => fn => {
2const memoize = fn => {
3const cache = {};
45return (...args) => {
-
How to install VMware Workstation Pr...
How to install VMware Workstation Pro 16.2.3 on Fedora 36 1# Install VMware Workstation Pro 16.2.3 on Fedora 3623# Install packages to build kernel modules4sudo dnf install @development-tools
5sudo dnf install kernel-headers-$(uname -r) kernel-devel-$(uname -r) dkms elfutils-libelf-devel qt5-qtx11extras
-
Currying functions
Currying functions 1/**2* Transforms a function of the form:3* fn = (p1, ..., pN) => f(p1, ...pN)4* to its curried form:5* curried = p1 => p2 => ... => pN => fn(p1, p2, ..., pN); -
Rearrange object structure
Rearrange object structure 1import _ from 'lodash';
234const isPlainObject = value =>
5value === Object(value) &&
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.



