Skip to content

Instantly share code, notes, and snippets.

View tonyslowdown's full-sized avatar

Joseph tonyslowdown

  • San Francisco Bay Area
View GitHub Profile
import Text.Printf
import Control.Exception
import System.CPUTime
time :: IO t -> IO t
time a = do
start <- getCPUTime
v <- a
end <- getCPUTime
let diff = (fromIntegral (end - start)) / (10^12)
@tonyslowdown
tonyslowdown / spacemacs-cheatsheet.md
Created February 25, 2018 22:30 — forked from davoclavo/spacemacs-cheatsheet.md
Spacemacs cheatsheet

emacs --daemon to run in the background. emacsclient.emacs24 <filename/dirname> to open in terminal

NOTE: "M-m and SPC can be used interchangeably".

  • Undo - C-/
  • Redo - C-?
  • Change case: 1. Camel Case : M-c 2. Upper Case : M-u
  1. Lower Case : M-l