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
/******** BOOKMARKLET BEGINS ON NEXT LINE ********/var _getScript_=false? | |
javascript: | |
function _getScript_(url, callback, something) { | |
var h,s,pl | |
if (/^\/\//.test(url)) { | |
url = ((location.protocol === "https:") ? "https:" : "http:") + url; | |
} | |
h = document.getElementsByTagName("head")[0]; | |
s = document.createElement("script"); | |
s.src = url; |
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
;; Stolen from: | |
;; http://mikehucka.postach.io/post/modifying-emacss-vc-diff-for-word-oriented-diffs | |
;; | |
;; Improvements: | |
;; - Be smarter about adding --word-diff to `vc-git-diff-switches' and | |
;; not clobbering any existing settings. | |
;; - Use `defface' as the docstring for `make-face' recommends. | |
;; - Base face defaults on `diff-added' and `diff-removed'. | |
;; - Rename `vc-diff-deleted-face' to `vc-diff-removed-face' for | |
;; consistency with existing face naming conventions. |
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
Show hidden characters
/*! | |
* Options for JSHint, a JavaScript code quality checking tool. | |
* https://jshint.com/docs/options/ | |
*/ | |
// These defaults are for code that is: | |
// - executed directly by the web browser (i.e., not transpiled) | |
// - on public-facing web sites (i.e., not internal) | |
// | |
// For Node.js: |