- Brace yourself
sudo apt-get update
sudo apt-get install cmake
sudo apt-get install libusb-1.0-0-dev
mkdir ~/proj
cd ~/proj
git clone https://github.com/texane/stlink stlink-repo
cd stlink-repo
sudo apt-get update
sudo apt-get install cmake
sudo apt-get install libusb-1.0-0-dev
mkdir ~/proj
cd ~/proj
git clone https://github.com/texane/stlink stlink-repo
cd stlink-repo
# If you work with git, you've probably had that nagging sensation of not knowing what branch you are on. Worry no longer! | |
export PS1="\\w:\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)\$ " | |
# This will change your prompt to display not only your working directory but also your current git branch, if you have one. Pretty nifty! | |
# ~/code/web:beta_directory$ git checkout master | |
# Switched to branch "master" | |
# ~/code/web:master$ git checkout beta_directory | |
# Switched to branch "beta_directory" |