Skip to content

Instantly share code, notes, and snippets.

@gigamonkey
gigamonkey / criteria.txt
Last active January 5, 2020 06:21
Hiring criteria: looking for the ability to …
Write a program that does what it’s supposed to do
Write idiomatic code
Debug a program that you wrote
Debug a program someone else wrote
Debug the interaction between a system you wrote and one you didn’t
File a good bug report
Modify a program you didn’t write
Test a program you wrote
Test a program you didn’t write
Learn a new programming language
@dmerand
dmerand / random-giphy-bg.html
Last active March 31, 2021 03:05
HTML Template for Random Animated Gif Background Using Giphy
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script>
$(function() {
var xhr = $.get("http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC");
xhr.done(function(data) {
$('.gif-bg').css('background-image', 'url(' + data.data.image_url + ')');
});
@alukach
alukach / mpo2gif.sh
Created July 11, 2012 07:09 — forked from fuba/mpo2gif
Convert a .mpo file to an animated gif
#!/bin/sh
# mpo2gif
# convert all .mpo files in a directory to a animation gif.
# Source: https://gist.github.com/878450
# this idea is from http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=16275
# this script requires exiftool and imagemagick.
for file in *.[Mm][Pp][Oo0]; do