this will delete your local version!!
go back to commit x (=c5f567)
git checkout c5f567 -- file/1/to/restore file/2/to/restore
#!/bin/bash | |
SESSIONNAME="niid" | |
STARTDIR="/home/niid/Documents/Projects" | |
tmux has-session -t apr &> /dev/null | |
if [ $? != 0 ] | |
then | |
tmux new-session -s $SESSIONNAME -c $STARTDIR/TCM -n "jptr" -d | |
tmux send-keys -t $SESSIONNAME:0 "source activate TCM" C-m |
nslookup
PS C:\Users\niderhof> nslookup
Standardserver: S4DE4ZSYDIEE123.abc-sa.xxxxx.xyz
Address: 66.66.666.66 <--------
that is the nameserver you want WSL to use also.
# venv | |
function deactivate_venv() { | |
parentdir=$(dirname "${VIRTUAL_ENV}") | |
if [[ "$PWD"/ != "$parentdir"/* && -n "$(command -v deactivate)" ]] ; then | |
echo "Deactivating ${VIRTUAL_ENV}" | |
deactivate | |
activate_venv | |
fi | |
} | |
function activate_venv() { |