Skip to content

Instantly share code, notes, and snippets.

@lharland
Last active March 13, 2022 11:26
Show Gist options
  • Save lharland/c375f35488cf5c0c4d0f95af18c07b36 to your computer and use it in GitHub Desktop.
Save lharland/c375f35488cf5c0c4d0f95af18c07b36 to your computer and use it in GitHub Desktop.
PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:${PATH}"
export PATH
JAVA_HOME='/usr/libexec/java_home -v 11'
alias pddl="docker run -it --rm -v $PWD:/workspace cs4246/base python"
alias recordscr='/Users/leslieharland/ffmpeg/bin/ffmpeg -f avfoundation -r 1 -probesize 20M -threads 1 -i "1:" -vcodec libx264 -b:v 128k -s hd720 /Users/leslieharland/A0183975L.mp4'
alias tag='python buildtagger.py sents.train model-file'
alias view='python runtagger.py sents.test model-file sents.out; python eval.py sents.out sents.answer'
alias play='/Users/leslieharland/ffmpeg/bin/ffplay A0183975L.mp4'
alias recordvlc='vlc --sout="#transcode{vcodec=h264, vb=64, scale=Auto, acodec=none, scodec=none}:file{dst=A0183975L.mp4,mux=mp4}" --screen-fps=12 screen://'
alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'
alias amend='git commit --amend --no-edit'
alias force='git push origin +master'
alias act='conda activate CS4243'
alias jp='jupyter notebook'
alias convert='jupyter-nbconvert --to PDFviaHTML'
alias jphtml='jupyter nbconvert --to html'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment