Pork Carnitas

I made these over the weekend and figured I’d drop the recipe for my records and for anyone wanting to attempt it themselves. I will say that I usually don’t use measured quantities of things, especially when I’m testing stuff out. I use an enameled cast-iron dutch oven (with a lid) for this recipe, but you could also use a roasting pan.

Continue reading

Firefox <input> styling

A coworker just pulled me over to help with a javascript issue, and I noticed on his screen that some of our input elements looked totally whacked out in Firefox. Not so in -webkit. I dug around a bit and found this handy reset:

input::-moz-focus-inner,
button::-moz-focus-inner { padding:0; border:0; }

Now the buttons are happy in both browsers! Hooray!

CheezCAP: Moving the Menu

At my talk on Saturday, someone asked if you could move the position of the CheezCAP menu on your dashboard. The answer is yes! CheezCAP uses the add_menu_page() function, which allows you to specify the menu order using an integer. I’ve added this functionality to the repository in addition to adding support for custom icons. Relevant code and comments below.

$cap_menu_position = 99; // This value represents the order in the dashboard menu that the CheezCap menu will display in. Larger numbers push it further down.
$cap_icon_url = ""; // OPTIONAL: Path to a custom icon for the CheezCap menu item. ex. $cap_icon_url = WP_CONTENT_URL . '/your-theme-name/images/awesomeicon.png'; Image size should be around 20px x 20px.

CheezCAP: My WordCamp Seattle Presentation

Thanks to everyone who came out for my presentation on CheezCAP! It was great fun, even though I was incredibly nervous. I felt like it went pretty well for my first time speaking about WordPress.

I’ve uploaded my slides to SlideShare, since that seems like the cool thing to do. If you have any questions, you can ask on twitter ( @trademark ), comment on this post or send me an email at the address on the last slide.

CheezCAP is hosted on GitHub and can be downloaded here. Please download it and check it out, or even fork the code! We’d love to see your ideas!

WordCamp Seattle

So, I’m going to be making my public speaking (at least as far as WordPress goes) debut this weekend at WordCamp: Seattle! I’ll be talking about a portion of our theme that we released as a plugin, called CheezCap. It creates a custom control panel, that allows you to insert text, code, toggles and other stuff into your theme’s source code for easy control over features, dynamic content, etc. I’m pretty excited about WordCamp, and nervous about speaking, but I get to put LOLcats into my slides so it’s all good.

If you’re in the area, you should definitely check out the event, I think there are still some tickets left. Check out the other speakers too, because they are all awesome! Hope to see you there

JetPack: Taking .org to the WordPress.com Cloud

This morning when I got to the office, my Twitter feed was buzzing about JetPack, a new service from Automattic. I installed it here and so far it is awesome. Every little part, even the step in which it asks you to authorize with a WordPress.com account. Excellent work and congratulations to everyone at Automattic who made this happen.

The plugin package is totally modular. Pick and choose what you want. If you deactivate a portion, the UI for the navigation is totally responsive (and sexy), and you can immediately tell at a glance what is active and what is inactive. I really wish this would have been around when I was running ~30 self-hosted WordPress sites. It would have made life much easier.

EDIT: Beau Lebens just provided some more information about JetPack here. So cool that it’s included in 1-Click installs!

AppSumo + StickerMule = Cheap Stickers

Whether it’s for your start-up or fun, Sticker Mule is your one-stop site for sticky perfection. Their products boast supreme print quality, exact PMS color matching and precise design-cutting. Just send them your artwork, pick a design, and they’ll do the rest. It’s that easy.

Saw this on dribbble today. I have a thing for stickers, so of course I bought some. No idea what I’ll make yet.

AppSumo