View
Posted over 8 years ago by Christoph Beck. blog.bitcrowd.net

Single step and slow motion for Cucumber scenarios can come in handy, especially in @javascript scenarios. # features/support/examiners.rb AfterStep('@slow_motion...

Posted over 8 years ago by Arne Hartherz. commandlinefu.com

The colors in Rails log files are helpful when watching them but, since they are ANSI color codes like ^[[4...

Posted over 8 years ago by Christoph Beck. blog.bitcrowd.net

When cucumber encounters a failing step in a @javascript feature, the selenium browser window instantly closes. Sometimes you do not...

Posted over 8 years ago by Henning Koch.

Sometimes you want to use a vanilla Ruby method like a block. You can use Object#method to obtain a...

Posted over 8 years ago by Henning Koch.

I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...

Posted over 8 years ago by Henning Koch.

Note that converting from RGB to CMYK will usually degrade your colors because no exact mapping is possible. Anyway, this...

Posted over 8 years ago by Henning Koch.

Use the PDF toolkit: sudo apt-get install pdftk To rotate page 1 by 90 degrees clockwise: pdftk in.pdf cat...

Posted over 8 years ago by Tobias Kraze. pdfposter.origo.ethz.ch

Pdfposter is a Python script that allows to convert large PDFs into a PDF with multiple pages that can be...

Posted over 8 years ago by Henning Koch.

You can unpack a .tar.gz file into the current directory like this: tar -xzvf archive.tar.gz The options used are

Posted over 8 years ago by Arne Hartherz.

This will install a printer called "PDF": sudo apt-get install cups-pdf Files will be put into ~/PDF/ without...

Posted over 8 years ago by Martin Straub.

Sometimes PDF cucumber tests fail at the first test run and succeed at the second run. You can fix this...

Posted over 8 years ago by Lexy. vectormagic.com

Automatically convert bitmap images like JPEGs, GIFs and PNGs to the crisp, clean, scalable vector art of EPS, SVG, and...

Posted over 8 years ago by Lexy. cssnewbie.com

The trick is this: send a low-resolution version of your image to the screen, and a high-resolution version...

Posted almost 9 years ago by Martin Straub.

The Ubuntu Documentation on LaTeX says, that the packages tetex are no longer supported. You can install the alternative texlive...

Posted almost 9 years ago by Lexy. phantomjs.org

PhantomJS is a minimalistic headless WebKit. It has fast and native support for various web standards: DOM handling, CSS selector...

Posted almost 9 years ago by Thomas Eisenbarth. ctan.larsko.net

If you plan to insert an existing PDF into a new LaTeX document that you will compile to PDF, you...

Posted almost 9 years ago by Arne Hartherz.

If you run specs or your application and get an error like: ActionController::MissingFile in 'ProductsController#show, should render PDF...

Posted about 9 years ago by Henning Koch.

The step definitions below allow you to write this in both Webrat and Capybara: When I follow "Download as PDF...

This website uses cookies to improve usability and analyze traffic.
Accept or learn more