Skip to content

Instantly share code, notes, and snippets.

View xykj61's full-sized avatar

keaton "kj" livermore-dunsford xykj61

View GitHub Profile
@xykj61
xykj61 / .spacemacs
Created January 8, 2017 18:14
.spacemacs config file
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
@xykj61
xykj61 / README.md
Created February 16, 2017 01:55 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@xykj61
xykj61 / README.md
Created February 16, 2017 01:55 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@xykj61
xykj61 / iterm2.md
Created February 16, 2017 01:56
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [
@xykj61
xykj61 / gist:f8e1d286e9da36eb4613beb67d558445
Created February 16, 2017 01:58 — forked from chrissimpkins/gist:5bf5686bae86b8129bee
Atom Editor Cheat Sheet (Sweetmeat)

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
#!/usr/bin/env bash
# ~/.macos — https://mths.be/macos
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
sudo -v
# You can override some default options with config.fish:
#
set -g theme_short_path yes
function fish_prompt
set -l last_command_status $status
set -l cwd
if test "$theme_short_path" = 'yes'
set cwd (basename (prompt_pwd))
brew install ack gnupg libusb pinentry adns gnupg libuv protobuf asciidoc gnutls libvterm python asciinema go libyaml python3 autoconf grep llvm ragel automake help2man lolcat ranger bash htop lorem re2c boost hub luajit readline calc icu4c lynx rename cask imagemagick make ruby cmake irssi massren screen coreutils isl mobile screenresolution curl ispell moreutils speedtest-cli dateutils jemalloc mosh sqlite diffutils jpeg mpfr ssh-copy-id docbook jq msgpack the_silver_searcher docbook kakoune ncurses thefuck docker libassuan neofetch tmux doctl libevent neovim trash emacs libffi nettle tree findutils libgcrypt node unibilium fish libgpg npth urbit freetype libksba nyancat vim fswatch libmpc oniguruma weechat gcc libpng openssl wget gdbm libsigsegv openssl xz gettext libtasn1 p11 yarn git libtermkey pandoc youtube-dl glib libtiff pcre zsh gmp libtool pcre2 libunistring perl

Keybase proof

I hereby claim:

  • I am keatondunsford on github.
  • I am keatondunsford (https://keybase.io/keatondunsford) on keybase.
  • I have a public key whose fingerprint is 27AF C89B F166 7C18 5C7D 12DD 58FC B926 568F BD7F

To claim this, I am signing this object: