23 May 2013

The Ruby Reflector

Topic

ImageMagick

  Source Favicon
By Leigh Shevchik of New Relic 3 months ago.
Email

…typically do an even better job than most plugins. Also note that WordPress 3.5 now supports ImageMagick. If your host has it installed, that means that the thumbnail images that your theme may generate will look better and have smaller file sizes. Talk to your host about how to get the most of this new functionality.

If you use a lot of images in your posts, try the lazy load technique. With the the Lazy Load plugin, images don't load until they are actually viewable to the …

newrelic.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 4 months ago.
Email

RMagick is coming out of hibernation, with a new release that supports the latest Ruby and ImageMagick releases.

zaru - Filename sanitization utility for Ruby.

Skeptick - Ruby DSL for building and running ImageMagick commands.

Ruby Security Document - An official list of things to watch out for.

GitGutter - Show line-by-line git status in the gutter of ST2.

afreshcup.com Read
  Source Favicon
Email

Postgres, Ack, Exuberant Ctags, Tmux, ImageMagick, Redis, and more with Homebrew.

Thank you to Wayne E. Seguin, Michal Papis, and 37signals for making it easy to manage Ruby versions with RVM and rbenv.

Thank you Nicholas Marriott for making it easier to manage various terminals with Tmux.

Thank you to Dennis Ritchie for software.

Teachers

Thank you to Alan Kay for object-oriented programming.

Thank you to Martin Fowler for refactoring.

Thank you …

robots.thoughtbot.com Read
  Source Favicon
On Fingertips 8 months ago.
Email

Compilation might fail when one of the dependencies is using Quartz (i.e. ImageMagick) and the X11 directory isn't in the library load path. The easiest way to fix this is with a symlink: ln -s /opt/X11 /usr/X11

Reader questions

Javier Vázquez from Zürich, Switserland would like us to explain how to install PostgreSQL .

The easiest way is to install Postgres.app. You can download it from postgresapp.com . After that you configure it in config/database.yml …

fngtps.com Read
  Source Favicon
On RailsCasts 9 months ago.
Email

Learn how to do extensive image manipulation with the ImageMagick commands. Also learn how RMagick can be used in combination with CarrierWave to process uploaded images.

railscasts.com Read
  Source Favicon
By David Eisinger of Viget.com Blogs 12 months ago.
Email

…pixels trimmed from both sides to arrive at the final dimensions. This is not a native capability of ImageMagick, but rather the result of some decently complex code in Paperclip.

Our goal is to allow a user to select a portion of an image and then create a thumbnail of just that selected portion , ideally taking advantage of Paperclip's existing cropping/scaling logic.

Any time you're dealing with custom Paperclip image processing, you're talking about creating a custom …

viget.com Read
  Source Favicon
By miraculous1 of mir.aculo.us 1 year ago.
Email

…—one way to find out is to use identify -verbose filename.jpg | grep "Quality" if you have ImageMagick installed).

Plus, have good toolchain to minimize your images without quality loss, I can't recommend the ImageOptim tool highly enough for that. I was able to shave off a cool 6% of the file size of the image used on Zappos. Your users will love you for the faster loading images!

Want to learn how to master JavaScript? Grab a seat at the JavaScript …

mir.aculo.us Read
  Source Favicon
Email

…Marc Schwieterman ( marcisme ) discovered that a fully passing test suite depends on ImageMagick, and documented as much in the contributions guide ( df39268 ).

factory girl

Version 2.5.0 of factory_girl is out, and there's a badass new feature in it. But first:

Joshua Clayton ( joshuaclayton ) fixed a bug where the :parent 's factory wasn't being passed along ( 4aecfff ). Carlos Antonio da Silva ( carlosantoniodasilva …

robots.thoughtbot.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup over 1 year ago.
Email

magick-installer - Easy method of installing ImageMagick on OS/X is working again, with a few minor tweaks from yours truly.

Versioning your APIs - An approach that uses headers to keep API URLs a bit cleaner.

How to Rock an Algorithms Interview - I have my own approach: just walk out. I have zero patience for "can you solve this deliberately tricky abstract problem on the white board right now?" interviews. You want to know if I can code, check …

afreshcup.com Read
  Source Favicon
By Thomas Fuchs of mir.aculo.us almost 3 years ago.
Email

I found that big progressive JPEG images can cause performance problems when used with hardware accelerated CSS transforms, so here's what I do to makes things work better (with ImageMagick): convert somefile -interlace none somefile_for_ipad.jpg The -interlace none option saves the image as a non-progressive JPEG, and Safari doesn't attempt to render progressive intermediate steps [...]

mir.aculo.us Read