Windows
- 2024-11
winget install Microsoft.Edge --force winget uninstall MSIX\Microsoft.MicrosoftEdge.Stable_127.0.2651.74_neutral__8wekyb3d8bbwe
Windows Subsystem for Linux (WSL)
- https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux
- https://learn.microsoft.com/en-us/windows/wsl/
PS D:\> wsl --install --no-distribution Installing: Virtual Machine Platform Virtual Machine Platform has been installed. Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. The requested operation is successful. Changes will not be effective until the system is rebooted.
Windows Features: Virtual Machine Platform and Windows Subsystem for Linux have been added. Directory C:\Program Files\WSL\ about 460 MB.
PS D:\> wsl --status Default Version: 2 PS D:\> wsl --update Checking for updates. The most recent version of Windows Subsystem for Linux is already installed. PS D:\> wsl --version WSL version: 2.2.4.0 Kernel version: 5.15.153.1-2 WSLg version: 1.0.61 MSRDC version: 1.2.5326 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26091.1-240325-1447.ge-release Windows version: 10.0.19045.4529
Fedora
rootfs pouzivat z Fedora Cloud (nie CoreOS/Silverblue pouizva rpm-ostree) https://fedoramagazine.org/wsl-fedora-33/
resp. Fedora-Container-Base https://dev.to/bowmanjd/install-fedora-on-windows-subsystem-for-linux-wsl-4b26 https://www.windowscentral.com/software-apps/how-to-install-fedora-on-wsl-for-windows-10-and-windows-11
FINAL:
docker-brew-fedora import the official Fedora Docker Base Images built in Fedora Koji using fedora-container-release. CLI tool fedora-container-release
fetch the Fedora container base image rootfs from Fedora's build system and prepares it to be pushed to docker-brew-fedora
repository which is used to update our images in the Docker Hub.
layer.tar ~ 180M
PS D:\> wsl --list Windows Subsystem for Linux has no installed distributions. PS D:\> wsl --import fedora C:\fedora C:\Users\Musinsky\Downloads\layer.tar Import in progress, this may take a few minutes. WSL2 is not supported with your current machine configuration. Please enable the "Virtual Machine Platform" optional component and ensure virtualization is enabled in the BIOS.
ASUS MB with AMD CPU, BIOS: Advanced\CPU Configuration, SVM Mode optional [Enabled]
(Enable/disable CPU Virtualization)
PS D:\> wsl --import fedora C:\fedora C:\Users\Musinsky\Downloads\layer.tar Import in progress, this may take a few minutes. The operation completed successfully. PS D:\> wsl --list Windows Subsystem for Linux Distributions: fedora (Default) PS D:\> wsl --list --verbose NAME STATE VERSION * fedora Stopped 2
c:\fedora\ext4.vhdx ~ 240 MB, only this one Virtual Hard Disk v2 VHDX File Format
PS D:\> wsl [root@PC-EVULA d]# uname -a Linux PC-EVULA 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 GNU/Linux [root@PC-EVULA d]# cat /etc/fedora-release Fedora release 40 (Forty) [root@PC-EVULA d]# cat /etc/resolv.conf # This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf: # [network] # generateResolvConf = false nameserver 172.29.144.1 [root@PC-EVULA d]# exit logout PS D:\> wsl --list --verbose NAME STATE VERSION * fedora Running 2 PS D:\> wsl --shutdown # restart your WSL instances PS D:\> wsl --list --verbose NAME STATE VERSION * fedora Stopped 2 PS D:\>
/etc/dnf/dnf.conf remove line tsflags=nodocs
2024-06
d:\>winget install PowerShell Multiple packages found matching input criteria. Please refine the input. Name Id Source --------------------------------------- PowerShell 9MZ1SNWT0N5D msstore PowerShell Microsoft.PowerShell winget d:\>winget install Microsoft.PowerShell Found PowerShell [Microsoft.PowerShell] Version 7.4.3.0 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.4.3/PowerShell-7.4.3-win-x64.msi ██████████████████████████████ 103 MB / 103 MB Successfully verified installer hash Starting package install... Successfully installed d:\>winget list PowerShell Name Id Version Source ----------------------------------------------------- PowerShell 7-x64 Microsoft.PowerShell 7.4.3.0 winget
PS D:\> winget upgrade Name Id Version Available Source -------------------------------------------------------------------------------------------- 7-Zip 24.06 (x64) 7zip.7zip 24.06 24.07 winget Notepad++ (64-bit x64) Notepad++.Notepad++ 8.6.7 8.6.8 winget Total Commander 64-bit (Remove or Repair) Ghisler.TotalCommander 11.02 11.03 winget foobar2000 v2.1 (x64) PeterPawlowski.foobar2000 2.1 2.1.5 winget MPC-HC 2.2.1 (64-bit) clsid2.mpc-hc 2.2.1 2.3.0 winget 5 upgrades available. PS D:\> winget upgrade 7zip.7zip Found 7-Zip [7zip.7zip] Version 24.07 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://7-zip.org/a/7z2407-x64.exe ██████████████████████████████ 1.54 MB / 1.54 MB Successfully verified installer hash Starting package install... The installer will request to run as administrator, expect a prompt. Successfully installed PS D:\> winget upgrade Notepad++ Found Notepad++ [Notepad++.Notepad++] Version 8.6.8 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.6.8/npp.8.6.8.Installer.x64.exe ██████████████████████████████ 4.75 MB / 4.75 MB Successfully verified installer hash Starting package install... The installer will request to run as administrator, expect a prompt. Successfully installed PS D:\> winget upgrade clsid2.mpc-hc Found MPC-HC [clsid2.mpc-hc] Version 2.3.0 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://github.com/clsid2/mpc-hc/releases/download/2.3.0/MPC-HC.2.3.0.x64.exe ██████████████████████████████ 21.0 MB / 21.0 MB Successfully verified installer hash Starting package install... Successfully installed PS D:\>
PS D:\> winget source list Name Argument Explicit -------------------------------------------------------------- msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 false winget https://cdn.winget.microsoft.com/cache false PS D:\> winget source remove msstore Removing source: msstore... Done PS D:\>
2022-01
Windows Recovery Environment (Windows RE) partition obsahuje len 3 subory (samotny recovery image winre.wim, boot.sdi a ReAgent.xml). Tato particia nie je pod Windows na-mount-ovana. V pripade ak Windows instalator nemoze vytvorit samostatnu recovery particiu, tak tieto 3 subory sa nachadzaju v dir c:\Recovery\WindowsRE\, t.j. su sucastou systemovej partition. Prikaz ReAgentc.exe
umoznuje konfiguraciu Windows RE.
Microsoft licencia
- OEM (Original Equipment Manufacturer) licencia vacsinou nadobudnuta s kupou noveho pocitaca, hardveru a pod. Priviazana ku konkretnemu hardveru (pozor EU legislativa, moznost prenosu). Najvacsia vyhoda je cena. Aktivacia je vacsinou automaticka cez internet pripadne telefonicky.
- FPP (Full Packaged Product), Retail (maloobchodna) klasicka licencia zakupeneho produktu v obchode, ci uz krabicova verzia (DVD) alebo elektronicka (download from store). Plne prenosna a casovo neobmedzena. Aktivacia podobne ako pri OEM licencii, online cez internet alebo offline telefonicky.
- Volume license (VL) pre vacsie mnozstvo pocitacov v organizaciach, podnikova sfera (enterprise). Multilicencie ponukaju vacsiu flexibilitu, rychlejsiu implementaciu a samozrejme vyhodnejsiu cenu. Pre male mnozstvo licencii je mozna aj online manualna aktivacia. Pre hromadnu aktivaciu existuju v podstate dve moznosti:
- MAK (Multiple Activation Key), kde kazdy MAK kluc obsahuje konkretny pocet licencii. Administrator firemnej siete pomocou nastroja VAMT (Volume Activation Management Tool) moze preverovat pocet aktivnych, dostupnych licencii. Aktivacia je casovo neobmedzena.
- KMS (Key Management Services) v ramci firemnej siete musi byt nakonfigurovany server a Software Licensing Service s KMS klucom. Aktivacia prebieha pripojenim na firemny KMS server. Takato aktivacia je casovo obmedzena (180 dni), potom potrebna opatovna aktivacia pripojenim na KMS server.
OEM a Retail licencie su urcene pre beznych uzivatelov, Volume licencie su vhodnejsie pre podniky a vacsie organizacie.
Právna poznámka: Ďalší predaj softvérových licencií (vrátane OEM) je v rámci Európskej únie úplne legálny. "Tvorca počítačových programov nemôže brániť ďalšiemu predaju použitých licencií a hoci teda licenčná zmluva zakazuje ďalší prevod, majiteľ práva nemôže brániť ďalšiemu predaju tejto rozmnoženiny", píše sa v rozsudku Súdneho dvora EÚ v prípade Case C-128/11 UsedSoft GmbH/Oracle International Corp.
Windows 7
- Чем отличаются Retail и OEM дистрибутивы?
- Единственным отличием имиджей является содержимое конфигурационного файла выпуска ei.cfg, никаких других отличий нет. Совпадают даже размеры дистрибутивов. Файл настройки выпуска (ei.cfg) определяет устанавливаемый выпуск или же канал (Channel) распространения Windows и лицензию, используемую во время установки. Удаление файла настройки выпуска (ei.cfg) разблокирует выбор редакций систем Windows 7, а именно станет возможным самостоятельно выбрать какую именно редакцию системы Windows 7 устанавливать: Windows 7 Starter, Home Basic, Home Premium, Professional или же Windows 7 Ultimate.
- Все (crack) ОЕМ-активаторы работают по одному принципу. Они ставят эмулятор SLIC в загрузочную область жесткого диска (MBR область). Но методы установки у всех разные. ULoader я советую именно потому, что там большой выбор SLICs (хотя большинство НОВЫХ активатов имеют такие функции), его не валит проверка на подлинность и он умеет себя полностью удалять.
- Разрядность х86/х64 и язык не влияют на ключ.
- На MSDN раздаются Retail образы (кроме корпоративной (VL) и редакции Starter (она ОЕМ)).
Windows
With Volume Licensing (VL) for products you must use Volume Activation (VA). To activate these products with VA, you can use either a Multiple Activation Key (MAK) or Key Management Service (KMS).
How to get Volume Licensing Keys: Look up the product for which you need a key. Information on how to get your key will be displayed. Not all Volume Licensing products require a key. Volume license (VL) products using Volume Activation (VA) are pre-installed with a Key Management Service (KMS).
How do I get my key? (Office): Keys can be obtained from VLSC or by calling the Activation Call Center. The KMS key will enable you to activate all Office 2016 client products (Office Professional Plus, Visio, and Project). There are MAK keys for suites and standalones. Visio and Project are not part of any suites, so they have separate MAK keys. The only time you will need MAK standalone keys is when you are deploying standalone products.
How do I get my key? (Windows): Keys can be obtained from VLSC or by calling the Activation Call Center. The KMS and MAK keys are assigned; they will enable you to activate both Windows 10 Professional and Windows 10 Enterprise.
At the command prompt, type: slmgr.vbs -dli
and hit Enter.
A dialog will appear listing the full name of the edition. Another interesting thing this dialog displays is the channel the operating system is from, whether is OEM, Retail, Volume License Client.
dalej
"C:\Program Files (x86)\DOSBox-0.74\DOSBox.exe" d:\1\pbs.bat -userconf -exit -noconsole
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\0cc5b647-c1df-4637-891a-dec35c318583 změňte "ValueMax" z hodnoty 64 na 0 (nula) a je to.
Aktivacia
- datum konca aktivacie; run as administrator
cmd
:
C:\Windows\system32> slmgr.vbs /xpr
- preverenie kluca a aktivacie; run as administrator
cmd
:
C:\Windows\system32> slmgr.vbs /dli C:\Windows\system32> slmgr.vbs /dlv
- KB971033 - загружается через Windows Update или при проверке на подлинность.
- http://rutracker.org/forum/viewtopic.php?t=3405830
SSD
- https://kb.rice.edu/page.php?id=73705
- https://www.pdq.com/blog/get-appxpackages/
- https://www.pdq.com/blog/remove-appx-packages/
PS C:\> Get-AppxPackage -AllUsers PS C:\> Get-AppxPackage -AllUsers | Select Name, PackageFullName PS C:\> Get-AppxPackage PackageFullName | Remove-AppxPackage PS C:\> Get-AppxPackage -AllUsers Microsoft.549981C3F5F10 | Remove-AppxPackage # Cortana PS C:\> PS C:\> PS C:\> PS C:\>
Get-AppxPackage | Select Name, PackageFullName, NonRemovable
configure SATA as AHCI (BIOS)
Windows 7
https://docs.microsoft.com/en-us/windows-hardware/design/device-experiences/powercfg-command-line-options https://en.wikipedia.org/wiki/Powercfg
- zakazat/vypnut hibernaciu; run as administrator
cmd
:
C:\Windows\system32> powercfg -h off # as admin PS C:\Windows\system32> powercfg /hibernate off PS C:\Windows\system32> powercfg /change monitor-timeout-ac 55 # Turn off the display PS C:\Windows\system32> powercfg /change standby-timeout-ac 120 # Put the computer to sleep PS C:\Windows\system32> powercfg /list PS C:\Windows\system32> powercfg /query
- zakazat/vypnut vypnut defragmentaciu (schedule)
- zakazat/obmedzit indexovanie
- nechavat ~ 10 - 20 % volneho priestoru na SSD
- Intel SSD Toolbox (Superfetch disabled)
- preverenie funkcie TRIM; run as administrator
cmd
:
C:\Windows\system32> fsutil behavior query DisableDeleteNotify DisableDeleteNotify = 0
- http://pctuning.tyden.cz/hardware/disky-cd-dvd-br/20458?start=6
- http://pctuning.tyden.cz/software/ladeni-windows/17030-optimalizace-windows-7-pro-ssd-co-funguje-a-co-ne
Sumatra PDF
- http://blog.kowalczyk.info/software/sumatrapdf/manual.html
- http://code.google.com/p/sumatrapdf/wiki/CommandLineArguments
sumatrapdf -bg-color 0xAAAAAA
-esc-to-exit
and -bg-color
options change the defaults and persist them in sumatrapdfprefs.dat file (in %appdata%\SumatraPDF directory if installed, in the same directory as executable in portable mode). To revert back to defaults, you can delete sumatrapdfprefs.dat file.
MeGUI
- Windows 7 x64 + AviSynth64 sice funguje, ale nie je mozne (zatial) prehravat *.avs subory v MPC-HC, preto (zatial) len 32-bit verziu MeGUI (ten vsak aj tak pouziva 64bit wrapper na x264 !)
- AviSynth je 32-bit preto potrebny aj ffdshow 32-bit a nakoniec aj mpc-hc 32-bit, okrem ineho aj SubtitleWorkshop tak isto len 32-bit => all complet only 32-bit
- pre dir C:\Program Files (x86)\MeGUI pre istotu radsej ihned nastavit Security userovi Users (mucha-PC\Users) ako Full Control
- minimalne potrebne baliky, ktore je potrebne stiahnut pred instalaciou priamo z internetu: megui.org/auto alebo mirror megui.xvidvideo.ru/auto
- megui-core.zip
- megui-libs.zip
- sevenzip.zip
- sevenzipsharp.zip
- nastavit development version of MeGUI: Options -> Settings -> Extra config -> Configure servers
Notes
- UAC uplne vypnut. Pozor ak znova zapnem UAC tak niektore config files sa citaju z ineho miesta, napr. subor s konfiguraciou Button Bar v TC, settings pre MediaInfo, ...
- avisynth.dll klasicka 32-bit kniznica sa nachadza v C:\Windows\SysWOW64. V dir C:\Windows\System32 je len asi "kvazi symbolicka linka", ktoru mozno zobrazit napr. pomocou Total Commander. Ak prezeram subory cez Windows Explorer, tak ten tuto kniznicu v dir C:\Windows\System32 ani len nezobrazi.
- Pridat cestu C:\Program Files (x86)\MeGUI\tools\eac3to do systemovej premennej PATH
- Media Player Classic - Home Cinema uz dalej defaultne nepodporuje Store settings to .ini file (asi problemy s UAC), vsetky nastavenia sa zapisuju priamo do registrov
- Options -> Player -> Formats pridam napr. k Video File (avi) okrem koncovky .avi aj koncovku .avs ⇒ Video File (avi avs), nezabudnut potom na Association (from gray icon to black)
- zmena ikonky .avs z MPC-HC ikonky na AviSynth ikonku, ale nadalej subory .avs budu asociovane (budu sa otvarat) s MPC-HC
- hladam Progid:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.avs\UserChoice
⇒Progid = mplayerc64.avs
- menim ikonku:
HKEY_CLASSES_ROOT\mplayerc64.avs\DefaultIcon
⇒(Default) = C:\Windows\SysWOW64\avisynth.dll
- ak neexistuje key DefaultIcon tak ho vytvorim (prava myska na mplayerc64.avs, New -> Key)
- hladam Progid:
NOTES
IrfanView batch rename (by EXIF date)
$E36867(%Y%m%d_%H%M%S) _##_$N
$E36867(%Y%m%d_%H%M%S)_$E272.jpg
$E36867(%Y%m%d_%H%M%S)_stretnutie.gymnazium$O # bez "bodky", !!! na caps, resp. no caps !!! $E36867(%Y%m%d_%H%M%S)_$E272$O
A4 = 210 x 297mm = 8.27 x 11.69in = 794 x 1123px (resolution = 96.00 dpi) = 2480 x 3508px (resolution = 300.00 dpi)
MS Office 2016
- neexportovat do PDF cez original zabudovany exporter, ak je v dokumente vektorovy EPS obrazok, tak ten export ho prekonvertuje do bitmapy a teda strac sa kvalita
- exportovat, resp. tlacit do PDF cez napr. CutePDF, vektorovy EPS obrazok zostane aj vo vyslednom PDF vektorvy
- EPS obrazok vytvoreny v LibreOffice Draw a vlozeny do MS Word straca transparentnost, v LibreOffice Draw ulozit, exportovat do SVG a ten nasledne konvertovat do EPS cez napr. cloudconvertor.com, taky EPS je vo MS Word uz v poriadku (a ja po vytlaceni cez CutePDF je stale v poriadku a vektorovy)
GOOGLE find files
filetype:pdf "h10c series"