Skip to content

Instantly share code, notes, and snippets.

View RauchF's full-sized avatar

Felix Rauch RauchF

View GitHub Profile
@RauchF
RauchF / selectver.ps1
Created June 5, 2020 10:52
Quickly switch between versions of software by using a symlink in Windows
#Requires -RunAsAdministrator
param($version)
$scriptDir = Split-Path (Get-Variable MyInvocation -Scope Script).Value.MyCommand.Path
Push-Location $scriptDir
$available = Get-ChildItem -Directory -Exclude "active"
$active = if (Test-Path "active") {Get-Item -Path "active"} else {$null}
@RauchF
RauchF / gist:ddaad2fcfcab4a6530dc745c9a198472
Last active November 11, 2016 13:14
List versions of TYPO3 extensions underneath the current directory
find . -name ext_emconf.php -exec grep -Hie "[\"\']version[\"\']\s*=>" {} \; | sort