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
require('dotenv').config() |
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
docker run -it --rm --name redis -p 6379:6379 redis | |
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
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management | |
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
git tag -a v1.0.0 7receb02 -m "Your message here" | |
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
yarn test --coverage | |
cd coverage/lcov-report |
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
docker ps -q | xargs docker stop |
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
iflabel: | |
if (true) { | |
console.log('before break ') | |
break iflabel | |
console.log('after break ') | |
} |
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
createComponent(Component, Container, propsData = {}, onClose = () => {}) { | |
const ComponentClass = Vue.extend(Component) | |
const instance = new ComponentClass({ | |
propsData | |
}) | |
// instance.$slots.default = ['Click me!'] | |
instance.$on('close', () => { | |
Container.removeChild(instance.$el) | |
instance.$destroy() | |
onClose() |
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
➜ ~ cat .ssh/config | |
Host * | |
UseKeyChain yes | |
Host 10.10.20.23 | |
User josiel_faleiros | |
IdentityFile /Users/josielfaleiros/.ssh/my-key.pem |
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
~/.my.cnf | |
[mysqldump] | |
user=mysqluser | |
password=secret | |
mysqldump -u dbname mysqluser > ~/"dbname_$(date +"%Y_%m_%d_%I_%M_%p").sql" |
NewerOlder