ctrl k --- Delete all to the right of the cursor
ctrl - --- Go back
ctrl shift - --- Go back
ctrl g --- Go to line or column
ctrl j --- Join lines
ctrl t --- Transpose letters
ctrl p --- Arrow up
ctrl n --- Arrow down
ctrl b --- Arrow left
- Heroku - https://www.heroku.com/
- Netlify - https://www.netlify.com/
- Github - https://github.com/
- Back-end com graphql e apollo server - https://github.com/luizomf/01-graphql-course
- Front-end com React JS e apollo client - https://github.com/luizomf/graphql-course-front-end-with-apollo-client
This file contains hidden or 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
_type: export | |
__export_format: 4 | |
__export_date: 2021-07-10T12:35:32.103Z | |
__export_source: insomnia.desktop.app:v2021.4.0 | |
resources: | |
- _id: req_704712d857a6467398fe33cc256861e9 | |
parentId: fld_eb580b455900487a8e4cf336beb24a97 | |
modified: 1625087424013 | |
created: 1625080330699 | |
url: "{{ _.baseUrl }}" |
This file contains hidden or 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
# SETTER = CONFIGURANDO UM VALOR (=) | |
# GETTER = OBTER UM VALOR (.) | |
class Pessoa: | |
def __init__(self, nome): | |
self._nome = nome | |
@property | |
def nome(self): | |
return self._nome |
This file contains hidden or 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
Aquivos que usei de um deploy anterior: | |
- https://github.com/luizomf/deploy-strapi-nextjs-ubuntu-20-04/tree/master/01-strapi | |
Instalação do node.js | |
- https://github.com/nodesource/distributions/blob/master/README.md |
This file contains hidden or 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
Ativar WSL2 | |
Tutorial oficial: https://docs.microsoft.com/en-us/windows/wsl/install-win10 | |
Passo 1 (PowerShell Admin): | |
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
Passo 2 (PowerShell Admin): |
This file contains hidden or 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
# Change username from old-username to new-username | |
sudo usermod -l old-username new-username | |
# You may also want to rename the user group name | |
# Change old-group-name to new-group-name | |
sudo groupmod --new-name old-group-name new-group-name | |
# If you need to change the user id for some reason | |
# Change user id for user new-username to 1001 | |
sudo usermod -u 1001 new-username |