Welcome To Snipplr

Everyone's Recent Ruby Snippets Tagged html

« Prev 1 Next »
This code sample shows how Ruby developers can create PDF file from HTML using Aspose.Pdf for Cloud API in their REST applications.
0 390 posted 7 years ago by johansonkatherine
0 183 posted 11 years ago by sukantahazra
output can be run as a shell script. should be able to refactor this as a piped wget, i think
1 213 posted 13 years ago by jhenry
This function (intended to be an application or view helper) creates a pager bar useful for navigating many pages. It shows the first, last, current, nearby, and halfway-to-end pages. It looks like this (where the current page is 11): < 1 ... 5 .....
1 162 posted 13 years ago by Agent
This replaces the PHP-based function in the HTML bundle. You need to add two files to your bundle's Support/lib folder (create the directories if they're not present): http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_controller/vend...
6 325 posted 14 years ago by gtcaz
reference: \n http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html
7 265 posted 2021 years ago by aravet
« Prev 1 Next »