Check internet proxy with curl command on Linux

Print Friendly, PDF & Email

When your services must talk to the Internet proxy to go out of your secured networks, how can you verify that proxy being effective? In this post, I am going…

pbcopy and pbpaste with Terminal in MacOS

Print Friendly, PDF & Email

The MacOS shell is very powerful to let you solve all your problems without making use of graphical tools. However, I am pretty sure an awful lot of users are…

Add git branch name to bash prompt

Print Friendly, PDF & Email

By default, git won’t display branch name to terminal prompt. To know which branch you are in, just run git branch command. However, if you want to customise how to…

How to export environment variables defined in a file

Print Friendly, PDF & Email

Using environment variables in modern applications is very common https://unix.stackexchange.com/questions/79064/how-to-export-variables-from-a-file https://unix.stackexchange.com/a/79084/30988 set -a . ./tmp.txt set +a

Create Symbolic Links on Windows

Print Friendly, PDF & Email

Your Python codes store and resident in many places on your computer. Is this a bit messed up to remember which Python directory you are looking for, isn’t it? On…

Use PowerShell to Set Environment Variables

Print Friendly, PDF & Email

What Are Environment Variables? Two fundamental components of any computer programming language are variables and constants. Like independent variables in a mathematical equation, these take on values that change the results of the…