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
| #lang scratch | |
| (require video/private/video | |
| video/private/devices) | |
| (provide vid) | |
| (define vid | |
| (make-input-device #:video "screen-capture-recorder")) |
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
| trap "echo q > ctr0; echo q > ctr1; sleep 1; killall -INT ffplay; killall -INT ffmpeg" EXIT | |
| mkfifo prv0 prv1 | |
| mkfifo ctr0 ctr1 | |
| n0=recordings/$(date +"%m%d%y+%H%M")_r0.mp4 | |
| n1=recordings/$(date +"%m%d%y+%H%M")_r1.mp4 | |
| n2=recordings/$(date +"%m%d%y+%H%M")_a0.mp4 | |
| ffplay -i - < prv0 & | |
| cat ctr0 | ffmpeg -y -i /dev/video0 -thread_queue_size 512 -i /dev/video1 \ |
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
| sequence-contract-violation: negative: method change-style cannot be called, except in states (unlocked), args (object:style% ...) 1677 1682 #f | |
| context...: | |
| /home/leif/rsrc/gui/gui-lib/framework/private/color.rkt:456:4: add-coloring/spell method in text-mixin | |
| /home/leif/rsrc/gui/gui-lib/framework/private/color.rkt:421:4: add-colorings method in text-mixin | |
| /home/leif/rsrc/gui/gui-lib/framework/private/color.rkt:357:4: continue-re-tokenize method in text-mixin | |
| /home/leif/rsrc/gui/gui-lib/framework/private/color.rkt:572:4: colorer-driver method in text-mixin | |
| /home/leif/rsrc/gui/gui-lib/framework/private/color.rkt:595:4: colorer-callback method in text-mixin | |
| /home/leif/rsrc/gui/gui-lib/mred/private/wx/common/queue.rkt:435:6 | |
| /home/leif/rsrc/gui/gui-lib/mred/private/wx/common/queue.rkt:486:32 | |
| /home/leif/rsrc/gui/gui-lib/mred/private/wx/common/queue.rkt:634:3 |
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
| (module lift scratch | |
| (#%plain-module-begin | |
| (#%require pict/code | |
| scribble/base) | |
| (splicing-parameterize ([current-code-font "Inconsolata"]) | |
| (include-section "sec.rkt")))) |
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
| #lang racket | |
| (require syntax/parse/define | |
| (for-syntax syntax/parse | |
| racket/base | |
| racket/syntax)) | |
| (define-syntax-parser foo | |
| [(_ headers ... body ...) | |
| #:when (for/fold ([good? #t]) |
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
| #lang reader "lang.rkt" | |
| @title{A Section} |
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
| #lang at-exp racket/unit | |
| (require framework | |
| drracket/tool | |
| racket/gui | |
| racket/port | |
| racket/format | |
| racket/class) | |
| (import drracket:tool^) |
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
| #lang at-exp racket/unit | |
| (require drracket/tool | |
| racket/port | |
| racket/format | |
| racket/class) | |
| (import drracket:tool^) | |
| (export drracket:tool-exports^) |
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
| #lang at-exp racket/unit | |
| (require drracket/tool | |
| racket/port | |
| racket/format | |
| racket/class) | |
| (import drracket:tool^) | |
| (export drracket:tool-exports^) |
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
| (module blar racket | |
| (#%plain-module-begin | |
| (foo) | |
| (writeln (foo)) | |
| (define-syntax (foo stx) | |
| #'(lambda () (writeln 42))))) |