Skip to content

Instantly share code, notes, and snippets.

@tomdurkin
tomdurkin / gist:fd5c00b1ad5fa0e6eabc
Created January 7, 2016 23:43
Show current year in webpage
<script type="text/javascript">
document.write(new Date().getFullYear());
</script>
// wordpress
<?php echo date("Y"); ?>
// More examples
http://updateyourfooter.com/
@markupboy
markupboy / html5video.sh
Created February 8, 2011 15:43
automated conversion of a file to all three html5 compatible video formats - h.264, ogg, and webm
#!/bin/sh
####################################
# Output file for HTML5 video #
# Requirements: #
# - handbrakecli #
# - ffmpeg #
# - ffmpeg2theora #
# #
# usage: #