Skip to content

Instantly share code, notes, and snippets.

@endoze
Created January 29, 2013 19:38
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 endoze/4667018 to your computer and use it in GitHub Desktop.
Save endoze/4667018 to your computer and use it in GitHub Desktop.
Tie this into failing Rspec tests. Will help you write better tests through brutal exposure to terrible singing.
@ajmyers01
Copy link

Just make it open this webpage

<html><head>
<title>Strobe</title>

<script>
<!-- If you're extremely unlucky, you may break your equipment, or worse, have a seizure -->
function toggleBgColor()
{
  document.bgColor = document.bgColor == '#ffffff' ? '#000000' : '#ffffff';
  setTimeout('toggleBgColor()', 75); //in milliseconds
}
</script>
</head>

<body onLoad='toggleBgColor();'>
</body></html>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment