Put flip
somewhere in your $PATH
and chmod a+x
it.
Copy fuck
into ~/.bashrc
.
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>homebrew.mxcl.autossh</string> | |
<key>KeepAlive</key> | |
<true/> |
// ==UserScript== | |
// @name AutoRefresh board | |
// @namespace JIRA | |
// @include http://<JIRA URL>/secure/RapidBoard.jspa | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var i = setInterval(reloadBoard, 1000); | |
function reloadBoard() { | |
if (AJS.$('.js-refresh-now').length && AJS.$('.js-refresh-now').is(':visible')) { |
#!/bin/bash | |
fn="$1" | |
of=`echo $1 | sed s/mp4/jpg/` | |
lf=`ffprobe -show_streams "$fn" 2> /dev/null | grep nb_frames | head -1 | cut -d \= -f 2` | |
rm -f "$of" | |
let "lf = $lf - 1" | |
ffmpeg -i $fn -vf select=\'eq\(n,$lf\) -vframes 1 $of |