Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
// goto: localhost:9090/ | |
// use step through and a break point to see the names | |
var original = '(function () {var aloha=1;})()'; | |
var generated = original.replace(/aloha/g, 'hello'); | |
var map = new (require('./').SourceMapGenerator)({ | |
file: "source-mapped.js" | |
}); | |
var position = {line: 1, column: original.indexOf('aloha')+1}; | |
map.addMapping({ | |
generated: position, |
{ | |
"version": 3, | |
"file": "example.js", | |
"sourceRoot": "", | |
"sources": ["example.ts"], | |
"names": ["this", "_this"], | |
"mappings": ";AAAA,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAE,OAAO,EAAE;IACrC,KAAI,CAAC,WAAW,GAAG,aAAa;AACpC,CAAC,CAAC", | |
"x_ms_scopes": "AA>IA<", | |
"x_ms_locals": "AC,A" | |
} |
// DEPRECATED: See "Expand All Comments" at https://gist.github.com/peterflynn/ace5dd3d7a8ec645cd42 for | |
// a more up to date, maintained version of this. | |
// Original bookmarklet from this gist (does not work anymore): | |
// javascript:(function() { $(".outdated-diff-comment-container").addClass("open"); }()); | |
// Newer, working version (from link above as of Jan 2017): | |
// javascript:(function() { document.querySelectorAll(".outdated-diff-comment-container").forEach(function(n) {n.classList.add("open")}) }()); |