Skip to content

davidcoles/macbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macbook recovery scripts

NOTE that this does not backup data, just keys and provides scripts to install brew, etc

backup

run the ./backup.sh script to backup ssh and gnupg keys to onedrive

recover

;; load emacs 24's package system. Add MELPA repository. (when (>= emacs-major-version 24) (require 'package) (add-to-list 'package-archives '("melpa" . "https://stable.melpa.org/packages/") ; many packages won't show if using stable t))

M-x package-list-packages Mx-package-install (eg. go-mode,yaml-mode)

(setq backup-directory-alist '(("" . "~/.emacs.d/backup"))) (autoload 'go-mode "go-mode" nil t) (add-to-list 'auto-mode-alist '("\.go\'" . go-mode)) (add-hook 'go-mode-hook (lambda () (add-hook 'before-save-hook 'gofmt-before-save) (setq-default) (setq tab-width 4) (setq standard-indent 4) (setq indent-tabs-mode nil))) (setq-default c-basic-offset 4)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors