Skip to content

Instantly share code, notes, and snippets.

View olchyk98's full-sized avatar
🤍
I make people confused.

oles olchyk98

🤍
I make people confused.
View GitHub Profile
@iest
iest / readme.md
Last active December 4, 2024 05:24
Moving from lodash/fp to ramda

Moving from lodash/fp to ramda

How

Good news is we're only using lodash/fp, which makes it easier to match function signatures.

  1. Find most-used lodash methods, we'll convert these first maybe?
  2. Go through each lodash method, find the ramda equivalent where possible
  3. Write a codemod to rewrite those usages
  4. Who the fuck thought function aliases were a good idea
@nicolasdao
nicolasdao / open_source_licenses.md
Last active February 15, 2026 16:39
What you need to know to choose an open source license.
@DanDiplo
DanDiplo / JS-LINQ.js
Last active February 25, 2026 17:33
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Dan B.
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version):
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },