Skip to content

Instantly share code, notes, and snippets.

@alfredwesterveld
Last active July 9, 2018 14:08
Show Gist options
  • Save alfredwesterveld/a9b75e8cabb9c117b51bf4fc3084ca85 to your computer and use it in GitHub Desktop.
Save alfredwesterveld/a9b75e8cabb9c117b51bf4fc3084ca85 to your computer and use it in GitHub Desktop.

Revisions

  1. Alfred Westerveld revised this gist Jul 9, 2018. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions long.svg
    0 additions, 2 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
  2. alfredwesterveld revised this gist Jul 9, 2018. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions long.svg
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
  3. alfredwesterveld revised this gist Jul 9, 2018. 2 changed files with 1 addition and 0 deletions.
    File renamed without changes.
    1 change: 1 addition & 0 deletions svg.svg
    Loading
    Sorry, something went wrong. Reload?
    Sorry, we cannot display this file.
    Sorry, this file is invalid so it cannot be displayed.
  4. alfredwesterveld created this gist Jul 9, 2018.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    // 6MB => 6291456
    const fs = require('fs');
    fs.copyFileSync('svg.svg', 'long.svg');
    fs.appendFileSync('long.svg', `<!--${'-'.repeat(6 * 1024 * 1024 - 96)}-->`);