= PlayGround = ==todo backup-avid== ./bin/backup-avid-install.sh: grep -E '(\$HOME|~)/bin' .profile Add windows paths ==wsl mount== https://superuser.com/questions/1128634/how-to-access-mounted-network-drive-on-windows-linux-subsystem https://superuser.com/questions/1245210/access-ubuntu-partition-from-windows-sub-system https://dannyda.com/2020/09/11/how-to-access-ext4-3-2-on-windows-10-how-to-mount-ext4-3-2-on-windows-10/ https://devblogs.microsoft.com/commandline/access-linux-filesystems-in-windows-and-wsl-2/ wsl --mount wmic diskdrive list brief wsl --unmount Once mounted, it’s also possible to access these disks through the Windows explorer by navigating to \wsl$ and then to the mount folder. Limitations By default, wsl --mount attempts to mount the disk as ext4. To specify a filesystem, or for more advanced scenarios, check out Mount a disk in WSL 2. Also please note that this feature comes with the limitation that only physical disks can be attached to WSL 2. At this time, it’s not possible to attach a single partition. More details on the limitations here. == Mac droppings .fseventsd/ .HFS+ Private Directory Data\x0d/ # ".HFS+ ... Data\r" .Spotlight-V100/ .Trashes/ .DS_Store .com.apple.timemachine.donotpresent == Windows droppings $RECYCLE.BIN\ System Volume Information\ == Timecode calculators * OK: https://www.cinelexi.com/tc-calc * OK: http://www.michaelcinquin.com/tools/timecode_keykode * TcCalc: time code calculator for Windows, OS-X, Linux 64 and Android devices: https://www.drastic.tv/productsmenu-56/videoiosoftwarelist/tccalc (NOT https://robwomack.com/timecode-calculator ! No 25 FPS!!) ==VirtualBox ===Windows https://download.virtualbox.org/virtualbox/7.0.6/VirtualBox-7.0.6-155176-Win.exe https://download.virtualbox.org/virtualbox/7.0.6/Oracle_VM_VirtualBox_Extension_Pack-7.0.6a-155176.vbox-extpack === Guest Additions (1) 0 - ENTER: DriverPackageInstallW (3) 2148081673 - Failed to calculate strong name from 'C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.cat'. Check if catalog is valid and if file is in the same directory as the INF. (1) 0 - Successfully removed '{7d2c708d-c202-40ab-b3e8-de21da1dc629}' from reference list of driver store entry '' (1) 0 - RETURN: DriverPackageInstallW (0xE0000304) Stopped logging into separate file Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Version: 6.1.32 (Rev 149290) No previous version of Oracle VM VirtualBox Guest Additions detected Detected OS: Windows XP (32-bit) System Directory: C:\WINDOWS\system32 Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Extract: DIFxAPI.dll... 100% Extract: VBoxDrvInst.exe... 100% Extract: VBoxVideo.inf... 100% Extract: VBoxVideo.cat... 100% Extract: iexplore.ico... 100% Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Stopping VBoxService ... Stopping VBoxService via SCM ... Stopping VBoxService done Stopping VBoxTray ... Stopping VBoxTray done Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Extract: VBoxVideo.sys... 100% Extract: vboxdisp.dll... 100% Extract: VBoxMouse.sys... 100% Extract: VBoxMouse.inf... 100% Extract: vboxmouse.cat... 100% Extract: VBoxGuest.sys... 100% Extract: VBoxGuest.inf... 100% Extract: vboxguest.cat... 100% Extract: VBoxTray.exe... 100% Extract: VBoxControl.exe... 100% Extract: VBoxWHQLFake.exe... 100% Output folder: C:\WINDOWS\system32 Extract: VBoxService.exe... 100% Extract: C:\WINDOWS\system32\drivers\VBoxSF.sys... 100% Extract: C:\WINDOWS\system32\VBoxMRXNP.dll... 100% Extract: C:\WINDOWS\system32\VBoxHook.dll... 100% Installing drivers ... Output folder: C:\Program Files\Oracle\VirtualBox Guest Additions Installing guest driver ... Executing: "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log" Installing driver ... INF-File: C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf Using legacy mode for install ... (1) ENTER: DriverPackageInstallW (3) ERROR: 2148081673 - Failed to calculate strong name from 'C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.cat'. Check if catalog is valid and if file is in the same directory as the INF. (1) Successfully removed '{7d2c708d-c202-40ab-b3e8-de21da1dc629}' from reference list of driver store entry '' (1) RETURN: DriverPackageInstallW (0xE0000304) ERROR (e0000304): Unknown error! Execution returned exit code: 2 Error excuting ""C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log"" (exit code: 2) -- aborting installation Error excuting ""C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxDrvInst.exe" driver install "C:\Program Files\Oracle\VirtualBox Guest Additions\VBoxGuest.inf" "C:\Program Files\Oracle\VirtualBox Guest Additions\install_drivers.log"" (exit code: 2) -- aborting installation == Truly blank new tab page in Edge https://www.tenforums.com/browsers-email/167957-truly-blank-new-tab-page-edge-5.html == Windows Run shortcuts ms-settings:defaultapps SystemPropertiesAdvanced == Powershell Get-ExecutionPolicy -List Set-ExecutionPolicy Bypass -Scope CurrentUser -Force Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force Set-ExecutionPolicy Bypass -Scope Process -Force set-executionpolicy remotesigned powershell.exe -noprofile -executionpolicy bypass -file .\script.ps1 https://superuser.com/a/533745/53547 https://stackoverflow.com/questions/29645/set-up-powershell-script-for-automatic-execution/8597794#8597794 https://stackoverflow.com/questions/4037939/powershell-says-execution-of-scripts-is-disabled-on-this-system ==grub EFI https://www.techzim.co.zw/2021/01/how-to-restore-ubuntus-efi-partition-in-ubuntu-20-04/ ==Mac Time Machine https://superuser.com/questions/1445618/disable-time-machine-on-a-mac-tmutil-disable-doesnt-wor\\ https://superuser.com/a/1462352 defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true defaults read com.apple.TimeMachine DoNotOfferNewDisksForBackup defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true defaults read com.apple.TimeMachine DoNotOfferNewDisksForBackup And? https://soundmacguy.wordpress.com/2021/03/03/really-disabling-time-machine-a-multi-pronged-approach/ sudo defaults write /Library/Preferences/com.apple.TimeMachine.plist DoNotOfferNewDisksForBackup -bool true gives defaults read /Library/Preferences/com.apple.TimeMachine.plist { AutoBackup = 0; DoNotOfferNewDisksForBackup = 1; PreferencesVersion = 5; } And/or maybe touch /Volumes/MY_DISK/.com.apple.timemachine.donotpresent sudo tmutil disable ==Mac IP etc. https://superuser.com/questions/724525/concise-ip-information-in-os-x-terminal https://stackoverflow.com/questions/60743407/how-do-i-find-out-the-gateway-ip-in-shell https://apple.stackexchange.com/questions/423127/how-can-i-get-the-local-ip-address-in-macos-to-use-in-a-script https://apple.stackexchange.com/questions/20547/how-do-i-find-my-ip-address-from-the-command-line ifconfig -l | xargs -n1 ipconfig getifaddr route -n get default ipconfig getifaddr $(route -n get default | awk '$1=="interface:" { print $2 }') route -n get default | grep -E 'gateway|interface'