Skip to content

Instantly share code, notes, and snippets.

@anderbubble
Created March 1, 2011 12:52
Show Gist options
  • Save anderbubble/849078 to your computer and use it in GitHub Desktop.
Save anderbubble/849078 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import sys
bs = 1024 * 1024
count = 2048
f = open(sys.argv[1], "wb")
for i in xrange(count):
f.write('\xFF' * bs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment