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
# 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)) |
/** | |
* @desc this snippet will allow multiple arguments to a search query in Google Chrome | |
* examples include https://www.reddit.com/r/%s/search?q=%s | |
* @author Chris McCormack mccormack.christopher@gmail.com | |
* @required Google Chrome. Replace all values in brackets ([]) with valid entries. | |
* To add to Chrome, go to Settings > Search [Manage search engines...] > Other search engines. | |
* At the bottom of this section, there are three required fields: | |
* [Add a new search engine] [Keyword] [URL with %s in place of query] | |
* - Add a new search engine: Descriptive name of your search | |
* - Keyword: used to trigger search. |
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
https://github.com/YOUR_USER_NAME/freeCodeCamp
{ | |
"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:
{ | |
"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