This file is a stream-of-consciousness record [unfinished] of what I did when investigating the question of whether sharing the AMD caches of Windows 10 users, between said users, would produce a saving somehow. It struck me that the files might have been identical on different user accounts as my understanding was that shader cache files are dependent on a combination of the software being run and the GPU. In the case of Steam, shader cache files are downloaded and then compiled locally. It appears that compilation is on the CPU. Reports say that, on Steamdeck, Steam have chosen a unified shader cache folder across different users. On Windows 10, the DirectX cache files for my users amounted to ~5GB each, across 4 users that play a closely matched selection of games; so I wondered if I could save either the compilation time and/or the disk space for any of those files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://stackoverflow.com/questions/13126175/get-full-path-of-the-files-in-powershell | |
// https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-date | |
gci -Recurse | % { $dateTimeString = (Get-Date).ToString("yyyyMMdd-HHmmss"); $outputFileName = "AMD-listing-$dateTimeString.txt"; $_.FullName, $_.CreationTime, $_.LastWriteTime, $_.Attributes | Out-File $outputFileName -Append } | |
// semi-colon separated | |
gci -Recurse | % { $dateTimeString = (Get-Date).ToString("yyyyMMdd-HHmmss"); $outputFileName = "AMD-listing-$dateTimeString.txt"; "{0};{1};{2};{3}" -f $_.FullName, $_.CreationTime, $_.LastWriteTime, $_.Attributes | Out-File $outputFileName -Append } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cyan T-bar crosshair | |
CSGO-psRwD-BpcHQ-7siqM-qr7x3-KPBYN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In ./convertpage.sh line 99: | |
if [ -d "$outdir" -a -d "$outdirmd" ] | |
^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. | |
In ./convertpage.sh line 99: | |
if [ -d "$outdir" && -d "$outdirmd" ] | |
^-- SC2107: Instead of [ a && b ], use [ a ] && [ b ]. | |
For more information: | |
https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] && [ q ] as [ p -a q... | |
https://www.shellcheck.net/wiki/SC2107 -- Instead of [ a && b ], use [ a ] ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There's not much I can see changed from the Charter published Oct 2019 and this one published Feb 2020, broad changes: | |
-2.11 "violence is banned" has been removed; crikey! | |
+2.13 added follow good governance as adopted by IOC | |
+4.13 protection of personal data | |
+5.6 changes to FIDE flag/seal | |
c7.14 et sequens - "the Secretariat" is now "FIDE offices" | |
c8.2 "finalistic" changed to "theological"; weird? | |
c10.1 e) et sequens - "Audit Commission" becomes "Verification Commission" | |
-16.1 "j) the Secretariat" removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://www.mirrorservice.org/sites/download.kde.org/stable/digikam/6.2.0/digikam-6.2.0.tar.xz | |
tar xvf ./digikam-6.2.0.tar.xz | |
cd digikam-6.2.0 | |
# following README.md | |
export VERBOSE=1 | |
export QTDIR=/usr/lib/qt5 | |
export PATH=$QTDIR/bin:$PATH | |
# packages for compile and deb management | |
# without ECM one gets error `Could not find a package configuration file provided by "ECM"` | |
sudo apt install devscripts checkinstall extra-cmake-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Please share improvements here or on StackOverflow and add a link here. | |
* Please upvote https://meta.stackoverflow.com/questions/288674/custom-date-format/385090#385090 if you agree that | |
* users should have a choice of date format available. | |
* | |
* - see https://developer.mozilla.org/en-US/docs/Web/CSS/@document | |
* - https://www.regextester.com/ may be useful too, but careful of the double escaping! | |
* keywords: date format, date display, stackoverflow, stackexchange, css, script | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var css = 'a:after{content:" (" attr(href) ") ";}', style = document.createElement('style'); style.type = 'text/css'; style.appendChild(document.createTextNode(css)); document.head.appendChild(style); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
case "$1" in | |
remove) | |
# Restore Breathe icons diversions (we need a better way to do this) | |
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/16x16/places/start-here.png | |
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/22x22/places/start-here.png | |
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/24x24/places/start-here.png | |
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/32x32/places/start-here.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: AuthenticAMD | |
CPU Brand: AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G | |
CPU Family: 0x15 |
NewerOlder