Skip to content

Instantly share code, notes, and snippets.

www.youtube.com
m.youtube.com
youtubei.googleapis.com
youtube.googleapis.com
www.youtube-nocookie.com
imgur.com
imgur.map.fastly.net
ipv4.imgur.map.fastly.net
m.imgur.com
nsfw.reddit.com
nsfw-gifs.reddit.com
*.redd.it
packaged-media.redd.it
www.imgur.com
www.thechive.com
@mwolfetech
mwolfetech / pattern-seq.clj
Last active January 28, 2019 17:58
parse/pattern-seq.clj
(ns parse.pattern-seq
(:import [java.util Scanner]))
(defn pattern-seq [pattern-keys pattern input]
(map (comp (partial zipmap pattern-keys) rest) (re-seq pattern input)))
@mwolfetech
mwolfetech / jQuery.EmbedPicasaGallery.js
Created September 14, 2011 00:45
Adjustment to EmbedPicasaGallery to pass album description, photo count, and title back to user provided callback functions.
/**************************************************************************
* Name: EmbedPicasaGallery
* Author: Tobias Oetiker <tobi@oetiker.ch>
* Demo: http://tobi.oetiker.ch/photo/
* $Id: jquery.EmbedPicasaGallery.js 474 2011-06-16 09:02:45Z oetiker $
**************************************************************************
Description:
[elided]