Skip to content

Instantly share code, notes, and snippets.

#!/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 "*****************************"
@dpgettings
dpgettings / dummyfig.tex
Created March 19, 2014 05:19
Fancy placeholder figures in LaTeX
%% This part goes in preamble
\newcommand{\dummyfig}[1]{
\centering
\fbox{
\begin{minipage}[c][0.33\textheight][c]{0.5\textwidth}
\centering{#1}
\end{minipage}
}
}
#!/usr/bin/env bash
osascript -e 'tell application "Finder"
Activate
delay 3
make new Finder window
end tell' &