How To wiki - youdar/How-to GitHub Wiki
git checkout <branch>
git reset --hard
git clean -dfx
git pullYou might have noticed that if you right-click on shortcuts, you don't have to option to pin them to the start menu. To overcome this do:
- open file explorer and go to
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\ - drag the shortcut you want to pin into the
Start Menufolder
That is it...
(Win 8.1)
- open the file explorer and go to
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup - paste a shortcut of the program you want to run at start-up to that folder
- create a file %userprofile%\aliases.cmd
- in that file you can add aliases as follow:
@echo off
doskey python3 = c:\python34\python.exe $*
for PowerShell this will look like
@echo off
New-Alias python3 c:\python34\python.exe
- click the [Windows] button
- type "cmd", right-click on "command-prompt" and select [open file location]
- right-click on the "command prompt" shortcut and select [properties]
- change the target to
%windir%\system32\cmd.exe /k "%userprofile%\aliases.cmd"
from uuid import uuid4
tmp_path = '/home/some_path/temp_file_name_'
temp_file_name = tmp_path + str(uuid4())