#wcsea: WordPress at the Command Line

Today, I’ve been invited to give a talk at WordCamp Seattle titled “WordPress at the Command Line: An Introduction to wpshell and wp-cli”.

It’s exactly this — an introduction, because I hope to inspire further exploration of interacting with WordPress through the command line. Similar to Scribu, I’ve found “the keyboard is faster than the mouse” for many tasks, and that developing proficiency with the command line has dramatically increased my effectiveness as a programmer.

So, I hope you take the time to check out wpshell and wp-cli (and ack, for that matter). Think critically about how they can improve your workflow, and let me know what you script up!

This morning, a quick travel story

Originally, I was on the 10:30 am flight. It’s a whole other story as to how I ended up on the 6:25 am flight.

Yesterday, I scheduled a cab to the airport for 5:15. Normally, this is more than sufficient time to get to the airport, check in, etc. It isn’t sufficient time, however, when you sleep through your alarm, both of the cabbie’s phone calls, and wake up at 5:30.

So, that happened. It doesn’t happen often, but it’s not the first time.

Thankfully, the cab was still in the area (I called him back) and we raced out to the airport.

On the way, I figured out that I had already checked in and I could use my phone as a boarding pass. One less step.

He dropped me off at 5:55, I was through security by 6:02 (thank you MVP status), and on the plane at 6:07.

Boom, boom and boom. Thank you baby Jesus (and karma, and Radio Cab, and the most awesome airport in the US).

#wcphx: Five tenets to mastering WordPress development

Enlightenment is knowing what your code is doing and why. Thankfully, instead of having to depend on your inner calm, there are a number of tools and strategies you can use to better see what’s going on. We’ll survey a range of topics you should explore to turn your frustration into bliss.

Feeling better already? In this session, we’ll touch on everything from debugging to best practices to coding standards to version control to performance and optimization. You’ll hear the insights WordPress.com VIP shares every day.

Session notes are below the slides.

Continue reading

Alyeska, day one

Today, Miles and I skiied Alyeska for the first time. Alyeska is a resort about 40 miles south of Anchorage, Alaska. If you’ve ever seen a Warren Miller or Matchstick Productions Film, you probably are aware of Chugach Mountain Guides which operate out of the same area.

The snow is pretty much the best I’ve skiied in my entire life. The mountain received 34 inches on Monday, 30 inches on Tuesday, and then about 6 inches per day since. That is a lot of snow.

We did 25.5k feet of vertical in 20 runs all over the mountain — and had fresh tracks most of the day. Tomorrow, the goal is to ski from 10:30 am to 9 pm and break 40k feet of vertical.

John O’Nolan on functional minimalism

Quote

I expected a lot of things when I started traveling, and most of them ended up being accurate. One thing which I didn’t expect, or plan for in any capacity, was just how drastically my general outlook on the world would change following the removal of material possessions. I don’t know why I didn’t expect it, really, cause it’s something that’s written about frequently. Prior to departure I’d absorbed countless articles discussing the sense of freedom from giving up all one owns. But I’ve never really been that attached to “stuff” – and I had no reservations about giving up mine – so I didn’t really see it as a big deal.

The shift in perspective doesn’t really have much to do with the things you own owning you, as such. It’s a state of mind. Whilst living a “normal” life, even as a relatively non-materialistic person, I was always thinking about the next “thing” to buy, or pay for, or do. I had absolutely no appreciation for how much time my mind spent locked into this rut of: earn money, buy something, do cool things with it, earn a bit more money, buy another thing.

Now that’s all gone. Not only do I have no “stuff” – but I can’t buy any new stuff at all unless I’m both able and willing to carry it on my back inside my hand-luggage-sized backpack around the world. Which is an extended way of saying: there’s nothing I want or need to buy, and even if I did – I couldn’t.

John O’Nolan — Taking Stock