Adding WordPress Buttons to Freshdesk
I’ve been using Freshdesk for a week or two now. I found a way to make custom ticket fields clickable, so I can quickly visit a customer’s website and lookup information using a WordPress plugin.
I’ve been using Freshdesk for a week or two now. I found a way to make custom ticket fields clickable, so I can quickly visit a customer’s website and lookup information using a WordPress plugin.
Here is my solution to maintaining Development, Staging, and Production apt mirrors on a “deployment” server with Puppet.
A little snippet I use to remove multiarch / i386 support from Ubuntu with Puppet.
If you have a server with multiple interfaces – either public and/or private – your routing table might cause traffic to be routed out the wrong interface. If you have two public interfaces, from two different network providers, you need to create two distinct routing tables. This script makes that job easier by automating the process for one or more servers in your network.
I’ve found a few snippets of PHP code to read XMP / XML meta data from an image file, but none that I would call very robust or efficient. I ended up writing my own for Underwater Focus, and I’m quite pleased with the result. In fact, after adding support for a shortcode, I packaged it as an Adobe XMP plugin for WordPress.
Continuing the earlier theme of “Optimizing Images to Save Bandwidth and Speed Page Load”, you can also encode small (background) images directly in your stylesheets. For each image / page element encoded within a stylesheet, it means one less HTTP connection for content, which in turn means pages finish loading faster.
A few weeks ago I mentioned the wesley.pl script from GitHub to optimize images, and how I had modified it to keep (or discard) the EXIF / XMP information. Making sure images are as small as possible is important to save bandwidth and improve page load times (and google rank), so I think it’s worth discussing my image optimization process in more detail.
To improve page load times (and Google ranking), you should make sure all jpeg, png, and gif files are properly optimized. Instead of writing my own script for jpegtran, pngcrush, and gifsicle, I used Mike Brittain’s Wesley.pl script on GitHub. It works great, though I did have to modify it to change the “jpegtran -copy” […]