Skip to content

Instantly share code, notes, and snippets.

View bobmatyas's full-sized avatar

Bob Matyas bobmatyas

View GitHub Profile
@bobmatyas
bobmatyas / ol-cover-bookmarklet.js
Created October 18, 2023 15:31
OpenLibrary.org Book Cover Images Bookmarklet
javascript: (() => {
const isbn = prompt("Enter the 9 or 13 Digit ISBN for the book");
if ( isbn != null ) {
const coverImage = `https://covers.openlibrary.org/b/isbn/${isbn}-L.jpg`;
navigator.clipboard.writeText(coverImage);
alert(`${coverImage}\n\n Cover Image URL Copied to clipboard.`);
}
})();
@bobmatyas
bobmatyas / quotes.json
Created July 24, 2019 20:47
Quotes from https://quotesondesign.com to bypass CORS issue
[{"ID":2345,"title":"Martin LeBlanc","content":"A user interface is like a joke. If you have to explain it, it&#8217;s not that good. ","link":"https:\/\/quotesondesign.com\/martin-leblanc\/","custom_meta":{"Source":"<a href=\"https:\/\/twitter.com\/iconfinder\/status\/472014218267742208\">tweet<\/a>"}},{"ID":2063,"title":"Kenny Shopsin","content":"It&#8217;s OK to do stupid things, except when you notice them.","link":"https:\/\/quotesondesign.com\/kenny-shopsin\/","custom_meta":{"Source":"<a href=\"http:\/\/www.imdb.com\/title\/tt0390109\/\">documentary<\/a>"}},{"ID":269,"title":"Brian Webb","content":"I would show my jobs to my mother, and she would always say the same thing: &#8220;That&#8217;s nice dear.&#8221; And then she would say, &#8220;Did you write it?&#8221; or &#8220;Did you do the drawing?&#8221; or &#8220;Did you take the pictures?&#8221; I&#8217;d always answer &#8220;no,&#8221; then I realized the problem. My answer was then, &#8220;I made this happen. It&#8217;s called design.&#8221; ","li