The colors in Rails log files are helpful when watching them but, since they are ANSI color codes like ^[[4...
When cucumber encounters a failing step in a @javascript feature, the selenium browser window instantly closes. Sometimes you do not...
Sometimes you want to use a vanilla Ruby method like a block. You can use Object#method to obtain a...
I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...
While it might seem trivial to implement an invoice that sums up items and shows net, gross and vat totals...
Note that converting from RGB to CMYK will usually degrade your colors because no exact mapping is possible. Anyway, this...
Use the PDF toolkit: sudo apt-get install pdftk To rotate page 1 by 90 degrees clockwise: pdftk in.pdf cat...
Pdfposter is a Python script that allows to convert large PDFs into a PDF with multiple pages that can be...
Grep prints one line per match. To return the number if matches, use the -c switch: grep -c "something" filename...
You can unpack a .tar.gz file into the current directory like this: tar -xzvf archive.tar.gz The options used are
geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...
This will install a printer called "PDF": sudo apt-get install cups-pdf Files will be put into ~/PDF/ without...
Sometimes PDF cucumber tests fail at the first test run and succeed at the second run. You can fix this...
Automatically convert bitmap images like JPEGs, GIFs and PNGs to the crisp, clean, scalable vector art of EPS, SVG, and...
The trick is this: send a low-resolution version of your image to the screen, and a high-resolution version...
The Ubuntu Documentation on LaTeX says, that the packages tetex are no longer supported. You can install the alternative texlive...
PhantomJS is a minimalistic headless WebKit. It has fast and native support for various web standards: DOM handling, CSS selector...
If you plan to insert an existing PDF into a new LaTeX document that you will compile to PDF, you...
If you run specs or your application and get an error like: ActionController::MissingFile in 'ProductsController#show, should render PDF...
If you want to iterate over a Range, but only look at every n-th element, use the step method...
The step definitions below allow you to write this in both Webrat and Capybara: When I follow "Download as PDF...
If you need to find out which of your local commits are not on the remote server do this:
Gallery of fonts you can use without much hassle in LaTeX. The license of the fonts vary, but are all...
If a controller action responds to other formats than HTML (XML, PDF, Excel, JSON, ...), you can reach that code in...