Make dir :
mkdir <react-app> && cd <react-app>
Init React Project :
npx create-react-app ./
Run dev :
Make dir :
mkdir <react-app> && cd <react-app>
Init React Project :
npx create-react-app ./
Run dev :
You can use the cryptowatch
command-line tool to fetch crypto prices and charts in the command line. Here's how you can install and use it:
Install cryptowatch
by running the following command:
npm install -g cryptowatch-cli
Once installed, you can use the cryptowatch
command to fetch crypto prices and charts. For example, to fetch the price chart for Bitcoin (BTC) in USD, you can use the following command:
cryptowatch chart btcusd
To push a GitHub Gist from the command line quickly, you can use the gist
command-line tool. Here are the steps to do it:
Install the gist
command-line tool if you haven't already. You can install it using the following command:
gem install gist
Note: This assumes you have Ruby and RubyGems installed on your system.
Saving video as an MP3 file | |
To save the highest quality audio as an mp3 file you need to define --audio-format mp3 with -x which is extract audio | |
yt-dlp -f 'ba' -x --audio-format mp3 https://www.youtube.com/watch?v=dQw4w9WgXcQ -o '%(id)s.%(ext)s' |
pip install virtualenv
virtualenv env
This will create a new directory called env
in your current directory, which will contain the virtual environment.npm init
npm install
node app.js
# Set up the prompt | |
setopt autocd # change directory just by typing its name | |
setopt correct # auto correct mistakes | |
setopt interactivecomments # allow comments in interactive mode | |
setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=esetopt nonomatch # hide error message if there is no match for the pattern | |
setopt notify # report the status of background jobs immediately | |
setopt numericglobsort # sort filenames numerically when it makes sense | |
setopt promptsubst # enable command substitution in prompt | |