Skip to content

Instantly share code, notes, and snippets.

@Ps0ke Ps0ke/
Created Aug 15, 2012

What would you like to do?
#!/usr/bin/env bash
# Read more about this here:
if [[ $# -ne 2 ]]; then
echo "Usage: $0 path/to/target/dir <Number of files to create>"
for i in `seq 1 $2+1`; do
year=`shuf -i 1900-2012 -n 1`
month=`shuf -i 10-12 -n 1`
day=`shuf -i 10-31 -n 1`
hour=`shuf -i 10-23 -n 1`
min=`shuf -i 10-59 -n 1`
echo "$i $year-$month-$day\_$hour-$"
cat <<EOF > $1$year-$month-$day\_$hour-$
Benchmark post #$i
Here’s to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They’re not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them. About the only thing you can’t do is ignore them. Because they change things. They push the human race forward. And while some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vulputate tortor id orci ornare interdum. Donec ullamcorper posuere ante, vitae dictum tellus blandit ut. Phasellus nec justo id turpis iaculis vehicula. Proin eu augue sapien, et viverra orci. Vestibulum tortor arcu, dapibus nec elementum vitae, fermentum a arcu. Nam nec felis velit, vestibulum tempus nunc. Vestibulum cursus, magna in facilisis facilisis, mi tellus placerat nisl, eget pellentesque nulla est id dolor.
Vivamus placerat, nunc a accumsan commodo, nulla nisi accumsan nisi, at euismod ante augue vitae eros. Proin nunc augue, ornare sodales tincidunt ut, aliquam sit amet leo. Nulla facilisi. Nunc bibendum libero nec velit interdum id lobortis tellus semper. Fusce sed eros tellus. Phasellus imperdiet, libero at eleifend lobortis, metus libero ultrices orci, nec dictum felis mauris non ante. Curabitur leo elit, gravida ac pulvinar ut, bibendum vitae massa. Duis imperdiet erat at nibh blandit vitae commodo lacus egestas. Etiam rutrum fringilla lobortis. Nulla vehicula commodo sapien quis volutpat. In euismod molestie elit non tincidunt.
Sed ultrices purus eu erat pellentesque eu consequat felis sagittis. Vivamus tempus vulputate aliquam. Duis faucibus, libero vitae interdum ornare, libero libero iaculis sem, a laoreet nisl nisi a ligula. Phasellus tristique enim eget ipsum posuere hendrerit. Quisque eu libero nunc, vitae placerat orci. Nulla id leo et lorem imperdiet congue ut sed erat. Donec tincidunt imperdiet nisl, ut faucibus urna lobortis in. Nulla adipiscing egestas nisl ut accumsan. Ut turpis elit, dignissim vitae tristique at, venenatis vitae risus. Aenean velit nulla, accumsan at elementum sed, tempus vitae orci. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque feugiat condimentum lectus, id varius turpis consectetur sit amet. Integer vestibulum malesuada ultricies. Nulla id massa vitae felis condimentum lobortis. Suspendisse a odio dapibus leo vulputate ullamcorper sed sit amet justo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.