Zach's profile pictureZach
Joined in 2015
Web developer, designer, tinkerer, and beer enthusiast living in Tampa, Florida.
Related to this guide:
Intro to Hub: Improve Your GitHub Workflow with the CLI ToolIntro to Hub: Improve Your GitHub Workflow with the CLI Tool
Hub overview Hub is a command-line tool that wraps git and provides extra functionality that makes working with GitHub easier.
Tyler's profile picture TylerView
In these interests: gitgithub
Git: Move Your Latest Commits to Another BranchGit: Move Your Latest Commits to Another Branch
Sometimes we start writing code without managing our branches in advance. Then we make commits in master (or some other base branch) when we intended to carve off a new feature branch.
Tyler's profile picture TylerView
In these interests: git
GitHub Package Registry: Manage Packages Alongside Your Source CodeGitHub Package Registry: Manage Packages Alongside Your Source Code
Publishing software packages is already pretty easy, so what does GitHub’s Package Registry offer that we don’t already have?
Tyler's profile picture TylerView
In these interests: newsgithubgit
People also read:
Create GitHub personal access tokens for the command line
Nothing is certain, except death and taxes and merge conflicts. -Benjamin Franklin
Cleaning up unused tags is an important part of Git housekeeping. This guide will show you how to delete tags from both local and remote Git repositories.
Git is an open-source version control system (VCS). In order to use Git to track changes in your code from the command line, you’ll need to download, install and configure it on your computer.
Tab completion, or auto-completion, is essential if you’re using Git on the command line. Tab completion is a nice feature of many shells that allows you to complete a word by hitting tab.
I’ve wanted to start blogging again after a few years off. I was thrilled to find that I can blog using markdown in Vim and publish using git.
When you’re using git routinely, it’s helpful to know which branch you’re currently on without having to type git status or git branch.
Posted in these interests:
Discuss this guide:
We’re hiring!
Are you a passionate writer or editor? We want to hear from you!
We’re hiring!
Are you a passionate writer or editor? We want to hear from you!

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

How to Reset Network Settings on Windows 10

Reset Network Settings Windows 10Reset Network Settings Windows 10
Forget your Wi-Fi networks and other network settings.
Ash Ash (298)
Total time: 5 minutes 
Updated: July 22nd, 2020

Resetting your network settings is usually a last-resort effort when troubleshooting network issues. It completely wipes your network settings including any saved networks—proceed with caution.

Windows 10 comes with a built-in utility to help reset your network settings. Not only does it restore settings to default, but it also reinstalls the network adapter.

Here’s everything you’ll need to complete this guide:

Windows 10 PC×1
Windows 10 SettingsWindows 10 Settings

The network reset tool is found on the Network & Internet screen.

Expand the Start Menu and search for Settings. Open the Settings window and choose Network & Internet.

Windows 10 Network StatusWindows 10 Network Status

In the left-hand column, Status should be selected. If it isn’t, select it.

Windows 10 Network ResetWindows 10 Network Reset

At the bottom of the Change your network settings list, choose Network Reset.

Windows 10 Reset Network SettingsWindows 10 Reset Network Settings

Select Reset Now to initiate the reset process. Be sure to choose Yes on the prompt confirming the reset.

When the reset is complete, your computer will restart. All of the network adapters will be reinstalled and network settings returned to their default values. This process might uninstall VPN or virtual switch software. With everything wiped, you can start a new network connection.

How to Reset Network Settings on Windows 10

Reset Network Settings Windows 10Reset Network Settings Windows 10
Forget your Wi-Fi networks and other network settings.
Ash Ash (298)
Total time: 5 minutes 
Updated: July 22nd, 2020

Resetting your network settings is usually a last-resort effort when troubleshooting network issues. It completely wipes your network settings including any saved networks—proceed with caution.

Windows 10 comes with a built-in utility to help reset your network settings. Not only does it restore settings to default, but it also reinstalls the network adapter.

Here’s everything you’ll need to complete this guide:

Windows 10 PC×1
Windows 10 SettingsWindows 10 Settings

The network reset tool is found on the Network & Internet screen.

Expand the Start Menu and search for Settings. Open the Settings window and choose Network & Internet.

Windows 10 Network StatusWindows 10 Network Status

In the left-hand column, Status should be selected. If it isn’t, select it.

Windows 10 Network ResetWindows 10 Network Reset

At the bottom of the Change your network settings list, choose Network Reset.

Windows 10 Reset Network SettingsWindows 10 Reset Network Settings

Select Reset Now to initiate the reset process. Be sure to choose Yes on the prompt confirming the reset.

When the reset is complete, your computer will restart. All of the network adapters will be reinstalled and network settings returned to their default values. This process might uninstall VPN or virtual switch software. With everything wiped, you can start a new network connection.

Jump to step

How to Reset Network Settings on Windows 10

Reset Network Settings Windows 10Reset Network Settings Windows 10
Forget your Wi-Fi networks and other network settings.
Ash Ash (298)
Total time: 5 minutes 
Updated: July 22nd, 2020

Resetting your network settings is usually a last-resort effort when troubleshooting network issues. It completely wipes your network settings including any saved networks—proceed with caution.

Windows 10 comes with a built-in utility to help reset your network settings. Not only does it restore settings to default, but it also reinstalls the network adapter.

Here’s everything you’ll need to complete this guide:

Windows 10 PC×1
Windows 10 SettingsWindows 10 Settings

The network reset tool is found on the Network & Internet screen.

Expand the Start Menu and search for Settings. Open the Settings window and choose Network & Internet.

Windows 10 Network StatusWindows 10 Network Status

In the left-hand column, Status should be selected. If it isn’t, select it.

Windows 10 Network ResetWindows 10 Network Reset

At the bottom of the Change your network settings list, choose Network Reset.

Windows 10 Reset Network SettingsWindows 10 Reset Network Settings

Select Reset Now to initiate the reset process. Be sure to choose Yes on the prompt confirming the reset.

When the reset is complete, your computer will restart. All of the network adapters will be reinstalled and network settings returned to their default values. This process might uninstall VPN or virtual switch software. With everything wiped, you can start a new network connection.

How to Reset Network Settings on Windows 10

Reset Network Settings Windows 10Reset Network Settings Windows 10
Forget your Wi-Fi networks and other network settings.
Ash Ash (298)
Total time: 5 minutes 
Updated: July 22nd, 2020

Resetting your network settings is usually a last-resort effort when troubleshooting network issues. It completely wipes your network settings including any saved networks—proceed with caution.

Windows 10 comes with a built-in utility to help reset your network settings. Not only does it restore settings to default, but it also reinstalls the network adapter.

Here’s everything you’ll need to complete this guide:

Windows 10 PC×1

How to Reset Network Settings on Windows 10

windowsnetworking
Forget your Wi-Fi networks and other network settings.
Ash Ash (298)
Total time: 5 minutes 
Updated: July 22nd, 2020
Ash
 
1

Here’s everything you’ll need to complete this guide:

Windows 10 PC×1
Windows 10 PC×1
Jump to step
Calling all writers!

We’re hiring. Write for Howchoo

 
1
In these interests
windows
PRIMARY
31 guides
networking
25 guides
windows
PRIMARY
31 guides
networking
25 guides
PRIMARY
Jump to step
Windows 10 SettingsWindows 10 Settings

The network reset tool is found on the Network & Internet screen.

Expand the Start Menu and search for Settings. Open the Settings window and choose Network & Internet.

Windows 10 Network StatusWindows 10 Network Status

In the left-hand column, Status should be selected. If it isn’t, select it.

Windows 10 Network ResetWindows 10 Network Reset

At the bottom of the Change your network settings list, choose Network Reset.

Windows 10 Reset Network SettingsWindows 10 Reset Network Settings

Select Reset Now to initiate the reset process. Be sure to choose Yes on the prompt confirming the reset.

When the reset is complete, your computer will restart. All of the network adapters will be reinstalled and network settings returned to their default values. This process might uninstall VPN or virtual switch software. With everything wiped, you can start a new network connection.

Windows 10 SettingsWindows 10 Settings

The network reset tool is found on the Network & Internet screen.

Expand the Start Menu and search for Settings. Open the Settings window and choose Network & Internet.

Windows 10 SettingsWindows 10 Settings

The network reset tool is found on the Network & Internet screen.

Expand the Start Menu and search for Settings. Open the Settings window and choose Network & Internet.

Access Network & Internet settings

Windows 10 Network StatusWindows 10 Network Status

In the left-hand column, Status should be selected. If it isn’t, select it.

Windows 10 Network StatusWindows 10 Network Status

In the left-hand column, Status should be selected. If it isn’t, select it.

Select Status

Windows 10 Network ResetWindows 10 Network Reset

At the bottom of the Change your network settings list, choose Network Reset.

Windows 10 Network ResetWindows 10 Network Reset

At the bottom of the Change your network settings list, choose Network Reset.

Reset your network settings

Windows 10 Reset Network SettingsWindows 10 Reset Network Settings

Select Reset Now to initiate the reset process. Be sure to choose Yes on the prompt confirming the reset.

When the reset is complete, your computer will restart. All of the network adapters will be reinstalled and network settings returned to their default values. This process might uninstall VPN or virtual switch software. With everything wiped, you can start a new network connection.

Windows 10 Reset Network SettingsWindows 10 Reset Network Settings

Select Reset Now to initiate the reset process. Be sure to choose Yes on the prompt confirming the reset.

When the reset is complete, your computer will restart. All of the network adapters will be reinstalled and network settings returned to their default values. This process might uninstall VPN or virtual switch software. With everything wiped, you can start a new network connection.

Complete the reset

Calling all writers!

We’re hiring. Write for Howchoo

Ash's profile pictureAsh
Joined in 2018
Ash is an experienced tech writer with an endless passion for technology. She enjoys retro gaming, 3D printing, and making awesome projects on the Raspberry Pi.
Ash's profile picture
Share this guide!
RedditEmailTextPinterest
Related to this guide:
Windows 10 Bootable USBWindows 10 Bootable USB
Recover your PC with a Windows 10 flash drive.
Ash's profile picture AshView
In these interests: windows
Stop Updates on Windows 10Stop Updates on Windows 10
Postpone or halt your Windows 10 updates.
Ash's profile picture AshView
In these interests: windows
Ash's profile pictureViewpcwindows
Windows 10 Bootable USBWindows 10 Bootable USB
Recover your PC with a Windows 10 flash drive.
Ash's profile picture AshView
In these interests: windows
Ash's profile pictureViewwindows
Stop Updates on Windows 10Stop Updates on Windows 10
Postpone or halt your Windows 10 updates.
Ash's profile picture AshView
In these interests: windows
Ash's profile pictureViewwindows
People also read:
Windows 10 Remote Desktop
Make the most of your Windows 10 Remote Desktop session.
Disable Microsoft Teams on Startup
Three methods for stopping Teams on startup.
Enable Remote Access Windows 10
Work from home when you’re not at home.
VPN from Windows 10
Learn how to connect to your work or private VPN on Windows.
Restore Windows 10
Like rewinding but for your operating system.
Which Version of Windows Do I Have
You’re running Windows what?
Map Network Drive Windows 10
Save your network shares for later.
Bluetooth Windows 10
Connect your favorite Bluetooth device
Uninstall programs on Windows 10
In past versions of Windows, uninstalling programs was a little bit tricky. Fortunately with Windows 10, most applications can be uninstalled easily with a few clicks.
Partitions for you—on demand.
Windows 10 Remote Desktop
Make the most of your Windows 10 Remote Desktop session.
Disable Microsoft Teams on Startup
Three methods for stopping Teams on startup.
Enable Remote Access Windows 10
Work from home when you’re not at home.
VPN from Windows 10
Learn how to connect to your work or private VPN on Windows.
Restore Windows 10
Like rewinding but for your operating system.
Windows 10 Remote Desktop
Windows 10 Remote DesktopTips and Tricks for Windows 10 Remote Desktop
Disable Microsoft Teams on Startup
Disable Microsoft Teams on StartupHow to Disable Microsoft Teams on Startup in Windows 10
Enable Remote Access Windows 10
Enable Remote Access Windows 10How to Enable Remote Access on Windows 10
VPN from Windows 10
VPN from Windows 10Windows VPN Setup: How to VPN from Home in Windows
Restore Windows 10
Restore Windows 10How to Restore Windows 10
Which Version of Windows Do I Have
You’re running Windows what?
Map Network Drive Windows 10
Save your network shares for later.
Bluetooth Windows 10
Connect your favorite Bluetooth device
Uninstall programs on Windows 10
In past versions of Windows, uninstalling programs was a little bit tricky. Fortunately with Windows 10, most applications can be uninstalled easily with a few clicks.
Partitions for you—on demand.
Which Version of Windows Do I Have
Which Version of Windows Do I HaveHow to Check Your Version of Windows
Map Network Drive Windows 10
Map Network Drive Windows 10How to Map a Network Drive on Windows 10
Bluetooth Windows 10
Bluetooth Windows 10How to Turn on Bluetooth in Windows 10
Uninstall programs on Windows 10
Uninstall programs on Windows 10How to Uninstall Programs on Windows 10
How to partition a hard drive on Windows
Posted in these interests:
windowswindows
windows
PRIMARY
PRIMARY
ExploreExplore
Discuss this guide:
We’re hiring!
Are you a passionate writer? We want to hear from you!
We’re hiring!
Are you a passionate writer? We want to hear from you!
View openings

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Donate
printenv

This will print something like this:

...
rvm_bin_path=/Users/josephtyler/.rvm/bin
VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
VIRTUALENVWRAPPER_PROJECT_FILENAME=.project
TERM_PROGRAM=Apple_Terminal
GEM_HOME=/Users/josephtyler/.rvm/gems/ruby-2.2.0
SHELL=/bin/bash
...
This is a list of environment variable keys and values. There is one key/value pair per line.

Still using printenv if you specify a name, then the value is printed (supposing it exists).

printenv RUBY_VERSION
will simply print:
ruby-2.2.0
printenv

This will print something like this:

...
rvm_bin_path=/Users/josephtyler/.rvm/bin
VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
VIRTUALENVWRAPPER_PROJECT_FILENAME=.project
TERM_PROGRAM=Apple_Terminal
GEM_HOME=/Users/josephtyler/.rvm/gems/ruby-2.2.0
SHELL=/bin/bash
...
This is a list of environment variable keys and values. There is one key/value pair per line.

Still using printenv if you specify a name, then the value is printed (supposing it exists).

printenv RUBY_VERSION
will simply print:
ruby-2.2.0
printenv

This will print something like this:

...
rvm_bin_path=/Users/josephtyler/.rvm/bin
VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
VIRTUALENVWRAPPER_PROJECT_FILENAME=.project
TERM_PROGRAM=Apple_Terminal
GEM_HOME=/Users/josephtyler/.rvm/gems/ruby-2.2.0
SHELL=/bin/bash
...
This is a list of environment variable keys and values. There is one key/value pair per line.

Still using printenv if you specify a name, then the value is printed (supposing it exists).

printenv RUBY_VERSION
will simply print:
ruby-2.2.0

How to Print Environment Variables in Linux/Unix

Tyler Tyler (285)
Total time: 2 minutes 
Updated: July 22nd, 2020

I’ll spoil it – “printenv” is your friend. This guide will show a few examples of how to use it.

Posted in these interests:

webdev
PRIMARY
58 guides
linux
41 guides
unix
13 guides

How to Print Environment Variables in Linux/Unix

webdevlinuxunix
Tyler Tyler (285)
Total time: 2 minutes 
Updated: July 22nd, 2020
Tyler
1
 

Posted in these interests:

webdev
PRIMARY
58 guides
linux
41 guides
unix
13 guides
webdev
PRIMARY
58 guides
linux
41 guides
unix
13 guides
PRIMARY
Calling all writers!

We’re hiring. Write for Howchoo

1
 
In these interests
webdev
PRIMARY
58 guides
linux
41 guides
unix
13 guides
webdev
PRIMARY
58 guides
linux
41 guides
unix
13 guides
PRIMARY
printenv

This will print something like this:

...
rvm_bin_path=/Users/josephtyler/.rvm/bin
VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
VIRTUALENVWRAPPER_PROJECT_FILENAME=.project
TERM_PROGRAM=Apple_Terminal
GEM_HOME=/Users/josephtyler/.rvm/gems/ruby-2.2.0
SHELL=/bin/bash
...
This is a list of environment variable keys and values. There is one key/value pair per line.

Still using printenv if you specify a name, then the value is printed (supposing it exists).

printenv RUBY_VERSION
will simply print:
ruby-2.2.0
printenv

This will print something like this:

...
rvm_bin_path=/Users/josephtyler/.rvm/bin
VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
VIRTUALENVWRAPPER_PROJECT_FILENAME=.project
TERM_PROGRAM=Apple_Terminal
GEM_HOME=/Users/josephtyler/.rvm/gems/ruby-2.2.0
SHELL=/bin/bash
...
This is a list of environment variable keys and values. There is one key/value pair per line.
printenv

This will print something like this:

...
rvm_bin_path=/Users/josephtyler/.rvm/bin
VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
VIRTUALENVWRAPPER_PROJECT_FILENAME=.project
TERM_PROGRAM=Apple_Terminal
GEM_HOME=/Users/josephtyler/.rvm/gems/ruby-2.2.0
SHELL=/bin/bash
...
This is a list of environment variable keys and values. There is one key/value pair per line.

Use printenv to print all environment variables

Still using printenv if you specify a name, then the value is printed (supposing it exists).

printenv RUBY_VERSION
will simply print:
ruby-2.2.0

Still using printenv if you specify a name, then the value is printed (supposing it exists).

printenv RUBY_VERSION
will simply print:
ruby-2.2.0

If a name is specified, only its value is printed

Calling all writers!

We’re hiring. Write for Howchoo

Tyler's profile pictureTyler
Joined in 2015
Software Engineer and creator of howchoo.
Tyler's profile picture
Share this guide!
RedditEmailText
Related to this guide:
MySQL vs PostgreSQLMySQL vs PostgreSQL
Comparing performance, syntax, replication, and features.
Gilad's profile picture GiladView
In these interests: postgresqlwebdevmysql
How to export clean HTML from Google DocsHow to export clean HTML from Google Docs
By default, the HTML exported from Google Docs includes tons of classes, styles, and is generally messy. This short guide will teach you how to export clean HTML devoid of classes and inline styles.
Zach's profile picture ZachView
In these interests: googledocswebdevcode
Filtering Google Analytics language spamFiltering Google Analytics language spam
Google Analytics spam is nothing new. But now spammers have realized that, since language appears in the initial Google Analytics dashboard view, spoofing the language code reaches eyeballs.
Zach's profile picture ZachView
In these interests: webdev
MySQL vs PostgreSQLMySQL vs PostgreSQL
Comparing performance, syntax, replication, and features.
Gilad's profile picture GiladView
In these interests: postgresqlwebdevmysql
Gilad's profile pictureViewpostgresqlwebdevmysql
How to export clean HTML from Google DocsHow to export clean HTML from Google Docs
By default, the HTML exported from Google Docs includes tons of classes, styles, and is generally messy. This short guide will teach you how to export clean HTML devoid of classes and inline styles.
Zach's profile picture ZachView
In these interests: googledocswebdevcode
Zach's profile pictureViewgoogledocswebdevcode
Filtering Google Analytics language spamFiltering Google Analytics language spam
Google Analytics spam is nothing new. But now spammers have realized that, since language appears in the initial Google Analytics dashboard view, spoofing the language code reaches eyeballs.
Zach's profile picture ZachView
In these interests: webdev
Zach's profile pictureViewwebdev
People also read:
Converting XML files to JSON is a good practice for providing easy manipulation and preparing service responses. You can accomplish this efficiently with just three lines of code.
Part of being a web developer is testing things that will inevitably break in insane and unexpected ways in Internet Explorer.
As a developer, I’ve customized my bash prompt to always show the current git branch if I’m in an initialized git repository. This is convenient, but it can make for a very long bash prompt.
This guide will show you how to set up a LAMP environment in macOS and OS X.
Surprisingly, normal YouTube embeds are not automatically sized to the browser window as it is resized.
I started programming in PHP, so by default I would use apache even when I just wanted to test basic HTML files. As I was learning Python, I discovered a great HTTP request handler.
As a web developer, I stare at Chrome’s developer tools — particularly the Elements and Console tabs — all day long. As a result, all light and no dark makes Zach’s eyes dull and tired.
You can echo the current MODX resource’s full page URL without the use of a snippet call.
Renaming a MySQL table is very simple, but sometimes the syntax is hard to remember.
Converting XML files to JSON is a good practice for providing easy manipulation and preparing service responses. You can accomplish this efficiently with just three lines of code.
Part of being a web developer is testing things that will inevitably break in insane and unexpected ways in Internet Explorer.
As a developer, I’ve customized my bash prompt to always show the current git branch if I’m in an initialized git repository. This is convenient, but it can make for a very long bash prompt.
This guide will show you how to set up a LAMP environment in macOS and OS X.
How to Convert XML to JSON in PHP
How to Run Internet Explorer on Mac (For Free)
Adjust the Length of Your Bash Prompt on the Fly
How to Set Up a LAMP server in macOS
GitHub Pull Requests: How and Why to Use Pull Requests
Surprisingly, normal YouTube embeds are not automatically sized to the browser window as it is resized.
I started programming in PHP, so by default I would use apache even when I just wanted to test basic HTML files. As I was learning Python, I discovered a great HTTP request handler.
As a web developer, I stare at Chrome’s developer tools — particularly the Elements and Console tabs — all day long. As a result, all light and no dark makes Zach’s eyes dull and tired.
You can echo the current MODX resource’s full page URL without the use of a snippet call.
Renaming a MySQL table is very simple, but sometimes the syntax is hard to remember.
Make YouTube Video Embeds Responsive Using Pure HTML and CSS
Using Python’s simple HTTP server
Tell Chrome Developer Tools to Use a Dark Theme
How to Print the Current Page URL in MODX
Rename a MySQL table
Posted in these interests:
webdevwebdev
webdev
PRIMARY
All things web development.
webdevwebdev
webdev
PRIMARY
All things web development.
PRIMARY
ExploreExploreExplore
Discuss this guide:
We’re hiring!
Are you a passionate writer? We want to hear from you!
We’re hiring!
Are you a passionate writer? We want to hear from you!
View openings

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Donate
Total time: 5 minutes 
Updated: July 22nd, 2020
python
PRIMARY
67 guides
Calling all writers!

We’re hiring. Write for Howchoo

python
PRIMARY
67 guides
A Guide to Python For Loops A Guide to Python For LoopsA comprehensive guide on Python “for” loops
Calling all writers!

We’re hiring. Write for Howchoo

Tyler's profile pictureTyler
Joined in 2015
Software Engineer and creator of howchoo.
Get the latest edition of Python in just minutes.
Ash's profile picture AshView
In these interests: codewindowspython
Run Python scripts in command prompt without typing the whole path.
Ash's profile picture AshView
In these interests: windowscodepython
You can run any Python script in a command-line interface.
Ash's profile picture AshView
In these interests: python
Got a Python question? We’ve probably answered it here.
Not sure what version of Python you’re running? Time to find out!
Python is a very popular programming language for data visualization.
In Python, comprehensions are a useful construct that allows us to create new sequences in a very concise way.
Slack has become one of the most important tools for communication in many companies, mine included.
If you’re familiar with Python’s keyword-only arguments, then you’ve probably wondered why the same constraint doesn’t exist for positional arguments. This changes with Python 3.
Specify a parallel filesystem cache for compiled bytecode
Learn how to use formatted string literals in Python
While this requirement may seem rare, learning how to nest defaultdicts properly in Python can be extremely powerful and save you from bloated and confusing initialization code.
python
PRIMARY
Python is howchoo’s favorite programming language. We believe python promotes the most organized and performant codebase possible. We also love Django so, naturally, we love Python.
Calling all writers!

We’re hiring. Write for Howchoo

Tyler's profile pictureTyler
Joined in 2015
Software Engineer and creator of howchoo.
Share this guide!
Related to this guide:
How to Generate Personal Access Tokens in GitHubHow to Generate Personal Access Tokens in GitHub
Create GitHub personal access tokens for the command line
Tyler's profile picture TylerView
In these interests: gitgithub
GitHub CodespacesGitHub Codespaces
GitHub Codespaces is officially in beta.
Ash's profile picture AshView
In these interests: newsgithub
Git: Move Your Latest Commits to Another BranchGit: Move Your Latest Commits to Another Branch
Sometimes we start writing code without managing our branches in advance. Then we make commits in master (or some other base branch) when we intended to carve off a new feature branch.
Tyler's profile picture TylerView
In these interests: git
People also read:
Publishing software packages is already pretty easy, so what does GitHub’s Package Registry offer that we don’t already have?
Nothing is certain, except death and taxes and merge conflicts. -Benjamin Franklin
Cleaning up unused tags is an important part of Git housekeeping. This guide will show you how to delete tags from both local and remote Git repositories.
Git is an open-source version control system (VCS). In order to use Git to track changes in your code from the command line, you’ll need to download, install and configure it on your computer.
Tab completion, or auto-completion, is essential if you’re using Git on the command line. Tab completion is a nice feature of many shells that allows you to complete a word by hitting tab.
I’ve wanted to start blogging again after a few years off. I was thrilled to find that I can blog using markdown in Vim and publish using git.
When you’re using git routinely, it’s helpful to know which branch you’re currently on without having to type git status or git branch.
This short guide shows you how to set up access to your SourceTree repos through Alfred.
This short guide will show you how to list all remote branches in Git.
Posted in these interests:
Discuss this guide:
We’re hiring!
Are you a passionate writer? We want to hear from you!
We’re hiring!
Are you a passionate writer? We want to hear from you!

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Total time: 5 minutes 
Updated: July 22nd, 2020
python
PRIMARY
67 guides
code
68 guides
Calling all writers!

We’re hiring. Write for Howchoo

python
PRIMARY
67 guides
code
68 guides
Calling all writers!

We’re hiring. Write for Howchoo

Tyler's profile pictureTyler
Joined in 2015
Software Engineer and creator of howchoo.
Get the latest edition of Python in just minutes.
Ash's profile picture AshView
In these interests: codewindowspython
Run Python scripts in command prompt without typing the whole path.
Ash's profile picture AshView
In these interests: windowscodepython
You can run any Python script in a command-line interface.
Ash's profile picture AshView
In these interests: python
Got a Python question? We’ve probably answered it here.
Not sure what version of Python you’re running? Time to find out!
Python is a very popular programming language for data visualization.
In Python, comprehensions are a useful construct that allows us to create new sequences in a very concise way.
Slack has become one of the most important tools for communication in many companies, mine included.
If you’re familiar with Python’s keyword-only arguments, then you’ve probably wondered why the same constraint doesn’t exist for positional arguments. This changes with Python 3.
Specify a parallel filesystem cache for compiled bytecode
While this requirement may seem rare, learning how to nest defaultdicts properly in Python can be extremely powerful and save you from bloated and confusing initialization code.
In Python, we often run into scenarios where we need to merge two or more lists. This is also called list concatenation, and Python provides multiple methods for accomplishing this.
python
PRIMARY
Python is howchoo’s favorite programming language. We believe python promotes the most organized and performant codebase possible. We also love Django so, naturally, we love Python.
Code is poetry — one line at a time.
Total time: 5 minutes 
Updated: July 22nd, 2020
python
PRIMARY
67 guides
code
68 guides
Calling all writers!

We’re hiring. Write for Howchoo

python
PRIMARY
67 guides
code
68 guides
Calling all writers!

We’re hiring. Write for Howchoo

Tyler's profile pictureTyler
Joined in 2015
Software Engineer and creator of howchoo.
Get the latest edition of Python in just minutes.
Ash's profile picture AshView
In these interests: codewindowspython
Run Python scripts in command prompt without typing the whole path.
Ash's profile picture AshView
In these interests: windowscodepython
You can run any Python script in a command-line interface.
Ash's profile picture AshView
In these interests: python
Got a Python question? We’ve probably answered it here.
Not sure what version of Python you’re running? Time to find out!
Python is a very popular programming language for data visualization.
In Python, comprehensions are a useful construct that allows us to create new sequences in a very concise way.
Slack has become one of the most important tools for communication in many companies, mine included.
If you’re familiar with Python’s keyword-only arguments, then you’ve probably wondered why the same constraint doesn’t exist for positional arguments. This changes with Python 3.
Specify a parallel filesystem cache for compiled bytecode
Learn how to use formatted string literals in Python
While this requirement may seem rare, learning how to nest defaultdicts properly in Python can be extremely powerful and save you from bloated and confusing initialization code.
python
PRIMARY
Python is howchoo’s favorite programming language. We believe python promotes the most organized and performant codebase possible. We also love Django so, naturally, we love Python.
Code is poetry — one line at a time.
Total time: 5 minutes 
Updated: July 22nd, 2020
router
PRIMARY
57 guides
internet
71 guides
networking
25 guides
Calling all writers!

We’re hiring. Write for Howchoo

router
PRIMARY
57 guides
internet
71 guides
networking
25 guides
How to Find Your Router's IP Address How to Find Your Router’s IP AddressFind the IP address you need to access your router.
Calling all writers!

We’re hiring. Write for Howchoo

Ash's profile pictureAsh
Joined in 2018
Ash is an experienced tech writer with an endless passion for technology. She enjoys retro gaming, 3D printing, and making awesome projects on the Raspberry Pi.
Do you know how fast your network was going, sir?
Ash's profile picture AshView
In these interests: networkingrouter
Log in to your wireless network ASAP.
Ash's profile picture AshView
In these interests: networkingrouter
Manually configure the port settings on your router.
Ash's profile picture AshView
In these interests: networkingrouter
Wi-Fi trouble? Try this quick fix.
Find the IP address you need to access your router.
Changing your WiFi password is an easy way to add a little more security to your wireless network or change the random default password to something you can remember.
Change your password to something more memorable and secure!
Having trouble? Reset your modem!
There are many reasons you might need to log into your Charter Spectrum router; for example, you may need to perform initial setup or secure your wireless network.
Speed up your Internet connection in just a few minutes.
Web browser developers are continually inventing new ways to improve your browsing experience, and typing is a challenge for many users.
router
PRIMARY
A series of tubes.
Total time: 5 minutes 
Updated: July 22nd, 2020
space
PRIMARY
4 guides
nasa
3 guides
Calling all writers!

We’re hiring. Write for Howchoo

space
PRIMARY
4 guides
nasa
3 guides
Calling all writers!

We’re hiring. Write for Howchoo

Zach's profile pictureZach
Joined in 2015
Web developer, designer, tinkerer, and beer enthusiast living in Tampa, Florida.
Now I lay me down to sleep, I pray the Lord the Earth to keep.
Nate's profile picture NateView
In these interests: sleepspacenasa
The next time you wake up from an all-weekend bender and find yourself in space, you’ll want to be be prepared to wash the vomit and shame from your hair.
Zach's profile picture ZachView
In these interests: spacenasa
I love doing outdoorsy things with my dog and often it’s dark before we return. I decided to make an LED dog vest since it allows her to wander further away while still being visible.
Zach's profile picture ZachView
In these interests: outdoorsdogsspace
space
PRIMARY
Space: the final frontier.
“That’s one small step for [a] man; one giant leap for mankind.” – Neil Armstrong

How to Delete Blank Lines in Vim

Tyler Tyler (285)
Total time: 2 minutes 
Updated: July 22nd, 2020

Vim is a powerful tool. I often paste raw data into Vim in order to format it in a specific way, and sometimes I need to clean up the file by removing many blank lines. Fortunately there is a simple Vim command to remove all blank lines in a file.

tl;dr

:g/^$/d

See below for more details.

Posted in these interests:

vim
PRIMARY
23 guides

While in normal mode, type:

:g/^$/d

Here’s a breakdown of this command.

Description
:g This will execute a command globally on all lines that match a regex (to follow).
/^$/ This is the regex. The forward slashes enclose the pattern, which is: ^$. This is a regex pattern that matches the beginning of a line (^) and the end of a line ($) with nothing in between, which is the definition of a blank line 🙂
d This is the command to be executed. d stands for delete!

So when you put it all together, you find all blank lines globally across the whole file, and delete them.

How to Delete Blank Lines in Vim

Tyler Tyler (285)
Total time: 2 minutes 
Updated: July 22nd, 2020

Vim is a powerful tool. I often paste raw data into Vim in order to format it in a specific way, and sometimes I need to clean up the file by removing many blank lines. Fortunately there is a simple Vim command to remove all blank lines in a file.

tl;dr

:g/^$/d

See below for more details.

Posted in these interests:

vim
PRIMARY
23 guides

While in normal mode, type:

:g/^$/d

Here’s a breakdown of this command.

Description
:g This will execute a command globally on all lines that match a regex (to follow).
/^$/ This is the regex. The forward slashes enclose the pattern, which is: ^$. This is a regex pattern that matches the beginning of a line (^) and the end of a line ($) with nothing in between, which is the definition of a blank line 🙂
d This is the command to be executed. d stands for delete!

So when you put it all together, you find all blank lines globally across the whole file, and delete them.

How to Delete Blank Lines in Vim

Tyler Tyler (285)
Total time: 2 minutes 
Updated: July 22nd, 2020

Vim is a powerful tool. I often paste raw data into Vim in order to format it in a specific way, and sometimes I need to clean up the file by removing many blank lines. Fortunately there is a simple Vim command to remove all blank lines in a file.

tl;dr

:g/^$/d

See below for more details.

Posted in these interests:

vim
PRIMARY
23 guides

While in normal mode, type:

:g/^$/d

Here’s a breakdown of this command.

Description
:g This will execute a command globally on all lines that match a regex (to follow).
/^$/ This is the regex. The forward slashes enclose the pattern, which is: ^$. This is a regex pattern that matches the beginning of a line (^) and the end of a line ($) with nothing in between, which is the definition of a blank line 🙂
d This is the command to be executed. d stands for delete!

So when you put it all together, you find all blank lines globally across the whole file, and delete them.

How to Delete Blank Lines in Vim

Tyler Tyler (285)
Total time: 2 minutes 
Updated: July 22nd, 2020

Vim is a powerful tool. I often paste raw data into Vim in order to format it in a specific way, and sometimes I need to clean up the file by removing many blank lines. Fortunately there is a simple Vim command to remove all blank lines in a file.

tl;dr

:g/^$/d

See below for more details.

Posted in these interests:

vim
PRIMARY
23 guides

How to Delete Blank Lines in Vim

vim
Tyler Tyler (285)
Total time: 2 minutes 
Updated: July 22nd, 2020
Tyler
 

Posted in these interests:

vim
PRIMARY
23 guides
vim
PRIMARY
23 guides
PRIMARY
Calling all writers!

We’re hiring. Write for Howchoo

 
In these interests
vim
PRIMARY
23 guides
vim
PRIMARY
23 guides
PRIMARY

While in normal mode, type:

:g/^$/d

Here’s a breakdown of this command.

Description
:g This will execute a command globally on all lines that match a regex (to follow).
/^$/ This is the regex. The forward slashes enclose the pattern, which is: ^$. This is a regex pattern that matches the beginning of a line (^) and the end of a line ($) with nothing in between, which is the definition of a blank line 🙂
d This is the command to be executed. d stands for delete!

So when you put it all together, you find all blank lines globally across the whole file, and delete them.

While in normal mode, type:

:g/^$/d

Here’s a breakdown of this command.

Description
:g This will execute a command globally on all lines that match a regex (to follow).
/^$/ This is the regex. The forward slashes enclose the pattern, which is: ^$. This is a regex pattern that matches the beginning of a line (^) and the end of a line ($) with nothing in between, which is the definition of a blank line 🙂
d This is the command to be executed. d stands for delete!

So when you put it all together, you find all blank lines globally across the whole file, and delete them.

While in normal mode, type:

:g/^$/d

Here’s a breakdown of this command.

Description
:g This will execute a command globally on all lines that match a regex (to follow).
/^$/ This is the regex. The forward slashes enclose the pattern, which is: ^$. This is a regex pattern that matches the beginning of a line (^) and the end of a line ($) with nothing in between, which is the definition of a blank line 🙂
d This is the command to be executed. d stands for delete!

So when you put it all together, you find all blank lines globally across the whole file, and delete them.

:g/^$/d

Description
:g This will execute a command globally on all lines that match a regex (to follow).
/^$/ This is the regex. The forward slashes enclose the pattern, which is: ^$. This is a regex pattern that matches the beginning of a line (^) and the end of a line ($) with nothing in between, which is the definition of a blank line 🙂
d This is the command to be executed. d stands for delete!
Calling all writers!

We’re hiring. Write for Howchoo

Tyler's profile pictureTyler
Joined in 2015
Software Engineer and creator of howchoo.
Tyler's profile picture
Share this guide!
RedditEmailText
Related to this guide:
Vim undo branchesVim undo branches
You probably already know how to use vim’s basic undo and redo features. For a quick refresher, read this short tutorial on how to use vim redo and undo.
Dayne's profile picture DayneView
In these interests: vim
3 Ways to Use Tabs in Vim3 Ways to Use Tabs in Vim
Vim tabs can be a great way to visualize which files you currently have open. Many vim users get bogged down by them and either end up working too hard to use them or give up altogether.
Dayne's profile picture DayneView
In these interests: vim
Vim redo and undoVim redo and undo
Learn how to undo and redo changes using vim. If you are brand new to vim, learn more about the basics in this intro to vim guide.
Dayne's profile picture DayneView
In these interests: vim
Vim undo branchesVim undo branches
You probably already know how to use vim’s basic undo and redo features. For a quick refresher, read this short tutorial on how to use vim redo and undo.
Dayne's profile picture DayneView
In these interests: vim
Dayne's profile pictureViewvim
3 Ways to Use Tabs in Vim3 Ways to Use Tabs in Vim
Vim tabs can be a great way to visualize which files you currently have open. Many vim users get bogged down by them and either end up working too hard to use them or give up altogether.
Dayne's profile picture DayneView
In these interests: vim
Dayne's profile pictureViewvim
Vim redo and undoVim redo and undo
Learn how to undo and redo changes using vim. If you are brand new to vim, learn more about the basics in this intro to vim guide.
Dayne's profile picture DayneView
In these interests: vim
Dayne's profile pictureViewvim
People also read:
Once you learn to think in text objects, you’ll never be the same
One of the strengths of Vim is that it’s highly customizable. And while remapping keys is possible, we often want to create shortcuts without changing the default key bindings.
If you find yourself highlighting text in Vim with your mouse to copy and paste it elsewhere, stop. There’s a better way, using the yank command, to copy text into your clipboard on macOS or Windows.
Basic vim commands
Because you’ve accidentally opened Vim and don’t know how to exit
Vim is amazing. Well, Python is doing all the work, but I still like Vim. Learn how to format JSON in Vim like a pro with this short guide! tl;dr Paste your json, and run this in vim normal mode. :%!
Tabs are evil. This guide will show you how to convert tabs to spaces in Vim.
Need to change the case of characters to all caps or all lowercase? This is easily done using Vim. This guide will show you how to change the case of characters in Vim.
Trailing whitespace can be a real pain – especially when diffing changes between two versions of a file.
Vundle, Pathogen, Vim-plug, VAM, and the others can be great time savers but sometimes you just have to do something yourself so you can understand what exactly the time saving software is doing for you in the background. For myself, I got sick of not understanding what these were doing to my system. I realized I did not know the fundamentals of vim plugins so I set out to learn. This is a step by step guide to teach you how to install a basic vim plugin without the help of any fancy manager.
Once you learn to think in text objects, you’ll never be the same
One of the strengths of Vim is that it’s highly customizable. And while remapping keys is possible, we often want to create shortcuts without changing the default key bindings.
If you find yourself highlighting text in Vim with your mouse to copy and paste it elsewhere, stop. There’s a better way, using the yank command, to copy text into your clipboard on macOS or Windows.
Basic vim commands
Because you’ve accidentally opened Vim and don’t know how to exit
Vim is amazing. Well, Python is doing all the work, but I still like Vim. Learn how to format JSON in Vim like a pro with this short guide! tl;dr Paste your json, and run this in vim normal mode. :%!
Vim Text Objects: Using Vim Text Objects
How to Change Your Leader Key in Vim
Vim: How to Copy to Your System Clipboard
Basic vim commands
Basic vim commandsBasic Vim Commands
How to Format JSON in Vim
Tabs are evil. This guide will show you how to convert tabs to spaces in Vim.
Need to change the case of characters to all caps or all lowercase? This is easily done using Vim. This guide will show you how to change the case of characters in Vim.
Trailing whitespace can be a real pain – especially when diffing changes between two versions of a file.
Vundle, Pathogen, Vim-plug, VAM, and the others can be great time savers but sometimes you just have to do something yourself so you can understand what exactly the time saving software is doing for you in the background. For myself, I got sick of not understanding what these were doing to my system. I realized I did not know the fundamentals of vim plugins so I set out to learn. This is a step by step guide to teach you how to install a basic vim plugin without the help of any fancy manager.
Vim: Convert Tabs to Spaces
How to Change or Switch the Case of Characters in Vim
Ack Search, Open Files in Vim
Vim: How to Remove Trailing Whitespace on Save in Vim
How to install Vim plugins without a plugin manager
Posted in these interests:
vimvim
vim
PRIMARY
vimvim
vim
PRIMARY
PRIMARY
Explore
Discuss this guide:
We’re hiring!
Are you a passionate writer? We want to hear from you!
We’re hiring!
Are you a passionate writer? We want to hear from you!
View openings

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Donate