git submodule update --init --recursive
git submodule update --recursive
git submodule update --recursive --remote
Download files using scp
scp -P 2222 gabriele@ipaddress:/home/gabriele/*.tar.gz /home/zap/nexcloud-backup/*
Clean PowerShell history
- Clear Windows 10 (Server 2016) history “feature”
Remove-Item (Get-PSReadlineOption).HistorySavePath
- Reset the console buffer
ALT+F7
- Clear PSReadline’s session history
[Microsoft.PowerShell.PSConsoleReadLine]::ClearHistory()
- Clear PowerShell’s own history
Clear-History
Commands taken from this stackoverflow article
Compress pdf file with linux
A ghostscript command to reduce the size of big pdf files
A pdf file with a lot of scanned images can be a very large file.
I reduced a file from 307MB to 68MB with limited quality loss.
[Read More]