validates_attachment_content_type :image, :content_type => /^image\/(jpg|jpeg|pjpeg|png|x-png|gif)$/, :message => 'file type is not...

morris-photographics.com

Some browsers render PNG images with color profiles and other shenanigans, some don't. The cleanest way to have consistent...

When a paperclip attachment gains a new style and you have many attachments, reprocessing can take ages. This is because...

has_attached_file( :avatar, :styles => { :large => "300x300", :small => "100x100" }, :convert_options => { all => "-colorspace RGB" } )

script/runner -e development 'Article.all.each { |a| a.image.reprocess! if a.image.exists? }; "done"'

.error, .information, .warning { font-weight: bold; } .notice { color: #11bb00; } .error { color: #F53A31; } .information { color: #557; } .warning { color: #d07d2d; }

makandra dev

Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]

youngpup.net

PNG transparency for IE 6.

getsprockets.org

Sprockets is a Ruby library that preprocesses and concatenates JavaScript source files. It takes any number of source files and...

bikeshed.com

Just because you are capable of building a bikeshed does not mean you should stop others from building one just...

makandra dev
pennysmalls.com

I just released a gem to find image dimensions and type information fast.

code.google.com

iUI is a framework consisting of a JavaScript library, CSS, and images for developing iPhone webapps.

highslide.com

Highslide JS is an open source image, media and gallery viewer written in JavaScript.

github.com

FastImage Resize is an extremely light solution for resizing images in ruby by using libgd

banisterfiend.wordpress.com

DevIL is a fast and lightweight image library that supports the loading and saving of images in almost any graphics...

blog.purifyapp.com

MailStyle allows you to write the css for your html emails as you normally would, then writes the styles inline...

css-tricks.com

It’s a fact of CSS life that the ‘border’ of any block level element gets factored into it’s...

htmlburger.com

We simply convert your design (PSD, PNG, AI, etc.) into a hand coded, pixel perfect and Standards compliant XHTML/CSS. Since...

desandro.com

Speech bubble icons have become synonymous with comments. When creating yet another one for a standard comment link, it occurred...

github.com

Pretty print your Ruby objects with style -- in full color and with proper indentation

github.com

File upload solution that supports form roundtrips when a validation fails.

axonflux.com

Here is a set of additive color model conversion algorithms that I found published on Wikipedia and have implemented in...