Skip to content

Instantly share code, notes, and snippets.

@theonewolf
Created March 19, 2013 22:35
Show Gist options
  • Select an option

  • Save theonewolf/5200779 to your computer and use it in GitHub Desktop.

Select an option

Save theonewolf/5200779 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import requests
import time
for i in xrange(10000):
requests.get('http://localhost', headers={'User-Agent' : str(int(time.time()))}).status_code
#!/usr/bin/zsh
tail -f access.log | while read line
do
echo `date +%s` $line
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment