This year at WordCamp SLC I gave a talk on the basics of how I setup project repositories using Composer and WordPress Packagist. For those of you who attended here are the two sample repos containing all of the example code in my slides.
Late last year we transitioned WPSLC to UtahWP and refocused a little. Instead of just doing one meetup we branched out and started helping potential meetup leaders get something started in their area. Over the last few months we’ve been working with the organizers of the Utah Valley group, and on Thursday they’ll have their first meeting in Orem. In the first meeting the organizer, Velda, is covering the basics of WordPress.
I’m super excited about this first group starting, and hope to help launch a few more this year. If you are interested in starting a group in your area, or presenting at one of these meetings please get in touch and we’ll get working on it.
Kevin Routson, from Bluehost, made this cool little video of the goings on throughout the day of WordCamp SLC
On Saturday Kelly, the boys, and I went up to the High Uintas and hiked Lofty Lake Loop. It was a lot harder hike than we expected it to be, but it was fun. Al hiked all the way to Kamas lake before we had to load him in the pack and carry Finn in our arms for the rest of the hike.
What I am really describing is a chemical addiction to the endorphins produced by my body that are supposed to reward productivity, but I have figured out how to force their creation via my advanced state of busy.
I needed a quick way to track function calls today, and the easiest way to do this seems to be with Debug Bar Extender’s
dbgx_trace_var() which shows the times a variable is logged, so if you call it with the same variable name every time the function is called it will give you a count.
Al playing piano while over at grandma’s house.
UPDATE: Updated before it’s even published, but last night I found out that with updates before Sass 3.3.0 you can now just us
& in front of the last part of the selector and it will work the same as the
@at-root directive. Code snippets below have been updated to use this method.
At Big Swing we’ve adopted the BEM naming methodology for all of our CSS, and Sass as our CSS pre-processor. The problem I was running into as we started writing Sass is that I wanted to take advantage of Sass’ nesting feature. With BEM one of the goals is to nest as little as possible, so I was writing code like this.
Luckily in Sass 3.3.0 they’ve added the
@at-root directive which takes CSS rules that it’s in front of or wrapped around and moves them to the root of the stylesheet. Which allows me to write my scss with better context, and allows for easier changing of object names.
I have some snippets for Sublime Text below that allow you to generate your selectors more easily.
The ninnypants v 3.0 launch has successfully completed after 39 weeks and 4 days of development and a successful 20 hour deploy process. And while there were a few bugs in the deployment process everything is up and running as expected now.