Skip to content

Instantly share code, notes, and snippets.

@jondashkyle
jondashkyle / mod-slideshow.js
Last active November 17, 2020 17:23
Slideshow previous and next mod operator
/**
* For some reason I'm always forgetting this.
* Probably because I'm not a mathematician.
*/
let counter = 0
const prev () => {
counter -= 1
}
@jondashkyle
jondashkyle / README.md
Last active August 29, 2015 14:17
src img

Attribute That Shit

A drop-in solution for crediting the sources of your un-attributed image blog. Uses a modified version of Jarred Bishop’s handy bookmarklet src img.

To use, copy and paste the code below before the </head> tag of your page. If you're using Tumblr, you can locate this by navigating to your Dashboard → Customize (right column) → Edit HTML (up top).

In use on http://blog.hrstudioplus.com

@jondashkyle
jondashkyle / epileptic.css
Created December 27, 2013 08:08
Blink rehash #css
.element:hover {
-moz-animation: blink 150ms steps(1, end) infinite;
-webkit-animation: blink 150ms steps(1, end) infinite;
}
@-moz-keyframes blink {
0% { opacity: 0; }
50% { opacity: 1; }
}