rghost.rubyforge.org

Ruby Ghostscript (RGhost) is a library for document developers wanting a quick and easy way to generate pdf files. It...

eis-blog.ucsc.edu

...to decide things like how much your car insurance premium will be. Let’s start using this for something more fun...

mcarthurgfx.com

...Maybe you want to determine damage done, if there was a critical, or what slot on the board to insert your piece at. And surprisingly (or perhaps, not), programmers are...

spritely.net

...creating dynamic character and background animation in pure HTML and JavaScript. It's a simple, light-weight plugin with a few simple methods for creating animated sprites such as the...

...birds you see on this page, and dynamic scrolling backgrounds...

73primenumbers.com

Every day the world’s most respected brands, small businesses, non-profits, and entrepreneurs depend on our products to make their businesses run smoothly. Safe, secure, and reliable. Since...

zeldman.com

...is mandated from on high, and which flies in the face of the humble stance other high-level divisions in Microsoft would like to enforce in the wake of the...

walyou.com

...reached such a height that now a Voodoo Doll has been made to help show one’s anger for this browser out on this doll...

slate.com

...a beautiful and nearly perfect machine. It is also Jobs' final triumph, the final step in Apple's evolution away from Wozniak and toward a closed model...

boingboing.net

It's ironic that a company whose name is synonymous with "Switch" has built its entire product strategy around lock-in. The iTunes/iPhone/iPod combo is a roach-motel: customers check...

playthisthing.com

Apple puts itself in an untenable position trying to play gatekeeper while simultaneously having such a broad and deep marketplace structure. It's like watching a character from Alice in...

mobileorchard.com

I’m a principled person. Apple’s offended my principles. Consequently, I’ve decided to abandon iPhone development. I won...

downloadsquad.com

This thing leaves any other tag-completion method I have ever seen for HTML in the dust. It's light-years beyond anything else I've witnessed -- and autocompletion is...

...something I've looked into deeply, with multiple editors and IDEs...

joshsharpe.com

As far as I know, the only plugin out there that handles this (semantic issue) correctly is Makandra’s Aegis. And they are GERMAN. It functionally works about the same...

stackoverflow.com

Seems like there's no way to do it in Capybara, unfortunately. But if you're running your tests with the Selenium driver (and probably other drivers that support JavaScript...

css-tricks.com

...handling the illusion in a different way, and each completely appropriate depending on the situation at hand...

robots.thoughtbot.com

We recently decided our CI server needed an overhaul. I really enjoyed Integrity as a build server, but after trying out Hudson it’s hard to say I want to...

...go back. Hudson has several huge advantages...

stackoverflow.com

...d like to analyze them to determine if it's possible to generate a string that matches more than 1 of them. Short of writing my own regex engine with...

...use case in mind, is there an easy way in C++ or Python to solve this problem...

...doesn't embed most fonts into the PDFs it generates. This means if you share a slide show with a font that is not Arial or Times, other people will...

...everything and creates a big ass PDF full of images. A workaround The only solution is to directly print the PDF to a PDF printer, or take the PDF generated...

When your Rails controller action responds with only a simple text, render text: 'Hello' may not be what you want. You should not even use it on Rails 4.1+ any...

By default, a "text" response from a Rails controller will still be a sent as text/html: render text: 'Hello' response.body # => "Hello" response.content_type # => "text/html" While this may not be...

rspec.info

...ways to render a button with CSS: Foo We cannot express it with a single have_css() matcher, since we need the { text: 'Foo' } option for some cases ( ), but not...

...button", text: 'Foo') match_button_input = have_css("input[type='button'][value='Foo']") match_submit_input = have_css("input[type='submit'][value='Foo']") expect(page) .to match_button

You should test the callback methods and its correct invocation in two separate tests. Understand the ActiveRecord note before you move on with this note. Say this is your Spaceship...

...class with a transition launch and a release_docking_clamps callback: class Spaceship state_machine :state, :initial => :docked do event :launch do transition :docked => :en_route end before_transition :on...

If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know about them by default and will highlight the step as...

...an undefined reference: To link these external step definitions to RubyMine, add the corresponding gems to your RubyMine-Settings: Go to Settings (ctrl + alt + s) Go to Languages and Frameworks...

...s Deferreds. Native promises are much faster than their jQuery equivalent. Native promises are supported on all browsers except IE <=11, Android <= 4.4 and iOS <= 7. If you need Promise...

...support for these old browsers you can use a Polyfill. A very fast and small (2 KB minified and gzipped) polyfill is Zousan. If you want to waste even fewer...

Hint: There's another card with this helper for Cucumber features. Sometimes you feel like you need to stub some CONSTANT you have defined in an other class. Since actually...

...constants are called constants because they're constant, there's no way to easily stub a constant. Here are three solutions for you. Easiest solution Rethink! Do you really need...