Jen's Gone Paleo: Pork Breakfast Sausage
DIY pork breakfast sausage. This is one of the easiest sausages to make at home.
:order => :random
DIY pork breakfast sausage. This is one of the easiest sausages to make at home.
no holds barred, brain dump, everything and anything goes here. I have 2 kids, this looks like an awesome alternative to the flimsy plastic die cups
Sequences get out of sorts when you start doing a lot of pg_dumping from production back to staging and development.
Someone came up with this on one of the projects I was working on, but I've seen references to it in other places, so I'm not sure who was first.
I've updated it (removed Object.subclasses_of) so it'll work with rails 3.
If a method should always be run in the background, you can call
#handle_asynchronouslyafter the method declaration:class Device def deliver # long running method end handle_asynchronously :deliver end device = Device.new device.deliver
If you haven't looked at Delayed::Job in a while, there's a bunch of new features in the 2.1.x branch, like the one above.
This delicious-like bookmark website was created using WordPress with some plugins and a custom theme.
Twenty Links
A theme designed to look like delicious and optimized for saving bookmarks. Theme by Stephanie Leary, updated to use the custom bookmark post type by Aaron Parecki.Bookmarks Post Type
A custom post type for storing bookmarks. Includes a custom field for storing the link URL. By Aaron Parecki.Delicious XML Importer
Import your Delicious XML file into WordPress as posts, links, or bookmarks (using the custom post type above). Based heavily on the WordPress XML importer, written by Guillermo Moreno, Stephanie Leary and updated to use the custom post types by Aaron Parecki.
This looks really cool. I'd love for some way to mash tumblr/posterous style postings with the rest of my blog content, even keeping them generally separated by /big-category/.
Not sure I want to install another blog just for my links, but it's a damn nice looking site.
Here is a sample jQuery implementation – thanks to gojomo's answer and utype's suggestion (+1 for both)
$(function(){ //=================================================================== // Special price strike-out text // Usage: // Normally: <span class='price'>$59</span> // On special: <span class='price' special='$29'>$59</span> //=================================================================== $(".price[special]").each(function() { var originalPrice = $(this).text(); $(this).html('<strike><span>' + originalPrice +'</span></strike> ' + $(this).attr('special')) .removeAttr('special') .addClass('special'); });});The CSS for that could be
.price strike, .price.special { color: Red; }.price strike span { color: Black; }
Really slick jQuery to do special price with strike through in all text.
@pjammer introduced me to thestation and I found these, I've wasted a serious amount of mine and other peoples time because of this.
you're welcome.
Timeglider is a zooming, panning data-driven timeline — great for history projects, project planning, and much more. This Javascript/jQuery plugin is completely free & open-source [MIT]. Commercial solutions are under development which will complement the timeline viewer: authoring tools, databases, support plans, etc. Our code repository is at github.com/timeglider.
Nice jQuery plugin to show sliding time, might be really slick addition to a dashboard I'm working on.