@GavinStark this ought to do the trick

The Prawn::Stamp module is used to create content that will be included multiple times in a document. Using a stamp has three advantages over creating content anew each time it is placed on the page: i. faster document creation ii. smaller final document iii. faster display on subsequent displays of the repeated element because the viewer application can cache the rendered results Example: pdf.create_stamp("my_stamp") { pdf.fill_circle([10, 15], 5) pdf.draw_text("hello world", :at => [20, 10]) } pdf.stamp("my_stamp")

Full article: http://prawn.majesticseacreature.com/docs/0.11.1/Prawn/St...

Tweets

Automatic Bluetooth Module Programmer

Automatic Bluetooth Module Programmer

hackaday.com 25 Sep '13, 5am

Before we dive in don’t be confused by the title. This doesn’t flash firmware to the device. But it does automate the proc...

Big fan of ActiveSupport::Deprecation module. R...

api.rubyonrails.org 23 Sep '13, 6pm

activesupport/lib/active_support/core_ext/module/aliasing.rb activesupport/lib/active_support/core_ext/module/anonymous.rb...

Use what I call the Shower Trick to de-wrinkle your shirts:

Use what I call the Shower Trick to de-wrinkle ...

michellephan.com 23 Sep '13, 9pm

Busy girls – listen up! I’ve got a trick that will help you save time and look polished. Picture this: you’ve woken up ten...

LG Electronics testet seine Photovoltaik-Module...

solarserver.de 22 Sep '13, 12am

Um eine durchweg hohe Qualität seiner Photovoltaik-Module sicherzustellen, unterzieht LG Electronics diese Tests, die deut...

Wireless module operate 10 years on coin battery

techon.nikkeibp.co.jp 21 Sep '13, 12pm

New Wireless Module Operates for 10 Yrs With Coin Battery Sept 21, 2013 18:37 Tsuneyuki Miyake, Tech-On! Osaka Gas Co Ltd ...

Lionel Messi's hat trick

Lionel Messi's hat trick

skysports.com 26 Sep '13, 4pm

Lionel Messi's hat-trick against Ajax in the Champions League was his 24th for the club. Here's 10 of the best hat-tricks ...

Soitec solar-energy module efficiency “highest ...

renewableenergyfocus.com 17 Sep '13, 12pm

Soitec 's CX-M500 module has an anti-reflective coating and can increases nominal peak power output over previous generati...

Sending data over Bluetooth Low Energy with a cheap nRF24L01+ module

Sending data over Bluetooth Low Energy with a c...

hackaday.com 21 Sep '13, 11am

Luckily enough, BLE and nRF24L01+ data packets have the same preambles. However, the latter can’t send more than 32bytes i...

Rumors of poor lens module yields for new Apple...

digitimes.com 17 Sep '13, 4am

Rumors of poor lens module yields for new Apple iPhones circulating in supply chain Ocean Chen, Taipei; Adam Hwang, DIGITI...

The McKay hat-trick is now available to view online. Watch here: #McKay #hattrick #EngvAus

The McKay hat-trick is now available to view on...

skysports.com 14 Sep '13, 2pm

Clint McKay claims a memorable hat-trick against England in the fourth one day International.

Forget glue. Our scientists trick Mother Nature with a new, printable nanocopper paste: #nanotech

Forget glue. Our scientists trick Mother Nature...

lockheedmartin.com 26 Sep '13, 7pm

In the manufacturing world, unintended consequences can impact cost, schedule and performance. For example, several years ...