Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
#
# Memcache monitoring plugin for server density
# http://www.serverdensity.com/
#
# Depends on python-memcached
# http://www.tummy.com/Community/software/python-memcached/
# easy_install python-memcached
#
# based on:
@kvnsmth
kvnsmth / processing_with_carrierwave.rb
Created October 15, 2010 15:59
Just some code that I threw together to play around with CarrierWave's image manipulation
require 'rubygems'
require 'carrierwave'
require 'fileutils'
# needed for the RMagick module in CarrierWave
def current_path
@current_path
end
include CarrierWave::RMagick