https://pdxparent.com/camping/?utm_source=PDX+Parent&utm_campaign=252a4131b0-email-the-scoop-250209&utm_medium=email&utm_term=0_8816bd7281-252a4131b0-1323214470
Sunday, February 09, 2025
Monday, December 09, 2024
Windows Powershell command to touch all my files in a directory
Credit to chatGPT:
In Windows 11, you can use a simple PowerShell command to "touch" all your files, updating their timestamps so OneDrive considers them "fresh" without making actual content changes. Here's how you can do it:
Steps to Update File Timestamps
Open PowerShell as Administrator:
- Press
Win + X
and select Windows Terminal (Admin) or PowerShell (Admin).
- Press
Navigate to the folder you want to "touch":
powershellcd "C:\Path\To\Your\Folder"
Run the following command to update the
LastWriteTime
for all files recursively:powershellGet-ChildItem -Recurse | ForEach-Object { $_.LastWriteTime = Get-Date }
This will set the
LastWriteTime
of all files to the current date and time.
Explanation:
Get-ChildItem
: Retrieves all files and directories in the folder.-Recurse
: Processes all subfolders and their contents.ForEach-Object
: Iterates through each item.LastWriteTime
: Updates the timestamp toGet-Date
(current date and time).
Important Notes:
- Test First: Run this in a small test folder to ensure it behaves as expected.
- OneDrive Sync: After modifying timestamps, OneDrive should sync the updated metadata and treat the files as fresh.
- Preserve Original Timestamps: If you want to preserve original timestamps, back them up before running this script.
Let me know if you need further assistance!
Sunday, September 15, 2024
Tuesday, August 13, 2024
Google Tech Writing Resources....
https://developers.google.com/tech-writing/two/large-docs
Pop up a level for more resources, ack to Vincent Scheib for pointing to this in a linkedin post.
Tuesday, March 12, 2024
Thursday, February 08, 2024
Friday, January 26, 2024
Thursday, January 18, 2024
Emerson Quote
The quote reads: "To laugh often and much; to win the respect of intelligent people and the affection of children; to earn the appreciation of honest critics and endure the betrayal of false friends; to appreciate beauty; to find the best in others; to leave the world a bit better, whether by a healthy child, a garden patch or a redeemed social condition; to know even one life has breathed easier because you have lived. This is to have succeeded.” [Yahoo news article on Jeff Bezos]
Thursday, June 15, 2023
GLSL floats to ints syntax
welp...don't want to go looking for this again:
int idx= int(payload.flip);
Wednesday, May 11, 2022
visual studio BKM and ensuring HLSL files are built after changes are made
so...you have an .hlsl file and you want to make sure your changes trigger a rebuild do not use the pre-build for the solution. instead, click on the .hlsl and use a custom build tool. the final thing you have to do is to tell visual studio to treat the output as content and fill in the content field with your compilation output artifact(s).