See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
public class Merge { | |
public static int[] data; | |
public static void sort(int[] a, int lb, int ub) { | |
if (lb < ub) { | |
int mid = (lb + ub) / 2; | |
Merge.sort(a, lb, mid); | |
Merge.sort(a, mid + 1, ub); | |
Merge.concat(a, lb, mid, ub); | |
} |
class Merge { | |
static sort(a, lb, ub) { | |
if (lb < ub) { | |
const mid = parseInt((lb + ub) / 2) | |
Merge.sort(a, lb, mid) | |
Merge.sort(a, mid + 1, ub) | |
Merge.concat(a, lb, mid, ub) | |
} | |
} |
<?php | |
/** | |
* class Merge | |
*/ | |
class Merge { | |
/** | |
* sort | |
* @param array &$a (Pointer) | |
* @param int $lb |
# Init a new instance tmux
$ tmux
# Override xterm-256color:Tc for active true colors of TMUX
$ tmux set-option -ga terminal-overrides ",xterm-256color:Tc"
# Disconnect of session (without exit)
$ tmux detach
{ | |
"schemes" : | |
[ | |
{ | |
"background" : "#fafafa", | |
"black" : "#000000", | |
"blue" : "#3199e1", | |
"brightBlack" : "#686868", | |
"brightBlue" : "#399ee6", | |
"brightCyan" : "#4cbf99", |
Ctrl+b c Create a new window (with shell) | |
Ctrl+b w Choose window from a list | |
Ctrl+b 0 Switch to window 0 (by number ) | |
Ctrl+b , Rename the current window | |
Ctrl+b % Split current pane horizontally into two panes | |
Ctrl+b " Split current pane vertically into two panes | |
Ctrl+b o Go to the next pane | |
Ctrl+b ; Toggle between the current and previous pane | |
Ctrl+b x Close the current pane |
export type Either<L, A> = Left<L, A> | Right<L, A> | |
export class Left<L, A> { | |
readonly value: L | |
constructor (value: L) { | |
this.value = value | |
} | |
isLeft (): this is Left<L, A> { |