I hereby claim:
- I am camflan on github.
- I am camflan (https://keybase.io/camflan) on keybase.
- I have a public key ASBWldj25UstKpIdjR1041dhtSkquNTiGiIyWP0zrYHGpAo
To claim this, I am signing this object:
| export const numbers = [1, 2, 3, 4, 5, 6] as const; |
| beginswith() { case $2 in "$1"*) true;; *) false;; esac; } |
| # The initial version | |
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi | |
| # My favorite from the comments. Thanks @richarddewit & others! | |
| set -a && source .env && set +a |
| import functools | |
| import time | |
| from django.db import connection | |
| def timer(func): | |
| @functools.wraps(func) | |
| def wrapper_timer(*args, **kwargs): | |
| tic = time.perf_counter() |
| import { useState, useCallback, useLayoutEffect } from "react"; | |
| export interface DimensionObject { | |
| width: number; | |
| height: number; | |
| top: number; | |
| left: number; | |
| x: number; | |
| y: number; | |
| right: number; |
| const DEFAULT_CACHE_KEY_FN = JSON.stringify; | |
| /** | |
| * @typedef MakeCacheReaderOptions | |
| * @property {Function} [makeCacheKey] - Fn to serialize loader args for caching. Defaults to JSON.stringify | |
| * @property {Map} [cacheMap] - Existing map to use for promise caching | |
| */ | |
| export type MakeCacheReaderOptions<LoaderArgs extends unknown[]> = { | |
| makeCacheKey?: (args: LoaderArgs) => string; | |
| cacheMap?: Map<string, Promise<unknown>>; |
| <?php | |
| /** | |
| * QueryCounter | |
| * A class useful for debugging mysqli connections | |
| */ | |
| class QueryCounter { | |
| public $connection; | |
| private $stats = []; |
I hereby claim:
To claim this, I am signing this object:
| // ---- | |
| // libsass (v3.2.5) | |
| // ---- | |
| $type-scale: ( | |
| -15:0.066667rem, | |
| -10:0.186rem, | |
| -9:0.211rem, | |
| -8:0.26rem, | |
| -7:0.295rem, |