Skip to content

Instantly share code, notes, and snippets.

@bpo
Created March 18, 2011 02:21
Show Gist options
  • Select an option

  • Save bpo/875512 to your computer and use it in GitHub Desktop.

Select an option

Save bpo/875512 to your computer and use it in GitHub Desktop.
# generate a bunch of files filled with 0x55 for postgres
ruby -e '0x005F.upto(0x0108) {|x| `dd bs=1k count=256 if=/dev/zero | tr '\000' U > #{"%04X" % x}` }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment