Proceed through the initial configuration, entering username and password.
Update packages:
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get dist-upgrade
Rename master
to main
and update remote while setting new upstream
git branch -m master main && git push -u origin main
Make your main
branch on Github the default:
Settings > Branches > Default Branch
Delete remote master
branch
{ | |
"imagemin": "^5.3.1", | |
"imagemin-gifsicle": "^6.0.0", | |
"imagemin-mozjpeg": "^8.0.0", | |
"imagemin-optipng": "^6.0.0", | |
"imagemin-pngquant": "^6.0.0", | |
"imagemin-svgo": "^7.0.0", | |
"imagemin-webp": "^5.0.0", | |
"loader-utils": "^1.1.0", | |
"object-assign": "^4.1.1", |
Vim is a highly configurable text editor for efficiently creating and changing any kind of text. It is included as "vi" with most UNIX systems and with Apple OS X.
Vim is rock stable and is continuously being developed to become even better. Among its features are:
https://github.com/YOUR_USER_NAME/freeCodeCamp
{ | |
"url": "https://api.github.com/gists/53e1780a5a68fe9281cfbbc9820d381f", | |
"forks_url": "https://api.github.com/gists/53e1780a5a68fe9281cfbbc9820d381f/forks", | |
"commits_url": "https://api.github.com/gists/53e1780a5a68fe9281cfbbc9820d381f/commits", | |
"id": "53e1780a5a68fe9281cfbbc9820d381f", | |
"git_pull_url": "https://gist.github.com/53e1780a5a68fe9281cfbbc9820d381f.git", | |
"git_push_url": "https://gist.github.com/53e1780a5a68fe9281cfbbc9820d381f.git", | |
"html_url": "https://gist.github.com/53e1780a5a68fe9281cfbbc9820d381f", | |
"files": { | |
"forgeLikeServerSetup.md": { |
tee
The tee utility copies standard input to standard output, making a copy in zero or more files. The output is unbuffered.
Example:
echo "I am the very model of a modern Major General" | tee general.txt
I am the very model of a modern Major General # Output
cat general.txt
I am the very model of a modern Major General # Output
# View device IP Address(es) | |
ip -o address show [interface] | awk '{print $4}' # Prints the IP address(es) of a single interface | |
ip address # Displays all interfaces | |
ifconfig # (deprecated) | |
hostname -I # Displays only IP addresses | |
# DNS name and resolution | |
host | |
dig | |
/etc/hosts # Add manual DNS record to hostname mappings (normally checked before configured DNS server(s)) |
class AccurateInterval { | |
intervalId = null | |
constructor(fn, timer) { | |
this.fn = fn | |
this.timer = timer | |
} | |
start = () => { |