VirtualTam's bookmarks
32 bookmarks found
-
- https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
/tmp
- Directory for temporary files. Often not preserved between system reboots and may be severely size-restricted./var/tmp
- Temporary files to be preserved between reboots.
-
1set -- */; printf '%s\n' '${@%/}'
Nice.
-
PowerShell Survival Kit
2018-03-07 Home:
- https://docs.microsoft.com/en-us/powershell/
- https://docs.microsoft.com/en-us/powershell/scripting/getting-started/fundamental/using-windows-powershell-for-administration?view=powershell-6
Wikiversity:
- https://en.wikiversity.org/wiki/PowerShell
- https://en.wikiversity.org/wiki/PowerShell/Variables
- https://en.wikiversity.org/wiki/PowerShell/Arrays_and_Hash_Tables
- https://en.wikiversity.org/wiki/PowerShell/Loops
Basics:
- https://stackoverflow.com/questions/1825585/determine-installed-powershell-version
- https://stackoverflow.com/questions/8343767/how-to-get-the-current-directory-of-the-cmdlet-being-executed
- https://superuser.com/questions/237902/how-can-one-show-the-current-directory-in-powershell
- https://stackoverflow.com/questions/6138849/how-do-you-move-files-folders-across-volumes-with-powershell
Commands and executables:
HTTP:
ZIP archives:
- https://serverfault.com/questions/18872/how-to-zip-unzip-files-in-powershell
- https://stackoverflow.com/questions/27768303/how-to-unzip-a-file-in-powershell
- https://www.reddit.com/r/PowerShell/comments/454e4y/how_do_i_unzip_a_zip_file_with_powershell/
- https://github.com/auberginehill/unzip-silently
- To extract silently: https://github.com/auberginehill/unzip-silently/blob/master/Unzip-Silently.ps1#L352
-
-
Watching a directory for file changes
2017-11-03 Python:
- http://brunorocha.org/python/watching-a-directory-for-file-changes-with-python.html
- https://github.com/gorakhargosh/watchdog
- https://stackoverflow.com/questions/182197/how-do-i-watch-a-file-for-changes
- https://stackoverflow.com/questions/136168/get-last-n-lines-of-a-file-with-python-similar-to-tail
C/C++:
-
-
See answer https://stackoverflow.com/a/41837196 for an elegant solution using the file module
-
Windows - Dynamic-Link Library Search Order
2017-05-02 - http://stackoverflow.com/questions/2463243/dll-search-on-windows
- https://msdn.microsoft.com/en-us/library/7d83bc18.aspx
- https://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx
- http://stackoverflow.com/questions/518228/is-it-possible-to-add-a-directory-to-dll-search-path-from-a-batch-file-or-cmd-sc