Win 10: uptime with Powershell
Written by marcelpetrick on March 18, 2020
(I don’t care about output from the taskmanager or whatever logs. I need a processable duration without much tinkering.)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Windows PowerShell Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. PS C:\WINDOWS\system32> (get-date) - (gcim Win32_OperatingSystem).LastBootUpTime Days : 15 Hours : 3 Minutes : 25 Seconds : 57 Milliseconds : 956 Ticks : 13083579564019 TotalDays : 15,1430319027998 TotalHours : 363,432765667194 TotalMinutes : 21805,9659400317 TotalSeconds : 1308357,9564019 TotalMilliseconds : 1308357956,4019 |
macOS: THE operating system for ~the unproductive~ artists
Written by marcelpetrick on March 3, 2020
It’s quite funny. 2012 I’ve used the first time macOS (or how it was called OSX) in version 10.6.8. Now Apple has reached 10.15 and there is still no proper, simple, menu-guided way to enable an file-explorer for productive use.
How to show the current path in the title of the finder:
(bash and then enter those two lines for configuration and restarting the Finder)
1 2 |
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true killall Finder |
How to go to a known path:
Ctrl+Shift+G
-> then enter the path.