Skip to content

Instantly share code, notes, and snippets.

View hicksca's full-sized avatar

Carl Hicks hicksca

  • DC
View GitHub Profile
@hicksca
hicksca / emacs-cheatsheet.md
Last active November 3, 2015 05:50
Hicksca
Keys Description
C-a Move to beginning of line.
M-m Move to first non-whitespace character on the line.
C-e Move to end of line.
C-f Move forward one character.
C-b Move backward one character.
M-f Move forward one word (I use this a lot).
M-b Move backward one word (I use this a lot, too).
C-s Regex search for text in current buffer and move to it. Press C-s again to move to next match.

Keybase proof

I hereby claim:

  • I am hicksca on github.
  • I am hicksca (https://keybase.io/hicksca) on keybase.
  • I have a public key whose fingerprint is F2F2 E3C0 0682 F045 D8FE 6317 27D1 23BC 4A19 E9D1

To claim this, I am signing this object:

#!/usr/bin/env bash
(open -a /Applications/Emacs.app "$PWD/$@") &
This is an example for the blackAndWhite README
@hicksca
hicksca / .gitignore
Last active August 29, 2015 14:23 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@hicksca
hicksca / .vimrc
Last active August 29, 2015 14:06
My .vimrc (plugins I'm currently using: closetag, ctrlp, delimitMate, nerdtree, airline, fugitive, vim-javascript, vim-json, vim-markdown, sensible) Solarized color scheme set to dark
execute pathogen#infect()
syntax on
filetype plugin indent on
" Sets Solarized color scheme (this is set by defult by iterm on this machine)
syntax enable
set background=dark
colorscheme solarized
:set list lcs=tab:\|\
@hicksca
hicksca / post_to_GitHub.py
Last active July 2, 2018 03:48 — forked from MalphasWats/post_to_GitHub.py
Script used in Editorial to post to jekyll blog hosted on github.
#coding: utf-8
import keychain
import console
import editor
import time
import re
import requests
import json