content
1 row where author = "ryan", category = "technology" and published_date = "2017-09-17"
This data as json, CSV (advanced)
Suggested facets: published_date (date)
slug ▼ | author | category | content | published_date | summary | title | url |
---|---|---|---|---|---|---|---|
making-background-images | ryan | technology | I'm a big fan of [podcasts](http://www.ryancheley.com/podcasts-i-like/). I've been listening to them for 4 or 5 years now. One of my favorite Podcast Networks, [Relay](http://www.relay.fm) just had their second anniversary. They offer memberships and after listening to hours and hours of _All The Great Shows_ I decided that I needed to become a [member](https://www.relay.fm/membership). One of the awesome perks of [Relay](http://www.relay.fm) membership is a set of **Amazing** background images. This is fortuitous as I've been looking for some good backgrounds for my iMac, and so it seemed like a perfect fit. On my iMac I have several `spaces` configured. One for `Writing`, one for `Podcast` and one for everything else. I wanted to take the backgrounds from Relay and have them on the `Writing` space and the `Podcasting` space, but I also wanted to be able to distinguish between them. One thing I could try to do would be to open up an image editor (Like [Photoshop](http://www.photoshop.com), [Pixelmater](http://www.pixelmator.com/pro/) or [Acorn](https://flyingmeat.com/acorn/)) and add text to them one at a time (although I'm sure there is a way to script them) but I decided to see if I could do it using Python. Turns out, I can. This code will take the background images from my `/Users/Ryan/Relay 5K Backgrounds/` directory and spit them out into a subdirectory called `Podcasting` from PIL import Image, ImageStat, ImageFont, ImageDraw from os import listdir from os.path import isfile, join # Declare Text Attributes TextFontSize = 400 TextFontColor = (128,128,128) font = ImageFont.truetype("~/Library/Fonts/Inconsolata.otf", TextFontSize) mypath = '/Users/Ryan/Relay 5K Backgrounds/' onlyfiles = [f for f in listdir(mypath) if isfile(join(mypath, f))] onlyfiles.remove('.DS_Store') rows = len(onlyfiles) for i in range(rows): img = Image.open(mypath+onlyfiles[i]) width, height = img.size draw = ImageDraw.Draw(img)… | 2017-09-17 | I'm a big fan of [podcasts](http://www.ryancheley.com/podcasts-i-like/). I've been listening to them for 4 or 5 years now. One of my favorite Podcast Networks, [Relay](http://www.relay.fm) just had their second anniversary. They offer memberships and after listening to hours and hours of _All The Great Shows_ I decided that I needed to … | Making Background Images | https://www.ryancheley.com/2017/09/17/making-background-images/ |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [content] ( [author] TEXT, [category] TEXT, [content] TEXT, [published_date] TEXT, [slug] TEXT PRIMARY KEY, [summary] TEXT, [title] TEXT, [url] TEXT );