Skip to content

Instantly share code, notes, and snippets.

View andrew-bierman's full-sized avatar

Andrew Bierman andrew-bierman

View GitHub Profile
@nderscore
nderscore / TamaguiZeego.tsx
Last active February 9, 2025 20:50
Example of how to wrap Zeego's components with Tamagui styles
import { FC } from 'react';
/**
* Utilities to make Typescript happy wrapping Zeego components with Tamagui's
* styled() components. These utils do nothing except assign Typescript types.
*
* Makes the following props optional and of `unknown` type:
* - children
* - key
*
@jamesurobertson
jamesurobertson / react-cheatsheet.md
Last active March 18, 2023 03:21
React Cheatsheet for functional components
@bdpwebdesign
bdpwebdesign / key_mapping.md
Last active November 16, 2024 05:48
Apple Magic Keyboard mapping for Linux Mint

Map an Apple Magic Keyboard to a Linux machine

Configured for a Mac-like experience

Apple Magic Keyboard 2: Model A1644 (same as MLA22LL/A ?)

Mapping for Linux Mint 18 Cinnamon 64-bit

xmodmap source

@jonlabelle
jonlabelle / string-utils.js
Last active December 15, 2024 21:36
Useful collection of JavaScript string utilities.
// String utils
//
// resources:
// -- mout, https://github.com/mout/mout/tree/master/src/string
/**
* "Safer" String.toLowerCase()
*/
function lowerCase(str) {
return str.toLowerCase();