I had several branches in a stack:
* feature-part-4 (HEAD)
* feature-part-3
* feature-part-2
* feature-part-1
* mainI had several branches in a stack:
* feature-part-4 (HEAD)
* feature-part-3
* feature-part-2
* feature-part-1
* main| @mixin _scrollerThumb($size, $color) { | |
| &::-webkit-scrollbar-thumb { | |
| border: ($size / 3) var(--border-style) transparent; | |
| border-radius: var(--border-radius-small); | |
| background-color: $color; | |
| background-clip: content-box; | |
| -webkit-background-clip: content-box; | |
| } | |
| &::-webkit-scrollbar-thumb:hover { |
| export function setAbortableTimeout( | |
| callback: (...args: any[]) => void, | |
| delayInMilliseconds: number, | |
| signal: AbortSignal, | |
| ...args: any[] | |
| ) { | |
| if (!signal) { | |
| return setTimeout(callback, delayInMilliseconds, ...args); | |
| } |
| type VariadicTupleOfVariadicTuples = readonly [...(readonly [...(readonly unknown[])])]; | |
| type ProductResult<T extends VariadicTupleOfVariadicTuples> = { | |
| // @ts-expect-error should be good | |
| [K in keyof T]: T[K][number]; | |
| }; | |
| function product<T extends VariadicTupleOfVariadicTuples>(arrays: T): ProductResult<T> { | |
| return arrays.reduce( |
It should be a tool that's used by developers to help adopt tooling.
When adopting something new, or experimenting with a new tool, it is important to keep track of the experiences, good or bad, of using the tool and the consquences of it.
| // ==UserScript== | |
| // @name Yad2 Fixes | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://www.yad2.co.il/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=co.il | |
| // @grant none | |
| // ==/UserScript== |
| /** | |
| * @type {import('@commitlint/types').UserConfig} | |
| */ | |
| module.exports = { | |
| extends: ['@commitlint/config-conventional', '@commitlint/config-nx-scopes'], | |
| rules: { | |
| // NOTE: uncomment this if you want to alter the scopes | |
| // 'scope-enum': async (ctx) => { | |
| // const projects = | |
| // require('@commitlint/config-nx-scopes').utils.getProjects(ctx); |
| /* eslint-disable @typescript-eslint/no-explicit-any */ | |
| import { getSchemaPath, OpenAPIObject } from '@nestjs/swagger'; | |
| import _set from 'lodash.set'; | |
| import _get from 'lodash.get'; | |
| function flattenObject(theObject: any): Record<string, any> { | |
| const toReturn: any = {}; | |
| for (const objectKey in theObject) { |
| declare namespace Cypress { | |
| interface Chainable { | |
| tid: Cypress.Chainable['get']; | |
| } | |
| } | |
| function attributeSelector(key: string, value: string) { | |
| return `[${key}=${value}]`; | |
| } |