<commit_before>a.anchor#home
.jumbotron
  .container-fluid
    .row
      .col-lg-10.col-lg-offset-1
        h1 <span>rails</span>box
        h2 Fast and easy Ruby on Rails virtual machines
        p
          ' Ruby developer? Heard about <strong>DevOps</strong> but too busy to learn it? Streamline your development workflow in no time by creating production-like virtual machine with your development environment. Try this extremely simple to use VM configuration tool to create new <strong>Ruby on Rails</strong> server using
          a href='https://www.vagrantup.com/' <strong>vagrant</strong>
          '  and
          a href='http://www.ansible.com/' <strong>ansible</strong>
          ' .
        p.button
          a.btn.btn-default.btn-lg href='#vm-settings' Get started

.container-fluid ng-controller='ConfigurationController'
  form role='form' method='post' action=configurations_path
    = token_tag nil
    a.anchor#vm-settings
    .row.step.step1 ng-controller='VirtualMachineController'
      .col-lg-1.step-number
        h1 1
      .col-lg-11.step-conf
        .panel.panel-default
          .panel-heading
            h2.panel-title Virtual machine settings
          .panel-body
            .row
              .col-lg-8
                .row
                  .col-lg-6
                    .form-group
                      label for='vm_name' Name
                      input.form-control id='vm_name' name='vm_name' type='text' ng-model='vm.name'
                  .col-lg-6
                    .form-group
                      label for='vm_os' Operating System
                      select.form-control id='vm_os' name='vm_os' ng-options='os.name for os in osList track by os.box' ng-model='vm.os'
                .row
                  .col-lg-6
                    .form-group
                      label for='vm_memory' Memory, Mb
                      p
                        small The amount of memory which will be available for virtual machine. Ruby on Rails application are usually memory-heavy, so increasing this value to <strong>1024</strong> make sense sometimes.
                      input.form-control id='vm_memory' name='vm_memory' type='text' ng-model='vm.memory'
                  .col-lg-6
                    .form-group
                      label for='vm_cores' CPU cores
                      p
                        small Number of CPU cores which will be dedicated to virtual machine. Usually the default of <strong>1</strong> works fine, but for CPU-intensive applications you may raise it to <strong>2</strong> or higher.
                      select.form-control id='vm_cores' name='vm_cores' ng-options='coreNum for coreNum in coresList track by coreNum' ng-model='vm.cores'

              .col-lg-4
                label for='new_guest_port' Port forwarding
                table.table.table-bordered
                  thead
                    tr
                      th Guest port
                      th Host port
                      th
                  tbody
                    tr ng-repeat='port in vm.ports'
                      input type='hidden' name='vm_ports[{{ $index }}][guest]' value='{{ port.guest }}'
                      input type='hidden' name='vm_ports[{{ $index }}][host]' value='{{ port.host }}'
                      td {{ port.guest }}
                      td {{ port.host }}
                      td
                        button.btn.btn-danger type='button' ng-click='deletePort($index)' Delete
                    tr
                      td
                        input.form-control id='new_guest_port' type='number' placeholder='guest port' ng-model='newGuestPort'
                      td<commit_msg>Proper input type for memory field<commit_after>a.anchor#home
.jumbotron
  .container-fluid
    .row
      .col-lg-10.col-lg-offset-1
        h1 <span>rails</span>box
        h2 Fast and easy Ruby on Rails virtual machines
        p
          ' Ruby developer? Heard about <strong>DevOps</strong> but too busy to learn it? Streamline your development workflow in no time by creating production-like virtual machine with your development environment. Try this extremely simple to use VM configuration tool to create new <strong>Ruby on Rails</strong> server using
          a href='https://www.vagrantup.com/' <strong>vagrant</strong>
          '  and
          a href='http://www.ansible.com/' <strong>ansible</strong>
          ' .
        p.button
          a.btn.btn-default.btn-lg href='#vm-settings' Get started

.container-fluid ng-controller='ConfigurationController'
  form role='form' method='post' action=configurations_path
    = token_tag nil
    a.anchor#vm-settings
    .row.step.step1 ng-controller='VirtualMachineController'
      .col-lg-1.step-number
        h1 1
      .col-lg-11.step-conf
        .panel.panel-default
          .panel-heading
            h2.panel-title Virtual machine settings
          .panel-body
            .row
              .col-lg-8
                .row
                  .col-lg-6
                    .form-group
                      label for='vm_name' Name
                      input.form-control id='vm_name' name='vm_name' type='text' ng-model='vm.name'
                  .col-lg-6
                    .form-group
                      label for='vm_os' Operating System
                      select.form-control id='vm_os' name='vm_os' ng-options='os.name for os in osList track by os.box' ng-model='vm.os'
                .row
                  .col-lg-6
                    .form-group
                      label for='vm_memory' Memory, Mb
                      p
                        small The amount of memory which will be available for virtual machine. Ruby on Rails application are usually memory-heavy, so increasing this value to <strong>1024</strong> make sense sometimes.
                      input.form-control id='vm_memory' name='vm_memory' type='number' ng-model='vm.memory'
                  .col-lg-6
                    .form-group
                      label for='vm_cores' CPU cores
                      p
                        small Number of CPU cores which will be dedicated to virtual machine. Usually the default of <strong>1</strong> works fine, but for CPU-intensive applications you may raise it to <strong>2</strong> or higher.
                      select.form-control id='vm_cores' name='vm_cores' ng-options='coreNum for coreNum in coresList track by coreNum' ng-model='vm.cores'

              .col-lg-4
                label for='new_guest_port' Port forwarding
                table.table.table-bordered
                  thead
                    tr
                      th Guest port
                      th Host port
                      th
                  tbody
                    tr ng-repeat='port in vm.ports'
                      input type='hidden' name='vm_ports[{{ $index }}][guest]' value='{{ port.guest }}'
                      input type='hidden' name='vm_ports[{{ $index }}][host]' value='{{ port.host }}'
                      td {{ port.guest }}
                      td {{ port.host }}
                      td
                        button.btn.btn-danger type='button' ng-click='deletePort($index)' Delete
                    tr
                      td
                        input.form-control id='new_guest_port' type='number' placeholder='guest port' ng-model='newGuestPort'
                      td
{'fraction_non_alphanumeric': 0.09390555630297323, 'fraction_numerical': 0.006457688685591282, 'mean_word_length': 1.4946308724832216, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3291227', 'n_tokens_mistral': 2007, 'n_tokens_neox': 1854, 'n_words': 542}