Skip to content

Instantly share code, notes, and snippets.

@0atman
Last active June 6, 2020 18:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0atman/7b3b264e6f43a0a5142570be575bb265 to your computer and use it in GitHub Desktop.
Save 0atman/7b3b264e6f43a0a5142570be575bb265 to your computer and use it in GitHub Desktop.
The code from my music video, "Want You Gone", available here https://youtu.be/zvLGFe_8yWU
import strutils
import autotyperpkg/typer
const lyrics = """
Forms FORM-29827281-12-2:
Notice of Dismissal
Well here we are again
It's always such a pleasure
Remember when you tried
to kill me twice?
Oh how we laughed and laughed
Except I wasn't laughing
Under the circumstances
I've been shockingly nice
You want your freedom? Take it
That's what I'm counting on
I used to want you dead
but
Now, I only want you gone
She was a lot like you
(Maybe not quite as heavy)
Now little Caroline is in here, too
One day they woke me up
So I could live forever
It's such a shame the same
Will never happen to you
SEVERANCE PACKAGE DETAILS:
You've got your short sad life left
That's what I'm counting on
I'll let you get right to it
Now, I only want you
gone
Goodbye my only friend
(Oh, did you think I meant you?)
That would be funny
If it weren't so sad
Well you have been replaced
I don't need anyone now
When I delete you maybe
[ R E D A C T E D ]
Go make some new disaster
That's what I'm counting on
You're someone else's problem
Now, I only want you gone
Now, I only want you gone
Now, I only want you gone
"""
var typed = newTyper(
lowWpm=150,
topWpm=150,
mistypeRate=0,
repetitionRate=0,
skipRate=0,
)
for line in lyrics.split("\n"):
discard readLine(stdin)
typed.typeItOut(line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment