text:
table,
table-wrap,
thead,
tfoot {
  width: 100%;
}
tr,
th,
td {
  width: auto !important;
}
table-wrap p {
  margin: 0 !important;
}
caption {
  display: table-header-group;
}
article table > caption {
  display: table-caption;
}
td {
  border-left: thin;
  border-left-color: #eeeeee;
  border-left-width: 2px !important;
}
col:before {
  content: "" !important;
}
/* Recreate behavior similar with the one above for the WebAuthor
   but put 'colspecs...' before colgroup element because subject selector is not supported. */
@media oxygen and (platform: webapp) {
  col {
    display: none;
  }
  colgroup,
  colgroup:-oxy-visible-colspecs col {
    display: block;
  }
  colgroup:before(10) {
    content: oxy_button(actionID, 'table.expand.colspec', transparent, true, color, #000080, fontInherit, true, showText, true);
    text-align: left;
    font-family: sansserif, verdana, helvetica;
    font-size: 0.75em;
    color: navy;
  }
  colgroup:-oxy-visible-colspecs:before(10) {
    content: oxy_button(actionID, 'table.collapse.colspec', transparent, true, color, #000080, fontInherit, true, showText, true);
  }
}
colspec,
col,
spanspec {
  text-align: attr(align);
}
@media oxygen {
  /* These have meaning only for editing. In publishing,
   these properties would be passed to the table cells.*/
  colspec,
  col,
  spanspec {
    background-color: inherit;
    font-family: sansserif, verdana, helvetica;
    font-size: 0.75em;
  }
  colspec:after {
    content: "  width " oxy_textfield(edit, "@colwidth", columns, 7) "  align " oxy_combobox(edit, "@align", editable, false, canRemoveValue, true, columns, 10) "  " oxy_checkbox(edit, "@colsep", values, "1", labels, "colsep", fontInherit, true) oxy_checkbox(edit, "@rowsep", values, "1", labels, "rowsep", fontInherit, true);
    white-space: pre;
    padding-bottom: 5px;
    unicode-bidi: embed;
    direction: ltr;
  }
  col:after {
    content: "  Width " oxy_textfield(edit, "@width", columns, 7) "  Align " oxy_combobox(edit, "@align", editable, false, canRemoveValue, true, columns, 10);
    white-space: pre;
    padding-bottom: 5px;
    unicode-bidi: embed;
    direction: ltr;
  }
  colgroup:-oxy-visible-colspecs:before(1) {
    content: oxy_button(actionID, 'refresh');
  }
  spanspec:before {
    content: "before";
  }
  spanspec:after {
    content: "name " oxy_textfield(edit, "@spanname", columns, 7) " start column " oxy_textfield(edit, "@namest", columns, 7) " end column " oxy_textfield(edit, "@nameend", columns, 7);
    white-space: pre;
    unicode-bidi: embed;
    direction: ltr;
  }
}


text:
<?php

namespace ccxt\pro;

// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code

use Exception; // a common import

class binancecoinm extends \ccxt\async\binance {

    public function describe() {
        return $this->deep_extend(parent::describe(), array(
            'id' => 'binancecoinm',
            'name' => 'Binance COIN-M',
            'urls' => array(
                'logo' => 'https://user-images.githubusercontent.com/1294454/117738721-668c8d80-b205-11eb-8c49-3fad84c4a07f.jpg',
            ),
            'options' => array(
                'defaultType' => 'delivery',
            ),
        ));
    }
}

redpajama_set_name: RedPajamaGithub


text:
<TITLE>Review for Grapes of Wrath, The (1940)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">

Grapes of Wrath, The (1940)

reviewed by
Jude Wanniski

Ten Movies That Shook Wanniski

Memo To - Website browsers, fans & clients
>From - Jude Wanniski  http://www.polyconomics.com
Re - #6 "The Grapes of Wrath"

Continuing with the "movie list," here is number six of the ten
films that most shaped my life. These are not my favorite films.
They are the movies I've seen that have had the greatest
influence on my thinking, my character, my life. Some are
favorites that I enjoy watching over and over again, which you
can tell as you read each entry. Try to think of your own
experiences with films and how they influenced the course of
your life. It makes life more interesting to be aware, as you
live it, to know how things such as books and films and magazine
articles alter your path in significant ways. Sometime last year
the Sunday NYTimes "Arts and Leisure" section had a piece on how
difficult it is to think of a movie that may have changed
history. The only movie they could think of was a silent film by
D.W. Griffith, Birth of a Nation, which had a scene about the
KuKluxKlan that the author believes changed national thinking
about the KKK. How silly. Each of the ten films listed here
changed my history, and if I had not seen them, I would not have
helped change history in the ways that I have. Films don't move
masses. They move individuals who move masses.

6. "The Grapes of Wrath" (1940) I was only four when this Henry
Fonda flick hit the silver screen, and I rather doubt I saw it
then, but did see it the first of many times before I was 10.
Fonda was my maternal grandmother's favorite actor, not least
because he almost always played a fellow who tried to help the
poor folks and bravely confronted social injustice. (Note he
also stars in Movie #1 on my list, "The Ox-Bow Incident."
"Grapes of Wrath" is a Great Depression story, about
down-and-out Okies leaving the dustbowl in search of the
land-of-milk-and-honey in California in a rickety truck. They
encounter ups and downs along the way and find the going rough
even when they get to California. The scene that hit me hardest,
as a little kid, takes place in a highway diner where they stop
to buy half a loaf of bread, as I recall. One of the little
Okie kids asks a waitress for a penny candy, because that's all
he has. She looks at the ragamuffin and sells him a candy, while
two husky truckdrivers look on waiting to pay their bill. They
tip her a dollar, with one telling the waitress that he knows
the candy she gave the kid cost a nickel. As the men walk out,
she shakes her head and smiles: "Truckdrivers!" From that
moment,it's a film moment that still occasionally inspires me to
sudden impulses of generosity and a definite bias toward the
Teamsters Union.

  --------------------------------------------------------------------
  Posted using Reference.COM                  http://WWW.Reference.COM
  FREE Usenet and Mailing list archive, directory and clipping service
  --------------------------------------------------------------------

The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).

The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.

Please direct comments/criticisms of the review to relevant newsgroups.

Broken URLs inthe reviews are the responsibility of the author.

The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.

Related links: index of all rec.arts.movies.reviews reviews


text:
<?php

// autoload_files.php @generated by Composer

$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);

return array(
    $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/Random.php',
    $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php',
    $vendorDir . '/ircmaxell/password-compat/lib/password.php',
    $vendorDir . '/guzzlehttp/streams/src/functions.php',
    $vendorDir . '/wp-cli/php-cli-tools/lib/cli/cli.php',
    $vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php',
    $vendorDir . '/guzzlehttp/guzzle/src/functions.php',
);


text:
package com.winterwell.utils.web;

import java.util.Collection;
import java.util.Map;

import com.winterwell.utils.IFn;
import com.winterwell.utils.containers.Containers;

/**
 * I can has dynamic ajax action! Call toJson() to get a JSON String
 * @author daniel
 */
public interface IHasJson {

	default void appendJson(StringBuilder sb) {
		sb.append(toJSONString());
	}

	/**
	 * Matches JSONString#toJSONString()
	 * @return A JSON String
	 */
	default String toJSONString() {
		return new SimpleJson().toJson(toJson2());
	}

	/**
	 * @return An object suitable for conversion to JSON using a standard library (such as Jetty's JSON class).
	 * Probably a Map, with nested Maps, Lists, and primitives/Strings.
	 * Can use `return Containers.objectAsMap(this);`
	 *
	 * @throws UnsupportedOperationException
	 */
	Object toJson2() throws UnsupportedOperationException;

	/**
	 * Use this with Containers.applyToValues()
	 */
	public static final IFn RECURSE_TOJSON2 = new IFn() {
		@Override
		public Object apply(Object value) {
			if (value==null) return null;
			if (value instanceof com.winterwell.utils.web.IHasJson) {
				return ((com.winterwell.utils.web.IHasJson) value).toJson2();
			}
			if (value instanceof Collection) {
				return Containers.apply((Collection)value, this);
			}
			if (value instanceof Map) {
				return Containers.applyToValues(this, (Map)value);
			}
			// leave as is and hope
			return value;
		}
	};
}


text:
<?php
namespace Icicle\Loop;

use Icicle\Exception\UnsupportedError;
use Icicle\Loop\Manager\{IoManager, SignalManager, TimerManager};
use Icicle\Loop\Manager\Ev\{EvIoManager, EvSignalManager, EvTimerManager};

/**
 * Uses the ev extension to poll sockets for I/O and create timers.
 */
class EvLoop extends AbstractLoop
{
    /**
     * @var \EvLoop
     */
    private $loop;

    /**
     * @return bool True if EvLoop can be used, false otherwise.
     */
    public static function enabled(): bool
    {
        return extension_loaded('ev');
    }

    /**
     * @param bool $enableSignals True to enable signal handling, false to disable.
     * @param \EvLoop|null $loop Use null for an EvLoop object to be automatically created.
     *
     * @throws \Icicle\Exception\UnsupportedError If the event extension is not loaded.
     */
    public function __construct(bool $enableSignals = true, \EvLoop $loop = null)
    {
        // @codeCoverageIgnoreStart
        if (!self::enabled()) {
            throw new UnsupportedError(__CLASS__ . ' requires the ev extension.');
        } // @codeCoverageIgnoreEnd

        $this->loop = $loop ?: new \EvLoop();

        parent::__construct($enableSignals);
    }

    /**
     * @return  \EvLoop
     *
     * @codeCoverageIgnore
     */
    public function getEvLoop(): \EvLoop
    {
        return $this->loop;
    }

    /**
     * {@inheritdoc}
     */
    protected function dispatch(bool $blocking)
    {
        $flags = \Ev::RUN_ONCE;

        if (!$blocking) {
            $flags |= \Ev::RUN_NOWAIT;
        }

        $this->loop->run($flags); // Dispatch I/O, timer, and signal callbacks.
    }

    /**
     * Calls loopFork() on the EvLoop object.
     */
    public function reInit()
    {
        $this->loop->loopFork();
    }

    /**
     * {@inheritdoc}
     */
    protected function createPollManager(): IoManager
    {
        return new EvIoManager($this, \Ev::READ);
    }

    /**
     * {@inheritdoc}
     */
    protected function createAwaitManager(): IoManager
    {
        return new EvIoManager($this, \Ev::WRITE);
    }

    /**
     * {@inheritdoc}
     */
    protected function createTimerManager(): TimerManager
    {
        return new EvTimerManager($this);
    }

    /**
     * {@inheritdoc}
     */
    protected function createSignalManager(): SignalManager
    {
        return new EvSignalManager($this);
    }
}


text:
.class public Lo/ᴉ;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/os/Parcelable$Creator;

# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;Landroid/os/Parcelable$Creator<Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;>;"
    }
.end annotation

# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static ˊ(Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;Landroid/os/Parcel;I)V
    .locals 4

    invoke-static {p1}, Lo/ż;->ˊ(Landroid/os/Parcel;)I

    move-result v3

    iget v0, p0, Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;->ˊ:I

    const/4 v1, 0x1

    invoke-static {p1, v1, v0}, Lo/ż;->ˊ(Landroid/os/Parcel;II)V

    iget-object v0, p0, Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;->ˋ:Lcom/google/android/gms/drive/DriveId;

    const/4 v1, 0x2

    const/4 v2, 0x0

    invoke-static {p1, v1, v0, p2, v2}, Lo/ż;->ˊ(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V

    iget-object v0, p0, Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;->ˎ:Lcom/google/android/gms/drive/metadata/internal/MetadataBundle;

    const/4 v1, 0x3

    const/4 v2, 0x0

    invoke-static {p1, v1, v0, p2, v2}, Lo/ż;->ˊ(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V

    iget-object v0, p0, Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;->ˏ:Lcom/google/android/gms/drive/Contents;

    const/4 v1, 0x4

    const/4 v2, 0x0

    invoke-static {p1, v1, v0, p2, v2}, Lo/ż;->ˊ(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V

    iget-boolean v0, p0, Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;->ᐝ:Z

    const/4 v1, 0x5

    invoke-static {p1, v1, v0}, Lo/ż;->ˊ(Landroid/os/Parcel;IZ)V

    iget-object v0, p0, Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;->ʻ:Ljava/lang/String;

    const/4 v1, 0x6

    const/4 v2, 0x0

    invoke-static {p1, v1, v0, v2}, Lo/ż;->ˊ(Landroid/os/Parcel;ILjava/lang/String;Z)V

    iget v0, p0, Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;->':I

    const/4 v1, 0x7

    invoke-static {p1, v1, v0}, Lo/ż;->ˊ(Landroid/os/Parcel;II)V

    invoke-static {p1, v3}, Lo/ż;->ˊ(Landroid/os/Parcel;I)V

    return-void
.end method

# virtual methods
.method public synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
    .locals 1

    invoke-virtual {p0, p1}, Lo/ᴉ;->ˊ(Landroid/os/Parcel;)Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;

    move-result-object v0

    return-object v0
.end method

.method public synthetic newArray(I)[Ljava/lang/Object;
    .locals 1

    invoke-virtual {p0, p1}, Lo/ᴉ;->ˊ(I)[Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;

    move-result-object v0

    return-object v0
.end method

.method public ˊ(Landroid/os/Parcel;)Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;
    .locals 17

    invoke-static/range {p1 .. p1}, Lo/Ŷ;->ˋ(Landroid/os/Parcel;)I

    move-result v8

    const/4 v9, 0x0

    const/4 v10, 0x0

    const/4 v11, 0x0

    const/4 v12, 0x0

    const/4 v13, 0x0

    const/4 v14, 0x0

    const/4 v15, 0x0

    :goto_0
    invoke-virtual/range {p1 .. p1}, Landroid/os/Parcel;->dataPosition()I

    move-result v0

    if-ge v0, v8, :cond_0

    invoke-static/range {p1 .. p1}, Lo/Ŷ;->ˊ(Landroid/os/Parcel;)I

    move-result v16

    invoke-static/range {v16 .. v16}, Lo/Ŷ;->ˊ(I)I

    move-result v0

    packed-switch v0, :pswitch_data_0

    goto/16 :goto_1

    :pswitch_0
    move-object/from16 v0, p1

    move/from16 v1, v16

    invoke-static {v0, v1}, Lo/Ŷ;->'(Landroid/os/Parcel;I)I

    move-result v9

    goto :goto_2

    :pswitch_1
    sget-object v0, Lcom/google/android/gms/drive/DriveId;->CREATOR:Landroid/os/Parcelable$Creator;

    move-object/from16 v1, p1

    move/from16 v2, v16

    invoke-static {v1, v2, v0}, Lo/Ŷ;->ˊ(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Lcom/google/android/gms/drive/DriveId;

    move-object v10, v0

    goto :goto_2

    :pswitch_2
    sget-object v0, Lcom/google/android/gms/drive/metadata/internal/MetadataBundle;->CREATOR:Landroid/os/Parcelable$Creator;

    move-object/from16 v1, p1

    move/from16 v2, v16

    invoke-static {v1, v2, v0}, Lo/Ŷ;->ˊ(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Lcom/google/android/gms/drive/metadata/internal/MetadataBundle;

    move-object v11, v0

    goto :goto_2

    :pswitch_3
    sget-object v0, Lcom/google/android/gms/drive/Contents;->CREATOR:Landroid/os/Parcelable$Creator;

    move-object/from16 v1, p1

    move/from16 v2, v16

    invoke-static {v1, v2, v0}, Lo/Ŷ;->ˊ(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Lcom/google/android/gms/drive/Contents;

    move-object v12, v0

    goto :goto_2

    :pswitch_4
    move-object/from16 v0, p1

    move/from16 v1, v16

    invoke-static {v0, v1}, Lo/Ŷ;->ˎ(Landroid/os/Parcel;I)Z

    move-result v13

    goto :goto_2

    :pswitch_5
    move-object/from16 v0, p1

    move/from16 v1, v16

    invoke-static {v0, v1}, Lo/Ŷ;->ˌ(Landroid/os/Parcel;I)Ljava/lang/String;

    move-result-object v14

    goto :goto_2

    :pswitch_6
    move-object/from16 v0, p1

    move/from16 v1, v16

    invoke-static {v0, v1}, Lo/Ŷ;->'(Landroid/os/Parcel;I)I

    move-result v15

    goto :goto_2

    :goto_1
    move-object/from16 v0, p1

    move/from16 v1, v16

    invoke-static {v0, v1}, Lo/Ŷ;->ˋ(Landroid/os/Parcel;I)V

    :goto_2
    goto/16 :goto_0

    :cond_0
    invoke-virtual/range {p1 .. p1}, Landroid/os/Parcel;->dataPosition()I

    move-result v0

    if-eq v0, v8, :cond_1

    new-instance v0, Lo/Ŷ$if;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Overread allowed size end="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    move-object/from16 v2, p1

    invoke-direct {v0, v1, v2}, Lo/Ŷ$if;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V

    throw v0

    :cond_1
    new-instance v0, Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;

    move v1, v9

    move-object v2, v10

    move-object v3, v11

    move-object v4, v12

    move v5, v13

    move-object v6, v14

    move v7, v15

    invoke-direct/range {v0 .. v7}, Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;-><init>(ILcom/google/android/gms/drive/DriveId;Lcom/google/android/gms/drive/metadata/internal/MetadataBundle;Lcom/google/android/gms/drive/Contents;ZLjava/lang/String;I)V

    move-object/from16 v16, v0

    return-object v16

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
    .end packed-switch
.end method

.method public ˊ(I)[Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;
    .locals 1

    new-array v0, p1, [Lcom/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest;

    return-object v0
.end method


text:
<!DOCTYPE frameset SYSTEM "frameset.dtd">
<frameset>
    <predicate lemma="sprinkle">

        <roleset framnet="" id="sprinkle.01" name="sprinkle" vncls="9.7-1">
            <roles>
                <role descr="agent, sprinkler" f="" n="0">
                    <vnrole vncls="9.7-1" vntheta="agent"/>
                </role>
                <role descr="liquid" f="" n="1">
                    <vnrole vncls="9.7-1" vntheta="theme"/>
                </role>
                <role descr="sprinkled-upon" f="" n="2">
                    <vnrole vncls="9.7-1" vntheta="destination"/>
                </role>
                <note/>
            </roles>

            <example name="sprinkle with" src="" type="">
                <inflection aspect="ns" form="full" person="ns" tense="past" voice="active"/>
                <text>When the good fairy assigned to Slovakia hovered over the cradle
                    of Edita Gruberova many years ago in Bratislava, she sprinkled her
                    with high E flats, sparkling Ds, clean trills, and coloratura
                    ornaments silvery as magic dust.
                </text>
                <arg f="" n="0">she</arg>
                <rel f="">sprinkled</rel>
                <arg f="" n="2">her</arg>
                <arg f="" n="1">with high E flats, sparkling Ds, clean trills,         and coloratura ornaments silvery as magic dust</arg>
                <note/>
            </example>

            <example name="sprinkle on" src="" type="">
                <inflection aspect="ns" form="full" person="ns" tense="past" voice="active"/>
                <text>John sprinkled gooey chocolate pudding on Mary's back.</text>
                <arg f="" n="0">John</arg>
                <rel f="">sprinkled</rel>
                <arg f="" n="1">gooey chocolate pudding</arg>
                <arg f="" n="2">on Mary's back</arg>
                <note/>
            </example>

            <note/>
        </roleset>

        <roleset framnet="" id="sprinkle.02" name="weather phenomenon" vncls="57">
            <roles>

                <note>Takes NO arguments!</note>
            </roles>

            <example name="raining lightly" src="" type="">
                <inflection aspect="progressive" form="participle" person="third" tense="present" voice="active"/>
                <text>It's sprinkling outside.</text>
                <rel f="">sprinkling</rel>
                <arg f="loc" n="m">outside</arg>
                <note/>
            </example>

            <note>Hooray, our first zero-valency verb!</note>
        </roleset>
        <note>Frames file for 'sprinkle' based on sentences in financial subcorpus
            and automatic expansion via verbnet.
        </note>
    </predicate>
    <note/>
</frameset>


text:
SET NOCOUNT ON;

PRINT 'Add new EOI EmployerAgreementTemplate entry';

BEGIN TRAN;
BEGIN TRY

	IF OBJECT_ID('employer_account.EmployerAgreementTemplate') IS NULL
	BEGIN;
		THROW 50000, 'The employer agreement template could not be added as the employer_account.EmployerAgreementTemplate table does not exist', 1;
	END;

	IF NOT EXISTS(SELECT ID FROM employer_account.EmployerAgreementTemplate WHERE [AgreementType] = 1)
	BEGIN
		SET IDENTITY_INSERT [employer_account].[EmployerAgreementTemplate] ON

		INSERT INTO employer_account.EmployerAgreementTemplate
				(
					Id,
					[PartialViewName],
					[CreatedDate],
					[VersionNumber],
					[AgreementType]
				)

			SELECT	3,
					'_NonLevy_Agreement_V1',
					GETDATE(),
					1,
					1

		SET IDENTITY_INSERT [employer_account].[EmployerAgreementTemplate] OFF

		COMMIT TRAN;
		PRINT 'EOI EmployerAgreementTemplate entry added';
	END
	ELSE
	BEGIN
		ROLLBACK TRAN;
		PRINT 'EOI EmployerAgreementTemplate entry already added';
	END

END TRY
BEGIN CATCH

	PRINT Error_message();
	PRINT 'EOI EmployerAgreementTemplate entry NOT added see above error';
	PRINT 'Rolling back transaction';

	ROLLBACK TRAN;

	THROW;
END CATCH;


text:
package qeaExamples;

import qea.creation.QEABuilder;
import static qea.structure.impl.other.Quantification.EXISTS;
import qea.structure.intf.QEA;

public class UnsafeMapIter {

	/*
	 * The UnsafeMapIter property states that
	 * There does not exist a Map m, Collection c and Iterator i such that when c is created from m
	 * and i is created from c, m is updated then i is used.
	 *
	 * Note: this negative formulation matches the common matching-failure formulation
	 *
	 * There are four events:
	 * 		- create(m,c)
	 * 		- iterator(c,i)
	 * 		- update(m)
	 * 		- use(i)
	 *
	 */

	public static QEA make(){

		// Create Builder
		QEABuilder builder = new QEABuilder("UnsafeMapIter");

		// Declare variables (quantified so negative)
		int m = -1;
		int c = -2;
		int i = -3;

		// Add quantifications	not Exists m, Exists c, Exists i
		builder.negate();
		builder.addQuantification(EXISTS, m);
		builder.addQuantification(EXISTS, c);
		builder.addQuantification(EXISTS, i);

		// Declare events
		int create = 1;
		int iterator = 2;
		int update  = 3;
		int use     = 4;

		// Declare states
		int start = 1;
		int createdC = 2;
		int createdI = 3;
		int updated = 4;
		int failure = 5;

		// Add transitions
		builder.addTransition(start, create, new int[]{m, c}, createdC);
		builder.addTransition(createdC, iterator, new int[]{c,i}, createdI);
		builder.addTransition(createdI, update, m, updated);
		builder.addTransition(updated, use, i, failure);

		// Define acceptance
		builder.addFinalStates(failure);
		builder.setAllSkipStates(); // needs to happen here

		return builder.make();

	}

}


text:
<fragment>

    admin@pub.dev
    has invited you to be an uploader of the package

      example_pkg

    .

Accepting a package uploader invitation means:

      you will be able to publish new versions of package
      example_pkg
      , and,

      perform administrative actions for package
      example_pkg
      .

</fragment>


text:
import { NgModule } from '@angular/core';
import { NgbRadio, NgbActiveLabel, NgbRadioGroup } from './radio';
export { NgbRadio, NgbActiveLabel, NgbRadioGroup } from './radio';
var NGB_RADIO_DIRECTIVES = [NgbRadio, NgbActiveLabel, NgbRadioGroup];
export var NgbButtonsModule = (function () {
    function NgbButtonsModule() {
    }
    NgbButtonsModule.forRoot = function () { return { ngModule: NgbButtonsModule, providers: [] }; };
    NgbButtonsModule.decorators = [
        { type: NgModule, args: [{ declarations: NGB_RADIO_DIRECTIVES, exports: NGB_RADIO_DIRECTIVES },] },
    ];
    /** @nocollapse */
    NgbButtonsModule.ctorParameters = [];
    return NgbButtonsModule;
}());
//# sourceMappingURL=radio.module.js.map


text: <ion-nav-view name="view_blank"></ion-nav-view>


text:
#include <CppUTest/TestHarness.h>
#include <CppUTestExt/MockSupport.h>

#include "../can_datagram.h"
#include "../config.h"
#include "mocks/can_interface_mock.h"
#include "../can_interface.h"
#include "../command.h"
#include <cstdio>

void read_eval(can_datagram_t* input, can_datagram_t* output, bootloader_config_t* config, command_t* commands, int command_len)
{
    uint32_t message_id;
    uint8_t message[8];
    uint8_t len;
    int i;

    can_interface_read_message(&message_id, message, &len, 1);

    for (i = 0; i < len; ++i) {
        can_datagram_input_byte(input, message[i]);
    }

    // Bypass CRC check
    input->crc = can_datagram_compute_crc(input);

    if (can_datagram_is_valid(input)) {
        for (i = 0; i < input->destination_nodes_len; ++i) {
            if (input->destination_nodes[i] == config->ID) {
                len = protocol_execute_command((char*)input->data, input->data_len, commands, command_len, (char*)output->data, output->data_len, config);

                /* Checks if there was any error. */
                if (len < 0) {
                    return;
                }

                output->data_len = len;
            }
        }

        if (output->data_len > 0) {
            output->destination_nodes_len = 1;
            output->crc = can_datagram_compute_crc(output);
        }
    }
}

static void mock_command(int argc, cmp_ctx_t* arg_context, cmp_ctx_t* out_context, bootloader_config_t* config)
{
    mock().actualCall("command");
}

TEST_GROUP (IntegrationTesting) {
    can_datagram_t input_datagram;
    uint8_t input_datagram_destinations[10];
    uint8_t input_datagram_data[1000];

    can_datagram_t output_datagram;
    uint8_t output_datagram_destinations[10];
    uint8_t output_datagram_data[1000];

    bootloader_config_t config;
    command_t commands[1];

    void setup(void)
    {
        can_datagram_init(&input_datagram);
        can_datagram_set_address_buffer(&input_datagram, input_datagram_destinations);
        can_datagram_set_data_buffer(&input_datagram, input_datagram_data, sizeof input_datagram_data);

        can_datagram_init(&output_datagram);
        can_datagram_set_address_buffer(&output_datagram, output_datagram_destinations);
        can_datagram_set_data_buffer(&output_datagram, output_datagram_data, sizeof output_datagram_data);

        // Loads default config for testing
        config.ID = 0x01;

        commands[0].index = 1;
        commands[0].callback = mock_command;
    }

    void teardown(void)
    {
        mock().clear();
    }
};

TEST(IntegrationTesting, CanReadWholeDatagram)
{
    uint8_t message[] = {
        CAN_DATAGRAM_VERSION,
        0x00, 0x00, 0x00, 0x00, // CRC
        0x01,
        0x01, // dest nodes
        0x0, 0x0, 0x0, 0x1,
        0x1 // data
    };

    can_mock_message(0x0, &message[0], 8);
    read_eval(&input_datagram, &output_datagram, &config, NULL, 0);
    mock().checkExpectations();

    can_mock_message(0x0, &message[8], 4);
    read_eval(&input_datagram, &output_datagram, &config, NULL, 0);
    mock().checkExpectations();

    CHECK_TRUE(can_datagram_is_valid(&input_datagram));
}

TEST(IntegrationTesting, ExecutesCommand)
{
    uint8_t message[] = {
        CAN_DATAGRAM_VERSION,
        0x00, 0x00, 0x00, 0x00, // CRC
        0x01,
        0x01, // dest nodes
        0x0, 0x0, 0x0, 0x2,
        COMMAND_SET_VERSION, 0x1 // data
    };

    can_mock_message(0x0, &message[0], 8);
    read_eval(&input_datagram, &output_datagram, &config, commands, 1);
    mock().checkExpectations();

    can_mock_message(0x0, &message[8], 5);
    mock().expectOneCall("command");
    read_eval(&input_datagram, &output_datagram, &config, commands, 1);
    mock().checkExpectations();
}

TEST(IntegrationTesting, ExecutesIfWeAreInMultiCast)
{
    uint8_t message[] = {
        CAN_DATAGRAM_VERSION,
        0x00, 0x00, 0x00, 0x00, // CRC
        0x02,
        0x01, 0x12, // dest nodes
        0x0, 0x0, 0x0, 0x2,
        COMMAND_SET_VERSION, 0x1 // data
    };

    config.ID = 0x12;

    can_mock_message(0x0, &message[0], 8);
    read_eval(&input_datagram, &output_datagram, &config, commands, 1);
    mock().checkExpectations();

    can_mock_message(0x0, &message[8], 6);
    mock().expectOneCall("command");
    read_eval(&input_datagram, &output_datagram, &config, commands, 1);
    mock().checkExpectations();
}

static void command_output(int argc, cmp_ctx_t* arg_context, cmp_ctx_t* out_context, bootloader_config_t* config)
{
    cmp_write_str(out_context, "hello", 5);
}

TEST(IntegrationTesting, OutputDatagramIsValid)
{
    uint8_t message[] = {
        CAN_DATAGRAM_VERSION,
        0x00, 0x00, 0x00, 0x00, // CRC
        0x01,
        0x01, // dest nodes
        0x0, 0x0, 0x0, 0x2,
        COMMAND_SET_VERSION, 0x1 // data
    };

    commands[0].callback = command_output;

    can_mock_message(0x0, &message[0], 8);
    read_eval(&input_datagram, &output_datagram, &config, commands, 1);

    can_mock_message(0x0, &message[8], 5);
    read_eval(&input_datagram, &output_datagram, &config, commands, 1);

    // Check that the data lenght is correct
    CHECK_EQUAL(6, output_datagram.data_len);
    CHECK_TRUE(can_datagram_is_valid(&output_datagram));
}


text:
package cop.raml.processor;

import java.util.Collection;

/**
 * @author Oleg Cherednik
 * @since 22.05.2016
 */
interface BodyPart {
    Body addBody(String mediaType);

    Collection<Body> getBodies();
}


text:
/* line 2, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

/* line 7, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
body {
  margin: 0;
}

/* line 10, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

/* line 24, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
audio,
canvas,
progress,
video {
  display: inline-block;
}

/* line 30, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
audio:not([controls]) {
  display: none;
  height: 0;
}

/* line 34, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
progress {
  vertical-align: baseline;
}

/* line 37, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
[hidden],
template {
  display: none;
}

/* line 41, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
a {
  background-color: transparent;
}

/* line 44, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
a:active,
a:hover {
  outline-width: 0;
}

/* line 48, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/* line 53, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
b,
strong {
  font-weight: inherit;
}

/* line 57, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
b,
strong {
  font-weight: bolder;
}

/* line 61, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
dfn {
  font-style: italic;
}

/* line 64, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* line 68, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
mark {
  background-color: #ff0;
  color: #000;
}

/* line 72, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
small {
  font-size: 80%;
}

/* line 75, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

/* line 82, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
sub {
  bottom: -0.25em;
}

/* line 85, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
sup {
  top: -0.5em;
}

/* line 88, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
img {
  border-style: none;
}

/* line 91, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
svg:not(:root) {
  overflow: hidden;
}

/* line 94, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* line 101, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
figure {
  margin: 1em 40px;
}

/* line 104, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/* line 109, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
button,
input,
select,
textarea {
  font: inherit;
}

/* line 115, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
optgroup {
  font-weight: bold;
}

/* line 118, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
button,
input,
select {
  overflow: visible;
}

/* line 123, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
button,
input,
select,
textarea {
  margin: 0;
}

/* line 129, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
button,
select {
  text-transform: none;
}

/* line 133, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
[type="button"],
[type="reset"],
[type="submit"],
button {
  cursor: pointer;
}

/* line 139, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
[disabled] {
  cursor: default;
}

/* line 142, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
[type="reset"],
[type="submit"],
button,
html [type="button"] {
  -webkit-appearance: button;
     -moz-appearance: button;
          appearance: button;
}

/* line 148, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* line 153, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
button:-moz-focusring,
input:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/* line 157, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/* line 162, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/* line 170, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
textarea {
  overflow: auto;
}

/* line 173, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/* line 178, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/* line 182, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
[type="search"] {
  -webkit-appearance: field;
     -moz-appearance: field;
          appearance: field;
}

/* line 185, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/vendor/normalize/_lib.scss */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
          appearance: none;
}

/* line 10, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
.page-print .logo {
  float: none;
  display: block;
  text-align: left;
}

@media print {
  /* line 18, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  * {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    -webkit-filter: none !important;
    filter: none !important;
  }
  /* line 27, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  a,
  a:visited {
    text-decoration: underline !important;
  }
  /* line 33, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /* line 39, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  thead {
    display: table-header-group;
  }
  /* line 43, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .table-wrapper table {
    width: 100%;
    table-layout: fixed;
  }
  /* line 46, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .table-wrapper table td {
    width: auto;
  }
  /* line 52, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .table-wrapper table > tfoot > tr:first-child {
    border-top: 1px solid #999;
  }
  /* line 57, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .box,
  tr,
  img {
    page-break-inside: avoid;
  }
  /* line 63, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 1cm;
  }
  /* line 71, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .block-content,
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  /* line 79, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .block-content {
    page-break-before: avoid;
  }
  /* line 83, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .block-title,
  h2,
  h3 {
    page-break-after: avoid;
  }
  /* line 89, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .nav-toggle {
    display: none !important;
  }
  /* line 93, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .sidebar,
  .nav-sections,
  .header.content > *[class],
  .panel.wrapper > *[class],
  .footer.content > *[class] {
    display: none;
  }
  /* line 101, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .logo,
  .footer .copyright {
    display: block !important;
    margin: 10px 0;
  }
  /* line 110, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .order-details-items .order-items .order-gift-message:not(.expanded-content) {
    visibility: visible;
    height: auto;
  }
  /* line 118, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .column.main {
    width: 100% !important;
    float: none !important;
  }
  /* line 123, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .breadcrumbs {
    margin: 0 auto;
    text-align: right;
  }
  /* line 128, /Users/igloczek/Sites/magento2/vendor/snowdog/theme-blank-sass/styles/print.scss */
  .footer.content {
    padding: 0;
  }
}


text:
*/ˈpluːtəs/* (**noun**): the Greek god of wealth

Plutus is the Battery Management System that manages our lithium-ion battery pack.


text:
insertionSort: insertion_template.c
	gcc insertion_template.c -o insertionSort

heapSort: heapsort_template.c
	gcc heapsort_template.c -o heapSort
clean:
	rm -f *~ *.o insertionSort heapSort


text:
package diff

import "github.com/go-git/go-git/v5/plumbing/color"

// A ColorKey is a key into a ColorConfig map and also equal to the key in the
// diff.color subsection of the config. See
// https://github.com/git/git/blob/v2.26.2/diff.c#L83-L106.
type ColorKey string

// ColorKeys.
const (
	Context                   ColorKey = "context"
	Meta                      ColorKey = "meta"
	Frag                      ColorKey = "frag"
	Old                       ColorKey = "old"
	New                       ColorKey = "new"
	Commit                    ColorKey = "commit"
	Whitespace                ColorKey = "whitespace"
	Func                      ColorKey = "func"
	OldMoved                  ColorKey = "oldMoved"
	OldMovedAlternative       ColorKey = "oldMovedAlternative"
	OldMovedDimmed            ColorKey = "oldMovedDimmed"
	OldMovedAlternativeDimmed ColorKey = "oldMovedAlternativeDimmed"
	NewMoved                  ColorKey = "newMoved"
	NewMovedAlternative       ColorKey = "newMovedAlternative"
	NewMovedDimmed            ColorKey = "newMovedDimmed"
	NewMovedAlternativeDimmed ColorKey = "newMovedAlternativeDimmed"
	ContextDimmed             ColorKey = "contextDimmed"
	OldDimmed                 ColorKey = "oldDimmed"
	NewDimmed                 ColorKey = "newDimmed"
	ContextBold               ColorKey = "contextBold"
	OldBold                   ColorKey = "oldBold"
	NewBold                   ColorKey = "newBold"
)

// A ColorConfig is a color configuration. A nil or empty ColorConfig
// corresponds to no color.
type ColorConfig map[ColorKey]string

// A ColorConfigOption sets an option on a ColorConfig.
type ColorConfigOption func(ColorConfig)

// WithColor sets the color for key.
func WithColor(key ColorKey, color string) ColorConfigOption {
	return func(cc ColorConfig) {
		cc[key] = color
	}
}

// defaultColorConfig is the default color configuration. See
// https://github.com/git/git/blob/v2.26.2/diff.c#L57-L81.
var defaultColorConfig = ColorConfig{
	Context:                   color.Normal,
	Meta:                      color.Bold,
	Frag:                      color.Cyan,
	Old:                       color.Red,
	New:                       color.Green,
	Commit:                    color.Yellow,
	Whitespace:                color.BgRed,
	Func:                      color.Normal,
	OldMoved:                  color.BoldMagenta,
	OldMovedAlternative:       color.BoldBlue,
	OldMovedDimmed:            color.Faint,
	OldMovedAlternativeDimmed: color.FaintItalic,
	NewMoved:                  color.BoldCyan,
	NewMovedAlternative:       color.BoldYellow,
	NewMovedDimmed:            color.Faint,
	NewMovedAlternativeDimmed: color.FaintItalic,
	ContextDimmed:             color.Faint,
	OldDimmed:                 color.FaintRed,
	NewDimmed:                 color.FaintGreen,
	ContextBold:               color.Bold,
	OldBold:                   color.BoldRed,
	NewBold:                   color.BoldGreen,
}

// NewColorConfig returns a new ColorConfig.
func NewColorConfig(options ...ColorConfigOption) ColorConfig {
	cc := make(ColorConfig)
	for key, value := range defaultColorConfig {
		cc[key] = value
	}
	for _, option := range options {
		option(cc)
	}
	return cc
}

// Reset returns the ANSI escape sequence to reset the color with key set from
// cc. If no color was set then no reset is needed so it returns the empty
// string.
func (cc ColorConfig) Reset(key ColorKey) string {
	if cc[key] == "" {
		return ""
	}
	return color.Reset
}


text:
class ApplicationHelper::Toolbar::EmsCloudCenter < ApplicationHelper::Toolbar::Basic
  button_group('ems_cloud_vmdb', [
    button(
      :refresh_server_summary,
      'fa fa-repeat fa-lg',
      N_('Reload Current Display'),
      nil),
    select(
      :ems_cloud_vmdb_choice,
      'fa fa-cog fa-lg',
      t = N_('Configuration'),
      t,
      :items => [
        button(
          :ems_cloud_refresh,
          'fa fa-refresh fa-lg',
          N_('Refresh relationships and power states for all items related to this Cloud Provider'),
          N_('Refresh Relationships and Power States'),
          :confirm => N_("Refresh relationships and power states for all items related to this Cloud Provider?")),
        separator,
        button(
          :ems_cloud_edit,
          'pficon pficon-edit fa-lg',
          t = N_('Edit this Cloud Provider'),
          t,
          :full_path => "<%= edit_ems_cloud_path(@ems) %>"),
        button(
          :ems_cloud_delete,
          'pficon pficon-delete fa-lg',
          t = N_('Remove this Cloud Provider'),
          t,
          :url_parms => "&refresh=y",
          :confirm   => N_("Warning: This Cloud Provider and ALL of its components will be permanently removed!")),
        separator,
        button(
          :arbitration_profile_new,
          'pficon pficon-edit fa-lg',
          t = N_('Add a new Arbitration Profile to this Cloud Provider'),
          t),
      ]
    ),
  ])
  button_group('ems_cloud_policy', [
    select(
      :ems_cloud_policy_choice,
      'fa fa-shield fa-lg',
      t = N_('Policy'),
      t,
      :items => [
        button(
          :ems_cloud_protect,
          'pficon pficon-edit fa-lg',
          N_('Manage Policies for this Cloud Provider'),
          N_('Manage Policies')),
        button(
          :ems_cloud_tag,
          'pficon pficon-edit fa-lg',
          N_('Edit Tags for this Cloud Provider'),
          N_('Edit Tags')),
      ]
    ),
  ])
  button_group('ems_cloud_monitoring', [
    select(
      :ems_cloud_monitoring_choice,
      'product product-monitoring fa-lg',
      t = N_('Monitoring'),
      t,
      :items => [
        button(
          :ems_cloud_timeline,
          'product product-timeline fa-lg',
          N_('Show Timelines for this Cloud Provider'),
          N_('Timelines'),
          :klass     => ApplicationHelper::Button::EmsTimeline,
          :url_parms => "?display=timeline"),
      ]
    ),
  ])
  button_group('ems_cloud_authentication', [
    select(
      :ems_cloud_authentication_choice,
      'fa fa-lock fa-lg',
      t = N_('Authentication'),
      t,
      :items => [
        button(
          :ems_cloud_recheck_auth_status,
          'fa fa-search fa-lg',
          N_('Re-check Authentication Status for this Cloud Provider'),
          N_('Re-check Authentication Status'),
          :klass => ApplicationHelper::Button::GenericFeatureButton,
          :options => {:feature => :authentication_status}),
      ]
    ),
  ])
end


text:
 Create a function that:
 Takes an array of students
 Each student has a `firstName` and `lastName` properties
 **Finds** all students whose `firstName` is before their `lastName` alphabetically
 Then **sorts** them in descending order by fullname
 fullname is the concatenation of `firstName`, ' ' (empty space) and `lastName`
 Then **prints** the fullname of founded students to the console

#Task 2:
 Create a function that:
 Takes an array of students
 Each student has a `firstName`, `lastName` and `age` properties
 **finds** the students whose age is between 18 and 24
 **prints**  the fullname of found students, sorted lexicographically ascending
 fullname is the concatenation of `firstName`, ' ' (empty space) and `lastName`

#Task 3:
Create a function that:
Takes an array of students
Each student has:
`firstName`, `lastName` and `age` properties
Array of decimal numbers representing the marks
**finds** the student with highest average mark (there will be only one)
**prints** to the console  'FOUND_STUDENT_FULLNAME has an average score of MARK_OF_THE_STUDENT'
fullname is the concatenation of `firstName`, ' ' (empty space) and `lastName`

#Task 4:
 Create a function that:
 **Takes** an array of animals
 Each animal has propeties `name`, `species` and `legsCount`
 **groups** the animals by `species`
 the groups are sorted by `species` descending
 **sorts** them ascending by `legsCount`
 if two animals have the same number of legs sort them by name
 **prints** them to the console in the format:
 ```
 ----------- (number of dashes is equal to the length of the GROUP_1_NAME + 1)
 GROUP_1_NAME:
 ----------- (number of dashes is equal to the length of the GROUP_1_NAME + 1)
 NAME has LEGS_COUNT legs //for the first animal in group 1
 NAME has LEGS_COUNT legs //for the second animal in group 1
 ----------- (number of dashes is equal to the length of the GROUP_2_NAME + 1)
 GROUP_2_NAME:
 ----------- (number of dashes is equal to the length of the GROUP_2_NAME + 1)
 NAME has LEGS_COUNT legs //for the first animal in the group 2
 NAME has LEGS_COUNT legs //for the second animal in the group 2
 NAME has LEGS_COUNT legs //for the third animal in the group 2
 NAME has LEGS_COUNT legs //for the fourth animal in the group 2
 ```

#Task 5:
Create a function that:
**Takes** an array of animals
Each animal has propeties `name`, `species` and `legsCount`
**finds** and **prints** the total number of legs to the console in the format:
"Total number of legs: TOTAL_NUMBER_OF_LEGS"

#Task 6:
 Create a function that:
 **Takes** a collection of books
 Each book has propeties `title` and `author`
 `author` is an object that has properties `firstName` and `lastName`
 **finds** the most popular author (the author with biggest number of books)
 **prints** the author to the console
 if there is more than one author print them all sorted in ascending order by fullname
 fullname is the concatenation of `firstName`, ' ' (empty space) and `lastName`


text:
<!--[metadata]>
+++
title = "start"
description = "The start command description and usage"
keywords = ["Start, container, stopped"]
[menu.main]
parent = "smn_cli"
+++
<![end-metadata]-->

# start

```markdown
Usage:  docker start [OPTIONS] CONTAINER [CONTAINER...]

Start one or more stopped containers

Options:
  -a, --attach               Attach STDOUT/STDERR and forward signals
      --detach-keys string   Override the key sequence for detaching a container
      --help                 Print usage
  -i, --interactive          Attach container's STDIN
```


text:
#ifndef __MALI_GP_H__
#define __MALI_GP_H__

#include "mali_osk.h"
#include "mali_gp_job.h"
#include "mali_hw_core.h"
#include "regs/mali_gp_regs.h"

struct mali_group;

/**
 * Definition of the GP core struct
 * Used to track a GP core in the system.
 */
struct mali_gp_core {
	struct mali_hw_core  hw_core;           /**< Common for all HW cores */
	_mali_osk_irq_t     *irq;               /**< IRQ handler */
};

_mali_osk_errcode_t mali_gp_initialize(void);
void mali_gp_terminate(void);

struct mali_gp_core *mali_gp_create(const _mali_osk_resource_t * resource, struct mali_group *group);
void mali_gp_delete(struct mali_gp_core *core);

void mali_gp_stop_bus(struct mali_gp_core *core);
_mali_osk_errcode_t mali_gp_stop_bus_wait(struct mali_gp_core *core);
void mali_gp_reset_async(struct mali_gp_core *core);
_mali_osk_errcode_t mali_gp_reset_wait(struct mali_gp_core *core);
void mali_gp_hard_reset(struct mali_gp_core *core);
_mali_osk_errcode_t mali_gp_reset(struct mali_gp_core *core);

void mali_gp_job_start(struct mali_gp_core *core, struct mali_gp_job *job);
void mali_gp_resume_with_new_heap(struct mali_gp_core *core, u32 start_addr, u32 end_addr);

u32 mali_gp_core_get_version(struct mali_gp_core *core);

struct mali_gp_core *mali_gp_get_global_gp_core(void);

u32 mali_gp_dump_state(struct mali_gp_core *core, char *buf, u32 size);

void mali_gp_update_performance_counters(struct mali_gp_core *core, struct mali_gp_job *job, mali_bool suspend);

/*** Accessor functions ***/
MALI_STATIC_INLINE const char *mali_gp_get_hw_core_desc(struct mali_gp_core *core)
{
	return core->hw_core.description;
}

/*** Register reading/writing functions ***/
MALI_STATIC_INLINE u32 mali_gp_get_int_stat(struct mali_gp_core *core)
{
	return mali_hw_core_register_read(&core->hw_core, MALIGP2_REG_ADDR_MGMT_INT_STAT);
}

MALI_STATIC_INLINE void mali_gp_mask_all_interrupts(struct mali_gp_core *core)
{
	mali_hw_core_register_write(&core->hw_core, MALIGP2_REG_ADDR_MGMT_INT_MASK, MALIGP2_REG_VAL_IRQ_MASK_NONE);
}

MALI_STATIC_INLINE u32 mali_gp_read_rawstat(struct mali_gp_core *core)
{
	return mali_hw_core_register_read(&core->hw_core, MALIGP2_REG_ADDR_MGMT_INT_RAWSTAT) & MALIGP2_REG_VAL_IRQ_MASK_USED;
}

MALI_STATIC_INLINE u32 mali_gp_read_core_status(struct mali_gp_core *core)
{
	return mali_hw_core_register_read(&core->hw_core, MALIGP2_REG_ADDR_MGMT_STATUS);
}

MALI_STATIC_INLINE void mali_gp_enable_interrupts(struct mali_gp_core *core, u32 irq_exceptions)
{
	/* Enable all interrupts, except those specified in irq_exceptions */
	mali_hw_core_register_write(&core->hw_core, MALIGP2_REG_ADDR_MGMT_INT_MASK,
	                            MALIGP2_REG_VAL_IRQ_MASK_USED & ~irq_exceptions);
}

MALI_STATIC_INLINE u32 mali_gp_read_plbu_alloc_start_addr(struct mali_gp_core *core)
{
	return mali_hw_core_register_read(&core->hw_core, MALIGP2_REG_ADDR_MGMT_PLBU_ALLOC_START_ADDR);
}

#endif /* __MALI_GP_H__ */


text:
#pragma once

#include "BaseScene.h"

class SceneLissajous : public BaseScene
{
public:

    SceneLissajous();
    virtual ~SceneLissajous();

    void setup();
    void update();
    void draw();
    void keyPressed(int key){};
    void cue(const int cue){};

private:

    void setup_variation_1(); ///< test
    void update_variation_1();
    void draw_variation_1();

    void setup_variation_2(); ///<---------------- scene 1
    void update_variation_2();
    void draw_variation_2();

    vector<vector<ofVec3f> > mPts;
    int mNumPoints;

    //camera
    ofVec3f mCamLook;
    ofVec3f mCamPosition;
    ofVec3f mCamCalibratePosition;
};


text:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.example.kevinadesara.opencvsamples.MainActivity"
    tools:layout_editor_absoluteX="0dp"
    tools:layout_editor_absoluteY="81dp">

    <android.support.v7.widget.RecyclerView
        android:id="@+id/rclvSample"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:layout_marginBottom="8dp"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp"
        android:layout_marginTop="8dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:listitem="@android:layout/simple_list_item_1" />

</android.support.constraint.ConstraintLayout>


text:
@echo off
set /p test="Test: "
powershell -NoExit -ExecutionPolicy unrestricted -Command "& { . .\%test%.ps1 }"


text:
package pl.setblack.pongi;

import javaslang.Function1;
import javaslang.control.Try;
import pl.setblack.pongi.games.GamesService;
import pl.setblack.pongi.scores.ScoresService;
import pl.setblack.pongi.users.UsersService;
import ratpack.func.Action;
import ratpack.handling.Chain;
import ratpack.handling.RequestLogger;
import ratpack.server.RatpackServer;
import ratpack.server.RatpackServerSpec;

import java.net.URI;
import java.nio.file.Path;
import java.nio.file.Paths;

public class Server {

    private final UsersService usersService;
    private final GamesService gamesService;
    private final ScoresService scoresService;

    private final RatpackServer ratpackServer;

    public Server(UsersService usersService, GamesService gamesService, ScoresService scoresService) {
        this.usersService = usersService;
        this.gamesService = gamesService;
        this.scoresService = scoresService;
        ratpackServer =
                Try.of(() -> createDefaultServer(
                        defineApi()))
                        .onFailure(this::handleError).get();
    }

    public void start() {
        Try.run(() -> this.ratpackServer.start()).onFailure(System.out::println);

    }

    public void stop() {
        Try.run(() -> this.ratpackServer.stop());
    }

    public static RatpackServer createUnconfiguredServer(Action<Chain> handlers) {
        return createDefaultServer(makeApi(handlers), x -> x);
    }

    private static RatpackServer createDefaultServer(Action<Chain> handlers) {
        return createDefaultServer(makeApi(handlers).append(serveFiles()), Server::configuration);
    }

    private static Action<Chain> makeApi(Action<Chain> handlers) {
        return chain -> chain.prefix("api", handlers);
    }

    private static Action<Chain> serveFiles() {
        return chain -> chain
                .files(fileHandlerSpec -> fileHandlerSpec
                        .dir("src/main/webapp")
                        .indexFiles("index.html")
                );
    }

    private static RatpackServer createDefaultServer(Action<Chain> handlers,
                                                     Function1<RatpackServerSpec, RatpackServerSpec> configuration) {
        try {
            return RatpackServer.of(server -> configuration.apply(createEmptyServer(server))
                    .handlers(chain ->
                            handlers.execute(chain.all(RequestLogger.ncsa()))
                    )
            );
        } catch (Exception e) {
            throw new IllegalStateException(e);
        }
    }

    private Action<Chain> defineApi() {
        return apiChain -> apiChain
                .insert(usersService.usersApi())
                .insert(gamesService.gamesApi())
                .prefix("score", scoresService.scores());
    }

    private static RatpackServerSpec createEmptyServer(RatpackServerSpec initial)
            throws Exception {
        return initial
                .registryOf(r -> r.add(JsonMapping.getJsonMapping()));
    }

    private static RatpackServerSpec configuration(RatpackServerSpec server) {
        final Path currentRelativePath = Paths.get("").toAbsolutePath();
        try {
            return server.serverConfig(
                    scb ->
                            scb
                                    .baseDir(currentRelativePath)
                                    .publicAddress(new URI("http://0.0.0.0"))
                                    .port(9000)
                                    .threads(4)
            );
        } catch (Exception e) {
            throw new IllegalStateException(e);
        }
    }

    private void handleError(final Throwable t) {
        System.err.println(t);
    }

}


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Perform an NSAPI sub-request</title>

nsapi_response_headers

Session Extensions

NSAPI Functions

PHP Manual

nsapi_virtual

(PHP 4 >= 4.3.3, PHP 5)

nsapi_virtual — Perform an NSAPI sub-request

Description

   bool nsapi_virtual
    ( string $uri
   )

   nsapi_virtual() is an NSAPI-specific function which
   is equivalent to <!--#include virtual...-->
   in <acronym>SSI</acronym>
   (<var class="filename">.shtml</var> files). It does an NSAPI sub-request.
   It is useful for including CGI scripts or .shtml files, or anything
   else that you'd parse through webserver.

   To run the sub-request, all buffers are terminated and flushed to the
   browser, pending headers are sent too.

   You cannot make recursive requests with this function to other PHP scripts.
   If you want to include PHP scripts, use include or
   require.

Note:

    This function depends on a undocumented feature of the Netscape/iPlanet/Sun
    webservers. Use phpinfo() to determine if it is available.
    In the Unix environment it should always work, in Windows it depends on the name of
    a <var class="filename">ns-httpdXX.dll</var> file.

    Read the note about subrequests in the NSAPI section (UNIX, Windows) if you experience
    this problem.

Parameters

uri

       The URI of the script.

Return Values

   Returns TRUE on success or FALSE on failure.

nsapi_response_headers

Session Extensions

NSAPI Functions

PHP Manual


text:
package com.aspose.slides.examples.slides.hyperlinks;

import com.aspose.slides.Presentation;
import com.aspose.slides.SaveFormat;
import com.aspose.slides.examples.RunExamples;

public class RemoveHyperlinks
{
    public static void main(String[] args)
    {
        //ExStart:RemoveHyperlinks
        // The path to the documents directory.
        String dataDir = RunExamples.getDataDir_Slides_Presentations_Hyperlink();

        // Instantiate Presentation class
        Presentation presentation = new Presentation(dataDir + "Hyperlink.pptx");
        try
        {
            // Removing the hyperlinks from presentation
            presentation.getHyperlinkQueries().removeAllHyperlinks();

            //Writing the presentation as a PPTX file
            presentation.save(dataDir + "RemovedHyperlink_out.pptx", SaveFormat.Pptx);
        }
        finally
        {
            if (presentation != null) presentation.dispose();
        }
        //ExEnd:RemoveHyperlinks
    }
}


text:
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
    <title>Polymer App Router</title>

    <script src="packages/web_components/webcomponents-lite.min.js"></script>
    <script src="packages/web_components/dart_support.js"></script>

</head>

<body unresolved class="fullbleed layout vertical">

<polymer-app></polymer-app>

<script type="application/dart" src="main.dart"></script>
<script src="packages/browser/dart.js"></script>
</body>
</html>


text:
package org.apache.felix.ipojo.runtime.core;

import org.apache.felix.ipojo.runtime.core.services.FooService;
import org.junit.Before;
import org.junit.Test;
import org.osgi.framework.ServiceReference;

import static junit.framework.Assert.assertEquals;
import static org.junit.Assert.*;

public class TestPropertiesInAnonymousClass extends Common {

    @Before
    public void setUp() {
        String type = "PS-FooProviderTypeAnonymous-Dyn";
        ipojoHelper.createComponentInstance(type, "FooProviderAno-1");

    }

    @Test
    public void testRunnable() {
        ServiceReference sr = ipojoHelper.getServiceReferenceByName(FooService.class.getName(), "FooProviderAno-1");
        assertNotNull("Check the availability of the FS service", sr);

        // Check service properties
        Integer intProp = (Integer) sr.getProperty("int");
        Boolean boolProp = (Boolean) sr.getProperty("boolean");
        String strProp = (String) sr.getProperty("string");
        String[] strAProp = (String[]) sr.getProperty("strAProp");
        int[] intAProp = (int[]) sr.getProperty("intAProp");

        assertEquals("Check intProp equality (1)", intProp, new Integer(2));
        assertEquals("Check longProp equality (1)", boolProp, new Boolean(false));
        assertEquals("Check strProp equality (1)", strProp, new String("foo"));
        assertNotNull("Check strAProp not nullity (1)", strAProp);
        String[] v = new String[]{"foo", "bar"};
        for (int i = 0; i < strAProp.length; i++) {
            if (!strAProp[i].equals(v[i])) {
                fail("Check the strAProp Equality (1)");
            }
        }
        assertNotNull("Check intAProp not nullity", intAProp);
        int[] v2 = new int[]{1, 2, 3};
        for (int i = 0; i < intAProp.length; i++) {
            if (intAProp[i] != v2[i]) {
                fail("Check the intAProp Equality (1)");
            }
        }

        // Invoke
        FooService fs = (FooService) osgiHelper.getRawServiceObject(sr);
        assertTrue("invoke fs", fs.foo());

        sr = ipojoHelper.getServiceReferenceByName(FooService.class.getName(), "FooProviderAno-1");
        // Re-check the property (change)
        intProp = (Integer) sr.getProperty("int");
        boolProp = (Boolean) sr.getProperty("boolean");
        strProp = (String) sr.getProperty("string");
        strAProp = (String[]) sr.getProperty("strAProp");
        intAProp = (int[]) sr.getProperty("intAProp");

        assertEquals("Check intProp equality (2)", intProp, new Integer(3));
        assertEquals("Check longProp equality (2)", boolProp, new Boolean(true));
        assertEquals("Check strProp equality (2)", strProp, new String("bar"));
        assertNotNull("Check strAProp not nullity (2)", strAProp);
        v = new String[]{"foo", "bar", "baz"};
        for (int i = 0; i < strAProp.length; i++) {
            if (!strAProp[i].equals(v[i])) {
                fail("Check the strAProp Equality (2)");
            }
        }
        assertNotNull("Check intAProp not nullity (2)", intAProp);
        v2 = new int[]{3, 2, 1};
        for (int i = 0; i < intAProp.length; i++) {
            if (intAProp[i] != v2[i]) {
                fail("Check the intAProp Equality (2)");
            }
        }

        fs = null;
    }

    @Test
    public void testWorkerThread() {
        ServiceReference sr = ipojoHelper.getServiceReferenceByName(FooService.class.getName(), "FooProviderAno-1");
        assertNotNull("Check the availability of the FS service", sr);

        // Check service properties
        Integer intProp = (Integer) sr.getProperty("int");
        Boolean boolProp = (Boolean) sr.getProperty("boolean");
        String strProp = (String) sr.getProperty("string");
        String[] strAProp = (String[]) sr.getProperty("strAProp");
        int[] intAProp = (int[]) sr.getProperty("intAProp");

        assertEquals("Check intProp equality (1)", intProp, new Integer(2));
        assertEquals("Check longProp equality (1)", boolProp, new Boolean(false));
        assertEquals("Check strProp equality (1)", strProp, new String("foo"));
        assertNotNull("Check strAProp not nullity (1)", strAProp);
        String[] v = new String[]{"foo", "bar"};
        for (int i = 0; i < strAProp.length; i++) {
            if (!strAProp[i].equals(v[i])) {
                fail("Check the strAProp Equality (1)");
            }
        }
        assertNotNull("Check intAProp not nullity", intAProp);
        int[] v2 = new int[]{1, 2, 3};
        for (int i = 0; i < intAProp.length; i++) {
            if (intAProp[i] != v2[i]) {
                fail("Check the intAProp Equality (1)");
            }
        }

        // Invoke
        FooService fs = (FooService) osgiHelper.getRawServiceObject(sr);
        assertTrue("invoke fs", fs.getBoolean());

        sr = ipojoHelper.getServiceReferenceByName(FooService.class.getName(), "FooProviderAno-1");
        // Re-check the property (change)
        intProp = (Integer) sr.getProperty("int");
        boolProp = (Boolean) sr.getProperty("boolean");
        strProp = (String) sr.getProperty("string");
        strAProp = (String[]) sr.getProperty("strAProp");
        intAProp = (int[]) sr.getProperty("intAProp");

        assertEquals("Check intProp equality (2)", intProp, new Integer(3));
        assertEquals("Check longProp equality (2)", boolProp, new Boolean(true));
        assertEquals("Check strProp equality (2)", strProp, new String("bar"));
        assertNotNull("Check strAProp not nullity (2)", strAProp);
        v = new String[]{"foo", "bar", "baz"};
        for (int i = 0; i < strAProp.length; i++) {
            if (!strAProp[i].equals(v[i])) {
                fail("Check the strAProp Equality (2)");
            }
        }
        assertNotNull("Check intAProp not nullity (2)", intAProp);
        v2 = new int[]{3, 2, 1};
        for (int i = 0; i < intAProp.length; i++) {
            if (intAProp[i] != v2[i]) {
                fail("Check the intAProp Equality (2)");
            }
        }

        fs = null;
    }

}