echo 'export DISABLE_NOTIFIER=true;' >> ~/.bash_profile
source ~/.bash_profile
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
#!/bin/bash | |
TOOLBELT_CFG_FILE="$HOME/.config/configstore/vtex.json" | |
parse_vtex_json() { | |
cat "$TOOLBELT_CFG_FILE" | grep $1 | sed -n "s/^.*\"$1\": \"\(.*\)\".*$/\1/p" | |
} | |
get_vtex_account() { | |
parse_vtex_json "account" | |
} | |
ACCOUNT=`parse_vtex_json "account"` | |
WORKSPACE=`parse_vtex_json "workspace"` |
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
alias nvim='print -Pn "\e]0;${PWD##*/}-vim\a";nvim' | |
alias vl='vtex link' | |
alias vls='vtex ls' | |
alias vs='vtex switch' | |
alias vua='vtex unlink --all' | |
alias vwr='vtex workspace reset' | |
oni() | |
{ | |
/Applications/Onivim2.app/Contents/MacOS/Oni2_editor $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
{ | |
"env": "prod", | |
"account": "$VTEX_ACCOUNT", | |
"workspace": "master", | |
"login": "$VTEX_AUTH_LOGIN", | |
"token": "$VTEX_AUTH_TOKEN" | |
} |
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
- Balta.io | |
- CodAffection | |
- Codedamn | |
- EspecializaTi | |
- Jose Carlos Macoratti | |
- Michelli Brito | |
- The Net Ninja | |
- Vinicius Thiengo | |
- Traversy Media | |
- Mango |
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
const axios = require('axios'); | |
const LIST_ENDPOINT = `https://loja.myvtex.com/api/template-render/pvt/templates/getlist`; | |
const TEMPLATE_ENDPOINT = `https://loja.myvtex.com/api/template-render/pvt/templates/`; | |
const JSON_ENDPOINT = `https://loja.myvtex.com/api/template-render/pvt/templates/json`; | |
const LIST = []; | |
const AUTH_COOKIE = | |
'VtexIdclientAutCookie=$$$$$$$$;'; |
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
Windows Registry Editor Version 5.00 | |
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |
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 React from 'react'; | |
import styled from 'styled-components'; | |
import css from '@styled-system/css'; | |
const Container = styled('div')( | |
css({ | |
backgroundColor: 'primary' | |
}) | |
) |
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
MONGO_URI= PLACE YOUR MONGO URI 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
1. Open CMD as Administrator | |
2. Paste the following commands into the Cmd: One by one, follow the order. | |
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE" | |
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type. | |
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 | |
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR | |
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH |