✅ How can I display all the terminal commands I have executed in the current terminal window?
Ways to Display Executed Terminal Commands
1️⃣ Use history Command (Shows Full Command History)
history
✅ How can I display all the terminal commands I have executed in the current terminal window?
Ways to Display Executed Terminal Commands
1️⃣ Use history Command (Shows Full Command History)
history
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).
| https://maclovin.org/blog-native/2018/ssh-key-how-to-use-the-keychain-for-the-passphrase |
| { | |
| "[typescriptreact]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| }, | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "[javascript]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| } | |
| } |
handleChange(e) {
this.setState({ value: e.target.value });
}| #!/bin/bash | |
| # wma2mp3.sh | |
| # Ricardo Tun <[email protected]> | |
| # | |
| # Depends: lame, ffmpeg | |
| # Use: ./wma2mp3.sh path_to_wma_files | |
| # If directory is not specified, the current working directory will be used to find wma files. | |
| wma2mp3() { | |
| if [ ! -e *.wma ]; then |
You have to do 2 things in order to allow your container to access your host's postgresql database
Obs: By "Host" here I mean "the server where docker is running on".
Find your postgresql.conf (in case you don't know where it is)
$ sudo find / -type f -name postgresql.conf
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com, example2.com, and example1.com/images on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
| const axios = require('axios') | |
| const qs = require('querystring') | |
| ... | |
| const requestBody = { | |
| name: 'Akexorcist', | |
| age: '28', | |
| position: 'Android Developer', | |
| description: 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/', |
| // npm i body-parser | |
| const bodyParser = require('body-parser') | |
| app.use(bodyParser.urlencoded({ extended: false })) | |
| app.use(bodyParser.json()) | |
| const {name, email} = req.body |