Skip to content

Instantly share code, notes, and snippets.

View jamesthomasonjr's full-sized avatar

JT jamesthomasonjr

View GitHub Profile
@jamesthomasonjr
jamesthomasonjr / update-copyright.sh
Created February 24, 2020 19:00
Update the copyright only on changed files
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
<dict>
<key>Comment</key>
<string>Citrus Soda! All of the caffeine with none of the yellow 5!</string>
</dict>
-->
<plist version="1.0">
<dict>
@jamesthomasonjr
jamesthomasonjr / profile.ps1
Created June 9, 2021 13:55
Powershell profile
function touch {
param([string] $file)
if(test-path $file) {
Set-ItemProperty -Path $file -Name LastWriteTime -Value (get-date)
} else {
Set-Content -Path ($file) -Value ($null);
}
<#