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
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
#!/bin/sh | |
# take input from stdin and sort, remove duplicates and filter | |
set -e | |
cat /dev/stdin | sort | uniq | \ | |
# strip hash endings (will kill twitter) | |
sed -e "s/#.*//" | \ | |
# remove session id strings |
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
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
#!/bin/sh | |
#change these parameters in /etc/default/plexmediaserver | |
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 | |
export PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver | |
export PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000 | |
export PLEX_MEDIA_SERVER_TMPDIR=/tmp | |
export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application Support" | |
test -f /etc/default/plexmediaserver && . /etc/default/plexmediaserver |
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/bash | |
# this is a heavily modified version of "http://www.gwern.net/Archiving URLs" | |
# it should take the last ~1.1 months worth of bookmarks and make a local archive, | |
# using wget, of the pages that were bookmarked (or whose bookmark was altered). | |
# break on errors, see "help set" for info | |
set -e | |
# # copy places.sqlite locally | |
# cp --force $(find ~/.mozilla/ -name "places.sqlite") ./ |
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
// 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 } |
OlderNewer