text:
namespace VstoJiraIssueUpdater.CustomTaskPanes
{
    partial class DefaultValueManager
    {
        /// <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 Component 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.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.buttonReload = new System.Windows.Forms.Button();
            this.buttonSave = new System.Windows.Forms.Button();
            this.buttonReset = new System.Windows.Forms.Button();
            this.buttonUpgrade = new System.Windows.Forms.Button();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.textBox7 = new System.Windows.Forms.TextBox();
            this.textBox6 = new System.Windows.Forms.TextBox();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.textBox2 = new System.Windows.Forms.TextBox();
            this.textBox3 = new System.Windows.Forms.TextBox();
            this.textBox4 = new System.Windows.Forms.TextBox();
            this.textBox5 = new System.Windows.Forms.TextBox();
            this.textBox8 = new System.Windows.Forms.TextBox();
            this.textBox9 = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label9 = new System.Windows.Forms.Label();
            this.textBox10 = new System.Windows.Forms.TextBox();
            this.label10 = new System.Windows.Forms.Label();
            this.textBox11 = new System.Windows.Forms.TextBox();
            this.label11 = new System.Windows.Forms.Label();
            this.textBox12 = new System.Windows.Forms.TextBox();
            this.label12 = new System.Windows.Forms.Label();
            this.label13 = new System.Windows.Forms.Label();
            this.textBox13 = new System.Windows.Forms.TextBox();
            this.textBox14 = new System.Windows.Forms.TextBox();
            this.label14 = new System.Windows.Forms.Label();
            this.tableLayoutPanel1.SuspendLayout();
            this.SuspendLayout();
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label2.Location = new System.Drawing.Point(4, 0);
            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(115, 30);
            this.label2.TabIndex = 1;
            this.label2.Text = "Server URL:";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label3.Location = new System.Drawing.Point(4, 30);
            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(115, 30);
            this.label3.TabIndex = 2;
            this.label3.Text = "Reporter:";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label4.Location = new System.Drawing.Point(4, 60);
            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(115, 30);
            this.label4.TabIndex = 3;
            this.label4.Text = "Password:";
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label5
            //
            this.label5.AutoSize = true;
            this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label5.Location = new System.Drawing.Point(4, 90);
            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(115, 30);
            this.label5.TabIndex = 4;
            this.label5.Text = "Project Id:";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label6
            //
            this.label6.AutoSize = true;
            this.label6.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label6.Location = new System.Drawing.Point(4, 120);
            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(115, 30);
            this.label6.TabIndex = 5;
            this.label6.Text = "Team:";
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label7
            //
            this.label7.AutoSize = true;
            this.label7.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label7.Location = new System.Drawing.Point(4, 150);
            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(115, 30);
            this.label7.TabIndex = 6;
            this.label7.Text = "Fix Iteration:";
            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label8
            //
            this.label8.AutoSize = true;
            this.label8.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label8.Location = new System.Drawing.Point(4, 180);
            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(115, 30);
            this.label8.TabIndex = 7;
            this.label8.Text = "Assignee:";
            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // buttonReload
            //
            this.buttonReload.Location = new System.Drawing.Point(127, 491);
            this.buttonReload.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.buttonReload.Name = "buttonReload";
            this.buttonReload.Size = new System.Drawing.Size(75, 23);
            this.buttonReload.TabIndex = 15;
            this.buttonReload.Text = "Reload";
            this.buttonReload.UseVisualStyleBackColor = true;
            this.buttonReload.Click += new System.EventHandler(this.buttonReload_Click);
            //
            // buttonSave
            //
            this.buttonSave.Dock = System.Windows.Forms.DockStyle.Top;
            this.buttonSave.Location = new System.Drawing.Point(4, 425);
            this.buttonSave.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.buttonSave.Name = "buttonSave";
            this.tableLayoutPanel1.SetRowSpan(this.buttonSave, 3);
            this.buttonSave.Size = new System.Drawing.Size(115, 89);
            this.buttonSave.TabIndex = 16;
            this.buttonSave.Text = "Save";
            this.buttonSave.UseVisualStyleBackColor = true;
            this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
            //
            // buttonReset
            //
            this.buttonReset.Location = new System.Drawing.Point(127, 425);
            this.buttonReset.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.buttonReset.Name = "buttonReset";
            this.buttonReset.Size = new System.Drawing.Size(75, 23);
            this.buttonReset.TabIndex = 17;
            this.buttonReset.Text = "Reset";
            this.buttonReset.UseVisualStyleBackColor = true;
            this.buttonReset.Click += new System.EventHandler(this.buttonReset_Click);
            //
            // buttonUpgrade
            //
            this.buttonUpgrade.Location = new System.Drawing.Point(127, 458);
            this.buttonUpgrade.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.buttonUpgrade.Name = "buttonUpgrade";
            this.buttonUpgrade.Size = new System.Drawing.Size(75, 23);
            this.buttonUpgrade.TabIndex = 18;
            this.buttonUpgrade.Text = "Upgrade";
            this.buttonUpgrade.UseVisualStyleBackColor = true;
            this.buttonUpgrade.Click += new System.EventHandler(this.buttonUpgrade_Click);
            //
            // tableLayoutPanel1
            //
            this.tableLayoutPanel1.ColumnCount = 2;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
            this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.label3, 0, 1);
            this.tableLayoutPanel1.Controls.Add(this.label8, 0, 6);
            this.tableLayoutPanel1.Controls.Add(this.label4, 0, 2);
            this.tableLayoutPanel1.Controls.Add(this.label7, 0, 5);
            this.tableLayoutPanel1.Controls.Add(this.textBox7, 1, 6);
            this.tableLayoutPanel1.Controls.Add(this.label5, 0, 3);
            this.tableLayoutPanel1.Controls.Add(this.textBox6, 1, 5);
            this.tableLayoutPanel1.Controls.Add(this.label6, 0, 4);
            this.tableLayoutPanel1.Controls.Add(this.textBox1, 1, 0);
            this.tableLayoutPanel1.Controls.Add(this.textBox2, 1, 1);
            this.tableLayoutPanel1.Controls.Add(this.textBox3, 1, 2);
            this.tableLayoutPanel1.Controls.Add(this.textBox4, 1, 3);
            this.tableLayoutPanel1.Controls.Add(this.textBox5, 1, 4);
            this.tableLayoutPanel1.Controls.Add(this.textBox8, 1, 7);
            this.tableLayoutPanel1.Controls.Add(this.textBox9, 1, 11);
            this.tableLayoutPanel1.Controls.Add(this.label1, 0, 7);
            this.tableLayoutPanel1.Controls.Add(this.label9, 0, 11);
            this.tableLayoutPanel1.Controls.Add(this.textBox10, 1, 12);
            this.tableLayoutPanel1.Controls.Add(this.label10, 0, 12);
            this.tableLayoutPanel1.Controls.Add(this.textBox11, 1, 13);
            this.tableLayoutPanel1.Controls.Add(this.label11, 0, 13);
            this.tableLayoutPanel1.Controls.Add(this.textBox12, 1, 8);
            this.tableLayoutPanel1.Controls.Add(this.label12, 0, 8);
            this.tableLayoutPanel1.Controls.Add(this.label13, 0, 9);
            this.tableLayoutPanel1.Controls.Add(this.textBox13, 1, 9);
            this.tableLayoutPanel1.Controls.Add(this.textBox14, 1, 10);
            this.tableLayoutPanel1.Controls.Add(this.label14, 0, 10);
            this.tableLayoutPanel1.Controls.Add(this.buttonUpgrade, 1, 15);
            this.tableLayoutPanel1.Controls.Add(this.buttonReset, 1, 14);
            this.tableLayoutPanel1.Controls.Add(this.buttonReload, 1, 16);
            this.tableLayoutPanel1.Controls.Add(this.buttonSave, 0, 14);
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 17;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.Size = new System.Drawing.Size(335, 766);
            this.tableLayoutPanel1.TabIndex = 19;
            //
            // textBox7
            //
            this.textBox7.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "Assignee", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox7.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox7.Location = new System.Drawing.Point(127, 185);
            this.textBox7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox7.Name = "textBox7";
            this.textBox7.Size = new System.Drawing.Size(204, 20);
            this.textBox7.TabIndex = 14;
            this.textBox7.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.Assignee;
            //
            // textBox6
            //
            this.textBox6.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "FixVersion", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox6.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox6.Location = new System.Drawing.Point(127, 155);
            this.textBox6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox6.Name = "textBox6";
            this.textBox6.Size = new System.Drawing.Size(204, 20);
            this.textBox6.TabIndex = 13;
            this.textBox6.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.FixVersion;
            //
            // textBox1
            //
            this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "JiraServer", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox1.Location = new System.Drawing.Point(127, 5);
            this.textBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(204, 20);
            this.textBox1.TabIndex = 8;
            this.textBox1.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.JiraServer;
            //
            // textBox2
            //
            this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "UserName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox2.Location = new System.Drawing.Point(127, 35);
            this.textBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox2.Name = "textBox2";
            this.textBox2.Size = new System.Drawing.Size(204, 20);
            this.textBox2.TabIndex = 9;
            this.textBox2.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.UserName;
            //
            // textBox3
            //
            this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "Password", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox3.Location = new System.Drawing.Point(127, 65);
            this.textBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox3.Name = "textBox3";
            this.textBox3.Size = new System.Drawing.Size(204, 20);
            this.textBox3.TabIndex = 10;
            this.textBox3.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.Password;
            this.textBox3.UseSystemPasswordChar = true;
            //
            // textBox4
            //
            this.textBox4.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            this.textBox4.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
            this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "JiraProjectID", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox4.Location = new System.Drawing.Point(127, 95);
            this.textBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox4.Name = "textBox4";
            this.textBox4.Size = new System.Drawing.Size(204, 20);
            this.textBox4.TabIndex = 11;
            this.textBox4.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.JiraProjectID;
            //
            // textBox5
            //
            this.textBox5.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "Component_Team", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox5.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox5.Location = new System.Drawing.Point(127, 125);
            this.textBox5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox5.Name = "textBox5";
            this.textBox5.Size = new System.Drawing.Size(204, 20);
            this.textBox5.TabIndex = 12;
            this.textBox5.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.Component_Team;
            //
            // textBox8
            //
            this.textBox8.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "OriginalEstimateIn", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox8.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox8.Location = new System.Drawing.Point(127, 215);
            this.textBox8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox8.Name = "textBox8";
            this.textBox8.Size = new System.Drawing.Size(204, 20);
            this.textBox8.TabIndex = 19;
            this.textBox8.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.OriginalEstimateIn;
            //
            // textBox9
            //
            this.textBox9.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "SupportPerson", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox9.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox9.Location = new System.Drawing.Point(127, 335);
            this.textBox9.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox9.Name = "textBox9";
            this.textBox9.Size = new System.Drawing.Size(204, 20);
            this.textBox9.TabIndex = 20;
            this.textBox9.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.SupportPerson;
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label1.Location = new System.Drawing.Point(4, 210);
            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(115, 30);
            this.label1.TabIndex = 21;
            this.label1.Text = "Original Estimate In:";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label9
            //
            this.label9.AutoSize = true;
            this.label9.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label9.Location = new System.Drawing.Point(4, 330);
            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(115, 30);
            this.label9.TabIndex = 22;
            this.label9.Text = "Support Manager:";
            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // textBox10
            //
            this.textBox10.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "WorkSheetName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox10.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox10.Location = new System.Drawing.Point(127, 365);
            this.textBox10.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox10.Name = "textBox10";
            this.textBox10.Size = new System.Drawing.Size(204, 20);
            this.textBox10.TabIndex = 23;
            this.textBox10.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.WorkSheetName;
            //
            // label10
            //
            this.label10.AutoSize = true;
            this.label10.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label10.Location = new System.Drawing.Point(4, 360);
            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(115, 30);
            this.label10.TabIndex = 24;
            this.label10.Text = "Work Sheet Name:";
            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // textBox11
            //
            this.textBox11.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "DefaultErrorMessage", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox11.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox11.Location = new System.Drawing.Point(127, 395);
            this.textBox11.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox11.Name = "textBox11";
            this.textBox11.Size = new System.Drawing.Size(204, 20);
            this.textBox11.TabIndex = 25;
            this.textBox11.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.DefaultErrorMessage;
            //
            // label11
            //
            this.label11.AutoSize = true;
            this.label11.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label11.Location = new System.Drawing.Point(4, 390);
            this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(115, 30);
            this.label11.TabIndex = 26;
            this.label11.Text = "Default Error Message:";
            this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // textBox12
            //
            this.textBox12.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "Type", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox12.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox12.Location = new System.Drawing.Point(127, 245);
            this.textBox12.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox12.Name = "textBox12";
            this.textBox12.Size = new System.Drawing.Size(204, 20);
            this.textBox12.TabIndex = 27;
            this.textBox12.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.Type;
            //
            // label12
            //
            this.label12.AutoSize = true;
            this.label12.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label12.Location = new System.Drawing.Point(4, 240);
            this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(115, 30);
            this.label12.TabIndex = 28;
            this.label12.Text = "Type:";
            this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label13
            //
            this.label13.AutoSize = true;
            this.label13.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label13.Location = new System.Drawing.Point(4, 270);
            this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(115, 30);
            this.label13.TabIndex = 29;
            this.label13.Text = "Default Priority:";
            this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // textBox13
            //
            this.textBox13.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "DefaultPriority", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox13.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox13.Location = new System.Drawing.Point(127, 275);
            this.textBox13.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox13.Name = "textBox13";
            this.textBox13.Size = new System.Drawing.Size(204, 20);
            this.textBox13.TabIndex = 30;
            this.textBox13.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.DefaultPriority;
            //
            // textBox14
            //
            this.textBox14.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::VstoJiraIssueUpdater.Properties.Settings.Default, "Status", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBox14.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBox14.Location = new System.Drawing.Point(127, 305);
            this.textBox14.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.textBox14.Name = "textBox14";
            this.textBox14.Size = new System.Drawing.Size(204, 20);
            this.textBox14.TabIndex = 31;
            this.textBox14.Text = global::VstoJiraIssueUpdater.Properties.Settings.Default.Status;
            //
            // label14
            //
            this.label14.AutoSize = true;
            this.label14.Dock = System.Windows.Forms.DockStyle.Fill;
            this.label14.Location = new System.Drawing.Point(4, 300);
            this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(115, 30);
            this.label14.TabIndex = 32;
            this.label14.Text = "Status:";
            this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // DefaultValueManager
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.MintCream;
            this.Controls.Add(this.tableLayoutPanel1);
            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.Name = "DefaultValueManager";
            this.Size = new System.Drawing.Size(335, 766);
            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel1.PerformLayout();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.TextBox textBox1;
        private System.Windows.Forms.TextBox textBox2;
        private System.Windows.Forms.TextBox textBox3;
        private System.Windows.Forms.TextBox textBox4;
        private System.Windows.Forms.TextBox textBox5;
        private System.Windows.Forms.TextBox textBox6;
        private System.Windows.Forms.TextBox textBox7;
        private System.Windows.Forms.Button buttonReload;
        private System.Windows.Forms.Button buttonSave;
        private System.Windows.Forms.Button buttonReset;
        private System.Windows.Forms.Button buttonUpgrade;
        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
        private System.Windows.Forms.TextBox textBox8;
        private System.Windows.Forms.TextBox textBox9;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.TextBox textBox10;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.TextBox textBox11;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.TextBox textBox12;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.Label label13;
        private System.Windows.Forms.TextBox textBox13;
        private System.Windows.Forms.TextBox textBox14;
        private System.Windows.Forms.Label label14;
    }
}


text:
class Eye < ActiveRecord::Base
  serialize :metadata, JSON
end

redpajama_set_name: RedPajamaGithub


text:
description: Well it's definitely the 90s. Using what was found in the mysterious .ico file, you extract the driver for the Aluminum-Key Hardware password storage device. Let's see what it has in store.

# flag: CTF{Passw0rd!}


text:
package fr.guddy.iris.compiler;

import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.TypeSpec;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import javax.annotation.processing.Filer;
import javax.annotation.processing.Messager;
import javax.lang.model.element.Element;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.TypeElement;
import javax.tools.Diagnostic;

public final class AnnotatedClass {
    //region Fields
    private final TypeElement mEnclosingClass;
    private final List<ExecutableElement> mMethods;
    //endregion

    //region Constructor
    public AnnotatedClass(final TypeElement pEnclosingClass) {
        this(pEnclosingClass, new ArrayList<ExecutableElement>());
    }

    public AnnotatedClass(final TypeElement pEnclosingClass, final List<ExecutableElement> pMethods) {
        mEnclosingClass = pEnclosingClass;
        mMethods = pMethods;
    }
    //endregion

    //region Visible API
    public TypeElement enclosingClass() {
        return mEnclosingClass;
    }

    public void addMethod(final ExecutableElement pMethod) {
        mMethods.add(pMethod);
    }

    public void writeInto(final Filer pFiler, final Messager pMessager) {
        // prepare generated class
        final GeneratedClasses lGeneratedClass = new GeneratedClasses(mEnclosingClass, mMethods);

        final List<TypeSpec> lTypeSpecGeneratedClasses = lGeneratedClass.buildTypeSpec();

        for (final TypeSpec lTypeSpec: lTypeSpecGeneratedClasses) {
            final String lPackageName = lGeneratedClass.packageName();

            // create generated class to a file
            try {
                JavaFile.builder(lPackageName, lTypeSpec)
                        .build()
                        .writeTo(pFiler);
            } catch (IOException pE) {
                logError(pMessager, mEnclosingClass, "error while writing generated class");
            }
        }
    }
    //endregion

    //region Specific job
    private void logError(final Messager pMessager, final Element pElement, final String pMessage, final Object... pArgs) {
        pMessager.printMessage(Diagnostic.Kind.ERROR, String.format(pMessage, pArgs), pElement);
    }
    //endregion
}


text:
using Supido.Core.Utils;
using Supido.Structure.Meta;
using System.Collections.Generic;

namespace Supido.Structure
{
    public class StructureTree
    {
        #region - Fields -

        private Dictionary<string, StructureItem> itemMap = new Dictionary<string, StructureItem>();

        #endregion

        #region - Properties -

        /// <summary>
        /// Gets or sets the domains.
        /// </summary>
        /// <value>
        /// The domains.
        /// </value>
        public IList<StructureDomain> Domains { get; set; }

        /// <summary>
        /// Gets or sets the entities.
        /// </summary>
        /// <value>
        /// The entities.
        /// </value>
        public IList<StructureEntity> Entities { get; set; }

        #endregion

        #region - Constructors -

        /// <summary>
        /// Initializes a new instance of the <see cref="StructureTree"/> class.
        /// </summary>
        public StructureTree()
        {
            this.Domains = new List<StructureDomain>();
            this.Entities = new List<StructureEntity>();
        }

        #endregion

        #region - Methods -

        /// <summary>
        /// Adds the item.
        /// </summary>
        /// <param name="item">The item.</param>
        public void AddItem(StructureItem item)
        {
            if (item is StructureDomain)
            {
                this.Domains.Add((StructureDomain)item);
            }
            else
            {
                this.Entities.Add((StructureEntity)item);
            }
        }

        private string GenerateDomainName(DataType type, int length, int decimals, bool isIdentity)
        {
            string result = "Generated";
            if (isIdentity)
            {
                result = result+"Identity";
            }
            switch (type)
            {
                case DataType.Tinyint: return result + "Tinyint";
                case DataType.Smallint: return result + "Smallint";
                case DataType.Int: return result + "Int";
                case DataType.Bigint: return result + "Bigint";
                case DataType.Float: return result + "Float";
                case DataType.Date: return result + "Date";
                case DataType.DateTime: return result + "DateTime";
                case DataType.Money: return result + "Money";
                case DataType.Boolean: return result + "Boolean";
                case DataType.Numeric:
                    if (length == 0)
                    {
                        length = 18;
                    }
                    if (decimals == 0)
                    {
                        decimals = 2;
                    }
                    return result + "Numeric_" + length.ToString() + "_" + decimals.ToString();
                case DataType.String:
                    if (length == 0)
                    {
                        return result + "String";
                    }
                    return result + "String_" + length.ToString();
                default: return result;

            }
        }

        /// <summary>
        /// Builds the metamodel.
        /// </summary>
        /// <returns></returns>
        public MetaModel Build()
        {
            MetaModel result = new MetaModel();
            foreach (StructureDomain domain in this.Domains)
            {
                MetaDomain metaDomain = new MetaDomain();
                metaDomain.Id = null;
                metaDomain.Name = domain.Name;
                metaDomain.IsIdentity = domain.IsIdentity;
                metaDomain.DataType = domain.DataType;
                metaDomain.DataTypeLength = domain.DataTypeLength;
                metaDomain.DataTypeDecimals = domain.DataTypeDecimals;
                metaDomain.IsUsed = false;
                result.AddDomain(metaDomain);
            }
            foreach (StructureEntity entity in this.Entities)
            {
                MetaTable table = new MetaTable();
                table.Id = null;
                table.Name = entity.Name;
                table.PhysicalName = StringUtil.Camelize(table.Name);
                table.LogicalName = StringUtil.Pascalize(table.Name);
                result.AddTable(table);
                foreach (StructureProperty property in entity.Properties)
                {
                    if ((property.ReferenceItem == null) || (property.ReferenceItem is StructureDomain))
                    {
                        MetaColumn column = new MetaColumn();
                        column.TableId = null;
                        column.Ix = null;
                        column.Name = property.Name;
                        MetaDomain metaDomain;
                        if (property.ReferenceItem == null)
                        {
                            string generatedDomainName = this.GenerateDomainName(property.DataType, property.DataTypeLength, property.DataTypeDecimals, property.IsIdentity);
                            metaDomain = result.GetDomain(generatedDomainName);
                            if (metaDomain == null)
                            {
                                metaDomain = new MetaDomain();
                                metaDomain.Id = null;
                                metaDomain.Name = generatedDomainName;
                                metaDomain.IsIdentity = property.IsIdentity;
                                metaDomain.DataType = property.DataType;
                                metaDomain.DataTypeLength = property.DataTypeLength;
                                metaDomain.DataTypeDecimals = property.DataTypeDecimals;
                                result.AddDomain(metaDomain);
                            }
                        }
                        else
                        {
                            metaDomain = result.GetDomain(property.ReferenceItem.Name);
                        }
                        metaDomain.IsUsed = true;
                        column.Domain = metaDomain;
                        column.IsIdentity = property.IsIdentity || metaDomain.IsIdentity;
                        column.IsPrimaryKey = property.IsPrimaryKey || column.IsPrimaryKey;
                        column.IsNullable = property.IsNullable && !column.IsPrimaryKey;
                        column.DataType = metaDomain.DataType;
                        column.DataTypeLength = metaDomain.DataTypeLength;
                        column.DataTypeDecimals = metaDomain.DataTypeLength;
                        column.IsForeignKey = false;
                        table.AddColumn(column);
                    }
                    else
                    {
                        MetaRelation relation = new MetaRelation();
                        relation.ParentName = property.ReferenceItem.Name;
                        relation.SonRelationName = property.Name;
                        relation.Son = table;
                        relation.IsKeyInSon = property.IsPrimaryKey;
                        relation.IsNullableInSon = property.IsNullable;
                        result.Relations.Add(relation);
                    }
                }
            }
            result.Build();
            return result;
        }

        #endregion
    }
}


text:
angular.module('viewapp')
       .controller('viewCtrl', function($scope, $http){

       });


text:
"""
This module provide GUI for the neutron scattering length density calculator

"""

import wx
import math
import sys

from sas.sasgui.guiframe.panel_base import PanelBase

from sas.sasgui.guiframe.utils import format_number
from sas.sasgui.guiframe.utils import check_float
from sas.sasgui.guiframe.events import StatusEvent

# the calculator default value for wavelength is 6
#import periodictable
from periodictable import formula
from periodictable.xsf import xray_energy
from periodictable.xsf import xray_sld_from_atoms
from periodictable.nsf import neutron_scattering
from sas.sasgui.perspectives.calculator import calculator_widgets as widget
from sas.sasgui.guiframe.documentation_window import DocumentationWindow

WAVELENGTH = 6.0
_BOX_WIDTH = 76
_STATICBOX_WIDTH = 350
_SCALE = 1e-6

#SLD panel size
if sys.platform.count("win32") > 0:
    PANEL_TOP = 0
    _STATICBOX_WIDTH = 350
    PANEL_SIZE = 400
    FONT_VARIANT = 0
else:
    PANEL_TOP = 60
    _STATICBOX_WIDTH = 380
    PANEL_SIZE = 410
    FONT_VARIANT = 1

class SldPanel(wx.Panel, PanelBase):
    """
    Provides the SLD calculator GUI.
    """
    ## Internal nickname for the window, used by the AUI manager
    window_name = "SLD Calculator"
    ## Name to appear on the window title bar
    window_caption = "SLD Calculator"
    ## Flag to tell the AUI manager to put this panel in the center pane
    CENTER_PANE = True

    def __init__(self, parent, base=None, *args, **kwds):
        """
        """
        wx.Panel.__init__(self, parent, *args, **kwds)
        PanelBase.__init__(self)
        #Font size
        self.SetWindowVariant(variant=FONT_VARIANT)
        # Object that receive status event
        self.base = base
        self.neutron_wavelength = WAVELENGTH
        self.xray_source_input = WAVELENGTH
        self.parent = parent
        #layout attribute
        self.compound_ctl = None
        self.density_ctl = None
        self.compound = ""
        self.density = ""
        self.neutron_wavelength_ctl = None
        self.xray_source_input_ctl = None
        self.xray_cbox = None
        self.neutron_sld_real_ctl = None
        self.neutron_sld_im_ctl = None
        self.xray_sld_real_ctl = None
        self.xray_sld_im_ctl = None
        self.neutron_abs_ctl = None
        self.neutron_inc_ctl = None
        self.neutron_length_ctl = None
        self.button_calculate = None
        self.xray_source = None
        #Draw the panel
        self._do_layout()
        self.SetAutoLayout(True)
        self.Layout()
        self.fill_xray_cbox()

    def _do_layout(self):
        """
        Draw window content
        """
        unit_a = '[A]'
        unit_density = '[g/cm^(3)]'
        unit_sld = '[1/A^(2)]'
        unit_cm1 = '[1/cm]'
        unit_cm = '[cm]'
        sizer_input = wx.GridBagSizer(5, 5)
        sizer_output = wx.GridBagSizer(5, 5)
        sizer_button = wx.BoxSizer(wx.HORIZONTAL)
        sizer1 = wx.BoxSizer(wx.HORIZONTAL)
        sizer2 = wx.BoxSizer(wx.HORIZONTAL)
        sizer3 = wx.BoxSizer(wx.HORIZONTAL)
        #---------inputs----------------
        inputbox = wx.StaticBox(self, -1, "Input")
        boxsizer1 = wx.StaticBoxSizer(inputbox, wx.VERTICAL)
        boxsizer1.SetMinSize((_STATICBOX_WIDTH, -1))

        compound_txt = wx.StaticText(self, -1, 'Compound ')
        self.compound_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH * 2, -1))
        density_txt = wx.StaticText(self, -1, 'Density ')
        self.density_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, -1))
        unit_density_txt = wx.StaticText(self, -1, unit_density)
        neutron_wavelength_txt = wx.StaticText(self, -1, 'Neutron wavelength')
        self.neutron_wavelength_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, -1))
        self.neutron_wavelength_ctl.SetValue(str(self.neutron_wavelength))
        self.xray_source_input_txt = wx.StaticText(self, -1, 'X-ray wavelength')
        self.xray_source_input_ctl = wx.TextCtrl(self, -1, size=(_BOX_WIDTH, -1))
        self.xray_source_input_ctl.SetValue(str(self.xray_source_input))
        neutron_unit_a_txt = wx.StaticText(self, -1, unit_a)

        self.xray_cbox = wx.ComboBox(self, -1, size=(70, 20), style=wx.CB_READONLY)
        xray_cbox_tip = "Select an element, wavelength or energy"
        self.xray_cbox.SetToolTipString(xray_cbox_tip)
        wx.EVT_COMBOBOX(self.xray_cbox, -1, self.on_select_xray)

        iy = 0
        ix = 0
        sizer_input.Add(compound_txt, (iy, ix), (1, 1),
                             wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
        ix += 1
        sizer_input.Add(self.compound_ctl, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        iy += 1
        ix = 0
        sizer_input.Add(density_txt, (iy, ix), (1, 1),
                             wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
        ix += 1
        sizer_input.Add(self.density_ctl, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 1
        sizer_input.Add(unit_density_txt, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        iy += 1
        ix = 0
        sizer_input.Add(neutron_wavelength_txt, (iy, ix), (1, 1),
                             wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
        ix += 1
        sizer_input.Add(self.neutron_wavelength_ctl, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 1
        sizer_input.Add(neutron_unit_a_txt, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        iy += 1
        ix = 0
        sizer_input.Add(self.xray_source_input_txt, (iy, ix), (1, 1),
                             wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
        ix += 1
        sizer_input.Add(self.xray_source_input_ctl, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 1
        sizer_input.Add(self.xray_cbox, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        boxsizer1.Add(sizer_input)
        sizer1.Add(boxsizer1, 0, wx.EXPAND | wx.ALL, 10)
        #---------Outputs sizer--------
        outputbox = wx.StaticBox(self, -1, "Output")
        boxsizer2 = wx.StaticBoxSizer(outputbox, wx.VERTICAL)
        boxsizer2.SetMinSize((_STATICBOX_WIDTH, -1))

        i_complex = '- i'
        neutron_sld_txt = wx.StaticText(self, -1, 'Neutron SLD')
        self.neutron_sld_real_ctl = wx.TextCtrl(self, -1,
                                                 size=(_BOX_WIDTH, -1))
        self.neutron_sld_real_ctl.SetEditable(False)
        self.neutron_sld_real_ctl.SetToolTipString("Neutron SLD real")
        self.neutron_sld_im_ctl = wx.TextCtrl(self, -1,
                                              size=(_BOX_WIDTH, -1))
        self.neutron_sld_im_ctl.SetEditable(False)
        self.neutron_sld_im_ctl.SetToolTipString("Neutron SLD imaginary")
        neutron_sld_units_txt = wx.StaticText(self, -1, unit_sld)

        xray_sld_txt = wx.StaticText(self, -1, 'X-ray SLD')
        self.xray_sld_real_ctl = wx.TextCtrl(self, -1,
                                               size=(_BOX_WIDTH, -1))
        self.xray_sld_real_ctl.SetEditable(False)
        self.xray_sld_real_ctl.SetToolTipString("X-ray SLD real")
        self.xray_sld_im_ctl = wx.TextCtrl(self, -1,
                                            size=(_BOX_WIDTH, -1))
        self.xray_sld_im_ctl.SetEditable(False)
        self.xray_sld_im_ctl.SetToolTipString("X-ray SLD imaginary")
        xray_sld_units_txt = wx.StaticText(self, -1, unit_sld)

        neutron_inc_txt = wx.StaticText(self, -1, 'Neutron Inc. Xs')
        self.neutron_inc_ctl = wx.TextCtrl(self, -1,
                                            size=(_BOX_WIDTH, -1))
        self.neutron_inc_ctl.SetEditable(False)
        self.neutron_inc_ctl.SetToolTipString("Neutron Inc. Xs")
        neutron_inc_units_txt = wx.StaticText(self, -1, unit_cm1)

        neutron_abs_txt = wx.StaticText(self, -1, 'Neutron Abs. Xs')
        self.neutron_abs_ctl = wx.TextCtrl(self, -1,
                                           size=(_BOX_WIDTH, -1))
        self.neutron_abs_ctl.SetEditable(False)
        self.neutron_abs_ctl.SetToolTipString("Neutron Abs. Xs")
        neutron_abs_units_txt = wx.StaticText(self, -1, unit_cm1)

        neutron_length_txt = wx.StaticText(self, -1, 'Neutron 1/e length')
        self.neutron_length_ctl = wx.TextCtrl(self, -1,
                                               size=(_BOX_WIDTH, -1))
        self.neutron_length_ctl.SetEditable(False)
        self.neutron_length_ctl.SetToolTipString("Neutron 1/e length")
        neutron_length_units_txt = wx.StaticText(self, -1, unit_cm)

        iy = 0
        ix = 0
        sizer_output.Add(neutron_sld_txt, (iy, ix), (1, 1),
                             wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
        ix += 1
        sizer_output.Add(self.neutron_sld_real_ctl, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 1
        sizer_output.Add(wx.StaticText(self, -1, i_complex),
                         (iy, ix), (1, 1), wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 1
        sizer_output.Add(self.neutron_sld_im_ctl,
                         (iy, ix), (1, 1), wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 1
        sizer_output.Add(neutron_sld_units_txt,
                         (iy, ix), (1, 1), wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        iy += 1
        ix = 0
        sizer_output.Add(xray_sld_txt, (iy, ix), (1, 1),
                             wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
        ix += 1
        sizer_output.Add(self.xray_sld_real_ctl, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 1
        sizer_output.Add(wx.StaticText(self, -1, i_complex),
                         (iy, ix), (1, 1), wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 1
        sizer_output.Add(self.xray_sld_im_ctl,
                         (iy, ix), (1, 1), wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 1
        sizer_output.Add(xray_sld_units_txt,
                         (iy, ix), (1, 1), wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        iy += 1
        ix = 0
        sizer_output.Add(neutron_inc_txt, (iy, ix), (1, 1),
                             wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
        ix += 1
        sizer_output.Add(self.neutron_inc_ctl, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 2
        sizer_output.Add(neutron_inc_units_txt, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        iy += 1
        ix = 0
        sizer_output.Add(neutron_abs_txt, (iy, ix), (1, 1),
                             wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
        ix += 1
        sizer_output.Add(self.neutron_abs_ctl, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 2
        sizer_output.Add(neutron_abs_units_txt, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        iy += 1
        ix = 0
        sizer_output.Add(neutron_length_txt, (iy, ix), (1, 1),
                             wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
        ix += 1
        sizer_output.Add(self.neutron_length_ctl, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        ix += 2
        sizer_output.Add(neutron_length_units_txt, (iy, ix), (1, 1),
                            wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        boxsizer2.Add(sizer_output)
        sizer2.Add(boxsizer2, 0, wx.EXPAND | wx.ALL, 10)
        #-----Button  sizer------------

        id = wx.NewId()
        self.button_calculate = wx.Button(self, id, "Calculate")
        self.button_calculate.SetToolTipString("Calculate SLD.")
        self.Bind(wx.EVT_BUTTON, self.calculateSld, id=id)

        id = wx.NewId()
        self.button_help = wx.Button(self, id, "HELP")
        self.button_help.SetToolTipString("help on SLD calculator.")
        self.Bind(wx.EVT_BUTTON, self.on_help, id=id)

        self.button_close = wx.Button(self, wx.ID_CANCEL, 'Close')
        self.button_close.Bind(wx.EVT_BUTTON, self.on_close)
        self.button_close.SetToolTipString("Close this window.")

        sizer_button.Add((150, 20), 1, wx.EXPAND | wx.ADJUST_MINSIZE, 0)
        sizer_button.Add(self.button_calculate, 0, wx.RIGHT | wx.ADJUST_MINSIZE, 20)
        sizer_button.Add(self.button_help, 0, wx.RIGHT | wx.ADJUST_MINSIZE, 20)
        sizer_button.Add(self.button_close, 0, wx.RIGHT | wx.ADJUST_MINSIZE, 20)
        sizer3.Add(sizer_button)
        #---------layout----------------
        vbox = wx.BoxSizer(wx.VERTICAL)
        vbox.Add(sizer1)
        vbox.Add(sizer2)
        vbox.Add(sizer3)
        vbox.Fit(self)
        self.SetSizer(vbox)

    def fill_xray_cbox(self):
        """
        fill the x-ray combobox with the sources
        """
        source_list = ['[A]', '[keV]', 'Element']
        for source in source_list:
            pos = self.xray_cbox.Append(str(source))
            self.xray_cbox.SetClientData(pos, str(source.strip()))
        self.xray_cbox.SetSelection(0)
        self.xray_source = source_list[0]

    def on_select_xray(self, event=None):
        """
        On Selecting a source
        """
        item = event.GetEventObject()
        self.xray_source = item.GetValue().strip()

        if self.xray_source == "[A]":
            self.xray_source_input_txt.SetLabel("X-ray wavelength")
        elif self.xray_source == "[keV]":
            self.xray_source_input_txt.SetLabel("X-ray energy")
        elif self.xray_source == "Element":
            self.xray_source_input_txt.SetLabel("X-ray source")

    def on_help(self, event):
        """
        Bring up the SLD Documentation whenever
        the HELP button is clicked.

        Calls DocumentationWindow with the path of the location within the
        documentation tree (after /doc/ ....".  Note that when using old
        versions of Wx (before 2.9) and thus not the release version of
        installers, the help comes up at the top level of the file as
        webbrowser does not pass anything past the # to the browser when it is
        running "file:///...."

    :param evt: Triggers on clicking the help button
    """

        _TreeLocation = "user/sasgui/perspectives/calculator/"
        _TreeLocation += "sld_calculator_help.html"
        _doc_viewer = DocumentationWindow(self, -1, _TreeLocation, "",
                                          "General Scattering Calculator Help")

    def on_close(self, event):
        """
        close the window containing this panel
        """
        self.parent.Close()

    def calculate_xray_sld(self, element):
        """
        Get an element and compute the corresponding SLD for a given formula

        :param element:  elements a string of existing atom

        """
        myformula = formula(str(element))
        if len(myformula.atoms) != 1:
            return
        element = myformula.atoms.keys()[0]
        energy = xray_energy(element.K_alpha)

        self.sld_formula = formula(str(self.compound), density=self.density)
        atom = self.sld_formula.atoms
        return xray_sld_from_atoms(atom, density=self.density, energy=energy)

    def check_inputs(self):
        """Check validity user inputs"""
        flag = True
        msg = ""
        if check_float(self.density_ctl):
            self.density = float(self.density_ctl.GetValue())
        else:
            flag = False
            msg += "Error for Density value :expect float"

        self.neutron_wavelength = self.neutron_wavelength_ctl.GetValue()
        self.xray_source_input = self.xray_source_input_ctl.GetValue()

        if str(self.neutron_wavelength).lstrip().rstrip() == "":
            self.neutron_wavelength = WAVELENGTH
            self.neutron_wavelength_ctl.SetValue(str(WAVELENGTH))
            self.neutron_wavelength_ctl.SetBackgroundColour(wx.WHITE)
            self.neutron_wavelength_ctl.Refresh()
            msg += "Default value for wavelength is 6.0"
        else:
            if check_float(self.neutron_wavelength_ctl):
                self.neutron_wavelength = float(self.neutron_wavelength)
            else:
                flag = False
                msg += "Error for wavelength value :expect float"

        if str(self.xray_source_input).lstrip().rstrip() == "":
            self.xray_source_input = WAVELENGTH
            self.xray_source_input_ctl.SetValue(str(WAVELENGTH))
            self.xray_source_input_ctl.SetBackgroundColour(wx.WHITE)
            self.xray_source_input_ctl.Refresh()
            msg += "Default value for wavelength is 6.0"
        else:
            if (self.xray_source == '[A]') or (self.xray_source == '[keV]'):
                if check_float(self.xray_source_input_ctl):
                    self.xray_source_input = float(self.xray_source_input)
                else:
                    flag = False
                    msg += "Error for wavelength value :expect float"
            elif (self.xray_source == 'Element'):
                try:
                    import periodictable
                    exec("periodictable." + self.xray_source_input)
                except AttributeError:
                    flag = False
                    msg += "X-ray element supplied isn't in the database"

        self.compound = self.compound_ctl.GetValue().lstrip().rstrip()
        if self.compound != "":
            try :
                formula(self.compound)
                self.compound_ctl.SetBackgroundColour(wx.WHITE)
                self.compound_ctl.Refresh()
            except:
                self.compound_ctl.SetBackgroundColour("pink")
                self.compound_ctl.Refresh()
                flag = False
                msg += "Enter correct formula"
        else:
            self.compound_ctl.SetBackgroundColour("pink")
            self.compound_ctl.Refresh()
            flag = False
            msg += "Enter a formula"
        return flag, msg

    def calculate_sld_helper(self, element, density, molecule_formula):
        """
        Get an element and compute the corresponding SLD for a given formula

        :param element:  elements a string of existing atom

        """
        element_formula = formula(str(element))
        if len(element_formula.atoms) != 1:
            return
        element = element_formula.atoms.keys()[0]
        energy = xray_energy(element.K_alpha)
        atom = molecule_formula.atoms
        return xray_sld_from_atoms(atom, density=density, energy=energy)

    def calculateSld(self, event):
        """
            Calculate the neutron scattering density length of a molecule
        """
        self.clear_outputs()
        try:
            #Check validity user inputs
            flag, msg = self.check_inputs()
            if self.base is not None and msg.lstrip().rstrip() != "":
                msg = "SLD Calculator: %s" % str(msg)
                wx.PostEvent(self.base, StatusEvent(status=msg))
            if not flag:
               return
            #get ready to compute
            self.sld_formula = formula(self.compound,
                                            density=self.density)
            (sld_real, sld_im, _), (_, absorp, incoh), \
                        length = neutron_scattering(compound=self.compound,
                                   density=self.density,
                                   wavelength=self.neutron_wavelength)
            if self.xray_source == "[A]":
                energy = xray_energy(self.xray_source_input)
                xray_real, xray_im = xray_sld_from_atoms(self.sld_formula.atoms,
                                                         density=self.density,
                                                         energy=energy)
            elif self.xray_source == "[keV]":
                xray_real, xray_im = xray_sld_from_atoms(self.sld_formula.atoms,
                                                         density=self.density,
                                                         energy=self.xray_source_input)
            elif self.xray_source == "Element":
                xray_real, xray_im = self.calculate_sld_helper(element=self.xray_source_input,
                                                               density=self.density,
                                                               molecule_formula=self.sld_formula)
            # set neutron sld values
            val = format_number(sld_real * _SCALE)
            self.neutron_sld_real_ctl.SetValue(val)
            val = format_number(math.fabs(sld_im) * _SCALE)
            self.neutron_sld_im_ctl.SetValue(val)
            # Compute the Cu SLD
            self.xray_sld_real_ctl.SetValue(format_number(xray_real * _SCALE))
            val = format_number(math.fabs(xray_im) * _SCALE)
            self.xray_sld_im_ctl.SetValue(val)
            # set incoherence and absorption
            self.neutron_inc_ctl.SetValue(format_number(incoh))
            self.neutron_abs_ctl.SetValue(format_number(absorp))
            # Neutron length
            self.neutron_length_ctl.SetValue(format_number(length))
            # display wavelength
            #self.wavelength_ctl.SetValue(str(self.wavelength))
            #self.wavelength_ctl.SetValue(str(self.wavelength))
        except:
            if self.base is not None:
                msg = "SLD Calculator: %s" % (sys.exc_value)
                wx.PostEvent(self.base, StatusEvent(status=msg))
        if event is not None:
            event.Skip()

    def clear_outputs(self):
        """
        Clear the outputs textctrl
        """
        self.neutron_sld_real_ctl.SetValue("")
        self.neutron_sld_im_ctl.SetValue("")
        self.xray_sld_real_ctl.SetValue("")
        self.xray_sld_im_ctl.SetValue("")
        self.neutron_abs_ctl.SetValue("")
        self.neutron_inc_ctl.SetValue("")
        self.neutron_length_ctl.SetValue("")

class SldWindow(widget.CHILD_FRAME):
    """
    """
    def __init__(self, parent=None, title="SLD Calculator",
                  base=None, manager=None,
                  size=(PANEL_SIZE, PANEL_SIZE), *args, **kwds):
        """
        """
        kwds['title'] = title
        kwds['size'] = size
        widget.CHILD_FRAME.__init__(self, parent, *args, **kwds)
        """
        """
        self.parent = parent
        self.base = base
        self.manager = manager
        self.panel = SldPanel(self, base=base)
        self.Bind(wx.EVT_CLOSE, self.on_close)
        self.SetPosition((wx.LEFT, PANEL_TOP))
        self.Show(True)

    def on_close(self, event):
        """
        On close event
        """
        if self.manager is not None:
            self.manager.sld_frame = None
        self.Destroy()

class ViewApp(wx.App):
    """
    """
    def OnInit(self):
        """
        """
        widget.CHILD_FRAME = wx.Frame
        frame = SldWindow(None, title='SLD Calculator')
        frame.Show(True)
        self.SetTopWindow(frame)
        return True

if __name__ == "__main__":
    app = ViewApp(0)
    app.MainLoop()


text:
import { isString } from "lodash"

import {
  hasBlock,
  optionsHaveException,
  optionsHaveIgnored,
  optionsHaveIgnoredAtRule,
  report,
  ruleMessages,
  validateOptions,
} from "../../utils"

export const ruleName = "at-rule-empty-line-before"

export const messages = ruleMessages(ruleName, {
  expected: "Expected empty line before at-rule",
  rejected: "Unexpected empty line before at-rule",
})

export default function (expectation, options) {
  return (root, result) => {
    const validOptions = validateOptions(result, ruleName, {
      actual: expectation,
      possible: [ "always", "never" ],
    }, {
      actual: options,
      possible: {
        except: [ "blockless-group", "first-nested", "all-nested" ],
        ignore: [ "blockless-group", "after-comment", "all-nested" ],
        ignoreAtRules: [isString],
      },
      optional: true,
    })
    if (!validOptions) { return }

    root.walkAtRules(atRule => {

      // Ignore the first node
      if (atRule === root.first) { return }

      // Return early if at-rule is to be ignored
      if (optionsHaveIgnoredAtRule(options, atRule)) { return }

      // Optionally ignore the expectation if the node is blockless
      if (optionsHaveIgnored(options, "blockless-group") && !hasBlock(atRule)) { return }

      // Optionally ignore the expectation if the node is nested
      const isNested = atRule.parent !== root
      if (optionsHaveIgnored(options, "all-nested") && isNested) { return }

      // Optionally ignore the expectation if a comment precedes this node
      if (optionsHaveIgnored(options, "after-comment")
        && atRule.prev() && atRule.prev().type === "comment") { return }

      const before = atRule.raw("before")
      const emptyLineBefore = before && (
        before.indexOf("\n\n") !== -1
        || before.indexOf("\r\n\r\n") !== -1
        || before.indexOf("\n\r\n") !== -1
      )

      let expectEmptyLineBefore = (expectation === "always") ? true : false

      const previousNode = atRule.prev()

      // Reverse the expectation if any exceptions apply
      if (
        (optionsHaveException(options, "all-nested") && isNested)
        || getsFirstNestedException()
        || getsBlocklessGroupException()
      ) {
        expectEmptyLineBefore = !expectEmptyLineBefore
      }

      // Return if the exceptation is met
      if (expectEmptyLineBefore === emptyLineBefore) { return }

      const message = expectEmptyLineBefore ? messages.expected : messages.rejected

      report({
        message,
        node: atRule,
        result,
        ruleName,
      })

      function getsBlocklessGroupException() {
        return (
          optionsHaveException(options, "blockless-group")
          && previousNode && previousNode.type === "atrule"
          && !hasBlock(previousNode)
          && !hasBlock(atRule)
        )
      }

      function getsFirstNestedException() {
        return (
          optionsHaveException(options, "first-nested")
          && isNested
          && atRule === atRule.parent.first
        )
      }
    })
  }
}


text:
package filodb.memory.format

import java.nio.ByteBuffer
import java.sql.Timestamp

import scala.reflect.ClassTag

import org.agrona.DirectBuffer
import org.agrona.concurrent.UnsafeBuffer
import org.joda.time.DateTime
import scalaxy.loops._

import filodb.memory.format.vectors.Histogram

/**
 * A generic trait for reading typed values out of a row of data.
 * Used for both reading out of Filo vectors as well as for RowToVectorBuilder,
 * which means it can be used to compose heterogeneous Filo vectors together.
 */
// scalastyle:off
trait RowReader {
  def notNull(columnNo: Int): Boolean
  def getBoolean(columnNo: Int): Boolean
  def getInt(columnNo: Int): Int
  def getLong(columnNo: Int): Long
  def getDouble(columnNo: Int): Double
  def getFloat(columnNo: Int): Float
  def getString(columnNo: Int): String
  def getAny(columnNo: Int): Any

  def getBlobBase(columnNo: Int): Any
  def getBlobOffset(columnNo: Int): Long
  def getBlobNumBytes(columnNo: Int): Int // Total number of bytes for the blob

  // By default this is not implemented as histograms can be parsed from multiple serialized forms or actual objects
  def getHistogram(columnNo: Int): Histogram = ???

  /**
   * Retrieves a view into the blob at column columnNo without duplicating contents.
   * Smart implementations could reuse the same UnsafeBuffer to avoid allocations.
   * This default implementation simply allocates a new one.
   */
  def blobAsBuffer(columnNo: Int): DirectBuffer = {
    val buf = new UnsafeBuffer(Array.empty[Byte])
    UnsafeUtils.wrapDirectBuf(getBlobBase(columnNo), getBlobOffset(columnNo), getBlobNumBytes(columnNo), buf)
    buf
  }

  final def getBuffer(columnNo: Int): ByteBuffer = {
    val length = getBlobNumBytes(columnNo)
    getBlobBase(columnNo) match {
      case UnsafeUtils.ZeroPointer =>   // offheap
        UnsafeUtils.asDirectBuffer(getBlobOffset(columnNo), length)
      case array: Array[Byte] =>
        ByteBuffer.wrap(array, (getBlobOffset(columnNo) - UnsafeUtils.arayOffset).toInt, length)
    }
  }

//  def getUtf8MediumOffset(columnNo: Int): Long

  // Please override final def if your RowReader has a faster implementation
  def filoUTF8String(columnNo: Int): ZeroCopyUTF8String = getAny(columnNo) match {
    case s: String =>
      Option(s).map(ZeroCopyUTF8String.apply).getOrElse(ZeroCopyUTF8String.empty)
    case z: ZeroCopyUTF8String => z
    case null => ZeroCopyUTF8String.NA
  }

  /**
   * This method serves two purposes.
   * For RowReaders that need to parse from some input source, such as CSV,
   * the ClassTag gives a way for per-type parsing for non-primitive types.
   * For RowReaders for fast reading paths, such as Spark, the default
   * implementation serves as a fast way to read from objects.
   */
  def as[T: ClassTag](columnNo: Int): T = getAny(columnNo).asInstanceOf[T]
}

import filodb.memory.format.RowReader._

// A RowReader that knows how to hashcode and compare its individual elements.  Extractors must
// correspond to the schema.   This could allow partition keys to be wrapped directly around raw ingest
// elements without converting to BinaryRecord first
trait SchemaRowReader extends RowReader {
  def extractors: Array[TypedFieldExtractor[_]]

  // NOTE: This is an EXTREMELY HOT code path, needs to be super optimized.  No standard Scala collection
  // or slow functional code here.
  override def hashCode: Int = {
    var hash = 0
    for { i <- 0 until extractors.size optimized } {
      hash ^= extractors(i).getField(this, i).hashCode
    }
    hash
  }

  override def equals(other: Any): Boolean = other match {
    case reader: RowReader =>
      for { i <- 0 until extractors.size optimized } {
        if (extractors(i).compare(this, reader, i) != 0) return false
      }
      true
    case other: Any =>
      false
  }
}

/**
 * An example of a RowReader that can read from Scala tuples containing Option[_]
 */
final case class TupleRowReader(tuple: Product) extends RowReader {
  def notNull(columnNo: Int): Boolean =
    tuple.productElement(columnNo).asInstanceOf[Option[Any]].nonEmpty

  def getBoolean(columnNo: Int): Boolean = tuple.productElement(columnNo) match {
    case Some(x: Boolean) => x
    case None => false
  }

  def getInt(columnNo: Int): Int = tuple.productElement(columnNo) match {
    case Some(x: Int) => x
    case None => 0
  }

  def getLong(columnNo: Int): Long = tuple.productElement(columnNo) match {
    case Some(x: Long) => x
    case Some(x: Timestamp) => x.getTime
    case None => 0L
  }

  def getDouble(columnNo: Int): Double = tuple.productElement(columnNo) match {
    case Some(x: Double) => x
    case None => 0.0
  }

  def getFloat(columnNo: Int): Float = tuple.productElement(columnNo) match {
    case Some(x: Float) => x
    case None => 0.0F
  }

  def getString(columnNo: Int): String = tuple.productElement(columnNo) match {
    case Some(x: String) => x
    case None => null
  }

  def getAny(columnNo: Int): Any =
    tuple.productElement(columnNo).asInstanceOf[Option[Any]].getOrElse(null)

  override def getBlobBase(columnNo: Int): Any = ???
  override def getBlobOffset(columnNo: Int): Long = ???
  override def getBlobNumBytes(columnNo: Int): Int = ???
}

/**
 * A RowReader for working with OpenCSV or anything else that emits string[]
 */
final case class ArrayStringRowReader(strings: Array[String]) extends RowReader {
  //scalastyle:off
  def notNull(columnNo: Int): Boolean = strings(columnNo) != null && strings(columnNo) != ""
  //scalastyle:on
  def getBoolean(columnNo: Int): Boolean = strings(columnNo).toBoolean
  def getInt(columnNo: Int): Int = strings(columnNo).toInt
  def getLong(columnNo: Int): Long = try {
    strings(columnNo).toLong
  } catch {
    case ex: NumberFormatException => DateTime.parse(strings(columnNo)).getMillis
  }
  def getDouble(columnNo: Int): Double = strings(columnNo).toDouble
  def getFloat(columnNo: Int): Float = strings(columnNo).toFloat
  def getString(columnNo: Int): String = strings(columnNo)
  def getAny(columnNo: Int): Any = strings(columnNo)

  override def as[T: ClassTag](columnNo: Int): T = {
    implicitly[ClassTag[T]].runtimeClass.asInstanceOf[T]
  }

  override def toString: String = s"ArrayStringRR(${strings.mkString(", ")})"

  override def getBlobBase(columnNo: Int): Any = ???
  override def getBlobOffset(columnNo: Int): Long = ???
  override def getBlobNumBytes(columnNo: Int): Int = ???
//  override def getUtf8MediumOffset(columnNo: Int): Long = ???
}
// scalastyle:off
/**
 * A RowReader that changes the column numbers around of an original RowReader.  It could be used to
 * present a subset of the original columns, for example.
 * @param columnRoutes an array of original column numbers for the column in question.  For example:
 *                     Array(0, 2, 5) means an getInt(1) would map to a getInt(2) for the original RowReader
 */
//noinspection ScalaStyle
trait RoutingReader extends RowReader {
  def origReader: RowReader
  def columnRoutes: Array[Int]

  final def notNull(columnNo: Int): Boolean    = origReader.notNull(columnRoutes(columnNo))
  final def getBoolean(columnNo: Int): Boolean = origReader.getBoolean(columnRoutes(columnNo))
  final def getInt(columnNo: Int): Int         = origReader.getInt(columnRoutes(columnNo))
  final def getLong(columnNo: Int): Long       = origReader.getLong(columnRoutes(columnNo))
  final def getDouble(columnNo: Int): Double   = origReader.getDouble(columnRoutes(columnNo))
  final def getFloat(columnNo: Int): Float     = origReader.getFloat(columnRoutes(columnNo))
  final def getString(columnNo: Int): String   = origReader.getString(columnRoutes(columnNo))
  final def getAny(columnNo: Int): Any         = origReader.getAny(columnRoutes(columnNo))
  final def getBlobBase(columnNo: Int): Any = ???
  final def getBlobOffset(columnNo: Int): Long = ???
  final def getBlobNumBytes(columnNo: Int): Int = ???

  override def equals(other: Any): Boolean = other match {
    case RoutingRowReader(orig, _) => orig.equals(origReader)
    case r: RowReader              => r.equals(origReader)
    case other: Any                => false
  }
}

final case class RoutingRowReader(origReader: RowReader, columnRoutes: Array[Int]) extends RoutingReader

// A RoutingRowReader which is also a SchemaRowReader
final case class SchemaRoutingRowReader(origReader: RowReader,
                                        columnRoutes: Array[Int],
                                        extractors: Array[TypedFieldExtractor[_]])
extends RoutingReader with SchemaRowReader {
  override def toString: String = s"SchemaRoutingRR($origReader, ${columnRoutes.toList})"
}

final case class SingleValueRowReader(value: Any) extends RowReader {
  def notNull(columnNo: Int): Boolean = Option(value).isDefined
  def getBoolean(columnNo: Int): Boolean = value.asInstanceOf[Boolean]
  def getInt(columnNo: Int): Int = value.asInstanceOf[Int]
  def getLong(columnNo: Int): Long = value.asInstanceOf[Long]
  def getDouble(columnNo: Int): Double = value.asInstanceOf[Double]
  def getFloat(columnNo: Int): Float = value.asInstanceOf[Float]
  def getString(columnNo: Int): String = value.asInstanceOf[String]
  override def getHistogram(columnNo: Int): Histogram = value.asInstanceOf[Histogram]
  def getAny(columnNo: Int): Any = value
  def getBlobBase(columnNo: Int): Any = value
  def getBlobOffset(columnNo: Int): Long = 0
  def getBlobNumBytes(columnNo: Int): Int = value.asInstanceOf[Array[Byte]].length
}

final case class SeqRowReader(sequence: Seq[Any]) extends RowReader {
  def notNull(columnNo: Int): Boolean = true
  def getBoolean(columnNo: Int): Boolean = sequence(columnNo).asInstanceOf[Boolean]
  def getInt(columnNo: Int): Int = sequence(columnNo).asInstanceOf[Int]
  def getLong(columnNo: Int): Long = sequence(columnNo).asInstanceOf[Long]
  def getDouble(columnNo: Int): Double = sequence(columnNo).asInstanceOf[Double]
  def getFloat(columnNo: Int): Float = sequence(columnNo).asInstanceOf[Float]
  def getString(columnNo: Int): String = sequence(columnNo).asInstanceOf[String]
  override def getHistogram(columnNo: Int): Histogram = sequence(columnNo).asInstanceOf[Histogram]
  def getAny(columnNo: Int): Any = sequence(columnNo)
  def getBlobBase(columnNo: Int): Any = ???
  def getBlobOffset(columnNo: Int): Long = ???
  def getBlobNumBytes(columnNo: Int): Int = ???
}

final case class UTF8MapIteratorRowReader(records: Iterator[Map[ZeroCopyUTF8String, ZeroCopyUTF8String]]) extends Iterator[RowReader] {
  var currVal: Map[ZeroCopyUTF8String, ZeroCopyUTF8String] = _

  private val rowReader = new RowReader {
    def notNull(columnNo: Int): Boolean = true
    def getBoolean(columnNo: Int): Boolean = ???
    def getInt(columnNo: Int): Int = ???
    def getLong(columnNo: Int): Long = ???
    def getDouble(columnNo: Int): Double = ???
    def getFloat(columnNo: Int): Float = ???
    def getString(columnNo: Int): String = currVal.toString
    def getAny(columnNo: Int): Any = currVal

    def getBlobBase(columnNo: Int): Any = ???
    def getBlobOffset(columnNo: Int): Long = ???
    def getBlobNumBytes(columnNo: Int): Int = ???
  }

  override def hasNext: Boolean = records.hasNext

  override def next(): RowReader = {
    currVal = records.next()
    rowReader
  }
}

final case class SchemaSeqRowReader(sequence: Seq[Any],
                                    extractors: Array[TypedFieldExtractor[_]]) extends SchemaRowReader {
  def notNull(columnNo: Int): Boolean = true
  def getBoolean(columnNo: Int): Boolean = sequence(columnNo).asInstanceOf[Boolean]
  def getInt(columnNo: Int): Int = sequence(columnNo).asInstanceOf[Int]
  def getLong(columnNo: Int): Long = sequence(columnNo).asInstanceOf[Long]
  def getDouble(columnNo: Int): Double = sequence(columnNo).asInstanceOf[Double]
  def getFloat(columnNo: Int): Float = sequence(columnNo).asInstanceOf[Float]
  def getString(columnNo: Int): String = sequence(columnNo).asInstanceOf[String]
  override def getHistogram(columnNo: Int): Histogram = sequence(columnNo).asInstanceOf[Histogram]
  def getAny(columnNo: Int): Any = sequence(columnNo)
  def getBlobBase(columnNo: Int): Any = sequence(columnNo).asInstanceOf[Array[Byte]]
  def getBlobOffset(columnNo: Int): Long = 0
  def getBlobNumBytes(columnNo: Int): Int = sequence(columnNo).asInstanceOf[Array[Byte]].length
}

object RowReader {
  import DefaultValues._

  // Type class for extracting a field of a specific type .. and comparing a field from two RowReaders
  trait TypedFieldExtractor[@specialized F] {
    def getField(reader: RowReader, columnNo: Int): F
    def getFieldOrDefault(reader: RowReader, columnNo: Int): F = getField(reader, columnNo)
    def compare(reader: RowReader, other: RowReader, columnNo: Int): Int
  }

  // A generic FieldExtractor for objects
  case class ObjectFieldExtractor[T: ClassTag](default: T) extends TypedFieldExtractor[T] {
    final def getField(reader: RowReader, columnNo: Int): T = reader.as[T](columnNo)
    final override def getFieldOrDefault(reader: RowReader, columnNo: Int): T =
      if (reader.notNull(columnNo)) getField(reader, columnNo) else default
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      if (getFieldOrDefault(reader, columnNo) == getFieldOrDefault(other, columnNo)) 0 else 1
  }

  class WrappedExtractor[@specialized T, F: TypedFieldExtractor](func: F => T)
    extends TypedFieldExtractor[T] {
    val orig = implicitly[TypedFieldExtractor[F]]
    def getField(reader: RowReader, columnNo: Int): T = func(orig.getField(reader, columnNo))
    def compare(reader: RowReader, other: RowReader, col: Int): Int = orig.compare(reader, other, col)
  }

  implicit object BooleanFieldExtractor extends TypedFieldExtractor[Boolean] {
    final def getField(reader: RowReader, columnNo: Int): Boolean = reader.getBoolean(columnNo)
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      java.lang.Boolean.compare(getFieldOrDefault(reader, columnNo), getFieldOrDefault(other, columnNo))
  }

  implicit object LongFieldExtractor extends TypedFieldExtractor[Long] {
    final def getField(reader: RowReader, columnNo: Int): Long = reader.getLong(columnNo)
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      java.lang.Long.compare(getFieldOrDefault(reader, columnNo), getFieldOrDefault(other, columnNo))
  }

  implicit object IntFieldExtractor extends TypedFieldExtractor[Int] {
    final def getField(reader: RowReader, columnNo: Int): Int = reader.getInt(columnNo)
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      java.lang.Integer.compare(getFieldOrDefault(reader, columnNo), getFieldOrDefault(other, columnNo))
  }

  implicit object DoubleFieldExtractor extends TypedFieldExtractor[Double] {
    final def getField(reader: RowReader, columnNo: Int): Double = reader.getDouble(columnNo)
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      java.lang.Double.compare(getFieldOrDefault(reader, columnNo), getFieldOrDefault(other, columnNo))
  }

  implicit object FloatFieldExtractor extends TypedFieldExtractor[Float] {
    final def getField(reader: RowReader, columnNo: Int): Float = reader.getFloat(columnNo)
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      java.lang.Float.compare(getFieldOrDefault(reader, columnNo), getFieldOrDefault(other, columnNo))
  }

  implicit object StringFieldExtractor extends TypedFieldExtractor[String] {
    final def getField(reader: RowReader, columnNo: Int): String = reader.getString(columnNo)
    override final def getFieldOrDefault(reader: RowReader, columnNo: Int): String = {
      val str = reader.getString(columnNo)
      if (str == null) DefaultString else str
    }
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      getFieldOrDefault(reader, columnNo).compareTo(getFieldOrDefault(other, columnNo))
  }

  implicit object UTF8StringFieldExtractor extends TypedFieldExtractor[ZeroCopyUTF8String] {
    final def getField(reader: RowReader, columnNo: Int): ZeroCopyUTF8String =
      reader.filoUTF8String(columnNo)
    // TODO: do UTF8 comparison so we can avoid having to deserialize
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      getFieldOrDefault(reader, columnNo).compareTo(getFieldOrDefault(other, columnNo))
  }

  implicit object DateTimeFieldExtractor extends TypedFieldExtractor[DateTime] {
    final def getField(reader: RowReader, columnNo: Int): DateTime = reader.as[DateTime](columnNo)
    override final def getFieldOrDefault(reader: RowReader, columnNo: Int): DateTime = {
      val dt = reader.as[DateTime](columnNo)
      if (dt == null) DefaultDateTime else dt
    }
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      getFieldOrDefault(reader, columnNo).compareTo(getFieldOrDefault(other, columnNo))
  }

  implicit object TimestampFieldExtractor extends TypedFieldExtractor[Timestamp] {
    final def getField(reader: RowReader, columnNo: Int): Timestamp = reader.as[Timestamp](columnNo)
    override final def getFieldOrDefault(reader: RowReader, columnNo: Int): Timestamp = {
      val ts = reader.as[Timestamp](columnNo)
      if (ts == null) DefaultTimestamp else ts
    }
    // TODO: compare the Long, instead of deserializing and comparing Timestamp object
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      getFieldOrDefault(reader, columnNo).compareTo(getFieldOrDefault(other, columnNo))
  }

  implicit object HistogramExtractor extends TypedFieldExtractor[Histogram] {
    final def getField(reader: RowReader, columnNo: Int): Histogram = reader.getHistogram(columnNo)
    final def compare(reader: RowReader, other: RowReader, columnNo: Int): Int =
      getFieldOrDefault(reader, columnNo).compare(getFieldOrDefault(other, columnNo))
  }
}


text:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="box_browsesdk_accent">#ff009688</color>
    <color name="box_browsesdk_primary_text">#de000000</color>
    <color name="box_browsesdk_hint">#ff999ea4</color>
    <color name="box_browsesdk_disabled_hint">#80323232</color>
    <color name="box_browsesdk_primary">#ffe0e0e0</color>
    <color name="box_browsesdk_primary_dark">#ff9e9e9e</color>
    <color name="box_browsesdk_divider">#14bdc3c7</color>
    <color name="box_browsesdk_shadow">#88333333</color>
    <color name="box_browsesdk_list_background">#ffffff</color>

    <color name="box_browsesdk_media_list_background">@color/box_browsesdk_list_background</color>
    <color name="box_browsesdk_media_list_item_background">@color/box_browsesdk_primary</color>
    <color name="box_browsesdk_dark_translucent">#cc000000</color>

    <color name="box_browsesdk_list_item_color">#737F8B</color>
    <color name="primary">#1992D4</color>
    <color name="primary_disabled">#341992D4</color>
    <color name="black">#FF212121</color>

</resources>


text:
import {Component, ElementRef} from 'angular2/core'

@Component({
	selector: 'course-pie-chart',
	template: `<div></div>`
})

export class CoursePieChartComponent {
	public el: any;
	constructor(elementRef: ElementRef) {
		this.el = elementRef.nativeElement;
		this.draw();
	}

	public options = {
      		title: 'Course Revenue Share',
	        width: 1400,
			height: 500,
	        curveType: 'none',
	        is3D: true,
			legend: {position: 'labeled'},
	        pieSliceText : 'none'
    };
    public dataSource = 'https://docs.google.com/spreadsheets/d/1dl9iKo80sSKU03PAbNqC5d4EPUnl12VqgF5RAdcVihw/gviz/tq?sheet=course&header=1&range=A13:B22';

	draw() {
			var chart = new google.visualization.ChartWrapper({
			chartType: 'PieChart',
   		 	dataSourceUrl: this.dataSource,
    		options: this.options
  		});

		chart.draw(this.el);
	}
}


text:
require "spec_helper"

describe BookingSync::API::Client::RentalAgreements do
  let(:client) { BookingSync::API::Client.new(test_access_token) }
  let(:attributes) {
    { body: "Lorem ipsum" }
  }

  before { |ex| @casette_base_path = casette_path(casette_dir, ex.metadata) }

  describe ".rental_agreements", :vcr do
    it "returns rental agreements" do
      expect(client.rental_agreements).not_to be_empty
      assert_requested :get, bs_url("rental_agreements")
    end
  end

  describe ".rental_agreement", :vcr do
    let(:prefetched_rental_agreement_id) {
      find_resource("#{@casette_base_path}_rental_agreements/returns_rental_agreements.yml", "rental_agreements")[:id]
    }

    it "returns a single rental_agreement" do
      rental_agreement = client.rental_agreement(prefetched_rental_agreement_id)
      expect(rental_agreement.id).to eq prefetched_rental_agreement_id
    end
  end

  describe ".create_rental_agreement", :vcr do
    it "creates a new rental agreement" do
      client.create_rental_agreement(attributes)
      assert_requested :post, bs_url("rental_agreements"),
        body: { rental_agreements: [attributes] }.to_json
    end

    it "returns newly created rental agreement" do
      VCR.use_cassette("BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement") do
        rental_agreement = client.create_rental_agreement(attributes)
        expect(rental_agreement.body).to eq(attributes[:body])
      end
    end
  end

  describe ".create_rental_agreement_for_booking", :vcr do
    let(:booking) do
      find_resource("#{casette_dir}/BookingSync_API_Client_Bookings/_booking/returns_a_single_booking.yml", "bookings")
    end

    it "creates a new rental agreement" do
      client.create_rental_agreement_for_booking(booking, attributes)
      assert_requested :post, bs_url("bookings/#{booking}/rental_agreements"),
        body: { rental_agreements: [attributes] }.to_json
    end

    it "returns newly created rental agreement" do
      VCR.use_cassette("BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement") do
        rental_agreement = client.create_rental_agreement_for_booking(booking, attributes)
        expect(rental_agreement.body).to eq(attributes[:body])
      end
    end
  end

  describe ".create_rental_agreement_for_rental", :vcr do
    let(:rental) do
      find_resource("#{casette_dir}/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml", "rentals")
    end

    it "creates a new rental agreement" do
      client.create_rental_agreement_for_rental(rental, attributes)
      assert_requested :post, bs_url("rentals/#{rental}/rental_agreements"),
        body: { rental_agreements: [attributes] }.to_json
    end

    it "returns newly created rental agreement" do
      VCR.use_cassette("BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement") do
        rental_agreement = client.create_rental_agreement_for_rental(rental, attributes)
        expect(rental_agreement.body).to eq(attributes[:body])
      end
    end
  end
end


text:
module Exchanger
  # The FindItem operation identifies items that are located in a specified folder.
  #
  # http://msdn.microsoft.com/en-us/library/aa566107.aspx
  class FindItem < Operation
    class Request < Operation::Request
      attr_accessor :folder_id, :traversal, :base_shape, :email_address

      # Reset request options to defaults.
      def reset
        @folder_id = :contacts
        @traversal = :shallow
        @base_shape = :all_properties
        @email_address = nil
      end

      def to_xml
        Nokogiri::XML::Builder.new do |xml|
          xml.send("soap:Envelope", "xmlns:soap" => NS["soap"]) do
            xml.send("soap:Body") do
              xml.FindItem("xmlns" => NS["m"], "xmlns:t" => NS["t"], "Traversal" => traversal.to_s.camelize) do
                xml.ItemShape do
                  xml.send "t:BaseShape", base_shape.to_s.camelize
                end
                xml.ParentFolderIds do
                  if folder_id.is_a?(Symbol)
                    xml.send("t:DistinguishedFolderId", "Id" => folder_id) do
                      if email_address
                        xml.send("t:Mailbox") do
                          xml.send("t:EmailAddress", email_address)
                        end
                      end
                    end
                  else
                    xml.send("t:FolderId", "Id" => folder_id)
                  end
                end
              end
            end
          end
        end
      end
    end

    class Response < Operation::Response
      def items
        to_xml.xpath(".//t:Items", NS).children.map do |node|
          item_klass = Exchanger.const_get(node.name)
          item_klass.new_from_xml(node)
        end
      end
    end
  end
end


text:
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>bootstrap/css/bootstrap.min.css" media="screen" />
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>style.css" media="screen" />
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>styles/icons.css" media="screen" />
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>styles/animate.css" media="screen" />
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>js/rs-plugin/css/settings.css" media="screen" />
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>styles/responsive.css" media="screen" />
		<link href='http://fonts.googleapis.com/css?family=Marcellus' rel='stylesheet' type='text/css'>

		<link rel="shortcut icon" href="<?php echo base_url();?>images/favicon.ico">
		<link rel="apple-touch-icon" href="<?php echo base_url();?>images/apple-touch-icon.png">


text:
package cn.lxz.sweb.constant;

/**
 * 支持自定义显示名称的枚举。
 */
public interface EnumDisplayNameSupport {
    String displayName();
}


text:
package com.victorsima.uber.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * Uber User Profile model obj
 */
public class UserProfile {

    @Expose
    @SerializedName("first_name")
    private String firstName;

    @Expose
    @SerializedName("last_name")
    private String lastName;

    @Expose
    @SerializedName("email")
    private String email;
    @Expose
    @SerializedName("picture")
    private String picture;

    @Expose
    @SerializedName("promo_code")
    private String promoCode;

    @Expose
    @SerializedName("uuid")
    private String uuid;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getPromoCode() {
        return promoCode;
    }

    public void setPromoCode(String promoCode) {
        this.promoCode = promoCode;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}