Skip to content

Instantly share code, notes, and snippets.

xyz.h:
#ifdef XYZ_HEADER
#ifndef XYZ_HEADER_H
#define XYZ_HEADER_H
void xyz_foo();
#endif
#else
diff --git a/autoload/Replay.vim b/autoload/Replay.vim
index 856486a..76abd40 100644
--- a/autoload/Replay.vim
+++ b/autoload/Replay.vim
@@ -250,11 +250,12 @@ fun! Replay#ScreenCapture(on, ...) "{{{1
\ '2> '. s:replay_record_param['log'] : '')
else
" fall back using ffmpeg/avconv
- let cmd = printf('%s %s -i %s -vf crop=%d:%d:%d:%d %s/%s_%d.%s %s',
+ let cmd = printf('%s %s -s %sx%s -i %s+%d,%d %s/%s_%d.%s %s',
#lang racket
(define x 0)
(define-syntax (test1 stx)
(syntax-case stx ()
[(_ z)
(let ()
(printf "~a\n" (bound-identifier=? #'x #'z))
(printf "~a\n" (free-identifier=? #'x #'z))
#'1)]))