Skip to content

Instantly share code, notes, and snippets.

View WagnerMoreira's full-sized avatar

Wagner Moreira WagnerMoreira

View GitHub Profile
@WagnerMoreira
WagnerMoreira / Sollving JS Problems Algorithm Raw
Last active December 8, 2017 14:25
Sollving JS Problems Algorithm
1 - stop hammering the same issue
2 - look over all of your lines
3 - re-read all of your code
4 - change the order of methods, remember that methods can be triggered the exactly order you put them
5 - you will find a solution
@WagnerMoreira
WagnerMoreira / rxjs_operators_by_example.md
Created September 28, 2017 20:05 — forked from btroncone/rxjs_operators_by_example.md
RxJS 5 Operators By Example
@WagnerMoreira
WagnerMoreira / tmux-cheatsheet.markdown
Created August 18, 2017 00:28 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@WagnerMoreira
WagnerMoreira / tmux.md
Created August 18, 2017 00:28 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@WagnerMoreira
WagnerMoreira / grid-layout-css.css
Last active August 16, 2017 20:49
grid layout
#garden {
display: grid;
grid-template-columns: 20% 20% 20% 20% 20%;
grid-template-rows: 20% 20% 20% 20% 20%;
}
#poison {
grid-column-start: -3;
}

I think this deserves a clear visible answer which is hidden in form of a comment under the first answer.

Assuming the default tmux configuration is being used, novice tmux users please follow the instructions below to split the pane

To split the pane horizontally

Press Ctrl+B

Release pressed keys in Step 1

Advanced JavaScript Learning Resources

This is a list of advanced JavaScript learning resources from people who responded to this [Tweet][13] and this [Tweet][20].

  • [You Don't Know JS][3]

  • [Frontend Masters courses by Kyle Simpson][12]

  • [@mpjme][6]'s [YouTube videos][5]

//============================================================
// Typography
//============================================================
// An rem font-size mixin providing fallback to px
@mixin font-size($sizeValue: 1.4) {
$remValue: $sizeValue;
$pxValue: ($sizeValue * 10);
font-size: #{$pxValue}px;