Cheese!
Curious what this is about? This blog post was automatically created by IFTTT due to me posting a photo while checking in on Foursquare via my phone.
Cheese!
Curious what this is about? This blog post was automatically created by IFTTT due to me posting a photo while checking in on Foursquare via my phone.
Took the day off work to drive to the beach and my favorite burrito place! Yum!
Curious what this is about? This blog post was automatically created by IFTTT due to me posting a photo while checking in on Foursquare via my phone.
If you use my popular SyntaxHighlighter Evolved WordPress plugin, please upgrade immediately. Ben Bidner discovered a security issue with the JavaScript highlighting library that my plugin uses. A couple of my Automattic co-workers and I worked with the author of that library to resolve the issue and the latest version of my plugin, 3.1.10, includes the fix.
I really need to blog more so I thought I’d write about my continuing adventures with my Dodge Viper.
About 18 months ago, my passenger-side window regulator failed. The window regulator is the part that makes the window go up and down and mine was making lots of clunking noises as it moved. It’s notorious for failing and is insanely expensive — $1200! For the 2013 Gen 5 Viper, they redesigned the part to make it more reliable and cheaper while being backwards compatible with my car. It now costs only $360 which is a huge savings.
Anyway, a week ago mine failed once again. It was replaced under extended warranty before and my dealer is trying to get Chrysler to cover the cost of replacing it again, this time with a Gen 5 part so it won’t fail yet again. Funny enough my driver’s side one has been working fine. Fingers crossed.
Additionally Vipers have a bit of a design flaw in that their cable-actuated parking brake calipers (separate from the normal brake calipers) don’t always retract all of the way. This causes the inner pads to drag a bit and wear down rather fast. I avoid using my parking brake whenever possible to avoid ratcheting the pads in closer and closer to the rotor but it can still be an issue.
Yesterday morning, my dad helped me take off both of my back wheels so that we could inspect both inner parking brake pads. The driver’s side had seen some wear but still had plenty of pad left even though it squeaks at low speeds. My passenger side pad though was nearly worn down to nothing. I caught it just in time to avoid having to replace the rotor too. Phew! I’m currently having those replaced at the dealership as it’s worth the $160 in labor to avoid having to do it myself in my tiny garage. I had to park my car as close as I could get it to one wall in order to have enough room to get the 13 inch wide wheel off the car (345mm tire).
Here’s a bonus photo of my super dirty suspension:
This is my 20,000th tweet. Umm, yay I guess?
— Alex Mills (@Viper007Bond) April 18, 2014
Since September 6th, 2008:
Signed up for a Twitter account due to rmccue and Jeffro2pt0's naggings on #wordpress. No clue if I'll actually use this or not…
— Alex Mills (@Viper007Bond) September 6, 2008
The upcoming PhpStorm 8 features built-in WordPress support, as explained in this support document. However what’s the best way to set up your WordPress install in order to write plugins? Here’s my personal answer — feel free to suggest alternatives in the comments section.
When working on a WordPress plugin, you don’t want functions, classes, variables, etc. from other plugins to leak into your current plugin through auto-complete or other types of automation. For this reason, I suggest avoiding opening a whole WordPress checkout with all of your plugins inside of it using PhpStorm. At the same time, you don’t want to have a separate copy of WordPress for each plugin that you work on. This is redundant and makes keeping WordPress up to date harder.
So instead do a single checkout of WordPress to its own folder and then define WP_PLUGIN_DIR and WP_PLUGIN_URL, as described on the Codex, so that your plugins folder will live outside of your WordPress folder. This way you can open and index the WordPress folder without getting all of your plugins along with it.
Now create a new project for each individual plugin. When doing so, you’ll want to add the WordPress folder as an include path in PhpStorm, as described in their documentation.
All of this will result in only your individual plugin’s folder showing up in PhpStorm but with WordPress showing up under the “External Libraries” list. This one WordPress install can be used in your browser to test all of your plugins but the plugin codes won’t overlap.
Luc Besson’s latest film looks like it’s going to be pretty good: