- Copy a film roll (a directory of RAW images) into a directory on the machine running Darktable.
- Import the film roll into Darktable.
- Review the images using lighttable mode and remove any images that are beyond repair.
- Take a snapshot of the image so we can do a before and after comparison.
- Adjust the white balance.
- Exposure compensation and recovery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" requires python-vim and GitPython | |
" (Arch: python2-vim && python2-gitpython | |
" https://chris-lamb.co.uk/posts/committing-every-time-you-save-vim | |
function! AutoCommit() | |
python << PYEOF | |
import vim, git | |
def python_input(message='', default=''): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename T> | |
class Printer { | |
public: | |
void print(void) | |
{ | |
std::cerr << "ts: "; | |
for (auto & i : ts) { | |
std::cerr << i << ", "; | |
} | |
std::cerr << std::endl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// g++ $(pkg-config --libs --cflags xcb) -std=c++11 -Wall xpp.cpp | |
#include <memory> | |
#include <xcb/xcb.h> | |
namespace xpp { | |
template<typename ... ARGS> | |
class Request { | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tree ~/.xkb | |
.xkb | |
├── keymap | |
│ └── default | |
└── symbols | |
└── capslock | |
$ xkbcomp -I${HOME}/.xkb ${HOME}/.xkb/keymap/default $DISPLAY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function show-manpage () { | |
autoload -U split-shell-arguments | |
split-shell-arguments | |
zle push-line | |
local BUFFER=" man ${reply[$REPLY]}" | |
zle accept-line | |
} | |
zle -N show-manpage | |
bindkey -a 'K' show-manpage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setopt nohup # recommended for bg'ing a proc | |
setopt nocheckjobs # recommended for bg'ing a proc | |
#setopt auto_continue # recommened for disown'ing a proc | |
local alwaysBackgroundPattern | |
alwaysBackgroundPattern=('firefox.*' 'thunderbird.*' 'urxvt.*') | |
function checkForXProc() { | |
coproc isXWindow "$1" $(date +%s) | |
disown %isXWindow |