<commit_before><!DOCTYPE html><html lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta charset="utf-8">
  <title>Live Level Editor Demo w/ Akihabara</title>

  <link rel="stylesheet" href="stylesheets/reset.css">
  <link rel="stylesheet" href="stylesheets/admin.css">
  <link rel="stylesheet" href="stylesheets/plain.css">

  <script type="text/javascript" src="lib/swfobject.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery-1.4.4.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.tmpl.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.klass.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.undoable.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.ndd.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.jqupload.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.ba-bbq.js"></script>
  <script type="text/javascript" src="lib/jstorage.js"></script>
  <script type="text/javascript" src="lib/downloadify.min.js"></script>
  <script type="text/javascript" src="lib/clipboard/ZeroClipboard.js"></script>
  <script type="text/javascript" src="lib/core.js"></script>
  <script type="text/javascript" src="lib/extensions/date_time.js"></script>
  <script type="text/javascript" src="editor.js"></script>
  <script type="text/javascript" src="lib/admin/gui.js"></script>
  <script type="text/javascript" src="lib/history.js"></script>
  <script type="text/javascript" src="lib/admin/init.js"></script>
</head>
<body>
  <section id="top_tools">
    <div id="palette">
      <img src="resources/palettes/default/0.png" id="brush0">
      <img src="resources/palettes/default/1.png" id="brush1">
      <img src="resources/palettes/default/2.png" id="brush2">
      <img src="resources/palettes/default/3.png" id="brush3">
      <img src="resources/palettes/default/4.png" id="brush4">
      <img src="resources/palettes/default/5.png" id="brush5">
      <img src="resources/palettes/default/6.png" id="brush6">
      <img src="resources/palettes/default/7.png" id="brush7">
      <img src="resources/palettes/default/8.png" id="brush8">
      <img src="resources/palettes/default/9.png" id="brush9">
    </div>

    <div id="level_name">
      <label for="level_name">Level Name</label>
      <input name="level_name" value="Akihabara Live Edit" size="30">
      <p>
        Last saved: <span id="last_saved"></span>
      </p>
      <a href="" id="open_level_storage">
        <img src="images/icons/arrow_right_blue_24x24.jpg" alt=">">
      </a>
    </div>

    <div id="level_sharing">
      <a href="#" id="generate_url">Generate a URL to share &raquo;</a>
      <input type="text" size="20" placeholder="Click generate link" id="share">
      <span id="d_clip_container" style="display:inline"></span>
      <span id="d_clip_button">Copy to Clipboard</span>
    </div>

    <div id="level_loading">
      <!-- <p id="upload_to_load">
          <form action="" method="get" id="upload_to_load_form">
            <label>
              Upload a level to load
              <input type="file" name="upload_level" value="">
            </label>
          </form>
      </p> -->
      <p id="save_level">
        <a href="#"></a>
      </p>

      <p id="drag_to_load">
        Drag here load <a href="#" class="inline_help">(?)</a>
      </p>
    </div>

    <div id="level_saving">
    </div>

    <div id="level_storage_pane" style="display: none">
      <h3>Level History/Storage</h3>
      <ul></ul>
      <a href="" id="clear_level_storage">clear storage</a>
    </div>
  </section>

  <div id="container">
    <canvas id="imageView" width="640" height="480">
    </canvas>
  </div>

  <section class="intro">
    <div class="holder">
      <p>
        Paint a level in the left box, watch it show up in the game in the right box. <strong>Best run on a widescreen monitor!</strong> For extra awesome, try putting your browser in full screen mode.
      </p>

      <p>
        Game controls: left/right arrow keys to move, Z to jump, C to respawn near the top-left of the screen.
      </p>
    </div>
  </section>

  <section class="credits">
    <h3>Credits &amp; Special Thanks</h3>
    <p>This editor was built by <a href="http://tinysubversions.com/" target="_blank"><NAME></a> and <a href="http://www.darrentorpey.com/" target="_blank"><NAME></a>.</p>

    <p>
      <ul>
        <li>The star tile comes from Arachne on TIGSource: <a href="http://forums.tigsource.com/index.php?topic=9147.0" target="_blank">http://forums.tigsource.com/index.php?topic=9147.0</a></li>
        <li>The cloud tiles are from JR Hill on TIGSource: <a href="http://forums.tigsource.com/index.php?topic=8980.0" target="_blank">http://forums.tigsource.com/index.php?topic=8980.0</a></li>
        <li>The explosion animation is from FrankieSmileShow on TIGSource: <a href="http://forums.tigsource.com/index.php?topic=8792.0" target="_blank">http://forums.tigsource.com/index.php?topic=8792.0</a></li>
        <li>The rest of the tiles are from pgil on TIGSource: <a href="http://forums.tigsource.com/index.php?topic=8796.0" target="_blank">http://forums.tigsource.com/index.php?topic=8796.0</a></li>
      </ul>
    </p>

    <p>
      All the above graphics are licensed as CC-BY-NC: <a href="http://creativecommons.org/licenses/by-nc/3.0/us/" target="_blank">http://creativecommons.org/licenses/by-nc/3.0/us/</a> and they come from the TIGSource Assemblee Compo
    </p>

    <p>
      The sounds are from Kesiev (who made them with cfxr), and since they're distributed with <a href="http://www.kesiev.com/akihabara/" target="_blank">Akihabara</a> are covered under its MIT License.
    </p>

    <p>
      The player sprite is by Naruto[NU]: <a href="http://www.spriters-resource.com/custom_edited/mother/sheet/17317" target="_blank">http://www.spriters-resource.com/custom_edited/mother/sheet/17317</a> (and slightly altered by Darius)
    </p>
  </section>

  <script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&login=bostongamejams&apiKey=<KEY>"></script>
  <script type="text/javascript" src="akihabara/gbox.js"></script>
  <script type="text/javascript" src="akihabara/iphopad.js"></script>
  <script type="text/javascript" src="akihabara/trigo.js"></script>
  <script type="text/javascript" src="akihabara/toys.js"></script>
  <script type="text/javascript" src="akihabara/help.js"></script>
  <script type="text/javascript" src="akihabara/tool.js"></script>
  <script type="text/javascript" src="akihabara/gamecycle.js"></script>
  <script type="text/javascript" src="lib/overrides.js"></script>
  <script type="text/javascript" src="game.js"></script>
  <script type="text/javascript" src="lib/levels/map.js"></script>
<script>
  $(function(){
    $().enableUndo({ redoCtrlChar : 'y', redoShiftReq : false });
  });

  if (typeof drawGuiActions != 'undefined') { drawGuiActions(); }

  gbox._passKeysThrough = 1;

  var start_akihabara = true;
</script>
<output id="list"></output>
</body></html><commit_msg>Adding gAnalytics<commit_after><!DOCTYPE html><html lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta charset="utf-8">
  <title>Live Level Editor Demo w/ Akihabara</title>

  <link rel="stylesheet" href="stylesheets/reset.css">
  <link rel="stylesheet" href="stylesheets/admin.css">
  <link rel="stylesheet" href="stylesheets/plain.css">

  <script type="text/javascript" src="lib/swfobject.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery-1.4.4.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.tmpl.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.klass.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.undoable.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.ndd.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.jqupload.js"></script>
  <script type="text/javascript" src="lib/jquery/jquery.ba-bbq.js"></script>
  <script type="text/javascript" src="lib/jstorage.js"></script>
  <script type="text/javascript" src="lib/downloadify.min.js"></script>
  <script type="text/javascript" src="lib/clipboard/ZeroClipboard.js"></script>
  <script type="text/javascript" src="lib/core.js"></script>
  <script type="text/javascript" src="lib/extensions/date_time.js"></script>
  <script type="text/javascript" src="editor.js"></script>
  <script type="text/javascript" src="lib/admin/gui.js"></script>
  <script type="text/javascript" src="lib/history.js"></script>
  <script type="text/javascript" src="lib/admin/init.js"></script>
  <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-16151239-1']);
    _gaq.push(['_setDomainName', '.bostongamejams.com']);
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

  </script>  
</head>
<body>
  <section id="top_tools">
    <div id="palette">
      <img src="resources/palettes/default/0.png" id="brush0">
      <img src="resources/palettes/default/1.png" id="brush1">
      <img src="resources/palettes/default/2.png" id="brush2">
      <img src="resources/palettes/default/3.png" id="brush3">
      <img src="resources/palettes/default/4.png" id="brush4">
      <img src="resources/palettes/default/5.png" id="brush5">
      <img src="resources/palettes/default/6.png" id="brush6">
      <img src="resources/palettes/default/7.png" id="brush7">
      <img src="resources/palettes/default/8.png" id="brush8">
      <img src="resources/palettes/default/9.png" id="brush9">
    </div>

    <div id="level_name">
      <label for="level_name">Level Name</label>
      <input name="level_name" value="Akihabara Live Edit" size="30">
      <p>
        Last saved: <span id="last_saved"></span>
      </p>
      <a href="" id="open_level_storage">
        <img src="images/icons/arrow_right_blue_24x24.jpg" alt=">">
      </a>
    </div>

    <div id="level_sharing">
      <a href="#" id="generate_url">Generate a URL to share &raquo;</a>
      <input type="text" size="20" placeholder="Click generate link" id="share">
      <span id="d_clip_container" style="display:inline"></span>
      <span id="d_clip_button">Copy to Clipboard</span>
    </div>

    <div id="level_loading">
      <!-- <p id="upload_to_load">
          <form action="" method="get" id="upload_to_load_form">
            <label>
              Upload a level to load
              <input type="file" name="upload_level" value="">
            </label>
          </form>
      </p> -->
      <p id="save_level">
        <a href="#"></a>
      </p>

      <p id="drag_to_load">
        Drag here load <a href="#" class="inline_help">(?)</a>
      </p>
    </div>

    <div id="level_saving">
    </div>

    <div id="level_storage_pane" style="display: none">
      <h3>Level History/Storage</h3>
      <ul></ul>
      <a href="" id="clear_level_storage">clear storage</a>
    </div>
  </section>

  <div id="container">
    <canvas id="imageView" width="640" height="480">
    </canvas>
  </div>

  <section class="intro">
    <div class="holder">
      <p>
        Paint a level in the left box, watch it show up in the game in the right box. <strong>Best run on a widescreen monitor!</strong> For extra awesome, try putting your browser in full screen mode.
      </p>

      <p>
        Game controls: left/right arrow keys to move, Z to jump, C to respawn near the top-left of the screen.
      </p>
    </div>
  </section>

  <section class="credits">
    <h3>Credits &amp; Special Thanks</h3>
    <p>This editor was built by <a href="http://tinysubversions.com/" target="_blank"><NAME></a> and <a href="http://www.darrentorpey.com/" target="_blank"><NAME></a>.</p>

    <p>
      <ul>
        <li>The star tile comes from Arachne on TIGSource: <a href="http://forums.tigsource.com/index.php?topic=9147.0" target="_blank">http://forums.tigsource.com/index.php?topic=9147.0</a></li>
        <li>The cloud tiles are from JR Hill on TIGSource: <a href="http://forums.tigsource.com/index.php?topic=8980.0" target="_blank">http://forums.tigsource.com/index.php?topic=8980.0</a></li>
        <li>The explosion animation is from FrankieSmileShow on TIGSource: <a href="http://forums.tigsource.com/index.php?topic=8792.0" target="_blank">http://forums.tigsource.com/index.php?topic=8792.0</a></li>
        <li>The rest of the tiles are from pgil on TIGSource: <a href="http://forums.tigsource.com/index.php?topic=8796.0" target="_blank">http://forums.tigsource.com/index.php?topic=8796.0</a></li>
      </ul>
    </p>

    <p>
      All the above graphics are licensed as CC-BY-NC: <a href="http://creativecommons.org/licenses/by-nc/3.0/us/" target="_blank">http://creativecommons.org/licenses/by-nc/3.0/us/</a> and they come from the TIGSource Assemblee Compo
    </p>

    <p>
      The sounds are from Kesiev (who made them with cfxr), and since they're distributed with <a href="http://www.kesiev.com/akihabara/" target="_blank">Akihabara</a> are covered under its MIT License.
    </p>

    <p>
      The player sprite is by Naruto[NU]: <a href="http://www.spriters-resource.com/custom_edited/mother/sheet/17317" target="_blank">http://www.spriters-resource.com/custom_edited/mother/sheet/17317</a> (and slightly altered by Darius)
    </p>
  </section>

  <script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&login=bostongamejams&apiKey=<KEY>"></script>
  <script type="text/javascript" src="akihabara/gbox.js"></script>
  <script type="text/javascript" src="akihabara/iphopad.js"></script>
  <script type="text/javascript" src="akihabara/trigo.js"></script>
  <script type="text/javascript" src="akihabara/toys.js"></script>
  <script type="text/javascript" src="akihabara/help.js"></script>
  <script type="text/javascript" src="akihabara/tool.js"></script>
  <script type="text/javascript" src="akihabara/gamecycle.js"></script>
  <script type="text/javascript" src="lib/overrides.js"></script>
  <script type="text/javascript" src="game.js"></script>
  <script type="text/javascript" src="lib/levels/map.js"></script>
<script>
  $(function(){
    $().enableUndo({ redoCtrlChar : 'y', redoShiftReq : false });
  });

  if (typeof drawGuiActions != 'undefined') { drawGuiActions(); }

  gbox._passKeysThrough = 1;

  var start_akihabara = true;
</script>
<output id="list"></output>
</body></html>
{'fraction_non_alphanumeric': 0.18936069668534394, 'fraction_numerical': 0.014041720110713562, 'mean_word_length': 3.865024630541872, 'pattern_counts': {'":': 0, '<': 397, '<?xml version=': 0, '>': 399, 'https://': 1, 'lorem ipsum': 0, 'www.': 9, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2323642', 'n_tokens_mistral': 5212, 'n_tokens_neox': 5026, 'n_words': 978}