Skip to content

Instantly share code, notes, and snippets.

View yurkimus's full-sized avatar
💞

Iurii yurkimus

💞
View GitHub Profile
@yurkimus
yurkimus / nextui.md
Created December 10, 2024 20:03
nextui setup with tailwind and postcss

Tailwind

  • Ensure tailwind.config.(m)js has correct content.

PostCSS

  • Ensure postcss.config.(m)js is created and plugins are availabe within the configuration.

Docker

@yurkimus
yurkimus / compose.yml
Last active October 30, 2024 21:11
Traefik configuration with neo4j http and bolt settings.
services:
neo4j:
image: neo4j:latest
container_name: neo4j
networks:
- traefik
labels:
- traefik.enable=true
# Web
- traefik.http.routers.neo4j-web.entrypoints=web
let Columns = {
Coin: 'Coin',
Chain: 'Chain',
Type: 'Type',
Qty: 'Qty',
TransactionFee: 'TransactionFee',
Address: 'Address',
Txid: 'Txid',
Status: 'Status',
DateTime: 'DateTime',
import { curry } from '@yurkimus/curry'
import { isLike } from '@yurkimus/types'
export var chain = curry(
(predicate0, predicate1, ...parameters) => {
if (!isLike('Function', predicate0)) {
throw new TypeError('"predicate0" must be a function')
}
if (!isLike('Function', predicate1)) {
@yurkimus
yurkimus / [git] cli | delete all branches
Last active August 27, 2024 13:24
Delete all branches except main
# -v --invert-match
git branch -D $(git branch | grep -v main)
@yurkimus
yurkimus / mix.js
Created January 5, 2024 17:08
Average of 3-color tuples
const hexs = [
// Karjala
[ '538854', 'be2928', '000000' ],
// Ludic
[ '529f54', 'be2928', '3d3b7b' ],
// Veps
[ '16b370', 'ffff00', '155cdc' ],
// Russian-side Finnish
[ 'ffd301', 'ef2d20', '0167b3' ],
// Izhorian