text:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--                                                                -->
<!--   W4F: Copyright Arnaud Sahuguet and Fabien Azavant, 1998-99   -->
<!--   URL: http://db.cis.upenn.edu/W4F                             -->
<!--                                                                -->
<!DOCTYPE W4F_DOC  SYSTEM "movies.dtd">
<W4F_DOC>
  <Movie>
    <Title>Terminator, The</Title>
    <Year>1984</Year>
    <Directed_By>
      <Director>James Cameron</Director>
    </Directed_By>
    <Genres>
      <Genre>Action</Genre>
      <Genre>Sci-Fi</Genre>
      <Genre>(more)</Genre>
    </Genres>
    <Cast>
      <Actor>
        <FirstName>Arnold</FirstName>
        <LastName>Schwarzenegger</LastName>
      </Actor>
      <Actor>
        <FirstName>Michael</FirstName>
        <LastName>Biehn</LastName>
      </Actor>
      <Actor>
        <FirstName>Linda</FirstName>
        <LastName>Hamilton</LastName>
      </Actor>
      <Actor>
        <FirstName>Paul</FirstName>
        <LastName>Winfield</LastName>
      </Actor>
      <Actor>
        <FirstName>Lance</FirstName>
        <LastName>Henriksen</LastName>
      </Actor>
      <Actor>
        <FirstName>Rick</FirstName>
        <LastName>Rossovich</LastName>
      </Actor>
      <Actor>
        <FirstName>Bess</FirstName>
        <LastName>Motta</LastName>
      </Actor>
      <Actor>
        <FirstName>Earl</FirstName>
        <LastName>Boen</LastName>
      </Actor>
      <Actor>
        <FirstName>Dick</FirstName>
        <LastName>Miller (I)</LastName>
      </Actor>
      <Actor>
        <FirstName>Shawn</FirstName>
        <LastName>Schepps</LastName>
      </Actor>
      <Actor>
        <FirstName>Bruce</FirstName>
        <LastName>M. Kerner</LastName>
      </Actor>
      <Actor>
        <FirstName>Franco</FirstName>
        <LastName>Columbu</LastName>
      </Actor>
      <Actor>
        <FirstName>Bill</FirstName>
        <LastName>Paxton</LastName>
      </Actor>
      <Actor>
        <FirstName>Brad</FirstName>
        <LastName>Rearden</LastName>
      </Actor>
      <Actor>
        <FirstName>Brian</FirstName>
        <LastName>Thompson</LastName>
      </Actor>
    </Cast>
  </Movie>
</W4F_DOC>


text:
* Clicking on scale should automatically take current key into account and
assign the flat or sharp (no need to compute the assignment by hand)

* Scale should display a natural note that negates the current key's modifier

* chord: D D# E (tone cluster), how to mark?
* distinguish between pianoKey, songKey, and keySignature

Create a Module

var sheet = (function() {
  var myConstant = 12;

  function drawStaff(context, topLeftCorner, clef, key) {
    // draw lines
  }

  function drawKeySignature(staff, key) {
    // where key is "C", "C#", "Db", etc, (major keys)
    // or "Am", "A#m"... (minor keys)
    // staff.clef determines vertical location
  }

  function drawTrebleClef(staff, ...) {
    var context = staff.context;
  }

  function drawNote(staff, representation) {
    // where representation is "C", "d'", "e''", etc.
    // vertical offset depends on staff.clef
  }

  return {
    drawStaff: drawStaff,
    drawGrandStaff: drawGrandStaff,
    drawScale: drawScale
  }
})();

Each drawing function takes a 2d context as an argument

* BoldEllipse
* Sharp
* Flat
* Note (a BoldEllipse possibly with Sharp or Flat and ledger line)
* Notes (string or array of notes, possibly offset due to overlap)
* TrebleClef
* BassClef
* Staff (5 lines and a Clef)
* GrandStaff (TrebleStaff and BassStaff with brace, vertical line on left)
* Scale (two TrebleStaffs and two BassStaffs with predefined scale notes)

Navigation tabs for:
* key control (large buttons or images to transpose) above the
sheet music and 4-staff scale containing the 48 notes
* sequence of piano keys

Note range: C, c, c', c'', b''

Add an argument (+/-1) to drawNote, so that it is drawn with a sharp or flat and shifts a line

redpajama_set_name: RedPajamaGithub


text:
"""

"""

# -----------------------------------------------------------------------------
# Boilerplate
# -----------------------------------------------------------------------------
from __future__ import annotations

import logging  # isort:skip
log = logging.getLogger(__name__)

# -----------------------------------------------------------------------------
# Imports
# -----------------------------------------------------------------------------

# Standard library imports
from typing import TYPE_CHECKING

# Bokeh imports
from bokeh.application.handlers.code_runner import CodeRunner
from bokeh.application.handlers.handler import Handler
from bokeh.core.types import PathLike
from bokeh.io.doc import curdoc, set_curdoc

if TYPE_CHECKING:
    from bokeh.document import Document

# -----------------------------------------------------------------------------
# Globals and constants
# -----------------------------------------------------------------------------

__all__ = (
    "ExampleHandler",
)

# -----------------------------------------------------------------------------
# General API
# -----------------------------------------------------------------------------

# -----------------------------------------------------------------------------
# Dev API
# -----------------------------------------------------------------------------

class ExampleHandler(Handler):
    """A stripped-down handler similar to CodeHandler but that does
    some appropriate monkeypatching.

    """

    _output_funcs = ["output_notebook", "output_file", "reset_output"]
    _io_funcs = ["show", "save"]

    def __init__(self, source: str, filename: PathLike) -> None:
        super().__init__()
        self._runner = CodeRunner(source, filename, [])

    def modify_document(self, doc: Document) -> None:
        if self.failed:
            return

        module = self._runner.new_module()

        doc.modules.add(module)

        orig_curdoc = curdoc()
        set_curdoc(doc)

        old_io, old_doc = self._monkeypatch()

        try:
            self._runner.run(module, lambda: None)
        finally:
            self._unmonkeypatch(old_io, old_doc)
            set_curdoc(orig_curdoc)

    def _monkeypatch(self):
        def _pass(*args, **kw):
            pass

        def _add_root(obj, *args, **kw):
            curdoc().add_root(obj)

        def _curdoc(*args, **kw):
            return curdoc()

        # these functions are transitively imported from io into plotting,
        # so we have to patch them all. Assumption is that no other patching
        # has occurred, i.e. we can just save the funcs being patched once,
        # from io, and use those as the originals to replace everywhere
        import bokeh.io as io  # lgtm [py/import-and-import-from]
        import bokeh.plotting as p

        mods = [io, p]

        old_io = {}
        for f in self._output_funcs + self._io_funcs:
            old_io[f] = getattr(io, f)

        for mod in mods:
            for f in self._output_funcs:
                setattr(mod, f, _pass)
            for f in self._io_funcs:
                setattr(mod, f, _add_root)

        import bokeh.document as d

        old_doc = d.Document
        d.Document = _curdoc

        return old_io, old_doc

    def _unmonkeypatch(self, old_io, old_doc):
        import bokeh.io as io  # lgtm [py/import-and-import-from]
        import bokeh.plotting as p

        mods = [io, p]

        for mod in mods:
            for f in old_io:
                setattr(mod, f, old_io[f])

        import bokeh.document as d

        d.Document = old_doc

    @property
    def failed(self) -> bool:
        return self._runner.failed

    @property
    def error(self) -> str | None:
        return self._runner.error

    @property
    def error_detail(self) -> str | None:
        return self._runner.error_detail

    @property
    def doc(self) -> str | None:
        return self._runner.doc

# -----------------------------------------------------------------------------
# Private API
# -----------------------------------------------------------------------------

# -----------------------------------------------------------------------------
# Code
# -----------------------------------------------------------------------------


text:
import datetime as dt

import numpy as np
import pandas as pd

from .base import TimeSeries, BaseModel

class Reference(BaseModel):
    """
    Persistence model
    """

    def __repr__(self):
        return f'Model({self.__class__.__name__})'

    @property
    def fitted_values(self) -> pd.Series:
        return self._train.shift(1)

    def forecast(self, steps: int = 1, **kwargs) -> pd.Series:
        index = pd.bdate_range(self._train.index[-1], periods=steps + 1)[1:]
        return pd.Series([self._train.values[-1]]*steps, index=index)

    def forecast_from_unrelated(self, new_data: TimeSeries, steps: int = 1, **kwargs) -> pd.Series:
        index = pd.bdate_range(new_data.index[-1], periods=steps + 1)[1:]
        return pd.Series([new_data.values[-1]] * steps, index=index)

    @property
    def resid(self) -> pd.Series:
        res = self._train - self.fitted_values
        res[res.isnull()] = res[np.where(res.isnull())[0]+1].values
        return res

    @property
    def _impulse_responses(self):
        impulse_rsp = self.forecast_from_unrelated(new_data=pd.Series([1], index=[dt.datetime.now()]), steps=10)
        return impulse_rsp.reset_index(drop=True)


text:
require 'forwardable'
require 'rexml/document'
require 'rexml/streamlistener'

module Saxerator
  module Adapters
    class Rexml
      extend Forwardable
      include REXML::StreamListener

      def self.parse(source, reader)
        handler = new(reader)
        REXML::Document.parse_stream(source, handler)
      rescue REXML::ParseException => message
        raise Saxerator::ParseException, message
      end

      def initialize(reader)
        @reader = reader
        @ignore_namespaces = reader.ignore_namespaces?
      end

      def_delegator :@reader, :characters, :text
      def_delegator :@reader, :characters, :cdata

      def tag_start(name, attrs)
        name = strip_namespace(name) if @ignore_namespaces
        @reader.start_element(name, attrs)
      end

      def tag_end(name)
        name = strip_namespace(name) if @ignore_namespaces
        @reader.end_element(name)
      end

      private

      def strip_namespace(name)
        name.split(':').last
      end
    end
  end
end


text:
"use strict";
var router_1 = require('@angular/router');
var Menu_component_1 = require('./recherche/Menu.component');
var AffichePanier_component_1 = require('./panier/AffichePanier.component');
var appRoutes = [
    { path: 'Recherche', component: Menu_component_1.MenuRechercheComponent },
    { path: 'Panier', component: AffichePanier_component_1.AffichePanierComponent }
];
exports.appRoutingProviders = [];
exports.routing = router_1.RouterModule.forRoot(appRoutes);
//# sourceMappingURL=app.routing.js.map


text:
@extends('layouts.default')

@section('content')

            @include('statuses.partials.publish-status-form')

            @include('statuses.partials.statuses')

@stop


text:
package de.danoeh.antennapod.service.download;

import java.io.File;
import java.io.IOException;
import java.net.InetAddress;
import java.security.NoSuchAlgorithmException;
import com.turn.ttorrent.client.Client;
import com.turn.ttorrent.client.SharedTorrent;
import android.util.Log;
import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.PodcastApp;
import de.danoeh.antennapod.R;
import de.danoeh.antennapod.asynctask.DownloadStatus;
import de.danoeh.antennapod.util.DownloadError;
import de.danoeh.antennapod.util.StorageUtils;

public class BitTorrentDownloader extends Downloader {
    private static final String TAG = "BitTorrentDownloader";

    public BitTorrentDownloader(DownloaderCallback downloaderCallback, DownloadStatus status) {
        super(downloaderCallback, status);
    }

    @Override
    protected void download() {

        Client bitTorrentClient = null;

        try {
            InetAddress ia = InetAddress.getLocalHost();
            SharedTorrent st = SharedTorrent.fromFile(new File(status.getFeedFile().getDownload_url()), new File(status
                    .getFeedFile().getFile_url()));

            bitTorrentClient = new Client(ia, st);

            if (bitTorrentClient != null) {

                if (StorageUtils.storageAvailable(PodcastApp.getInstance())) {
                    File destination = new File(status.getFeedFile().getFile_url());
                    if (!destination.exists()) {

                        bitTorrentClient.download();

                        // or, e.g. if wifi and plugged in seed for an hour or so
                        // bitTorrentClient.share(3600);

                        // bitTorrentClient.waitForCompletion();

                        // stop() is in finally

                        status.setStatusMsg(R.string.download_running);
                        status.setSize(DownloadStatus.SIZE_UNKNOWN);

                        long freeSpace = StorageUtils.getFreeSpaceAvailable();

                        if (AppConfig.DEBUG)
                            Log.d(TAG, "Free space is " + freeSpace);

                        if (status.getSize() == DownloadStatus.SIZE_UNKNOWN || status.getSize() <= freeSpace) {
                            if (AppConfig.DEBUG)
                                Log.d(TAG, "Starting download");
                            if (cancelled) {
                                onCancelled();
                            } else {
                                onSuccess();
                            }
                        } else {
                            onFail(DownloadError.ERROR_NOT_ENOUGH_SPACE, null);
                        }
                    } else {
                        Log.w(TAG, "File already exists");
                        onFail(DownloadError.ERROR_FILE_EXISTS, null);
                    }
                } else {
                    onFail(DownloadError.ERROR_DEVICE_NOT_FOUND, null);

                }
            }
        } catch (IllegalArgumentException e) {
            e.printStackTrace();
            onFail(DownloadError.ERROR_MALFORMED_URL, e.getMessage());
        } catch (IOException e) {
            e.printStackTrace();
            onFail(DownloadError.ERROR_IO_ERROR, e.getMessage());
        } catch (NullPointerException e) {
            e.printStackTrace();
            onFail(DownloadError.ERROR_CONNECTION_ERROR, status.getFeedFile().getDownload_url());
        } catch (NoSuchAlgorithmException e) {
            e.printStackTrace();
        } finally {
            bitTorrentClient.stop();
        }
    }

    private void onSuccess() {
        if (AppConfig.DEBUG)
            Log.d(TAG, "Download was successful");
        status.setSuccessful(true);
        status.setDone(true);

    }

    private void onFail(int reason, String reasonDetailed) {
        if (AppConfig.DEBUG) {
            Log.d(TAG, "Download failed");
        }
        status.setReason(reason);
        status.setReasonDetailed(reasonDetailed);
        status.setDone(true);
        status.setSuccessful(false);
        cleanup();
    }

    private void onCancelled() {
        if (AppConfig.DEBUG)
            Log.d(TAG, "Download was cancelled");
        status.setReason(DownloadError.ERROR_DOWNLOAD_CANCELLED);
        status.setDone(true);
        status.setSuccessful(false);
        status.setCancelled(true);
        cleanup();
    }

    /** Deletes unfinished downloads. */
    private void cleanup() {
        if (status != null && status.getFeedFile() != null && status.getFeedFile().getFile_url() != null) {
            File dest = new File(status.getFeedFile().getFile_url());
            if (dest.exists()) {
                boolean rc = dest.delete();
                if (AppConfig.DEBUG)
                    Log.d(TAG, "Deleted file " + dest.getName() + "; Result: " + rc);
            } else {
                if (AppConfig.DEBUG)
                    Log.d(TAG, "cleanup() didn't delete file: does not exist.");
            }
        }
    }

}


text:
@interface PinAnnotation : NSObject<MKAnnotation>

@property (nonatomic, assign) CLLocationCoordinate2D coordinate;

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subTitle;
@property (nonatomic,strong)CallOutAnnotation *calloutAnnotation;

-(MKAnnotationView *) annotationView;
//-(id)initWitTitle :(NSString *)mytitle Location :(CLLocationCoordinate2D)mylocation;

@end


text:
<?php //---------------- This document is used for submiting the invitation details--------
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<link href="/skooltimes/styles/first.css" rel="stylesheet" type="text/css" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Add New Institute</title>
<link href="../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />

<form action="send.php" method="POST" >

Name	Mail id	Type

        <input type="text" name="name" id="name" tabindex="0" />

        <input type="text" name="mail_id" id="mail_id" tabindex="1" />

      <select name="profession" id="profession" tabindex="2">
       <option>Superior</option>
       </select>

    <input type="submit" value="Send" />
    <input type="Reset" />

</form>

Back to Home


text:
var gulp = require('gulp');
var runSequence = require('run-sequence');

gulp.task('dist', function() {
  return runSequence(
      ['clean'],
      ['bower'],
      ['vendor-styles', 'vendor-scripts'],
      ['styles', 'images', 'scripts', 'templates', 'html', 'fonts', 'projects', 'docs', 'server']);
});


text:
package guitests;

import static org.junit.Assert.*;

import org.junit.Test;

import seedu.testplanner.testutil.TestTask;
import seedu.testplanner.testutil.TestUtil;
//@@author A0139102U
public class DeleteCompletedCommand extends DailyPlannerGuiTest {

	@Test
	public void deleteCompleted() {

		TestTask[] currentList = td.getTypicalTasks();
		commandBox.runCommand("delete complete");

		// Remove completed tasks
		currentList = TestUtil.removeTasksFromList(currentList, td.CS2103_Lecture, td.BuyGroceries);
		assertDeleteCompleteSuccess(currentList);
	}

	private void assertDeleteCompleteSuccess(TestTask[] expectedRemainder) {
		assertTrue(taskListPanel.isListMatching(expectedRemainder));
	}
}


text:
SYNONYM

#### According to
The Catalogue of Life, 3rd January 2011

#### Published in
Essai Tax. Hyménomyc. (Lons-le-Saunier) 100 (1900)

#### Original name
Boletus radiatus Sowerby, 1799

### Remarks
null


text:
function blinkFilePaths()
{
    var paths = [
        "./Source/core/inspector",
        "./Source/core/inspector/BindingVisitors.h",
        "./Source/core/inspector/CodeGeneratorInspector.py",
        "./Source/core/inspector/CodeGeneratorInspectorStrings.py",
        "./Source/core/inspector/CodeGeneratorInspectorStrings.pyc",
        "./Source/core/inspector/CodeGeneratorInstrumentation.py",
        "./Source/core/inspector/ConsoleAPITypes.h",
        "./Source/core/inspector/ConsoleMessage.cpp",
        "./Source/core/inspector/ConsoleMessage.h",
        "./Source/core/inspector/ContentSearchUtils.cpp",
        "./Source/core/inspector/ContentSearchUtils.h",
        "./Source/core/inspector/DOMEditor.cpp",
        "./Source/core/inspector/DOMEditor.h",
        "./Source/core/inspector/DOMPatchSupport.cpp",
        "./Source/core/inspector/DOMPatchSupport.h",
        "./Source/core/inspector/HeapGraphSerializer.cpp",
        "./Source/core/inspector/HeapGraphSerializer.h",
        "./Source/core/inspector/IdentifiersFactory.cpp",
        "./Source/core/inspector/IdentifiersFactory.h",
        "./Source/core/inspector/InjectedScript.cpp",
        "./Source/core/inspector/InjectedScript.h",
        "./Source/core/inspector/InjectedScriptBase.cpp",
        "./Source/core/inspector/InjectedScriptBase.h",
        "./Source/core/inspector/InjectedScriptCanvasModule.cpp",
        "./Source/core/inspector/InjectedScriptCanvasModule.h",
        "./Source/core/inspector/InjectedScriptCanvasModuleSource.js",
        "./Source/core/inspector/InjectedScriptExterns.js",
        "./Source/core/inspector/InjectedScriptHost.cpp",
        "./Source/core/inspector/InjectedScriptHost.h",
        "./Source/core/inspector/InjectedScriptHost.idl",
        "./Source/core/inspector/InjectedScriptManager.cpp",
        "./Source/core/inspector/InjectedScriptManager.h",
        "./Source/core/inspector/InjectedScriptModule.cpp",
        "./Source/core/inspector/InjectedScriptModule.h",
        "./Source/core/inspector/InjectedScriptSource.js",
        "./Source/core/inspector/InspectorAgent.cpp",
        "./Source/core/inspector/InspectorAgent.h",
        "./Source/core/inspector/InspectorApplicationCacheAgent.cpp",
        "./Source/core/inspector/InspectorApplicationCacheAgent.h",
        "./Source/core/inspector/InspectorBaseAgent.cpp",
        "./Source/core/inspector/InspectorBaseAgent.h",
        "./Source/core/inspector/InspectorCSSAgent.cpp",
        "./Source/core/inspector/InspectorCSSAgent.h",
        "./Source/core/inspector/InspectorCanvasAgent.cpp",
        "./Source/core/inspector/InspectorCanvasAgent.h",
        "./Source/core/inspector/InspectorCanvasInstrumentation.h",
        "./Source/core/inspector/InspectorClient.cpp",
        "./Source/core/inspector/InspectorClient.h",
        "./Source/core/inspector/InspectorConsoleAgent.cpp",
        "./Source/core/inspector/InspectorConsoleAgent.h",
        "./Source/core/inspector/InspectorConsoleInstrumentation.h",
        "./Source/core/inspector/InspectorController.cpp",
        "./Source/core/inspector/InspectorController.h",
        "./Source/core/inspector/InspectorCounters.cpp",
        "./Source/core/inspector/InspectorCounters.h",
        "./Source/core/inspector/InspectorDOMAgent.cpp",
        "./Source/core/inspector/InspectorDOMAgent.h",
        "./Source/core/inspector/InspectorDOMDebuggerAgent.cpp",
        "./Source/core/inspector/InspectorDOMDebuggerAgent.h",
        "./Source/core/inspector/InspectorDOMStorageAgent.cpp",
        "./Source/core/inspector/InspectorDOMStorageAgent.h",
        "./Source/core/inspector/InspectorDatabaseAgent.cpp",
        "./Source/core/inspector/InspectorDatabaseAgent.h",
        "./Source/core/inspector/InspectorDatabaseInstrumentation.h",
        "./Source/core/inspector/InspectorDatabaseResource.cpp",
        "./Source/core/inspector/InspectorDatabaseResource.h",
        "./Source/core/inspector/InspectorDebuggerAgent.cpp",
        "./Source/core/inspector/InspectorDebuggerAgent.h",
        "./Source/core/inspector/InspectorFileSystemAgent.cpp",
        "./Source/core/inspector/InspectorFileSystemAgent.h",
        "./Source/core/inspector/InspectorFrontendChannel.h",
        "./Source/core/inspector/InspectorFrontendClient.h",
        "./Source/core/inspector/InspectorFrontendHost.cpp",
        "./Source/core/inspector/InspectorFrontendHost.h",
        "./Source/core/inspector/InspectorFrontendHost.idl",
        "./Source/core/inspector/InspectorHeapProfilerAgent.cpp",
        "./Source/core/inspector/InspectorHeapProfilerAgent.h",
        "./Source/core/inspector/InspectorHistory.cpp",
        "./Source/core/inspector/InspectorHistory.h",
        "./Source/core/inspector/InspectorIndexedDBAgent.cpp",
        "./Source/core/inspector/InspectorIndexedDBAgent.h",
        "./Source/core/inspector/InspectorInputAgent.cpp",
        "./Source/core/inspector/InspectorInputAgent.h",
        "./Source/core/inspector/InspectorInstrumentation.cpp",
        "./Source/core/inspector/InspectorInstrumentation.h",
        "./Source/core/inspector/InspectorInstrumentation.idl",
        "./Source/core/inspector/InspectorInstrumentationCustomInl.h",
        "./Source/core/inspector/InspectorLayerTreeAgent.cpp",
        "./Source/core/inspector/InspectorLayerTreeAgent.h",
        "./Source/core/inspector/InspectorMemoryAgent.cpp",
        "./Source/core/inspector/InspectorMemoryAgent.h",
        "./Source/core/inspector/InspectorOverlay.cpp",
        "./Source/core/inspector/InspectorOverlay.h",
        "./Source/core/inspector/InspectorOverlayHost.cpp",
        "./Source/core/inspector/InspectorOverlayHost.h",
        "./Source/core/inspector/InspectorOverlayHost.idl",
        "./Source/core/inspector/InspectorOverlayPage.html",
        "./Source/core/inspector/InspectorPageAgent.cpp",
        "./Source/core/inspector/InspectorPageAgent.h",
        "./Source/core/inspector/InspectorProfilerAgent.cpp",
        "./Source/core/inspector/InspectorProfilerAgent.h",
        "./Source/core/inspector/InspectorResourceAgent.cpp",
        "./Source/core/inspector/InspectorResourceAgent.h",
        "./Source/core/inspector/InspectorRuntimeAgent.cpp",
        "./Source/core/inspector/InspectorRuntimeAgent.h",
        "./Source/core/inspector/InspectorState.cpp",
        "./Source/core/inspector/InspectorState.h",
        "./Source/core/inspector/InspectorStateClient.h",
        "./Source/core/inspector/InspectorStyleSheet.cpp",
        "./Source/core/inspector/InspectorStyleSheet.h",
        "./Source/core/inspector/InspectorStyleTextEditor.cpp",
        "./Source/core/inspector/InspectorStyleTextEditor.h",
        "./Source/core/inspector/InspectorTimelineAgent.cpp",
        "./Source/core/inspector/InspectorTimelineAgent.h",
        "./Source/core/inspector/InspectorWorkerAgent.cpp",
        "./Source/core/inspector/InspectorWorkerAgent.h",
        "./Source/core/inspector/InspectorWorkerResource.h",
        "./Source/core/inspector/InstrumentingAgents.h",
        "./Source/core/inspector/JSONParser.cpp",
        "./Source/core/inspector/JSONParser.h",
        "./Source/core/inspector/JavaScriptCallFrame.cpp",
        "./Source/core/inspector/JavaScriptCallFrame.h",
        "./Source/core/inspector/JavaScriptCallFrame.idl",
        "./Source/core/inspector/MemoryInstrumentationImpl.cpp",
        "./Source/core/inspector/MemoryInstrumentationImpl.h",
        "./Source/core/inspector/NetworkResourcesData.cpp",
        "./Source/core/inspector/NetworkResourcesData.h",
        "./Source/core/inspector/PageConsoleAgent.cpp",
        "./Source/core/inspector/PageConsoleAgent.h",
        "./Source/core/inspector/PageDebuggerAgent.cpp",
        "./Source/core/inspector/PageDebuggerAgent.h",
        "./Source/core/inspector/PageRuntimeAgent.cpp",
        "./Source/core/inspector/PageRuntimeAgent.h",
        "./Source/core/inspector/ScriptArguments.cpp",
        "./Source/core/inspector/ScriptArguments.h",
        "./Source/core/inspector/ScriptBreakpoint.h",
        "./Source/core/inspector/ScriptCallFrame.cpp",
        "./Source/core/inspector/ScriptCallFrame.h",
        "./Source/core/inspector/ScriptCallStack.cpp",
        "./Source/core/inspector/ScriptCallStack.h",
        "./Source/core/inspector/ScriptDebugListener.h",
        "./Source/core/inspector/ScriptGCEventListener.h",
        "./Source/core/inspector/ScriptProfile.cpp",
        "./Source/core/inspector/ScriptProfile.h",
        "./Source/core/inspector/TimelineRecordFactory.cpp",
        "./Source/core/inspector/TimelineRecordFactory.h",
        "./Source/core/inspector/TimelineTraceEventProcessor.cpp",
        "./Source/core/inspector/TimelineTraceEventProcessor.h",
        "./Source/core/inspector/WorkerConsoleAgent.cpp",
        "./Source/core/inspector/WorkerConsoleAgent.h",
        "./Source/core/inspector/WorkerDebuggerAgent.cpp",
        "./Source/core/inspector/WorkerDebuggerAgent.h",
        "./Source/core/inspector/WorkerInspectorController.cpp",
        "./Source/core/inspector/WorkerInspectorController.h",
        "./Source/core/inspector/WorkerRuntimeAgent.cpp",
        "./Source/core/inspector/WorkerRuntimeAgent.h",
        "./Source/core/inspector/combine-javascript-resources.pl",
        "./Source/core/inspector/generate-inspector-protocol-version",
        "./Source/core/inspector/inline-javascript-imports.py",
        "./Source/core/inspector/xxd.pl",
        "./Source/devtools",
        "./Source/devtools/Inspector-0.1.json",
        "./Source/devtools/Inspector-1.0.json",
        "./Source/devtools/OWNERS",
        "./Source/devtools/devtools.gyp",
        "./Source/devtools/front_end",
        "./Source/devtools/front_end/AdvancedSearchController.js",
        "./Source/devtools/front_end/ApplicationCacheItemsView.js",
        "./Source/devtools/front_end/ApplicationCacheModel.js",
        "./Source/devtools/front_end/AuditCategories.js",
        "./Source/devtools/front_end/AuditController.js",
        "./Source/devtools/front_end/AuditFormatters.js",
        "./Source/devtools/front_end/AuditLauncherView.js",
        "./Source/devtools/front_end/AuditResultView.js",
        "./Source/devtools/front_end/AuditRules.js",
        "./Source/devtools/front_end/AuditsPanel.js",
        "./Source/devtools/front_end/BottomUpProfileDataGridTree.js",
        "./Source/devtools/front_end/BreakpointManager.js",
        "./Source/devtools/front_end/BreakpointsSidebarPane.js",
        "./Source/devtools/front_end/CPUProfileView.js",
        "./Source/devtools/front_end/CSSMetadata.js",
        "./Source/devtools/front_end/CSSNamedFlowCollectionsView.js",
        "./Source/devtools/front_end/CSSNamedFlowView.js",
        "./Source/devtools/front_end/CSSSelectorProfileView.js",
        "./Source/devtools/front_end/CSSStyleModel.js",
        "./Source/devtools/front_end/CSSStyleSheetMapping.js",
        "./Source/devtools/front_end/CallStackSidebarPane.js",
        "./Source/devtools/front_end/CanvasProfileView.js",
        "./Source/devtools/front_end/Checkbox.js",
        "./Source/devtools/front_end/CodeMirrorTextEditor.js",
        "./Source/devtools/front_end/Color.js",
        "./Source/devtools/front_end/CompilerScriptMapping.js",
        "./Source/devtools/front_end/CompletionDictionary.js",
        "./Source/devtools/front_end/ConsoleMessage.js",
        "./Source/devtools/front_end/ConsoleModel.js",
        "./Source/devtools/front_end/ConsolePanel.js",
        "./Source/devtools/front_end/ConsoleView.js",
        "./Source/devtools/front_end/ContentProvider.js",
        "./Source/devtools/front_end/ContentProviderBasedProjectDelegate.js",
        "./Source/devtools/front_end/ContentProviders.js",
        "./Source/devtools/front_end/ContextMenu.js",
        "./Source/devtools/front_end/CookieItemsView.js",
        "./Source/devtools/front_end/CookieParser.js",
        "./Source/devtools/front_end/CookiesTable.js",
        "./Source/devtools/front_end/DOMAgent.js",
        "./Source/devtools/front_end/DOMBreakpointsSidebarPane.js",
        "./Source/devtools/front_end/DOMCountersGraph.js",
        "./Source/devtools/front_end/DOMExtension.js",
        "./Source/devtools/front_end/DOMPresentationUtils.js",
        "./Source/devtools/front_end/DOMStorage.js",
        "./Source/devtools/front_end/DOMStorageItemsView.js",
        "./Source/devtools/front_end/DOMSyntaxHighlighter.js",
        "./Source/devtools/front_end/DataGrid.js",
        "./Source/devtools/front_end/Database.js",
        "./Source/devtools/front_end/DatabaseQueryView.js",
        "./Source/devtools/front_end/DatabaseTableView.js",
        "./Source/devtools/front_end/DebuggerModel.js",
        "./Source/devtools/front_end/DebuggerScriptMapping.js",
        "./Source/devtools/front_end/DefaultScriptMapping.js",
        "./Source/devtools/front_end/DefaultTextEditor.js",
        "./Source/devtools/front_end/DevToolsExtensionAPI.js",
        "./Source/devtools/front_end/Dialog.js",
        "./Source/devtools/front_end/DirectoryContentView.js",
        "./Source/devtools/front_end/DockController.js",
        "./Source/devtools/front_end/Drawer.js",
        "./Source/devtools/front_end/ElementsPanel.js",
        "./Source/devtools/front_end/ElementsPanelDescriptor.js",
        "./Source/devtools/front_end/ElementsTreeOutline.js",
        "./Source/devtools/front_end/EmptyView.js",
        "./Source/devtools/front_end/EventListenersSidebarPane.js",
        "./Source/devtools/front_end/ExtensionAPI.js",
        "./Source/devtools/front_end/ExtensionAuditCategory.js",
        "./Source/devtools/front_end/ExtensionPanel.js",
        "./Source/devtools/front_end/ExtensionRegistryStub.js",
        "./Source/devtools/front_end/ExtensionServer.js",
        "./Source/devtools/front_end/ExtensionView.js",
        "./Source/devtools/front_end/FileContentView.js",
        "./Source/devtools/front_end/FileManager.js",
        "./Source/devtools/front_end/FilePathScoreFunction.js",
        "./Source/devtools/front_end/FileSystemMapping.js",
        "./Source/devtools/front_end/FileSystemModel.js",
        "./Source/devtools/front_end/FileSystemProjectDelegate.js",
        "./Source/devtools/front_end/FileSystemView.js",
        "./Source/devtools/front_end/FileUtils.js",
        "./Source/devtools/front_end/FilteredItemSelectionDialog.js",
        "./Source/devtools/front_end/FilteredItemSelectionDialog.js~",
        "./Source/devtools/front_end/FlameChart.js",
        "./Source/devtools/front_end/FontView.js",
        "./Source/devtools/front_end/GoToLineDialog.js",
        "./Source/devtools/front_end/HAREntry.js",
        "./Source/devtools/front_end/HandlerRegistry.js",
        "./Source/devtools/front_end/HeapSnapshot.js",
        "./Source/devtools/front_end/HeapSnapshotDataGrids.js",
        "./Source/devtools/front_end/HeapSnapshotGridNodes.js",
        "./Source/devtools/front_end/HeapSnapshotLoader.js",
        "./Source/devtools/front_end/HeapSnapshotProxy.js",
        "./Source/devtools/front_end/HeapSnapshotView.js",
        "./Source/devtools/front_end/HeapSnapshotWorker.js",
        "./Source/devtools/front_end/HeapSnapshotWorkerDispatcher.js",
        "./Source/devtools/front_end/HelpScreen.js",
        "./Source/devtools/front_end/ImageView.js",
        "./Source/devtools/front_end/Images",
        "./Source/devtools/front_end/Images/addIcon.png",
        "./Source/devtools/front_end/Images/applicationCache.png",
        "./Source/devtools/front_end/Images/back.png",
        "./Source/devtools/front_end/Images/breakpoint2.png",
        "./Source/devtools/front_end/Images/breakpoint2_2x.png",
        "./Source/devtools/front_end/Images/breakpointBorder.png",
        "./Source/devtools/front_end/Images/breakpointConditional2.png",
        "./Source/devtools/front_end/Images/breakpointConditional2_2x.png",
        "./Source/devtools/front_end/Images/breakpointConditionalBorder.png",
        "./Source/devtools/front_end/Images/breakpointConditionalCounterBorder.png",
        "./Source/devtools/front_end/Images/breakpointCounterBorder.png",
        "./Source/devtools/front_end/Images/checker.png",
        "./Source/devtools/front_end/Images/cookie.png",
        "./Source/devtools/front_end/Images/database.png",
        "./Source/devtools/front_end/Images/databaseTable.png",
        "./Source/devtools/front_end/Images/deleteIcon.png",
        "./Source/devtools/front_end/Images/domain.png",
        "./Source/devtools/front_end/Images/fileSystem.png",
        "./Source/devtools/front_end/Images/forward.png",
        "./Source/devtools/front_end/Images/frame.png",
        "./Source/devtools/front_end/Images/glossyHeader.png",
        "./Source/devtools/front_end/Images/glossyHeaderPressed.png",
        "./Source/devtools/front_end/Images/glossyHeaderSelected.png",
        "./Source/devtools/front_end/Images/glossyHeaderSelectedPressed.png",
        "./Source/devtools/front_end/Images/graphLabelCalloutLeft.png",
        "./Source/devtools/front_end/Images/graphLabelCalloutRight.png",
        "./Source/devtools/front_end/Images/indexedDB.png",
        "./Source/devtools/front_end/Images/indexedDBIndex.png",
        "./Source/devtools/front_end/Images/indexedDBObjectStore.png",
        "./Source/devtools/front_end/Images/localStorage.png",
        "./Source/devtools/front_end/Images/namedFlowOverflow.png",
        "./Source/devtools/front_end/Images/paneAddButtons.png",
        "./Source/devtools/front_end/Images/paneElementStateButtons.png",
        "./Source/devtools/front_end/Images/paneFilterButtons.png",
        "./Source/devtools/front_end/Images/paneRefreshButtons.png",
        "./Source/devtools/front_end/Images/paneSettingsButtons.png",
        "./Source/devtools/front_end/Images/popoverArrows.png",
        "./Source/devtools/front_end/Images/popoverBackground.png",
        "./Source/devtools/front_end/Images/profileGroupIcon.png",
        "./Source/devtools/front_end/Images/profileIcon.png",
        "./Source/devtools/front_end/Images/profileSmallIcon.png",
        "./Source/devtools/front_end/Images/programCounterBorder.png",
        "./Source/devtools/front_end/Images/radioDot.png",
        "./Source/devtools/front_end/Images/regionEmpty.png",
        "./Source/devtools/front_end/Images/regionFit.png",
        "./Source/devtools/front_end/Images/regionOverset.png",
        "./Source/devtools/front_end/Images/resourceCSSIcon.png",
        "./Source/devtools/front_end/Images/resourceDocumentIcon.png",
        "./Source/devtools/front_end/Images/resourceDocumentIconSmall.png",
        "./Source/devtools/front_end/Images/resourceJSIcon.png",
        "./Source/devtools/front_end/Images/resourcePlainIcon.png",
        "./Source/devtools/front_end/Images/resourcePlainIconSmall.png",
        "./Source/devtools/front_end/Images/resourcesTimeGraphIcon.png",
        "./Source/devtools/front_end/Images/searchNext.png",
        "./Source/devtools/front_end/Images/searchPrev.png",
        "./Source/devtools/front_end/Images/searchSmallBlue.png",
        "./Source/devtools/front_end/Images/searchSmallBrightBlue.png",
        "./Source/devtools/front_end/Images/searchSmallGray.png",
        "./Source/devtools/front_end/Images/searchSmallWhite.png",
        "./Source/devtools/front_end/Images/segment.png",
        "./Source/devtools/front_end/Images/segmentEnd.png",
        "./Source/devtools/front_end/Images/segmentHover.png",
        "./Source/devtools/front_end/Images/segmentHoverEnd.png",
        "./Source/devtools/front_end/Images/segmentSelected.png",
        "./Source/devtools/front_end/Images/segmentSelectedEnd.png",
        "./Source/devtools/front_end/Images/sessionStorage.png",
        "./Source/devtools/front_end/Images/settingsListRemove.png",
        "./Source/devtools/front_end/Images/settingsListRemove_2x.png",
        "./Source/devtools/front_end/Images/spinner.gif",
        "./Source/devtools/front_end/Images/spinnerActive.gif",
        "./Source/devtools/front_end/Images/spinnerActiveSelected.gif",
        "./Source/devtools/front_end/Images/spinnerInactive.gif",
        "./Source/devtools/front_end/Images/spinnerInactiveSelected.gif",
        "./Source/devtools/front_end/Images/src",
        "./Source/devtools/front_end/Images/src/breakpoints2.svg",
        "./Source/devtools/front_end/Images/src/settingListRemove.svg",
        "./Source/devtools/front_end/Images/src/statusbarButtonGlyphs.svg",
        "./Source/devtools/front_end/Images/statusbarButtonGlyphs.png",
        "./Source/devtools/front_end/Images/statusbarButtonGlyphs2x.png",
        "./Source/devtools/front_end/Images/statusbarResizerHorizontal.png",
        "./Source/devtools/front_end/Images/statusbarResizerVertical.png",
        "./Source/devtools/front_end/Images/thumbActiveHoriz.png",
        "./Source/devtools/front_end/Images/thumbActiveVert.png",
        "./Source/devtools/front_end/Images/thumbHoriz.png",
        "./Source/devtools/front_end/Images/thumbHoverHoriz.png",
        "./Source/devtools/front_end/Images/thumbHoverVert.png",
        "./Source/devtools/front_end/Images/thumbVert.png",
        "./Source/devtools/front_end/Images/timelineHollowPillBlue.png",
        "./Source/devtools/front_end/Images/timelineHollowPillGray.png",
        "./Source/devtools/front_end/Images/timelineHollowPillGreen.png",
        "./Source/devtools/front_end/Images/timelineHollowPillOrange.png",
        "./Source/devtools/front_end/Images/timelineHollowPillPurple.png",
        "./Source/devtools/front_end/Images/timelineHollowPillRed.png",
        "./Source/devtools/front_end/Images/timelineHollowPillYellow.png",
        "./Source/devtools/front_end/Images/timelinePillBlue.png",
        "./Source/devtools/front_end/Images/timelinePillGray.png",
        "./Source/devtools/front_end/Images/timelinePillGreen.png",
        "./Source/devtools/front_end/Images/timelinePillOrange.png",
        "./Source/devtools/front_end/Images/timelinePillPurple.png",
        "./Source/devtools/front_end/Images/timelinePillRed.png",
        "./Source/devtools/front_end/Images/timelinePillYellow.png",
        "./Source/devtools/front_end/Images/toolbarIcons.png",
        "./Source/devtools/front_end/Images/toolbarIconsSmall.png",
        "./Source/devtools/front_end/Images/toolbarItemSelected.png",
        "./Source/devtools/front_end/Images/trackHoriz.png",
        "./Source/devtools/front_end/Images/trackVert.png",
        "./Source/devtools/front_end/IndexedDBModel.js",
        "./Source/devtools/front_end/IndexedDBViews.js",
        "./Source/devtools/front_end/InspectElementModeController.js",
        "./Source/devtools/front_end/InspectorBackend.js",
        "./Source/devtools/front_end/InspectorFrontendAPI.js",
        "./Source/devtools/front_end/InspectorFrontendHostStub.js",
        "./Source/devtools/front_end/InspectorView.js",
        "./Source/devtools/front_end/IsolatedFileSystem.js",
        "./Source/devtools/front_end/IsolatedFileSystemManager.js",
        "./Source/devtools/front_end/JSHeapSnapshot.js",
        "./Source/devtools/front_end/JavaScriptFormatter.js",
        "./Source/devtools/front_end/JavaScriptSourceFrame.js",
        "./Source/devtools/front_end/KeyboardShortcut.js",
        "./Source/devtools/front_end/Linkifier.js",
        "./Source/devtools/front_end/LiveEditSupport.js",
        "./Source/devtools/front_end/MemoryStatistics.js",
        "./Source/devtools/front_end/MetricsSidebarPane.js",
        "./Source/devtools/front_end/NativeBreakpointsSidebarPane.js",
        "./Source/devtools/front_end/NativeHeapSnapshot.js",
        "./Source/devtools/front_end/NativeMemoryGraph.js",
        "./Source/devtools/front_end/NativeMemorySnapshotView.js",
        "./Source/devtools/front_end/NavigatorOverlayController.js",
        "./Source/devtools/front_end/NavigatorView.js",
        "./Source/devtools/front_end/NetworkItemView.js",
        "./Source/devtools/front_end/NetworkLog.js",
        "./Source/devtools/front_end/NetworkManager.js",
        "./Source/devtools/front_end/NetworkPanel.js",
        "./Source/devtools/front_end/NetworkPanelDescriptor.js",
        "./Source/devtools/front_end/NetworkRequest.js",
        "./Source/devtools/front_end/NetworkUISourceCodeProvider.js",
        "./Source/devtools/front_end/OWNERS",
        "./Source/devtools/front_end/Object.js",
        "./Source/devtools/front_end/ObjectPopoverHelper.js",
        "./Source/devtools/front_end/ObjectPropertiesSection.js",
        "./Source/devtools/front_end/OverridesView.js",
        "./Source/devtools/front_end/OverviewGrid.js",
        "./Source/devtools/front_end/Panel.js",
        "./Source/devtools/front_end/ParsedURL.js",
        "./Source/devtools/front_end/Placard.js",
        "./Source/devtools/front_end/Popover.js",
        "./Source/devtools/front_end/PresentationConsoleMessageHelper.js",
        "./Source/devtools/front_end/ProfileDataGridTree.js",
        "./Source/devtools/front_end/ProfileLauncherView.js",
        "./Source/devtools/front_end/ProfilesPanel.js",
        "./Source/devtools/front_end/ProfilesPanelDescriptor.js",
        "./Source/devtools/front_end/Progress.js",
        "./Source/devtools/front_end/ProgressIndicator.js",
        "./Source/devtools/front_end/PropertiesSection.js",
        "./Source/devtools/front_end/PropertiesSidebarPane.js",
        "./Source/devtools/front_end/RawSourceCode.js",
        "./Source/devtools/front_end/RemoteObject.js",
        "./Source/devtools/front_end/RequestCookiesView.js",
        "./Source/devtools/front_end/RequestHTMLView.js",
        "./Source/devtools/front_end/RequestHeadersView.js",
        "./Source/devtools/front_end/RequestJSONView.js",
        "./Source/devtools/front_end/RequestPreviewView.js",
        "./Source/devtools/front_end/RequestResponseView.js",
        "./Source/devtools/front_end/RequestTimingView.js",
        "./Source/devtools/front_end/RequestView.js",
        "./Source/devtools/front_end/Resource.js",
        "./Source/devtools/front_end/ResourceScriptMapping.js",
        "./Source/devtools/front_end/ResourceTreeModel.js",
        "./Source/devtools/front_end/ResourceType.js",
        "./Source/devtools/front_end/ResourceUtils.js",
        "./Source/devtools/front_end/ResourceView.js",
        "./Source/devtools/front_end/ResourceWebSocketFrameView.js",
        "./Source/devtools/front_end/ResourcesPanel.js",
        "./Source/devtools/front_end/RevisionHistoryView.js",
        "./Source/devtools/front_end/RuntimeModel.js",
        "./Source/devtools/front_end/SASSSourceMapping.js",
        "./Source/devtools/front_end/ScopeChainSidebarPane.js",
        "./Source/devtools/front_end/Script.js",
        "./Source/devtools/front_end/ScriptFormatter.js",
        "./Source/devtools/front_end/ScriptFormatterWorker.js",
        "./Source/devtools/front_end/ScriptSnippetModel.js",
        "./Source/devtools/front_end/ScriptsNavigator.js",
        "./Source/devtools/front_end/ScriptsPanel.js",
        "./Source/devtools/front_end/ScriptsPanelDescriptor.js",
        "./Source/devtools/front_end/ScriptsSearchScope.js",
        "./Source/devtools/front_end/SearchController.js",
        "./Source/devtools/front_end/Section.js",
        "./Source/devtools/front_end/Settings.js",
        "./Source/devtools/front_end/SettingsScreen.js",
        "./Source/devtools/front_end/ShortcutsScreen.js",
        "./Source/devtools/front_end/ShowMoreDataGridNode.js",
        "./Source/devtools/front_end/SidebarOverlay.js",
        "./Source/devtools/front_end/SidebarPane.js",
        "./Source/devtools/front_end/SidebarTreeElement.js",
        "./Source/devtools/front_end/SidebarView.js",
        "./Source/devtools/front_end/SimpleWorkspaceProvider.js",
        "./Source/devtools/front_end/SnippetStorage.js",
        "./Source/devtools/front_end/SoftContextMenu.js",
        "./Source/devtools/front_end/SourceCSSTokenizer.js",
        "./Source/devtools/front_end/SourceCSSTokenizer.re2js",
        "./Source/devtools/front_end/SourceFrame.js",
        "./Source/devtools/front_end/SourceHTMLTokenizer.js",
        "./Source/devtools/front_end/SourceHTMLTokenizer.re2js",
        "./Source/devtools/front_end/SourceJavaScriptTokenizer.js",
        "./Source/devtools/front_end/SourceJavaScriptTokenizer.re2js",
        "./Source/devtools/front_end/SourceMap.js",
        "./Source/devtools/front_end/SourceMapping.js",
        "./Source/devtools/front_end/SourceTokenizer.js",
        "./Source/devtools/front_end/Spectrum.js",
        "./Source/devtools/front_end/SplitView.js",
        "./Source/devtools/front_end/StatusBarButton.js",
        "./Source/devtools/front_end/StyleSheetOutlineDialog.js",
        "./Source/devtools/front_end/StylesSidebarPane.js",
        "./Source/devtools/front_end/StylesSourceMapping.js",
        "./Source/devtools/front_end/SuggestBox.js",
        "./Source/devtools/front_end/TabbedEditorContainer.js",
        "./Source/devtools/front_end/TabbedPane.js",
        "./Source/devtools/front_end/TestController.js",
        "./Source/devtools/front_end/Tests.js",
        "./Source/devtools/front_end/TextEditor.js",
        "./Source/devtools/front_end/TextEditorHighlighter.js",
        "./Source/devtools/front_end/TextEditorModel.js",
        "./Source/devtools/front_end/TextPrompt.js",
        "./Source/devtools/front_end/TextUtils.js",
        "./Source/devtools/front_end/TimelineFrameController.js",
        "./Source/devtools/front_end/TimelineGrid.js",
        "./Source/devtools/front_end/TimelineManager.js",
        "./Source/devtools/front_end/TimelineModel.js",
        "./Source/devtools/front_end/TimelineOverviewPane.js",
        "./Source/devtools/front_end/TimelinePanel.js",
        "./Source/devtools/front_end/TimelinePanelDescriptor.js",
        "./Source/devtools/front_end/TimelinePresentationModel.js",
        "./Source/devtools/front_end/Toolbar.js",
        "./Source/devtools/front_end/TopDownProfileDataGridTree.js",
        "./Source/devtools/front_end/UISourceCode.js",
        "./Source/devtools/front_end/UISourceCodeFrame.js",
        "./Source/devtools/front_end/UIString.js",
        "./Source/devtools/front_end/UIUtils.js",
        "./Source/devtools/front_end/UglifyJS",
        "./Source/devtools/front_end/UglifyJS/parse-js.js",
        "./Source/devtools/front_end/UserAgentSupport.js",
        "./Source/devtools/front_end/UserMetrics.js",
        "./Source/devtools/front_end/View.js",
        "./Source/devtools/front_end/ViewportControl.js",
        "./Source/devtools/front_end/WatchExpressionsSidebarPane.js",
        "./Source/devtools/front_end/WorkerManager.js",
        "./Source/devtools/front_end/WorkersSidebarPane.js",
        "./Source/devtools/front_end/Workspace.js",
        "./Source/devtools/front_end/auditsPanel.css",
        "./Source/devtools/front_end/breadcrumbList.css",
        "./Source/devtools/front_end/breakpointsList.css",
        "./Source/devtools/front_end/buildSystemOnly.js",
        "./Source/devtools/front_end/canvasProfiler.css",
        "./Source/devtools/front_end/cm",
        "./Source/devtools/front_end/cm/LICENSE",
        "./Source/devtools/front_end/cm/closebrackets.js",
        "./Source/devtools/front_end/cm/cmdevtools.css",
        "./Source/devtools/front_end/cm/codemirror.css",
        "./Source/devtools/front_end/cm/codemirror.js",
        "./Source/devtools/front_end/cm/comment.js",
        "./Source/devtools/front_end/cm/css.js",
        "./Source/devtools/front_end/cm/htmlmixed.js",
        "./Source/devtools/front_end/cm/javascript.js",
        "./Source/devtools/front_end/cm/markselection.js",
        "./Source/devtools/front_end/cm/matchbrackets.js",
        "./Source/devtools/front_end/cm/overlay.js",
        "./Source/devtools/front_end/cm/showhint.css",
        "./Source/devtools/front_end/cm/showhint.js",
        "./Source/devtools/front_end/cm/xml.js",
        "./Source/devtools/front_end/cssNamedFlows.css",
        "./Source/devtools/front_end/dataGrid.css",
        "./Source/devtools/front_end/dialog.css",
        "./Source/devtools/front_end/elementsPanel.css",
        "./Source/devtools/front_end/externs.js",
        "./Source/devtools/front_end/filteredItemSelectionDialog.css",
        "./Source/devtools/front_end/flameChart.css",
        "./Source/devtools/front_end/heapProfiler.css",
        "./Source/devtools/front_end/helpScreen.css",
        "./Source/devtools/front_end/indexedDBViews.css",
        "./Source/devtools/front_end/inspector.css",
        "./Source/devtools/front_end/inspector.html",
        "./Source/devtools/front_end/inspector.js",
        "./Source/devtools/front_end/inspectorCommon.css",
        "./Source/devtools/front_end/inspectorSyntaxHighlight.css",
        "./Source/devtools/front_end/jsdifflib.js",
        "./Source/devtools/front_end/nativeMemoryProfiler.css",
        "./Source/devtools/front_end/navigatorView.css",
        "./Source/devtools/front_end/networkLogView.css",
        "./Source/devtools/front_end/networkPanel.css",
        "./Source/devtools/front_end/panelEnablerView.css",
        "./Source/devtools/front_end/popover.css",
        "./Source/devtools/front_end/profilesPanel.css",
        "./Source/devtools/front_end/protocol_externs.js",
        "./Source/devtools/front_end/resourceView.css",
        "./Source/devtools/front_end/resourcesPanel.css",
        "./Source/devtools/front_end/revisionHistory.css",
        "./Source/devtools/front_end/scriptsPanel.css",
        "./Source/devtools/front_end/sidebarPane.css",
        "./Source/devtools/front_end/spectrum.css",
        "./Source/devtools/front_end/splitView.css",
        "./Source/devtools/front_end/tabbedPane.css",
        "./Source/devtools/front_end/test-runner.html",
        "./Source/devtools/front_end/textEditor.css",
        "./Source/devtools/front_end/textPrompt.css",
        "./Source/devtools/front_end/timelinePanel.css",
        "./Source/devtools/front_end/treeoutline.js",
        "./Source/devtools/front_end/utilities.js",
        "./Source/devtools/protocol.json",
        "./Source/devtools/scripts",
        "./Source/devtools/scripts/CodeGeneratorFrontend.py",
        "./Source/devtools/scripts/check_injected_webgl_calls_info.py",
        "./Source/devtools/scripts/closure",
        "./Source/devtools/scripts/closure/COPYING",
        "./Source/devtools/scripts/closure/README",
        "./Source/devtools/scripts/closure/compiler.jar",
        "./Source/devtools/scripts/compile_frontend.py",
        "./Source/devtools/scripts/concatenate_css_files.py",
        "./Source/devtools/scripts/concatenate_js_files.py",
        "./Source/devtools/scripts/generate_devtools_extension_api.py",
        "./Source/devtools/scripts/generate_devtools_grd.py",
        "./Source/devtools/scripts/generate_devtools_html.py",
        "./Source/devtools/scripts/generate_protocol_externs.py",
        "./Source/devtools/scripts/generate_protocol_externs.pyc",
        "./Source/devtools/scripts/inline_js_imports.py",
        "./Source/devtools/scripts/jsmin.py",
        "./Source/devtools/scripts/jsmin.pyc"
    ];
    return paths.join(":");
}


text:
Type.registerNamespace('OfficeDev.PnP.JavaScriptInjectionJSOM');

OfficeDev.PnP.JavaScriptInjectionJSOM = function () {
    'use strict';
    // init: initializes the JavaScript injection class, connects click events to buttons
    var init = function (sourceUrl, target, messageDiv) {
        messageElement = messageDiv;
        sourceFile = sourceUrl;
        targetFolder = target;
        // bind click events to the buttons
        $('#btnInjection').click(provision);
        $('#btnEjection').click(unprovision);
        $('#' + messageElement).text('')
    },
    // provision: starts with uploading the JavaScript file to the host we, once done it will continue with the provisionScriptLink() method
    provision = function () {
        $('#' + messageElement).text('Uploading file to host web...')
        context = SP.ClientContext.get_current();
        hostContext = new SP.AppContextSite(context, decodeURIComponent(getQueryStringParameter('SPHostUrl')));
        // load the custom actions from the host web
        actions = hostContext.get_web().get_userCustomActions();
        context.load(actions)
        web = hostContext.get_web();
        context.load(web)
        // download the JavaScript file from the app web
        var req = jQuery.ajax({
            url: sourceFile + '?ver=' + ((new Date()) * 1), // add unique query string variable to prevent browser caching issues
            type: 'GET',
            cache: false,
            dataType: 'text'
        }).done(function (contents) {
            // when downloaded create a new file in the host web
            var createInfo = new SP.FileCreationInformation();
            createInfo.set_content(new SP.Base64EncodedByteArray());
            for (var i = 0; i < contents.length; i++) {
                createInfo.get_content().append(contents.charCodeAt(i));
            }
            createInfo.set_overwrite(true);
            createInfo.set_url(sourceFile.substring(sourceFile.lastIndexOf('/') + 1));
            // add the file to the filder/library specified in init()
            var files = hostContext.get_web().getFolderByServerRelativeUrl(targetFolder).get_files();
            files.add(createInfo);
            // add the file and continue with the custom action provisioning
            context.executeQueryAsync(provisionScriptLink, failure);

        }).fail(function (jqXHR, status) {
            // we don't like being here, because then we couldn't download the javascript file
            failureJQuery(jqXHR, status)
        });
    },
    // unprovision: removes the custom action and the JavaScript file
    unprovision = function () {
        $('#' + messageElement).text('Removing custom action and file from host web...')
        context = SP.ClientContext.get_current();
        hostContext = new SP.AppContextSite(context, decodeURIComponent(getQueryStringParameter('SPHostUrl')));
        // load the custom actions from the host web
        actions = hostContext.get_web().get_userCustomActions();
        context.load(actions)
        web = hostContext.get_web();
        context.load(web)
        context.executeQueryAsync(unprovisionEx, failure)
    },
    // unprovisionEx: internal methot to remove the custom action and JavaScript file
    unprovisionEx = function () {
        $('#' + messageElement).text('Adding custom action to host web...')
        var enumerator = actions.getEnumerator();
        var removeThese = []
        // find the custom action
        while (enumerator.moveNext()) {
            var action = enumerator.get_current();
            if (action.get_description() == 'OfficeDev.PnP.JavaScriptInjectionJSOM' &&
                action.get_location() == 'ScriptLink') {
                // add it to a temporary array (we cannot modify an enumerator while enumerating)
                removeThese.push(action)
            }
        }
        // do the actual removal of the custom action
        for (var i in removeThese) {
            removeThese[i].deleteObject()
            delete removeThese[i]
        }

        // delete the file
        var file = hostContext.get_web().getFileByServerRelativeUrl(web.get_serverRelativeUrl() + '/' + targetFolder + '/' + sourceFile.substring(sourceFile.lastIndexOf('/') + 1));
        file.deleteObject();
        context.executeQueryAsync(
           function () {
               // ...and we're done
               $('#' + messageElement).text('Ejection done!')
           },
           failure);
    },
    // provisionScriptLink: internal method that adds the custom action
    provisionScriptLink = function () {
        $('#' + messageElement).text('Adding custom action to host web...')
        var enumerator = actions.getEnumerator();
        var removeThese = []
        // check if the custom action already exists, if it do then remove it before adding the new one
        while (enumerator.moveNext()) {
            var action = enumerator.get_current();
            if (action.get_description() == 'OfficeDev.PnP.JavaScriptInjectionJSOM' &&
                action.get_location() == 'ScriptLink') {
                removeThese.push(action)
            }
        }
        for (var i in removeThese) {
            removeThese[i].deleteObject()
            delete removeThese[i]
        }

        // create the custom action
        var newAction = actions.add();
        // the 'description' is what we'll use to uniquely identify our custom action
        newAction.set_description('OfficeDev.PnP.JavaScriptInjectionJSOM')
        newAction.set_location('ScriptLink')
        var scriptBlock = 'var headID = document.getElementsByTagName("head")[0];var newScript = document.createElement("script");newScript.type = "text/javascript";newScript.src = "'
        scriptBlock += web.get_url() + '/' + targetFolder + '/' + sourceFile.substring(sourceFile.lastIndexOf('/') + 1) + '?ver=' + ((new Date()) * 1);
        scriptBlock += '";headID.appendChild(newScript);';
        newAction.set_scriptBlock(scriptBlock)

        newAction.update();
        context.executeQueryAsync(
            function () {
                // all is done, if we want to we can actually remove the app from the host web and still be happy about our JavaScript injection
                $('#' + messageElement).text('Injection done!')
            },
            failure);
    },
    // failure: internal method to show error messages for CSOM
    failure = function (sender, args) {
        $('#' + messageElement).text(args.get_message() + ' [' + args.get_errorCode() + ']');
    },
    // failureJQuery: internal method to show error messages for jQuery
    failureJQuery = function (sender, args) {
        $('#' + messageElement).text(status)
    },
    // getQueryStringParameter: internal method to retrieve query string parameter values
    getQueryStringParameter = function (param) {
        var params = document.URL.split('?')[1].split('&');
        var strParams = '';
        for (var i = 0; i < params.length; i = i + 1) {
            var singleParam = params[i].split('=');
            if (singleParam[0] == param) {
                return singleParam[1];
            }
        }
    },
    // local parameters
    context = null,
    hostContext = null,
    messageElement = null,
    sourceFile = null,
    targetFolder = null,
    web = null,
    actions = null;
    return {
        init: init,
        provision: provision,
        unprovision: unprovision
    }
}();

// This code runs when the DOM is ready
$(document).ready(function () {
    // Usage:
    //      sourceUrl: apspecify the JS file relative to the Pages folder (or the page where the script is executing)
    //      target: web relative folder/library where to store the file
    //      messageDiv: id of html element where messages are shown
    OfficeDev.PnP.JavaScriptInjectionJSOM.init('../Content/scenario1.js', 'SiteAssets', 'message')
});


text:
'use strict';
var expect = require('chai').expect;

describe('The History resource usage', function() {
  var History;

  it('does not blow when loading', function() {
    expect(function() {
      History = require('./../../../lib/api-client/resources/history');
    }).not.to.throw();
  });

  it('has a `path` static property', function() {
    expect(History.path).to.eql('history');
  });

  it('has a `userOperation` method', function() {
    expect(History.userOperation).to.be.a('function');
  });

  it('has a `processInstance` method', function() {
    expect(History.processInstance).to.be.a('function');
  });

  it('has a `processInstanceCount` method', function() {
    expect(History.processInstanceCount).to.be.a('function');
  });

  it('has a `decisionInstance` method', function() {
    expect(History.decisionInstance).to.be.a('function');
  });

  it('has a `decisionInstanceCount` method', function() {
    expect(History.decisionInstanceCount).to.be.a('function');
  });

  it('has a `batch` method', function() {
    expect(History.batch).to.be.a('function');
  });

  it('has a `singleBatch` method', function() {
    expect(History.singleBatch).to.be.a('function');
  });

  it('has a `batchCount` method', function() {
    expect(History.batchCount).to.be.a('function');
  });

  it('has a `batchDelete` method', function() {
    expect(History.batchDelete).to.be.a('function');
  });

  it('has a `report` method', function() {
    expect(History.report).to.be.a('function');
  });

  it('has a `reportAsCsv` method', function() {
    expect(History.reportAsCsv).to.be.a('function');
  });

  it('has a `taskDurationReport` method', function() {
    expect(History.taskDurationReport).to.be.a('function');
  });

  it('has a `taskReport` method', function() {
    expect(History.taskReport).to.be.a('function');
  });

  it('has a `task` method', function() {
    expect(History.task).to.be.a('function');
  });

  it('has a `taskCount` method', function() {
    expect(History.taskCount).to.be.a('function');
  });

  it('has a `drdStatistics` method', function() {
    expect(History.drdStatistics).to.be.a('function');
  });

  xit('has a `resolve` method', function() {
    expect(History.resolve).to.be.a('function');
  });

  xit('has a `complete` method', function() {
    expect(History.complete).to.be.a('function');
  });

  xdescribe('instance', function() {
    var instance;

    it('does not blow when instatiating', function() {
      expect(function() {
        instance = new History();
        console.info('instance', instance);
      }).not.to.throw();
    });
  });
});


text:
using System;
using System.Collections;
#if CLR_2_0 || CLR_4_0
using System.Collections.Generic;
#endif

namespace NUnit.Framework.Constraints.Tests
{
    [TestFixture]
    public class LessThanOrEqualConstraintTests : ComparisonConstraintTest
    {
        [SetUp]
        public void SetUp()
        {
            theConstraint = comparisonConstraint = new LessThanOrEqualConstraint(5);
            expectedDescription = "less than or equal to 5";
            stringRepresentation = "<lessthanorequal 5>";
        }

        internal object[] SuccessData = new object[] { 4, 5 };

        internal object[] FailureData = new object[] { new object[] { 6, "6" } };

        internal object[] InvalidData = new object[] { null, "xxx" };

        [Test]
        public void CanCompareIComparables()
        {
            ClassWithIComparable expected = new ClassWithIComparable(42);
            ClassWithIComparable actual = new ClassWithIComparable(0);
            Assert.That(actual, Is.LessThanOrEqualTo(expected));
        }

#if CLR_2_0 || CLR_4_0
        [Test]
        public void CanCompareIComparablesOfT()
        {
            ClassWithIComparableOfT expected = new ClassWithIComparableOfT(42);
            ClassWithIComparableOfT actual = new ClassWithIComparableOfT(0);
            Assert.That(actual, Is.LessThanOrEqualTo(expected));
        }
#endif
    }
}


text:
package com.querydsl.sql;

import static org.junit.Assert.assertEquals;

import java.sql.Connection;

import org.easymock.EasyMock;
import org.junit.Before;
import org.junit.Test;

import com.querydsl.core.JoinFlag;
import com.querydsl.sql.domain.QSurvey;

public class JoinFlagsTest {

    private Connection connection = EasyMock.createMock(Connection.class);

    private QSurvey s1, s2, s3, s4, s5, s6;

    private SQLQuery query;

    @Before
    public void setUp() {
        s1 = new QSurvey("s");
        s2 = new QSurvey("s2");
        s3 = new QSurvey("s3");
        s4 = new QSurvey("s4");
        s5 = new QSurvey("s5");
        s6 = new QSurvey("s6");
        query = new SQLQuery(connection,SQLTemplates.DEFAULT);
        query.from(s1);
    }

    @Test
    public void JoinFlags_BeforeCondition() {
        query.innerJoin(s2).on(s1.eq(s2));
        query.addJoinFlag(" a ", JoinFlag.Position.BEFORE_CONDITION);

        assertEquals("from SURVEY s\n" +
                "inner join SURVEY s2 a \n" +
                "on s.ID = s2.ID", query.toString());
    }

    @Test
    public void JoinFlags_BeforeTarget() {
        query.innerJoin(s3).on(s1.eq(s3));
        query.addJoinFlag(" b ", JoinFlag.Position.BEFORE_TARGET);

        assertEquals("from SURVEY s\n" +
                "inner join  b SURVEY s3\n" +
                "on s.ID = s3.ID", query.toString());
    }

    @Test
    public void JoinFlags_End() {
        query.innerJoin(s4).on(s1.eq(s4));
        query.addJoinFlag(" c ", JoinFlag.Position.END);

        assertEquals("from SURVEY s\n" +
                "inner join SURVEY s4\n" +
                "on s.ID = s4.ID c", query.toString());
    }

    @Test
    public void JoinFlags_Override() {
        query.innerJoin(s5).on(s1.eq(s5));
        query.addJoinFlag(" d ", JoinFlag.Position.OVERRIDE);

        assertEquals("from SURVEY s d SURVEY s5\n" +
                "on s.ID = s5.ID", query.toString());
    }

    @Test
    public void JoinFlags_Start() {
        query.innerJoin(s6).on(s1.eq(s6));
        query.addJoinFlag(" e ", JoinFlag.Position.START);

        assertEquals("from SURVEY s e \n" +
                "inner join SURVEY s6\n" +
                "on s.ID = s6.ID", query.toString());
    }

}


text:
> Mock proposal:
>
> *(Written from the point of view of a student who has done their research, perhaps asking around in IRC and/or sifting through the spec/code. The actual project doesn't need to match this, though hopefully this proposal will be useful to the student who will finally be working on this, if any)*

### Personal Details

-   ...

### Project Proposal

> I wish to work on improving form support in Servo. I shall be implementing the following features:

-   [Form validation](https://html.spec.whatwg.org/multipage/forms.html#constraints) (minlength/maxlength/size/required/pattern/min/max)

-   Form controls:

    -   select, option, optgroup: These can be implemented as tables, to bring us limited functionality.

    -   label: This requires some[ activation hooks](https://html.spec.whatwg.org/multipage/forms.html#the-label-element), which can be added by implementing Activatable similar to[ htmlinputelement.rs](http://mxr.mozilla.org/servo/source/components/script/dom/htmlinputelement.rs#612)

    -   Improving existing ones: I could create better-looking widgets for radio buttons, buttons, and checkboxes via CSS

    -   datalist: If I get time, I can try to add table-based datalist support too. The UI code might also be useful for providing limited autocompletion support

-   File uploads:

    -   Support basic[ ](http://dev.w3.org/2006/webapi/FileAPI/#dfn-Blob)[*Blob*](http://dev.w3.org/2006/webapi/FileAPI/#dfn-Blob) and[ ](http://dev.w3.org/2006/webapi/FileAPI/#dfn-file)[*File*](http://dev.w3.org/2006/webapi/FileAPI/#dfn-file) interfaces that are able to contain data. These can then be passed around internally; there is no need for advanced[ file reading](http://dev.w3.org/2006/webapi/FileAPI/#reading-data-section) . File names and an internal API for accessing the data is enough.

    -   If there is time, support[ ](http://dev.w3.org/2006/webapi/FileAPI/#dfn-filereader)[*FileReader*](http://dev.w3.org/2006/webapi/FileAPI/#dfn-filereader).

    -   Add support for proper[ ](http://localhost:8000/multipage/forms.html#multipart/form-data-encoding-algorithm)[multipart/form-data](http://localhost:8000/multipage/forms.html#multipart/form-data-encoding-algorithm) serialization, implementing[ ](http://tools.ietf.org/html/rfc2388)[*RFC 2388*](http://tools.ietf.org/html/rfc2388)*.* I may only focus on UTF8 encoding and expand to other encodings if there is time.

    -   Support a basic File upload widget; which looks like a text input. Dialog support is not a part of this project. Improve the submission algorithm in[ ](http://mxr.mozilla.org/servo/source/components/script/dom/htmlformelement.rs)[*htmlformelement.rs*](http://mxr.mozilla.org/servo/source/components/script/dom/htmlformelement.rs) to support this.

-   Improved editing for text controls:

    -   Basic keyboard shortcuts: Ctrl-A, Ctrl-V, Ctrl-C.

    -   Caret support. Initially this can just be a phantom pipe char in the text field, if there is time we can try to integrate this better into layout.

    -   If there is time, support for moving the caret by click

    -   If there is time, advanced selection support.

    -   *I wonder how this will interact with bidi and the rest. Though that's way out of scope for gsoc.*

-   Tests: Add tests to[ web-platform-tests](https://github.com/w3c/web-platform-tests/) wherever missing

    -   *We'll probably need to figure out a way to properly test stuff like activation; this might also be out of scope of gsoc since it can't be done with regular javascript.*

> *It would probably be nice to get spec-complete form owner support as well in this project. However this isn't something that would make sense in the proposal (too obscure/technical — a student won't be aware of the issue whilst writing the proposal), but I think it would be a fun side-adventure for the student halfway through the project. It involves discussing the spec with Hixie and figuring out how h5e handles the "in a form" state, and then figuring out a way to track form owners efficiently (the spec seems to want us to update form owners on every DOM mutation).*

### Schedule of Deliverables

> The coding period is around 12-13 weeks. Since most tests are already written, most weeks will involve testing code written that week even if not explicitly mentioned.

-   Week 1:

    -   Work on reading the[ HTML Forms spec](http://localhost:8000/multipage/forms.html), and comparing it with existing code.

    -   Read through[ ](https://mxr.mozilla.org/servo/source/components/script/dom/activation.rs)[*activation.rs*](https://mxr.mozilla.org/servo/source/components/script/dom/activation.rs),[ ](http://mxr.mozilla.org/servo/source/components/script/dom/htmlinputelement.rs)[*htmlinputelement.rs*](http://mxr.mozilla.org/servo/source/components/script/dom/htmlinputelement.rs),[ ](http://mxr.mozilla.org/servo/source/components/script/dom/htmlformelement.rs)[*htmlformelement.rs*](http://mxr.mozilla.org/servo/source/components/script/dom/htmlformelement.rs),[ ](http://mxr.mozilla.org/servo/source/components/script/textinput.rs)[*textinput.rs*](http://mxr.mozilla.org/servo/source/components/script/textinput.rs).

-   Week 2:

    -   Start work on form validation. Add the relevant attributes to the webidl for *\<form\>*, *\<input\>*, and the other widgets. Add a basic[ constraint validation](http://localhost:8000/multipage/forms.html#constraints) method that validates a select few of the constraints. Hook it up to[ ](http://localhost:8000/multipage/forms.html#the-form-element:statically-validate-the-constraints)[*checkValidity()*](http://localhost:8000/multipage/forms.html#the-form-element:statically-validate-the-constraints).

        -   *I feel that this is a good thing to start with since it gives a nice introduction to introducing new DOM attributes and manipulating them.*

    -   Fill in the implementation of [*Blob*](http://dev.w3.org/2006/webapi/FileAPI/#dfn-Blob) and[ ](http://dev.w3.org/2006/webapi/FileAPI/#dfn-file)[*File*](http://dev.w3.org/2006/webapi/FileAPI/#dfn-file) with stubs for the attributes we need.

        -   *The constructor needs sequence\<\> webidl support which we don't have right now IIRC, but I think we can add it by gsoc. It's not really necessary for this project either way.*

            -   *Not sure about it being easy; the correct implementation uses for..of iteration through a C++ class.*

    -   Finish reading the forms spec.

-   Week 3:

    -   Add more constraints to the validation algorithm.

    -   Add the[ ](http://localhost:8000/multipage/forms.html#dom-cva-validity)[*ValidityState*](http://localhost:8000/multipage/forms.html#dom-cva-validity) interface and support some of the attributes (not necessarily the methods)

    -   Add simple[ interactive reporting](http://localhost:8000/multipage/forms.html#interactively-validate-the-constraints) of errors, perhaps by scrolling the user to the element.

    -   Read through [*RFC 2388*](http://tools.ietf.org/html/rfc2388) and get a rough idea of how form data serialization is to be done

-   Week 4:

    -   Add support for Blob/File to contain data or have a reference to the file.

        -   *We are*[ ](http://dev.w3.org/2006/webapi/FileAPI/#file)[**allowed to**](http://dev.w3.org/2006/webapi/FileAPI/#file) *skip snapshotting the file, though we probably should maintain a snapshot depending on what other browsers do*

    -   Start looking into how select/option can be styled.

    -   Write basic[ ](http://localhost:8000/multipage/forms.html#htmlselectelement)[*\<select\>*](http://localhost:8000/multipage/forms.html#htmlselectelement)/[*\<option\>*](http://localhost:8000/multipage/forms.html#htmloptionelement) webidls, copying/sharing most of the method implementations from \<input\> wherever possible.

    -   Work more on validity if there is time

-   Week 5:

    -   Write a proper[ ](http://localhost:8000/multipage/forms.html#multipart/form-data-encoding-algorithm)[*multipart/form-data*](http://localhost:8000/multipage/forms.html#multipart/form-data-encoding-algorithm) serialization algorithm.

    -   Add support for[ ](http://localhost:8000/multipage/forms.html#htmllabelelement)[*\<label\>*](http://localhost:8000/multipage/forms.html#htmllabelelement)*,* along with the activation hooks.

    -   If there is time, try adding a table-based widget for [*\<select\>*](http://localhost:8000/multipage/forms.html#htmlselectelement)/[*\<option\>*](http://localhost:8000/multipage/forms.html#htmloptionelement)[](http://localhost:8000/multipage/forms.html#htmloptionelement)

-   Week 6:

    -   Finish widgets for [*\<select\>*](http://localhost:8000/multipage/forms.html#htmlselectelement)/[*\<option\>*](http://localhost:8000/multipage/forms.html#htmloptionelement)[](http://localhost:8000/multipage/forms.html#htmloptionelement)

        -   *Basically, layout will be asked to treat these as tables of a certain kind. The student need not add dropdown support, a simple table showing all the options is enough (preferably with a scrollbar, if that's doable in CSS).*

    -   Create some better CSS for existing widgets, and start using them.

        -   *The challenge here is in writing these in CSS that we support, and still having them look decent. Hopefully we'll have better CSS support by this time anyway; though looking at the styled buttons on GitHub in Servo we already support enough CSS for this.*

-   Week 7:

    -   Implement the form submission algorithm for[ ](http://localhost:8000/multipage/forms.html#multipart/form-data-encoding-algorithm)[*multipart/form-data*](http://localhost:8000/multipage/forms.html#multipart/form-data-encoding-algorithm) . Hook it up to regular form submission.

        -   *The web isn't supposed to be able to mess with form uploads so testing will be hard. Since we're just using a text input, we can temporarily write content tests for this until we figure out how to properly test things that are hidden to Javascript.*

            -   *As*ide: *if we* are *exposing form uploads to javascript, perhaps we should be marking this as a testing-only feature or something so that this doesn't compromise the security of dogfooders and users of the "mobile Wikipedia browser" if we get to making that happen.*

    -   Start looking into how to add caret support

-   Week 8:

    -   Finish up remaining bits of validation, if any

    -   Learn how to hook into the clipboard for copy/paste functionality

    -   Polish up existing selection support if necessary (internals, not UI)

    -   Add support for Ctrl-A

-   Week 9:

    -   Add support for Ctrl-C, Ctrl-V

        -   *Might be hard to hook into the clipboard cross-platform, so this might take longer*

    -   Add caret support as a simple rendered pipe, or as something more sophisticated if possible in the timeframe.

-   Week 10:

    -   Look into adding the ability to set caret position based on click

    -   Look into adding styling for \<optgroup\>

    -   Fill in more parts of the File spec

-   Week 11:

    -   Look into support for visible selections

    -   Work on fixing any web-platform-test failures related to my code

-   Week 12:

    -   Polish up and document remaining code

    -   Continue to work on tests

### Open Source Development Experience

> None

### Work/Internship Experience

> None

### Academic Experience

> I have a bachelor's degree in multiplication by 3.

### Why Me

> I am awesome.

### Why Mozilla

> Cake.
>
> Random notes:

-   Chromium widget theming:[ ](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/rendering/RenderThemeChromiumMac.mm)[*https://code.google.com/p/chromium/codesearch\#chromium/src/third\_party/WebKit/Source/core/rendering/RenderThemeChromiumMac.mm*](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/rendering/RenderThemeChromiumMac.mm)

-   mrobinson says that OS-specific theming is a nightmare


text:
package designer.ui.editor.element;

import javax.swing.*;
import java.awt.*;

/**
 *  Created by Tomas Hanus on 4/15/2015.
 */
public class FailElement extends Element {
    private final int WIDTH = 50;
    private final int HEIGHT = 50;
    public static final String TYPE = "Fail";

    public FailElement(Point point) {
        super(point);
    }

    public FailElement() {
        super();
    }

    @Override
    public int getWidth() {
        return WIDTH;
    }

    @Override
    public int getHeight() {
        return HEIGHT;
    }

    @Override
    public void draw(Graphics g) {
        ImageIcon i;
        if (getZoom() == 60) i = new ImageIcon(getClass().getResource("/designer/resources/Fail50.png"));
        else if (getZoom() == 80) i = new ImageIcon(getClass().getResource("/designer/resources/Fail50.png"));
        else i = new ImageIcon(getClass().getResource("/designer/resources/Fail50.png"));
        Image img = i.getImage();
        g.drawImage(img, (int) super.getPosition().getX() - ((int) (WIDTH * getZoom() / 100) / 2), (int) super.getPosition().getY() - ((int) (HEIGHT * getZoom() / 100) / 2), null);
    }

    @Override
    public boolean canAdd(String possibleChild) {
        return false;
    }

    @Override
    public boolean canAddTransitionElement(Element transitionElement) {
        return false;
    }

    @Override
    public String getType() {
        return this.TYPE;
    }
}


text:
layout: model
title: Fast and Accurate Language Identification - 21 Languages (BIGRU)
author: John Snow Labs
name: ld_tatoeba_bigru_21
date: 2020-12-05
task: Language Detection
language: xx
edition: Spark NLP 2.7.0
spark_version: 2.4
tags: [language_detection, open_source, xx]
supported: true
annotator: LanguageDetectorDL
article_header:
type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Language detection and identification is the task of automatically detecting the language(s) present in a document based on the content of the document. ``LanguageDetectorDL`` is an annotator that detects the language of documents or sentences depending on the ``inputCols``. In addition, ``LanguageDetetorDL`` can accurately detect language from documents with mixed languages by coalescing sentences and select the best candidate.

We have designed and developed Deep Learning models using BiGRU architectures in TensorFlow/Keras. The model is trained on Tatoeba dataset with high accuracy evaluated on the Europarl dataset. The output is a language code in Wiki Code style: [https://en.wikipedia.org/wiki/List_of_Wikipedias](https://en.wikipedia.org/wiki/List_of_Wikipedias)

This model can detect the following languages:

`Bulgarian`, `Czech`, `Danish`, `German`, `Greek`, `English`, `Estonian`, `Finnish`, `French`, `Hungarian`, `Italian`, `Lithuanian`, `Latvian`, `Dutch`, `Polish`, `Portuguese`, `Romanian`, `Slovak`, `Slovenian`, `Spanish`, `Swedish`.

## Predicted Entities

`bg`, `cs`, `da`, `de`, `el`, `en`, `et`, `fi`, `fr`, `hu`, `it`, `lt`, `lv`, `nl`, `pl`, `pt`, `ro`, `sk`, `sl`, `es`, `sv`.

{:.btn-box}
<button class="button button-orange" disabled>Live Demo</button>
[Open in Colab](https://githubtocolab.com/JohnSnowLabs/spark-nlp-workshop/blob/master/jupyter/annotation/english/language-detection/Language_Detection_and_Indentification.ipynb){:.button.button-orange.button-orange-trans.co.button-icon}
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/ld_tatoeba_bigru_21_xx_2.7.0_2.4_1607183021248.zip){:.button.button-orange.button-orange-trans.arr.button-icon}

## How to use

<div class="tabs-box" markdown="1">
{% include programmingLanguageSelectScalaPythonNLU.html %}

```python
...
language_detector = LanguageDetectorDL.pretrained("ld_tatoeba_bigru_21", "xx")\
.setInputCols(["sentence"])\
.setOutputCol("language")
languagePipeline = Pipeline(stages=[documentAssembler, sentenceDetector, language_detector])
light_pipeline = LightPipeline(languagePipeline.fit(spark.createDataFrame([['']]).toDF("text")))
result = light_pipeline.fullAnnotate("Spark NLP est une bibliothèque de traitement de texte open source pour le traitement avancé du langage naturel pour les langages de programmation Python, Java et Scala.")
```

```scala
...
val languageDetector = LanguageDetectorDL.pretrained("ld_tatoeba_bigru_21", "xx")
.setInputCols("sentence")
.setOutputCol("language")
val pipeline = new Pipeline().setStages(Array(documentAssembler, sentenceDetector, languageDetector))
val data = Seq("Spark NLP est une bibliothèque de traitement de texte open source pour le traitement avancé du langage naturel pour les langages de programmation Python, Java et Scala.").toDF("text")
val result = pipeline.fit(data).transform(data)
```

{:.nlu-block}
```python
import nlu

text = ["Spark NLP est une bibliothèque de traitement de texte open source pour le traitement avancé du langage naturel pour les langages de programmation Python, Java et Scala."]
lang_df = nlu.load('xx.classify.wiki_21.bigru').predict(text, output_level='sentence')
lang_df
```

</div>

## Results

```bash
'fr'
```

{:.model-param}
## Model Information

{:.table-model}
|---|---|
|Model Name:|ld_tatoeba_bigru_21|
|Compatibility:|Spark NLP 2.7.0+|
|Edition:|Official|
|Input Labels:|[sentence]|
|Output Labels:|[language]|
|Language:|xx|

## Data Source

Tatoeba

## Benchmarking

```bash
Evaluated on Europarl dataset which the model has never seen:

+--------+-----+-------+------------------+
|src_lang|count|correct|         precision|
+--------+-----+-------+------------------+
|      el| 1000|   1000|               1.0|
|      pt| 1000|   1000|               1.0|
|      fr| 1000|   1000|               1.0|
|      it| 1000|   1000|               1.0|
|      de| 1000|   1000|               1.0|
|      es| 1000|   1000|               1.0|
|      nl| 1000|    999|             0.999|
|      en| 1000|    999|             0.999|
|      da| 1000|    999|             0.999|
|      fi| 1000|    998|             0.998|
|      pl|  914|    906|0.9912472647702407|
|      bg| 1000|    990|              0.99|
|      hu|  880|    870|0.9886363636363636|
|      ro|  784|    773| 0.985969387755102|
|      sv| 1000|    985|             0.985|
|      lt| 1000|    983|             0.983|
|      cs| 1000|    979|             0.979|
|      lv|  916|    896|0.9781659388646288|
|      sk| 1000|    969|             0.969|
|      et|  928|    888|0.9568965517241379|
|      sl|  914|    861|0.9420131291028446|
+--------+-----+-------+------------------+

+-------+--------------------+
|summary|           precision|
+-------+--------------------+
|  count|                  21|
|   mean|  0.9878061255168247|
| stddev|0.015811719210146295|
|    min|  0.9420131291028446|
|    max|                 1.0|
+-------+--------------------+

```


text:
package org.apache.poi.ddf;

import junit.framework.TestCase;

public final class TestEscherBoolProperty extends TestCase {
    public void testToString() {
        EscherBoolProperty p = new EscherBoolProperty((short)1, 1);
        assertEquals("propNum: 1, RAW: 0x0001, propName: unknown, complex: false, blipId: false, value: 1 (0x00000001)", p.toString());
    }
}


text:
<?php

namespace Sse;

/**
 * Event Listener of the messages.
 */
interface Event
{
    /**
     * Check for continue to send event.
     *
     * @return bool
     */
    public function check();

    /**
     * Get Updated Data.
     *
     * @return string
     */
    public function update();
}


text:
package pl.java.scalatech.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@Configuration
@ComponentScan({ "pl.java.scalatech.controller", "pl.java.scalatech.initializer" })
@EnableWebMvc
public class MvcConfig extends WebMvcConfigurerAdapter{

}


text:
#pragma once

/// <summary>
/// The native function to get the version of FASM compiler embedded in Fasm.obj.
/// </summary>
/// <returns>The return valus is a double word containg major version in lower 16 bits, and minor version in the higher 16 bits.</returns>
extern "C" int fasm_GetVersion();
/// <summary>
/// The native function to assemble mnemonics of FASM compiler embedded in Fasm.obj.
/// </summary>
/// <param name="source">The mnemonic to assemble.</param>
/// <param name="lpMemory">The pointer to a buffer used to assemble mnemonics.</param>
/// <param name="memorySize">The memory size allocated for the buffer.</param>
/// <param name="passLimit">The maximum number of pass to perform.</param>
/// <returns>The return value is a <see cref="FasmResults"> enumeration.</returns>
extern "C" int fasm_Assemble(char* szSource, byte* lpMemory, int nSize, int nPassesLimit, void* hDisplayPipe);


text:
from fabric.api import (
    local,
    run,
)
from fabric.context_managers import shell_env

from lib.error import TaskError

def _db_host(site_info):
    result = ''
    if site_info.db_host:
        result = ' --host={} '.format(site_info.db_host)
    return result

def _pg_data_database(site_info):
    result = {}
    if site_info.db_pass:
        result.update(dict(PGPASSWORD=site_info.db_pass))
    return result

def _pg_data_postgres(site_info):
    result = {}
    if site_info.postgres_pass:
        result.update(dict(PGPASSWORD=site_info.postgres_pass))
    return result

def _result_true_or_false(out):
    result = False
    if int(out) == 1:
        result = True
    elif int(out) == 0:
        result = False
    else:
        message = "Cannot work out if 'local_database_exists': {}".format(out)
        raise TaskError(message)
    return result

def _sql_user_create(user_name, password):
    return (
        "CREATE ROLE {} WITH PASSWORD '{}' "
        "NOSUPERUSER CREATEDB NOCREATEROLE LOGIN".format(user_name, password)
    )

def _sql_database_create(database_name, table_space):
    parameter = ''
    if table_space:
        print(yellow("using block storage - table space: {}".format(table_space)))
        parameter = 'TABLESPACE={}'.format(table_space)
    return (
        "CREATE DATABASE {} "
        "TEMPLATE=template0 ENCODING='utf-8' {};".format(database_name, parameter)
    )

def _sql_database_exists(database_name):
    return "SELECT COUNT(*) FROM pg_database WHERE datname='{}'".format(
        database_name
    )

def _sql_database_owner(database_name, user_name):
    return "ALTER DATABASE {} OWNER TO {}".format(database_name, user_name)

def _sql_drop_database(database_name):
    return "DROP DATABASE {}".format(database_name)

def _sql_drop_user(user_name):
    return "DROP ROLE {}".format(user_name)

def _sql_reassign_owner(from_user_name, to_user_name):
    return "REASSIGN OWNED BY {} TO {}".format(from_user_name, to_user_name)

def _sql_user_exists(user_name):
    return "SELECT COUNT(*) FROM pg_user WHERE usename = '{}'".format(
        user_name
    )

def _run_local(sql, database_name=None):
    database = ''
    if database_name:
        database = '-d {}'.format(database_name)
    local('psql -X -U postgres {} -c "{}"'.format(database, sql))

def _run_local_psycopg2(sql):
    import psycopg2
    conn = psycopg2.connect('dbname={0} user={0}'.format('postgres'))
    cursor = conn.cursor()
    cursor.execute(sql)
    return cursor.fetchone()

def _run_remote(site_info, sql):
    """Run a remote command as the 'postgres' user.

    We need the 'postgres' user to create a role or database.
    """
    pg_data = _pg_data_postgres(site_info)
    with shell_env(**pg_data):
        result = run('psql -X {} -U postgres -t -A -c "{}"'.format(
            _db_host(site_info),
            sql,
        ))
    return result

def _run_remote_as_user(site_info, sql):
    """Run a remote command as the user of the database.

    We need to log into the database as the owner to delete the database.
    """
    pg_data = _pg_data_database(site_info)
    with shell_env(**pg_data):
        result = run('psql -X {} -U {} -d postgres -t -A -c "{}"'.format(
            _db_host(site_info),
            site_info.db_name,
            sql,
        ))
    return result

def database_name(site_info, workflow=None):
    if workflow:
        database_name = site_info.db_name_workflow
    else:
        database_name = site_info.db_name
    return database_name

def drop_local_database(database_name):
    sql = _sql_drop_database(database_name)
    _run_local(sql)

def drop_remote_database(site_info, workflow):
    sql = _sql_drop_database(database_name(site_info, workflow))
    _run_remote_as_user(site_info, sql)

def drop_remote_user(site_info):
    sql = _sql_drop_user(site_info.db_name)
    _run_remote(site_info, sql)

def local_database_create(database_name):
    sql = _sql_database_create(database_name, None)
    _run_local(sql)

def local_database_exists(database_name):
    sql = _sql_database_exists(database_name)
    result = _run_local_psycopg2(sql)
    return _result_true_or_false(result[0])

def local_load_file(database_name, file_name):
    local(
        "psql -X --set ON_ERROR_STOP=on -U postgres -d {0} --file {1}".format(
            database_name,
            file_name,
        ),
        capture=True,
    )

def local_reassign_owner(database_name, from_user_name, to_user_name):
    sql = _sql_reassign_owner(from_user_name, to_user_name)
    _run_local(sql, database_name)

def local_user_create(site_info):
    sql = _sql_user_create(site_info.db_name, site_info.db_name)
    _run_local(sql)

def local_user_exists(site_info):
    sql = _sql_user_exists(site_info.db_name)
    result = _run_local_psycopg2(sql)
    return _result_true_or_false(result[0])

def remote_database_create(site_info, table_space, workflow=None):
    db_name = database_name(site_info, workflow)
    sql = _sql_database_create(db_name, table_space)
    _run_remote(site_info, sql)
    # amazon rds the 'postgres' user sets the owner (after the database is created)
    sql = _sql_database_owner(db_name, site_info.db_name)
    _run_remote(site_info, sql)

def remote_database_exists(site_info, workflow=None):
    db_name = database_name(site_info, workflow)
    sql = _sql_database_exists(db_name)
    result = _run_remote(site_info, sql)
    return _result_true_or_false(result)

def remote_user_create(site_info):
    """Create the user role for the database."""
    sql = _sql_user_create(site_info.db_name, site_info.db_pass)
    _run_remote(site_info, sql)

def remote_user_exists(site_info):
    sql = _sql_user_exists(site_info.db_name)
    result = _run_remote(site_info, sql)
    return _result_true_or_false(result)


text:
using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Skybrud.Essentials.Http;
using Skybrud.Essentials.Http.Client;
using Skybrud.Social.GitHub.OAuth;

namespace Skybrud.Social.GitHub.GraphQl {

    ///
    /// Class representing the raw GraphQL endpoint.
    ///
    public class GraphQlRawEndpoint {

        #region Properties

        ///
        /// Gets a reference to the parent OAuth client.
        ///
        public GitHubOAuthClient Client { get; }

        #endregion

        #region Constructors

        internal GraphQlRawEndpoint(GitHubOAuthClient client) {
            Client = client;
        }

        #endregion

        #region Methods

        ///
        /// Returns a response based on the specified GraphQL <paramref name="query"/>.
        ///
        /// <param name="query">The GraphQL query.</param>
        /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns>
        public IHttpResponse GetResponse(string query) {

            if (string.IsNullOrWhiteSpace(query)) throw new ArgumentNullException(nameof(query));

            JObject body = new() {
                { "query", query }
            };

            return Client.Post("/graphql", body);

        }

        ///
        /// Returns a response based on the specified GraphQL <paramref name="query"/>.
        ///
        /// <param name="query">The GraphQL query.</param>
        /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns>
        public async Task<IHttpResponse> GetResponseAsync(string query) {

            if (string.IsNullOrWhiteSpace(query)) throw new ArgumentNullException(nameof(query));

            JObject body = new() {
                { "query", query }
            };

            return await Client.PostAsync("/graphql", body);

        }

        #endregion

    }

}