Use the type command
type filename.txt
Use the type command
type filename.txt
Running it on CasaOS, which apparently uses docker images. Updated Jellyfin then the android app was just stuck at the logo. Cleared the app cache which fixed it.
Annoying that the arses at MS haven’t bothered to patch the Windows 10 ISOs to the Blacklotus Malware so the recent official ISOs are flagged when using Rufus to create an image. These are ISOs even from the official Microsoft Volume License ISOs. They are clearly attempted to force people move to Windows 11 because those ISOs don’t have the issues.
Have switched themes to one of the inbuilt ones as the one I’ve been using for years went out of support years ago.
Played this on and off since they started and its good.
This game made you realise why it would all end quite quickly. Fire. In the game you can break into other houses, watching out for the dead left inside. You can use the cooker if the electric is still on, but if you then have to bug out quickly and don’t get a chance to turn the cooker off and there was food in it, a fire starts and that’s it. If it doesn’t rain soon then that fire spreads. I’ve had games where it spread for several blocks, I used it to thin out the heard. With no fire brigade to put fires out, it can spread for several streets.
Made you realise the likes of The Walking Dead wouldn’t last, simply due to fires starting and spreading.
Run gpedit from the start menu.
Go to Computer Configuration/Administrative Templates/Windows Components/Microsoft Defender Antivirus/
Set “Turn off Microsoft Defender Antivirus” to ENABLED. If you do this WON’T work, even with tamper protection off. Its supposed to enter a reg settings but doesn’t and when you open gpedit again you’ll see its not set again.
Instead I go to
Computer Configuration/Administrative Templates/Windows Components/Microsoft Defender Antivirus/Real-time Protection
And set “turn off real-time protection” to ENABLED. That seems to survive the settings change and turns of real time protection so you can do what you need when its incorrectly blocking files.
Use HTTRACK
Point it to the file and if the site is still up, it will download but not run.
Use
from getpass import getpass
I was just doing import getpass which will get you a syntax error: invalid syntax
Appears you have to have at least the HDMI cable in to be able to view the menu display. I assume it will work with the USB-C that runs power and display but only when you get your device to actually work with the USB-C cable.
My Samsung S8 always saves photos in the format: 20180101_001741 so the year, month and day is at the start. I was grabbing all files off the phone and sticking them in one folder on another drive as back up. Been doing this for several years so now its a mass of over 30k files from several years. Was causing Explorer to take ages to sort. So wanted to move the files to specific folders based on the year. Was taking ages doing manually so, with the help of ChatGPT and Reddit (mainly Reddit & surfingoldelephant) put this together:
<# Get files in the specified folder, ONLY files. #>
$sourceFiles = Get-ChildItem -Path 'F:\PhoneBackup\19 08 2023\SD card\DCIM\Camera' -File
<# Set the backup path. Same as sourcefiles because we get the first 4 characters of the file name and move to that folder. #>
$backupPath = 'F:\PhoneBackup\19 08 2023\SD card\DCIM\Camera'
<# For each $file (variable declared here as its thrown away after) in sourceFiles, set $year to be the first 4 characters of the file name. #>
foreach ($file in $sourceFiles) {
$year = $file.Name.Substring(0, 4)
<# From reading the IO.PATH is a class (so you don't have to write all the code out. This handles folder paths)
The combine takes the two arguements $backupPath and $year and using the IO.Path class, combines them to give a valid
path (IO.Path sorts that) and stores that in $destDirPath #>
$destDirPath = [IO.Path]::Combine($backupPath, $year)
<# Void supress' the output for the following command so you don't see anything
The command creates a new item in the $destDirPath, itemtype is a directory. The -Force just does it without confirmation. #>
[void] (New-Item -Path $destDirPath -ItemType 'Directory' -Force)
<# Move the item from its current path to the destination path.#>
Move-Item -Path $file.FullName -Destination $destDirPath
}
<# Output that script has finished. #>
Write-Host "Finished moving."