A long time ago, ok, February of last year, I posted about using the Adobe PDF Embed library with Vue.js: Using the PDF Embed API with Vue.js. The main issue with our Embed library and libraries like Vue is a "chicken and egg" issue. Basically, our docs tell you to add an event listener for our library to load, but it's possible that the library has loaded before you add the event listener.
File this under the "I have no freaking idea who this will be useful for" bucket, but I wrote up a script to help me with a problem concerning authoring on Medium and figured I'd share it. It also allowed me to play more with GitHub's APIs and that was definitely useful for me, so hopefully it will be useful for you. Why Medium? I'm not a fan of the platform myself, but at work, we use it for our developer blog so I have to use it. In general, it's an OK platform, but one thing it doesn't do well is code blocks.
Happy Almost October! It's Fall here, and by Fall, I mean still incredibly hot and humid and reminding me why I can't wait to move out of this state (for more reasons than the weather of course). Here's a few links for you to enjoy. Have a great week!
Sometimes when thinking about something I want to post, a particular part of it grabs my attention and I decide to rip it out and write something focused on just that one aspect. That's what happened today when I was thinking about a particular way of doing date math and I wanted to see if it would make sense.
I'm working on a project to help with local initiatives and as part of that effort, I needed to look into creating a nice way to display, make available, etc., files stored in Google Drive. Google Drive lets you make a folder public, and to be honest, the interface isn't too hard to use. I've got a folder you can open yourself at https://drive.google.com/drive/folders/1FYLaoscxWBV_BU5sFouf7XCrv7cKktBY?usp=sharing. Here's how it looks if you don't want to click.
Frequent readers here will know I'm somewhat fascinated by randomness. As a few examples, I've built demos that rely on generated text: @TBSHoroscope and @MonsterConflict. I've also built demos that randomly select from an existing data set, including @RandomComicBook and @NPSBot. All of these accounts make me smile when I see them show up in my timeline, and they've been informative as well. The @RandomComicBook account has really surprised me with how much art styles have changed at Marvel over the decades as well as just how old some characters are.
It's been a little while since I've blogged about Alpine.js, and I thought an example of integrating Google Maps with it would be a good way to continue my path to becoming comfortable with the framework. I imagined it would be fairly simple, but in building a few demos I ran into some interesting issues that helped me learn a bit more about Alpine. Let's take a look.