Skip to content

Instantly share code, notes, and snippets.

Daniel P. Gettings dpgettings

Block or report user

Report or block dpgettings

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View osascript_bg.sh
#!/usr/bin/env bash
osascript -e 'tell application "Finder"
Activate
delay 3
make new Finder window
end tell' &
@dpgettings
dpgettings / dummyfig.tex
Created Mar 19, 2014
Fancy placeholder figures in LaTeX
View dummyfig.tex
%% This part goes in preamble
\newcommand{\dummyfig}[1]{
\centering
\fbox{
\begin{minipage}[c][0.33\textheight][c]{0.5\textwidth}
\centering{#1}
\end{minipage}
}
}
View test_vine_dl.sh
#!/bin/bash
# single vine tweet no replies
echo "[single vine tweet no replies]"
echo "------------------------------"
bash vine_dl.sh https://twitter.com/PAPPADEMAS/status/791841723869605888
echo "---------"
echo "EXPECTED:"
echo "https://v.cdn.vine.co/r/videos/CE5DC8F9B71171654998891827200_3e673f8096e.1.5.14155013907193044834.mp4?versionId=29Q5Sdr1sY1OewhC42OL8ZZgJDdTElAy"
echo "*****************************"
You can’t perform that action at this time.