Instantly share code, notes, and snippets.

View gist:13b1c808a33b478919d3dd239d5c0804
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))
View nix-darwin-reinstall-error.txt
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]
View gist:e5807e67651e4b2d8f83669abe7781b8
λ 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
View operator-mono.css
This file has been truncated, but you can view the full file.
@font-face {
font-family: "Operator Mono";
font-style: normal;
font-weight: 400;
View Makefile
SHELL := /bin/bash
bin := /usr/local/bin
key := $(HOME)/.ssh/id_rsa.pub
github_key := $(HOME)/.ssh/github.txt
github_remote_root := git@github.com:jrolfs
homeshick_remote := git://github.com/andsens/homeshick.git
View Makefile
SHELL := /bin/bash
bin = /usr/local/bin
key = $(HOME)/.ssh/id_rsa.pub
upload-key = $(HOME)/.bootstrap.txt
homeshick = $(HOME)/.homesick/repos/homeshick/homeshick.sh
homeshick_runtime = source $(HOME)/.homesick/repos/homeshick/homeshick.sh
main: dot macostmux neovim
View Makefile
SHELL := /bin/bash
bin = /usr/local/bin
key = $(HOME)/.ssh/id_rsa.pub
upload-key = $(HOME)/.bootstrap.txt
homeshick = $(HOME)/.homesick/repos/homeshick/homeshick.sh
homeshick_runtime = source $(HOME)/.homesick/repos/homeshick/homeshick.sh
main: dot macostmux neovim
View gist:d10612665fcdd4bda28acf1a332fee13
const tree = markdown.parse(fs.readFileSync('README.md', 'utf8'));
const taskOptions = lodash.chain(tree)
.transform((memo, node) => {
if (memo.section && memo.list) {
} else if (node[0] === 'header' && node[1].level === 2 && node[2].match(/Making/)) {
memo.section = true;
} else if (node[0] === 'header' && node[1].level === 5 && node[2].match(/Options/)) {
memo.list = true;
}
View jessie-bushnell-dietary-restrictions.txt
No dairy, eggs, wheat, spelt, tomatoes, potatoes, eggplant, bell peppers (any peppers), chocolate, or soy
View txt-to-markdown.vim
augroup syntax
autocmd! BufRead,BufNewFile *.txt set syntax=markdown
augroup END