text:
package com.defano.wyldcard.window.layout;

import com.defano.hypertalk.ast.model.enums.Owner;
import com.defano.hypertalk.ast.model.enums.PartType;
import com.defano.hypertalk.ast.model.Value;
import com.defano.wyldcard.WyldCard;
import com.defano.wyldcard.part.card.CardModel;
import com.defano.wyldcard.part.model.PartModel;
import com.defano.wyldcard.property.value.BasicValue;
import com.defano.wyldcard.runtime.ExecutionContext;
import com.defano.wyldcard.util.StringUtils;
import com.defano.wyldcard.window.WyldCardDialog;
import com.intellij.uiDesigner.core.GridConstraints;
import com.intellij.uiDesigner.core.GridLayoutManager;
import com.intellij.uiDesigner.core.Spacer;

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

public class CardPropertyEditor extends WyldCardDialog<CardModel> {
    private CardModel cardModel;

    private JTextField cardName;
    private JCheckBox cardMarkedCheckBox;
    private JCheckBox cantDeleteCardCheckBox;
    private JButton saveButton;
    private JLabel buttonCountLabel;
    private JLabel fieldCountLabel;
    private JLabel cardIdLabel;
    private JLabel cardNumberLabel;
    private JPanel propertiesPanel;
    private JButton scriptButton;
    private JButton contentsButton;
    private JCheckBox dontSearchCheckBox;

    public CardPropertyEditor() {
        saveButton.addActionListener(e -> {
            dispose();
            updateProperties();
        });

        contentsButton.addActionListener(e -> {
            dispose();
            showContentsEditor();
        });

        scriptButton.addActionListener(e -> {
            dispose();
            cardModel.editScript(new ExecutionContext());
        });
    }

    private void updateProperties() {
        ExecutionContext context = new ExecutionContext();

        cardModel.set(context, CardModel.PROP_NAME, new Value(cardName.getText()));
        cardModel.set(context, CardModel.PROP_MARKED, new Value(cardMarkedCheckBox.isSelected()));
        cardModel.set(context, CardModel.PROP_CANTDELETE, new Value(cantDeleteCardCheckBox.isSelected()));
        cardModel.set(context, CardModel.PROP_DONTSEARCH, new Value(dontSearchCheckBox.isSelected()));
    }

    @Override
    public JButton getDefaultButton() {
        return saveButton;
    }

    @Override
    public JPanel getWindowPanel() {
        return propertiesPanel;
    }

    @Override
    public void bindModel(CardModel cardModel) {
        ExecutionContext context = new ExecutionContext();

        this.cardModel = cardModel;

        // Don't display "default" name ('card id xxx')
        Value cardNameValue = ((BasicValue) cardModel.findProperty(CardModel.PROP_NAME).value()).rawValue();
        if (cardNameValue != null && !cardNameValue.isEmpty()) {
            cardName.setText(cardModel.get(context, CardModel.PROP_NAME).toString());
        }

        cardMarkedCheckBox.setSelected(cardModel.get(context, CardModel.PROP_MARKED).booleanValue());
        cantDeleteCardCheckBox.setSelected(cardModel.get(context, CardModel.PROP_CANTDELETE).booleanValue());
        dontSearchCheckBox.setSelected(cardModel.get(context, CardModel.PROP_DONTSEARCH).booleanValue());
        cardIdLabel.setText(String.valueOf(cardModel.get(context, CardModel.PROP_ID).toString()));

        long fieldCount = cardModel.getPartCount(context, PartType.FIELD, Owner.CARD);
        long buttonCount = cardModel.getPartCount(context, PartType.BUTTON, Owner.CARD);

        int cardNumber = WyldCard.getInstance().getStackManager().getFocusedCard().getPartModel().getCardIndexInStack() + 1;
        int cardCount = WyldCard.getInstance().getStackManager().getFocusedStack().getCardCountProvider().blockingFirst();

        cardNumberLabel.setText(cardNumber + " out of " + cardCount);
        buttonCountLabel.setText(StringUtils.pluralize(buttonCount, "Contains %d card button.", "Contains %d card buttons."));
        fieldCountLabel.setText(StringUtils.pluralize(fieldCount, "Contains %d card field.", "Contains %d card fields."));
    }

    private void showContentsEditor() {
        ExecutionContext context = new ExecutionContext();
        String contents = PartContentsEditor.editContents(cardModel.get(context, PartModel.PROP_CONTENTS).toString(), getWindowPanel());

        if (contents != null) {
            cardModel.set(context, PartModel.PROP_CONTENTS, new Value(contents));
        }
    }

    {
// GUI initializer generated by IntelliJ IDEA GUI Designer
// >>> IMPORTANT!! <<<
// DO NOT EDIT OR ADD ANY CODE HERE!
        $$$setupUI$$$();
    }

    /**
     * Method generated by IntelliJ IDEA GUI Designer
     * >>> IMPORTANT!! <<<
     * DO NOT edit this method OR call it in your code!
     *
     * @noinspection ALL
     */
    private void $$$setupUI$$$() {
        propertiesPanel = new JPanel();
        propertiesPanel.setLayout(new GridLayoutManager(13, 3, new Insets(10, 10, 10, 10), -1, -1));
        final JLabel label1 = new JLabel();
        label1.setText("Card Name:");
        propertiesPanel.add(label1, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(166, 16), null, 0, false));
        cardName = new JTextField();
        propertiesPanel.add(cardName, new GridConstraints(0, 1, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
        final JLabel label2 = new JLabel();
        label2.setText("Card Number:");
        propertiesPanel.add(label2, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(166, 16), null, 0, false));
        cardNumberLabel = new JLabel();
        cardNumberLabel.setText("1 out of 1");
        propertiesPanel.add(cardNumberLabel, new GridConstraints(1, 1, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
        final JLabel label3 = new JLabel();
        label3.setText("Card ID:");
        propertiesPanel.add(label3, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(166, 16), null, 0, false));
        cardIdLabel = new JLabel();
        cardIdLabel.setText("0000");
        propertiesPanel.add(cardIdLabel, new GridConstraints(2, 1, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
        fieldCountLabel = new JLabel();
        fieldCountLabel.setText("Contains 2 card fields.");
        propertiesPanel.add(fieldCountLabel, new GridConstraints(4, 0, 1, 3, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
        buttonCountLabel = new JLabel();
        buttonCountLabel.setText("Contains 2 card buttons.");
        propertiesPanel.add(buttonCountLabel, new GridConstraints(5, 0, 1, 3, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
        cardMarkedCheckBox = new JCheckBox();
        cardMarkedCheckBox.setText("Card Marked");
        propertiesPanel.add(cardMarkedCheckBox, new GridConstraints(7, 0, 1, 3, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
        cantDeleteCardCheckBox = new JCheckBox();
        cantDeleteCardCheckBox.setText("Can't Delete Card");
        propertiesPanel.add(cantDeleteCardCheckBox, new GridConstraints(8, 0, 1, 3, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
        final JLabel label4 = new JLabel();
        label4.setText("");
        propertiesPanel.add(label4, new GridConstraints(3, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(166, 0), null, 0, false));
        final JLabel label5 = new JLabel();
        label5.setText("");
        propertiesPanel.add(label5, new GridConstraints(6, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(166, 0), null, 0, false));
        final JLabel label6 = new JLabel();
        label6.setText("");
        propertiesPanel.add(label6, new GridConstraints(10, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(166, 0), null, 0, false));
        scriptButton = new JButton();
        scriptButton.setEnabled(true);
        scriptButton.setText("Edit Script...");
        scriptButton.setToolTipText("Not implemented");
        propertiesPanel.add(scriptButton, new GridConstraints(11, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(166, 32), null, 0, false));
        contentsButton = new JButton();
        contentsButton.setEnabled(true);
        contentsButton.setText("Contents...");
        contentsButton.setToolTipText("Not implemented");
        propertiesPanel.add(contentsButton, new GridConstraints(12, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(166, 32), null, 0, false));
        saveButton = new JButton();
        saveButton.setText("OK");
        propertiesPanel.add(saveButton, new GridConstraints(12, 2, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
        final Spacer spacer1 = new Spacer();
        propertiesPanel.add(spacer1, new GridConstraints(12, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));
        dontSearchCheckBox = new JCheckBox();
        dontSearchCheckBox.setText("Don't Search Card");
        propertiesPanel.add(dontSearchCheckBox, new GridConstraints(9, 0, 1, 3, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
    }

    /**
     * @noinspection ALL
     */
    public JComponent $$$getRootComponent$$$() {
        return propertiesPanel;
    }

}


text:
`lua-pgsql` is a PostgreSQL client for Lua. It is compatible with Lua 5.2.3(or above) and based on the [PostgreSQL C API](http://www.postgresql.org/docs/9.1/static/libpq.html).

Lua APIs
========

First you need to use `pgsql = require('luapgsql')` to import a table named `pgsql`(or any other valid name).

* `client, errmsg = pgsql.newclient(dbarg)`

    - Attempts to establish a connection to a PostgreSQL server specified by `dbarg`. If successfully executed, a valid PostgreSQL client `client`, plus a `nil` for `errmsg`, are returned; otherwise `client` will be `nil` and an error message `errmsg` is returned. See `luapgsql-demo.lua` for more details about `dbarg`.

* `errmsg = client:ping()`

    - Checks whether the connection to the server is working. If the connection has gone down and auto-reconnect is enabled an attempt to reconnect is made. If the connection is down and auto-reconnect is disabled, an error message `errmsg` is returned.

* `errmsg = client:setcharset(charset)`

    - Sets the default character set to be `charset` for the current connection. `nil` is returned if successfully executed, otherwise an error message `errmsg` is returned.

* `result, errmsg = client:execute(sqlstr)`

    - Executes a SQL statement `sqlstr`. If successfully executed, a `result` containing all information, and a `nil` for `errmsg`, are returned; otherwise the `result` will be `nil`, and the error message `errmsg` tells what happened.

* `size = result:size()`

    - Returns the number of record(s) in the `result`. `nil` is returned if error occurs.

* `fieldnamelist = result:fieldnamelist()`

    - Returns the fieldname list for the `result`. `nil` is returned if error occurs.

* `result:recordlist()`

    - Returns an iteration closure function which can be used in the `for ... in` form. `nil` is returned if error occurs. Each record returned by the iterator function is an array containing values corresponding to the fieldname list which is the result of `result:fieldnamelist()`.

See `luapgsql-demo.lua` for more details.

C Library
=========

`lua-pgsql` can also be integrated with C/C++ programs for executing Lua scripts. See `host.c` for how to import it into C/C++ environment.

FAQ
===

* If you try to run `luapgsql-demo.lua` with the following command:

    > $ lua luapgsql-demo.lua

  but encounter an error message like this:

    > lua dynamic libraries not enabled; check your Lua installation

  which means you need to re-compile Lua with extra arguments to enable loading dynamic libraries. For example, in Linux systems:

    > $ make posix MYCFLAGS="-DLUA_USE_DLOPEN -fPIC" MYLIBS=-ldl

* If there is an error message like this:

    > multiple Lua VMs detected

  you may re-compile the Lua interpreter with option `-Wl,-E`.

Have fun!

redpajama_set_name: RedPajamaGithub


text:
class LocalData():
    def __init__(self, path, engine=None):
        self.path = path
        self.schema = {"header": [], "sid_name": "id"}
        self._engine = engine

    @property
    def engine(self):
        return self._engine

    @property
    def partitions(self):
        return

    def count(self, **kwargs):
        return 0

    def save(self, address, **kwargs):
        pass


text:
package com.intellij.plugins.thrift.lang.psi.impl;

import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import static com.intellij.plugins.thrift.lang.lexer.ThriftTokenTypes.*;
import com.intellij.plugins.thrift.lang.psi.*;
import com.intellij.plugins.thrift.util.ThriftPsiUtil;

public class ThriftEnumFieldsImpl extends ThriftPsiCompositeElementImpl implements ThriftEnumFields {

  public ThriftEnumFieldsImpl(ASTNode node) {
    super(node);
  }

  public void accept(@NotNull PsiElementVisitor visitor) {
    if (visitor instanceof ThriftVisitor) ((ThriftVisitor)visitor).visitEnumFields(this);
    else super.accept(visitor);
  }

  @Override
  @NotNull
  public List<ThriftEnumField> getEnumFieldList() {
    return PsiTreeUtil.getChildrenOfTypeAsList(this, ThriftEnumField.class);
  }

}


text:
<?php

namespace SteveShanks\PHP7Features\Tests;

use PHPUnit\Framework\TestCase;
use SteveShanks\PHP7Features\Expectations;

class ExpectationsTest extends TestCase
{
    public function testItOnlyAcceptsPositiveIntegers()
    {
        $this->expectException(\AssertionError::class);
        $fixture = new Expectations();
        $fixture->add(-1);
    }

    public function testItThrowsCustomException()
    {
        $this->expectException(\InvalidArgumentException::class);
        $fixture = new Expectations();
        $fixture->subtract(-1);
    }
}


text:
package mobtown.ingest;

import mobtown.Strings;
import io.reactivex.Observable;
import org.junit.Before;
import org.junit.Test;

import java.time.LocalDate;

/**
 * Tests for {@link ArrestsConsumer} which make real requests to Open Baltimore
 */
public class ArrestsConsumerIntegrationTest {

    private ArrestsConsumer consumer;

    @Before
    public void before() {
        consumer = new ArrestsConsumer();
    }

    @Test
    public void it_gets_arrests_by_date() {
        // GIVEN search for arrests on a date known to have arrests
        final LocalDate date = LocalDate.of(2016, 12, 31);

        // WHEN query
        final Observable<Arrest> results = consumer.query(date);

        // THEN returns results
        results.take(1).test()
                .assertValue(arrest ->
                        arrest.timestamp.toLocalDate().equals(date) &&
                        Strings.isNotEmpty(arrest.charge))
                .assertNoErrors();
    }
}


text:
#include <cstdio>
#include "driver.h"
#include "version.h"
#include "version_num.h"

void
get_version(char *v) {
  v += sprintf(v, "%d.%s.%s", MAJOR_VERSION, MINOR_VERSION, UPDATE_VERSION);
  if (strcmp(BUILD_VERSION, "0") != 0 || developer)
    sprintf(v, ".%s", BUILD_VERSION);
}


text:
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security;
using System.Text;
using Elasticsearch.Net.Connection;
using FluentAssertions;
using Nest;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;

namespace Nest.Tests.Unit.Search.Fields
{
	[TestFixture]
	public class FieldsTests : BaseJsonTests
	{
		public class BaseClass
		{
			public string Id { get; set; }
			public string Lang { get; set; }
		}

		public class ClassA : BaseClass { }
		public class ClassB : BaseClass { }
		public class ClassC : BaseClass { }
		public class ClassD : BaseClass { }

		[Test]
		public void FieldsSelectionIsCovariantAsWell()
		{
			var client = GetFixedReturnClient(MethodInfo.GetCurrentMethod(), "FixedCovariantSearchResult");

			var results = client.Search<BaseClass>(s => s
				.Types(typeof(ClassA),typeof(ClassB),typeof(ClassC),typeof(ClassD))
				.Fields(p=>p.Lang)
			);

			results.Total.Should().Be(1605);

			results.Hits.Should().NotBeNull().And.HaveCount(10);

			//ugly way to get a hold of the fields
			var classAHits = results.Hits.OfType<Hit<ClassA>>();
			classAHits.Should().NotBeNull().And.HaveCount(3);

			var classAHit = classAHits.First();
			classAHit.Fields.Should().NotBeNull();
			var lang = classAHit.Fields.FieldValues<ClassA, string>(p => p.Lang).FirstOrDefault();
			lang.Should().NotBeNullOrEmpty();

			//prettier way to get a hold of the fields
			results.FieldSelections.Should().NotBeEmpty();
			var firstHit = results.FieldSelections.First();
			lang = firstHit.FieldValues(p => p.Lang).FirstOrDefault();
			lang.Should().NotBeNullOrEmpty();

		}

	}
}


text:
My_new_ver_lesson26-27
добавленны два файла
в папку паблик из githaba-  https://github.com/xdan/datetimepicker
====================


text:
ACCEPTED

#### According to
Euro+Med Plantbase

#### Published in
null

#### Original name
Hieracium issleri Touton & Zahn

### Remarks
null


text:
package de.halfreal.spezi.gdx.framework;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.introspect.VisibilityChecker;

public class ObjectMapperFactory {

    public static ObjectMapper create() {
        final ObjectMapper mapper = new ObjectMapper();
        mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);

        mapper.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL);
        mapper.enableDefaultTyping();

        mapper.setVisibilityChecker(VisibilityChecker.Std.defaultInstance()
                .withFieldVisibility(JsonAutoDetect.Visibility.ANY)
                .withGetterVisibility(JsonAutoDetect.Visibility.NONE));

        return mapper;
    }

}


text:
layout: things-item
permalink: /:categories/:title
title: Healesville Sanctuary
website: http://www.zoo.org.au/HealesvilleSanctuary
map: Healesville+Sanctuary/@-37.6636265,145.4989638,14z
parkweb:
state: victoria
tags:
- things-yarravalley
- things-victoria
---
Basically, a Zoo full of delightful Australian creatures.

Sweet Birds of Prey display/show

Hand-feed Kangaroos, etc


text:
<?xml version="1.0" encoding="utf-8"?>
<resources>
  <string name="lichessClasses">Lichess-luokat</string>
  <string name="teachClassesOfChessStudents">Opeta shakkiluokkia Lichess-luokkien avulla.</string>
  <string name="features">Toiminnot</string>
  <string name="quicklyGenerateSafeUsernames">Luo nopeasti turvallisia käyttäjänimiä ja salasanoja oppilaille</string>
  <string name="trackStudentProgress">Seuraa oppilaiden edistymistä peleissä ja tehtävissä</string>
  <string name="messageAllStudents">Lähetä luokan uusista materiaaleista viesti kaikille oppilaille</string>
  <string name="freeForAllForever">Aina 100% ilmainen kaikille, ilman mainoksia tai seurantaa</string>
  <string name="applyToBeLichessTeacher">Hae Lichess-opettajaksi</string>
  <string name="noClassesYet">Luokkia ei vielä ole.</string>
  <string name="teachersX">Opettajat: %s</string>
  <string name="newClass">Uusi luokka</string>
  <string name="closeClass">Sulje luokka</string>
  <string name="closedByX">%s on sulkenut tunnuksesi</string>
  <string name="reopen">Avaa uudelleen</string>
  <string name="removeStudent">Poista oppilas</string>
  <string name="removedStudents">Poistettu</string>
  <string name="inviteTheStudentBack">Kutsu oppilas takaisin</string>
  <string name="sendAMessage">Lähetä viesti kaikille oppilaille.</string>
  <string name="aLinkToTheClassWillBeAdded">Linkki luokkaan lisätään automaattisesti jokaisen viestin loppuun, joten sinun ei tarvitse lisätä sitä itse.</string>
  <string name="className">Luokan nimi</string>
  <string name="classDescription">Luokan kuvaus</string>
  <string name="visibleByBothStudentsAndTeachers">Näkyy luokan opettajille ja oppilaille</string>
  <string name="teachersOfTheClass">Luokan opettajat</string>
  <string name="addLichessUsernames">Kutsu käyttäjiä opettajiksi lisäämällä heidän Lichess-tunnuksensa. Yksi per rivi.</string>
  <string name="resetPassword">Nollaa salasana</string>
  <string name="makeSureToCopy">Huolehdi nyt siitä, että kopioit tai kirjoitat ylös salasanasi. Et näe sitä enää toiste!</string>
  <string name="passwordX">Salasana: %s</string>
  <string name="generateANewPassword">Luo oppilaalle uusi salasana</string>
  <string name="invitedToXByY">Kutsuttu %1$s-luokkaan (kutsuja: %2$s)</string>
  <string name="realName">Oikea nimi</string>
  <string name="privateWillNeverBeShown">Yksityinen. Ei näy koskaan luokan ulkopuolella. Auttaa muistamaan kuka oppilas on.</string>
  <string name="addStudent">Lisää oppilas</string>
  <string name="lichessProfileXCreatedForY">Lichess-tunnus %1$s luotu oppilaalle %2$s.</string>
  <string name="studentCredentials">Oppilas: %1$s
Käyttäjänimi: %2$s
Salasana: %3$s</string>
  <string name="inviteALichessAccount">Kutsu Lichess-käyttäjä</string>
  <string name="inviteDesc1">Jos oppilaalla on jo Lichess-tunnus, voit kutsua hänet luokkaan.</string>
  <string name="inviteDesc2">Hän saa Lichessissä viestin, jossa olevaa linkkiä seuraamalla hän voi liittyä luokkaan.</string>
  <string name="inviteDesc3">Tärkeää: kutsu vain oppilaita, jotka tunnet ja jotka todella haluavat liittyä luokkaan.</string>
  <string name="inviteDesc4">Älä koskaan lähetä epätoivottuja kutsuja satunnaisille pelaajille.</string>
  <string name="createANewLichessAccount">Luo uusi Lichess-tunnus</string>
  <string name="createDesc1">Jos oppilaalla ei ole vielä Lichess-tunnusta, voit luoda sellaisen hänelle tästä.</string>
  <string name="createDesc2">Sähköpostiosoitetta ei tarvita. Oppilaalle luodaan salasana, ja se pitää antaa hänelle, jotta hän pääsee kirjautumaan sisään.</string>
  <string name="createDesc3">Tärkeää: oppilaalla ei saa olla useita käyttäjätunnuksia.</string>
  <string name="createDesc4">Jos hänellä on jo tunnus, käytä sen sijaan kutsulomaketta.</string>
  <string name="createStudentWarning">Luo tilejä vain todellisille oppilaille. Älä käytä tätä useiden käyttäjätunnusten luomiseen itsellesi, sillä siitä saat porttikiellon.</string>
  <string name="lichessUsername">Lichess-käyttäjänimi</string>
  <string name="generateANewUsername">Luo uusi käyttäjänimi</string>
  <string name="welcomeToClass">Tervetuloa luokkaasi: %s.
Tässä on linkki, josta pääset luokkaan.</string>
  <string name="invitationToClass">Sinut on kutsuttu liittymään oppilaana luokkaan \"%s\".</string>
  <string name="clickToViewInvitation">Katso kutsu napsauttamalla tätä linkkiä:</string>
  <plurals name="nbPendingInvitations">
    <item quantity="one">Yksi odottava kutsu</item>
    <item quantity="other">%s odottavaa kutsua</item>
  </plurals>
  <string name="onlyVisibleToTeachers">Näkyy vain luokan opettajille</string>
  <string name="lastActiveDate">Aktiivinen</string>
  <string name="managed">Hallinnoitu</string>
  <string name="thisStudentAccountIsManaged">Tämä oppilaan tunnus on hallinnassa</string>
  <string name="upgradeFromManaged">Korota hallinnoidusta itsenäiseksi</string>
  <string name="release">Vapauta</string>
  <string name="releaseTheAccount">Vapauta käyttäjätunnus, jotta oppilas voi hallita sitä itsenäisesti.</string>
  <string name="releaseDesc1">Vapautettua käyttäjätiliä ei voi myöhemmin enää ottaa hallintaan. Oppilas voi itsenäisesti kytkeä lapsitilan pois päältä ja nollata salasanan.</string>
  <string name="releaseDesc2">Oppilas pysyy luokassa senkin jälkeen, kun käyttäjätili on vapautettu.</string>
  <string name="realUniqueEmail">Oppilaan todellinen ja yksilöllinen sähköpostiosoite. Lähetämme siihen vahvistussähköpostilla linkin, jolla käyttäjätunnuksen voi vapauttaa.</string>
  <string name="closeStudent">Sulje tunnus</string>
  <string name="closeTheAccount">Sulje oppilaan tunnus pysyvästi.</string>
  <string name="closeDesc1">Oppilaasi ei voi enää koskaan käyttää tätä tunnusta. Sulkeminen on lopullinen. Varmistathan, että oppilaasi ymmärtää ja hyväksyy tämän.</string>
  <string name="closeDesc2">Vaihtoehtoisesti voit antaa oppilaan hallita tunnusta, jotta hän voi edelleen käyttää sitä.</string>
  <string name="teachers">Opettajat</string>
  <plurals name="nbTeachers">
    <item quantity="one">Opettaja</item>
    <item quantity="other">%s opettajaa</item>
  </plurals>
  <plurals name="nbStudents">
    <item quantity="one">Oppilas</item>
    <item quantity="other">%s oppilasta</item>
  </plurals>
  <string name="students">Oppilaat</string>
  <string name="progress">Edistyminen</string>
  <string name="noStudents">Luokassa ei vielä ole oppilaita.</string>
  <string name="noRemovedStudents">Ei poistettuja oppilaita.</string>
  <string name="overDays">Aikaväli päivissä</string>
  <string name="timePlaying">Pelattu aika</string>
  <string name="variantXOverLastY">%1$s, viimeiset %2$s</string>
  <string name="winrate">Voittoprosentti</string>
  <string name="na">Ei saatavilla</string>
  <string name="news">Luokan uutiset</string>
  <string name="editNews">Muokkaa uutisia</string>
  <string name="notifyAllStudents">Ilmoita kaikille oppilaille</string>
  <string name="nothingHere">Täällä ei ole vielä mitään.</string>
  <string name="newsEdit1">Kaikki oppitunnin uutiset yhdessä kentässä.</string>
  <string name="newsEdit2">Lisää tuoreet uutiset ylimmäksi. Älä poista aiempia uutisia.</string>
  <string name="newsEdit3">Erottele uutiset näin: ---
Se luo vaakasuoran erotinviivan.</string>
</resources>


text:
yii2-jsonrpc-jwsauth

Copyright 2015 Thamtech, LLC

This product includes software developed by
Thamtech, LLC (http://www.thamtech.com).


text:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
:: version 0.30 initial windows version
::
:: version 0.42 included
::
:: version 0.45 prepared southxchange bot
::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
:: This is a nastily scripted batch file, but helps you start mutliple bots at once
::
:: It is designed to reside where it is ::
:: If you move it, you need to adjust the paths - otherwise the ALP bots can't be started
::
:: Don't forget to enter NBT address, API key and API secret in the
:: 'windows/[poolname]/pool-[exchange]-[pair].conf' config file
::
:: Following are the paths to the different ALP bots
:: Remove "::" from the two relevant lines per ALP bot you intend to use
:: Initial setting is: all ALP bots deactivated
::
:: Example:
::	Change from this
:: 	:: liquidbits_ccedk_btc bot; remove "::" from the next two lines to use it
::	::cd %cwd%\liquidbits_ccedk_btc\
::	::start client-ccedk-btc.bat
::
::	to that to activate an ALP bot; DON'T remove the comment from the first line!
:: 	:: liquidbits_ccedk_btc bot; remove "::" from the next two lines to use it
::	cd %cwd%\liquidbits_ccedk_btc\
::	start client-ccedk-btc.bat
::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

@echo off
set cwd=%cd%

:: liquidbits_ccedk_btc bot; remove "::" from the next two lines to use it
::cd %cwd%\liquidbits_ccedk_btc\
::start client-ccedk-btc.bat
::
:: liquidbits_ccedk_eur bot; remove "::" from the next two lines to use it
::cd %cwd%\liquidbits_ccedk_eur\
::start client-ccedk-eur.bat
::
:: liquidbits_ccedk_usd bot; remove "::" from the next two lines to use it
::cd %cwd%\liquidbits_ccedk_usd\
::start client-ccedk-usd.bat
::
:: nupond_bter_btc bot; remove "::" from the next two lines to use it
::cd %cwd%\nupond_bter_btc\
::start client-bter-btc.bat
::
:: nupond_bter_cny bot; remove "::" from the next two lines to use it
::cd %cwd%\nupond_bter_cny\
::start client-bter-cny.bat
::
:: client-bter-cny-fix-payout-test bot; remove "::" from the next two lines to use it
::cd %cwd%\client-bter-cny-fix-payout-test\
::start client-bter-cny-fix-payout-test.bat
::
:: nupool_bittrex_btc bot; remove "::" from the next two lines to use it
::cd %cwd%\nupool_bittrex_btc\
::start client-bittrex-btc.bat
::
:: nupool_poloniex_btc bot; remove "::" from the next two lines to use it
::cd %cwd%\nupool_poloniex_btc\
::start client-poloniex-btc.bat
::
:: nuriver_cryptsy_btc bot; remove "::" from the next two lines to use it
::cd %cwd%\nuriver_cryptsy_btc\
::start client-cryptsy-btc.bat
::
:: nuriver_cryptsy_usd bot; remove "::" from the next two lines to use it
::cd %cwd%\nuriver_cryptsy_usd
::start client-cryptsy-usd.bat
::
:: liquidbits_southx_btc bot; remove "::" from the next two lines to use it
::cd %cwd%\liquidbits_southx_btc
::start client-southx-btc.bat


text:
import { enableProdMode, NgModuleRef } from "@angular/core";
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";

import { AppModule } from "./app.module";
//import { AppModule } from "./dev/app.module";
//import { AppModule } from "./dev/app-basic.module";
import { Settings } from "./settings/settings";

// Enable production mode
if (Settings.enableProdMode) {
    enableProdMode();
}

platformBrowserDynamic().bootstrapModule(AppModule)
    .then((ngModuleRef: NgModuleRef<AppModule>) => {
        console.log("Bootstrap success", ngModuleRef);
    });


text:
module KatelloApi
  module Resources
    class Audit < KatelloApi::Base
      def self.doc
        @doc ||= KatelloApi.doc['resources']["audits"]
      end

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [Object] host_id Part of +/api/hosts/:host_id/audits+ path
      # @option params [String] order  sort results
      # @option params [String] page  paginate results
      # @option params [String] per_page  number of entries per request
      # @option params [String] search  filter results
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def index(params = {}, headers = {})
        perform_call(__method__, params, headers)
      end

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [String] id
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def show(params = {}, headers = {})
        perform_call(__method__, params, headers)
      end

    end
  end
end


text:
define([
  'jquery',
  'underscore',
  'backbone',
], function($, _, Backbone){
  var initialize = function(){

    var AppView = Backbone.View.extend({
      // el - stands for element. Every view has a element associate in with HTML
      //      content will be rendered.
      el: '#container',
      template: _.template("
Hello <%= who %>
"),
      // It's the first function called when this view it's instantiated.
      initialize: function(){
        this.render();
      },
      // $el - it's a cached jQuery object (el), in which you can use jQuery functions
      //       to push content. Like the Hello World in this case.
      render: function(){
        this.$el.html(this.template({who: 'world!'}));
      }
    });

    var appView = new AppView();
  }

  return {
    initialize: initialize
  };
});


text:
package gov.faa.ang.swac.common.flightmodeling.fileio;

import gov.faa.ang.swac.common.datatypes.Timestamp;
import gov.faa.ang.swac.common.flightmodeling.fileio.FlightDigestRecord;
import gov.faa.ang.swac.datalayer.storage.db.QueryBinder;
import gov.faa.ang.swac.datalayer.storage.db.QueryBuilder;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringReader;
import java.io.StringWriter;
import java.sql.SQLException;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

/**
 * Tests for ensuring FlightDigestRecords reading and writing is consistent when fields are added or removed.
 */
public class FlightDigestRecordTest
{
	/** The number of fields in 'sampleReportLine'. */
	private final int numFields = FlightDigestRecord.sampleReportLine.split(",").length;
	/** The flight to test against. */
	private FlightDigestRecord flight;

	/** Reads a flight output record line into the flight to test against. */
	@Before
	public void setUp() throws IOException {
		flight = new FlightDigestRecord();
		BufferedReader reader = new BufferedReader(new StringReader(FlightDigestRecord.sampleReportLine));
		flight.readItem(reader);
		reader.close();
	}

	/**
	 * Verifies that the number of fields written in the header matches the
	 * number of fields read.
	 */
	@Test
	public void testHeaderWrite() throws IOException {
		StringWriter writer = new StringWriter();
		flight.writeHeader(new PrintWriter(writer), 0);
		int expected = numFields;
		int actual = writer.toString().split(",").length;
		Assert.assertEquals("The number of fields written by 'writeHeader' is different from the number of fields read.",
				expected, actual);
	}

	/**
	 * Verifies that the number of fields written matches the number of fields
	 * read.
	 */
	@Test
	public void testFieldWrite() throws IOException {
		StringWriter writer = new StringWriter();
		flight.writeItem(new PrintWriter(writer));
		int expected = numFields;
		int actual = writer.toString().split(",").length;
		Assert.assertEquals("The number of fields written by 'writeItem' is different from the number of fields read.",
				expected, actual);
	}

	/**
	 * Verifies that the number of fields added to a query matches the number of
	 * fields read.
	 */
	@Test
	public void testQueryBuilder() {
		final StringBuilder fields = new StringBuilder();
		flight.describeFields(new QueryBuilder() {
			@Override public String toQueryString() { return null; }
			@Override public void addVarCharField(String name, int size) { fields.append(" "); }
			@Override public void addVarCharField(String name) { fields.append(" "); }
			@Override public void addIntField(String name, long minValue, long maxValue) { fields.append(" "); }
			@Override public void addIntField(String name) { fields.append(" "); }
			@Override public <T extends Enum<T>> void addEnumField(String name, Class<T> anEnum) { fields.append(" "); }
			@Override public void addDoubleField(String name, int precision, int scale) { fields.append(" "); }
			@Override public void addDoubleField(String name) { fields.append(" "); }
			@Override public void addDateTimeField(String name) { fields.append(" "); }
			@Override public void addDateField(String name) { fields.append(" "); }
			@Override public void addBooleanField(String name) { fields.append(" "); }
			@Override public void addFieldWithUnits(String name, String units) { fields.append(" "); }
		});
		int expected = numFields;
		int actual = fields.length();
		Assert.assertEquals("The number of fields produced by 'describeFields' is different from the number of fields read.",
				expected, actual);
	}

	/**
	 * Verifies that the number of fields added to a binder matches the number
	 * of fields read.
	 */
	@Test
	public void testQueryBinder() throws Exception {
		final StringBuilder fields = new StringBuilder();
		flight.bindFields(new QueryBinder() {
			@Override public void bindField(Timestamp timestamp, boolean asDate) throws Exception { fields.append(" "); }
			@Override public void bindField(Timestamp timestamp) throws Exception { fields.append(" "); }
			@Override public void bindField(Enum<?> enumValue) throws Exception { fields.append(" "); }
			@Override public void bindField(Boolean field) throws Exception { fields.append(" "); }
			@Override public void bindField(Double field) throws Exception { fields.append(" "); }
			@Override public void bindField(Integer field) throws Exception { fields.append(" "); }
			@Override public void bindField(Object field, int sqlType) throws Exception { fields.append(" "); }
			@Override public void bindField(Object field) throws Exception { fields.append(" "); }
			@Override public void bindField(double field) throws Exception { fields.append(" "); }
			@Override public void bindField(boolean field) throws Exception { fields.append(" "); }
			@Override public void bindField(int field) throws Exception { fields.append(" "); }
			@Override public void addBatch() throws SQLException {}
		});
		int expected = numFields;
		int actual = fields.length();
		Assert.assertEquals("The number of fields produced by 'bindFields' is different from the number of fields read.",
				expected, actual);
	}
}


text:
#include "clauses.hpp"

ULL MAXWEIGHT = (1ULL<<63) - 1;

//! doubles the amount of memory available to store clauses
void Clauses::doubleStorage() {
	capacity <<= 1;
	++logcapacity;
	int_c *clauses2 = new int_c[capacity];
	assert(clauses2 != NULL);
	memcpy(clauses2, clauses, sizeof(int_c) * capacity/2);
	delete [] clauses;
	clauses = clauses2;
	int *headsFreeList2 = new int[logcapacity];
	assert(headsFreeList2 != NULL);
	memcpy(headsFreeList2, headsFreeList, sizeof(int) * (logcapacity-1));
	delete [] headsFreeList;
	headsFreeList = headsFreeList2;
	assert(headsFreeList[logcapacity-2] == 0);
	// add the new storage block to the buddy memory management
	headsFreeList[logcapacity-2] = capacity/2;
	headsFreeList[logcapacity-1] = 0;
	clauses[capacity/2] = 0;
}

//! Clauses constructor
Clauses::Clauses() {
	assigned = NULL;
	logcapacity = 16;
	capacity = 1<<logcapacity;
	clauses = new int_c[capacity];
	headsFreeList = new int[logcapacity];
	for (int i=0; i+1<logcapacity; ++i) {
		headsFreeList[i] = 1<<i;
		clauses[1<<i] = 0;
	}
	headsFreeList[logcapacity-1] = 0;
}

//! Clauses destructor
Clauses::~Clauses() {
	delete [] clauses;
	assert(assigned != NULL);
	assigned -= nVars;
	delete [] assigned;
	delete [] headsFreeList;
}


text:
'use strict';

exports.interviewerGET = function(args, res, next) {
  /**
   * parameters expected in the args:
  * token (String)
  **/
    var examples = {};
  examples['application/json'] = {
  "roomId" : 101
};
  if(Object.keys(examples).length > 0) {
    res.setHeader('Content-Type', 'application/json');
    res.end(JSON.stringify(examples[Object.keys(examples)[0]] || {}, null, 2));
  }
  else {
    res.end();
  }

}


text:
layout: page
title: Robinson Gold Limited Conference
date: 2016-05-24
author: Sharon Osborn
tags: weekly links, java
status: published
summary: Suspendisse vel mauris id lacus cursus feugiat nec id.
banner: images/banner/wedding.jpg
booking:
  startDate: 10/18/2018
  endDate: 10/19/2018
  ctyhocn: STCLDHX
  groupCode: RGLC
published: true
---
Nullam convallis, leo ac scelerisque pellentesque, nisl ante fringilla ex, cursus mollis erat nulla id tellus. Curabitur tristique tempor pellentesque. Integer semper tincidunt felis, sit amet interdum tortor ullamcorper a. Nam et ullamcorper est. Aliquam pretium justo fringilla lectus viverra, malesuada tincidunt erat faucibus. Aliquam a massa purus. Phasellus id tortor nunc. Praesent at rutrum nisi, nec viverra leo. Suspendisse id mauris est. Aenean ac consectetur ex, vel imperdiet turpis.

* Nam a quam in mi egestas maximus
* Ut vulputate ex sed magna facilisis, ac mattis sem pulvinar
* Curabitur fermentum urna in libero tempus, at maximus quam pharetra.

Quisque a nisl velit. In ex augue, semper pellentesque tristique sed, auctor vel ipsum. Vivamus tincidunt est mattis aliquam vulputate. Nam id est volutpat, sodales risus non, sollicitudin eros. Nunc feugiat nulla ac massa mattis egestas. Aliquam venenatis magna lectus. Quisque varius odio at dignissim gravida. Mauris ex ligula, tincidunt semper facilisis eget, maximus quis augue. Proin et metus nisl. Etiam efficitur leo a sem euismod, non placerat mauris porta.


text:
class CreateFhirs < ActiveRecord::Migration
  def change
    create_table :fhirs do |t|

      t.timestamps null: false
    end
  end
end


text:
//
//  NMConst.m
//  NMWalletAPP
//
//  Created by boundlessocean on 2016/12/1.
//  Copyright © 2016年 coffee. All rights reserved.
//

#import "NMConst.h"

CGFloat const kTabBarH = 49.0f;
CGFloat const kNavigationBarH = 64.0f;
CGFloat const kHUDDismissDelay = 1.5;
CGFloat const kHUDLDismissDelay = 2;
NSString * const kRong360APPID = @"2000001";//@"1000123";//
NSString * const kUmengAPPID = @"58ecc2129f06fd2d87001b79";
NSString * const kCloudPushAPPID = @"23716611";//@"23720639";//
NSString * const kCloudPushAPPSecret = @"71a7733c8b2e8ec2cd25cf26f4e89528";//@"0a5c9f72eb4fef0e09faa5d69fdd0649";//
NSString * const kAppStoreAppID = @"1227376197";

NSString * const kVersionKey = @"NMAPPVersion";
NSString * const kNMAPPContextUUID = @"kNMAPPContextUUID";
NSString * const kNMHomeViewNeedRefresh = @"kNMHomeViewNeedRefresh";
NSString * const kNMAPPContextAccessToken= @"kNMAPPContextAccessToken";
NSString * const kNMAPPContextPhoneNumber = @"kNMAPPContextPhoneNumber";
NSString * const kNMACVCNeedsRefreshStatus = @"kNMACVCNeedsRefreshStatus";

NSString * const kNMHUDDefaultText =  @"正在努力加载中";
NSString * const kNMHUDUploadText = @"上传中...";

NSString * const kNMIDFrontCellTitleNameText = @"姓名";
NSString * const kNMIDFrontCellTitleSexText = @"性别";
NSString * const kNMIDFrontCellTitleNationText = @"民族";
NSString * const kNMIDFrontCellTitleDateText = @"出生";
NSString * const kNMIDFrontCellTitleAddressText = @"地址";
NSString * const kNMIDFrontCellTitleCardIDText = @"身份证号";

NSString * const kNMIDReverseCellTitleOrgnizeText = @"签发机构";
NSString * const kNMIDReverseCellTitleAvalbelText = @"有效期限";

NSString * const kNMMessageCenterTypeSystem = @"70001001";
NSString * const kNMMessageCenterTypeNotification = @"70001002";
NSString * const kNMMessageStatusTypeUnRead = @"10001001";
NSString * const kNMMessageStatusTypeRead = @"10001002";

NSString * const kNMACTypePhone = @"70000017";
NSString * const kNMACTypeJD = @"70000019";
NSString * const kNMACTypeZM = @"70000021";

NSString * const kNMBorrowStatusBorrowing = @"80003001";
NSString * const kNMBorrowStatusBorrowSuccess = @"80003002";

NSString * const kNMRepamentMoneyIsNotEnough = @"3008";
NSString * const kNMRepamentIsSuccess = @"0000";
NSString * const kNMRepamentOrderIshandleing = @"2000";

NSString * const kNMImageCodeNeedRefresh = @"NeedRefresh";
NSString * const kNMNeedMustUpdate = @"需要强制更新";

NSString * const kNMEmojiTip = @"输入项不能包含表情符号!";
NSString * const kNMNetworkLostNotifacation = @"kNMNetworkLostNotifacation";
NSString * const kNMNetworkResetNotifacation = @"kNMNetworkResetNotifacation";
NSString * const kNMContactAuthority = @"kNMContactAuthority";
NSString * const kNMACTime = @"kNMACTime";
//NSString * const kNMACResultTimeIsRefreshed = @"kNMACResultTimeIsRefreshed";
/** 服务器地址 */
NSString * const kNMAPIDOMAIN = @"kNMAPIDOMAIN";
NSString * const kNMAPIDOMAIN1 = @"http://lifefair.ngrok.cc/nm-mobile-app-server/";
NSString * const kNMAPIDOMAIN2 = @"http://192.168.2.194/nm-mobile-app-server/";
NSString * const kNMAPIDOMAIN3 = @"http://192.168.3.108:7001/app/";
NSString * const kNMAPIDOMAIN4 = @"http://120.26.5.204:7001/";
NSString * const kNMAPIDOMAIN5 = @"http://192.168.3.222:8180/";


text:
IVERSION = (0, 12, 2)
VERSION = ".".join(str(i) for i in IVERSION)
MINORVERSION = ".".join(str(i) for i in IVERSION[:2])
NAME = "mitmproxy"
NAMEVERSION = NAME + " " + VERSION

NEXT_MINORVERSION = list(IVERSION)
NEXT_MINORVERSION[1] += 1
NEXT_MINORVERSION = ".".join(str(i) for i in NEXT_MINORVERSION[:2])


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
null

#### Original name
Hebeloma subcaespitosum var. subcaespitosum Bon

### Remarks
null


text:
package com.app.aparoksha.apro16;

import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.DatePicker;
import android.widget.TextView;
import android.widget.TimePicker;
import android.widget.Toast;

import java.util.Calendar;
import java.util.Random;

import uk.co.chrisjenx.calligraphy.CalligraphyConfig;
import uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper;

/**
 * Created by Satyam Poddar on 07-Mar-16.
 */
public class SetNotification extends AppCompatActivity {

    TimePicker timePicker;
    DatePicker datePicker;
    Random random = new Random();
    private Toolbar toolbar;
    private TextView activityName;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        CalligraphyConfig.initDefault(new CalligraphyConfig.Builder()
                        .setDefaultFontPath("fonts/JosefinSans-Regular.ttf")
                        .setFontAttrId(R.attr.fontPath)
                        .build()
        );
        setContentView(R.layout.activity_set_notification);
        toolbar = (Toolbar) findViewById(R.id.app_bar);

        setSupportActionBar(toolbar);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
        activityName = (TextView) findViewById(R.id.activity_name);

//        searchContent.getBackground().setColorFilter(getResources().getColor(R.color.whitE), PorterDuff.Mode.SRC_ATOP);

        activityName.setText("Set Reminder");

        Intent i = getIntent();
        Bundle b = i.getExtras();
        final String event = b.getString("event");
        final String address = b.getString("address");
        //---Button view---
        Button btnOpen = (Button) findViewById(R.id.btnSetAlarm);
        btnOpen.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {
                int randomInteger = random.nextInt();
                //randomInteger = randomInteger%100;
                //if(randomInteger < 0)randomInteger = randomInteger + 100;

                //String s = Integer.toString(randomInteger);
                //Toast.makeText(getApplicationContext(), s, Toast.LENGTH_SHORT).show();
                timePicker = (TimePicker) findViewById(R.id.timePicker);
                datePicker = (DatePicker) findViewById(R.id.datePicker);

                //---use the AlarmManager to trigger an alarm---
                AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);

                //---get current date and time---
                Calendar calendar = Calendar.getInstance();

                //---sets the time for the alarm to trigger---
                calendar.set(Calendar.YEAR, datePicker.getYear());
                calendar.set(Calendar.MONTH, datePicker.getMonth());
                calendar.set(Calendar.DAY_OF_MONTH, datePicker.getDayOfMonth());
                calendar.set(Calendar.HOUR_OF_DAY, timePicker.getCurrentHour());
                calendar.set(Calendar.MINUTE, timePicker.getCurrentMinute());
                calendar.set(Calendar.SECOND, 0);

                //---PendingIntent to launch activity when the alarm triggers---
                Intent i = new Intent("com.app.aparoksha.apro16.DN");
                i.putExtra("event", event);
                i.putExtra("address", address);
                //---assign an ID of 1---
                i.putExtra("NotifID", randomInteger);

                PendingIntent displayIntent = PendingIntent.getActivity(
                        getBaseContext(), randomInteger, i, PendingIntent.FLAG_ONE_SHOT);

                //---sets the alarm to trigger---
                alarmManager.set(AlarmManager.RTC_WAKEUP,
                        calendar.getTimeInMillis(), displayIntent);
                Toast.makeText(SetNotification.this, "Reminder set for the event", Toast.LENGTH_SHORT).show();
            }
        });

    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle action bar item clicks here. The action bar will
        // automatically handle clicks on the Home/Up button, so long
        // as you specify a parent activity in AndroidManifest.xml.
        int id = item.getItemId();

        //noinspection SimplifiableIfStatement
        if (id == R.id.action_settings) {
            return true;
        }
        else if(id == android.R.id.home) {
            finish();
        }

        return super.onOptionsItemSelected(item);
    }
    @Override
    protected void attachBaseContext(Context newBase) {
        super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase));
    }
}


text:
using System;
using System.Collections.Generic;
using ICSharpCode.NRefactory.Ast;
using ICSharpCode.NRefactory.Visitors;

namespace ICSharpCode.NRefactory.Parser.CSharp
{
	sealed class ConditionalCompilation : AbstractAstVisitor
	{
		static readonly object SymbolDefined = new object();
		Dictionary<string, object> symbols = new Dictionary<string, object>();

		public IDictionary<string, object> Symbols {
			get { return symbols; }
		}

		public void Define(string symbol)
		{
			symbols[symbol] = SymbolDefined;
		}

		public void Undefine(string symbol)
		{
			symbols.Remove(symbol);
		}

		public bool Evaluate(Expression condition)
		{
			return condition.AcceptVisitor(this, null) == SymbolDefined;
		}

		public override object VisitPrimitiveExpression(PrimitiveExpression pe, object data)
		{
			if (pe.Value is bool)
				return (bool)pe.Value ? SymbolDefined : null;
			else
				return null;
		}

		public override object VisitIdentifierExpression(IdentifierExpression identifierExpression, object data)
		{
			return symbols.ContainsKey(identifierExpression.Identifier) ? SymbolDefined : null;
		}

		public override object VisitUnaryOperatorExpression(UnaryOperatorExpression unaryOperatorExpression, object data)
		{
			if (unaryOperatorExpression.Op == UnaryOperatorType.Not) {
				return unaryOperatorExpression.Expression.AcceptVisitor(this, data) == SymbolDefined ? null : SymbolDefined;
			} else {
				return null;
			}
		}

		public override object VisitBinaryOperatorExpression(BinaryOperatorExpression bo, object data)
		{
			bool lhs = bo.Left.AcceptVisitor(this, data) == SymbolDefined;
			bool rhs = bo.Right.AcceptVisitor(this, data) == SymbolDefined;
			bool result;
			switch (bo.Op) {
				case BinaryOperatorType.LogicalAnd:
					result = lhs && rhs;
					break;
				case BinaryOperatorType.LogicalOr:
					result = lhs || rhs;
					break;
				case BinaryOperatorType.Equality:
					result = lhs == rhs;
					break;
				case BinaryOperatorType.InEquality:
					result = lhs != rhs;
					break;
				default:
					return null;
			}
			return result ? SymbolDefined : null;
		}

		public override object VisitParenthesizedExpression(ParenthesizedExpression parenthesizedExpression, object data)
		{
			return parenthesizedExpression.Expression.AcceptVisitor(this, data);
		}
	}
}


text:
package com.custardsource.parfait.dxm;

import java.util.Collection;
import java.util.Set;

import com.custardsource.parfait.dxm.BasePcpWriter.Store;

class InstanceDomain implements PcpId, PcpOffset {
    private final String name;
    private final int id;
    private int offset;
    private final Store<Instance> instanceStore;
    private PcpString shortHelpText;
    private PcpString longHelpText;

    InstanceDomain(String name, int id, IdentifierSourceSet instanceStores) {
        this.name = name;
        this.id = id;
        this.instanceStore = new InstanceStore(instanceStores);
    }

    Instance getInstance(String name) {
    	return instanceStore.byName(name);
    }

    @Override
    public String toString() {
        return name + " (" + id + ") " + instanceStore.all().toString();
    }

    public int getId() {
        return id;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    int getInstanceCount() {
        return instanceStore.size();
    }

    int getFirstInstanceOffset() {
        return instanceStore.all().iterator().next().getOffset();
    }

    Collection<Instance> getInstances() {
        return instanceStore.all();
    }

    void setHelpText(PcpString shortHelpText, PcpString longHelpText) {
        this.shortHelpText = shortHelpText;
        this.longHelpText = longHelpText;

    }

    PcpString getShortHelpText() {
        return shortHelpText;
    }

    PcpString getLongHelpText() {
        return longHelpText;
    }

	private class InstanceStore extends Store<Instance> {
        public InstanceStore(IdentifierSourceSet identifierSources) {
            super(identifierSources.instanceSource(name));
        }

        @Override
        protected Instance newInstance(String name, Set<Integer> usedIds) {
            return new Instance(InstanceDomain.this, name, identifierSource.calculateId(name,
                    usedIds));
        }

	}
}


text:
require 'test_helper'

feature 'Application draft' do
  def setup
    @user = make_user
    @admin = make_admin
    @event = make_event(name: 'The Event', approved: true)
    @draft = make_draft(
                  @event,
                  applicant_id: @user.id,
                  email: @user.email,
                  email_confirmation: @user.email,
                  attendee_info_1: 'I would like to learn Ruby',
                  attendee_info_2: 'I can not afford the ticket'
                )
  end

  test 'does not show link to Submit the application if user is an admin' do
    sign_in_as_admin

    visit event_application_path(@event.id, @draft.id)

    page.assert_no_selector('.submit_application')
  end

  test 'shows link to Submit if user is an applicant and event-deadline has not passed' do
    sign_in_as_user

    visit event_application_path(@event.id, @draft.id)

    page.assert_selector('.submit_application')
  end

  test 'does not show link to Submit if user is an applicant and event-deadline has passed' do
    @event.update_attributes(deadline: 1.day.ago)
    sign_in_as_user

    visit event_application_path(@event.id, @draft.id)

    page.assert_no_selector('.submit_application')
  end

  test 'sets the status of the application to submitted after clicking Submit' do
    @draft.update_attributes(email_confirmation: '', terms_and_conditions: false)
    sign_in_as_user

    visit event_application_path(@event.id, @draft.id)

    fill_in 'Email confirmation', with: @user.email

    check('I agree with the following Terms and Conditions*')

    click_button('Submit application')

    @draft.reload

    assert_equal true, @draft.submitted
  end

  test 'shows link to Delete if application is a draft and deadline-has passed' do
    @event.update_attributes(deadline: 1.day.ago)
    sign_in_as_user

    visit event_application_path(@event.id, @draft.id)

    assert page.has_content?('Delete')
  end
end


text:
            Participantes

 Participantes

	                        	<button id="add-session" (click)="addSpeaker()" class="btn sbold green">
	                        		Agregar
                            	</button>

                                 Nombre
                                 Título
                                 Bio
                                 Acciones

                                {{ speaker.name | slice:0:50 }}  50">...
                                {{ speaker.title | slice:0:50 }}  50">...
                                {{ speaker.bio | slice:0:60 }}  60">...

                                	<input type="hidden" value="{{ speaker.$key }}" #sessionId>


text:
/**
 * @fileOverview Defines the {@link CKEDITOR.lang} object for the Occitan
 *		language.
 */

/**#@+
   @type String
   @example
*/

/**
 * Contains the dictionary of language entries.
 * @namespace
 */
CKEDITOR.lang[ 'oc' ] = {
	// ARIA description.
	editor: 'Editor de tèxte enriquit',
	editorPanel: 'Tablèu de bòrd de l\'editor de tèxte enriquit',

	// Common messages and labels.
	common: {
		// Screenreader titles. Please note that screenreaders are not always capable
		// of reading non-English words. So be careful while translating it.
		editorHelp: 'Utilisatz l\'acorchi Alt-0 per obténer d\'ajuda',

		browseServer: 'Percórrer lo servidor',
		url: 'URL',
		protocol: 'Protocòl',
		upload: 'Mandar',
		uploadSubmit: 'Mandar sul servidor',
		image: 'Imatge',
		flash: 'Flash',
		form: 'Formulari',
		checkbox: 'Casa de marcar',
		radio: 'Boton ràdio',
		textField: 'Camp  tèxte',
		textarea: 'Zòna de tèxte',
		hiddenField: 'Camp invisible',
		button: 'Boton',
		select: 'Lista desenrotlanta',
		imageButton: 'Boton amb imatge',
		notSet: '<indefinit>',
		id: 'Id',
		name: 'Nom',
		langDir: 'Sens d\'escritura',
		langDirLtr: 'Esquèrra a dreita (LTR)',
		langDirRtl: 'Dreita a esquèrra (RTL)',
		langCode: 'Còdi de lenga',
		longDescr: 'URL de descripcion longa',
		cssClass: 'Classas d\'estil',
		advisoryTitle: 'Infobulla',
		cssStyle: 'Estil',
		ok: 'D\'acòrdi',
		cancel: 'Anullar',
		close: 'Tampar',
		preview: 'Previsualizar',
		resize: 'Redimensionar',
		generalTab: 'General',
		advancedTab: 'Avançat',
		validateNumberFailed: 'Aquesta valor es pas un nombre.',
		confirmNewPage: 'Los cambiaments pas salvats seràn perduts. Sètz segur que volètz cargar una novèla pagina ?',
		confirmCancel: 'Certanas opcions son estadas modificadas. Sètz segur que volètz tampar ?',
		options: 'Opcions',
		target: 'Cibla',
		targetNew: 'Novèla fenèstra (_blank)',
		targetTop: 'Fenèstra superiora (_top)',
		targetSelf: 'Meteissa fenèstra (_self)',
		targetParent: 'Fenèstra parent (_parent)',
		langDirLTR: 'Esquèrra a dreita (LTR)',
		langDirRTL: 'Dreita a esquèrra (RTL)',
		styles: 'Estil',
		cssClasses: 'Classas d\'estil',
		width: 'Largor',
		height: 'Nautor',
		align: 'Alinhament',
		alignLeft: 'Esquèrra',
		alignRight: 'Dreita',
		alignCenter: 'Centrar',
		alignJustify: 'Justificar',
		alignTop: 'Naut',
		alignMiddle: 'Mitan',
		alignBottom: 'Bas',
		alignNone: 'Pas cap',
		invalidValue: 'Valor invalida.',
		invalidHeight: 'La nautor deu èsser un nombre.',
		invalidWidth: 'La largor deu èsser un nombre.',
		invalidCssLength: 'La valor especificada pel camp « %1 » deu èsser un nombre positiu amb o sens unitat de mesura CSS valid (px, %, in, cm, mm, em, ex, pt, o pc).',
		invalidHtmlLength: 'La valor especificada pel camp « %1 » deu èsser un nombre positiu amb o sens unitat de mesura HTML valid (px o %).',
		invalidInlineStyle: 'La valor especificada per l\'estil en linha deu èsser compausada d\'un o mantun parelh al format « nom : valor », separats per de punts-virgulas.',
		cssLengthTooltip: 'Entrar un nombre per una valor en pixèls o un nombre amb una unitat de mesura CSS valida (px, %, in, cm, mm, em, ex, pt, o pc).',

		// Put the voice-only part of the label in the span.
		unavailable: '%1, indisponible',

		// Keyboard keys translations used for creating shortcuts descriptions in tooltips, context menus and ARIA labels.
		keyboard: {
			8: 'Retorn',
			13: 'Entrada',
			16: 'Majuscula',
			17: 'Ctrl',
			18: 'Alt',
			32: 'Espaci',
			35: 'Fin',
			36: 'Origina',
			46: 'Suprimir',
			224: 'Comanda'
		},

		// Prepended to ARIA labels with shortcuts.
		keyboardShortcut: 'Acorchi de clavièr'
	}
};


text:
import invariant from 'shared/invariant';

import typeof * as FeatureFlagsType from 'shared/ReactFeatureFlags';
import typeof * as FeatureFlagsShimType from './ReactFeatureFlags.native-fb';

// Re-export dynamic flags from the fbsource version.
export const {
  debugRenderPhaseSideEffects,
  debugRenderPhaseSideEffectsForStrictMode,
  warnAboutDeprecatedLifecycles,
  replayFailedUnitOfWorkWithInvokeGuardedCallback,
  disableInputAttributeSyncing,
} = require('ReactFeatureFlags');

// The rest of the flags are static for better dead code elimination.
export const enableUserTimingAPI = __DEV__;
export const enableProfilerTimer = __PROFILE__;
export const enableSchedulerTracing = __PROFILE__;
export const enableSuspenseServerRenderer = false;
export const enableStableConcurrentModeAPIs = false;

// Only used in www builds.
export function addUserTimingListener() {
  invariant(false, 'Not implemented.');
}

// Flow magic to verify the exports of this file match the original version.
// eslint-disable-next-line no-unused-vars
type Check<_X, Y: _X, X: Y = _X> = null;
// eslint-disable-next-line no-unused-expressions
(null: Check<FeatureFlagsShimType, FeatureFlagsType>);


text:
echo "Deploying RollGen to NuGet"

ApiKey=$1
Source=$2

echo "Nuget Source is $Source"
echo "Nuget API Key is $ApiKey (should be secure)"

echo "Packing RollGen"
nuget pack ./RollGen/RollGen.nuspec -Verbosity detailed

echo "Packing RollGen.Domain"
nuget pack ./RollGen.Domain/RollGen.Domain.nuspec -Verbosity detailed

echo "Pushing RollGen"
nuget push ./DnDGen.RollGen.*.nupkg -Verbosity detailed -ApiKey $ApiKey -Source $Source

echo "Pushing RollGen.Domain"
nuget push ./DnDGen.RollGen.Domain.*.nupkg -Verbosity detailed -ApiKey $ApiKey -Source $Source


text:
<?php

/**
 * @file
 * Definition of Drupal\user\Tests\UserDeleteTest.
 */

namespace Drupal\user\Tests;

use Drupal\simpletest\WebTestBase;
use Drupal\user\Entity\User;

/**
 * Tests account deleting of users.
 *
 * @group user
 */
class UserDeleteTest extends WebTestBase {

  /**
   * Test deleting multiple users.
   */
  function testUserDeleteMultiple() {
    // Create a few users with permissions, so roles will be created.
    $user_a = $this->drupalCreateUser(array('access user profiles'));
    $user_b = $this->drupalCreateUser(array('access user profiles'));
    $user_c = $this->drupalCreateUser(array('access user profiles'));

    $uids = array($user_a->id(), $user_b->id(), $user_c->id());

    // These users should have a role
    $query = db_select('user__roles', 'r');
    $roles_created = $query
      ->fields('r', array('entity_id'))
      ->condition('entity_id', $uids, 'IN')
      ->countQuery()
      ->execute()
      ->fetchField();

    $this->assertTrue($roles_created > 0, 'Role assignments created for new users and deletion of role assignments can be tested');
    // We should be able to load one of the users.
    $this->assertTrue(User::load($user_a->id()), 'User is created and deltion of user can be tested');
    // Delete the users.
    user_delete_multiple($uids);
    // Test if the roles assignments are deleted.
    $query = db_select('user__roles', 'r');
    $roles_after_deletion = $query
      ->fields('r', array('entity_id'))
      ->condition('entity_id', $uids, 'IN')
      ->countQuery()
      ->execute()
      ->fetchField();
    $this->assertTrue($roles_after_deletion == 0, 'Role assignments deleted along with users');
    // Test if the users are deleted, User::load() will return NULL.
    $this->assertNull(User::load($user_a->id()), format_string('User with id @uid deleted.', array('@uid' => $user_a->id())));
    $this->assertNull(User::load($user_b->id()), format_string('User with id @uid deleted.', array('@uid' => $user_b->id())));
    $this->assertNull(User::load($user_c->id()), format_string('User with id @uid deleted.', array('@uid' => $user_c->id())));
  }
}


text:
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/ads/googleads/v10/enums/system_managed_entity_source.proto", :syntax => :proto3) do
    add_message "google.ads.googleads.v10.enums.SystemManagedResourceSourceEnum" do
    end
    add_enum "google.ads.googleads.v10.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource" do
      value :UNSPECIFIED, 0
      value :UNKNOWN, 1
      value :AD_VARIATIONS, 2
    end
  end
end

module Google
  module Ads
    module GoogleAds
      module V10
        module Enums
          SystemManagedResourceSourceEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v10.enums.SystemManagedResourceSourceEnum").msgclass
          SystemManagedResourceSourceEnum::SystemManagedResourceSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v10.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource").enummodule
        end
      end
    end
  end
end


text:
layout: post
date: 2017-09-23
title: "Sherri Hill Prom Dresses Style 50236 Sleeveless Sweep/Brush Train Sheath/Column"
category: Sherri Hill
tags: [Sherri Hill ,Sherri Hill,Sheath/Column,Jewel,Sweep/Brush Train,Sleeveless]
---
### Sherri Hill Prom Dresses Style 50236
Just **$549.99**
###   Sleeveless Sweep/Brush Train Sheath/Column

BRANDS	Sherri Hill

Silhouette	Sheath/Column

Neckline	Jewel

Hemline/Train	Sweep/Brush Train

Sleeve	Sleeveless

Buy it: [https://www.readybrides.com/en/sherri-hill-/50112-sherri-hill-prom-dresses-style-50236.html](https://www.readybrides.com/en/sherri-hill-/50112-sherri-hill-prom-dresses-style-50236.html)


text:
  var duplexer = require('duplexer2');
  var through = require('through2');

  module.exports = function (counter) {
      var counts = {};
      var input = through(
					function (bufferLine, encoding, next) {
          				counts[bufferLine.country] = (counts[bufferLine.country] || 0) + 1;
          				next();
      				},
      				function end (done) {
					    counter.setCounts(counts);
					    done();
					});
      return duplexer(input, counter);

  };

// TODO
//   TAP version 13
// # (anonymous)
// ok 1 stream-adventure verify YOURFILE.js
// ok 2 solution exports a function
// not ok 3 TypeError: Bad argument


text:
using AudioAdventurer.GameDesigner.Interfaces;
using AudioAdventurer.Library.Interfaces;

namespace AudioAdventurer.GameDesigner.Messages
{
    public class NodeSelected<T> : IMessage where T : INamedObject
    {
        public NodeSelected(T _nodeItem)
        {
            NodeItem = _nodeItem;
        }

        public T NodeItem { get; private set; }
    }
}


text:
//
//  UpYunBlockUpLoader.h
//  UpYunSDKDemo
//
//  Created by DING FENG on 2/16/17.
//  Copyright © 2017 upyun. All rights reserved.
//

/*实现的存储接口及文档
 REST API。文档地址:http://docs.upyun.com/api/rest_api/#_3
 认证鉴权-在 Header 中包含签名。 文档地址:http://docs.upyun.com/api/authorization/#header
 */

#import <Foundation/Foundation.h>
#import "UpYunUploader.h"

@interface UpYunBlockUpLoader : NSObject

/*表单上传接口
 参数  bucketName:           上传空间名
 参数  operator:             空间操作员
 参数  operatorPassword:     空间操作员密码
 参数  filePath:             上传文件本地路径
 参数  savePath:             上传文件的保存路径, 例如:"/2015/0901/file1.jpg"
 参数  successBlock:         上传成功回调
 参数  failureBlock:         上传失败回调
 参数  progressBlock:        上传进度回调
 */

- (void)uploadWithBucketName:(NSString *)bucketName
                    operator:(NSString *)operatorName
                    password:(NSString *)operatorPassword
                    filePath:(NSString *)filePath
                    savePath:(NSString *)savePath
                     success:(UpLoaderSuccessBlock)successBlock
                     failure:(UpLoaderFailureBlock)failureBlock
                    progress:(UpLoaderProgressBlock)progressBlock;
//取消上传
- (void)cancel;

@end


text:
if [[ -n "$SSH_CLIENT" ]]; then
	DISABLE_UNTRACKED_FILES_DIRTY='true'
fi

# Navigational
#alias ll='ls --color -lah --group-directories-first'
alias ll='ls --color=auto -lah --group-directories-first '
alias lp='k --all'
alias llt='ls --color=auto -laht --group-directories-first' # Sort by newest first.
alias ..='cd ..'
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."

# Filesystem
alias cp="cp -a"
alias rm="rm -rf"

# DO NOT EVER ALIAS mkdir with -p parents option. IT WILL BREAK INHERITED ACL
# PERMISSIONS.
# http://serverfault.com/questions/197263/conflicts-between-acls-and-umask
# http://savannah.gnu.org/bugs/?19546
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14371
# dane's pain is your gain
#alias mkdir="mkdir -p"
alias du="du -h --time"
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
#alias ag='ag -lfi --hidden --numbers --column --stats'
alias belinux="find . -type f -exec dos2unix {} \;"

#Recursively search all files in current directory for term
gimme () {
	grep -HrnIi --color=always $1 .
}

# Misc
alias c='clear'
alias vi='vim'
alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date'

#Anything that is specific to the OSX environment should go here.
export ZSH_HOST_OS=$(uname | awk '{print tolower($0)}')

case $ZSH_HOST_OS in
	darwin*)

	#Environment variables
	export PATH=/usr/local/sbin:~/npm-global/bin:/usr/local/bin:$PATH
	export EDITOR="vim"
	export DISABLE_AUTO_TITLE=true

	# Assumes that coreutils and other GNU tools have replaced OSX'
	export PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"

	export PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH"
	export MANPATH="$(brew --prefix coreutils)/libexec/gnuman:$MANPATH"
	alias ls='gls --color=auto'

	# Aliases
	alias stfu="osascript -e 'set volume output muted true'"
	#alias flushdns="dscacheutil -flushcache && killall -HUP mDNSResponder"
	alias flushdns="dscacheutil -flushcache"
	#alias update='dotfiles; sudo softwareupdate -i -a -v; brew doctor; brew update; brew upgrade; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update'
	alias update='zot; composer selfupdate; softwareupdate -i -a --verbose; brew doctor; brew update; brew upgrade; brew cleanup'

	# OSX settings
	#defaults write com.apple.Dock autohide-delay -float 0 && killall Dock
	# Faster keyboard repeat rate
	defaults write NSGlobalDomain KeyRepeat -int 1
	defaults write NSGlobalDomain InitialKeyRepeat -int 12
	defaults write com.apple.finder AppleShowAllFiles YES

;;
esac

# Recursive history search on up arrow.
setopt inc_append_history share_history
bindkey '\eOA' history-beginning-search-backward
bindkey '\e[A' history-beginning-search-backward
bindkey '\eOB' history-beginning-search-forward
bindkey '\e[B' history-beginning-search-forward

dircolorrc=~/dircolors
eval "$(dircolors $dircolorrc)"


text: export { default } from 'ember-sauce-material-design/components/empty-collection';


text:
<?php

namespace Drupal\Tests\rest\Unit;

use Drupal\Tests\UnitTestCase;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\rest\Plugin\views\display\RestExport;
use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\RouteCollection;

/**
 * Tests the REST export view plugin.
 *
 * @group rest
 */
class CollectRoutesTest extends UnitTestCase {

  /**
   * The REST export instance.
   *
   * @var \Drupal\rest\Plugin\views\display\RestExport
   */
  protected $restExport;

  /**
   * The RouteCollection.
   */
  protected $routes;

  /**
   * {@inheritdoc}
   */
  protected function setUp() {
    parent::setUp();

    $container = new ContainerBuilder();

    $request = $this->getMockBuilder('\Symfony\Component\HttpFoundation\Request')
      ->disableOriginalConstructor()
      ->getMock();

    $this->view = $this->getMock('\Drupal\views\Entity\View', ['initHandlers'], [
      ['id' => 'test_view'],
      'view',
    ]);

    $view_executable = $this->getMock('\Drupal\views\ViewExecutable', ['initHandlers', 'getTitle'], [], '', FALSE);
    $view_executable->expects($this->any())
      ->method('getTitle')
      ->willReturn('View title');

    $view_executable->storage = $this->view;
    $view_executable->argument = [];

    $display_manager = $this->getMockBuilder('\Drupal\views\Plugin\ViewsPluginManager')
      ->disableOriginalConstructor()
      ->getMock();
    $container->set('plugin.manager.views.display', $display_manager);

    $access_manager = $this->getMockBuilder('\Drupal\views\Plugin\ViewsPluginManager')
      ->disableOriginalConstructor()
      ->getMock();
    $container->set('plugin.manager.views.access', $access_manager);

    $route_provider = $this->getMockBuilder('\Drupal\Core\Routing\RouteProviderInterface')
      ->disableOriginalConstructor()
      ->getMock();
    $container->set('router.route_provider', $route_provider);

    $container->setParameter('authentication_providers', ['basic_auth' => 'basic_auth']);

    $state = $this->getMock('\Drupal\Core\State\StateInterface');
    $container->set('state', $state);

    $style_manager = $this->getMockBuilder('\Drupal\views\Plugin\ViewsPluginManager')
      ->disableOriginalConstructor()
      ->getMock();
    $container->set('plugin.manager.views.style', $style_manager);
    $container->set('renderer', $this->getMock('Drupal\Core\Render\RendererInterface'));

    $authentication_collector = $this->getMock('\Drupal\Core\Authentication\AuthenticationCollectorInterface');
    $container->set('authentication_collector', $authentication_collector);
    $authentication_collector->expects($this->any())
      ->method('getSortedProviders')
      ->will($this->returnValue(['basic_auth' => 'data', 'cookie' => 'data']));

    $container->setParameter('serializer.format_providers', ['json']);

    \Drupal::setContainer($container);

    $this->restExport = RestExport::create($container, [], "test_routes", []);
    $this->restExport->view = $view_executable;

    // Initialize a display.
    $this->restExport->display = ['id' => 'page_1'];

    // Set the style option.
    $this->restExport->setOption('style', ['type' => 'serializer']);

    // Set the auth option.
    $this->restExport->setOption('auth', ['basic_auth']);

    $display_manager->expects($this->once())
      ->method('getDefinition')
      ->will($this->returnValue(['id' => 'test', 'provider' => 'test']));

    $none = $this->getMockBuilder('\Drupal\views\Plugin\views\access\None')
      ->disableOriginalConstructor()
      ->getMock();

    $access_manager->expects($this->once())
      ->method('createInstance')
      ->will($this->returnValue($none));

    $style_plugin = $this->getMock('\Drupal\rest\Plugin\views\style\Serializer', ['getFormats', 'init'], [], '', FALSE);

    $style_plugin->expects($this->once())
      ->method('getFormats')
      ->will($this->returnValue(['json']));

    $style_plugin->expects($this->once())
      ->method('init')
      ->with($view_executable)
      ->will($this->returnValue(TRUE));

    $style_manager->expects($this->once())
      ->method('createInstance')
      ->will($this->returnValue($style_plugin));

    $this->routes = new RouteCollection();
    $this->routes->add('test_1', new Route('/test/1'));
    $this->routes->add('view.test_view.page_1', new Route('/test/2'));

    $this->view->addDisplay('page', NULL, 'page_1');
  }

  /**
   * Tests if adding a requirement to a route only modify one route.
   */
  public function testRoutesRequirements() {
    $this->restExport->collectRoutes($this->routes);

    $requirements_1 = $this->routes->get('test_1')->getRequirements();
    $requirements_2 = $this->routes->get('view.test_view.page_1')->getRequirements();

    $this->assertEquals(0, count($requirements_1), 'First route has no requirement.');
    $this->assertEquals(1, count($requirements_2), 'Views route with rest export had the format requirement added.');

    // Check auth options.
    $auth = $this->routes->get('view.test_view.page_1')->getOption('_auth');
    $this->assertEquals(count($auth), 1, 'View route with rest export has an auth option added');
    $this->assertEquals($auth[0], 'basic_auth', 'View route with rest export has the correct auth option added');
  }

}


text: declare module "*.glb"


text:
var config = require('../config');

var fs = require('fs');

var gulp = require('gulp');
var rename = require('gulp-rename');
var handlebars = require('gulp-compile-handlebars');

var handlebarOpts = {
    helpers: {
        assetPath: function(path, context) {
            return [context.data.root[path]].join('/');
        }
    }
};

gulp.task('handlebars:build', function() {
    // read in our manifest file
    var manifest = JSON.parse(fs.readFileSync(config.build + '/rev-manifest.json', 'utf8'));

    // read in our handlebars template, compile it using
    // our manifest, and output it to index.html
    return gulp.src(config.app + '/index.hbs')
        .pipe(handlebars(manifest, handlebarOpts))
        .pipe(rename(config.build + '/index.html'))
        .pipe(gulp.dest('./'));
});

gulp.task('handlebars:dev', function() {
    var manifest = JSON.parse(fs.readFileSync(config.app + '/rev-manifest.json', 'utf8'));

    return gulp.src(config.app + '/index.hbs')
        .pipe(handlebars(manifest, handlebarOpts))
        .pipe(rename(config.app + '/index.html'))
        .pipe(gulp.dest('./'));
});


text:
/* Generated By:JJTree: Do not edit this line. OContainsAllCondition.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=O,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package com.orientechnologies.orient.core.sql.parser;

import java.util.Map;

import com.orientechnologies.orient.core.db.record.OIdentifiable;

public class OContainsAllCondition extends OBooleanExpression {

  protected OExpression left;

  protected OExpression right;

  protected OOrBlock    rightBlock;

  public OContainsAllCondition(int id) {
    super(id);
  }

  public OContainsAllCondition(OrientSql p, int id) {
    super(p, id);
  }

  /** Accept the visitor. **/
  public Object jjtAccept(OrientSqlVisitor visitor, Object data) {
    return visitor.visit(this, data);
  }

  @Override
  public boolean evaluate(OIdentifiable currentRecord) {
    return false;// TODO
  }

  @Override
  public void replaceParameters(Map<Object, Object> params) {
    left.replaceParameters(params);
    if (right != null) {
      right.replaceParameters(params);
    }
    if (rightBlock != null) {
      rightBlock.replaceParameters(params);
    }
  }

  @Override
  public String toString() {
    StringBuilder result = new StringBuilder();
    result.append(left.toString());
    result.append(" CONTAINSALL ");
    if (right != null) {
      result.append(right.toString());
    } else if (rightBlock != null) {
      result.append("(");
      result.append(rightBlock.toString());
      result.append(")");
    }

    return result.toString();
  }

  public OExpression getLeft() {
    return left;
  }

  public void setLeft(OExpression left) {
    this.left = left;
  }

  public OExpression getRight() {
    return right;
  }

  public void setRight(OExpression right) {
    this.right = right;
  }
}
/* JavaCC - OriginalChecksum=ab7b4e192a01cda09a82d5b80ef4ec60 (do not edit this line) */


text:
set -x

model=$1
mode=$2
audit=$3

net_conf=${model}

if [ ${model} == "mobilenet" ];then
   net_conf=mobilenetv1
fi

set -x

CAFFE2_DIR=../../

#export SCHEDULER=RR

export LD_PRELOAD=../../third_party/ideep/euler/lib/libiomp5.so

export U8_INPUT_OPT=1

export CAFFE2_INFERENCE_MEM_OPT=1

export OMP_NUM_THREADS=28

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${CAFFE2_DIR}/build/lib:../../third_party/ideep/euler/lib:/opt/intel/compilers_and_libraries_2019/linux/lib/intel64

export KMP_HW_SUBSET=1t
export KMP_AFFINITY=granularity=fine,compact,1,0
export CAFFE2_USE_EULER=ON

if [ ${model} == "mobilenet" ];then
  net_conf="mobilenetv1"
else
  net_conf="resnet50"
fi

if [ "${model}" == "mobilenet" ];then
echo "run mobilenet ......."
echo "************************************"
EULER_SHARED_WORKSPACE=0 EULER_NUMA_NODE=0 numactl -C 0-27 -l ./loadrun --w 5 --quantized true \
      --batch_size 1 \
      --iterations 50000 \
      --device_type "ideep" \
      --images "/lustre/dataset/imagenet/img_raw/ILSVRC2012_img_val/" \
      --labels "val.txt" \
      --init_net_path ../models/${model}/init_net_int8_euler.pb \
      --predict_net_path ../models/${model}/predict_net_int8_euler_lat.pbtxt \
      --shared_memory_option USE_LOCAL \
      --shared_weight USE_LOCAL \
      --min_query_count 1024 \
      --min_duration_ms 60000 \
      --performance_samples 50000 \
      --single_stream_expected_latency_ns 500000 \
      --total_samples 50000 \
      --scenario SingleStream \
      --net_conf ${net_conf} \
      --schedule_local_batch_first false \
      --include_accuracy true \
      --data_order NHWC \
      --model_name ${model} \
      --mode ${mode}

     # --mlperf_config_file_name mlperf.conf \
     # --user_config_file_name user.conf.${model} \
else
EULER_SHARED_WORKSPACE=0 EULER_NUMA_NODE=0 numactl -C 0-27 -l ./loadrun --w 5 --quantized true \
      --batch_size 1 \
      --iterations 50000 \
      --device_type "ideep" \
      --images "/lustre/dataset/imagenet/img_raw/ILSVRC2012_img_val/" \
      --labels "val.txt" \
      --init_net_path ../models/${model}/init_net_int8_euler.pb \
      --predict_net_path ../models/${model}/predict_net_int8_euler_lat.pbtxt \
      --shared_memory_option USE_LOCAL \
      --shared_weight USE_LOCAL \
      --min_query_count 1024 \
      --min_duration_ms 60000 \
      --performance_samples 50000 \
      --total_samples 50000 \
      --scenario SingleStream \
      --net_conf ${net_conf} \
      --schedule_local_batch_first false \
      --mlperf_config_file_name mlperf.conf \
      --user_config_file_name user.conf.${model} \
      --include_accuracy true \
      --data_order NHWC \
      --model_name ${model} \
      --mode ${mode}
fi

if [ ${model} == "resnet50" ];then
   model="resnet"
fi

mkdir -p results/${model}/SingleStream/performance/run_1
mkdir -p results/${model}/SingleStream/accuracy
if [ "${audit}" != "" ];then
mkdir -p audit/${model}/SingleStream/${audit}/performance/run_1
mkdir -p audit/${model}/SingleStream/${audit}/accuracy
fi

if [ "${mode}" == "PerformanceOnly" ];then

cp mlperf_log_detail.txt mlperf_log_summary.txt results/${model}/SingleStream/performance/run_1/.
if [ -f mlperf_log_accuracy.json ];then
cp mlperf_log_accuracy.json results/${model}/SingleStream/performance/run_1/.
fi

if [[ ! -z "${audit}" ]];then
cp mlperf_log_detail.txt mlperf_log_summary.txt audit/${model}/SingleStream/${audit}/performance/run_1/.
if [ -f mlperf_log_accuracy.json ];then
cp mlperf_log_accuracy.json audit/${model}/SingleStream/${audit}/performance/run_1/.
fi
fi

fi

if [ "${mode}" == "AccuracyOnly" ];then
cp mlperf_log_detail.txt mlperf_log_summary.txt mlperf_log_accuracy.json results/${model}/SingleStream/accuracy
if [[ ! -z "${audit}" ]];then
cp mlperf_log_detail.txt mlperf_log_summary.txt mlperf_log_accuracy.json audit/${model}/SingleStream/${audit}/accuracy
fi
fi


text:
@interface HPWSessionTimestampCell()

@property (nonatomic,strong) HPWTimestampModel *model;

@end

@implementation HPWSessionTimestampCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;

        _timeLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        _timeLabel.font = [UIFont boldSystemFontOfSize:12.f];
        _timeLabel.textColor = colorc8cwhiteGrey;
        [self addSubview:_timeLabel];
        self.backgroundColor = colorf0fGrey;

    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    [_timeLabel sizeToFit];
    _timeLabel.center = CGPointMake(self.visitor_nim_centerX, 20);

}

- (void)refreshData:(HPWTimestampModel *)data{
    self.model = data;
    if([self checkData]){
        HPWTimestampModel *model = (HPWTimestampModel *)data;
        [_timeLabel setText:[@"" visitor_showTime:model.messageTime showDetail:YES]];
    }
}

- (BOOL)checkData{
    return [self.model isKindOfClass:[HPWTimestampModel class]];
}

@end


text:
{% extends "admin/change_form.html" %}
{% load i18n admin_modify cms_js_tags cms_admin %}

{% block title %}{% trans "Change a page" %}{% endblock %}

{% block extrahead %}
	<script type="text/javascript" src="{% admin_static_url %}js/jquery.min.js"></script>
	{{ media }}
{% endblock %}

{% block content_title %}{% endblock %}

{% block content %}
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function ($) {
	// if it is an iframe
	if(window.parent != self) {
		if (typeof window.parent.CMS === 'undefined'){
			// backend admin
			{% if deleted %}
			// delete plugin selector if cancelled before adding content
        	window.parent.removed_cancelled_plugin({{ plugin_id }});
        	{% endif %}
        parent.hide_iframe({{ plugin_id }}, {% javascript_string %}{{ type }}{% end_javascript_string %}, {% javascript_string %}{{ name }}{% end_javascript_string %}, {% javascript_string %}
               {% if cancel %}{% trans "Your changes to this component have not been saved." %}{% else %}{% trans "Component saved successfully." %}{% endif %}
        	{% end_javascript_string %});
		} else {
			// frontend edit
			setTimeout(function () { window.parent.CMS.API.Helpers.reloadBrowser(); }, 1000);
		}
	} else {
        {% if deleted %}
        opener.editPluginPopupCallbacks[{{ plugin_id }}] = function(){
            window.parent.removed_cancelled_plugin({{ plugin_id }});
        };
        {% endif %}
        opener.dismissEditPluginPopup(window, {% javascript_string %}{{ plugin_id }}{% end_javascript_string %}, {% javascript_string %}{{ icon }}{% end_javascript_string %}, {% javascript_string %}{{ alt }}{% end_javascript_string %});
	}
});
//]]>
</script>
{% endblock %}


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

<title>java.time.chrono Class Hierarchy (Java Platform SE 8 )</title>
<meta name="date" content="2014-12-17">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Skip navigation links

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Java™ Platform
Standard Ed. 8

Prev

Next

Frames

No Frames

All Classes

Hierarchy For Package java.time.chrono

Package Hierarchies:

All Packages

Class Hierarchy

java.lang.Object

java.time.chrono.AbstractChronology (implements java.time.chrono.Chronology)

java.time.chrono.HijrahChronology (implements java.io.Serializable)

java.time.chrono.IsoChronology (implements java.io.Serializable)

java.time.chrono.JapaneseChronology (implements java.io.Serializable)

java.time.chrono.MinguoChronology (implements java.io.Serializable)

java.time.chrono.ThaiBuddhistChronology (implements java.io.Serializable)

java.time.chrono.HijrahDate (implements java.time.chrono.ChronoLocalDate, java.io.Serializable)

java.time.chrono.JapaneseDate (implements java.time.chrono.ChronoLocalDate, java.io.Serializable)

java.time.chrono.JapaneseEra (implements java.time.chrono.Era, java.io.Serializable)

java.time.chrono.MinguoDate (implements java.time.chrono.ChronoLocalDate, java.io.Serializable)

java.time.chrono.ThaiBuddhistDate (implements java.time.chrono.ChronoLocalDate, java.io.Serializable)

Interface Hierarchy

java.lang.Comparable<T>

java.time.chrono.ChronoLocalDate (also extends java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)

java.time.chrono.ChronoLocalDateTime<D> (also extends java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)

java.time.chrono.Chronology

java.time.chrono.ChronoZonedDateTime<D> (also extends java.time.temporal.Temporal)

java.time.temporal.TemporalAccessor

java.time.chrono.Era (also extends java.time.temporal.TemporalAdjuster)

java.time.temporal.Temporal

java.time.chrono.ChronoLocalDate (also extends java.lang.Comparable<T>, java.time.temporal.TemporalAdjuster)

java.time.chrono.ChronoLocalDateTime<D> (also extends java.lang.Comparable<T>, java.time.temporal.TemporalAdjuster)

java.time.chrono.ChronoZonedDateTime<D> (also extends java.lang.Comparable<T>)

java.time.temporal.TemporalAdjuster

java.time.chrono.ChronoLocalDate (also extends java.lang.Comparable<T>, java.time.temporal.Temporal)

java.time.chrono.ChronoLocalDateTime<D> (also extends java.lang.Comparable<T>, java.time.temporal.Temporal)

java.time.chrono.Era (also extends java.time.temporal.TemporalAccessor)

java.time.temporal.TemporalAmount

java.time.chrono.ChronoPeriod

Enum Hierarchy

java.lang.Object

java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)

java.time.chrono.IsoEra (implements java.time.chrono.Era)

java.time.chrono.MinguoEra (implements java.time.chrono.Era)

java.time.chrono.HijrahEra (implements java.time.chrono.Era)

java.time.chrono.ThaiBuddhistEra (implements java.time.chrono.Era)

Skip navigation links

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Java™ Platform
Standard Ed. 8

Prev

Next

Frames

No Frames

All Classes

 Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.


text:
namespace reprize
{
namespace vid
{
class GLWin32Factory : public VidFactory
{
public:
    GLWin32Factory(void) {}
    virtual ~GLWin32Factory(void) {}

    virtual Screen* make_screen(reprize::Win32DepInfo* depinfo_)
        const { return new GLWin32Screen(depinfo_); }
    virtual Renderer* make_renderer(void) const { return new GLRenderer; }
    virtual res::TexLoader* make_tex_loader(void) const
        { return new res::GLTexLoader; }
    virtual res::FontLoader* make_font_loader(reprize::Win32DepInfo* depinfo_)
        const { return new res::GLWin32FontLoader(depinfo_); }
};
}
}
#endif


text:
namespace Cake.HockeyApp.Tests
{
    using System;
    using System.Threading.Tasks;
    using Core;
    using Core.Diagnostics;
    using Core.IO;
    using Xunit;

    public class HockeyAppTests
    {
        ////[Fact]
        ////public void Can_upload_to_autodiscover()
        ////{
        ////    var log = A.Fake<ICakeLog>();
        ////    var context = A.Fake<ICakeContext>();

        ////    A.CallTo(() => context.Log).Returns(log);
        ////    A.CallTo(() => log.Write(A<Verbosity>._, A<LogLevel>._, A<string>._, A<object[]>._))
        ////        .Invokes(( Verbosity _,  LogLevel __, string format, object[] args) => Console.WriteLine(format, args));

        ////    var result = context.UploadToHockeyApp(new FilePath("C:/tmp/android.apk"), new HockeyAppUploadSettings()
        ////    {
        ////        ApiToken = "9ed5932bf6314dd2921abc38c6be6bde"
        ////    });

        ////    var url = result.PublicUrl;
        ////}
    }
}


text:
{{user['first-name']}} {{user['last-name']}}

				Teach New Course

Current Courses

{{course.title}}

Courses {{user['first-name']}} has taught

{{course.title}}

Student Testimonials

{{testimonial}}

Your Saved Course Proposals

{{course.title}}

Your proposals awaiting approval

{{course.title}}


text:
typedef struct DPAUCS_fragment DPAUCS_fragment_t;
typedef struct DPAUCS_packet_info DPAUCS_packet_info_t;

typedef DPA_stream_t*(*DPAUCS_createTransmissionStream)( void );
typedef void(*DPAUCS_destroyTransmissionStream)( DPA_stream_t* );
typedef bool(*DPAUCS_layer3_ProtocolReciveHandler_func)(
  void* id,
  struct DPAUCS_address* from,
  struct DPAUCS_address* to,
  uint16_t,
  uint16_t,
  struct DPAUCS_fragment**,
  void*,
  bool
);
typedef void(*DPAUCS_layer3_ProtocolFailtureHandler_func)( void* id );

typedef struct DPAUCS_l4_handler {
  uint8_t protocol;
  DPAUCS_layer3_ProtocolReciveHandler_func onreceive;
  DPAUCS_layer3_ProtocolFailtureHandler_func onreceivefailture;
} DPAUCS_l4_handler_t;

typedef struct DPAUCS_l3_handler {
  uint16_t type;
  size_t packetSizeLimit;
  size_t rawAddressSize;
  void (*packetHandler)( DPAUCS_packet_info_t* );
  bool (*isBroadcast)( const DPAUCS_logicAddress_t* );
  bool (*isValid)( const DPAUCS_logicAddress_t* );
  bool (*compare)( const DPAUCS_logicAddress_t*, const DPAUCS_logicAddress_t* );
  bool (*copy)( DPAUCS_logicAddress_t*, const DPAUCS_logicAddress_t* );
  bool (*withRawAsLogicAddress)( void*, size_t, void(*)(const DPAUCS_logicAddress_t*,void*), void*);
  bool (*transmit)( const linked_data_list_t*, DPA_stream_t*, const DPAUCS_mixedAddress_pair_t*, uint8_t, size_t );
  uint16_t (*calculatePseudoHeaderChecksum)( const DPAUCS_logicAddress_t*, const DPAUCS_logicAddress_t*, uint8_t, uint16_t );
} DPAUCS_l3_handler_t;

DPA_LOOSE_LIST_DECLARE( const flash struct DPAUCS_l3_handler*, DPAUCS_l3_handler_list )
DPA_LOOSE_LIST_DECLARE( const flash struct DPAUCS_l4_handler*, DPAUCS_l4_handler_list )

const flash DPAUCS_l3_handler_t* DPAUCS_getAddressHandler( uint16_t type );
void DPAUCS_layer3_addProtocolHandler( DPAUCS_l4_handler_t* handler );
void DPAUCS_layer3_removeProtocolHandler( DPAUCS_l4_handler_t* handler );

DPA_stream_t* DPAUCS_layer3_createTransmissionStream( void );
bool DPAUCS_layer3_getPacketSizeLimit( uint16_t, size_t* limit );
bool DPAUCS_layer3_transmit(
  const linked_data_list_t* headers,
  DPA_stream_t* payload,
  const DPAUCS_mixedAddress_pair_t* fromTo,
  uint8_t type,
  size_t
);
void DPAUCS_layer3_packetHandler(  DPAUCS_packet_info_t* info );
void DPAUCS_layer3_destroyTransmissionStream( DPA_stream_t* x );

#endif