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 | |
FONTFILE=/usr/share/fonts/truetype/freefont/FreeSerif.ttf | |
TEXT="bladeRF_ATSC_Demo_TBM2" | |
VIDEOFILE="$1" | |
OUTFILE="$2" | |
#FILTERS="-vf drawtext=fontfile=${FONTFILE}:text=${TEXT}:x=100:y=50:fontsize=72:fontcolor=white@0.6:box=1:boxcolor=black@0.2 -t 327" | |
VIDEO_CODEC="-vcodec mpeg2video -s hd720 -r 25" | |
VIDEO_QUALITY="-b:v:0 8M" |
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
git filter-branch -f --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" | |
if [ "$GIT_COMMITTER_EMAIL" = "<OLDCOMMITTEREMAIL>" ] | |
then | |
cn="<NEWCOMMITTERNAME>" |
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
#!/usr/bin/env python | |
""" | |
Usage: oshpark_crawler.py | |
This script steps through OSHPark's shared projects pages and adds each | |
project's ID, name, and description to a local SQLite database for easy | |
searching. | |
""" |