Skip to content

Instantly share code, notes, and snippets.

@mazuhl
Created February 1, 2010 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mazuhl/291777 to your computer and use it in GitHub Desktop.
Save mazuhl/291777 to your computer and use it in GitHub Desktop.
Lorem ipsum generator for quick launcher
require 'rubygems'
require 'faker'
require 'Win32API'
require 'win32/clipboard'
include Win32
=begin
= Lorem ipsum clipboard text for Windows
If you're using Windows and a quick launcher (like Launchy) you can use this script
to generate a paragraph of 'Lorem ipsum...' text and automatically copy it to your
clipboard.
=end
Clipboard.set_data( Faker::Lorem.paragraph(5) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment