Skip to content

Instantly share code, notes, and snippets.

View pedz's full-sized avatar

Perry Smith pedz

View GitHub Profile
@pedz
pedz / Full-List-2024-02-20.txt
Created February 20, 2024 16:41
Canon R5 Settings
These are the settings that I find on my Canon EOS R5 with firmware
1.9.0 I have tried to dive into each menu if there are sub-menus but
it isn't always obvious which menu items have sub-menus so I may have
missed some. This was done with a lens attached and two cards
inserted but no flash.
SHOOT1
Image Quality
Dual Pixel Raw
Cropping/aspect ratio
@pedz
pedz / build-emacs.sh
Created February 14, 2024 14:57
My script to build emacs on macOS. I just used it to build emacs-29.2 on macOS 14.3.1
#!/usr/bin/env zsh -x
# How to verify the signature
# gpg --verify emacs-29.2.tar.xz.sig emacs-29.2.tar.xz
# My build script. I delete the cached eln files to make the test run
# more consistent. If a previous test run successfully compiles a
# file, then a subsequent test run doesn't try when it actually might
# not be able to.
@pedz
pedz / extract.sh
Created June 10, 2022 16:49
I have an export setting for Instagram. Others use a print setting I believe. In any case, I export with all of the metadata and keywords. I add my title and Caption in Lightroom like a good little boy before hand. Add my keywords, etc. In the past, I would then go to Instagram and make my post copying all of that by hand. This little script sim…
#!/usr/bin/env zsh
function tag
{
exiftool -s3 -$1 $2
}
FILE=$1
shift
@pedz
pedz / What-I-Did
Created November 29, 2018 00:58
Script to build emacs on Mac OS
#!/bin/bash -x
VERSION=emacs-26.1
if [[ ! -d /usr/local/src/${VERSION} ]] ; then
cd /usr/local/src
tar xf /usr/local/images/${VERSION}/${VERSION}.tar.*
fi
cd /usr/local/images/${VERSION}
While checking Campaign-Protoss-Arbiter-0-General, key R used for default setting for ArbiterMPRecall/ArbiterMP conflicts with user setting from 'Pedz Core 40 Left Plus' for ControlGroupRecall2
While checking Campaign-Protoss-Arbiter-0-General, key F used for default setting for ArbiterMPStasisField/ArbiterMP conflicts with user setting from 'Pedz Core 40 Left Plus' for ControlGroupRecall4
While checking Campaign-Protoss-DarkArchon-0-General, key R used for default setting for DarkArchonMindControl/DarkArchon conflicts with user setting from 'Pedz Core 40 Left Plus' for ControlGroupRecall2
While checking Campaign-Protoss-DarkArchon-0-General, key F used for default setting for DarkArchonConfusion/DarkArchon conflicts with user setting from 'Pedz Core 40 Left Plus' for ControlGroupRecall4
While checking Campaign-Protoss-Mothership-0-General, key R used for default setting for MothershipMassRecall/Mothership conflicts with user setting from 'Pedz Core 40 Left Plus' for ControlGroupRecall2
While checking Campaig
@pedz
pedz / empty.SC2Hotkeys
Created February 11, 2018 21:41
A LOTV StarCraft II Hotkey file with everything unbound -- should be a complete list of possible bindings
[Settings]
AllowSetConflicts=1
[Hotkeys]
FPS=
Music=
Sound=
PTT=
DisplayMode=
ChatAll=
@pedz
pedz / Output from dump -H
Created October 22, 2012 13:28
gcc error log 20121022
dump -H /usr/work/build/gcc.git/./gcc/cc1
/usr/work/build/gcc.git/./gcc/cc1:
***Loader Section***
Loader Header Information
VERSION# #SYMtableENT #RELOCent LENidSTR
0x00000001 0x000000cf 0x0000dd1c 0x00000181
#IMPfilID OFFidSTR LENstrTBL OFFstrTBL
@pedz
pedz / org.postgresql.data.plist
Created October 17, 2011 01:44
Sample plist file used to start PostgreSQL on Mac OS X Lion (10.7)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.postgresql.data</string>
<key>Disabled</key>
<false/>
<key>ProgramArguments</key>
<array>
@pedz
pedz / output after settings
Created October 15, 2011 20:53
starting shell from within emacs
I added this to the top of /etc/profile.d/rvm.sh
[[ -n "${ZSH_VERSION:-""}" ]] || set -o errtrace
export rvm_trace_flag=1
set -o xtrace
[[ -n "${ZSH_VERSION:-""}" ]] ||
export PS4="+ \${BASH_SOURCE##\${rvm_path:-}} : \${FUNCNAME[0]:+\${FUNCNAME[0]}()} \${LINENO} > "
--------------------- output when shell is started -----------
++ [[ -n '' ]]