Skip to content

Instantly share code, notes, and snippets.

@Denyerec
Denyerec / keywordSwap.xslt
Created November 1, 2023 13:41
Transpose CaptureOne Keywords to IPTC Description Field
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:user="urn:my-scripts"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
xmlns:lightroom="http://ns.adobe.com/lightroom/1.0/"
@Denyerec
Denyerec / shootproof.js
Created February 7, 2022 12:52
Shootproof Filename List
// ==UserScript==
// @name Shootproof Filenames
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Reveal filenames on Shootproof without user interaction
// @author Denyer
// @run-at document-end
// @match http*://studio.shootproof.com/*/order/*
// @match http*://studio.shootproof.com/v2/*/order/*
// @grant none
@Denyerec
Denyerec / gist:130dc774cec35c63678e331e9203a9e9
Created March 3, 2017 12:47
AHK Bind for Tap/Doubletap keybinding
;Tap 0 - Select RGB Layer (Ctrl+2)
;Double tap 0 - Select Layermask (Ctrl + \ )
Numpad0::
if numzero_presses > 0 ; SetTimer already started, so we log the keypress instead.
{
numzero_presses += 1
return
}
; Otherwise, this is the first press of a new series. Set count to 1 and start timer
numzero_presses = 1
@Denyerec
Denyerec / gist:58833cfab57b85a7f65af63d8f4a7425
Created August 22, 2016 16:37
LR 5.7 Control from Grid View
#IfWinActive, Adobe Photoshop Lightroom - Library
; LR 5.7
!Up::ControlClick, Button73,,,,2, NA ; Exposure up 1/3
!Down::ControlClick, Button72,,,,2, NA ; Exposure down 1/3
^!Right::ControlClick, Button40,,,,2, NA ; Temp up 1/3
^!Left::ControlClick, Button39,,,,2, NA ; Temp Down 1/3
+^!Right::ControlClick, Button44,,,,2, NA ; Temp up 1/3
+^!Left::ControlClick, Button43,,,,2, NA ; Temp Down 1/3
@Denyerec
Denyerec / Page.html
Last active August 29, 2015 14:02
Fixing column widths in BE Flux Grid without "style" attribute.
<flux:grid>
<flux:grid.row>
<flux:grid.column colPos="3" colspan="1" name="Testimonial Block" colspan="1" />
<flux:grid.column colPos="0" colspan="2" rowspan="2" name="Main Content" colspan="2" />
</flux:grid.row>
<flux:grid.row>
<flux:grid.column colPos="1" colspan="1" name="Sidebar Content" colspan="1" />
</flux:grid.row>
</flux:grid>
@Denyerec
Denyerec / gist:10020196
Created April 7, 2014 13:22
locallang.xlf Sample
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages"
date="2014-03-31" product-name="YourProviderExtensionName">
<header/>
<body>
<trans-unit id="flux.mycontentfce">
<source>Teaser Menu</source>
</trans-unit>
<trans-unit id="flux.mycontentfce.description">
@Denyerec
Denyerec / gist:10020123
Created April 7, 2014 13:18
New Fluidcontent FCE
{namespace v=Tx_Vhs_ViewHelpers}
{namespace flux=FluidTYPO3\Flux\ViewHelpers}
<f:layout name="Content"/>
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="http://fedext.net/ns/vhs/ViewHelpers"
xmlns:flux="http://fedext.net/ns/flux/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:section name="Configuration">
@Denyerec
Denyerec / gist:9930644
Created April 2, 2014 09:12
Basic Image rendering in frontend from Fluid Template
{namespace v=Tx_Vhs_ViewHelpers}
{namespace flux=FluidTYPO3\Flux\ViewHelpers}
<f:layout name="Page" />
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:v="http://fedext.net/ns/vhs/ViewHelpers"
xmlns:flux="http://fedext.net/ns/flux/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
{namespace v=Tx_Vhs_ViewHelpers}
{namespace flux=FluidTYPO3\Flux\ViewHelpers}
<f:layout name="Content" />
<f:section name="Configuration">
<flux:form id="teasermenucontent"
icon="{v:extension.path.resources(path: 'Icons/Page.gif')}">
<!-- Insert fields, sheets, grid, form section objects etc. here, in this flux:flexform tag -->
</flux:form>
</f:section>