Value is assignable to | {} |
object |
Record<string, unknown> |
---|---|---|---|
"string" |
Yes | No | No |
true |
Yes | No | No |
42 |
Yes | No | No |
42n |
Yes | No | No |
Symbol() |
Yes | No | No |
null |
No | No | No |
undefined |
No | No | No |
() => {} |
Yes | Yes | No |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
useToast as useChakraToast, | |
useMultiStyleConfig, | |
} from '@chakra-ui/react'; | |
type UseToastOptions = Omit<ChakraUseToastOptions, 'render'>; | |
const useToast = (hookOptions: ChakraUseToastOptions) => { | |
const chakraToast = useChakraToast(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
for repository in $(ls -1); do | |
if [ -d $repository ]; then | |
( | |
cd $repository | |
if [ $(git cat-file -t $1 2>/dev/null) ]; then | |
echo $(basename $PWD) | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo -e "Checking → key: ${1} / secret: ${2}\r" | |
command="docker run -e AWS_ACCESS_KEY_ID=$1 -e AWS_SECRET_ACCESS_KEY=$2 mikesir87/aws-cli bash -c \"env && echo -e '\n' && aws sts get-caller-identity\"" | |
echo -e "Running:\n\n $command \n" | |
eval $command |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add-fork () { | |
local source_remote=${1:-upstream} | |
local source_url=$(git remote get-url $source_remote) | |
local target_user=${2:-jrolfs} | |
local target_remote=${3:-origin} | |
local target_url=$(sed "s/:.*\//:$target_user\//" <<< $source_url) | |
git remote add $target_remote $target_url | |
} |
- 🛑 – Blocking; please discuss and address in this PR.
- 📌 – Non-blocking; discussion and resolution would be nice to have in this PR.
- ✏️ – Non-blocking; worth bringing attention to and discussing but any work is outside the scope of PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Continuing from a [thread](https://www.reddit.com/r/olkb/comments/85q26f/help_lets_split_mirroring_halves_or_not/dwa2gie/), but I think this might be helpful for other people experiencing similar issues. | |
Trying to keep things straightforward, here's a checklist for configuration decisions and associated macro definitions (`#define [identifier]`) with yours highlighted | |
◦ ❲ ✓ ❳ Orientation detection | |
☐ Cable Left ([MASTER_LEFT](https://github.com/qmk/qmk_firmware/blob/master/keyboards/lets_split/keymaps/default/config.h#L33)) | |
☑ Cable Right ([MASTER_RIGHT](https://github.com/qmk/qmk_firmware/blob/master/keyboards/lets_split/keymaps/default/config.h#L34)) | |
☐ EEPROM Flash ([EE_HANDS](https://github.com/qmk/qmk_firmware/blob/master/keyboards/lets_split/keymaps/default/config.h#L35)) | |
◦ ❲ ✓ ❳ Serial communication | |
☑ UART ([USE_SERIAL](https://github.com/qmk/qmk_firmware/blob/master/keyboards/lets_split/keymaps/default/config.h#L28)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It looks like nix-darwin is already installed... | |
Welcome to the nix-darwin installer! | |
Please enter your password for sudo authentication | |
Password: | |
Sorry, try again. | |
Password: | |
sudo authenticaion successful! | |
Setting up /run... | |
Configuring darwin channel... | |
downloading ‘file:///var/folders/vv/yql0swrj1j9gvw57b4y49nbw0000gn/T/pxYXpcIwS0/master.tar.gz’... [0/0 KiB, 0.0 KiB/s] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ jrolfs at Odrade in ~/.homesick/repos/macos master | |
• darwin-rebuild build | |
building the system configuration... | |
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/jrolfs/channels’ does not exist, ignoring | |
error: opening lock file ‘/nix/store/n6m5svrgp36x46mjp3n11y5hxsn4yl4z-setup-hook.sh.lock’: Permission denied | |
(use ‘--show-trace’ to show detailed location information) | |
λ jrolfs at Odrade in ~/.homesick/repos/macos master | |
• nix-env -i redis | |
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/jrolfs/channels’ does not exist, ignoring |
NewerOlder