avconv -i "AllIn.HD.mov" -qscale 1 -aq 1 -threads 4 -target film-dvd AllIn.SD.mpg
VIDEO_FORMAT=NTSC dvdauthor -o ALLIN -t AllIn.SD.mpg
VIDEO_FORMAT=NTSC dvdauthor -o ALLIN -T
mkisofs -v -dvd-video -o ALLIN-SD.iso ALLIN
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
| #!/bin/bash | |
| # thumbs-from-photos.sh | |
| # @jbuchbinder | |
| mkdir -p thumbs | |
| for R in *.CR2; do | |
| J=${R//.CR2}.thumb.jpg | |
| echo "$R -> $J" | |
| dcraw -e $R | |
| mv $J thumbs/ |
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
| #!/bin/bash | |
| echo "CVE-2015-0204 FREAK SSL Vulerability Checker" | |
| for S in $*; do | |
| X=$(openssl s_client -cipher EXPORT -connect $S:443 < /dev/null 2>/dev/null | grep SSL-Session | wc -l) | |
| if [ $X -ne 0 ]; then | |
| echo "$S : VULNERABLE" | |
| else | |
| echo "$S : [ OK ]" |
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
| #!/bin/bash | |
| # watermark.sh - @jbuchbinder | |
| # Watermark all JPEG images specified on the command line | |
| WATERMARK=~/Pictures/mywatermark.png | |
| for i in "$@"; do | |
| j="${i//.jpg}_watermarked.jpg" | |
| echo "$i -> $j" | |
| composite -compose atop -gravity southeast -background none "${WATERMARK}" "$i" "$j" |
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
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "os" | |
| ) | |
| func Upload(w http.ResponseWriter, req *http.Request) { | |
| mr, err := req.MultipartReader() |
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
| #!/bin/bash | |
| # Snippet for showing all 1-star rated pictures from a Canon 5Dmk3 and | |
| # enabling priority 1 for them in rawstudio. @jbuchbinder | |
| for I in *.CR2; do | |
| if [ `exiv2 pr -p a -u $I 2>&1 | grep 'Xmp.xmp.Rating' | awk '{ print $4 }'` == "1" ]; then | |
| echo -n $I | |
| J=".rawstudio/$I.cache.xml" | |
| if [ -f "$J" ]; then |
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
| ### | |
| ### HAPROXY 1.5.6 + SSL BUILD ON OPENBSD | |
| ### | |
| # Requires gmake package to be installed | |
| pkg_add gmake | |
| # Grab openssl package and install in /usr/local/ssl | |
| wget --no-check-certificate -c https://www.openssl.org/source/openssl-1.0.1i.tar.gz | |
| tar zvxf openssl-1.0.1i.tar.gz |
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
| Patch for not using relative URLs for admin forms. This allows proxied instances | |
| of the stats admin interface to continue to function, as the default FORM | |
| action is to submit to the current URL. | |
| Submitter: Jeff Buchbinder | |
| diff --git a/src/dumpstats.c b/src/dumpstats.c | |
| index 3855e09..d1527ea 100644 | |
| --- a/src/dumpstats.c | |
| +++ b/src/dumpstats.c |
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
| --- a/src/all_features.h Thu Aug 07 00:44:10 2014 +0300 | |
| +++ b/src/all_features.h Wed Aug 06 21:10:33 2014 -0400 | |
| @@ -40,8 +40,10 @@ | |
| #ifdef CONFIG_BEEP | |
| #define FEATURE_BEEP | |
| #endif | |
| - //~ #define FEATURE_WAV_RECORDING | |
| - //~ #define FEATURE_VOICE_TAGS | |
| + | |
| +/* Reenable this - @jbuchbinder */ |