How to stop an iframe video when closing modal

Needed to stop a video from playing and was impatient and having trouble getting it to work using YouTubes APIs. Found this solution and it worked right off the bat.

Add this method to your script:

var stopVideo = function ( element ) {
var iframe = element.querySelector( 'iframe');
var video = element.querySelector( 'video' );
if ( iframe !== null ) {
var iframeSrc = iframe.src;
iframe.src = iframeSrc;
if ( video !== null ) {

Call the function as needed, passing the container element into the function:

stopVideo( tab );

Dragged a hard drive icon into infinity

Although it was another lifetime ago, I used to work at Apple, so when I have issues with my Mac, it bruises my ego. Lucky for me, the internets are full of answers to questions. My hard drive disappeared from the finder. I knew it was ok, I could get to it through the Terminal, but how to get it back up in my finder window. Here’s the answer I needed today:

Show missing hard disks in the Finder sidebar
The Finder sidebar is a convenient location to access frequently used items such as hard drives, various folders in your home directory, network shares, and any custom items you drag there. If you use the sidebar for accessing hard disks, then there may be times when certain hard disks do not show up here, while others do.

The likely reason for this occurring is if you have removed that specific hard drive from the sidebar. Even though the Finder has a sidebar setting you can check or uncheck to globally show or hide all external hard disks, there is a gray area where only some of these enabled items will be shown. This happens when you select and drag items off of your sidebar manually.”

wordpress localhost subpages not working

I’ve been banging my head against the wall because a local install of a wordpress I’m developing would for some reason not let me go to any wordpress subpages. I kept looking at my permalink settings, they looked fine, tried adding mod_rewrite to my htaccess file. It didn’t make sense because the admin pages were working. Then I found this tip on Stack Overflow. Sometimes all it takes is going to the permalinks page and hitting the save button to regenerate the permalinks. Thank you Enniu!

Frank Stella does Moby Dick

Stella explained “I think the Moby Dick series [1986-1997] is a kind of turning point. I was a little afraid, and probably still am a little, with Moby Dick, but the pictures [are] essentially curved surfaces. They started to really move, and the novel moves; you’re going around the world, it’s pretty wet, there are a lot of waves and motion (Pobric).” In this manner, Stella creates a visual narrative as powerful as its original textual form.

Forever Stubborn

I was reading a Twitter conversation between two programmers a couple months ago. One of them said “I’m not a good programmer, I’m just stubborn.” I completely related and I’ve had that statement on my mind ever since. Despite the dozens and dozens of tutorials over the last few months, despite building my own projects, writing out code with pen and paper, dreaming nonsensical dreams about key-value pairs, playing coding games with my kid, reading at night until my eyes close on me, I still feel like a bad programmer. But I am not giving up, ever. OK? Never. Never ever.

I had an interview today. I was given a logic test. I eventually answered it but I’m embarrassed at how long it took me to answer it. After the interview I went on Amazon and looked up logic puzzle books. I looked for websites with logic puzzles. I thought, well, I’ve uncovered this inadequacy and now I know it’s there, have to do something about it. Stubborn. Stubborn. Stubborn. Determined and stubborn until the day I die.

I’d love to sit and chat some more about my stubbornness, but I have to get back to my umpteenth Javascript class.

Jolene Kelley website is live

Jolene Kelley is a Craniosacral Therapist in Portland, OR. She hadn’t updated her site in several years. Her previous site was not responsive and while it did a good job of delivering information, it needed a refresh. Jolene was also frustrated that she was unable to update the site other than adding and editing posts and pages. In order to save time and money, I found a template (Colorist by <span class=”author”><a href=””>Venkat Raj</a>) </span>with a great customizer and used that as my starting point.

There’s a funny story about how I met Jolene. I’ve been job hunting for several months off and on. It’s been stressful to say the least. I needed to give myself a day off so I headed to the soaking pools at <a href=””>McMenamin’s Kennedy School</a> for a soak. Jolene was there with her 4 year old daughter. Her daughter to a liking to me, it happens a lot to me, whether Juniper’s with me or not, kids tend to like me. Jolene and I started chatting about life and work. She asked me if I was looking for small website work and I said yes! Her beautiful site is the result. She had a big hand in the design, I just made the code magic happen. She threw in a Craniosacral appointment as a thank you and, let me tell you, this woman has a real gift. I’m so proud of how great the site turned out and I’m extra lucky that I met a great person.

Check out her site!

Go Deep

Applying River Tips to Life Struggles

“If you’re stuck in a hole, balling up and letting yourself go deep instead of fighting the water should help you flush out.”

–Quote from Irene’s Kayaking Blog

I used to raft quite a bit. Rafting is an interesting sport. Normally the term “swimming,” usually invokes images of happy summer days, splashing around a pool, possibly while sipping drinks with tiny umbrellas. In rafting and kayaking, swimming is a very very bad word. You don’t want to swim. Swimming means you’ve been ejected from the safety of your raft and are more than likely fighting for your life, possibly getting hypothermia, risking a head injury hitting your head on a rock, or getting pulled into a hole you can’t get out of.  A hole is a powerful, churning whirlpool that happens in an eddy, where the water rushes in and gets trapped, pulling any debris (or swimmers) down into it’s depths. It’s hard to get out of a hole. You can’t tell which way is up, gravity makes no senses, and you suddenly realize how important air is to you. Holes are nasty.

I was thinking about river holes today. I kind of feel like I’m stuck in a hole right now. I don’t know how to get out. This diagram and the preceding tip are a reminder that I can’t just tread water forever. At some point I’m going to have to ball up, go under, and try to shoot out to other side. When I do, I might not have enough oxygen to make it out the other side, but if I stay in this hole, I’ll eventually drown.

When Things Go Wrong on the River – And How to Get Out of a Hole


Unpimp the Developer Resume

This article, about how to be ready for web developer job interviews, is just as relevant to me as a returning developer as it is to “newbies.”

Eric Elliott: How to Land Your First Development Job in 5 Simple Steps

Which reminded me of those great VW commercials:

Continue reading “Unpimp the Developer Resume”

The Journal Tweak Experiment

I was served an ad for the self journal on Instagram ( Have you seen them? They are pretty great. I was incredibly curious about the company and I appreciated their openness to share what the journals offer and how they developed the idea. I loved that it’s a mash up of a day planner and a journal. I loved that it could help me set clear, concise, 3 month goals for myself. Continue reading “The Journal Tweak Experiment”

Backpacking analogy

I just had a thought that my working and studying and interviewing and all the things I’m doing to get back into tech is a lot like a really long backpacking trip through steep mountain passes. I think I am at the crest of whatever climb I am on, only to discover that the top of your hill leads to another, steeper hill. I am still making the miles, some days slowly, some days at a break-neck pace, but I am going forward.  Sometimes I have to stop and rest. Sometimes I have to backtrack to get water. Sometimes I have to take a day off to rest in a beautiful little canyon with a magical swimming hole to remind myself this is all worth it. Some days I yell “FUUUCCCCKKK MEEEE!” and I don’t stop no matter what the pain. I’m lonely, I’m scared, I’m so very tired. I am also proud of myself. I am also stronger than I’ve felt in a while. I am also learning so much and growing so much. Pretty much every day, no matter what kind of day it is, I get to have a moment where I say “yes! goddamnit, yes!” Continue reading “Backpacking analogy”

Termina plug-ins for sublime


I’m using Sublime and iTerm. I like iTerm a bunch, I like Sublime a bunch, but I’m thinking about keystroke conservation… For now I’m going to install the Terminal package in Sublime so I can launch iTerm from a keystroke instead of command tabbing all the time. I may consider looking into Sublime libraries that add terminals right into the Sublime window. Continue reading “Termina plug-ins for sublime”

Double Bind

Book: Double Bind – First Glance, but mostly about me and how it’s not about me.

First, before I tell you about this cool, new book, I’ll give you a snapshot of my life as I see it pertaining to the book’s subject.

After umpteen years in the tech industry, I left my career as a web developer to go back to school and pursue a career in art. I earned my Masters Degree hoping to become an art teacher. I needed to find a career that didn’t take me for granted. I needed to feel like my ambitions and skills appreciated and not squandered. I needed to feel like I mattered to the world. I’d been feeling mostly like a cog. Continue reading “Double Bind”