- End of the file:
shift + g
- Next line:
j
- Go down a defined number of lines:
number + j
- Skip to next word:
w
- Skip back a word:
b
- Skip to next section:
W
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
def sum(arr) | |
arr.empty? ? 0 : arr.shift + sum(arr) | |
end |
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
function injectGitFileStatus() | |
{ | |
const timeout = 5000; | |
const addedColor = "#98C379"; | |
const modifiedColor = "#D19A66"; | |
const stagedColor = "#E06059"; | |
const ignoredOpacity = "0.4"; | |
const explorer = document.getElementById("workbench.view.explorer"); | |
if (explorer) |
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
/** | |
* Callback for passing back result data. | |
* @callback updateCallback | |
* @param {string} result - A success or error string | |
*/ | |
/** | |
* Callback to run after all is done. | |
* @callback finalCallback | |
*/ |
OlderNewer