Skip to content

Instantly share code, notes, and snippets.

View rose-m's full-sized avatar

Michael Rose rose-m

View GitHub Profile
@rose-m
rose-m / video2gif.sh
Created August 24, 2017 17:46
Convert Video files to GIFs using FFMPEG
#!/bin/bash
# Script to convert video files to GIFs using ffmpeg
FFMPEG_PATH=$(which ffmpeg)
if [[ -z FFMPEG_PATH ]]; then
echo "FATAL: ffmpeg was not found in your path - please install beforehand"
exit 1
fi
FPS=10
@rose-m
rose-m / shellStuff.sh
Created November 3, 2016 07:16
Handy Tools
##### DOWNLOADING JAR WITH DEPENDENCIES FROM MAVEN #####
# 1. Download the latest ivy jar (currently it's v.2.4.0)
curl -L -O http://search.maven.org/remotecontent?filepath=org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar
# 2. Run ivy.jar to retrieve all dependencies
java -jar ivy-2.4.0.jar -dependency XX_DEPENDENCY_XX -retrieve "lib/[artifact]-[revision](-[classifier]).[ext]"
@rose-m
rose-m / keybase.md
Last active July 5, 2017 09:40
Keybase Proof

Keybase proof

I hereby claim:

  • I am rose-m on github.
  • I am rosem (https://keybase.io/rosem) on keybase.
  • I have a public key ASDWN047qKVeakcYwxSk-UR3bNQ9j-FFL4thCDInPzBb9Qo

To claim this, I am signing this object: