Often I need dummy text to fill out a form.
I use a combination of TextExpander and the Lorem Gem that makes this
Step 1: Install the "lorem" gem
Install the gem lorem using
sudo gem install lorem
It's simple to use:
# For 1 paragraph dummy text lorem 1 paragraph # For 140 chars dummy text lorem 140 chars
Lorem is a Unix tool - you can combine it with other commands:
lorem 140 chars | pbcopy
Copies 140 chars into your clipboard.
Textexpander + Lorem
I dont want to go into my Terminal, whenever I fill out a
form in Chrome, so I created a TextExpander snippet, that executes lorem
for me and fills in the dummy text.
#!/bin/bash lorem %filltext:name=paragraphs:default=1%
A nice additional feature is that it asks you how many paragraphs of dummy text you want.
Sometimes simple hacks like this save you a lot of time. I hope you find it as useful as me!