- http://stackoverflow.com/questions/804115 (
rebasevsmerge). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebasevsmerge) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
resetvscheckoutvsrevert) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse) - http://stackoverflow.com/questions/292357 (
pullvsfetch) - http://stackoverflow.com/questions/39651 (
stashvsbranch) - http://stackoverflow.com/questions/8358035 (
resetvscheckoutvsrevert)
This file contains hidden or 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
| prefix operator ++ | |
| prefix operator -- | |
| postfix operator ++ | |
| postfix operator -- | |
| @discardableResult prefix func ++( a: inout Int) -> Int { | |
| a += 1 | |
| return a | |
| } |
This file contains hidden or 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
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // default font size in pixels for all tabs | |
| fontSize: 12, | |
| // font family with optional fallbacks |
This file contains hidden or 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
| const $watchers = Symbol('watchers') | |
| export default class { | |
| constructor (props = {}, handlers = []) { | |
| this[$watchers] = [] | |
| this[Symbol.toStringTag] = this.constructor.name | |
| Object.defineProperty(this, '$watch', { | |
| value (prop, handler) { | |
| if (this[prop]) { |
This file contains hidden or 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
| #include "ScriptRunner.h" | |
| UWORD script_ptr = NULL; | |
| UWORD script_start_ptr = NULL; | |
| UBYTE script_ptr_bank = NULL; | |
| UBYTE script_continue = NULL; | |
| UBYTE script_stack_ptr = NULL; | |
| STACKFRAME script_stack[8] = { |
This file contains hidden or 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
| http { | |
| upstream backend { | |
| server node1.example.com; | |
| server node2.example.com; | |
| } | |
| } | |
| server { | |
| location / { | |
| proxy_pass http://backend; |