Skip to content

Instantly share code, notes, and snippets.

@depoulo
Created May 24, 2018 12:23
Show Gist options
  • Save depoulo/7b436e8a89a7a43697c34d61952cc832 to your computer and use it in GitHub Desktop.
Save depoulo/7b436e8a89a7a43697c34d61952cc832 to your computer and use it in GitHub Desktop.

Revisions

  1. depoulo created this gist May 24, 2018.
    4 changes: 4 additions & 0 deletions create-100kb-of-random-text.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # Windows (Git bash)
    dd if=/dev/urandom of=tmp bs=100kB count=1 && base64 tmp > big && rm tmp && cat big > /dev/clipboard && rm big
    # Mac OS
    dd if=/dev/urandom of=tmp bs=100kB count=1 && base64 tmp > big && rm tmp && cat big | pbcopy && rm big