Taken from Joe Rogan Practical experience #six.