Skip to content

Instantly share code, notes, and snippets.

View PimDerks's full-sized avatar
💭
GraphQL PluralSight course

Pim Derks PimDerks

💭
GraphQL PluralSight course
View GitHub Profile
@WomB0ComB0
WomB0ComB0 / reusable-providers.tsx
Last active January 17, 2026 17:00
A reusable providers component that almost eliminates the need for context API
'use client';
import type { JSX, JSXElementConstructor, ReactNode } from 'react';
/**
* Infers the props from a given React component constructor type.
*
* @template T - A React component constructor.
* @readonly
*/
@ffoodd
ffoodd / improved-sr-only.markdown
Last active September 2, 2026 07:52
Improved .sr-only

Improved .visually-hidden

Theorically bulletproof CSS class for visually hide anything and keep it accessible to ATs.

A Pen by ffoodd on CodePen.

License.

@XueshiQiao
XueshiQiao / gource.sh
Last active June 23, 2026 22:58 — forked from cgoldberg/gource.sh
Generate a MP4 Video for your Git project commits using Gource!
# 1.install gource using HomeBrew
$ brew install gource
# 2.install avconv
git clone git://git.libav.org/libav.git
cd libav
# it will take 3-5 minutes to complie, be patient.
./configure --disable-yasm
make && make install