Skip to content

Instantly share code, notes, and snippets.

@plugnburn
Created July 10, 2014 19:37
Embed
What would you like to do?
Giffer - seamlessly embed JS into a GIF image to be usable both in <script> and <img> tags
#!/bin/bash
#Usage: giffer.sh input.gif input.js output.gif
(echo -n "GIF89a=/*";tail -c +10 $1;echo -n "*/0;$(<$2);")>$3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment