Welcome To Snipplr
Everyone's Recent Ruby Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« 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
1649
posted 10 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
785
posted 16 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
593
posted 17 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
1349
posted 17 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
1159
posted 2024 years ago by aravet
« Prev 1 Next »