This file contains hidden or 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
<# | |
.SYNOPSIS | |
Installs or upgrades Notepad4 via winget. | |
If upgrade is detected, it prevents winget from rewriting its existing configuration. | |
It also preserves the incoming configuration files that come with new version and if | |
-Merge parameter is specified, it tries to locate some merging tool and launches it to | |
allow user manually merge incoming upstream changes. |
This file contains hidden or 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
<# | |
.SYNOPSIS | |
Sets anamorphic ratio for squeezed DNGs in current directory so they then can be imported into Lightroom properly desqueezed (Lightroom will pick-up the ratio stored in DNG upon import) | |
.DESCRIPTION | |
Sets anamorphic ratio metadata for all DNG files in the current directory. | |
Such images can then be then imported to Lightroom which will display them properly based on exif ratio information as | |
Lightroom currently does not have any way to set anamorphic ratio for multiple images and every image has to be opened | |
in Photoshop to do that which is extremely painful | |
This file contains hidden or 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
<# | |
.SYNOPSIS | |
Converts various RAW format files to DNG format using `dnglab` https://github.com/dnglab/dnglab (see the homepage for supported RAW formats) | |
.DESCRIPTION | |
Converts RAW files in the current directory to DNG format. Uses dnglab for conversion | |
as it's more reliable than Adobe DNG Converter, especially for Canon R5C CR3 files. | |
Works cross-platform on both case-sensitive and case-insensitive file systems. | |
.PARAMETER OutputDir |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |