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 181 posted 6 years ago by johansonkatherine
output can be run as a shell script. should be able to refactor this as a piped wget, i think
1 88 posted 12 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 64 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 134 posted 13 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 121 posted 2020 years ago by aravet
« Prev 1 Next »