View
Posted about 6 years ago by Martin Straub.

Ubuntu 12.04 LTS x64, Ruby 1.8.7, Rails 2.13, PDFKit 0.5.4, Phusion Passenger Apache 2 I ran into this, when I...

Posted over 6 years ago by Henning Koch.

So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...

Posted over 6 years ago by Thomas Eisenbarth.

So you're switching to PostgreSQL from MySQL? Here is some help… General hints on PostgreSQL \? opens the command overview...

Posted over 6 years ago by Dominik Schöler. apidock.com

When you're writing migrations that do more than changing tables (like, modify many records) you may want some output...

Posted over 6 years ago by Henning Koch.

In Rails 5 you can say: ApplicationController.render( :template => 'users/index', :layout => 'my_layout', :assigns => { users: @users } ) If a Request Environment is...

Posted over 6 years ago by Arne Hartherz.

You can use xmllint to pretty-print ugly XML files on your terminal. Just say: xmllint --format file.xml

Posted over 6 years ago by Dominik Schöler. rakeroutes.com

Put the attached files into your home directory and enjoy. .irbrc defines interesting_methods, which is essentially all methods without...

Posted almost 7 years ago by Dominik Schöler. coding.smashingmagazine.com

Smashing Magazine lists some handy tricks for print style sheets, all with CSS: Expand External Links For Print

Posted almost 7 years ago by Arne Hartherz.

Here is a hacky way to load dumps directly from the source server, without fully copying them over and extracting...

Posted almost 7 years ago by Thomas Eisenbarth. blog.mozilla.org

Prepare to explain customers what changed if your application renders PDF documents to users.

Posted about 7 years ago by Henning Koch.

Go to Settings Manager / Keyboard / Application Shortcuts Add a shortcut for the Print key that calls xfce4-screenshooter -f

Posted over 7 years ago by Arne Hartherz.

There is no reason to leave trailing whitespace characters in your project's files, so don't add any.

Posted over 7 years ago by Henning Koch.

A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...

Posted over 7 years ago by Henning Koch.

Note: There's more to it than this card says. All we know right now is that sometimes PDFs generated...

Posted over 7 years ago by Thomas Eisenbarth.

Embedding bitmap images within PDF sometimes results in large files because the bitmaps are not compressed. If you don't...

Posted about 8 years ago by Arne Hartherz.

I have no idea how it's supposed to work (or why the don't have a print CSS), but...

Posted about 8 years ago by Henning Koch.

When you print out a HTML pages, all raster images (like PNGs) will appear aliased. This is because a printer...

Posted about 8 years ago by Henning Koch. github.com

ExpandAnimations is a LibreOffice/OpenOffice.org Impress extension to expand presentation animations before exporting to PDF. This way the exported PDF will...

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