Skip to content

Instantly share code, notes, and snippets.

View saptarshiguha's full-sized avatar

Saptarshi Guha saptarshiguha

View GitHub Profile
sdasdasdas
Welcome to GNU Emacs, one component of the GNU/Linux operating system.
Get help C-h (Hold down CTRL and press h)
Emacs manual M-x info-emacs-manual Browse manuals C-h i
Emacs tutorial C-h t Undo changes C-x u
Buy manuals C-h RET Exit Emacs C-x C-c
Activate menubar M-`
(`C-' means use the CTRL key. `M-' means use the Meta (or Alt) key.
If you have no Meta key, you may instead type ESC followed by the character.)
Useful tasks:
---
title: The `mozaws` package and its use of the AWS cli tools
output:
html_document:
mathjax: default
toc: true
toc_depth: 3
toc_float: true
theme: paper
highlight: haddock
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
---
title: The `mozaws` package and it's use of the AWS cli tools
output:
html_document:
mathjax: default
toc: true
toc_depth: 3
toc_float: true
theme: paper
highlight: haddock
---
title: The `mozaws` package and it's use of the AWS cli tools
output:
html_document:
mathjax: default
toc: true
toc_depth: 3
toc_float: true
theme: paper
highlight: haddock
---
title: The `mozaws` package and it's use of the AWS cli tools
output:
html_document:
mathjax: default
toc: true
toc_depth: 3
toc_float: true
theme: united
highlight: haddock
Welcome to GNU Emacs, a part of the GNU operating system.
To follow a link, click Mouse-1 on it, or move to it and type RET.
To quit a partially entered command, type Control-g.
Important Help menu items:
Emacs Tutorial Learn basic Emacs keystroke commands
Read the Emacs Manual View the Emacs manual using Info
(Non)Warranty GNU Emacs comes with ABSOLUTELY NO WARRANTY
Copying Conditions Conditions for redistributing and changing Emacs
More Manuals / Ordering Manuals How to order printed manuals from the FSF
;; load paths
;; http://zmjones.com/mac-setup.html
(setq mac-option-key-is-meta nil)
(setq mac-option-modifier 'alt)
(server-start)
;; For loading packages installed via package.el
;; see http://stackoverflow.com/questions/11127109/emacs-24-package-system-initialization-problems/11140619#11140619
(setq package-enable-at-startup nil)
C-up>") 'xah-backward-block)
(global-set-key (kbd "<C-down>") 'xah-forward-block)
;;Use M-{ and M-} to activate the abbove(opt+shift+{)
(defun copy-from-osx ()
(shell-command-to-string "pbpaste"))
(defun paste-to-osx (text &optional push)
(let ((process-connection-type nil))
(let ((proc (start-process "pbcopy" "*Messages*" "pbcopy")))