text:
namespace ExStation.SubForm
{
    partial class DlgLogin
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.label1 = new System.Windows.Forms.Label();
            this.txtMemberCode = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.txtUserName = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.txtPassword = new System.Windows.Forms.TextBox();
            this.btnOK = new System.Windows.Forms.Button();
            this.btnCancel = new System.Windows.Forms.Button();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.SuspendLayout();
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(47, 26);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(68, 16);
            this.label1.TabIndex = 0;
            this.label1.Text = "รหัสสมาชิก";
            //
            // txtMemberCode
            //
            this.txtMemberCode.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMemberCode.Location = new System.Drawing.Point(121, 23);
            this.txtMemberCode.MaxLength = 15;
            this.txtMemberCode.Name = "txtMemberCode";
            this.txtMemberCode.Size = new System.Drawing.Size(143, 23);
            this.txtMemberCode.TabIndex = 0;
            this.txtMemberCode.TextChanged += new System.EventHandler(this.txtMemberCode_TextChanged);
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(47, 52);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(52, 16);
            this.label2.TabIndex = 0;
            this.label2.Text = "รหัสผู้ใช้";
            //
            // txtUserName
            //
            this.txtUserName.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtUserName.Location = new System.Drawing.Point(121, 49);
            this.txtUserName.MaxLength = 15;
            this.txtUserName.Name = "txtUserName";
            this.txtUserName.Size = new System.Drawing.Size(143, 23);
            this.txtUserName.TabIndex = 1;
            this.txtUserName.TextChanged += new System.EventHandler(this.txtUserName_TextChanged);
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(47, 78);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(52, 16);
            this.label3.TabIndex = 0;
            this.label3.Text = "รหัสผ่าน";
            //
            // txtPassword
            //
            this.txtPassword.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtPassword.Location = new System.Drawing.Point(121, 75);
            this.txtPassword.MaxLength = 15;
            this.txtPassword.Name = "txtPassword";
            this.txtPassword.PasswordChar = '*';
            this.txtPassword.Size = new System.Drawing.Size(143, 23);
            this.txtPassword.TabIndex = 2;
            this.txtPassword.TextChanged += new System.EventHandler(this.txtPassword_TextChanged);
            //
            // btnOK
            //
            this.btnOK.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.btnOK.Location = new System.Drawing.Point(105, 115);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new System.Drawing.Size(83, 31);
            this.btnOK.TabIndex = 3;
            this.btnOK.Text = "ตกลง";
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
            //
            // btnCancel
            //
            this.btnCancel.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(194, 115);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(83, 31);
            this.btnCancel.TabIndex = 4;
            this.btnCancel.Text = "ยกเลิก";
            this.btnCancel.UseVisualStyleBackColor = true;
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.ForeColor = System.Drawing.Color.Gray;
            this.label4.Location = new System.Drawing.Point(266, 26);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(88, 16);
            this.label4.TabIndex = 0;
            this.label4.Text = "Member Code";
            //
            // label5
            //
            this.label5.AutoSize = true;
            this.label5.ForeColor = System.Drawing.Color.Gray;
            this.label5.Location = new System.Drawing.Point(266, 52);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(50, 16);
            this.label5.TabIndex = 0;
            this.label5.Text = "User ID";
            //
            // label6
            //
            this.label6.AutoSize = true;
            this.label6.ForeColor = System.Drawing.Color.Gray;
            this.label6.Location = new System.Drawing.Point(266, 78);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(93, 16);
            this.label6.TabIndex = 0;
            this.label6.Text = "User Password";
            //
            // DlgLogin
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(384, 161);
            this.Controls.Add(this.btnCancel);
            this.Controls.Add(this.btnOK);
            this.Controls.Add(this.txtPassword);
            this.Controls.Add(this.txtUserName);
            this.Controls.Add(this.txtMemberCode);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label1);
            this.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.KeyPreview = true;
            this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "DlgLogin";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "เข้าระบบ / Login";
            this.Load += new System.EventHandler(this.DlgLogin_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox txtMemberCode;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox txtUserName;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox txtPassword;
        private System.Windows.Forms.Button btnOK;
        private System.Windows.Forms.Button btnCancel;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label6;
    }
}


text:
<?xml version="1.0" encoding="utf-8"?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="zend.search.lucene.java-lucene"><info><title>Agir avec Lucene Java</title></info>

    <section xml:id="zend.search.lucene.index-creation.file-formats"><info><title>Formats de fichier</title></info>

        <para>
            Les formats des fichiers d'index de <classname>Zend_Search_Lucene</classname> sont
            compatibles avec la version de Lucene Java 1.4 ou plus.
        </para>

        <para>
            Une description détaillée de ce format est disponible ici: <uri xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://lucene.apache.org/java/2_3_0/fileformats.html">http://lucene.apache.org/java/2_3_0/fileformats.html</uri>
            <footnote>
            <para>
                La version du format de fichier supporté actuellement est la 2.3 (depuis
                Zend Framework 1.6).
            </para>
            </footnote>.
        </para>
    </section>

    <section xml:id="zend.search.lucene.index-creation.index-directory"><info><title>Répertoire Index</title></info>

        <para>
            Après la création de l'index, le répertoire d'index contiendra plusieurs
            fichiers:
        </para>

        <itemizedlist>
            <listitem>
                <para>
                    le fichier des <filename>segments</filename> est une liste des segments de
                    l'index.
                </para>
            </listitem>

            <listitem>
                <para>
                    Les fichiers <filename>*.cfs</filename> contiennent les segments de
                    l'index. Notez qu'un index optimisé a toujours un seul segment.
                </para>
            </listitem>

            <listitem>
                <para>
                    Les fichiers <filename>effaçables</filename> sont des fichiers qui ne sont
                    plus utilisés par l'index, mais qui n'ont pas pu être supprimés.
                </para>
            </listitem>
        </itemizedlist>
    </section>

    <section xml:id="zend.search.lucene.java-lucene.source-code"><info><title>Code source Java</title></info>

        <para>
            Le programme Java ci-après montre comment indexer un fichier en utilisant Java
            Lucene :
        </para>

        <programlisting language="java"><![CDATA[
/**
* Index creation:
*/
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.document.*;

import java.io.*

...

IndexWriter indexWriter = new IndexWriter("/data/my_index",
                                          new SimpleAnalyzer(), true);

...

String filename = "/path/to/file-to-index.txt"
File f = new File(filename);

Document doc = new Document();
doc.add(Field.Text("path", filename));
doc.add(Field.Keyword("modified",DateField.timeToString(f.lastModified())));
doc.add(Field.Text("author", "unknown"));
FileInputStream is = new FileInputStream(f);
Reader reader = new BufferedReader(new InputStreamReader(is));
doc.add(Field.Text("contents", reader));

indexWriter.addDocument(doc);
]]></programlisting>
    </section>
</section>

redpajama_set_name: RedPajamaGithub


text:
import os
import datetime
from shutil import copyfile
from shutil import rmtree
import subprocess
import time
import sys
from prms import netcdf_to_data
from prms import netcdf_to_parameter
from prms import animation_to_netcdf
from prms import prmsout_to_netcdf
from prms import statvar_to_netcdf

#from pyee import EventEmitter

# GLOBALS
PRMS_RUN_DIR = '/tmp/prms_runs'
PRMS_TMP_DIR = '/tmp/prms_tmp'
CONTROL_SEPERATOR = '####'
CONTROL_VAR_TYPES = {1: 'int', 2: 'float', 3: '???', 4: 'string'}
CONTROL_VAR_TYPES_INV = {v: k for k, v in CONTROL_VAR_TYPES.items()}
SLEEP_TIME = 5
FINISH_LINE = 'INFORMATION: Normal completion of PRMS'

def execute(directory, command, log_path=None, event_emitter=None, *args, **kwargs):
    '''
    This calls the underlying model command from the directory specified.
    It is assumed that the directory has the structure:
    directory:
        - input
            - somename.data
            - somename.param
        - output
        - somename.control
    '''
    if not log_path:
        print 'NO log file provided!'
        log_path = '/dev/null'
    if not os.path.exists(os.path.dirname(log_path)):
        os.makedirs(os.path.dirname(log_path))

    #process_out = open(log_path, 'w')
    #devnull = None
    #if event_emitter:
    #    print 'emitter exists'
    with open(log_path, 'wb') as process_out, open(log_path, 'rb', 1) as reader:
        process = subprocess.Popen(
            command, stdout=process_out, stderr=process_out, cwd=directory)
        #retcode = process.wait()
        while process.poll() is None:
            data  = reader.read()

            if data and event_emitter:
                #print 'emitting'
                kwargs['event_name'] = 'running_prms'
                kwargs['event_description'] = data
                kwargs['progress_value'] = 0
                event_emitter.emit('progress', **kwargs)
        data  = reader.read()
        if data and event_emitter:
            #print 'emitting'
            kwargs['event_name'] = 'running_prms'
            kwargs['event_description'] = data
            kwargs['progress_value'] = 0
            event_emitter.emit('progress', **kwargs)
            # sys.stdout.write()
            #time.sleep(SLEEP_TIME)
    if log_path:
        with open(log_path) as log:
            if FINISH_LINE in log.read():
                return True
            else:
                return False

    return True

def parse_control(control_in):
    '''
    This function parses a control fille and puts all the data in a python dictionary in the format:
    {
        'header':'The header line',
        'data':{
            'varname':{
                'datatype':0,
                'len':5,
                values:[1,2,3,4,5]
            },
            ...
        }
    }
    '''
    lines = []
    with open(control_in) as f:
        for line in f:
            lines.append(line.strip())
    control_header = lines.pop(0)
    data = {}

    i = 0
    while i < len(lines):
        if CONTROL_SEPERATOR == lines[i]:
            try:
                var_name = lines[i + 1]
                num_vars = int(lines[i + 2])
                var_type = int(lines[i + 3])
                data[var_name] = {
                    'datatype': CONTROL_VAR_TYPES[var_type],
                    'len': num_vars,
                    'values': []
                }

                for j in range(i + 4, i + 4 + num_vars):
                    data[var_name]['values'].append(lines[j])
            except:
                raise Exception(
                    'control file ill formatted.Possible problem at line {0}'.format(i + 1))
        else:
            raise Exception(
                'control file ill formatted.Possible problem at line {0}'.format(i + 1))
        i = i + 4 + num_vars

    return {'header': control_header, 'data': data}

def create_control(control_data, output_path):
    '''
    This function creates a control file from the given control data
    in a python dictionary specified in the function: parse_control(control_in)
    '''
    with open(output_path, 'w') as f:
        if 'header' in control_data:
            f.write(control_data['header'] + '\n')
            data = control_data['data']
        for variable in sorted(data.keys()):
            f.write(CONTROL_SEPERATOR + '\n')
            f.write(variable + '\n')
            f.write(str(data[variable]['len']) + '\n')
            f.write(str(CONTROL_VAR_TYPES_INV[
                    data[variable]['datatype']]) + '\n')
            for d in data[variable]['values']:
                f.write(str(d) + '\n')

def dos2unix(f):
    with open(f, 'rb') as infile:
        content = infile.read()
    with open(f, 'wb') as output:
        for line in content.splitlines():
            output.write(line + b'\n')

def run_prms(prmsdir=None, data_in=None, param_in=None, control_in=None, gsflow_log_path=None,
             log_path=None, event_emitter=None, *args, **kwargs):
    if not (data_in or param_in or control_in):
        return False

    inputdir = os.path.join(prmsdir, 'input')
    outputdir = os.path.join(prmsdir, 'output')

    if not os.path.exists(prmsdir):
        os.makedirs(prmsdir)
        os.makedirs(inputdir)
        os.makedirs(outputdir)

    # copy the files
    control_loc = os.path.join(prmsdir, 'prms.control')
    data_loc = os.path.join(inputdir, 'prms.data')
    param_loc = os.path.join(inputdir, 'prms.param')
    copyfile(control_in, control_loc)
    copyfile(data_in, data_loc)
    copyfile(param_in, param_loc)

    dos2unix(control_loc)
    dos2unix(data_loc)
    dos2unix(param_loc)

    # modify different file loc
    control_vars = parse_control(control_loc)
    control_vars['data']['data_file']['values'] = ['./input/prms.data']
    control_vars['data']['param_file']['values'] = ['./input/prms.param']
    control_vars['data']['stat_var_file']['values'] = ['./output/statvar.dat']
    control_vars['data']['mms_user_dir']['values'] = ['./']
    control_vars['data']['mms_user_out_dir']['values'] = ['./output/']
    control_vars['data']['var_save_file']['values'] = ['./output/prms_ic.out']
    control_vars['data']['stats_output_file'][
        'values'] = ['./output/statvar.dat']
    control_vars['data']['ani_output_file'][
        'values'] = ['./output/animation.out']
    control_vars['data']['csv_output_file']['values'] = ['./output/gsflow.csv']
    control_vars['data']['model_output_file']['values'] = ['./output/prms.out']
    control_vars['data']['gsflow_output_file'][
        'values'] = ['./output/gsflow.out']
    control_vars['data']['param_print_file']['values'] = ['./output/LC.parprt']
    control_vars['data']['model_mode']['values'] = ['PRMS']

    create_control(control_vars, control_loc)

    # now go to the dir
    # os.chdir(prmsdir)
    # and run prms !
    command = ['gsflow', 'prms.control']
    # print 'running model'
    # execute(command)
    output = execute(prmsdir, command, log_path, event_emitter=event_emitter,*args,**kwargs)
    if not output:
        if os.path.exists(log_path):
            log = open(log_path).read()
        raise Exception('Model Run Failed\n'+log)
    # print 'done running model'
    # coution: prms adds nhru extension at the end of animation file name
    # automatically
    output_locs = {
        'ani_output_file': os.path.join(outputdir, 'animation.out.nhru'),
        'model_output_file': os.path.join(outputdir, 'prms.out'),
        'stats_output_file': os.path.join(outputdir, 'statvar.dat'),
        'gsflow_log_file': os.path.join(prmsdir, 'gsflow.log')
    }
    return output, output_locs

def prms(data_path=None, param_path=None, control_path=None, output_path=None,
         animation_path=None, statsvar_path=None,statsvar_txt_path=None,animation_txt_path=None, gsflow_log_path=None, log_path=None, event_emitter=None, *args, **kwargs):

    #print 'running prms'
    kwargs['event_name'] = 'initializing_prms'
    kwargs['event_description'] = 'Initializing PRMS model Run'
    kwargs['progress_value'] = 0
    if event_emitter:
        event_emitter.emit('progress', **kwargs)

    prms_tmp_dir = os.path.join(PRMS_TMP_DIR, str(
        datetime.datetime.now()).replace(' ', ''))
    prmsdir = os.path.join(PRMS_RUN_DIR, str(
        datetime.datetime.now()).replace(' ', ''))

    if not os.path.exists(prms_tmp_dir):
        os.makedirs(prms_tmp_dir)
    data_in = os.path.join(prms_tmp_dir, 'prms.data')
    param_in = os.path.join(prms_tmp_dir, 'prms.param')

    kwargs['event_name'] = 'initializing_prms'
    kwargs['event_description'] = 'Initializing PRMS model Run'
    kwargs['progress_value'] = 100
    if event_emitter:
        event_emitter.emit('progress', **kwargs)

    netcdf_to_data(data_path, data_in, event_emitter=event_emitter, **kwargs)
    netcdf_to_parameter(param_path, param_in,
                        event_emitter=event_emitter, **kwargs)

    kwargs['event_name'] = 'running_prms'
    kwargs['event_description'] = 'Running PRMS model. Progress value for this step is not available. Sit tight and wait!'
    kwargs['progress_value'] = 0
    if event_emitter:
        event_emitter.emit('progress', **kwargs)

    output, output_locs = run_prms(prmsdir=prmsdir, data_in=data_in, param_in=param_in,
                                   control_in=control_path, gsflow_log_path=gsflow_log_path, log_path=log_path, event_emitter=event_emitter, *args, **kwargs)

    kwargs['event_name'] = 'running_prms'
    kwargs['event_description'] = 'Done Running PRMS model'
    kwargs['progress_value'] = 100
    if event_emitter:
        event_emitter.emit('progress', **kwargs)

    if os.path.exists(output_locs['model_output_file']) and output_path:
        copyfile(output_locs['model_output_file'], output_path)
    if os.path.exists(output_locs['ani_output_file']) and animation_txt_path:
        copyfile(output_locs['ani_output_file'], animation_txt_path)
    if os.path.exists(output_locs['stats_output_file']) and statsvar_txt_path:
        copyfile(output_locs['stats_output_file'], statsvar_txt_path)
    '''if os.path.exists(output_locs['model_output_file']):
        prmsout_to_netcdf(output_locs['model_output_file'], output_path,
                          event_emitter=event_emitter, **kwargs)'''

    if gsflow_log_path and os.path.exists(output_locs['gsflow_log_file']):
        copyfile(output_locs['gsflow_log_file'], gsflow_log_path)

    if os.path.exists(output_locs['ani_output_file']):
        animation_to_netcdf(output_locs['ani_output_file'], param_path, animation_path,
                            event_emitter=event_emitter, **kwargs)

    if os.path.exists(output_locs['stats_output_file']):
        statvar_to_netcdf(output_locs['stats_output_file'], statsvar_path,
                          event_emitter=event_emitter, **kwargs)

    kwargs['event_name'] = 'done_prms'
    kwargs['event_description'] = 'Done running prms model'
    kwargs['progress_value'] = 100
    if event_emitter:
        event_emitter.emit('progress', **kwargs)

    # clean up
    rmtree(prmsdir)
    rmtree(prms_tmp_dir)

# from pyee import EventEmitter
# ee = EventEmitter()
# @ee.on('progress')
# def prog(*args,**kwargs):
#     #print kwargs
#     if 'event_description' in kwargs:
#         print kwargs['event_description']
'''
if __name__=="__main__":
    prms(data_path='/home/escenic/prms_chao/run1/LC.data.nc',
        param_path='/home/escenic/prms_chao/run1/LC.param.nc',
        control_path='/home/escenic/prms_chao/run1/LC.control',
        output_path='/home/escenic/prms_chao/run1/prms.out.nc',
        animation_path='/home/escenic/prms_chao/run1/animation.out.nc',
        statsvar_path='/home/escenic/prms_chao/run1/statsvar.out.nc',event_emitter=ee)
    #run_prms_on_nc('/home/escenic/prms_chao/LC.data.nc','/home/escenic/prms_chao/LC.param.nc',
                            '/home/escenic/prms_chao/LC.control',event_emitter=ee)

    prms(data_path='/incline_data_in_nc/data.nc',param_path='/incline_data_in_nc/parameter.nc',
        control_path='/incline_data_in_nc/gsflow_subs.control',animation_path='/prms_out/ani.nc',
        statsvar_path='/prms_out/stat.nc',output_path='/prms_out/out.nc',log_path='/prms_out/log.txt',
        gsflow_log_path='/prms_out/gsflow.log',event_emitter=ee)
'''


text:
<?xml version="1.0" encoding="UTF-8"?>
<billStatus>
  <bill>
    <title>Expressing the sense of the House of Representatives that the Government of the Russian Federation, its officials, security services, and any person or entity within the Russian Federation or associated with the Russian Government, should not interfere, seek to influence, or engage in coercion designed to create an outcome in foreign elections.</title>
    <cosponsors>
      <item>
        <lastName>Roskam</lastName>
        <identifiers>
          <lisID>1848</lisID>
          <gpoId>7926</gpoId>
          <bioguideId>R000580</bioguideId>
        </identifiers>
        <state>IL</state>
        <district>6</district>
        <fullName>Rep. Roskam, Peter J. [R-IL-6]</fullName>
        <isOriginalCosponsor>True</isOriginalCosponsor>
        <middleName>J.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>R000580</bioguideId>
        <party>R</party>
        <firstName>Peter</firstName>
        <sponsorshipDate>2017-03-06</sponsorshipDate>
      </item>
      <item>
        <lastName>Keating</lastName>
        <identifiers>
          <lisID>2025</lisID>
          <gpoId>7975</gpoId>
          <bioguideId>K000375</bioguideId>
        </identifiers>
        <state>MA</state>
        <district>9</district>
        <fullName>Rep. Keating, William R. [D-MA-9]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>R.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>K000375</bioguideId>
        <party>D</party>
        <firstName>William</firstName>
        <sponsorshipDate>2017-03-10</sponsorshipDate>
      </item>
      <item>
        <lastName>Sires</lastName>
        <identifiers>
          <lisID>1818</lisID>
          <gpoId>8055</gpoId>
          <bioguideId>S001165</bioguideId>
        </identifiers>
        <state>NJ</state>
        <district>8</district>
        <fullName>Rep. Sires, Albio [D-NJ-8]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>S001165</bioguideId>
        <party>D</party>
        <firstName>Albio</firstName>
        <sponsorshipDate>2017-03-10</sponsorshipDate>
      </item>
      <item>
        <lastName>MCGOVERN</lastName>
        <identifiers>
          <lisID>1504</lisID>
          <gpoId>7968</gpoId>
          <bioguideId>M000312</bioguideId>
        </identifiers>
        <state>MA</state>
        <district>2</district>
        <fullName>Rep. McGovern, James P. [D-MA-2]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>P.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>M000312</bioguideId>
        <party>D</party>
        <firstName>JAMES</firstName>
        <sponsorshipDate>2017-03-10</sponsorshipDate>
      </item>
      <item>
        <lastName>Espaillat</lastName>
        <identifiers>
          <lisID>2342</lisID>
          <gpoId />
          <bioguideId>E000297</bioguideId>
        </identifiers>
        <state>NY</state>
        <district>13</district>
        <fullName>Rep. Espaillat, Adriano [D-NY-13]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>E000297</bioguideId>
        <party>D</party>
        <firstName>Adriano</firstName>
        <sponsorshipDate>2017-03-10</sponsorshipDate>
      </item>
      <item>
        <lastName>SLAUGHTER</lastName>
        <identifiers>
          <lisID>1069</lisID>
          <gpoId>8089</gpoId>
          <bioguideId>S000480</bioguideId>
        </identifiers>
        <state>NY</state>
        <district>25</district>
        <fullName>Rep. Slaughter, Louise McIntosh [D-NY-25]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>M.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>S000480</bioguideId>
        <party>D</party>
        <firstName>LOUISE</firstName>
        <sponsorshipDate>2017-03-16</sponsorshipDate>
      </item>
      <item>
        <lastName>Grijalva</lastName>
        <identifiers>
          <lisID>1708</lisID>
          <gpoId>7804</gpoId>
          <bioguideId>G000551</bioguideId>
        </identifiers>
        <state>AZ</state>
        <district>3</district>
        <fullName>Rep. Grijalva, Raul M. [D-AZ-3]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>M.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>G000551</bioguideId>
        <party>D</party>
        <firstName>Raul</firstName>
        <sponsorshipDate>2017-03-16</sponsorshipDate>
      </item>
      <item>
        <lastName>Fortenberry</lastName>
        <identifiers>
          <lisID>1793</lisID>
          <gpoId>8038</gpoId>
          <bioguideId>F000449</bioguideId>
        </identifiers>
        <state>NE</state>
        <district>1</district>
        <fullName>Rep. Fortenberry, Jeff [R-NE-1]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>F000449</bioguideId>
        <party>R</party>
        <firstName>Jeff</firstName>
        <sponsorshipDate>2017-03-16</sponsorshipDate>
      </item>
      <item>
        <lastName>ENGEL</lastName>
        <identifiers>
          <lisID>344</lisID>
          <gpoId>8078</gpoId>
          <bioguideId>E000179</bioguideId>
        </identifiers>
        <state>NY</state>
        <district>16</district>
        <fullName>Rep. Engel, Eliot L. [D-NY-16]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>L.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>E000179</bioguideId>
        <party>D</party>
        <firstName>ELIOT</firstName>
        <sponsorshipDate>2017-03-16</sponsorshipDate>
      </item>
      <item>
        <lastName>Schneider</lastName>
        <identifiers>
          <lisID>2124</lisID>
          <gpoId />
          <bioguideId>S001190</bioguideId>
        </identifiers>
        <state>IL</state>
        <district>10</district>
        <fullName>Rep. Schneider, Bradley Scott [D-IL-10]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>Scott</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>S001190</bioguideId>
        <party>D</party>
        <firstName>Bradley</firstName>
        <sponsorshipDate>2017-03-16</sponsorshipDate>
      </item>
      <item>
        <lastName>Kennedy</lastName>
        <identifiers>
          <lisID>2172</lisID>
          <gpoId />
          <bioguideId>K000379</bioguideId>
        </identifiers>
        <state>MA</state>
        <district>4</district>
        <fullName>Rep. Kennedy, Joseph P., III [D-MA-4]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>P.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>K000379</bioguideId>
        <party>D</party>
        <firstName>Joseph</firstName>
        <sponsorshipDate>2017-03-16</sponsorshipDate>
      </item>
      <item>
        <lastName>SCHIFF</lastName>
        <identifiers>
          <bioguideId>S001150</bioguideId>
          <lisID>1635</lisID>
          <gpoId>7834</gpoId>
        </identifiers>
        <state>CA</state>
        <district>28</district>
        <fullName>Rep. Schiff, Adam B. [D-CA-28]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>B.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>S001150</bioguideId>
        <party>D</party>
        <firstName>ADAM</firstName>
        <sponsorshipDate>2017-03-23</sponsorshipDate>
      </item>
      <item>
        <lastName>Hanabusa</lastName>
        <identifiers>
          <lisID>2010</lisID>
          <gpoId>7912</gpoId>
          <bioguideId>H001050</bioguideId>
        </identifiers>
        <state>HI</state>
        <district>1</district>
        <fullName>Rep. Hanabusa, Colleen [D-HI-1]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>H001050</bioguideId>
        <party>D</party>
        <firstName>Colleen</firstName>
        <sponsorshipDate>2017-03-23</sponsorshipDate>
      </item>
      <item>
        <lastName>Sewell</lastName>
        <identifiers>
          <lisID>1988</lisID>
          <gpoId>7792</gpoId>
          <bioguideId>S001185</bioguideId>
        </identifiers>
        <state>AL</state>
        <district>7</district>
        <fullName>Rep. Sewell, Terri A. [D-AL-7]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>A.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>S001185</bioguideId>
        <party>D</party>
        <firstName>Terri</firstName>
        <sponsorshipDate>2017-03-23</sponsorshipDate>
      </item>
      <item>
        <lastName>Kinzinger</lastName>
        <identifiers>
          <lisID>2014</lisID>
          <gpoId>7931</gpoId>
          <bioguideId>K000378</bioguideId>
        </identifiers>
        <state>IL</state>
        <district>16</district>
        <fullName>Rep. Kinzinger, Adam [R-IL-16]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>K000378</bioguideId>
        <party>R</party>
        <firstName>Adam</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>NOLAN</lastName>
        <identifiers>
          <lisID>867</lisID>
          <gpoId />
          <bioguideId>N000127</bioguideId>
        </identifiers>
        <state>MN</state>
        <district>8</district>
        <fullName>Rep. Nolan, Richard M. [D-MN-8]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>N000127</bioguideId>
        <party>D</party>
        <firstName>RICHARD</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Perlmutter</lastName>
        <identifiers>
          <lisID>1835</lisID>
          <gpoId>7865</gpoId>
          <bioguideId>P000593</bioguideId>
        </identifiers>
        <state>CO</state>
        <district>7</district>
        <fullName>Rep. Perlmutter, Ed [D-CO-7]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>P000593</bioguideId>
        <party>D</party>
        <firstName>Ed</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Meng</lastName>
        <identifiers>
          <lisID>2148</lisID>
          <gpoId />
          <bioguideId>M001188</bioguideId>
        </identifiers>
        <state>NY</state>
        <district>6</district>
        <fullName>Rep. Meng, Grace [D-NY-6]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>M001188</bioguideId>
        <party>D</party>
        <firstName>Grace</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>KAPTUR</lastName>
        <identifiers>
          <lisID>616</lisID>
          <gpoId>8099</gpoId>
          <bioguideId>K000009</bioguideId>
        </identifiers>
        <state>OH</state>
        <district>9</district>
        <fullName>Rep. Kaptur, Marcy [D-OH-9]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>K000009</bioguideId>
        <party>D</party>
        <firstName>MARCY</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>MEEKS</lastName>
        <identifiers>
          <lisID>1506</lisID>
          <gpoId>8067</gpoId>
          <bioguideId>M001137</bioguideId>
        </identifiers>
        <state>NY</state>
        <district>5</district>
        <fullName>Rep. Meeks, Gregory W. [D-NY-5]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>W.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>M001137</bioguideId>
        <party>D</party>
        <firstName>GREGORY</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Titus</lastName>
        <identifiers>
          <lisID>1940</lisID>
          <gpoId>7493</gpoId>
          <bioguideId>T000468</bioguideId>
        </identifiers>
        <state>NV</state>
        <district>1</district>
        <fullName>Rep. Titus, Dina [D-NV-1]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>T000468</bioguideId>
        <party>D</party>
        <firstName>Dina</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>JACKSON LEE</lastName>
        <identifiers>
          <lisID>588</lisID>
          <gpoId>8174</gpoId>
          <bioguideId>J000032</bioguideId>
        </identifiers>
        <state>TX</state>
        <district>18</district>
        <fullName>Rep. Jackson Lee, Sheila [D-TX-18]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>J000032</bioguideId>
        <party>D</party>
        <firstName>SHEILA</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Connolly</lastName>
        <identifiers>
          <lisID>1959</lisID>
          <gpoId>8202</gpoId>
          <bioguideId>C001078</bioguideId>
        </identifiers>
        <state>VA</state>
        <district>11</district>
        <fullName>Rep. Connolly, Gerald E. [D-VA-11]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>E.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>C001078</bioguideId>
        <party>D</party>
        <firstName>Gerald</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Bass</lastName>
        <identifiers>
          <lisID>1996</lisID>
          <gpoId>7838</gpoId>
          <bioguideId>B001270</bioguideId>
        </identifiers>
        <state>CA</state>
        <district>37</district>
        <fullName>Rep. Bass, Karen [D-CA-37]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>B001270</bioguideId>
        <party>D</party>
        <firstName>Karen</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Frankel</lastName>
        <identifiers>
          <lisID>2119</lisID>
          <gpoId />
          <bioguideId>F000462</bioguideId>
        </identifiers>
        <state>FL</state>
        <district>21</district>
        <fullName>Rep. Frankel, Lois [D-FL-21]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>F000462</bioguideId>
        <party>D</party>
        <firstName>Lois</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Castro</lastName>
        <identifiers>
          <lisID>2163</lisID>
          <gpoId />
          <bioguideId>C001091</bioguideId>
        </identifiers>
        <state>TX</state>
        <district>20</district>
        <fullName>Rep. Castro, Joaquin [D-TX-20]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>C001091</bioguideId>
        <party>D</party>
        <firstName>Joaquin</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Kelly</lastName>
        <identifiers>
          <lisID>2190</lisID>
          <gpoId />
          <bioguideId>K000385</bioguideId>
        </identifiers>
        <state>IL</state>
        <district>2</district>
        <fullName>Rep. Kelly, Robin L. [D-IL-2]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>L.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>K000385</bioguideId>
        <party>D</party>
        <firstName>Robin</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Boyle</lastName>
        <identifiers>
          <lisID>2267</lisID>
          <gpoId />
          <bioguideId>B001296</bioguideId>
        </identifiers>
        <state>PA</state>
        <district>13</district>
        <fullName>Rep. Boyle, Brendan F. [D-PA-13]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>F.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>B001296</bioguideId>
        <party>D</party>
        <firstName>Brendan</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Cohen</lastName>
        <identifiers>
          <lisID>1878</lisID>
          <gpoId>8156</gpoId>
          <bioguideId>C001068</bioguideId>
        </identifiers>
        <state>TN</state>
        <district>9</district>
        <fullName>Rep. Cohen, Steve [D-TN-9]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>C001068</bioguideId>
        <party>D</party>
        <firstName>Steve</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Jeffries</lastName>
        <identifiers>
          <lisID>2149</lisID>
          <gpoId />
          <bioguideId>J000294</bioguideId>
        </identifiers>
        <state>NY</state>
        <district>8</district>
        <fullName>Rep. Jeffries, Hakeem S. [D-NY-8]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>S.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>J000294</bioguideId>
        <party>D</party>
        <firstName>Hakeem</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>CUMMINGS</lastName>
        <identifiers>
          <lisID>256</lisID>
          <gpoId>7982</gpoId>
          <bioguideId>C000984</bioguideId>
        </identifiers>
        <state>MD</state>
        <district>7</district>
        <fullName>Rep. Cummings, Elijah E. [D-MD-7]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>E.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>C000984</bioguideId>
        <party>D</party>
        <firstName>ELIJAH</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Swalwell</lastName>
        <identifiers>
          <lisID>2104</lisID>
          <gpoId />
          <bioguideId>S001193</bioguideId>
        </identifiers>
        <state>CA</state>
        <district>15</district>
        <fullName>Rep. Swalwell, Eric [D-CA-15]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>S001193</bioguideId>
        <party>D</party>
        <firstName>Eric</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Suozzi</lastName>
        <identifiers>
          <lisID>2341</lisID>
          <gpoId />
          <bioguideId>S001201</bioguideId>
        </identifiers>
        <state>NY</state>
        <district>3</district>
        <fullName>Rep. Suozzi, Thomas R. [D-NY-3]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>R.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>S001201</bioguideId>
        <party>D</party>
        <firstName>Thomas</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Torres</lastName>
        <identifiers>
          <bioguideId>T000474</bioguideId>
          <lisID>2231</lisID>
          <gpoId />
        </identifiers>
        <state>CA</state>
        <district>35</district>
        <fullName>Rep. Torres, Norma J. [D-CA-35]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName>J.</middleName>
        <sponsorshipWithdrawnDate />
        <bioguideId>T000474</bioguideId>
        <party>D</party>
        <firstName>Norma</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>Lieu</lastName>
        <identifiers>
          <lisID>2230</lisID>
          <gpoId />
          <bioguideId>L000582</bioguideId>
        </identifiers>
        <state>CA</state>
        <district>33</district>
        <fullName>Rep. Lieu, Ted [D-CA-33]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>L000582</bioguideId>
        <party>D</party>
        <firstName>Ted</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
      <item>
        <lastName>NADLER</lastName>
        <identifiers>
          <bioguideId>N000002</bioguideId>
          <lisID>850</lisID>
          <gpoId>8069</gpoId>
        </identifiers>
        <state>NY</state>
        <district>10</district>
        <fullName>Rep. Nadler, Jerrold [D-NY-10]</fullName>
        <isOriginalCosponsor>False</isOriginalCosponsor>
        <middleName />
        <sponsorshipWithdrawnDate />
        <bioguideId>N000002</bioguideId>
        <party>D</party>
        <firstName>JERROLD</firstName>
        <sponsorshipDate>2017-04-27</sponsorshipDate>
      </item>
    </cosponsors>
    <updateDate>2017-05-19T07:13:09Z</updateDate>
    <amendments />
    <policyArea>
      <name>International Affairs</name>
    </policyArea>
    <introducedDate>2017-03-06</introducedDate>
    <summaries>
      <billSummaries>
        <item>
          <lastSummaryUpdateDate>2017-04-24T20:32:21Z</lastSummaryUpdateDate>
          <versionCode>00</versionCode>
          <updateDate>2017-03-06T05:00:00Z</updateDate>
          <actionDate>2017-03-06</actionDate>
          <name>Introduced in House</name>
          <actionDesc>Introduced in House</actionDesc>
          <text><![CDATA[<p>Expresses the sense of the House of Representatives that:</p> <ul> <li> the Russian Federation has engaged in a widespread hacking and misinformation campaign in order to influence politics and elections in democracies throughout Europe; </li> <li> Russian officials have expressed their desire to divide the North Atlantic Treaty Organization alliance, weaken democratic institutions, and support extremist, pro-Moscow candidates throughout Europe; </li> <li> Russia should immediately cease all hacking and cyber-attacks aimed at European governments, political parties, government officials, election entities, and public information systems; and </li> <li> it is U.S. government policy to sanction entities and individuals within Russia or associated with the Russian government engaged in hacking, cyber-attacks, and propaganda campaigns with the intention of interfering in democratic elections.</li> </ul> <ul> </ul>]]></text>
        </item>
      </billSummaries>
    </summaries>
    <originChamber>House</originChamber>
    <notes />
    <titles>
      <item>
        <parentTitleType />
        <chamberName />
        <titleType>Official Title as Introduced</titleType>
        <chamberCode />
        <title>Expressing the sense of the House of Representatives that the Government of the Russian Federation, its officials, security services, and any person or entity within the Russian Federation or associated with the Russian Government, should not interfere, seek to influence, or engage in coercion designed to create an outcome in foreign elections.</title>
      </item>
      <item>
        <parentTitleType />
        <chamberName />
        <titleType>Display Title</titleType>
        <chamberCode />
        <title>Expressing the sense of the House of Representatives that the Government of the Russian Federation, its officials, security services, and any person or entity within the Russian Federation or associated with the Russian Government, should not interfere, seek to influence, or engage in coercion designed to create an outcome in foreign elections.</title>
      </item>
    </titles>
    <billNumber>172</billNumber>
    <actions>
      <item>
        <actionDate>2017-05-18</actionDate>
        <committee>
          <systemCode>hsfa14</systemCode>
          <name>Europe, Eurasia, and Emerging Threats Subcommittee</name>
        </committee>
        <links />
        <sourceSystem>
          <code>1</code>
          <name>House committee actions</name>
        </sourceSystem>
        <text>Referred to the Subcommittee on Europe, Eurasia, and Emerging Threats.</text>
        <type>Committee</type>
      </item>
      <item>
        <type>IntroReferral</type>
        <text>Referred to the House Committee on Foreign Affairs.</text>
        <actionCode>H11100</actionCode>
        <links />
        <committee>
          <systemCode>hsfa00</systemCode>
          <name>Foreign Affairs Committee</name>
        </committee>
        <sourceSystem>
          <code>2</code>
          <name>House floor actions</name>
        </sourceSystem>
        <actionDate>2017-03-06</actionDate>
      </item>
      <item>
        <type>IntroReferral</type>
        <text>Introduced in House</text>
        <actionCode>Intro-H</actionCode>
        <links />
        <committee />
        <sourceSystem>
          <code>9</code>
          <name>Library of Congress</name>
        </sourceSystem>
        <actionDate>2017-03-06</actionDate>
      </item>
      <item>
        <type>IntroReferral</type>
        <text>Introduced in House</text>
        <actionCode>1000</actionCode>
        <links />
        <committee />
        <sourceSystem>
          <code>9</code>
          <name>Library of Congress</name>
        </sourceSystem>
        <actionDate>2017-03-06</actionDate>
      </item>
      <actionByCounts>
        <houseOfRepresentatives>4</houseOfRepresentatives>
      </actionByCounts>
      <actionTypeCounts>
        <introducedInTheHouse>1</introducedInTheHouse>
        <billReferrals>1</billReferrals>
        <introducedInHouse>1</introducedInHouse>
        <placeholderTextForH>1</placeholderTextForH>
      </actionTypeCounts>
    </actions>
    <laws />
    <committees>
      <billCommittees>
        <item>
          <chamber>House</chamber>
          <name>Foreign Affairs Committee</name>
          <systemCode>hsfa00</systemCode>
          <subcommittees>
            <item>
              <systemCode>hsfa14</systemCode>
              <activities>
                <item>
                  <date>2017-05-18T15:33:50Z</date>
                  <name>Referred to</name>
                </item>
              </activities>
              <name>Europe, Eurasia, and Emerging Threats Subcommittee</name>
            </item>
          </subcommittees>
          <type>Standing</type>
          <activities>
            <item>
              <date>2017-03-06T21:01:20Z</date>
              <name>Referred to</name>
            </item>
          </activities>
        </item>
      </billCommittees>
    </committees>
    <calendarNumbers />
    <createDate>2017-03-07T05:14:48Z</createDate>
    <latestAction>
      <text>Referred to the Subcommittee on Europe, Eurasia, and Emerging Threats.</text>
      <actionDate>2017-05-18</actionDate>
      <links />
    </latestAction>
    <relatedBills />
    <congress>115</congress>
    <version>1.0.0</version>
    <billType>HRES</billType>
    <sponsors>
      <item>
        <fullName>Rep. Cicilline, David N. [D-RI-1]</fullName>
        <identifiers>
          <lisID>2055</lisID>
          <gpoId>8139</gpoId>
          <bioguideId>C001084</bioguideId>
        </identifiers>
        <party>D</party>
        <byRequestType />
        <lastName>Cicilline</lastName>
        <state>RI</state>
        <firstName>David</firstName>
        <bioguideId>C001084</bioguideId>
        <middleName>N.</middleName>
        <district>1</district>
      </item>
    </sponsors>
    <recordedVotes />
    <subjects>
      <billSubjects>
        <policyArea>
          <name>International Affairs</name>
        </policyArea>
        <legislativeSubjects>
          <item>
            <name>Alliances</name>
          </item>
          <item>
            <name>Computer security and identity theft</name>
          </item>
          <item>
            <name>Elections, voting, political campaign regulation</name>
          </item>
          <item>
            <name>Europe</name>
          </item>
          <item>
            <name>Political movements and philosophies</name>
          </item>
          <item>
            <name>Russia</name>
          </item>
          <item>
            <name>Sanctions</name>
          </item>
          <item>
            <name>Sovereignty, recognition, national governance and status</name>
          </item>
        </legislativeSubjects>
      </billSubjects>
    </subjects>
    <committeeReports />
    <cboCostEstimates />
    <constitutionalAuthorityStatementText />
  </bill>
  <dublinCore xmlns:dc="http://purl.org/dc/elements/1.1/">
    <dc:format>text/xml</dc:format>
    <dc:language>EN</dc:language>
    <dc:rights>Pursuant to Title 17 Section 105 of the United States Code, this file is not subject to copyright protection and is in the public domain.</dc:rights>
    <dc:contributor>Congressional Research Service, Library of Congress</dc:contributor>
    <dc:description>This file contains bill summaries and statuses for federal legislation. A bill summary describes the most significant provisions of a piece of legislation and details the effects the legislative text may have on current law and federal programs. Bill summaries are authored by the Congressional Research Service (CRS) of the Library of Congress. As stated in Public Law 91-510 (2 USC 166 (d)(6)), one of the duties of CRS is "to prepare summaries and digests of bills and resolutions of a public general nature introduced in the Senate or House of Representatives". For more information, refer to the User Guide that accompanies this file.</dc:description>
  </dublinCore>
</billStatus>


text:
package net.openright.infrastructure.util;

import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Reader;
import java.io.Writer;
import java.net.HttpURLConnection;
import java.net.URI;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;

public class IOUtil {

    public static Path extractResourceFile(String filename) {
        Path path = Paths.get(filename);
        if (Files.exists(path))
            return path;

        try (InputStream input = IOUtil.class.getResourceAsStream("/" + filename)) {
            if (input == null) {
                throw new IllegalArgumentException("Can't find /" + filename + " in classpath");
            }
            copy(input, path);
            return path;
        } catch (IOException e) {
            throw ExceptionUtil.soften(e);
        }
    }

    public static String toString(URL url) {
        try (InputStream content = (InputStream) url.getContent()) {
            return toString(content);
        } catch (IOException e) {
            throw soften(e);
        }
    }

    public static String toString(InputStream content) {
        return toString(new InputStreamReader(content));
    }

    public static String toString(Reader reader) {
        char[] buffer = new char[1024];
        StringBuilder out = new StringBuilder();

        try {
            for (;;) {
                int rsz = reader.read(buffer, 0, buffer.length);
                if (rsz < 0)
                    break;
                out.append(buffer, 0, rsz);
            }
            return out.toString();
        } catch (IOException e) {
            throw soften(e);
        }
    }

    public static void copy(Path path, OutputStream output) {
        try {
            Files.copy(path, output);
        } catch (IOException e) {
            throw soften(e);
        }
    }

    public static void copy(InputStream input, Path path) {
        try {
            Files.copy(input, path);
        } catch (IOException e) {
            throw soften(e);
        }
    }

    public static Path copy(URL url, Path file) {
        if (Files.isDirectory(file)) {
            file = file.resolve(Paths.get(url.getPath()).getFileName());
        }
        if (Files.exists(file)) {
            return file;
        }
        try (InputStream content = (InputStream) url.getContent()) {
            Files.copy(content, file);
            return file;
        } catch (IOException e) {
            throw soften(e);
        }

    }

    public static void copy(InputStream in, OutputStream out) {
        try {
            byte[] buf = new byte[1024];
            int count = 0;
            while ((count = in.read(buf)) >= 0) {
                out.write(buf, 0, count);
            }
        } catch (IOException e) {
            throw soften(e);
        }
    }

    public static int copy(String text, URI uri) {
        try {
            HttpURLConnection connection = (HttpURLConnection)uri.toURL().openConnection();
            connection.setRequestMethod("POST");
            connection.setDoOutput(true);
            try (Writer writer = new OutputStreamWriter(connection.getOutputStream())) {
                writer.write(text);
            }
            return connection.getResponseCode();
        } catch (IOException e) {
            throw soften(e);
        }
    }

    private static RuntimeException soften(IOException e) {
        return ExceptionUtil.soften(e);
    }

    public static void copy(String string, OutputStream out) throws IOException {
        copy(string, new OutputStreamWriter(out, StandardCharsets.UTF_8));
    }

    public static void copy(String string, Writer out) throws IOException {
        try (Writer writer = out) {
            writer.write(string);
        }
    }

    public static String toString(HttpURLConnection connection) throws IOException {
        if (connection.getResponseCode() < 400) {
            return toString(connection.getInputStream());
        } else {
            throw new RuntimeException(connection.getResponseMessage());
        }
    }

    public static String postString(String body, String requestUrl) throws IOException {
        HttpURLConnection connection = (HttpURLConnection)new URL(requestUrl).openConnection();
        connection.setRequestMethod("POST");
        connection.setDoOutput(true);
        copy(body, connection.getOutputStream());
        return toString(connection);
    }
}


text:
<?php
    $settings = $this->get_settings();
    $session =  $this->get_session();
?>
<!DOCTYPE html>
<html lang="<?php echo $this->request->lang; ?>">

        <title><?php echo $this->meta->title; ?></title>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, user-scalable=no">
        <meta name="description" content="<?php echo $this->meta->description; ?>">
        <meta name="keywords" content="<?php echo $this->meta->keywords; ?>">
        <meta name="author" content="<?php echo $this->meta->author; ?>">
        <link rel="image_src" href="<?php echo $this->meta->image; ?>"/>
        <meta property="og:title" content="<?php echo $this->meta->title; ?>" />
        <meta property="og:image" content="<?php echo $this->meta->image; ?>" />
        <meta name="twitter:title" content="<?php echo $this->meta->title; ?>">
        <meta name="twitter:image" content="<?php echo $this->meta->image; ?>">
        <link href="http<?php if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { echo 's'; }; ?>://fonts.googleapis.com/css?family=Roboto:300,400,700" rel="stylesheet" type="text/css">
        <link rel="stylesheet" type="text/css" href="/css/site.css" />
        <?php $this->render_styles(); ?>
        <?php $this->render_scripts(); ?>

                <a href="<?php echo $this->route_url(NULL, 'home'); ?>"><?php echo @$settings->blog_name; ?>

            <?php $this->render_body(); ?>

            powered by one-php-mvc-blog
            | <a href="<?php echo $this->route_url(NULL, 'admin'); ?>">admin
            <?php if ($session !== NULL ) { ?>| <a href="<?php echo $this->route_url('logoff', 'admin'); ?>">logoff<?php }?>


text:
class PreloadState extends Phaser.State {

  preload() {
    this.stage.backgroundColor = '#6d94b5';
    this.load.onFileComplete.add(this.onFileComplete, this);

    // Load all resource here
  }

  create() {
    this.state.start('Game');
  }

  onFileComplete(process, cacheKey, isSuccess, loadedFiles, totalFiles) {
    console.log(process, cacheKey, isSuccess, loadedFiles, totalFiles);
  }
}

export default PreloadState;


text:
using System;
using Playground.Domain.Model;
using Playground.Domain.Persistence.PostgreSQL.PerformanceTests.GenericIdentifer.Model.Events;
using Playground.Domain.Persistence.PostgreSQL.PerformanceTests.Model;

namespace Playground.Domain.Persistence.PostgreSQL.PerformanceTests.GenericIdentifer.Model
{
    internal class Order : AggregateRootWithIdentity<OrderState, OrderIdentity>
    {
        public Order(OrderIdentity id)
            : base(id)
        {
        }

        public Order(OrderIdentity id, OrderState hydratedState, long currentVersion)
            : base(id, hydratedState, currentVersion)
        {
        }

        public void CreateOrder(string userOrdering, string address, string productId)
        {
            When(new OrderCreated(userOrdering, address, productId));
        }

        public void ChangeAddress(string address)
        {
            if (State.Status >= OrderStatus.Shipped)
                throw new CannotChangeOrderAddressException($"Cannot change address on order {Identity.Id} because it is {State.Status}");

            When(new OrderShippingAddressChanged(address));
        }

        public void StartFulfilling()
        {
            if(State.Status != OrderStatus.Created)
                throw new CannotStartFulfillingException($"Cannot start fulfilling order {Identity.Id} because it is {State.Status}");

            When(new OrderStartedBeingFulfilled());
        }

        public void Ship()
        {
            if (State.Status != OrderStatus.BeingFulfilled)
                throw new CannotShipException($"Cannot ship order {Identity.Id} because it is {State.Status}");

            When(new OrderShipped());
        }

        public void Deliver(string personWhoReceived)
        {
            if (State.Status != OrderStatus.Shipped)
                throw new CannotDeliverException($"Cannot deliver order {Identity.Id} because it is {State.Status}");

            When(new OrderDelivered(personWhoReceived));
        }
    }
}


text:
from django.core.management.base import BaseCommand
from optparse import make_option
from oauth2_provider.models import Application
from django.contrib.auth.models import User

class Command(BaseCommand):
    help = "This creates a new client oauth app."

    def add_arguments(self, parser):
        parser.add_argument('--name',
                            dest='name',
                            help='The user-visible name of the client app')

        parser.add_argument('--return-url',
                            dest='return_url',
                            help=('The url users return to after '
                                  'authorizing your app'))

        parser.add_argument('--owner-username',
                            dest='username',
                            help=('The login name of the user '
                                  'that owns this app.'))

    def handle(self, *args, **options):
        error = False
        if "return_url" not in options or not options["return_url"]:
            error = True
            print("--return-url is required")
        if "name" not in options or not options["name"]:
            error = True
            print("--name is required")
        if "username" not in options or not options["username"]:
            error = True
            print("--owner-username is required")

        if error:
            return

        (user, new) = User.objects.get_or_create(username=options["username"])

        url = options["return_url"]
        code = "authorization-code"
        new_client = Application.objects.create(user=user,
                                                redirect_uris=url,
                                                client_type="confidential",
                                                authorization_grant_type=code,
                                                )

        print("ID:%s SECRET:%s" % (new_client.client_id,
                                   new_client.client_secret))