Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
########################################################## | |
# # | |
# Tools for getting information from the Lightroom DB # | |
# To use this script you need to download the SQL Lite # | |
# ODBC driver from http://www.ch-werner.de/sqliteodbc/ # | |
# # | |
# and set your default catlog path # | |
# # | |
########################################################## |
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
<# | |
.Synopsis | |
Copies images downloaded by Windows Spotlight | |
#> | |
[cmdletbinding()] | |
param ( | |
#Where to send JPEGS which are Landscape format e.g ~\AppData\Roaming\Microsoft\Teams\Backgrounds\Uploads | |
$LandScapeDestination = "C:\users\Public\Pictures\Sample Pictures", | |
#Where to send JPEGS which are portrait format | |
$PortraitDestination = "C:\Users\Public\Pictures\Portrait Samples" |
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
Function where-object { | |
[CmdletBinding(DefaultParameterSetName='None', HelpUri='https://go.microsoft.com/fwlink/?LinkID=113423', RemotingCapability='None')] | |
param( | |
[Parameter(ValueFromPipeline=$true)] | |
[psobject] | |
${InputObject}, | |
[Parameter(ParameterSetName='ScriptBlockSet', Mandatory=$true, Position=0)] | |
[scriptblock] | |
${FilterScript}, |
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
#Profile addition to redefine cd as a proxy for push location (and cd- for Pop). | |
# cd ... is transformed into into cd ..\.. (extra dot is an extra level), | |
# cd ^ is transformed into cd <<script i.e. profile>> directory | |
# cd \*doc is transformed into cd \*\Doc*\ | |
# cd = is transformed into an item from the stack. = is the first each extra = goes one deeper in the stack | |
# cd - will not tab expand but will pop an item from the location stack. 3 or more - will do an extra pop. | |
# -- means "all the rest are a strings", so two levels needs -- -- | |
# cd ~ Now supports tab expansion | |
# cd ~~ Tab completes "Special" folders (e.g. MyDocuments, Desktop, ProgramFiles) | |
# cd ~~Name\ Transorms to or tab completes the special folder |
NewerOlder