tmux -CC
attach iTerm to tmuxtmux new -A -s <session-name>
creates a new named session or attaches to that session if already existscontrol + b
- commands“
creates a horizontal pane%
creates a vertical paneq
shows pane numbers, if you hit the number on the keyboard you will change to that paneo
moves between panes
x
kills the current pane, exit command also works
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
export default class ValueObject { | |
private readonly value: string; | |
constructor(value: string) { | |
if (!value) { | |
throw new ValidationError("ValueObject value cannot be empty"); | |
} | |
this.value = value; | |
} |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
didInsertElement() { | |
this._super(...arguments); | |
this.element.querySelector('input[type="file"]').removeAttribute('capture'); | |
} | |
}); |
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
# curl -s https://gist.githubusercontent.com/gcollazo/93853987c5e1fa362494315478cd0608/raw/01-run.sh | bash | |
echo "" | |
mkdir testnpmyanrnpm5 | |
cd testnpmyanrnpm5 | |
curl -s https://gist.githubusercontent.com/gcollazo/93853987c5e1fa362494315478cd0608/raw/npm-test.sh | bash | |
curl -s https://gist.githubusercontent.com/gcollazo/93853987c5e1fa362494315478cd0608/raw/yarn-test.sh | bash | |
cd .. |
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
import Ember from 'ember'; | |
import hbs from 'htmlbars-inline-precompile'; | |
export default Ember.Component.extend({ | |
layout: hbs` | |
<a href={{attrs.input}}>CLICK</a> | |
` | |
}); |
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
@media (max-width: 320px) { | |
body { background-color: red; } | |
} | |
@media (min-width: 321px ) and (max-width: 375px) { | |
body { background-color: blue; } | |
} | |
@media (min-width: 376px ) and (max-width: 425px) { | |
body { background-color: orange; } |
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
{ | |
"id":"6ce4a00a-677d-4265-8144-4873d3d0075d", | |
"url":"https://api.filepreviews.io/v2/previews/6ce4a00a-677d-4265-8144-4873d3d0075d/", | |
"status":"success", | |
"preview":{ | |
"original_size":{ | |
"width":"1280", | |
"height":"1024" | |
}, | |
"page":1, |
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
# The atom cli tool provides a command for installing packages | |
# that you have previously starred. Once you all you pakackages | |
# are starred installing is super easy `apm stars --install`. | |
# This little command unstars all packages in your profile | |
# and start only the ones you have installed. | |
# For this to work you need jq `brew install jq`. | |
alias atomstars='apm unstar $(apm stars --json | jq -r ".[].name") && apm star --installed' |
After a css live reload we noticed that source maps did update and line numbers shown in the style inspector where correct but the source files did not change. A quick close and open of the inspector seems to fix the issue.
Tested on Chrome:
- 47.0.2526.73 (64-bit): Has the problem
- 47.0.2526.73 beta (64-bit): Has the problem
- 49.0.2579.0 canary (64-bit): Works sometimes
Using ember-cli on Beta:
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
NewerOlder