Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
CREATE EXTENSION btree_gist; | |
CREATE TABLE room_reservations ( | |
room_id integer, | |
reserved_at timestamptz, | |
reserved_until timestamptz, | |
canceled boolean DEFAULT false, | |
EXCLUDE USING gist ( | |
room_id WITH =, tstzrange(reserved_at, reserved_until) WITH && | |
) WHERE (not canceled) |
use std::fmt::Debug; | |
const DEFINITIONS: &'static [&'static str] = &[ | |
"a flaky coating of iron oxide", | |
"fungal plant disease", | |
"a reddish-brown color", | |
]; | |
fn main() { | |
print_all(DEFINITIONS); |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
#!/bin/bash | |
# There's a better way to do this! Use: | |
# https://github.com/dfm/rename-github-default-branch | |
# instead. | |
# | |
# Also: don't change the default branch name on your gists! Github appears to have them | |
# locked to master; it will break your gist. | |
set -e |
The nixos.org website suggests to use:
sh <(curl -L https://nixos.org/nix/install)
For macOS on Intel (x86_64) or Apple Silicon (arm64) based macs, we need to use
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume