- Log in to your Instagram account using a browser such as Chrome. (The script is verified to work correctly on Chrome.)
- Open the Developer Tools in Chrome. You can do this by:
- Pressing F12 on your keyboard, OR
├── src | |
│ ├── main | |
│ │ ├── java | |
│ │ │ └── com | |
│ │ │ └── example | |
│ │ │ ├── adapters | |
│ │ │ │ ├── controllers | |
│ │ │ │ │── database | |
│ │ │ │ │ ├── postgresql # Implementation for PostgreSQL | |
│ │ │ │ │ │ ├── entities # PostgreSQL entity classes |
# REST API Naming Guidelines | |
API routes should typically be named using nouns rather than verbs. | |
This aligns with the principle of using HTTP methods (verbs) like GET, POST, PUT, DELETE, etc., to perform actions on the resources represented by the nouns. | |
## Some guidelines for naming API routes | |
1. Use nouns: Name your API routes after the resources they represent. For example, if you have a resource representing users, the route could be /users. | |
2. Use plural nouns for collections: When dealing with collections of resources, it's a convention to use plural nouns. For example, /users for a collection of users, /posts for a collection of posts, etc. |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
su - $USER | |
# log out and log in again to make these changes effective |
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |
git config --list
git config --list --global
git config --list --local
git config --list --system
### STEP 1. Generate a new SSH key by the command below | |
```bash | |
ssh-keygen -t ed25519 -C "[email protected]" | |
``` | |
### STEP 2. Copy the SSH public key to your clipboard by the command below | |
```bash | |
# macOS | |
pbcopy < ~/.ssh/id_ed25519.pub | |
``` |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
openssl req -x509 -newkey rsa:4096 -sha256 -keyout example.key -out example.crt -subj "/CN=example.com" -days 3650 -passout pass:foobar
openssl x509 -x509toreq -in example.crt -out example.csr -signkey example.key -passin pass:foobar
require('crypto').randomBytes(48, function(err, buffer) { var token = buffer.toString('hex'); console.log(token); }); |