text:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ChangeListManager">
    <list default="true" id="4f852c0c-1aaf-4fb4-b1c3-bb0f97bd5db4" name="Default" comment="">
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/chp06_agents/Particles/main.py" afterPath="$PROJECT_DIR$/chp06_agents/Particles/main.py" />
    </list>
    <ignored path="nature_of_code.iws" />
    <ignored path=".idea/workspace.xml" />
    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
    <option name="TRACKING_ENABLED" value="true" />
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
    <option name="LAST_RESOLUTION" value="IGNORE" />
  </component>
  <component name="CreatePatchCommitExecutor">
    <option name="PATCH_PATH" value="" />
  </component>
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
  <component name="FavoritesManager">
    <favorites_list name="nature_of_code" />
  </component>
  <component name="FileEditorManager">
    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
      <file leaf-file-name="main.py" pinned="false" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/main.py">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="0">
              <caret line="51" column="68" lean-forward="false" selection-start-line="51" selection-start-column="68" selection-end-line="51" selection-end-column="68" />
              <folding>
                <element signature="e#35#72#0" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="FlowField.py" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/FlowField.py">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="278">
              <caret line="24" column="60" lean-forward="false" selection-start-line="24" selection-start-column="60" selection-end-line="24" selection-end-column="60" />
              <folding>
                <element signature="e#0#29#0" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="Vehicle.py" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Vehicle.py">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="138">
              <caret line="24" column="60" lean-forward="false" selection-start-line="24" selection-start-column="60" selection-end-line="24" selection-end-column="60" />
              <folding>
                <element signature="e#0#25#0" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="Path.py" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Path.py">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="0">
              <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
              <folding>
                <element signature="e#0#21#0" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="Globals.py" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Globals.py">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="253">
              <caret line="49" column="25" lean-forward="false" selection-start-line="49" selection-start-column="25" selection-end-line="49" selection-end-column="25" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="Particle.py" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Particle.py">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="646">
              <caret line="44" column="19" lean-forward="false" selection-start-line="44" selection-start-column="19" selection-end-line="44" selection-end-column="19" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="FileTemplateManagerImpl">
    <option name="RECENT_TEMPLATES">
      <list>
        <option value="Python Script" />
      </list>
    </option>
  </component>
  <component name="Git.Settings">
    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
  </component>
  <component name="IdeDocumentHistory">
    <option name="CHANGED_PATHS">
      <list>
        <option value="$PROJECT_DIR$/0.Intro.py" />
        <option value="$PROJECT_DIR$/1. random walker.py" />
        <option value="$PROJECT_DIR$/1.2 eight side walker.py" />
        <option value="$PROJECT_DIR$/1.1 random walker.py" />
        <option value="$PROJECT_DIR$/1.3 perlin walker.py" />
        <option value="$PROJECT_DIR$/0. Introduction/2 eight side walker.py" />
        <option value="$PROJECT_DIR$/0. Introduction/1 random walker.py" />
        <option value="$PROJECT_DIR$/0. Introduction/3 perlin walker.py" />
        <option value="$PROJECT_DIR$/0 Introduction/0 Intro.py" />
        <option value="$PROJECT_DIR$/0 Introduction/1 random walker.py" />
        <option value="$PROJECT_DIR$/0 Introduction/2 eight side walker.py" />
        <option value="$PROJECT_DIR$/0 Introduction/3 perlin walker.py" />
        <option value="$PROJECT_DIR$/1 Vectors/1 Bouncer.py" />
        <option value="$PROJECT_DIR$/2 Forses/1 Bouncer.py" />
        <option value="$PROJECT_DIR$/chp02_forces/1 Bouncer.py" />
        <option value="$PROJECT_DIR$/chp03_oscillation/1 Pendulum.py" />
        <option value="$PROJECT_DIR$/chp03_oscillation/2 Spring.py" />
        <option value="$PROJECT_DIR$/chp04_systems/1 ParticleSystem.py" />
        <option value="$PROJECT_DIR$/chp05_physicslibraries/1 Box2D.py" />
        <option value="$PROJECT_DIR$/pygame_temp.py" />
        <option value="$PROJECT_DIR$/chp05_physicslibraries/ParticleSystem.py" />
        <option value="$PROJECT_DIR$/chp05_physicslibraries/Particle.py" />
        <option value="$PROJECT_DIR$/chp05_physicslibraries/Globals.py" />
        <option value="$PROJECT_DIR$/chp05_physicslibraries/2 Box2D PyGame.py" />
        <option value="$PROJECT_DIR$/chp05_physicslibraries/Particles/Particle.py" />
        <option value="$PROJECT_DIR$/chp05_physicslibraries/Particles/__init__.py" />
        <option value="$PROJECT_DIR$/chp05_physicslibraries/Particles/main.py" />
        <option value="$PROJECT_DIR$/chp06_agents/vehicle.py" />
        <option value="$PROJECT_DIR$/chp06_agents/Particles/__init__.py" />
        <option value="$PROJECT_DIR$/chp06_agents/Particles/Particle.py" />
        <option value="$PROJECT_DIR$/chp06_agents/Particles/Globals.py" />
        <option value="$PROJECT_DIR$/chp06_agents/Particles/FlowField.py" />
        <option value="$PROJECT_DIR$/chp06_agents/Particles/Vehicle.py" />
        <option value="$PROJECT_DIR$/chp06_agents/Particles/main.py" />
      </list>
    </option>
  </component>
  <component name="ProjectFrameBounds">
    <option name="x" value="-8" />
    <option name="y" value="-8" />
    <option name="width" value="1382" />
    <option name="height" value="744" />
  </component>
  <component name="ProjectInspectionProfilesVisibleTreeState">
    <entry key="Project Default">
      <profile-state>
        <expanded-state>
          <State>
            <id />
          </State>
          <State>
            <id>Buildout</id>
          </State>
          <State>
            <id>General</id>
          </State>
          <State>
            <id>HTML</id>
          </State>
          <State>
            <id>Internationalization issues</id>
          </State>
          <State>
            <id>JSON</id>
          </State>
          <State>
            <id>Python</id>
          </State>
          <State>
            <id>RELAX NG</id>
          </State>
          <State>
            <id>ReST</id>
          </State>
          <State>
            <id>Spelling</id>
          </State>
          <State>
            <id>XML</id>
          </State>
        </expanded-state>
        <selected-state>
          <State>
            <id>InconsistentLineSeparators</id>
          </State>
        </selected-state>
      </profile-state>
    </entry>
  </component>
  <component name="ProjectLevelVcsManager">
    <ConfirmationsSetting value="1" id="Add" />
  </component>
  <component name="ProjectView">
    <navigator currentView="ProjectPane" proportions="" version="1">
      <flattenPackages />
      <showMembers />
      <showModules />
      <showLibraryContents />
      <hideEmptyPackages />
      <abbreviatePackageNames />
      <autoscrollToSource />
      <autoscrollFromSource />
      <sortByType />
      <manualOrder />
      <foldersAlwaysOnTop value="true" />
    </navigator>
    <panes>
      <pane id="Scratches" />
      <pane id="ProjectPane">
        <subPane>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="nature_of_code" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="The-Nature-of-Code-Examples" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="nature_of_code" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="The-Nature-of-Code-Examples" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="chp06_agents" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="nature_of_code" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="The-Nature-of-Code-Examples" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="chp06_agents" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Particles" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
        </subPane>
      </pane>
      <pane id="Scope" />
    </panes>
  </component>
  <component name="PropertiesComponent">
    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
    <property name="settings.editor.selected.configurable" value="Errors" />
    <property name="ChangesBrowser.SHOW_FLATTEN" value="false" />
  </component>
  <component name="RunManager" selected="Python.main (1)">
    <configuration default="false" name="1 Box2D" type="PythonConfigurationType" factoryName="Python" temporary="true">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs>
        <env name="PYTHONUNBUFFERED" value="1" />
      </envs>
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/chp05_physicslibraries" />
      <option name="IS_MODULE_SDK" value="true" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/chp05_physicslibraries/1 Box2D.py" />
      <option name="PARAMETERS" value="" />
      <option name="SHOW_COMMAND_LINE" value="false" />
      <method />
    </configuration>
    <configuration default="false" name="2 Box2D PyGame" type="PythonConfigurationType" factoryName="Python" temporary="true">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs>
        <env name="PYTHONUNBUFFERED" value="1" />
      </envs>
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/chp05_physicslibraries" />
      <option name="IS_MODULE_SDK" value="true" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="D:\GitHub\The-Nature-of-Code-Examples\chp05_physicslibraries\Particles\main.py" />
      <option name="PARAMETERS" value="" />
      <option name="SHOW_COMMAND_LINE" value="false" />
      <method />
    </configuration>
    <configuration default="false" name="main" type="PythonConfigurationType" factoryName="Python" temporary="true">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs>
        <env name="PYTHONUNBUFFERED" value="1" />
      </envs>
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/chp05_physicslibraries/Particles" />
      <option name="IS_MODULE_SDK" value="true" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/chp05_physicslibraries/Particles/main.py" />
      <option name="PARAMETERS" value="" />
      <option name="SHOW_COMMAND_LINE" value="false" />
      <method />
    </configuration>
    <configuration default="false" name="vehicle" type="PythonConfigurationType" factoryName="Python" temporary="true">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs>
        <env name="PYTHONUNBUFFERED" value="1" />
      </envs>
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/chp06_agents" />
      <option name="IS_MODULE_SDK" value="true" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/chp06_agents/vehicle.py" />
      <option name="PARAMETERS" value="" />
      <option name="SHOW_COMMAND_LINE" value="false" />
      <method />
    </configuration>
    <configuration default="true" type="PythonConfigurationType" factoryName="Python">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs>
        <env name="PYTHONUNBUFFERED" value="1" />
      </envs>
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="" />
      <option name="IS_MODULE_SDK" value="false" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="" />
      <option name="PARAMETERS" value="" />
      <option name="SHOW_COMMAND_LINE" value="false" />
      <method />
    </configuration>
    <configuration default="true" type="Tox" factoryName="Tox">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs />
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="" />
      <option name="IS_MODULE_SDK" value="false" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <method />
    </configuration>
    <configuration default="true" type="tests" factoryName="Attests">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs />
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="" />
      <option name="IS_MODULE_SDK" value="false" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="" />
      <option name="CLASS_NAME" value="" />
      <option name="METHOD_NAME" value="" />
      <option name="FOLDER_NAME" value="" />
      <option name="TEST_TYPE" value="TEST_SCRIPT" />
      <option name="PATTERN" value="" />
      <option name="USE_PATTERN" value="false" />
      <method />
    </configuration>
    <configuration default="true" type="tests" factoryName="Doctests">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs />
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="" />
      <option name="IS_MODULE_SDK" value="false" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="" />
      <option name="CLASS_NAME" value="" />
      <option name="METHOD_NAME" value="" />
      <option name="FOLDER_NAME" value="" />
      <option name="TEST_TYPE" value="TEST_SCRIPT" />
      <option name="PATTERN" value="" />
      <option name="USE_PATTERN" value="false" />
      <method />
    </configuration>
    <configuration default="true" type="tests" factoryName="Nosetests">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs />
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="" />
      <option name="IS_MODULE_SDK" value="false" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="" />
      <option name="CLASS_NAME" value="" />
      <option name="METHOD_NAME" value="" />
      <option name="FOLDER_NAME" value="" />
      <option name="TEST_TYPE" value="TEST_SCRIPT" />
      <option name="PATTERN" value="" />
      <option name="USE_PATTERN" value="false" />
      <option name="PARAMS" value="" />
      <option name="USE_PARAM" value="false" />
      <method />
    </configuration>
    <configuration default="true" type="tests" factoryName="Unittests">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs />
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="" />
      <option name="IS_MODULE_SDK" value="false" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="" />
      <option name="CLASS_NAME" value="" />
      <option name="METHOD_NAME" value="" />
      <option name="FOLDER_NAME" value="" />
      <option name="TEST_TYPE" value="TEST_SCRIPT" />
      <option name="PATTERN" value="" />
      <option name="USE_PATTERN" value="false" />
      <option name="PUREUNITTEST" value="true" />
      <option name="PARAMS" value="" />
      <option name="USE_PARAM" value="false" />
      <method />
    </configuration>
    <configuration default="true" type="tests" factoryName="py.test">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs />
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="" />
      <option name="IS_MODULE_SDK" value="false" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="" />
      <option name="CLASS_NAME" value="" />
      <option name="METHOD_NAME" value="" />
      <option name="FOLDER_NAME" value="" />
      <option name="TEST_TYPE" value="TEST_SCRIPT" />
      <option name="PATTERN" value="" />
      <option name="USE_PATTERN" value="false" />
      <option name="testToRun" value="" />
      <option name="keywords" value="" />
      <option name="params" value="" />
      <option name="USE_PARAM" value="false" />
      <option name="USE_KEYWORD" value="false" />
      <method />
    </configuration>
    <configuration default="false" name="__init__" type="PythonConfigurationType" factoryName="Python">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs>
        <env name="PYTHONUNBUFFERED" value="1" />
      </envs>
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/chp05_physicslibraries/Particles" />
      <option name="IS_MODULE_SDK" value="true" />
      <option name="ADD_CONTENT_ROOTS" value="false" />
      <option name="ADD_SOURCE_ROOTS" value="false" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/chp05_physicslibraries/Particles/__init__.py" />
      <option name="PARAMETERS" value="" />
      <option name="SHOW_COMMAND_LINE" value="false" />
      <method />
    </configuration>
    <configuration default="false" name="main (1)" type="PythonConfigurationType" factoryName="Python">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs>
        <env name="PYTHONUNBUFFERED" value="1" />
      </envs>
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/chp06_agents/Particles" />
      <option name="IS_MODULE_SDK" value="true" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="nature_of_code" />
      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/chp06_agents/Particles/main.py" />
      <option name="PARAMETERS" value="" />
      <option name="SHOW_COMMAND_LINE" value="false" />
      <method />
    </configuration>
    <list size="6">
      <item index="0" class="java.lang.String" itemvalue="Python.__init__" />
      <item index="1" class="java.lang.String" itemvalue="Python.main (1)" />
      <item index="2" class="java.lang.String" itemvalue="Python.1 Box2D" />
      <item index="3" class="java.lang.String" itemvalue="Python.2 Box2D PyGame" />
      <item index="4" class="java.lang.String" itemvalue="Python.main" />
      <item index="5" class="java.lang.String" itemvalue="Python.vehicle" />
    </list>
    <recent_temporary>
      <list size="4">
        <item index="0" class="java.lang.String" itemvalue="Python.vehicle" />
        <item index="1" class="java.lang.String" itemvalue="Python.main" />
        <item index="2" class="java.lang.String" itemvalue="Python.2 Box2D PyGame" />
        <item index="3" class="java.lang.String" itemvalue="Python.1 Box2D" />
      </list>
    </recent_temporary>
  </component>
  <component name="ShelveChangesManager" show_recycled="false">
    <option name="remove_strategy" value="false" />
  </component>
  <component name="StructureViewFactory">
    <option name="AUTOSCROLL_FROM_SOURCE" value="true" />
    <option name="ACTIVE_ACTIONS" value=",SHOW_INHERITED" />
  </component>
  <component name="SvnConfiguration">
    <configuration />
  </component>
  <component name="TaskManager">
    <task active="true" id="Default" summary="Default task">
      <changelist id="4f852c0c-1aaf-4fb4-b1c3-bb0f97bd5db4" name="Default" comment="" />
      <created>1479452552982</created>
      <option name="number" value="Default" />
      <option name="presentableId" value="Default" />
      <updated>1479452552982</updated>
    </task>
    <task id="LOCAL-00001" summary="Chapter 2 added">
      <created>1479933096462</created>
      <option name="number" value="00001" />
      <option name="presentableId" value="LOCAL-00001" />
      <option name="project" value="LOCAL" />
      <updated>1479933096462</updated>
    </task>
    <task id="LOCAL-00002" summary="Chapter 3
added">
      <created>1480256231561</created>
      <option name="number" value="00002" />
      <option name="presentableId" value="LOCAL-00002" />
      <option name="project" value="LOCAL" />
      <updated>1480256231561</updated>
    </task>
    <task id="LOCAL-00003" summary="Chapter 4 added">
      <created>1480280158393</created>
      <option name="number" value="00003" />
      <option name="presentableId" value="LOCAL-00003" />
      <option name="project" value="LOCAL" />
      <updated>1480280158393</updated>
    </task>
    <task id="LOCAL-00004" summary="Chapter 4 rewritten using pygame">
      <created>1480304939226</created>
      <option name="number" value="00004" />
      <option name="presentableId" value="LOCAL-00004" />
      <option name="project" value="LOCAL" />
      <updated>1480304939226</updated>
    </task>
    <task id="LOCAL-00005" summary="Chapter 5  using pygame and box2d">
      <created>1480363635250</created>
      <option name="number" value="00005" />
      <option name="presentableId" value="LOCAL-00005" />
      <option name="project" value="LOCAL" />
      <updated>1480363635250</updated>
    </task>
    <task id="LOCAL-00006" summary="Chapter 4 refactored using multiple files">
      <created>1480861336240</created>
      <option name="number" value="00006" />
      <option name="presentableId" value="LOCAL-00006" />
      <option name="project" value="LOCAL" />
      <updated>1480861336240</updated>
    </task>
    <task id="LOCAL-00007" summary="Chapter 4 refactored using multiple files">
      <created>1480861369209</created>
      <option name="number" value="00007" />
      <option name="presentableId" value="LOCAL-00007" />
      <option name="project" value="LOCAL" />
      <updated>1480861369209</updated>
    </task>
    <task id="LOCAL-00008" summary="Chapter 4 refactored using module">
      <created>1480863557769</created>
      <option name="number" value="00008" />
      <option name="presentableId" value="LOCAL-00008" />
      <option name="project" value="LOCAL" />
      <updated>1480863557769</updated>
    </task>
    <task id="LOCAL-00009" summary="Chapter 6 Seeking behavior">
      <created>1480947274204</created>
      <option name="number" value="00009" />
      <option name="presentableId" value="LOCAL-00009" />
      <option name="project" value="LOCAL" />
      <updated>1480947274204</updated>
    </task>
    <task id="LOCAL-00010" summary="Chapter 6 Fleeing behavior">
      <created>1480947715249</created>
      <option name="number" value="00010" />
      <option name="presentableId" value="LOCAL-00010" />
      <option name="project" value="LOCAL" />
      <updated>1480947715249</updated>
    </task>
    <task id="LOCAL-00011" summary="Chapter 6  Wandering behavior">
      <created>1481028429039</created>
      <option name="number" value="00011" />
      <option name="presentableId" value="LOCAL-00011" />
      <option name="project" value="LOCAL" />
      <updated>1481028429039</updated>
    </task>
    <task id="LOCAL-00012" summary="Chapter 6 Stay within walls behavior">
      <created>1481030461916</created>
      <option name="number" value="00012" />
      <option name="presentableId" value="LOCAL-00012" />
      <option name="project" value="LOCAL" />
      <updated>1481030461916</updated>
    </task>
    <task id="LOCAL-00013" summary="Chapter 6 Follow flowfield">
      <created>1481032095121</created>
      <option name="number" value="00013" />
      <option name="presentableId" value="LOCAL-00013" />
      <option name="project" value="LOCAL" />
      <updated>1481032095121</updated>
    </task>
    <task id="LOCAL-00014" summary="Chapter 6 Perlin flowfield">
      <created>1481033460797</created>
      <option name="number" value="00014" />
      <option name="presentableId" value="LOCAL-00014" />
      <option name="project" value="LOCAL" />
      <updated>1481033460797</updated>
    </task>
    <task id="LOCAL-00015" summary="Chapter 6 Perlin flowfield">
      <created>1481035913216</created>
      <option name="number" value="00015" />
      <option name="presentableId" value="LOCAL-00015" />
      <option name="project" value="LOCAL" />
      <updated>1481035913216</updated>
    </task>
    <task id="LOCAL-00016" summary="Chapter 6 refactored">
      <created>1481038062807</created>
      <option name="number" value="00016" />
      <option name="presentableId" value="LOCAL-00016" />
      <option name="project" value="LOCAL" />
      <updated>1481038062807</updated>
    </task>
    <task id="LOCAL-00017" summary="Chapter 6 Simple path following">
      <created>1481104136166</created>
      <option name="number" value="00017" />
      <option name="presentableId" value="LOCAL-00017" />
      <option name="project" value="LOCAL" />
      <updated>1481104136166</updated>
    </task>
    <task id="LOCAL-00018" summary="Chapter 6 Multisegmental path following">
      <created>1481111177024</created>
      <option name="number" value="00018" />
      <option name="presentableId" value="LOCAL-00018" />
      <option name="project" value="LOCAL" />
      <updated>1481111177024</updated>
    </task>
    <task id="LOCAL-00019" summary="Chapter 6 Path following fixed">
      <created>1481124168144</created>
      <option name="number" value="00019" />
      <option name="presentableId" value="LOCAL-00019" />
      <option name="project" value="LOCAL" />
      <updated>1481124168144</updated>
    </task>
    <task id="LOCAL-00020" summary="Chapter 6 Separation behavior">
      <created>1481180182658</created>
      <option name="number" value="00020" />
      <option name="presentableId" value="LOCAL-00020" />
      <option name="project" value="LOCAL" />
      <updated>1481180182658</updated>
    </task>
    <task id="LOCAL-00021" summary="Chapter 6 Bin-lattice optimization">
      <created>1481182854961</created>
      <option name="number" value="00021" />
      <option name="presentableId" value="LOCAL-00021" />
      <option name="project" value="LOCAL" />
      <updated>1481182854961</updated>
    </task>
    <option name="localTasksCounter" value="22" />
    <servers />
  </component>
  <component name="ToolWindowManager">
    <frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
    <editor active="true" />
    <layout>
      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.19033232" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32998884" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3010204" sideWeight="0.5060423" order="5" side_tool="true" content_ui="tabs" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3265306" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32312927" sideWeight="0.4939577" order="8" side_tool="false" content_ui="tabs" />
      <window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4506803" sideWeight="0.4978678" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Run" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.27114803" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.20694864" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2244898" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
      <window_info id="Debug" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4410876" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32998884" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
    </layout>
  </component>
  <component name="Vcs.Log.Tabs.Properties">
    <option name="TAB_STATES">
      <map>
        <entry key="MAIN">
          <value>
            <State>
              <option name="RECENTLY_FILTERED_USER_GROUPS">
                <collection />
              </option>
              <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
                <collection />
              </option>
            </State>
          </value>
        </entry>
      </map>
    </option>
  </component>
  <component name="Vcs.Log.UiProperties">
    <option name="RECENTLY_FILTERED_USER_GROUPS">
      <collection />
    </option>
    <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
      <collection />
    </option>
  </component>
  <component name="VcsContentAnnotationSettings">
    <option name="myLimit" value="2678400000" />
  </component>
  <component name="VcsManagerConfiguration">
    <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="false" />
    <option name="CHECK_NEW_TODO" value="false" />
    <MESSAGE value="Chapter 2 added" />
    <MESSAGE value="Chapter 3
added" />
    <MESSAGE value="Chapter 4 added" />
    <MESSAGE value="Chapter 4 rewritten using pygame" />
    <MESSAGE value="Chapter 5  using pygame and box2d" />
    <MESSAGE value="Chapter 4 refactored using multiple files" />
    <MESSAGE value="Chapter 4 refactored using module" />
    <MESSAGE value="Chapter 6 Seeking behavior" />
    <MESSAGE value="Chapter 6 Fleeing behavior" />
    <MESSAGE value="Chapter 6  Wandering behavior" />
    <MESSAGE value="Chapter 6 Stay within walls behavior" />
    <MESSAGE value="Chapter 6 Follow flowfield" />
    <MESSAGE value="Chapter 6 Perlin flowfield" />
    <MESSAGE value="Chapter 6 refactored" />
    <MESSAGE value="Chapter 6 Simple path following" />
    <MESSAGE value="Chapter 6 Multisegmental path following" />
    <MESSAGE value="Chapter 6 Path following fixed" />
    <MESSAGE value="Chapter 6 Separation behavior" />
    <MESSAGE value="Chapter 6 Bin-lattice optimization" />
    <option name="LAST_COMMIT_MESSAGE" value="Chapter 6 Bin-lattice optimization" />
    <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
  </component>
  <component name="XDebuggerManager">
    <breakpoint-manager>
      <breakpoints-dialog>
        <breakpoints-dialog />
      </breakpoints-dialog>
      <option name="time" value="12" />
    </breakpoint-manager>
    <watches-manager />
  </component>
  <component name="editorHistoryManager">
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/main.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding>
            <element signature="e#35#72#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/__init__.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="5" column="28" lean-forward="false" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Vehicle.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding>
            <element signature="e#0#25#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/FlowField.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="11" column="23" lean-forward="false" selection-start-line="11" selection-start-column="23" selection-end-line="11" selection-end-column="23" />
          <folding>
            <element signature="e#0#29#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Globals.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="48" column="22" lean-forward="false" selection-start-line="48" selection-start-column="22" selection-end-line="48" selection-end-column="22" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Particle.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="45" column="27" lean-forward="false" selection-start-line="45" selection-start-column="27" selection-end-line="47" selection-end-column="67" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/main.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="5" column="13" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="84" selection-end-column="0" />
          <folding>
            <element signature="e#35#72#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp04_systems/1 ParticleSystem.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="4" selection-end-column="18" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/vehicle.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="45" column="0" lean-forward="false" selection-start-line="45" selection-start-column="0" selection-end-line="45" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Particle.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://C:/Program Files (x86)/Python35-32/Lib/tkinter/__init__.py" />
    <entry file="file://C:/Program Files (x86)/Python35-32/Lib/site-packages/noise/shader_noise.py" />
    <entry file="file://C:/Program Files (x86)/Python35-32/Lib/site-packages/noise/perlin.py" />
    <entry file="file://C:/Program Files (x86)/Python35-32/Lib/site-packages/noise/__init__.py" />
    <entry file="file://$PROJECT_DIR$/chp03_oscillation/NOC_3_10_PendulumExample/NOC_3_10_PendulumExample.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="17" column="0" lean-forward="false" selection-start-line="17" selection-start-column="0" selection-end-line="17" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp03_oscillation/NOC_3_10_PendulumExample/Pendulum.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="81" column="31" lean-forward="false" selection-start-line="81" selection-start-column="31" selection-end-line="81" selection-end-column="31" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp03_oscillation/1 Pendulum.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="42" column="23" lean-forward="false" selection-start-line="42" selection-start-column="23" selection-end-line="42" selection-end-column="23" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp03_oscillation/NOC_3_11_spring/NOC_3_11_spring.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="16" column="0" lean-forward="false" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp03_oscillation/NOC_3_11_spring/Mover.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="41" column="0" lean-forward="false" selection-start-line="41" selection-start-column="0" selection-end-line="41" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/tkinter example.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="24" column="24" lean-forward="false" selection-start-line="24" selection-start-column="24" selection-end-line="24" selection-end-column="24" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/box2d/NOC_5_1_box2d_exercise/NOC_5_1_box2d_exercise.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/pygame_temp.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="50" column="32" lean-forward="false" selection-start-line="50" selection-start-column="32" selection-end-line="50" selection-end-column="32" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/box2d/NOC_5_1_box2d_exercise_solved/NOC_5_1_box2d_exercise_solved.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/box2d/NOC_5_2_Boxes/NOC_5_2_Boxes.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="22" column="36" lean-forward="false" selection-start-line="22" selection-start-column="36" selection-end-line="22" selection-end-column="36" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/box2d/NOC_5_9_CollisionListening/Particle.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="33" column="18" lean-forward="false" selection-start-line="33" selection-start-column="18" selection-end-line="33" selection-end-column="18" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/box2d/NOC_5_1_box2d_exercise/Box.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/box2d/NOC_5_1_box2d_exercise_solved/Box.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="14" column="0" lean-forward="false" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/box2d/NOC_5_9_CollisionListening/NOC_5_9_CollisionListening.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="31" column="2" lean-forward="false" selection-start-line="31" selection-start-column="2" selection-end-line="31" selection-end-column="29" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/box2d/NOC_5_2_Boxes/Box.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="25" column="40" lean-forward="false" selection-start-line="25" selection-start-column="40" selection-end-line="25" selection-end-column="40" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/__init__.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/1 Box2D.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="51" column="0" lean-forward="false" selection-start-line="51" selection-start-column="0" selection-end-line="51" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/Particles/Globals.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="15" column="0" lean-forward="false" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/Particles/ParticleSystem.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="18" column="70" lean-forward="false" selection-start-line="18" selection-start-column="43" selection-end-line="18" selection-end-column="70" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/Particles/__init__.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="2" column="0" lean-forward="false" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/Particles/main.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="46" column="0" lean-forward="false" selection-start-line="46" selection-start-column="0" selection-end-line="46" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/vehicle.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="45" column="0" lean-forward="false" selection-start-line="45" selection-start-column="0" selection-end-line="45" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp05_physicslibraries/Particles/Particle.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="7" column="0" lean-forward="false" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp02_forces/1 Bouncer.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="63" column="51" lean-forward="false" selection-start-line="63" selection-start-column="51" selection-end-line="81" selection-end-column="34" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp04_systems/1 ParticleSystem.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="6" column="33" lean-forward="false" selection-start-line="6" selection-start-column="33" selection-end-line="6" selection-end-column="33" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp03_oscillation/2 Spring.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="58" column="0" lean-forward="false" selection-start-line="58" selection-start-column="0" selection-end-line="58" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Exercise_6_04_Wander/Exercise_6_04_Wander.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Exercise_6_04_Wander/Vehicle.pde">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp01_vectors/1 Bouncer.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/introduction/3 perlin walker.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/__init__.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="5" column="28" lean-forward="false" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Globals.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="253">
          <caret line="49" column="25" lean-forward="false" selection-start-line="49" selection-start-column="25" selection-end-line="49" selection-end-column="25" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Particle.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="646">
          <caret line="44" column="19" lean-forward="false" selection-start-line="44" selection-start-column="19" selection-end-line="44" selection-end-column="19" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Path.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding>
            <element signature="e#0#21#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/FlowField.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="278">
          <caret line="24" column="60" lean-forward="false" selection-start-line="24" selection-start-column="60" selection-end-line="24" selection-end-column="60" />
          <folding>
            <element signature="e#0#29#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/Vehicle.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="138">
          <caret line="24" column="60" lean-forward="false" selection-start-line="24" selection-start-column="60" selection-end-line="24" selection-end-column="60" />
          <folding>
            <element signature="e#0#25#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/chp06_agents/Particles/main.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="0">
          <caret line="51" column="68" lean-forward="false" selection-start-line="51" selection-start-column="68" selection-end-line="51" selection-end-column="68" />
          <folding>
            <element signature="e#35#72#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
  </component>
</project>


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
Coelomycetous Anamorphs with Appendage-bearing Conidia (Ontario) 792 (1993)

#### Original name
Pestalotia insidens Zabriskie

### Remarks
null

redpajama_set_name: RedPajamaGithub


text:
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSurface.h"
#include "tools/ToolUtils.h"

#define ZOOM    32
#define SMALL_W 9
#define SMALL_H 3
#define REPEAT_LOOP 5

static sk_sp<SkSurface> new_surface(int width, int height) {
    return SkSurface::MakeRasterN32Premul(width, height);
}

static void draw_pixel_centers(SkCanvas* canvas) {
    SkPaint paint;
    paint.setColor(ToolUtils::color_to_565(0xFF0088FF));
    paint.setAntiAlias(true);

    for (int y = 0; y < SMALL_H; ++y) {
        for (int x = 0; x < SMALL_W; ++x) {
            canvas->drawCircle(x + 0.5f, y + 0.5f, 1.5f / ZOOM, paint);
        }
    }
}

static void draw_fatpath(SkCanvas* canvas, SkSurface* surface, const SkPath& path) {
    SkPaint paint;

    surface->getCanvas()->clear(SK_ColorTRANSPARENT);
    surface->getCanvas()->drawPath(path, paint);
    surface->draw(canvas, 0, 0, nullptr);

    paint.setAntiAlias(true);
    paint.setColor(SK_ColorRED);
    paint.setStyle(SkPaint::kStroke_Style);
    canvas->drawPath(path, paint);

    draw_pixel_centers(canvas);
}

DEF_SIMPLE_GM(fatpathfill, canvas,
              SMALL_W * ZOOM,
              SMALL_H * ZOOM * REPEAT_LOOP) {
        auto surface(new_surface(SMALL_W, SMALL_H));

        canvas->scale(ZOOM, ZOOM);

        SkPaint paint;
        paint.setStyle(SkPaint::kStroke_Style);
        paint.setStrokeWidth(SK_Scalar1);

        for (int i = 0; i < REPEAT_LOOP; ++i) {
            SkPath line, path;
            line.moveTo(1, 2);
            line.lineTo(SkIntToScalar(4 + i), 1);
            paint.getFillPath(line, &path);
            draw_fatpath(canvas, surface.get(), path);

            canvas->translate(0, SMALL_H);
        }
}


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Disseminate.Graphics;

namespace Disseminate.MonoGame.Graphics
{
    public class RenderToScreen : IRenderTarget
    {
        public void enable()
        {
            MonoGL.instance._device.SetRenderTarget(null);
        }

    }
}


text:
""" Rally command: verify """

import csv
import json
import os

import six
import yaml

from rally import api
from rally.cli import cliutils
from rally.cli import envutils
from rally.common import fileutils
from rally.common.i18n import _
from rally.common import utils
from rally import consts
from rally import exceptions
from rally.verification.tempest import diff
from rally.verification.tempest import json2html

AVAILABLE_SETS = list(consts.TempestTestsSets) + list(consts.TempestTestsAPI)

class VerifyCommands(object):
    """Verify an OpenStack cloud via Tempest.

    Set of commands that allow you to run Tempest tests.
    """

    @cliutils.args("--deployment", dest="deployment", type=str,
                   metavar="<uuid>", required=False,
                   help="UUID or name of a deployment.")
    @cliutils.args("--set", metavar="<set_name>", dest="set_name", type=str,
                   required=False,
                   help="Name of a Tempest test set. "
                        "Available sets are %s" % ", ".join(AVAILABLE_SETS))
    @cliutils.args("--regex", dest="regex", type=str, required=False,
                   help="Test name regular expression")
    @cliutils.args("--load-list", metavar="<path>", dest="tests_file",
                   type=str, required=False,
                   help="Path to a file with a list of Tempest tests "
                        "to run only them")
    @cliutils.deprecated_args("--tests-file", metavar="<path>",
                              dest="tests_file", type=str, required=False,
                              help="Path to a file with a list of Tempest "
                                   "tests to run only them", release="0.6.0")
    @cliutils.args("--skip-list", metavar="<path>", dest="tests_file_to_skip",
                   type=str, required=False,
                   help="Path to a file with a list of Tempest tests "
                        "to skip their run")
    @cliutils.args("--tempest-config", dest="tempest_config", type=str,
                   required=False, metavar="<path>",
                   help="User-specified Tempest config file location")
    @cliutils.args("--xfail-list", dest="xfails_file", type=str,
                   required=False, metavar="<path>",
                   help="Path to a YAML file with a list of Tempest tests "
                        "that are expected to fail")
    @cliutils.deprecated_args("--xfails-file", dest="xfails_file", type=str,
                              required=False, metavar="<path>",
                              help="Path to a YAML file with a list of Tempest"
                                   " tests that are expected to fail",
                              release="0.6.0")
    @cliutils.args("--no-use", action="store_false", dest="do_use",
                   help="Not to set the task as default for future operations")
    @cliutils.args("--system-wide", dest="system_wide",
                   help="Not to create a virtual env when installing Tempest; "
                        "use the local env instead of the Tempest virtual env "
                        "when running the tests. Note that all Tempest "
                        "requirements have to be already installed in "
                        "the local env!",
                   required=False, action="store_true")
    @cliutils.args("--concurrency", metavar="N", dest="concur", type=int,
                   required=False,
                   help="How many processes to use to run Tempest tests. "
                        "The default value (0) auto-detects your CPU count")
    @cliutils.args("--failing", dest="failing", required=False,
                   help="Re-run the tests that failed in the last execution",
                   action="store_true")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def start(self, deployment=None, set_name="", regex=None, tests_file=None,
              tests_file_to_skip=None, tempest_config=None, xfails_file=None,
              do_use=True, system_wide=False, concur=0, failing=False):
        """Start verification (run Tempest tests).

        :param deployment: UUID or name of a deployment
        :param set_name: Name of a Tempest test set
        :param regex: Regular expression of test
        :param tests_file: Path to a file with a list of Tempest tests
                           to run them
        :param tests_file_to_skip: Path to a file with a list of Tempest tests
                                   to skip them
        :param tempest_config: User specified Tempest config file location
        :param xfails_file: Path to a YAML file with a list of Tempest tests
                            that are expected to fail
        :param do_use: Use new task as default for future operations
        :param system_wide: Whether or not to create a virtual env when
                            installing Tempest; whether or not to use
                            the local env instead of the Tempest virtual
                            env when running the tests
        :param concur: How many processes to use to run Tempest tests.
                       The default value (0) auto-detects CPU count
        :param failing: Re-run tests that failed during the last execution
        """

        msg = _("Arguments '%s' and '%s' are incompatible. "
                "You can use only one of the mentioned arguments.")
        incompatible_args_map = [
            {"regex": regex, "set": set_name},
            {"tests-file": tests_file, "set": set_name},
            {"tests-file": tests_file, "regex": regex},
            {"tests-file": tests_file, "skip-list": tests_file_to_skip},
            {"failing": failing, "set": set_name},
            {"failing": failing, "regex": regex},
            {"failing": failing, "tests-file": tests_file},
            {"failing": failing, "skip-list": tests_file_to_skip}
        ]
        for args in incompatible_args_map:
            arg_keys = list(args)
            if args[arg_keys[0]] and args[arg_keys[1]]:
                print(msg % (arg_keys[0], arg_keys[1]))
                return 1

        if not (regex or set_name or tests_file or failing):
            set_name = "full"
        if set_name and set_name not in AVAILABLE_SETS:
            print(_("Tempest test set '%s' not found "
                    "in available test sets. Available sets are %s.")
                  % (set_name, ", ".join(AVAILABLE_SETS)))
            return 1

        if tests_file and not os.path.exists(tests_file):
            print(_("File '%s' not found.") % tests_file)
            return 1
        if tests_file_to_skip and not os.path.exists(tests_file_to_skip):
            print(_("File '%s' not found.") % tests_file_to_skip)
            return 1

        expected_failures = None
        if xfails_file:
            if os.path.exists(xfails_file):
                with open(os.path.abspath(xfails_file), "rb") as f:
                    expected_failures = yaml.load(f)
            else:
                print(_("File '%s' not found.") % xfails_file)
                return 1

        verification = api.Verification.verify(
            deployment, set_name=set_name, regex=regex,
            tests_file=tests_file, tests_file_to_skip=tests_file_to_skip,
            tempest_config=tempest_config, expected_failures=expected_failures,
            system_wide=system_wide, concur=concur, failing=failing)

        if do_use:
            self.use(verification["uuid"])
        else:
            print(_("Verification UUID: %s") % verification["uuid"])

    @cliutils.args("--deployment", dest="deployment", type=str,
                   metavar="<uuid>", required=False,
                   help="UUID or name of a deployment.")
    @cliutils.args("--set", metavar="<set_name>", dest="set_name", type=str,
                   required=False,
                   help="Name of a Tempest test set. "
                        "Available sets are %s" % ", ".join(AVAILABLE_SETS))
    @cliutils.args("--file", dest="log_file", type=str,
                   required=True, metavar="<path>",
                   help="User specified Tempest log file location. "
                        "Note, Tempest log file needs to be in subunit format")
    @cliutils.args("--no-use", action="store_false", dest="do_use",
                   required=False,
                   help="Not to set new task as default for future operations")
    @cliutils.alias("import")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def import_results(self, deployment=None, set_name="", log_file=None,
                       do_use=True):
        """Import Tempest tests results into the Rally database.

        :param deployment: UUID or name of a deployment
        :param set_name: Name of a Tempest test set
        :param do_use: Use new task as default for future operations
        :param log_file: User specified Tempest log file in subunit format
        """
        deployment, verification = api.Verification.import_results(deployment,
                                                                   set_name,
                                                                   log_file)
        if do_use:
            self.use(verification["uuid"])
        else:
            print(_("Verification UUID: %s") % verification["uuid"])

    def list(self):
        """List verification runs."""

        fields = ["UUID", "Deployment UUID", "Set name", "Tests", "Failures",
                  "Created at", "Duration", "Status"]
        verifications = api.Verification.list()

        for el in verifications:
            el["duration"] = el["updated_at"] - el["created_at"]

        if verifications:
            cliutils.print_list(verifications, fields,
                                normalize_field_names=True,
                                sortby_index=fields.index("Created at"))
        else:
            print(_("No verification was started yet. "
                    "To start verification use:\nrally verify start"))

    @cliutils.args("--uuid", type=str, dest="verification",
                   help="UUID of a verification.")
    @cliutils.args("--html", action="store_true", dest="output_html",
                   help="Display results in HTML format.")
    @cliutils.args("--json", action="store_true", dest="output_json",
                   help="Display results in JSON format.")
    @cliutils.args("--output-file", type=str, required=False,
                   dest="output_file", metavar="<path>",
                   help="Path to a file to save results to.")
    @envutils.with_default_verification_id
    @cliutils.suppress_warnings
    def results(self, verification=None, output_file=None,
                output_html=None, output_json=None):
        """Display results of a verification.

        :param verification: UUID of a verification
        :param output_file: Path to a file to save results
        :param output_html: Display results in HTML format
        :param output_json: Display results in JSON format (Default)
        """
        try:
            results = api.Verification.get(verification).get_results()
        except exceptions.NotFoundException as e:
            print(six.text_type(e))
            return 1

        result = ""
        if output_json + output_html > 1:
            print(_("Please specify only one "
                    "output format: --json or --html."))
        elif output_html:
            result = json2html.generate_report(results)
        else:
            result = json.dumps(results, sort_keys=True, indent=4)

        if output_file:
            output_file = os.path.expanduser(output_file)
            with open(output_file, "wb") as f:
                f.write(result)
        else:
            print(result)

    @cliutils.args("--uuid", dest="verification", type=str,
                   required=False,
                   help="UUID of a verification")
    @cliutils.args("--sort-by", metavar="<query>", dest="sort_by", type=str,
                   required=False, choices=("name", "duration"),
                   help="Sort results by 'name' or 'duration'")
    @cliutils.args("--detailed", dest="detailed", action="store_true",
                   required=False,
                   help="Display detailed errors of failed tests")
    @envutils.with_default_verification_id
    def show(self, verification=None, sort_by="name", detailed=False):
        """Display results table of a verification.

        :param verification: UUID of a verification
        :param sort_by: Sort results by 'name' or 'duration'
        :param detailed: Display detailed errors of failed tests
        """
        try:
            verification = api.Verification.get(verification)
            tests = verification.get_results()
        except exceptions.NotFoundException as e:
            print(six.text_type(e))
            return 1

        print(_("Total results of verification:\n"))
        total_fields = ["UUID", "Deployment UUID", "Set name", "Tests",
                        "Failures", "Created at", "Status"]
        cliutils.print_list([verification], fields=total_fields,
                            normalize_field_names=True)

        print(_("\nTests:\n"))
        fields = ["name", "time", "status"]

        results = tests["test_cases"]
        values = [utils.Struct(**results[test_name]) for test_name in results]
        sortby_index = ("name", "duration").index(sort_by)
        cliutils.print_list(values, fields, sortby_index=sortby_index)

        if detailed:
            for test in six.itervalues(tests["test_cases"]):
                if test["status"] == "fail":
                    header = cliutils.make_header(
                        "FAIL: %(name)s\n"
                        "Time: %(time)s" % {"name": test["name"],
                                            "time": test["time"]})
                    formatted_test = "%(header)s%(log)s\n" % {
                        "header": header,
                        "log": test["traceback"]}
                    print(formatted_test)

    @cliutils.args("--uuid", dest="verification", type=str,
                   required=False, help="UUID of a verification.")
    @cliutils.args("--sort-by", dest="sort_by", choices=("name", "duration"),
                   required=False, help="Sort results by 'name' or 'duration'")
    @envutils.with_default_verification_id
    def detailed(self, verification=None, sort_by="name"):
        """Display results table of a verification with detailed errors.

        :param verification: UUID of a verification
        :param sort_by: Sort results by 'name' or 'duration'
        """
        self.show(verification, sort_by, True)

    @cliutils.args("--uuid-1", type=str, required=True, dest="verification1",
                   help="UUID of the first verification")
    @cliutils.args("--uuid-2", type=str, required=True, dest="verification2",
                   help="UUID of the second verification")
    @cliutils.args("--csv", action="store_true", dest="output_csv",
                   help="Display results in CSV format")
    @cliutils.args("--html", action="store_true", dest="output_html",
                   help="Display results in HTML format")
    @cliutils.args("--json", action="store_true", dest="output_json",
                   help="Display results in JSON format")
    @cliutils.args("--output-file", type=str, required=False,
                   dest="output_file", help="Path to a file to save results")
    @cliutils.args("--threshold", type=int, required=False,
                   dest="threshold", default=0,
                   help="If specified, timing differences must exceed this "
                   "percentage threshold to be included in output")
    def compare(self, verification1=None, verification2=None,
                output_file=None, output_csv=None, output_html=None,
                output_json=None, threshold=0):
        """Compare two verification results.

        :param verification1: UUID of the first verification
        :param verification2: UUID of the second verification
        :param output_file: Path to a file to save results
        :param output_csv: Display results in CSV format
        :param output_html: Display results in HTML format
        :param output_json: Display results in JSON format (Default)
        :param threshold: Timing difference threshold percentage
        """
        try:
            res_1 = api.Verification.get(
                verification1).get_results()["test_cases"]
            res_2 = api.Verification.get(
                verification2).get_results()["test_cases"]
            _diff = diff.Diff(res_1, res_2, threshold)
        except exceptions.NotFoundException as e:
            print(six.text_type(e))
            return 1

        result = ""
        if output_json + output_html + output_csv > 1:
            print(_("Please specify only one output "
                    "format: --json, --html or --csv."))
            return 1
        elif output_html:
            result = _diff.to_html()
        elif output_csv:
            result = _diff.to_csv()
        else:
            result = _diff.to_json()

        if output_file:
            with open(output_file, "wb") as f:
                if output_csv:
                    writer = csv.writer(f, dialect="excel")
                    writer.writerows(result)
                else:
                    f.write(result)
        else:
            print(result)

    @cliutils.args("--uuid", type=str, dest="verification",
                   required=False, help="UUID of a verification")
    def use(self, verification):
        """Set active verification.

        :param verification: UUID of a verification
        """
        print(_("Verification UUID: %s") % verification)
        api.Verification.get(verification)
        fileutils.update_globals_file("RALLY_VERIFICATION", verification)

    @cliutils.args("--deployment", dest="deployment", type=str,
                   metavar="<uuid>", required=False,
                   help="UUID or name of a deployment.")
    @cliutils.args("--tempest-config", dest="tempest_config", type=str,
                   required=False, metavar="<path>",
                   help="User-specified Tempest config file location")
    @cliutils.args("--override", dest="override",
                   help="Override existing Tempest config file",
                   required=False, action="store_true")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def genconfig(self, deployment=None, tempest_config=None, override=False):
        """Generate Tempest configuration file.

        :param deployment: UUID or name of a deployment
        :param tempest_config: User-specified Tempest config file location
        :param override: Whether or not to override existing Tempest
                         config file
        """
        api.Verification.configure_tempest(deployment, tempest_config,
                                           override)

    @cliutils.args("--deployment", dest="deployment", type=str,
                   metavar="<uuid>", required=False,
                   help="UUID or name of a deployment.")
    @cliutils.args("--source", type=str, dest="source", required=False,
                   help="Path/URL to repo to clone Tempest from")
    @cliutils.args("--version", type=str, dest="version", required=False,
                   help="Commit ID or tag to checkout before Tempest "
                        "installation")
    @cliutils.args("--system-wide", dest="system_wide",
                   help="Not to install Tempest package and not to create "
                        "a virtual env for Tempest. Note that Tempest package "
                        "and all Tempest requirements have to be already "
                        "installed in the local env!",
                   required=False, action="store_true")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def install(self, deployment=None, source=None, version=None,
                system_wide=False):
        """Install Tempest.

        :param deployment: UUID or name of a deployment
        :param source: Path/URL to repo to clone Tempest from
        :param version: Commit ID or tag to checkout before Tempest
                        installation
        :param system_wide: Whether or not to install Tempest package and
                            create a Tempest virtual env
        """
        api.Verification.install_tempest(deployment, source,
                                         version, system_wide)

    @cliutils.args("--deployment", dest="deployment", type=str,
                   metavar="<uuid>", required=False,
                   help="UUID or name of a deployment.")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def uninstall(self, deployment=None):
        """Remove the deployment's local Tempest installation.

        :param deployment: UUID or name of a deployment
        """
        api.Verification.uninstall_tempest(deployment)

    @cliutils.args("--deployment", dest="deployment", type=str,
                   metavar="<uuid>", required=False,
                   help="UUID or name of a deployment.")
    @cliutils.args("--source", type=str, dest="source", required=False,
                   help="Path/URL to repo to clone Tempest from")
    @cliutils.args("--version", type=str, dest="version", required=False,
                   help="Commit ID or tag to checkout before Tempest "
                        "installation")
    @cliutils.args("--system-wide", dest="system_wide",
                   help="Not to install Tempest package and not to create "
                        "a virtual env for Tempest. Note that Tempest package "
                        "and all Tempest requirements have to be already "
                        "installed in the local env!",
                   required=False, action="store_true")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def reinstall(self, deployment=None, source=None, version=None,
                  system_wide=False):
        """Uninstall Tempest and install again.

        :param deployment: UUID or name of a deployment
        :param source: Path/URL to repo to clone Tempest from
        :param version: Commit ID or tag to checkout before Tempest
                        installation
        :param system_wide: Whether or not to install Tempest package and
                            create a Tempest virtual env
        """
        api.Verification.reinstall_tempest(deployment, source,
                                           version, system_wide)

    @cliutils.args("--deployment", type=str, dest="deployment",
                   required=False, help="UUID or name of a deployment")
    @cliutils.args("--source", type=str, dest="source", required=True,
                   help="Path/URL to repo to clone Tempest plugin from")
    @cliutils.args("--version", type=str, dest="version", required=False,
                   help="Branch, commit ID or tag to checkout before Tempest "
                        "plugin installation")
    @cliutils.args("--system-wide", dest="system_wide",
                   help="Install plugin in the local env, "
                        "not in Tempest virtual env. Note that all Tempest "
                        "plugin requirements have to be already installed in "
                        "the local env!",
                   required=False, action="store_true")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def installplugin(self, deployment=None, source=None, version=None,
                      system_wide=False):
        """Install Tempest plugin.

        :param deployment: UUID or name of a deployment
        :param source: Path/URL to repo to clone Tempest plugin from
        :param version: Branch, commit ID or tag to checkout before Tempest
                        plugin installation
        :param system_wide: Install plugin in Tempest virtual env or
                            in the local env
        """
        api.Verification.install_tempest_plugin(deployment, source,
                                                version, system_wide)

    @cliutils.args("--deployment", type=str, dest="deployment",
                   required=False, help="UUID or name of a deployment")
    @cliutils.args("--system-wide", dest="system_wide",
                   help="List all plugins installed in the local env, "
                        "not in Tempest virtual env",
                   required=False, action="store_true")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def listplugins(self, deployment=None, system_wide=False):
        """List all installed Tempest plugins.

        :param deployment: UUID or name of a deployment
        :param system_wide: List all plugins installed in the local env or
                            in Tempest virtual env
        """
        print(api.Verification.list_tempest_plugins(deployment, system_wide))

    @cliutils.args("--deployment", type=str, dest="deployment",
                   required=False, help="UUID or name of a deployment")
    @cliutils.args("--repo-name", type=str, dest="repo_name",
                   required=True, help="Plugin repo name")
    @cliutils.args("--system-wide", dest="system_wide",
                   help="Uninstall plugin from the local env, "
                        "not from Tempest virtual env",
                   required=False, action="store_true")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def uninstallplugin(self, deployment=None, repo_name=None,
                        system_wide=False):
        """Uninstall Tempest plugin.

        :param deployment: UUID or name of a deployment
        :param repo_name: Plugin repo name
        :param system_wide: Uninstall plugin from Tempest virtual env or
                            from the local env
        """
        api.Verification.uninstall_tempest_plugin(deployment,
                                                  repo_name, system_wide)

    @cliutils.args("--deployment", dest="deployment", type=str, required=False,
                   metavar="<uuid>", help="UUID or name of a deployment")
    @cliutils.args("--pattern", dest="pattern", type=str,
                   required=False, metavar="<pattern>",
                   help="Test name pattern which can be used to match")
    @cliutils.args("--system-wide", dest="system_wide",
                   help="Discover tests for system-wide Tempest installation",
                   required=False, action="store_true")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def discover(self, deployment=None, pattern="", system_wide=False):
        """Show a list of discovered tests.

        :param deployment: UUID or name of a deployment
        :param pattern: Test name pattern which can be used to match
        :param system_wide: Discover tests for system-wide or venv
                            Tempest installation
        """
        discovered_tests = api.Verification.discover_tests(deployment, pattern,
                                                           system_wide)
        p_str = (_(" matching pattern '%s'") % pattern) if pattern else ""
        if discovered_tests:
            print(_("Discovered tests%s:\n") % p_str)
            for test in discovered_tests:
                print(test)
        else:
            print(_("No tests%s discovered.") % p_str)

    @cliutils.args("--deployment", dest="deployment", type=str,
                   metavar="<uuid>", required=False,
                   help="UUID or name of a deployment.")
    @envutils.with_default_deployment(cli_arg_name="deployment")
    def showconfig(self, deployment=None):
        """Show Tempest configuration file.

        :param deployment: UUID or name of a deployment
        """
        conf_info = api.Verification.show_config_info(deployment)
        print(_("Tempest config file: %s") % conf_info["conf_path"])
        print("\n" + conf_info["conf_data"])


text:
node-express-with-ssl
=====================

Simple server with express serving http in port 8080 and https in port 8043

    git clone https://github.com/josketres/node-express-with-ssl.git
    cd node-express-with-ssl/
    ./run.sh


text: export type ILevelStairsType = 'µ';


text:
<?php
require_once 'AFrameTest.php';

class InvokeTest extends AFrameTest {

	protected function getFrameClass() {
		return 'Invoke';
	}

	public function testFrameType() {
		//  test frame type
		$this->assertEquals(\YiiNodeSocket\Frame\AFrame::TYPE_INVOKE, Yii::app()->nodeSocket->createInvokeFrame()->getType());
	}

	public function testGetFunctions() {
		$frame = $this->createFrame();
		$this->assertEquals(array(), $frame->getFunctions(), 'Functions should be empty after construct');
	}

	public function getGetMethods() {
		$frame = $this->createFrame();
		$this->assertEquals(array(), $frame->getMethods(), 'Methods should be empty after construct');
	}
}


text:
import './specs/is-odd';
import './specs/is-even';


text:
class MrController < ApplicationController
  def show
    project = current_user.projects.joins(:merge_requests).where('merge_requests.id = ?', params[:id]).first
    raise ActiveRecord::RecordNotFound, 'Merge request not found.' if project.nil?

    redirect_to("/projects/#{project.id}/merge_requests/#{params[:id]}")
  end
end


text:
AtDbgMonitor::AtDbgMonitor()
{
}

AtDbgMonitor::~AtDbgMonitor()
{

}

int AtDbgMonitor::CreateDbgBuffer()
{
	int		nErrCode		= 0;

	m_hDBWinBuffer		= CreateFileMappingA(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, 4096, "DBWIN_BUFFER");
	if (m_hDBWinBuffer == NULL)
	{
		nErrCode = ERROR_CODE(nErrCode, 1);
		goto _exit;
	}

	m_pDBWinBuffer	= MapViewOfFile(m_hDBWinBuffer, FILE_MAP_READ, 0, 0, 0);
	if (m_pDBWinBuffer == NULL)
	{
		nErrCode = ERROR_CODE(nErrCode, 2);
		goto _exit;
	}

	m_hDBWinDataReady	= CreateEvent(NULL, TRUE, FALSE, _T("DBWIN_DATA_READY"));
	m_hDBWinBufferReady	= CreateEvent(NULL, TRUE, TRUE, _T("DBWIN_BUFFER_READY"));
	if (m_hDBWinBufferReady == NULL || m_hDBWinDataReady == NULL)
	{

		nErrCode = ERROR_CODE(nErrCode, 3);
		goto _exit;
	}

	return 0;

_exit:

	CloseHandle(m_hDBWinBuffer);
	m_hDBWinBuffer	= NULL;

	CloseHandle(m_hDBWinBufferReady);
	m_hDBWinBufferReady		= NULL;

	CloseHandle(m_hDBWinDataReady);
	m_hDBWinDataReady		= NULL;

	return nErrCode;
}

int AtDbgMonitor::DestoryDbgBuffer()
{
	if (m_hDBWinBufferReady)
	{
		CloseHandle(m_hDBWinBufferReady);
		m_hDBWinBufferReady	= NULL;
	}

	if (m_hDBWinDataReady)
	{
		CloseHandle(m_hDBWinDataReady);
		m_hDBWinDataReady	= NULL;
	}

	if (m_pDBWinBuffer)
	{
		UnmapViewOfFile(m_pDBWinBuffer);
		m_pDBWinBuffer = NULL;
	}

	if (m_hDBWinBuffer)
	{
		CloseHandle(m_hDBWinBuffer);
		m_hDBWinBuffer = NULL;
	}

	return 0;
}

unsigned int AtDbgMonitor::CheckCondition()
{
	unsigned int		nErrCode		= MakeErrorMonitor(def_AT_MONITOR_Failed);
	const AtCondition*	pCondition		= GetCondition();
	DWORD				dwWaitCode		= 0;

	clock_t	beginClock		= clock();
	clock_t	timeout			= 5000;			// ĬÈϵȴý5s

	if (pCondition->timeout > 0)
	{
		timeout = pCondition->timeout * 1000;
	}

	if (CreateDbgBuffer() != 0)
	{
		goto End;
	}

	while(1) {
		// ¼ì²éÊÇ·ñ³¬Ê±
		if (clock() - beginClock > timeout)
		{
			nErrCode = MakeErrorMonitor(def_AT_MONITOR_Timeout);
			goto End;
		}

		dwWaitCode = WaitForSingleObject(m_hDBWinDataReady, 100);
		if (dwWaitCode == WAIT_TIMEOUT)
		{
			continue;
		}

		// Buffer¿É¶Á
		LPCSTR pDbgString = (LPCSTR)m_pDBWinBuffer;
		pDbgString += sizeof(DWORD);

		//printf("[DbgView]: %s\n", pDbgString);

		if (strstr(pDbgString, pCondition->target.c_str()) != NULL)
		{
			// ·¢ÏÖÄ¿±ê
			nErrCode = MakeErrorMonitor(def_AT_MONITOR_Success);
			goto End;
		}

		::SetEvent(m_hDBWinBufferReady);
	}

End:
	DestoryDbgBuffer();

	return nErrCode;
}


text:
<?php

namespace Weba\Domain\User;

use Weba\Domain\Common\ArrayCollection;

class UsersCollection extends ArrayCollection
{
    protected function getExpectedType(): string
    {
        return User::class;
    }
}