Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
const { data: accounts } = useDrizzleLive((db) => | |
db.query.accounts.findMany({ | |
limit: 100, | |
with: { | |
institution: true, | |
}, | |
}), | |
) |
"use client"; | |
import React from "react"; | |
import { View, StyleSheet, Animated, Easing, ViewStyle } from "react-native"; | |
const BASE_COLORS = { | |
dark: { primary: "rgb(17, 17, 17)", secondary: "rgb(51, 51, 51)" }, | |
light: { | |
primary: "rgb(250, 250, 250)", | |
secondary: "rgb(205, 205, 205)", |
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
Although @setup/node as a built-in cache option, it lacks an opportunity regarding cache persistence. Depending on usage, the action below might give you faster installs and potentially reduce carbon emissions (♻️🌳❤️).
Yarn 3+ with nodeLinker: node-modules. (Not using yarn ? see the corresponding pnpm 7 action gist)
import React from "react"; | |
import { Dimensions, TextInput, ScrollView } from "react-native"; | |
import Animated, { | |
useAnimatedKeyboard, | |
useAnimatedReaction, | |
runOnJS, | |
KeyboardState, | |
useAnimatedProps, | |
useAnimatedScrollHandler, |
/* | |
FREE TO USE! COPY AND PASTE INTO YOUR PROJECT. TELL YOUR FRIENDS ABOUT MAPPABLE TYPES! | |
How to use: | |
install dependencies (tree shakable): | |
`yarn add fp-ts ts-toolbelt normalizr` | |
Your schema definitions should look like this: |
{ | |
"explorer.experimental.fileNesting.enabled": true, | |
"explorer.experimental.fileNesting.patterns": { | |
"*.ts": "$(capture).js, $(capture).d.ts, $(capture).test.ts", | |
"*.js": "$(capture).js.map, $(capture).min.js, $(capture).d.ts, $(capture).test.js", | |
"*.jsx": "$(capture).js", | |
"*.tsx": "$(capture).ts, $(capture).*.ts, $(capture).*.tsx", | |
"tsconfig.json": "tsconfig.*.json", | |
"docker-compose.yml": "docker-compose.*.yml", | |
".env": ".env.*", |
import { useEffect, useState } from 'react' | |
import { AccessibilityInfo } from 'react-native' | |
// Adapted from https://github.com/infiniteluke/react-reduce-motion/blob/master/src/targets/native/index.js | |
export const useReduceMotion = (): boolean => { | |
const [shouldReduceMotion, setShouldReduceMotion] = useState(false) | |
useEffect(() => { | |
const handleChange = (isReduceMotionEnabled: boolean): void => { | |
setShouldReduceMotion(isReduceMotionEnabled) |
#!/bin/bash | |
infile="TestClipTwoMin.mp4" | |
datafile="TestClipTwoMinData.csv" | |
crfs=("18" "19" "20" "21" "22" "23" "24" "25" "26" "27") | |
presets=("ultrafast" "superfast" "veryfast" "faster" "fast" "medium" "slow" "slower" "veryslow") | |
echo 'CRF,Preset,Time (Secs),Size (MB)' >> "$datafile" |