Skip to content

Instantly share code, notes, and snippets.

@lummie
lummie / gist:732b8cb0b478966b91a7f9244c7aeac7
Last active December 12, 2021 20:20
Change exif timezone with exiftool -8 hour
// I'm forever forgetting to adjust the time zone on my camera when taking pictures on vacation
// this uses the linux exiftool to adjust the timezone -8 hours for all images in a directory
exiftool "-DateTimeOriginal-=0:0:0 8:0:0" *
@lummie
lummie / GoSublime.sublime-settings
Created November 30, 2015 11:55
GoSublime User settings for build / test on Save
{
"on_save": [{
"cmd": "gs9o_run_many", "args": {
"commands":[
["clear"],
["sh", "if [ -f onsave.sh ]; then ./onsave.sh; else gofmt -s -w ./ && go build . errors && go test -i && go test && go vet && golint ; fi"]
],
"focus_view": false
}
}],
@lummie
lummie / create-ca-bundle.sh
Created November 20, 2015 15:53
SUSE Enterprise linux create a ca-bundle.pem from the certificates in /etc/ssl/certs
#!/bin/bash
if [ -f /etc/ssl/ca-bundle.pem ]
then
mv /etc/ssl/ca-bundle.pem /etc/ssl/ca-bundle.pem.old
fi
find /etc/ssl/certs -maxdepth 1 -type f -exec cat {} \; >> /etc/ssl/ca-bundle.pem