text:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ChangeListManager">
    <list default="true" id="fa968ac5-b202-4991-949f-b6aa5cbc2a14" name="Default" comment="" />
    <ignored path="filehandaling.iws" />
    <ignored path=".idea/workspace.xml" />
    <ignored path=".idea/dataSources.local.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="ChangesViewManager" flattened_view="true" show_ignored="false" />
  <component name="CreatePatchCommitExecutor">
    <option name="PATCH_PATH" value="" />
  </component>
  <component name="DaemonCodeAnalyzer">
    <disable_hints />
  </component>
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
  <component name="FavoritesManager">
    <favorites_list name="filehandaling" />
  </component>
  <component name="FileEditorManager">
    <leaf>
      <file leaf-file-name="file_create.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/file_create.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-2.5" vertical-offset="0" max-vertical-offset="150">
              <caret line="4" column="2" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="2" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="file_open.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/file_open.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="150">
              <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="Arifa.txt" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/Arifa.txt">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
              <caret line="0" column="16" selection-start-line="0" selection-start-column="16" selection-end-line="0" selection-end-column="16" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="counter.php" pinned="false" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/counter.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="0.21681997" vertical-offset="0" max-vertical-offset="761">
              <caret line="11" column="2" selection-start-line="11" selection-start-column="2" selection-end-line="11" selection-end-column="2" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="counter.txt" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/counter.txt">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
              <caret line="0" column="1" selection-start-line="0" selection-start-column="1" selection-end-line="0" selection-end-column="1" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="read_file.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/read_file.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="390">
              <caret line="0" column="4" selection-start-line="0" selection-start-column="0" selection-end-line="5" selection-end-column="14" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="writeFile.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/writeFile.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-9.375" vertical-offset="0" max-vertical-offset="330">
              <caret line="15" column="0" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="deleteFile.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/deleteFile.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-5.0" vertical-offset="0" max-vertical-offset="210">
              <caret line="8" column="2" selection-start-line="8" selection-start-column="2" selection-end-line="8" selection-end-column="2" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="closeFile.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/closeFile.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="165">
              <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="fileread.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/fileread.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="90">
              <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="FindManager">
    <FindUsagesManager>
      <setting name="OPEN_NEW_TAB" value="true" />
    </FindUsagesManager>
  </component>
  <component name="IdeDocumentHistory">
    <option name="changedFiles">
      <list>
        <option value="$PROJECT_DIR$/deleteFile.php" />
        <option value="$PROJECT_DIR$/test_read.php" />
        <option value="$PROJECT_DIR$/read_file.php" />
        <option value="$PROJECT_DIR$/fileread.php" />
        <option value="$PROJECT_DIR$/test" />
        <option value="$PROJECT_DIR$/testread.php" />
        <option value="$PROJECT_DIR$/file_create.php" />
        <option value="$PROJECT_DIR$/counter.php" />
        <option value="$PROJECT_DIR$/counter.txt" />
        <option value="$PROJECT_DIR$/writeFile.php" />
        <option value="$PROJECT_DIR$/Arifa.txt" />
      </list>
    </option>
  </component>
  <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
  <component name="ProjectFrameBounds">
    <option name="x" value="95" />
    <option name="y" value="158" />
    <option name="width" value="1185" />
    <option name="height" value="902" />
  </component>
  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
    <OptionsSetting value="true" id="Add" />
    <OptionsSetting value="true" id="Remove" />
    <OptionsSetting value="true" id="Checkout" />
    <OptionsSetting value="true" id="Update" />
    <OptionsSetting value="true" id="Status" />
    <OptionsSetting value="true" id="Edit" />
    <ConfirmationsSetting value="0" id="Add" />
    <ConfirmationsSetting value="0" id="Remove" />
  </component>
  <component name="ProjectReloadState">
    <option name="STATE" value="0" />
  </component>
  <component name="ProjectView">
    <navigator currentView="ProjectPane" proportions="" version="1">
      <flattenPackages />
      <showMembers />
      <showModules />
      <showLibraryContents />
      <hideEmptyPackages />
      <abbreviatePackageNames />
      <autoscrollToSource />
      <autoscrollFromSource />
      <sortByType />
    </navigator>
    <panes>
      <pane id="Scope" />
      <pane id="ProjectPane">
        <subPane>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="filehandaling" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="filehandaling" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="filehandaling" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
        </subPane>
      </pane>
    </panes>
  </component>
  <component name="PropertiesComponent">
    <property name="WebServerToolWindowFactoryState" value="false" />
    <property name="last_opened_file_path" value="$PROJECT_DIR$/../arrayfunctions" />
  </component>
  <component name="RunManager">
    <configuration default="true" type="PHPUnitRunConfigurationType" factoryName="PHPUnit">
      <TestRunner />
      <method />
    </configuration>
    <configuration default="true" type="PhpLocalRunConfigurationType" factoryName="PHP Console">
      <method />
    </configuration>
    <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
      <method />
    </configuration>
    <configuration default="true" type="PhpBehatConfigurationType" factoryName="Behat">
      <BehatRunner />
      <method />
    </configuration>
    <configuration default="true" type="PhpUnitRemoteRunConfigurationType" factoryName="PHPUnit on Server">
      <method />
    </configuration>
    <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
      <node-options />
      <gulpfile />
      <tasks />
      <pass-parent-env-vars>false</pass-parent-env-vars>
      <envs />
      <method />
    </configuration>
    <list size="0" />
  </component>
  <component name="ShelveChangesManager" show_recycled="false" />
  <component name="SvnConfiguration">
    <configuration />
  </component>
  <component name="TaskManager">
    <task active="true" id="Default" summary="Default task">
      <changelist id="fa968ac5-b202-4991-949f-b6aa5cbc2a14" name="Default" comment="" />
      <created>1419043654221</created>
      <option name="number" value="Default" />
      <updated>1419043654221</updated>
    </task>
    <servers />
  </component>
  <component name="ToolWindowManager">
    <frame x="95" y="158" width="1185" height="902" extended-state="0" />
    <editor active="true" />
    <layout>
      <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" 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" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24894515" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
    </layout>
  </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="myTodoPanelSettings">
      <TodoPanelSettings />
    </option>
  </component>
  <component name="XDebuggerManager">
    <breakpoint-manager>
      <option name="time" value="1" />
    </breakpoint-manager>
    <watches-manager />
  </component>
  <component name="editorHistoryManager">
    <entry file="file://$PROJECT_DIR$/file_create.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="45" max-vertical-offset="150">
          <caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/file_open.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="150">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/Arifa.txt">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
          <caret line="0" column="16" selection-start-line="0" selection-start-column="16" selection-end-line="0" selection-end-column="16" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/read_file.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="300" max-vertical-offset="390">
          <caret line="20" column="0" selection-start-line="20" selection-start-column="0" selection-end-line="20" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/test_read.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="180">
          <caret line="0" column="5" selection-start-line="0" selection-start-column="5" selection-end-line="0" selection-end-column="5" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/../arrayfunctions/arrayFuncation/array_change_key_case.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/writeFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="30" max-vertical-offset="150">
          <caret line="2" column="31" selection-start-line="2" selection-start-column="31" selection-end-line="2" selection-end-column="31" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/deleteFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="120" max-vertical-offset="210">
          <caret line="8" column="2" selection-start-line="8" selection-start-column="2" selection-end-line="8" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/closeFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/file_create.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/read_file.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="90" max-vertical-offset="180">
          <caret line="6" column="2" selection-start-line="6" selection-start-column="2" selection-end-line="6" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/deleteFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="120" max-vertical-offset="210">
          <caret line="8" column="2" selection-start-line="8" selection-start-column="2" selection-end-line="8" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/closeFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/file_create.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="60" max-vertical-offset="150">
          <caret line="4" column="2" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/read_file.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/deleteFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/closeFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/file_create.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="60" max-vertical-offset="150">
          <caret line="4" column="2" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/read_file.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/deleteFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/closeFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/file_create.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="60" max-vertical-offset="150">
          <caret line="4" column="2" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/read_file.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/file_create.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="100">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/../arrayfunctions/arrayFuncation/array_change_key_case.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="785">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/appendFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-2.5" vertical-offset="0" max-vertical-offset="195">
          <caret line="4" column="23" selection-start-line="4" selection-start-column="23" selection-end-line="4" selection-end-column="23" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/testread.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-3.125" vertical-offset="0" max-vertical-offset="165">
          <caret line="5" column="2" selection-start-line="5" selection-start-column="2" selection-end-line="5" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/test_read.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="180">
          <caret line="0" column="5" selection-start-line="0" selection-start-column="5" selection-end-line="0" selection-end-column="5" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/read_file.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="390">
          <caret line="0" column="4" selection-start-line="0" selection-start-column="0" selection-end-line="5" selection-end-column="14" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/fileread.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="785">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/file_open.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="785">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/file_create.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-2.5" vertical-offset="0" max-vertical-offset="150">
          <caret line="4" column="2" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/deleteFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-5.0" vertical-offset="0" max-vertical-offset="210">
          <caret line="8" column="2" selection-start-line="8" selection-start-column="2" selection-end-line="8" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/closeFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="807">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/counter.txt">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="785">
          <caret line="0" column="1" selection-start-line="0" selection-start-column="1" selection-end-line="0" selection-end-column="1" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/writeFile.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-9.375" vertical-offset="0" max-vertical-offset="330">
          <caret line="15" column="0" selection-start-line="15" selection-start-column="0" selection-end-line="15" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/Arifa.txt">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
          <caret line="0" column="16" selection-start-line="0" selection-start-column="16" selection-end-line="0" selection-end-column="16" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/counter.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.21681997" vertical-offset="0" max-vertical-offset="761">
          <caret line="11" column="2" selection-start-line="11" selection-start-column="2" selection-end-line="11" selection-end-column="2" />
          <folding />
        </state>
      </provider>
    </entry>
  </component>
</project>


text:
<?php

namespace Sirprize\Flickr\Collection;

/**
 * Represent and modify an entity
 *
 * @category  Sirprize
 * @package   Flickr
 */
class Entity extends \Sirprize\Flickr\Core\Entity
{

	protected $_id = null;
	protected $_title = null;
	protected $_description = null;
	protected $_photoSets = null;

	public function getId()
	{
		return $this->_id;
	}

	public function getTitle()
	{
		return $this->_title;
	}

	public function getDescription()
	{
		return $this->_description;
	}

	public function getPhotoSets()
	{
		if($this->_photoSets === null)
		{
			$this->_photoSets = $this->_getService()->getPhotoSetsInstance();
		}

		return $this->_photoSets;
	}

	/**
	 * Load data returned from an api request
	 *
	 * @throws \Sirprize\Flickr\Exception
	 * @return \Sirprize\Flickr\Collection
	 */
	public function load(array $data, $force = false)
	{
		if($this->_loaded && !$force)
		{
			throw new \Sirprize\Flickr\Exception('entity has already been loaded');
		}

		$this->_loaded = true;

		$id = new \Sirprize\Flickr\Id($data['id']);

		$this->_id = $id;
		$this->_title = $data['title'];
		$this->_description = $data['description'];

		foreach($data['set'] as $item)
		{
			$photoSet = $this->getPhotoSets()->getPhotoSetInstance();
			$photoSet->load($item);
			$this->getPhotoSets()->attach($photoSet);
		}

		return $this;
	}

}

redpajama_set_name: RedPajamaGithub


text:
{% extends "base.html" %}

{% block body %}
{% if id_site %}
    <legend>
        Welcome to sample Stormpath application.
        You are using the ID Site example.

Log in with ID site

Forgot your password?

Don't have an account? Sign Up!

    </legend>
{% else %}

                <form class="bs-example form-horizontal" method="post" action="">
                    {% csrf_token %}
                    <fieldset>
                        <legend>Login</legend>
                        {% if form.non_field_errors %}

                                <button type="button" class="close" data-dismiss="alert">×</button>
                                {{ form.non_field_errors }}

                        {% endif %}

                            Once you enter your credentials and hit the Login button below,
                            your credentials will be securely sent to
                            Stormpath and verified.  If
                            your credentials are valid, you'll be logged in using a secure
                            session -- otherwise, you'll get a user friendly error message.

                            Username

                                <input type="text" class="form-control" id="username" name="username" placeholder="Username" {% if form.username.value %}value={{ form.username.value }}{% endif %} autofocus>
                                {% if form.username.errors %}

                                        {% for error in form.username.errors %}{{ error }}{% endfor %}

                                {% endif %}

                            Password

                                <input type="password" class="form-control" id="password" name="password" placeholder="Password">
                                {% if form.password.errors %}

                                        {% for error in form.password.errors %}{{ error }}{% endfor %}

                                {% endif %}

                                <button type="submit" class="btn btn-primary">Login</button>

                    </fieldset>
                </form>

{% endif %}
{% endblock %}

{% block js %}
{{ block.super }}

{% endblock %}


text:
<?php

namespace packages\Tres\security\XSS {

    /**
     * HTML XSS class.
     *
     * This class is meant for HTML and HTML only.
     */
    class HTML {

        /**
         * Converts special characters to HTML entities.
         *
         * @param  string $str      The string being converted.
         * @param  int    $flags    (Optional) Specifies how to handle quotes.
         * @param  string $encoding (Optional) Defines encoding used in conversion.
         * @return string           The converted string.
         */
        public static function specialchars($str, $flags = ENT_QUOTES, $encoding = 'UTF-8'){
            return htmlspecialchars($str, $flags, $encoding);
        }

    }

}


text:
This extension for yii2 allows you to attach different uploaded files to models.
**The extension is not done! It does not work! Version 0.9 for testing in the real project.**

## Configuration

To use this extension, simply add the following code in your application configuration:

```php
return [
    //.....
    'modules' => [
        //.....
        'attach_file' => [
            'class' => rezident\attachfile\AttachFileModule::class,
            'originalsPath' => '@app/files/originals',
            'viewsPath' => '@app/files/views',
            'webPath' => '@app/files/views'
        ]
    ]
];
```

## Usage

### Adding behavior to the model

To adding behavior to the model you have to

```php
public function behaviors()
{
    return [
        'specified' => [
            'class' => rezident\attachfile\behaviors\AttachFileBehavior::class,
            'modelKey' => 'specified' // If it is not specified, will be used the short name of the model class
        ]
    ];
}

```


text:
class TranslateInfoBarDelegate;

// This class contains some of the base functionality that translate infobars
// use.
class TranslateInfoBarBase : public InfoBarGtk {
 public:
  TranslateInfoBarBase(InfoBarService* owner,
                       TranslateInfoBarDelegate* delegate);
  virtual ~TranslateInfoBarBase();

  // Initializes the infobar widgets. Should be called after the object has been
  // created.
  virtual void Init();

  // Overridden from InfoBar:
  virtual void GetTopColor(InfoBarDelegate::Type type,
                           double* r, double* g, double* b) OVERRIDE;
  virtual void GetBottomColor(InfoBarDelegate::Type type,
                              double* r, double* g, double* b) OVERRIDE;

  // Overridden from ui::AnimationDelegate:
  virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;

 protected:
  // Sub-classes that want to have the options menu button showing sould
  // override and return true.
  virtual bool ShowOptionsMenuButton() const;

  // Creates a combobox that displays the languages currently available.
  // |selected_language| is the language index (as used in the
  // TranslateInfoBarDelegate) that should be selected initially.
  // |exclude_language| is the language index of the language that should not be
  // included in the list (TranslateInfoBarDelegate::kNoIndex means no language
  // excluded).
  GtkWidget* CreateLanguageCombobox(size_t selected_language,
                                    size_t exclude_language);

  // Given an above-constructed combobox, returns the currently selected
  // language id.
  static size_t GetLanguageComboboxActiveId(GtkComboBox* combo);

  // Convenience to retrieve the TranslateInfoBarDelegate for this infobar.
  TranslateInfoBarDelegate* GetDelegate();

 private:
  CHROMEGTK_CALLBACK_0(TranslateInfoBarBase, void, OnOptionsClicked);

  // A percentage to average the normal page action background with the error
  // background. When 0, the infobar background should be pure PAGE_ACTION_TYPE.
  // When 1, the infobar background should be pure WARNING_TYPE.
  double background_error_percent_;

  // Changes the color of the background from normal to error color and back.
  scoped_ptr<ui::SlideAnimation> background_color_animation_;

  // The model for the current menu displayed.
  scoped_ptr<ui::MenuModel> menu_model_;

  DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarBase);
};

#endif  // CHROME_BROWSER_UI_GTK_INFOBARS_TRANSLATE_INFOBAR_BASE_GTK_H_


text:
'use strict';

module.exports = {

  buildNumber: '/* @echo buildNumber */' || '0.0.0',
  environment: '/* @echo environment */' || 'development' ,
  authURL: '/* @echo authURL */' || 'http://localhost'

};


text:
using Adaptive.Agrona.Concurrent;

namespace Adaptive.Cluster.Service
{
    /// <summary>
    /// Used to terminate the <seealso cref="IAgent"/> within a cluster in an expected fashion.
    /// </summary>
    public class ClusterTerminationException : AgentTerminationException
    {
        private readonly bool _isExpected;

        /// <summary>
        /// Construct an exception used to terminate the cluster with {@link #isExpected()} set to true.
        /// </summary>
        public ClusterTerminationException() : this(true)
        {
        }

        /// <summary>
        /// Construct an exception used to terminate the cluster.
        /// </summary>
        /// <param name="isExpected"> true if the termination is expected, i.e. it was requested. </param>
        public ClusterTerminationException(bool isExpected) : base(isExpected ? "expected termination" : "unexpected termination")
        {
            _isExpected = isExpected;
        }

        /// <summary>
        /// Whether the termination is expected.
        /// </summary>
        /// <returns> true if expected otherwise false. </returns>
        public bool Expected
        {
            get
            {
                return _isExpected;
            }
        }

    }
}


text:
module c

include("../deps/deps.jl")

immutable FeatureNode
  index::Cint
  value::Cdouble
end

immutable Problem
  l::Cint
  n::Cint
  y::Ptr{Cdouble}
  x::Ptr{Ptr{FeatureNode}}
  bias::Cdouble # < 0 if no bias term
end

# type of solver
#   for multi-class classification
#    0 -- L2-regularized logistic regression (primal)
#    1 -- L2-regularized L2-loss support vector classification (dual)
#    2 -- L2-regularized L2-loss support vector classification (primal)
#    3 -- L2-regularized L1-loss support vector classification (dual)
#    4 -- support vector classification by Crammer and Singer
#    5 -- L1-regularized L2-loss support vector classification
#    6 -- L1-regularized logistic regression
#    7 -- L2-regularized logistic regression (dual)
#   for regression
#   11 -- L2-regularized L2-loss support vector regression (primal)
#   12 -- L2-regularized L2-loss support vector regression (dual)
#   13 -- L2-regularized L1-loss support vector regression (dual)
const L2R_LR = convert(Cint, 0)
const L2R_L2LOSS_SVC_DUAL = convert(Cint, 1)
const L2R_L2LOSS_SVC = convert(Cint, 2)
const L2R_L1LOSS_SVC_DUAL = convert(Cint, 3)
const MCSVM_CS = convert(Cint, 4)
const L1R_L2LOSS_SVC = convert(Cint, 5)
const L1R_LR = convert(Cint, 6)
const L2R_LR_DUAL = convert(Cint, 7)
const L2R_L2LOSS_SVR = convert(Cint, 11)
const L2R_L2LOSS_SVR_DUAL = convert(Cint, 12)
const L2R_L1LOSS_SVR_DUAL = convert(Cint, 13)

function valid_solver(solver::Int)
  0 <= solver <= 7 || 11 <= solver <= 13
end

immutable Parameter
  solver_type::Cint

  # -e epsilon : set tolerance of termination criterion
  #   -s 0 and 2
  #     |f'(w)|_2 <= eps*min(pos,neg)/l*|f'(w0)|_2,
  #     where f is the primal function and pos/neg are # of
  #     positive/negative data (default 0.01)
  #   -s 11
  #     |f'(w)|_2 <= eps*|f'(w0)|_2 (default 0.001)
  #   -s 1, 3, 4, and 7
  #     Dual maximal violation <= eps; similar to libsvm (default 0.1)
  #   -s 5 and 6
  #     |f'(w)|_1 <= eps*min(pos,neg)/l*|f'(w0)|_1,
  #     where f is the primal function (default 0.01)
  #   -s 12 and 13
  #     |f'(alpha)|_1 <= eps |f'(alpha0)|,
  #     where f is the dual function (default 0.1)
  eps::Cdouble            # stopping criteria
  C::Cdouble              # cost
  nr_weight::Cint
  weight_label::Ptr{Cint}
  weight::Ptr{Cdouble}
  p::Cdouble              # epsilon in loss function of SVR
end

immutable Model
  param::Parameter
  nr_class::Cint # number of classes
  nr_feature::Cint
  w::Ptr{Cdouble}
  label::Ptr{Cint} # label of each class
  bias::Cdouble
end

function train(problem::Ptr{Problem}, param::Ptr{Parameter})
  ccall((:train, liblinear), Ptr{Model}, (Ptr{Problem}, Ptr{Parameter}), problem, param)
end

function train(problem::Problem, param::Parameter)
  ccall((:train, liblinear), Ptr{Model}, (Ptr{Problem}, Ptr{Parameter}), &problem, &param)
end

function free_model_content(model::Ptr{Model})
  ccall((:free_model_content, liblinear), Void, (Ptr{Model},), model)
end

function free_and_destroy_model(model::Ptr{Model})
  ccall((:free_and_destroy_model, liblinear), Void, (Ptr{Ptr{Model}},), &model)
end

function destroy_param(param::Ptr{Parameter});
  ccall((:destroy_param, liblinear), Void, (Ptr{Parameter},), param)
end

# Function callback for silent log
print_null(s::Ptr{Uint8}) = nothing
const print_null_c = cfunction(print_null, Void, (Ptr{Uint8},))

function set_silence(silent::Bool)
  if silent
    ccall((:set_print_string_function, liblinear), Void, (Ptr{Void},), print_null_c)
  else
    ccall((:set_print_string_function, liblinear), Void, (Ptr{Void},), C_NULL)
  end
end

end # module


text:
package org.javamoney.moneta.spi;

import javax.money.CurrencyUnit;
import javax.money.MonetaryAmount;

/**
 *The producer of {@link MonetaryAmount} from {@link CurrencyUnit} and {@link Number}
 * @author Otavio Santana
 * @see FastMoneyProducer
 * @see MoneyProducer
 * @see RoundedMoneyProducer
 */
//@FunctionalInterface
public interface MonetaryAmountProducer {
	/**
	 * Creates a {@link MonetaryAmount} from {@link CurrencyUnit} and {@link Number}
	 * @param currency the currency, not null.
	 * @param number the amount, not null.
	 * @return a {@link MonetaryAmount} never null
	 * @throws NullPointerException if currency and Number is null
	 */
	MonetaryAmount create(CurrencyUnit currency, Number number);

}


text:
import os, sys
from PIL import Image
from PIL import ImageFile
import glob

output_dir = "resized_images"

def main():
    # 找出路徑下全部的圖片檔案
    types = ('*.png', '*.jpg', '*.jpeg' ,'*.bmp' ,'*.gif') # the tuple of file types
    all_image_files = []
    for files in types:
        all_image_files.extend(glob.glob(files))

    # ImageFile.LOAD_TRUNCATED_IMAGES = True
    # 建立儲存資料夾
    if not os.path.exists(output_dir):
        os.mkdir(output_dir)

    if(sys.argv[1] == "size"):
       # 圖片大小比率縮放    # python resize.py size 200
       if(len(sys.argv) == 3):
          ratio = sys.argv[2]
          setRatio(ratio, all_image_files)
       # 指定圖片大小   # python resize.py  size 640 360
       if(len(sys.argv) == 4):
          basewidth, baseheight = sys.argv[2],sys.argv[3]
          setSize(basewidth, baseheight, all_image_files)
    # 旋轉圖片 # python resize.py rotate 90
    # 預設為 Counterclockwise Rotation 逆時針旋轉 ,如需順時針請修改為 -90
    if(sys.argv[1] == "rotate"):
       degree = sys.argv[2]
       setRotate(float(degree), all_image_files)

def setSize(basewidth, baseheight, all_image_files):
    for image_file in all_image_files:
        print "Processing", image_file, "..."
        img = Image.open(image_file)
        img = img.resize( (int(basewidth), int(baseheight)) ,Image.ANTIALIAS)
        # Image.ANTIALIAS (a high-quality downsampling filter). If omitted,
        # or if the image has mode "1" or "P", it is set PIL.Image.NEAREST.
        image_filename = output_dir + "/" + image_file
        print "Save to " + image_filename
        img.save(image_filename)

def setRatio(ratio, all_image_files):
    for image_file in all_image_files:
        print "Processing", image_file, "..."
        img = Image.open(image_file)
        width, height =  img.size
        width = int((width * float(ratio)/100))
        height = int((height * float(ratio)/100))
        # Image.resize(size, resample=0)
        # size – The requested size in pixels, as a 2-tuple: (width, height).  width and height type int
        img = img.resize( (width ,height) ,Image.ANTIALIAS)
        image_filename = output_dir + "/" + image_file
        print "Save to " + image_filename
        img.save(image_filename)

def setRotate(degree, all_image_files):
    for image_file in all_image_files:
        print "Processing", image_file, "..."
        img = Image.open(image_file)
        img_rotate = img.rotate(degree)
        image_filename = output_dir + "/" + image_file
        print "Save to " + image_filename
        img_rotate.save(image_filename)

if __name__ == "__main__":
    main()


text:
import os
import sys

sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

from flask.ext.script import Manager, Server
from api import app

manager = Manager(app)

# Turn on debugger by default and reloader
manager.add_command("runserver", Server(
    use_debugger=True,
    use_reloader=True,
    host='0.0.0.0')
)

if __name__ == "__main__":
    manager.run()


text:
/*eslint no-console:0*/
export default function(err, req, res, next) {
  let { method } = req;

  const {
    url,
    body
  } = req;

  method = method.toUpperCase();

  console.log(`error in -> ${url}`);
  if (method === 'POST' || method === 'PUT') {
    console.log(`with body -> ${JSON.stringify(body)}`);
  }
  console.log(err);
  console.log(err.stack);
  next(err);
}


text:
package com.bdqn.qqmusic.pojo;

import com.bdqn.qqmusic.dao.BaseDAO;
import java.sql.Time;
import java.util.List;
import java.util.Set;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * A data access object (DAO) providing persistence and search support for Song
 * entities. Transaction control of the save(), update() and delete() operations
 * can directly support Spring container-managed transactions or they can be
 * augmented to handle user-managed Spring transactions. Each of these methods
 * provides additional information for how to configure it for the desired type
 * of transaction control.
 *
 * @see com.bdqn.qqmusic.pojo.Song
 * @author MyEclipse Persistence Tools
 */

public class SongDAO extends BaseDAO {
	private static final Logger log = LoggerFactory.getLogger(SongDAO.class);
	// property constants
	public static final String SNAME = "sname";
	public static final String SCOMPOSE = "scompose";
	public static final String SARRANGEMENT = "sarrangement";

	public void save(Song transientInstance) {
		log.debug("saving Song instance");
		try {
			getSession().save(transientInstance);
			log.debug("save successful");
		} catch (RuntimeException re) {
			log.error("save failed", re);
			throw re;
		}
	}

	public void delete(Song persistentInstance) {
		log.debug("deleting Song instance");
		try {
			getSession().delete(persistentInstance);
			log.debug("delete successful");
		} catch (RuntimeException re) {
			log.error("delete failed", re);
			throw re;
		}
	}

	public Song findById(java.lang.Integer id) {
		log.debug("getting Song instance with id: " + id);
		try {
			Song instance = (Song) getSession().get(
					"com.bdqn.qqmusic.pojo.Song", id);
			return instance;
		} catch (RuntimeException re) {
			log.error("get failed", re);
			throw re;
		}
	}

	public List findByExample(Song instance) {
		log.debug("finding Song instance by example");
		try {
			List results = getSession()
					.createCriteria("com.bdqn.qqmusic.pojo.Song")
					.add(Example.create(instance)).list();
			log.debug("find by example successful, result size: "
					+ results.size());
			return results;
		} catch (RuntimeException re) {
			log.error("find by example failed", re);
			throw re;
		}
	}

	public List findByProperty(String propertyName, Object value) {
		log.debug("finding Song instance with property: " + propertyName
				+ ", value: " + value);
		try {
			Query queryObject = null;
			/*
			 * if(propertyName.equals("aname")){ //在HQL语句中定义命名参数要用":"开头 String
			 * queryString = "from Song as s where s.artist.aname=:aname";
			 * System.out.println(queryString); queryObject =
			 * getSession().createQuery(queryString);
			 * queryObject.setProperties(value);
			 * //System.out.println(queryString); }else
			 * if(propertyName.equals("rname")){ String queryString =
			 * "from Song as s where s.record.rname=:rname";
			 * System.out.println(queryString); queryObject =
			 * getSession().createQuery(queryString);
			 * queryObject.setProperties(value); }else{
			 */
			String queryString = "from Song as model where model."
					+ propertyName + "= ?";
			queryObject = getSession().createQuery(queryString);
			queryObject.setParameter(0, value);
			// System.out.println(queryString);
			// }
			// Query a = queryObject;
			List<Song> list = queryObject.list();
			// 输出查询语句
			return queryObject.list();
		} catch (RuntimeException re) {
			log.error("find by property name failed", re);
			throw re;
		}
	}

	public List findByPropertyAndPage(String propertyName, Object value,
			int pageNum, int line) {
		try {
			Query queryObject = null;
			String queryString = "from Song as model where model."
					+ propertyName + "= ?";
			queryObject = getSession().createQuery(queryString);
			queryObject.setParameter(0, value);
			queryObject.setFirstResult((pageNum - 1) * line);
			queryObject.setMaxResults(line);
			List<Song> list = queryObject.list();
			return queryObject.list();
		} catch (RuntimeException re) {
			log.error("find by property name failed", re);
			throw re;
		}
	}

	public List findBySname(Object sname) {
		return findByProperty(SNAME, sname);
	}

	public List findByScompose(Object scompose) {
		return findByProperty(SCOMPOSE, scompose);
	}

	public List findBySarrangement(Object sarrangement) {
		return findByProperty(SARRANGEMENT, sarrangement);
	}

	public List findAll() {
		log.debug("finding all Song instances");
		try {
			String queryString = "from Song";
			Query queryObject = getSession().createQuery(queryString);
			return queryObject.list();
		} catch (RuntimeException re) {
			log.error("find all failed", re);
			throw re;
		}
	}

	public List findAll(int pageNum, int line) {
		log.debug("finding all Song instances");
		try {
			String queryString = "from Song";
			Query queryObject = getSession().createQuery(queryString);
			queryObject.setFirstResult((pageNum - 1) * line);
			queryObject.setMaxResults(line);
			List<Song> list = queryObject.list();
			return queryObject.list();
		} catch (RuntimeException re) {
			log.error("find all failed", re);
			throw re;
		}
	}

	public Song merge(Song detachedInstance) {
		log.debug("merging Song instance");
		try {
			Song result = (Song) getSession().merge(detachedInstance);
			log.debug("merge successful");
			return result;
		} catch (RuntimeException re) {
			log.error("merge failed", re);
			throw re;
		}
	}

	public void attachDirty(Song instance) {
		log.debug("attaching dirty Song instance");
		try {
			getSession().saveOrUpdate(instance);
			log.debug("attach successful");
		} catch (RuntimeException re) {
			log.error("attach failed", re);
			throw re;
		}
	}

	public void attachClean(Song instance) {
		log.debug("attaching clean Song instance");
		try {
			getSession().lock(instance, LockMode.NONE);
			log.debug("attach successful");
		} catch (RuntimeException re) {
			log.error("attach failed", re);
			throw re;
		}
	}

	public static void main(String[] args){
		System.out.println(new SongDAO().findAll().size());
	}
}


text:
class GURL;
class PrefService;
class Profile;

namespace {
  class NewTabHTMLSource;
}

// The TabContents used for the New Tab page.
class NewTabUI : public DOMUI,
                 public NotificationObserver {
 public:
  explicit NewTabUI(TabContents* manager);
  ~NewTabUI();

  static void RegisterUserPrefs(PrefService* prefs);

  // Whether we should use the old new tab page.
  static bool UseOldNewTabPage();

  // Whether we should enable the web resources backend service
  static bool EnableWebResources();

 private:
  void Observe(NotificationType type,
               const NotificationSource& source,
               const NotificationDetails& details);

  NotificationRegistrar registrar_;

  // The message id that should be displayed in this NewTabUIContents
  // instance's motd area.
  int motd_message_id_;

  // Whether the user is in incognito mode or not, used to determine
  // what HTML to load.
  bool incognito_;

  DISALLOW_COPY_AND_ASSIGN(NewTabUI);
};

#endif  // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_


text:
The `ruby18_source_location` gem backports the `source_location` instance method of `Method`, `UnboundMethod` and
`Proc` from Ruby 1.9.

This allows you to use `Method#source_location` on ruby 1.8.7, and also all the other gems that depend on it.

Usage
-----

    gem install ruby18_source_location

```ruby
    require 'rubygems'
    require 'ruby18_source_location'

    def example
      2
    end

    puts method(:example).source_location.inspect
    # => ["/tmp/example.rb", 4]

    puts Proc.new{}.source_location.inspect
    # => ["/tmp/example.rb", 11]

    puts method(:puts).source_location.inspect
    # => nil
```

Known issues
------------

Under Ruby-1.8.7, it's not currently possible to get the `source_location` of methods defined by `attr_reader`,
`attr_writer` or `attr_accessor`, unless you are running Ruby Enterprise Edition.

Meta-foo
--------

This is made available under the MIT license (see LICENSE.MIT), contributions and bug reports are welcome.


text:
/* gray */
/* yellow */
/* margin, padding */
/* font size */
/* line height */
/* gray */
/* yellow */
/* margin, padding */
/* font size */
/* line height */
/* line 6, /vagrant/app/assets/stylesheets/customer/container.css.scss */
div#wrapper div#container h1 {
  margin: 0;
  padding: 9px 6px;
  font-size: 16px;
  font-weight: normal;
  background-color: #33331a;
  color: #eeeeee;
}
/* gray */
/* yellow */
/* margin, padding */
/* font size */
/* line height */
/* line 4, /vagrant/app/assets/stylesheets/customer/layout.css.scss */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* line 9, /vagrant/app/assets/stylesheets/customer/layout.css.scss */
div#wrapper {
  position: relative;
  box-sizing: border-box;
  min-height: 100%;
  margin: 0 auto;
  padding-bottom: 48px;
  background-color: #cccccc;
}

/* line 17, /vagrant/app/assets/stylesheets/customer/layout.css.scss */
header {
  padding: 6px;
  background-color: #888844;
  color: #fafafa;
}
/* line 21, /vagrant/app/assets/stylesheets/customer/layout.css.scss */
header span.logo-mark {
  font-weight: bold;
}

/* line 25, /vagrant/app/assets/stylesheets/customer/layout.css.scss */
footer {
  bottom: 0;
  position: absolute;
  width: 100%;
  background-color: #666666;
  color: #fafafa;
}
/* line 31, /vagrant/app/assets/stylesheets/customer/layout.css.scss */
footer p {
  text-align: center;
  padding: 6px;
  margin: 0;
}
/*

 */


text:
import React, { Component, PropTypes } from 'react';
import classNames from 'classnames';

///
// View
///

class CardsListView extends Component {
	render() {
		const className = classNames(
			'cards-list',
			this.props.className
		);

		return (
			<ul className={className}>
				{this.props.children}
			</ul>
		);
	}
}

CardsListView.propTypes = {
	className: PropTypes.oneOfType([
		PropTypes.string,
		PropTypes.object,
	]),
	children: PropTypes.node.isRequired,
};

export default CardsListView;


text:
REM

@ECHO OFF

REM Check if this task is running on the compute emulator.
IF "%RoleEnvironment.IsEmulated%" == "true" (
    EXIT /B 0
)

ECHO %DATE% %TIME% - Start executing script under %USERNAME% >> "%ROLEROOT%\install.agent.info.log" 2>&1

ECHO ................................................ >> "%ROLEROOT%\install.agent.info.log" 2>&1

REM Log the environment variables
ECHO ApplicationInsightsAgent.DownloadLink=%ApplicationInsightsAgent.DownloadLink% >> "%ROLEROOT%\install.agent.info.log" 2>&1
ECHO RoleEnvironment.IsEmulated=%RoleEnvironment.IsEmulated% >> "%ROLEROOT%\install.agent.info.log" 2>&1

ECHO ................................................ >> "%ROLEROOT%\install.agent.info.log" 2>&1

REM Following sets appropriate execution policy on the host machine
SET ExecutionPolicyLevel=RemoteSigned
FOR /F "usebackq" %%i IN (`powershell -noprofile -command "Get-ExecutionPolicy"`) DO (
    SET ExecutionPolicy=%%i
    IF /I "%%i"=="Unrestricted" GOTO :InstallAgent
    IF /I "%%i"=="RemoteSigned" GOTO :InstallAgent
    Powershell.exe -NoProfile -Command "Set-ExecutionPolicy RemoteSigned" < NUL >> NUL 2>> NUL
)

:InstallAgent

ECHO %DATE% %TIME% - Start powershell InstallAgent.ps1 >> "%ROLEROOT%\install.agent.info.log" 2>&1
Powershell.exe -NoProfile -Command "& '%~dp0InstallAgent.ps1'" < NUL >> NUL 2>> NUL
IF %ERRORLEVEL% EQU 0 (
    ECHO %DATE% %TIME% - Completed executing InstallAgent.ps1 normally. >> "%ROLEROOT%\install.agent.info.log" 2>&1
) ELSE (
    ECHO %DATE% %TIME% - Failed executing InstallAgent.ps1 with ERRORLEVEL = %ERRORLEVEL%. >> "%ROLEROOT%\install.agent.error.log" 2>&1
)

REM If an error occurred, return the errorlevel.
EXIT /B %ERRORLEVEL%


text:
package net.ymate.framework.webmvc;

import net.ymate.framework.webmvc.support.UserSessionBean;
import net.ymate.platform.webmvc.context.WebContext;
import org.apache.commons.lang.StringUtils;

/**
 * 会话数据存储适配器接口
 *
 * @author 刘镇 (suninformation@163.com) on 2017/11/29 下午11:21
 * @version 1.0
 */
public interface IUserSessionStorageAdapter {

    /**
     * 默认会话数据存储适配器接口实现
     */
    IUserSessionStorageAdapter DEFAULT = new IUserSessionStorageAdapter() {

        @Override
        public String createSessionId() {
            return WebContext.getRequest().getSession().getId();
        }

        @Override
        public UserSessionBean currentUserSessionBean() {
            return (UserSessionBean) WebContext.getRequest().getSession().getAttribute(UserSessionBean.class.getName());
        }

        @Override
        public void saveOrUpdate(UserSessionBean sessionBean) {
            WebContext.getRequest().getSession().setAttribute(UserSessionBean.class.getName(), sessionBean);
        }

        @Override
        public void saveIfNeed(UserSessionBean sessionBean) {
            UserSessionBean _sessionBean = currentUserSessionBean();
            if (_sessionBean == null || !StringUtils.equals(sessionBean.getId(), _sessionBean.getId())) {
                saveOrUpdate(sessionBean);
            }
        }

        @Override
        public void remove(UserSessionBean sessionBean) {
            WebContext.getRequest().getSession().removeAttribute(UserSessionBean.class.getName());
        }
    };

    /**
     * @return 构建会话唯一主键
     */
    String createSessionId();

    /**
     * @return 获取当前用户存在的UserSessionBean对象, 若不存在将返回null值
     */
    UserSessionBean currentUserSessionBean();

    /**
     * 存储或更新当前会话对象
     *
     * @param sessionBean 目标会话对象
     */
    void saveOrUpdate(UserSessionBean sessionBean);

    /**
     * 如果有必要则存储当前会话对象
     *
     * @param sessionBean 目标会话对象
     */
    void saveIfNeed(UserSessionBean sessionBean);

    /**
     * 删除当前会话对象
     *
     * @param sessionBean 目标会话对象
     */
    void remove(UserSessionBean sessionBean);
}


text:
NS_ASSUME_NONNULL_BEGIN

@interface DoraemonCellInput : UIView

@property (nonatomic, strong) UITextField *textField;

- (void)renderUIWithTitle:(NSString *)title;

- (void)renderUIWithPlaceholder:(NSString *)placeholder;

- (void)needTopLine;

- (void)needDownLine;

@end

NS_ASSUME_NONNULL_END


text:
<!DOCTYPE HTML>

    <title>509</title>

509

The ghost speaks to you with a voice reaching across a thousand years of history. In life I was Magus Zyn,' it says.
    I was mightiest of the True Magi, and would have ruled over all, but petty jealousies among my peers brought about
    my downfall. The fools slew my servant, the giant Skrymir, and though they had not the power to destroy me utterly
    they yet imprisoned me here. And here I have lain for ten centuries. Ten centuries! They have passed like the slow
    tread of Leviathan, like the measured rumble of the gods as they snore beneath Spyte . . . Ten centuries to plot and
    scheme. Now my plans for vengeance come to fruition - but I need your help to execute my plan What say you?'

If you agree to help Zyn's ghost, turn to 116.

If you refuse, turn to 378.


text:
namespace Packet
{
    class Packet;
}
namespace Core
{
    class StrategyInstantiator;
    class StratParamsConf;
    namespace Strategy
    {
        class Strategy;
    }
}

namespace Server
{
    class Server;
    class Logger;
    class Feedback;
    class LogExporter;

    class TradingManager :
        private boost::noncopyable
    {
        public:
            explicit TradingManager(Server& server);
            ~TradingManager();
            void BeginProcessing();
            void EndProcessing();
            bool ProcessPacket(Packet::Packet& p);
            void ClientConnected(QString const& name);
            void ClientDisconnected();
            void ClosePosition();
            void Pause(bool pause = true);
            void EnableTrading(bool enable = true);
        private:
            enum
            {
                ProtocolVersionMajor = 1,
                ProtocolVersionMinor = 1,
            };
            bool _ProcessTick(Packet::Packet& p);
            bool _ProcessTrade(Packet::Packet& p);
            bool _ProcessBar(Packet::Packet& p);
            bool _ProcessHello(Packet::Packet& p);
            bool _EnableController(std::string const& pair, unsigned int period, unsigned int digits);
            void _DisableController();
            bool _ControllerEnabled();
            void _SendTickResponse();
            Server& _server;
            Core::StrategyInstantiator* _strategyInstantiator;
            Core::Controller* _controller;
            Logger* _logger;
            Feedback* _feedback;
            Core::StratParamsConf* _stratParams;
            LogExporter* _logExporter;
            bool _closePosition;
            bool _continuePacket;
            bool _paused;
            bool _tradingEnabled;
    };
}

#endif


text:
using System;
using System.IO;
using System.Threading.Tasks;

using ExpectedObjects;

using LightBlue.Standalone;

using Microsoft.WindowsAzure.Storage.Blob;

using Xunit;
using Xunit.Extensions;

namespace LightBlue.Tests.Standalone.BlobStorage
{
    public class StandaloneAzureBlobContainerTests : StandaloneAzureTestsBase
    {
        private const string ContainerName = "container";

        private readonly string _containerPath;

        public StandaloneAzureBlobContainerTests()
            : base(DirectoryType.BlobStorage)
        {
            _containerPath = Path.Combine(BasePath, ContainerName);
        }

        [Fact]
        public void DoesNotCreateContainerDirectoryOnConstruction()
        {
            new StandaloneAzureBlobContainer(_containerPath);

            Assert.False(Directory.Exists(_containerPath));
        }

        [Fact]
        public void WillCreateContainerPathOnCreateIfNotExists()
        {
            new StandaloneAzureBlobContainer(_containerPath).CreateIfNotExists(BlobContainerPublicAccessType.Off);

            Assert.True(Directory.Exists(_containerPath));
        }

        [Fact]
        public void WillCreateMetadataPathOnCreateIfNotExists()
        {
            new StandaloneAzureBlobContainer(_containerPath).CreateIfNotExists(BlobContainerPublicAccessType.Off);

            Assert.True(Directory.Exists(Path.Combine(_containerPath, MetadataDirectory)));
        }

        [Fact]
        public void WillUseCorrectContainerPathWhenGivenBasePathAndContainerName()
        {
            new StandaloneAzureBlobContainer(BasePath, ContainerName).CreateIfNotExists(BlobContainerPublicAccessType.Off);

            Assert.True(Directory.Exists(_containerPath));
        }

        [Fact]
        public async Task WillCreateContainerPathOnCreateIfNotExistsAsync()
        {
            await new StandaloneAzureBlobContainer(_containerPath).CreateIfNotExistsAsync(BlobContainerPublicAccessType.Off);

            Assert.True(Directory.Exists(_containerPath));
        }

        [Fact]
        public async Task WillCreateMetadataPathOnCreateIfNotExistsAsync()
        {
            await new StandaloneAzureBlobContainer(_containerPath).CreateIfNotExistsAsync(BlobContainerPublicAccessType.Off);

            Assert.True(Directory.Exists(Path.Combine(_containerPath, MetadataDirectory)));
        }

        [Fact]
        public async Task WillUseCorrectContainerPathWhenGivenBasePathAndContainerNameAsync()
        {
            await new StandaloneAzureBlobContainer(BasePath, ContainerName).CreateIfNotExistsAsync(BlobContainerPublicAccessType.Off);

            Assert.True(Directory.Exists(_containerPath));
        }

        [Fact]
        public void WillUseCorrectContainerPathWhenGiveUri()
        {
            new StandaloneAzureBlobContainer(new Uri(_containerPath))
                .CreateIfNotExists(BlobContainerPublicAccessType.Off);

            Assert.True(Directory.Exists(_containerPath));
        }

        [Fact]
        public void WillHaveCorrectUriWhenGivenContainerDirectory()
        {
            var container = new StandaloneAzureBlobContainer(_containerPath);

            Assert.Equal(new Uri(_containerPath), container.Uri);
        }

        [Fact]
        public void WillHaveCorrectUriWhenGivenBasePathAndContainerName()
        {
            var container = new StandaloneAzureBlobContainer(BasePath, ContainerName);

            Assert.Equal(new Uri(_containerPath), container.Uri);
        }

        [Fact]
        public void WillHaveCorrectUriWhenGivenUri()
        {
            var container = new StandaloneAzureBlobContainer(new Uri(_containerPath));

            Assert.Equal(new Uri(_containerPath), container.Uri);
        }

        [Fact]
        public void WillHaveCorrectUriWhenGivenUriWithToken()
        {
            var container = new StandaloneAzureBlobContainer(new Uri(_containerPath + "?some=token"));

            Assert.Equal(new Uri(_containerPath), container.Uri);
        }

        [Fact]
        public void CanDetermineContainerDoesNotExist()
        {
            var container = new StandaloneAzureBlobContainer(_containerPath);

            Assert.False(container.Exists());
        }

        [Fact]
        public void CanDetermineContainerExists()
        {
            var container = new StandaloneAzureBlobContainer(_containerPath);

            container.CreateIfNotExists(BlobContainerPublicAccessType.Off);

            Assert.True(container.Exists());
        }

        [Fact]
        public async Task CanDetermineContainerDoesNotExistAsync()
        {
            var container = new StandaloneAzureBlobContainer(_containerPath);

            Assert.False(await container.ExistsAsync());
        }

        [Fact]
        public async Task CanDetermineContainerExistsAsync()
        {
            var container = new StandaloneAzureBlobContainer(_containerPath);

            container.CreateIfNotExists(BlobContainerPublicAccessType.Off);

            Assert.True(await container.ExistsAsync());
        }

        [Fact]
        public void CanGetBlobInstance()
        {
            var container = new StandaloneAzureBlobContainer(_containerPath);
            container.CreateIfNotExists(BlobContainerPublicAccessType.Off);

            var blob = container.GetBlockBlobReference("testblob");

            new
            {
                Name = "testblob",
                Uri = new Uri(Path.Combine(_containerPath, "testblob"))
            }.ToExpectedObject().ShouldMatch(blob);
        }

        [Fact]
        public void WillThrowIfBlobNameNotGiven()
        {
            var container = new StandaloneAzureBlobContainer(_containerPath);

            Assert.Throws<ArgumentNullException>(() => container.GetBlockBlobReference(null));
        }

        [Fact]
        public void WillThrowIfBlobNameEmpty()
        {
            var container = new StandaloneAzureBlobContainer(_containerPath);

            Assert.Throws<ArgumentException>(() => container.GetBlockBlobReference(""));
        }

        [Theory]
        [InlineData(SharedAccessBlobPermissions.Delete, "sp=d")]
        [InlineData(SharedAccessBlobPermissions.List, "sp=l")]
        [InlineData(SharedAccessBlobPermissions.Read, "sp=r")]
        [InlineData(SharedAccessBlobPermissions.Write, "sp=w")]
        [InlineData(SharedAccessBlobPermissions.Read | SharedAccessBlobPermissions.Write, "sp=rw")]
        public void WillReturnParseableSharedAccessSignature(
            SharedAccessBlobPermissions permissions,
            string expectedPermissions)
        {
            var container = new StandaloneAzureBlobContainer(new Uri(_containerPath));

            Assert.Contains(expectedPermissions, container.GetSharedAccessSignature(new SharedAccessBlobPolicy
            {
                Permissions = permissions
            }));
        }

        [Fact]
        public void WillThrowIfConstructorBlobStorageDirectoryIsNull()
        {
            Assert.Throws<ArgumentNullException>(() => new StandaloneAzureBlobContainer(null, "container"));
        }

        [Theory]
        [InlineData("")]
        [InlineData(" ")]
        public void WillThrowIfConstructorBlobStorageDirectoryIsEmpty(string blobStorageDirectory)
        {
            Assert.Throws<ArgumentException>(() => new StandaloneAzureBlobContainer(blobStorageDirectory, "container"));
        }

        [Fact]
        public void WillThrowIfConstructorContainerNameIsNull()
        {
            Assert.Throws<ArgumentNullException>(() => new StandaloneAzureBlobContainer(BasePath, null));
        }

        [Theory]
        [InlineData("")]
        [InlineData(" ")]
        public void WillThrowIfConstructorContainerNameIsEmpty(string containerName)
        {
            Assert.Throws<ArgumentException>(() => new StandaloneAzureBlobContainer(BasePath, containerName));
        }

        [Fact]
        public void WillThrowIfConstructorContainerDirectoryIsNull()
        {
            Assert.Throws<ArgumentNullException>(() => new StandaloneAzureBlobContainer((string) null));
        }

        [Theory]
        [InlineData("")]
        [InlineData(" ")]
        public void WillThrowIfConstructorContainerDirectoryIsEmpty(string containerDirectory)
        {
            Assert.Throws<ArgumentException>(() => new StandaloneAzureBlobContainer(containerDirectory));
        }

        [Fact]
        public void WillThrowIfConstructorContainerUriIsNull()
        {
            Assert.Throws<ArgumentNullException>(() => new StandaloneAzureBlobContainer((Uri) null));
        }
    }
}


text:
package cruise.umple.umple;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 *
 * A representation of the model object 'Constraint Expr '.
 *
 *
 *

 * The following features are supported:
 *

 *
{@link cruise.umple.umple.ConstraintExpr_#getNegativeConstraint_1 Negative Constraint 1}

 *
{@link cruise.umple.umple.ConstraintExpr_#getStringExpr_1 String Expr 1}

 *
{@link cruise.umple.umple.ConstraintExpr_#getBoolExpr_1 Bool Expr 1}

 *
{@link cruise.umple.umple.ConstraintExpr_#getGenExpr_1 Gen Expr 1}

 *
{@link cruise.umple.umple.ConstraintExpr_#getNumExpr_1 Num Expr 1}

 *
{@link cruise.umple.umple.ConstraintExpr_#getLoneBoolean_1 Lone Boolean 1}

 *
{@link cruise.umple.umple.ConstraintExpr_#getAnonymous_constraintExpr_1_1 Anonymous constraint Expr 11}

 *

 *

 *
 * @see cruise.umple.umple.UmplePackage#getConstraintExpr_()
 * @model
 * @generated
 */
public interface ConstraintExpr_ extends EObject
{
  /**
   * Returns the value of the 'Negative Constraint 1' containment reference list.
   * The list contents are of type {@link cruise.umple.umple.NegativeConstraint_}.
   *
   *

   * If the meaning of the 'Negative Constraint 1' containment reference list isn't clear,
   * there really should be more of a description here...
   *

   *
   * @return the value of the 'Negative Constraint 1' containment reference list.
   * @see cruise.umple.umple.UmplePackage#getConstraintExpr__NegativeConstraint_1()
   * @model containment="true"
   * @generated
   */
  EList<NegativeConstraint_> getNegativeConstraint_1();

  /**
   * Returns the value of the 'String Expr 1' containment reference list.
   * The list contents are of type {@link cruise.umple.umple.StringExpr_}.
   *
   *

   * If the meaning of the 'String Expr 1' containment reference list isn't clear,
   * there really should be more of a description here...
   *

   *
   * @return the value of the 'String Expr 1' containment reference list.
   * @see cruise.umple.umple.UmplePackage#getConstraintExpr__StringExpr_1()
   * @model containment="true"
   * @generated
   */
  EList<StringExpr_> getStringExpr_1();

  /**
   * Returns the value of the 'Bool Expr 1' containment reference list.
   * The list contents are of type {@link cruise.umple.umple.BoolExpr_}.
   *
   *

   * If the meaning of the 'Bool Expr 1' containment reference list isn't clear,
   * there really should be more of a description here...
   *

   *
   * @return the value of the 'Bool Expr 1' containment reference list.
   * @see cruise.umple.umple.UmplePackage#getConstraintExpr__BoolExpr_1()
   * @model containment="true"
   * @generated
   */
  EList<BoolExpr_> getBoolExpr_1();

  /**
   * Returns the value of the 'Gen Expr 1' containment reference list.
   * The list contents are of type {@link cruise.umple.umple.GenExpr_}.
   *
   *

   * If the meaning of the 'Gen Expr 1' containment reference list isn't clear,
   * there really should be more of a description here...
   *

   *
   * @return the value of the 'Gen Expr 1' containment reference list.
   * @see cruise.umple.umple.UmplePackage#getConstraintExpr__GenExpr_1()
   * @model containment="true"
   * @generated
   */
  EList<GenExpr_> getGenExpr_1();

  /**
   * Returns the value of the 'Num Expr 1' containment reference list.
   * The list contents are of type {@link cruise.umple.umple.NumExpr_}.
   *
   *

   * If the meaning of the 'Num Expr 1' containment reference list isn't clear,
   * there really should be more of a description here...
   *

   *
   * @return the value of the 'Num Expr 1' containment reference list.
   * @see cruise.umple.umple.UmplePackage#getConstraintExpr__NumExpr_1()
   * @model containment="true"
   * @generated
   */
  EList<NumExpr_> getNumExpr_1();

  /**
   * Returns the value of the 'Lone Boolean 1' attribute.
   *
   *

   * If the meaning of the 'Lone Boolean 1' attribute isn't clear,
   * there really should be more of a description here...
   *

   *
   * @return the value of the 'Lone Boolean 1' attribute.
   * @see #setLoneBoolean_1(String)
   * @see cruise.umple.umple.UmplePackage#getConstraintExpr__LoneBoolean_1()
   * @model
   * @generated
   */
  String getLoneBoolean_1();

  /**
   * Sets the value of the '{@link cruise.umple.umple.ConstraintExpr_#getLoneBoolean_1 Lone Boolean 1}' attribute.
   *
   *
   * @param value the new value of the 'Lone Boolean 1' attribute.
   * @see #getLoneBoolean_1()
   * @generated
   */
  void setLoneBoolean_1(String value);

  /**
   * Returns the value of the 'Anonymous constraint Expr 11' containment reference list.
   * The list contents are of type {@link cruise.umple.umple.Anonymous_constraintExpr_1_}.
   *
   *

   * If the meaning of the 'Anonymous constraint Expr 11' containment reference list isn't clear,
   * there really should be more of a description here...
   *

   *
   * @return the value of the 'Anonymous constraint Expr 11' containment reference list.
   * @see cruise.umple.umple.UmplePackage#getConstraintExpr__Anonymous_constraintExpr_1_1()
   * @model containment="true"
   * @generated
   */
  EList<Anonymous_constraintExpr_1_> getAnonymous_constraintExpr_1_1();

} // ConstraintExpr_


text:
[![CI Status](http://img.shields.io/travis/chengyou.yang/YCYToolKit.svg?style=flat)](https://travis-ci.org/chengyou.yang/YCYToolKit)
[![Version](https://img.shields.io/cocoapods/v/YCYToolKit.svg?style=flat)](http://cocoapods.org/pods/YCYToolKit)
[![License](https://img.shields.io/cocoapods/l/YCYToolKit.svg?style=flat)](http://cocoapods.org/pods/YCYToolKit)
[![Platform](https://img.shields.io/cocoapods/p/YCYToolKit.svg?style=flat)](http://cocoapods.org/pods/YCYToolKit)

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Requirements

## Installation

YCYToolKit is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'YCYToolKit'
```
##usage

全局引入YCYToolKit.h  可以使用各文件夹下的类   也可以单独导入个文件夹下内容   具体根据目录导入

## Author

chengyou.yang, 864390553@qq.com

## License

YCYToolKit is available under the MIT license. See the LICENSE file for more info.


text:
package es.usc.citius.hipster.extensions.graph;

import com.google.common.base.Preconditions;
import es.usc.citius.hipster.graph.DirectedEdge;
import es.usc.citius.hipster.graph.GraphEdge;
import es.usc.citius.hipster.graph.HipsterDirectedGraph;

/**
 * Implementation of a HipsterDirectedGraph using a Guava Hash Table.
 *
 * @author Pablo Rodríguez Mier <pablo.rodriguez.mier@usc.es>
 */
public class HashTableHipsterDirectedGraph<V,E> extends HashTableHipsterGraph<V,E> implements HipsterDirectedGraph<V,E> {

    @Override
    public GraphEdge<V,E> connect(V v1, V v2, E value){
        Preconditions.checkArgument(v1 != null && v2 != null, "Vertices cannot be null");
        GraphEdge<V,E> edge = new DirectedEdge<V, E>(v1, v2, value);
        graphTable.put(v1, v2, edge);
        disconnected.remove(v1);
        disconnected.remove(v2);
        return edge;
    }

    @Override
    public Iterable<GraphEdge<V, E>> outgoingEdgesOf(V vertex) {
        return graphTable.row(vertex).values();
    }

    @Override
    public Iterable<GraphEdge<V, E>> incomingEdgesOf(V vertex) {
        return graphTable.column(vertex).values();
    }

    public static <V,E> HashTableHipsterDirectedGraph<V, E> create() {
        return new HashTableHipsterDirectedGraph<V, E>();
    }
}


text:
import unittest

from mahjong import bots
from mahjong.types import GameContext, Tile

class TestDumbBot(unittest.TestCase):

    def setUp(self):
        self.bot = bots.get()

    def test_discard(self):
        c = GameContext()
        c.state = 'discarding'
        hand = c.player().hand
        hand.add_free_tiles([Tile.CHAR1, Tile.CHAR2, Tile.CHAR3])
        hand.last_tile = Tile.CHAR4
        self.assertEqual(self.bot.make_decision(c), Tile.CHAR4)

    def test_make_decision(self):
        c = GameContext()
        c.player().extra['viable_decisions'] = ['kong', 'pong', 'chow', 'skip']
        self.assertEqual(self.bot.make_decision(c), 'skip')

        c.player().extra.get('viable_decisions').append('win')
        self.assertEqual(self.bot.make_decision(c), 'win')

        del c.player().extra.get('viable_decisions')[:]
        self.assertIsNone(self.bot.make_decision(c))


text:
.. _reference/delivery:

============================
Managing the Deliver Process
============================

Depending on the merchant's setup, an order can be considered as one inseparably unit, or if partial
shipping shall be allowed, as a collection of single products, which can be delivered individually.

To enable partial shipping, assure that both classes :class:`shop.models.delivery.BaseDelivery` and
:class:`shop.models.delivery.BaseDeliveryItem` are instantiated. The easiest way to do this is to
import the default materialized classes into an existing model class:

.. code-block:: python

	from shop.models.defaults.delivery import Delivery, DeliveryItem

	__all__ = ['Delivery', 'DeliveryItem']  # prevent IDE to complain about unused imports

Partial Delivery Workflow
=========================

The class implementing the ``Order``, requires additional methods provided by the mixin
:class:`shop.shipping.delivery.PartialDeliveryWorkflowMixin`. Mix this into the ``Order`` class
by configuring:

.. code-block:: python

	SHOP_ORDER_WORKFLOWS = (
	    # other workflow mixins
	    'shop.shipping.defaults.PartialDeliveryWorkflowMixin',
	)

.. note:: Do not combine this mixin with :class:`shop.shipping.defaults.CommissionGoodsWorkflowMixin`.

Administration Backend
======================

To control partial delivery, add the class :class:`shop.admin.delivery.DeliveryOrderAdminMixin`
to the amin class class implementing an ``Order``:

.. code-block:: python
	:caption: myshop/admin/order.py

	from django.contrib import admin
	from shop.admin.order import BaseOrderAdmin
	from shop.models.defaults.order import Order
	from shop.admin.delivery import DeliveryOrderAdminMixin

	@admin.register(Order)
	class OrderAdmin(DeliveryOrderAdminMixin, BaseOrderAdmin):
	    pass

Implementation Details
======================

When partial delivery is activated, two additional tables are added to the database, one for each
delivery and one for each delivered order item. This allows us to split up the quantity of an
ordered item into two or more delivery objects. This can be useful, if a product is sold out, but
the merchant wants to ship whatever is available on stock. The merchant then creates a delivery
object and assigns the available quantity to each linked delivery item.

If a product is not available at all anymore, the merchant can alternatively cancel that order item.


text:
from __future__ import unicode_literals

from django.db import migrations, models

class Migration(migrations.Migration):

    dependencies = [
        ('bazar', '0001_initial'),
    ]

    operations = [
        migrations.AlterField(
            model_name='entity',
            name='fax',
            field=models.CharField(max_length=20, verbose_name='fax', blank=True),
        ),
        migrations.AlterField(
            model_name='entity',
            name='phone',
            field=models.CharField(max_length=20, verbose_name='phone', blank=True),
        ),
    ]


text:
define('mp-01-web/components/bs-collapse', ['exports', 'ember-bootstrap/components/bs-collapse'], function (exports, _emberBootstrapComponentsBsCollapse) {
  Object.defineProperty(exports, 'default', {
    enumerable: true,
    get: function get() {
      return _emberBootstrapComponentsBsCollapse['default'];
    }
  });
});


text:
class AddMoreIndexesToVersions < ActiveRecord::Migration[4.2]
  def change
    execute 'COMMIT;'
    execute %{
      CREATE OR REPLACE FUNCTION version_field_name(event_type TEXT, object_after TEXT)
      RETURNS TEXT AS $name$
      DECLARE
        name TEXT;
      BEGIN
        IF event_type = 'create_dynamicannotationfield' OR event_type = 'update_dynamicannotationfield'
        THEN
          SELECT REGEXP_REPLACE(object_after, '^.*field_name":"([^"]+).*$', '\\1') INTO name;
        ELSE
          SELECT '' INTO name;
        END IF;
        RETURN name;
      END;
      $name$ IMMUTABLE LANGUAGE plpgsql;
    }
    execute %{
      CREATE OR REPLACE FUNCTION version_annotation_type(event_type TEXT, object_after TEXT)
      RETURNS TEXT AS $name$
      DECLARE
        name TEXT;
      BEGIN
        IF event_type = 'create_dynamic' OR event_type = 'update_dynamic'
        THEN
          SELECT REGEXP_REPLACE(object_after, '^.*annotation_type":"([^"]+).*$', '\\1') INTO name;
        ELSE
          SELECT '' INTO name;
        END IF;
        RETURN name;
      END;
      $name$ IMMUTABLE LANGUAGE plpgsql;
    }
    i = 0
    n = Team.count
    Team.order('id ASC').all.each do |team|
      i += 1
      partition = '"versions_partitions"."p' + team.id.to_s + '"'
      puts "[#{Time.now}] (#{i}/#{n}) Adding indexes to partition #{team.id}..."
      execute "CREATE INDEX version_field_p#{team.id} ON #{partition} (version_field_name(event_type, object_after))"
      execute "CREATE INDEX version_annotation_type_p#{team.id} ON #{partition} (version_annotation_type(event_type, object_after))"
      add_index partition, [:item_type, :item_id], name: "item_p#{team.id}"
      add_index partition, :event, name: "version_event_p#{team.id}"
      add_index partition, :whodunnit, name: "version_whodunnit_p#{team.id}"
      add_index partition, :event_type, name: "version_event_type_p#{team.id}"
      add_index partition, :team_id, name: "version_team_id_p#{team.id}"
      add_index partition, [:associated_type, :associated_id], name: "version_associated_p#{team.id}"
    end
    execute 'BEGIN TRANSACTION;'
  end
end


text:
<?php

namespace Google\Cloud\Test;

use GuzzleHttp\Client;

class FlexTest extends \PHPUnit_Framework_TestCase
{
    private $client;

    const PROJECT_ENV = 'GOOGLE_PROJECT_ID';
    const VERSION_ENV = 'GOOGLE_VERSION_ID';
    const DB_PASSWORD_ENV = 'WP_DB_PASSWORD';

    private static function getVersion()
    {
        return "wp-flex-" . getenv(self::VERSION_ENV);
    }

    private static function getTargetDir()
    {
        $tmp = sys_get_temp_dir();
        $e2e_test_version = self::getVersion();
        return "$tmp/$e2e_test_version";
    }
    public static function setUpBeforeClass()
    {
        if (getenv('RUN_DEPLOYMENT_TESTS') !== 'true') {
            self::markTestSkipped(
                'To run this test, set RUN_DEPLOYMENT_TESTS env to true.'
            );
        }
        $project_id = getenv(self::PROJECT_ENV);
        $e2e_test_version = getenv(self::VERSION_ENV);
        $db_password = getenv(self::DB_PASSWORD_ENV);
        if ($project_id === false) {
            self::fail('Please set ' . self::PROJECT_ENV . ' env var.');
        }
        if ($e2e_test_version === false) {
            self::fail('Please set ' . self::VERSION_ENV . ' env var.');
        }
        if ($db_password === false) {
            self::fail('Please set ' . self::DB_PASSWORD_ENV . ' env var.');
        }
        $helper = __DIR__ . '/../wordpress-helper.php';
        $target = self::getTargetDir();
        $command = "php $helper setup -d $target "
            . " -n -p $project_id "
            . "--db_instance=wp --db_name=wp --db_user=wp "
            . "--db_password=$db_password";
        $wp_url = getenv('WP_DOWNLOAD_URL');
        if ($wp_url !== false) {
            $command .= " --wordpress_url=$wp_url";
        }
        exec($command);
        self::deploy($project_id, self::getVersion());
    }

    public static function deploy($project_id, $e2e_test_version)
    {
        $target = self::getTargetDir();
        for ($i = 0; $i <= 3; $i++) {
            exec(
                "gcloud -q preview app deploy "
                . "--version $e2e_test_version "
                . "--project $project_id --no-promote "
                . "$target/app.yaml $target/cron.yaml",
                $output,
                $ret
            );
            if ($ret === 0) {
                return;
            } else {
                echo 'Retrying deployment';
            }
        }
        self::fail('Deployment failed.');
    }

    public static function tearDownAfterClass()
    {
        for ($i = 0; $i <= 3; $i++) {
            exec('gcloud -q preview app versions delete --service default '
                 . self::getVersion()
                 . ' --project '
                 . getenv(self::PROJECT_ENV),
                 $output,
                 $ret
            );
            if ($ret === 0) {
                return;
            } else {
                echo 'Retrying to delete the version';
            }
        }
    }

    public function setUp()
    {
        $url = sprintf('https://%s-dot-%s.appspot.com/',
                       self::getVersion(),
                       getenv(self::PROJECT_ENV));
        $this->client = new Client(['base_uri' => $url]);
    }

    public function testIndex()
    {
        // Access the blog top page
        $resp = $this->client->get('');
        $this->assertEquals('200', $resp->getStatusCode(),
                            'top page status code');
        $this->assertContains(
            'I am very glad that you are testing WordPress instalation.',
            $resp->getBody()->getContents());
    }

    public function testWpadmin()
    {
        // Access to '/wp-admin' and see if it's correctly redirected to
        // /wp-admin/

        // Suppresses following redirect here.
        $resp = $this->client->request(
            'GET', 'wp-admin', ['allow_redirects' => false]);
        $this->assertEquals('301', $resp->getStatusCode(),
                            'wp-admin status code');
        $url = sprintf('https://%s-dot-%s.appspot.com/',
                       self::getVersion(),
                       getenv(self::PROJECT_ENV));
        $this->assertEquals(
            $url . 'wp-admin/',
            $resp->getHeaderLine('location'));
    }
}