This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Define identifiers for distinguishing between your different interruptions | |
#define IT_MODE_EXAMPLE_INTERRUPTION 1 | |
#define IT_MODE_EXAMPLE_INTERRUPTION_2 2 | |
// ... Rest of Blockcode code unchanged | |
void InterruptionBlockCode::processLocalEvent(EventPtr pev) { | |
/// Other code | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Default directory for lisp files | |
(add-to-list 'load-path "~/.emacs.d/lisp") | |
(add-to-list 'load-path "~/share/emacs/site-lisp/") | |
;; Melpa | |
(require 'package) ;; You might already have this line | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.org/packages/") t) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Default directory for lisp files | |
(add-to-list 'load-path "~/.emacs.d/lisp") | |
(add-to-list 'load-path "~/share/emacs/site-lisp/") | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;;;;;; PACKAGES ;;;;;;;;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; MELPA | |
(require 'package) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Owin Request extensions. | |
/// <see href="https://gist.github.com/randyburden/42bc688780564ed01107"> Original Gist </see> | |
/// </summary> | |
public static class OwinRequestExtensions | |
{ | |
/// <summary> | |
/// Gets the combined request parameters from the form body, query string, and request headers. | |
/// </summary> | |
/// <param name="request">Owin request.</param> |