text:
package org.openengsb.connector.promreport.internal;

import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;

import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.XMLGregorianCalendar;

import org.openengsb.connector.promreport.internal.mxml.AuditTrailEntry;
import org.openengsb.connector.promreport.internal.mxml.AuditTrailEntry.EventType;
import org.openengsb.connector.promreport.internal.mxml.Data;
import org.openengsb.connector.promreport.internal.mxml.Eventtypes;
import org.openengsb.core.api.Event;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DefaultEventTransformator implements EventTransformator {
    private static final Logger LOGGER = LoggerFactory.getLogger(DefaultEventTransformator.class);

    private DatatypeFactory dataTypeFactory;

    public DefaultEventTransformator() {
        initFactory();
    }

    private void initFactory() {
        try {
            dataTypeFactory = DatatypeFactory.newInstance();
        } catch (DatatypeConfigurationException e) {
            LOGGER.warn("error during creating of DataTypeFactory. Continue without setting timestamp.", e);
        }
    }

    @Override
    public Long getProcessId(Event e) {
        if (e == null) {
            return null;
        }
        return e.getProcessId();
    }

    @Override
    public AuditTrailEntry transform(Event e) {
        if (e == null) {
            return null;
        }

        AuditTrailEntry aent = new AuditTrailEntry();

        Data data = new Data();
        for (Data.Attribute a : getData(e)) {
            data.getAttribute().add(a);
        }
        aent.setData(data);

        if (e.getName() == null) {
            aent.setWorkflowModelElement("unknown");
        } else {
            aent.setWorkflowModelElement(e.getName());
        }

        aent.setEventType(guessEventType(e));

        if (dataTypeFactory != null) {
            AuditTrailEntry.Timestamp timestamp = new AuditTrailEntry.Timestamp();
            timestamp.setValue(getCalendar());
            aent.setTimestamp(timestamp);
        }

        return aent;
    }

    private List<Data.Attribute> getData(Event event) {
        List<Data.Attribute> data = new ArrayList<Data.Attribute>();
        BeanInfo beanInfo;
        try {
            beanInfo = Introspector.getBeanInfo(event.getClass());
            PropertyDescriptor[] propertyDescriptors = beanInfo.getPropertyDescriptors();
            for (PropertyDescriptor p : propertyDescriptors) {
                if (!p.getName().equals("processId") && !p.getName().equals("name") && !p.getName().equals("type")) {
                    try {
                        Data.Attribute att = new Data.Attribute();
                        att.setName(p.getName());
                        Method readMethod = p.getReadMethod();
                        if (readMethod != null) {
                            att.setValue(String.valueOf(readMethod.invoke(event)));
                        }
                        data.add(att);
                    } catch (IllegalAccessException e) {
                        LOGGER.warn("An attribute couldn't be read", e);
                    } catch (InvocationTargetException e) {
                        LOGGER.warn("Underlying Method throws an exception.", e);
                    }
                }
            }
        } catch (IntrospectionException e) {
            LOGGER.warn("An exception occurs during introspection. No attribute was set.", e);
        }
        return data;
    }

    private EventType guessEventType(Event e) {
        String classname = e.getClass().getSimpleName().toLowerCase();

        EventType type = new EventType();
        if (classname.contains("start")) {
            type.setValue(Eventtypes.START);
        } else if (classname.contains("end")) {
            type.setValue(Eventtypes.COMPLETE);
        } else if (classname.contains("success")) {
            type.setValue(Eventtypes.COMPLETE);
        } else if (classname.contains("fail")) {
            type.setValue(Eventtypes.PI_ABORT);
        } else {
            type.setValue(Eventtypes.UNKNOWN);
            type.setUnknowntype(classname);
        }
        return type;
    }

    private XMLGregorianCalendar getCalendar() {
        if (dataTypeFactory == null) {
            return null;
        }
        return dataTypeFactory.newXMLGregorianCalendar(new GregorianCalendar());
    }

}


text:
<?php

declare(strict_types=1);

namespace Overblog\GraphQLBundle\Tests\DependencyInjection\Compiler;

use InvalidArgumentException;
use Overblog\GraphQLBundle\DependencyInjection\Compiler\GraphQLServicesPass;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use stdClass;
use Symfony\Component\DependencyInjection\ContainerBuilder;

final class GraphQLServicesPassTest extends TestCase
{
    /**
     * @param mixed $invalidAlias
     *
     * @dataProvider invalidAliasProvider
     */
    public function testInvalidAlias($invalidAlias): void
    {
        /** @var ContainerBuilder|MockObject $container */
        $container = $this->getMockBuilder(ContainerBuilder::class)
            ->onlyMethods(['findTaggedServiceIds', 'findDefinition'])
            ->getMock();

        $container->expects($this->once())
            ->method('findTaggedServiceIds')
            ->willReturn([
                'my-id' => [
                    ['alias' => $invalidAlias],
                ],
            ]);

        $this->expectException(InvalidArgumentException::class);
        $this->expectExceptionMessage('Service "my-id" tagged "overblog_graphql.service" should have a valid "alias" attribute.');

        (new GraphQLServicesPass())->process($container);
    }

    public function invalidAliasProvider(): array
    {
        return [
            [null],
            [new stdClass()],
            [[]],
            [true],
            [false],
            [''],
        ];
    }
}

redpajama_set_name: RedPajamaGithub


text:
package org.sculptor.framework.event.annotation;

import org.sculptor.framework.event.Event;

/**
 * Default (unspecified) eventType of the {@link Publish}
 * annotation.
 */
/* package */ class NullEventType implements Event {
	private static final long serialVersionUID = 7716086296493134602L;

}


text:
Before submitting your contribution please read the guidelines.

- [Issue Reporting Guidelines](#issue-reporting-guidelines)
- [Pull Request Guidelines](#pull-request-guidelines)
- [Development Setup](#development-setup)

## Issue Reporting Guidelines

- Do not create questions. The issue list is exclusively for reports, bugs and feature requests. Use the [Slack](https://join.slack.com/t/vuematerial/shared_invite/MTgzMzU2NDQ5ODkwLTE0OTQ4MDI3MDAtNWYyZjhkNzEzMA) instead.

- Always search for your issue first. It may have already been answered, planned or fixed in some branch. New components and features will be planned on [Milestones](https://github.com/marcosmoura/vue-material/milestones) or on [Projects](https://github.com/marcosmoura/vue-material/projects).

- Only create issues for the newest version. For now. Until 1.0.0.

- Create a declarative title and describe clearly the steps necessary to reproduce the issue. If an issue labeled "need repro" receives no further input from the issue author for more than 3 days, it will be closed.

- If you want to show your code please use [Codepen](http://codepen.io/pen/) or [JSFiddle](https://jsfiddle.net/). You could start with [this template](http://codepen.io/vue-material/pen/WGavBE).

- In case you found a solution by yourself try to explain how you fixed it. It could be useful for somebody else. :)

## Pull Request Guidelines

- The `master` branch is basically just a snapshot of the latest stable release. All development should be done in dedicated branches. **Do not submit PRs against the `master` branch.**

- Work in the `src` or `docs` folder and **DO NOT** add `dist` in the commits.

- In your own fork of this repository, always work in the `develop` branch or in a branch created from `develop`. Then when you want to submit the PR, do it from your `develop` or `develop`-derived branch.

- Make small commits as you work on the PR. They will be automatically squashed before merging.

- Provide convincing reason to add a new feature. Ideally you should open a suggestion/request issue first and have it greenlighted before working on it.

- If fixing a bug:
  - If you are resolving a special issue, add the GitHub ID to your commit. E.g. `(fix something really ugly #xxx)`
  - Provide detailed description of the bug in the PR.

## Development Setup

You will need [Node.js](http://nodejs.org) **version 6+**

After cloning the repo, run:

``` bash
$ yarn install
```

### Commonly used NPM scripts

``` bash
### Start dev server with hot reload
npm run dev

### Check for errors
npm run lint

### Build everything
npm run build

### Build docs only
npm run build:docs

### Build lib only
npm run build:lib
```

The other tasks on package.json **SHOULD NOT** be executed.


text:
import Tooltip from "@material-ui/core/Tooltip";
import * as moment from "moment-timezone";
import * as React from "react";

import { LocaleConsumer } from "../Locale";
import { Consumer } from "./DateContext";

interface DateProps {
  date: string;
  plain?: boolean;
}

export const Date: React.StatelessComponent<DateProps> = ({ date, plain }) => {
  const getTitle = (value: string, locale: string) =>
    moment(value)
      .locale(locale)
      .format("ll");
  const getHumanized = (value: string, locale: string, currentDate: number) =>
    moment(value)
      .locale(locale)
      .from(currentDate);

  return (
    <LocaleConsumer>
      {locale => (
        <Consumer>
          {currentDate =>
            plain ? (
              getTitle(date, locale)
            ) : (
              <Tooltip title={getTitle(date, locale)}>
                <time dateTime={date}>
                  {getHumanized(date, locale, currentDate)}
                </time>
              </Tooltip>
            )
          }
        </Consumer>
      )}
    </LocaleConsumer>
  );
};
Date.displayName = "Date";
export default Date;


text:
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and follows [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [4.0.1] - 2018-07-30
### Fixed
- Invalid package engines node version range.

## [4.0.0] - 2018-07-24
### Added
- New flex box shorthand properties which can conflict with existing flex box properties.
- New ruby, transform and text related properties.

### Removed
- Node 4 support.
- Deprecated grid properties.

## [3.0.1] - 2018-01-11
### Fixed
- Keep at-rules at the same position.

## [3.0.0] - 2017-12-14
### Added
- Flexbox justify self properties.

### Changed
- SMACSS order so it is more in line with Stylelint.

### Removed
- Command line interface in favor of [postcss-cli](https://github.com/postcss/postcss-cli).

## [2.1.0] - 2017-08-25
### Added
- New text style and interaction related properties.

## [2.0.1] - 2017-06-19
### Fixed
- Prevent comments outside CSS selectors from being moved.

## [2.0.0] - 2017-03-16
### Changed
- Put declarations before nested declarations.

[4.0.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v4.0.0...v4.0.1
[4.0.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v3.0.1...v4.0.0
[3.0.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v3.0.0...v3.0.1
[3.0.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v2.1.0...v3.0.0
[2.1.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v2.0.1...v2.1.0
[2.0.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v2.0.1...v2.0.0
[2.0.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v1.7.1...v2.0.0


text:
package skinny.validator

/**
 * Collection of errors.
 *
 * @param errors Map value.
 */
case class Errors(errors: Map[String, Seq[Error]]) {

  /**
   * No error if true.
   *
   * @return true/false
   */
  def isEmpty: Boolean = errors.isEmpty

  /**
   * Returns size of errors.
   *
   * @return size
   */
  def size: Int = errors.size

  /**
   * Returns errors for the key.
   *
   * @param key key
   * @return errors for the key
   */
  def get(key: String): Seq[Error] = errors.getOrElse(key, Nil)

  /**
   * Returns underlying Map value.
   *
   * @return Map value
   */
  def toMap() = errors

}


text:
import Link from "next/link";
import { siteTitle } from "../common/constants";
import HtmlHead from "./htmlhead";

export default function Layout({ children }) {
  return (

      <HtmlHead />

        {/*

          <button className="btn btn-square btn-ghost">
            <svg
              xmlns="http://www.w3.org/2000/svg"
              fill="none"
              viewBox="0 0 24 24"
              className="inline-block w-6 h-6 stroke-current"
            >
              <path
                stroke-linecap="round"
                stroke-linejoin="round"
                stroke-width="2"
                d="M4 6h16M4 12h16M4 18h16"
              ></path>
            </svg>
          </button>

 */}

          PiLit Editor

          © 2021 @skypanther

      {children}

  );
}


text:
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var plugin_1 = require('./plugin');
/**
 * @name Crop
 * @description Crops images
 * @usage
 * ```
 * import {Crop} from 'ionic-native';
 *
 * ...
 *
 * Crop.crop('path/to/image.jpg', {quality: 75})
 *   .then(
 *     newImage => console.log("new image path is: " + newImage),
 *     error => console.error("Error cropping image", error)
 *   );
 * ```
 */
var Crop = (function () {
    function Crop() {
    }
    /**
     * Crops an image
     * @param pathToImage
     * @param options
     * @return {Promise<string>} Returns a promise that resolves with the new image path, or rejects if failed to crop.
     */
    Crop.crop = function (pathToImage, options) { return; };
    __decorate([
        plugin_1.Cordova({
            callbackOrder: 'reverse'
        })
    ], Crop, "crop", null);
    Crop = __decorate([
        plugin_1.Plugin({
            plugin: 'cordova-plugin-crop',
            pluginRef: 'plugins',
            repo: 'https://github.com/jeduan/cordova-plugin-crop'
        })
    ], Crop);
    return Crop;
}());
exports.Crop = Crop;
//# sourceMappingURL=crop.js.map


text:
<!--
  Generated template for the Toolbar component.

  See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
  for more info on Angular 2 Components.
-->
<button *ngIf="categories && categories.length" ion-button icon-only clear color="light" round (click)="openCategories($event)">
  <ion-icon name="folder"></ion-icon>
</button>
<button *ngIf="tags && tags.length" ion-button icon-only clear color="light" round (click)="openTags($event)">
  <ion-icon name="pricetags"></ion-icon>
</button>
<span flex></span>
<button *ngIf="bookmarkId" ion-button icon-only clear color="light" round (click)="doBookmark($event)" [class.active]="isBookmarked$ | async">
  <ion-icon name="bookmark"></ion-icon>
</button>
<button *ngIf="isMobile" ion-button icon-only clear color="light" round (click)="share($event)">
  <ion-icon name="share"></ion-icon>
</button>


text:
require 'cfb'
require 'logger'
require 'mechanize'

module CFB
  class ScrapeFoxLines
    def self.run(**kwargs)
      point_spreads = new(**kwargs).scrape

      File.open("point_spreads_#{CFB.year}.json", 'w') do |file|
        file << JSON.pretty_generate(point_spreads.sort_by(&:time).map(&:to_h))
      end
    end

    def initialize(url: 'http://www.foxsports.com/college-football/odds?group=0&type=2')
      @url = url
      @logger = Logger.new(STDOUT)
      @agent = Mechanize.new do |mechanize|
        mechanize.user_agent = 'Mac Safari'
        mechanize.log = @logger
      end
    end

    def scrape
      extract_games(agent.get(url))
    end

    def extract_games(page)
      container = page.search("//section[@class='wisbb_body']").first
      children = container.search("//div[@class='wisbb_gameWrapper']")

      children.map do |child|
        visitor, home = child.search('span[@class="wisbb_teamCity"]').map(&:text)

        raw_date, raw_time, name = child.search('span[@class="wisbb_oddsGameDate"]').first.text.split(' - ').map(&:strip)
        modified_time = raw_time.gsub(/a/, 'am').gsub(/p/, 'pm').gsub('ET', '-05:00')

        time = DateTime.strptime("#{raw_date} #{modified_time}", '%a, %b %d, %Y %l:%M%P %z').iso8601

        game = Game.new(name, nil, time, team(visitor), team(home))

        odds = child.search('table[@class="wisbb_standardTable wisbb_oddsTable wisbb_altRowColors"]').first
        odds.search('tr').drop(1).each do |row|
          cell = row.search("td[@class='wisbb_runLinePtsCol']").first
          game.visitor.point_spreads << cell.children.first.text.to_f
          game.home.point_spreads << cell.children.last.text.to_f
        end

        game
      end
    end

    private

    attr_reader :logger, :agent, :url

    def team(name)
      Team.new(name, nil, nil, nil, [])
    end
  end
end


text:
* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf))
* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf))

### Bug Fixes

* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#8325](https://github.com/googleapis/google-cloud-java/issues/8325)) ([01f492b](https://github.com/googleapis/google-cloud-java/commit/01f492be424acdb90edb23ba66656aeff7cf39eb))
* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#8528](https://github.com/googleapis/google-cloud-java/issues/8528)) ([bd36199](https://github.com/googleapis/google-cloud-java/commit/bd361998ac4eb7c78eef3b3eac39aef31a0cf44e))
* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec))
* revert reverting [Many APIs] Update WORKSPACE files for rules_gapic, gax_java, generator_java versions ([#8340](https://github.com/googleapis/google-cloud-java/issues/8340)) ([dedef71](https://github.com/googleapis/google-cloud-java/commit/dedef71f600e85b1c38e7110f5ffd44bf2ba32b4))

### Dependencies

* reverting renovate bot pull requests ([#8417](https://github.com/googleapis/google-cloud-java/issues/8417)) ([8f0c60b](https://github.com/googleapis/google-cloud-java/commit/8f0c60bde446acccc665eb7894723632eefc3503))

## [0.14.0](https://github.com/googleapis/google-cloud-java/compare/google-analytics-admin-v0.13.5...google-analytics-admin-v0.14.0) (2022-10-17)

### Features

* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf))
* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf))

### Bug Fixes

* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#8325](https://github.com/googleapis/google-cloud-java/issues/8325)) ([01f492b](https://github.com/googleapis/google-cloud-java/commit/01f492be424acdb90edb23ba66656aeff7cf39eb))
* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#8528](https://github.com/googleapis/google-cloud-java/issues/8528)) ([bd36199](https://github.com/googleapis/google-cloud-java/commit/bd361998ac4eb7c78eef3b3eac39aef31a0cf44e))
* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec))
* revert reverting [Many APIs] Update WORKSPACE files for rules_gapic, gax_java, generator_java versions ([#8340](https://github.com/googleapis/google-cloud-java/issues/8340)) ([dedef71](https://github.com/googleapis/google-cloud-java/commit/dedef71f600e85b1c38e7110f5ffd44bf2ba32b4))

### Dependencies

* reverting renovate bot pull requests ([#8417](https://github.com/googleapis/google-cloud-java/issues/8417)) ([8f0c60b](https://github.com/googleapis/google-cloud-java/commit/8f0c60bde446acccc665eb7894723632eefc3503))

## [0.13.5](https://github.com/googleapis/java-analytics-admin/compare/v0.13.4...v0.13.5) (2022-10-05)

### Bug Fixes

* update protobuf to v3.21.7 ([8926f36](https://github.com/googleapis/java-analytics-admin/commit/8926f36286609c897e6421b356cef973439ad161))

## [0.13.4](https://github.com/googleapis/java-analytics-admin/compare/v0.13.3...v0.13.4) (2022-10-03)

### Dependencies

* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#488](https://github.com/googleapis/java-analytics-admin/issues/488)) ([b7fec02](https://github.com/googleapis/java-analytics-admin/commit/b7fec02b581de8159b335539f096b3dd90aae7d1))

## [0.13.3](https://github.com/googleapis/java-analytics-admin/compare/v0.13.2...v0.13.3) (2022-09-29)

### Dependencies

* Update dependency cachetools to v5 ([#478](https://github.com/googleapis/java-analytics-admin/issues/478)) ([5b0ef05](https://github.com/googleapis/java-analytics-admin/commit/5b0ef05d6c2e22fb0c518094d588650e4eb01715))
* Update dependency certifi to v2022.9.24 ([#460](https://github.com/googleapis/java-analytics-admin/issues/460)) ([df4f29a](https://github.com/googleapis/java-analytics-admin/commit/df4f29a71e6a5130295f7a3da7353d6b70a0b86f))
* Update dependency charset-normalizer to v2.1.1 ([#464](https://github.com/googleapis/java-analytics-admin/issues/464)) ([37b6a5b](https://github.com/googleapis/java-analytics-admin/commit/37b6a5bb80badb18b6b746ae01a4d2b4ca1e63c6))
* Update dependency click to v8.1.3 ([#465](https://github.com/googleapis/java-analytics-admin/issues/465)) ([a3d2b71](https://github.com/googleapis/java-analytics-admin/commit/a3d2b71af36b0582938d762ac8447c2e219aff62))
* Update dependency gcp-releasetool to v1.8.8 ([#461](https://github.com/googleapis/java-analytics-admin/issues/461)) ([eaa01d1](https://github.com/googleapis/java-analytics-admin/commit/eaa01d12cdd8df32d969d534b52266657f24552d))
* Update dependency google-api-core to v2.10.1 ([#466](https://github.com/googleapis/java-analytics-admin/issues/466)) ([285d167](https://github.com/googleapis/java-analytics-admin/commit/285d167551d0d769da1d62ea6a0063a894907222))
* Update dependency google-auth to v2.12.0 ([#467](https://github.com/googleapis/java-analytics-admin/issues/467)) ([0ceb3ea](https://github.com/googleapis/java-analytics-admin/commit/0ceb3ea1b7ad5742cf0edf409d9642e8e50ba48a))
* Update dependency google-cloud-core to v2.3.2 ([#462](https://github.com/googleapis/java-analytics-admin/issues/462)) ([23e2ac0](https://github.com/googleapis/java-analytics-admin/commit/23e2ac0177e8d5451ef796d27dcc805c5fc5b4bf))
* Update dependency google-cloud-storage to v2.5.0 ([#468](https://github.com/googleapis/java-analytics-admin/issues/468)) ([203d660](https://github.com/googleapis/java-analytics-admin/commit/203d660401bb5d0c616df58278a5df0e98d78155))
* Update dependency google-crc32c to v1.5.0 ([#469](https://github.com/googleapis/java-analytics-admin/issues/469)) ([bf0cc05](https://github.com/googleapis/java-analytics-admin/commit/bf0cc05d3c919ee627a1214a2dcb605614255aa3))
* Update dependency googleapis-common-protos to v1.56.4 ([#463](https://github.com/googleapis/java-analytics-admin/issues/463)) ([cb04968](https://github.com/googleapis/java-analytics-admin/commit/cb04968a6ff66388ea09c3bd0b1ca9d0947bc7b3))
* Update dependency importlib-metadata to v4.12.0 ([#470](https://github.com/googleapis/java-analytics-admin/issues/470)) ([8b37c25](https://github.com/googleapis/java-analytics-admin/commit/8b37c25509f5400f18f08c6ff6cd914e1d3a8069))
* Update dependency jeepney to v0.8.0 ([#471](https://github.com/googleapis/java-analytics-admin/issues/471)) ([70a02c7](https://github.com/googleapis/java-analytics-admin/commit/70a02c71227e2ee4874f5c5378c3bde309808051))
* Update dependency jinja2 to v3.1.2 ([#472](https://github.com/googleapis/java-analytics-admin/issues/472)) ([984a22e](https://github.com/googleapis/java-analytics-admin/commit/984a22eeb0b3d02a7656d4b5c798fc1cb538e730))
* Update dependency keyring to v23.9.3 ([#473](https://github.com/googleapis/java-analytics-admin/issues/473)) ([9622e18](https://github.com/googleapis/java-analytics-admin/commit/9622e181913c154d0a94e43e0c939a8fe21b33df))
* Update dependency markupsafe to v2.1.1 ([#480](https://github.com/googleapis/java-analytics-admin/issues/480)) ([6bf1240](https://github.com/googleapis/java-analytics-admin/commit/6bf12409e89be6f8f9d119db12bc4915b616bb00))
* Update dependency protobuf to v3.20.2 ([#481](https://github.com/googleapis/java-analytics-admin/issues/481)) ([7ef1871](https://github.com/googleapis/java-analytics-admin/commit/7ef187127457a6320a0d2e2613580159a5310fa5))
* Update dependency protobuf to v4 ([#479](https://github.com/googleapis/java-analytics-admin/issues/479)) ([fc9d0a3](https://github.com/googleapis/java-analytics-admin/commit/fc9d0a3b3e39978f2da19aec0d4e7f815a71df26))
* Update dependency pyjwt to v2.5.0 ([#474](https://github.com/googleapis/java-analytics-admin/issues/474)) ([4816406](https://github.com/googleapis/java-analytics-admin/commit/4816406545b8cb7584dd890359dc99475738e35c))
* Update dependency requests to v2.28.1 ([#475](https://github.com/googleapis/java-analytics-admin/issues/475)) ([18d051c](https://github.com/googleapis/java-analytics-admin/commit/18d051ca8e42d67235876a56fb9c8312d6a66eaa))
* Update dependency typing-extensions to v4.3.0 ([#476](https://github.com/googleapis/java-analytics-admin/issues/476)) ([21d06a6](https://github.com/googleapis/java-analytics-admin/commit/21d06a6e4cc8b8cb0811130b247a94f9dad0e09a))
* Update dependency zipp to v3.8.1 ([#477](https://github.com/googleapis/java-analytics-admin/issues/477)) ([3bb00b0](https://github.com/googleapis/java-analytics-admin/commit/3bb00b05de8d5f9bb06dcc7901031fa97eddba5c))

## [0.13.2](https://github.com/googleapis/java-analytics-admin/compare/v0.13.1...v0.13.2) (2022-09-15)

### Dependencies

* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#454](https://github.com/googleapis/java-analytics-admin/issues/454)) ([10bc680](https://github.com/googleapis/java-analytics-admin/commit/10bc68042aef3a4d717fa032ce46ccde0c12249b))

## [0.13.1](https://github.com/googleapis/java-analytics-admin/compare/v0.13.0...v0.13.1) (2022-09-08)

### Dependencies

* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#449](https://github.com/googleapis/java-analytics-admin/issues/449)) ([0b36c7d](https://github.com/googleapis/java-analytics-admin/commit/0b36c7d6afdcc3ca147ee415098c17df1f897a9a))

## [0.13.0](https://github.com/googleapis/java-analytics-admin/compare/v0.12.1...v0.13.0) (2022-08-09)

### Features

* add `GetAttributionSettings`, `UpdateAttributionSettings` methods to the Admin API v1alpha ([4a762b4](https://github.com/googleapis/java-analytics-admin/commit/4a762b41a8968884250a4da0de11b0285b863700))
* add `GetAudience`, 'ListAudience', 'CreateAudience', 'UpdateAudience', 'ArchiveAudience' methods to the Admin API v1alpha ([#441](https://github.com/googleapis/java-analytics-admin/issues/441)) ([4a762b4](https://github.com/googleapis/java-analytics-admin/commit/4a762b41a8968884250a4da0de11b0285b863700))
* add `RunAccessReport` method to the Admin API v1alpha ([#442](https://github.com/googleapis/java-analytics-admin/issues/442)) ([0d74509](https://github.com/googleapis/java-analytics-admin/commit/0d74509f2ac278f2489903f0c3c404cbf2c7b145))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#438](https://github.com/googleapis/java-analytics-admin/issues/438)) ([916acca](https://github.com/googleapis/java-analytics-admin/commit/916acca60518ee3d017412d594134ca15d92b4a6))

## [0.12.1](https://github.com/googleapis/java-analytics-admin/compare/v0.12.0...v0.12.1) (2022-07-13)

### Bug Fixes

* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-analytics-admin/issues/1485)) ([#429](https://github.com/googleapis/java-analytics-admin/issues/429)) ([7edcdee](https://github.com/googleapis/java-analytics-admin/commit/7edcdeebe4a5723cd69b1f3d97f32b61e27dacd4))

## [0.12.0](https://github.com/googleapis/java-analytics-admin/compare/v0.11.0...v0.12.0) (2022-07-08)

### Features

* release the Google Analytics Admin API V1 Beta ([#424](https://github.com/googleapis/java-analytics-admin/issues/424)) ([ab9449f](https://github.com/googleapis/java-analytics-admin/commit/ab9449fe9620c7c3021dd278ae900dee1781192b))

## [0.11.0](https://github.com/googleapis/java-analytics-admin/compare/v0.10.2...v0.11.0) (2022-07-01)

### Features

* Add Java REST transport to analytics, servicecontrol, servicemanagement, serviceusage and langauge APIs ([0582719](https://github.com/googleapis/java-analytics-admin/commit/05827193641993b64f1280f0cdbd3b68c6c92705))

### Bug Fixes

* CustomDimension and CustomMetric resource configuration in Analytics Admin API ([0582719](https://github.com/googleapis/java-analytics-admin/commit/05827193641993b64f1280f0cdbd3b68c6c92705))

## [0.10.2](https://github.com/googleapis/java-analytics-admin/compare/v0.10.1...v0.10.2) (2022-06-23)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#414](https://github.com/googleapis/java-analytics-admin/issues/414)) ([d1ada25](https://github.com/googleapis/java-analytics-admin/commit/d1ada253452e10731fb6898db205fb27dfc1b538))

### [0.10.1](https://github.com/googleapis/java-analytics-admin/compare/v0.10.0...v0.10.1) (2022-05-20)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#408](https://github.com/googleapis/java-analytics-admin/issues/408)) ([5ca8037](https://github.com/googleapis/java-analytics-admin/commit/5ca8037fe07e9753121e2721f083e7114050b775))

## [0.10.0](https://github.com/googleapis/java-analytics-admin/compare/v0.9.1...v0.10.0) (2022-05-19)

### Features

* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-analytics-admin/issues/1440)) ([#404](https://github.com/googleapis/java-analytics-admin/issues/404)) ([52bf898](https://github.com/googleapis/java-analytics-admin/commit/52bf8986ae06b81411eafe742aa9585dde132dc0))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.11.0 ([#403](https://github.com/googleapis/java-analytics-admin/issues/403)) ([4407a5d](https://github.com/googleapis/java-analytics-admin/commit/4407a5dc7d764c6599b5366f7ae577c86d8e385b))

### [0.9.1](https://github.com/googleapis/java-analytics-admin/compare/v0.9.0...v0.9.1) (2022-04-15)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#391](https://github.com/googleapis/java-analytics-admin/issues/391)) ([4267a0b](https://github.com/googleapis/java-analytics-admin/commit/4267a0b2659d3ff594903b1af58a1c0bcd2ecf3a))

## [0.9.0](https://github.com/googleapis/java-analytics-admin/compare/v0.8.4...v0.9.0) (2022-03-29)

### ⚠ BREAKING CHANGES

* remove `WebDataStream`, `IosAppDataStream`, `AndroidAppDataStream` resources (#377)

### Features

* remove `WebDataStream`, `IosAppDataStream`, `AndroidAppDataStream` resources ([#377](https://github.com/googleapis/java-analytics-admin/issues/377)) ([b93fa94](https://github.com/googleapis/java-analytics-admin/commit/b93fa9430278a6761bb12f355e7aac7e72c57c7d))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 ([#385](https://github.com/googleapis/java-analytics-admin/issues/385)) ([8644c7f](https://github.com/googleapis/java-analytics-admin/commit/8644c7f51c89e635473b9e779fcd0123a55d9551))

### [0.8.4](https://github.com/googleapis/java-analytics-admin/compare/v0.8.3...v0.8.4) (2022-03-08)

### Dependencies

* update actions/checkout action to v3 ([#370](https://github.com/googleapis/java-analytics-admin/issues/370)) ([e3cbf50](https://github.com/googleapis/java-analytics-admin/commit/e3cbf5059c60c54dbfaf29f195e688cbed2cfc7d))

### [0.8.3](https://github.com/googleapis/java-analytics-admin/compare/v0.8.2...v0.8.3) (2022-03-02)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 ([#372](https://github.com/googleapis/java-analytics-admin/issues/372)) ([19e37d1](https://github.com/googleapis/java-analytics-admin/commit/19e37d1ac7b089a947f7e306419e25e5a4149e5c))

### [0.8.2](https://github.com/googleapis/java-analytics-admin/compare/v0.8.1...v0.8.2) (2022-02-28)

### Dependencies

* update actions/setup-java action to v3 ([#364](https://github.com/googleapis/java-analytics-admin/issues/364)) ([fcf3783](https://github.com/googleapis/java-analytics-admin/commit/fcf378339c58471f38323f694bedfd6c0399d71a))

### [0.8.1](https://github.com/googleapis/java-analytics-admin/compare/v0.8.0...v0.8.1) (2022-02-11)

### Dependencies

* update actions/github-script action to v6 ([#355](https://github.com/googleapis/java-analytics-admin/issues/355)) ([c221e38](https://github.com/googleapis/java-analytics-admin/commit/c221e38330cceec568e1554faf7ca898903a2393))

## [0.8.0](https://github.com/googleapis/java-analytics-admin/compare/v0.7.0...v0.8.0) (2022-02-03)

### Features

* add the `AcknowledgeUserDataCollection` operation which acknowledges the terms of user data collection for the specified property ([#323](https://github.com/googleapis/java-analytics-admin/issues/323)) ([e9fd55a](https://github.com/googleapis/java-analytics-admin/commit/e9fd55aef92171c6f6a0a16eb29be085d5a64bd6))

### Dependencies

* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-analytics-admin/issues/1339)) ([#343](https://github.com/googleapis/java-analytics-admin/issues/343)) ([3ddd19d](https://github.com/googleapis/java-analytics-admin/commit/3ddd19d29d0e5183843180bb404d0ed614dbc407))
* update actions/github-script action to v5 ([#342](https://github.com/googleapis/java-analytics-admin/issues/342)) ([b9d9204](https://github.com/googleapis/java-analytics-admin/commit/b9d9204dc70eeaa3a9f0f32ff18bcc470bcffa22))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#344](https://github.com/googleapis/java-analytics-admin/issues/344)) ([3b4f2d3](https://github.com/googleapis/java-analytics-admin/commit/3b4f2d3b5467d4bcebcdeee8163268862044efdb))

## [0.7.0](https://www.github.com/googleapis/java-analytics-admin/compare/v0.6.2...v0.7.0) (2022-01-07)

### Features

* add `GetDataRetentionSettings`, `UpdateDataRetentionSettings` methods to the API ([#269](https://www.github.com/googleapis/java-analytics-admin/issues/269)) ([3d3726d](https://www.github.com/googleapis/java-analytics-admin/commit/3d3726db76a6763b3c7a2dd7132b0fefbfe7c6ac))
* add custom output only field to ConversionEvent type ([3de05e5](https://www.github.com/googleapis/java-analytics-admin/commit/3de05e56d905d74ae7468aed7e66e24c685c5df6))
* add display_video_360_advertiser_link, display_video_360_advertiser_link_proposal, data_retention_settings fields to ChangeHistoryChange.resource oneof field. ([3de05e5](https://www.github.com/googleapis/java-analytics-admin/commit/3de05e56d905d74ae7468aed7e66e24c685c5df6))
* add service_level field to Property type ([3de05e5](https://www.github.com/googleapis/java-analytics-admin/commit/3de05e56d905d74ae7468aed7e66e24c685c5df6))
* change measurement_unit field to mutable in CustomMetric type ([3de05e5](https://www.github.com/googleapis/java-analytics-admin/commit/3de05e56d905d74ae7468aed7e66e24c685c5df6))

### Bug Fixes

* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-analytics-admin/issues/1299)) ([#322](https://www.github.com/googleapis/java-analytics-admin/issues/322)) ([259886e](https://www.github.com/googleapis/java-analytics-admin/commit/259886e2a1b1ed49adf0ba37f220e6b4059d4737))
* **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-analytics-admin/issues/1266)) ([#307](https://www.github.com/googleapis/java-analytics-admin/issues/307)) ([4cfbf3b](https://www.github.com/googleapis/java-analytics-admin/commit/4cfbf3b3e0bc93292fdf6e80aa662356399db047))
* **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-analytics-admin/issues/1301)) ([#326](https://www.github.com/googleapis/java-analytics-admin/issues/326)) ([e456449](https://www.github.com/googleapis/java-analytics-admin/commit/e4564497b94927eb550712364467cefa545ae1fe))
* remove maximum_user_access field from FirebaseLink type ([3de05e5](https://www.github.com/googleapis/java-analytics-admin/commit/3de05e56d905d74ae7468aed7e66e24c685c5df6))
* remove MaximumUserAccess enum from the API ([3de05e5](https://www.github.com/googleapis/java-analytics-admin/commit/3de05e56d905d74ae7468aed7e66e24c685c5df6))
* remove UpdateFirebaseLink method from the API ([3de05e5](https://www.github.com/googleapis/java-analytics-admin/commit/3de05e56d905d74ae7468aed7e66e24c685c5df6))
* rename email_address field of GoogleAdsLink type to creator_email_address ([3de05e5](https://www.github.com/googleapis/java-analytics-admin/commit/3de05e56d905d74ae7468aed7e66e24c685c5df6))
* rename is_deletable field of ConversionEvent type to deletable ([3de05e5](https://www.github.com/googleapis/java-analytics-admin/commit/3de05e56d905d74ae7468aed7e66e24c685c5df6))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#316](https://www.github.com/googleapis/java-analytics-admin/issues/316)) ([90be858](https://www.github.com/googleapis/java-analytics-admin/commit/90be858cd029c33b9c46962c12a89199c15c85c3))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 ([#321](https://www.github.com/googleapis/java-analytics-admin/issues/321)) ([6d31a66](https://www.github.com/googleapis/java-analytics-admin/commit/6d31a66c32ed7d16d10e0205f05790be76c92fe0))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 ([#329](https://www.github.com/googleapis/java-analytics-admin/issues/329)) ([462d2de](https://www.github.com/googleapis/java-analytics-admin/commit/462d2de3ca950782b90a46b978328c0f85300414))

### [0.6.2](https://www.github.com/googleapis/java-analytics-admin/compare/v0.6.1...v0.6.2) (2021-10-19)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 ([#301](https://www.github.com/googleapis/java-analytics-admin/issues/301)) ([f974058](https://www.github.com/googleapis/java-analytics-admin/commit/f974058cac256ea2e217758b2791b26487f8b054))

### [0.6.1](https://www.github.com/googleapis/java-analytics-admin/compare/v0.6.0...v0.6.1) (2021-09-24)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.3.0 ([#290](https://www.github.com/googleapis/java-analytics-admin/issues/290)) ([44ca8f6](https://www.github.com/googleapis/java-analytics-admin/commit/44ca8f6ef27550bc9b9a02a01463912e12d6f614))

## [0.6.0](https://www.github.com/googleapis/java-analytics-admin/compare/v0.5.0...v0.6.0) (2021-09-15)

### Features

* Remove use of deprecated gradle command in java README ([#1196](https://www.github.com/googleapis/java-analytics-admin/issues/1196)) ([#273](https://www.github.com/googleapis/java-analytics-admin/issues/273)) ([dd7bfaa](https://www.github.com/googleapis/java-analytics-admin/commit/dd7bfaa111cf32a7e3f415ec43fcd53c7010769e))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.0.1 ([#264](https://www.github.com/googleapis/java-analytics-admin/issues/264)) ([a1c4442](https://www.github.com/googleapis/java-analytics-admin/commit/a1c444255cf6d0e14f81b679f7f41e4c8c5bbfa3))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.1.0 ([#268](https://www.github.com/googleapis/java-analytics-admin/issues/268)) ([1ef6fd5](https://www.github.com/googleapis/java-analytics-admin/commit/1ef6fd5631f6380ea10dbeb56959b93088fd7bab))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 ([#275](https://www.github.com/googleapis/java-analytics-admin/issues/275)) ([98c2fc5](https://www.github.com/googleapis/java-analytics-admin/commit/98c2fc502d1640021c84e3c739c74b0f48fbed9b))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.1 ([#283](https://www.github.com/googleapis/java-analytics-admin/issues/283)) ([498c5bf](https://www.github.com/googleapis/java-analytics-admin/commit/498c5bf2459a813d12f796362e113e782aa78114))

## [0.5.0](https://www.github.com/googleapis/java-analytics-admin/compare/v0.4.0...v0.5.0) (2021-08-06)

### ⚠ BREAKING CHANGES

* release gapic-generator-java v2.0.0 (#257)

### Features

* release gapic-generator-java v2.0.0 ([#257](https://www.github.com/googleapis/java-analytics-admin/issues/257)) ([ebbc014](https://www.github.com/googleapis/java-analytics-admin/commit/ebbc014dfde8577e1331bc09ecc2abae3e5b2f82))

### Bug Fixes

* Add `shopt -s nullglob` to dependencies script ([#1130](https://www.github.com/googleapis/java-analytics-admin/issues/1130)) ([#232](https://www.github.com/googleapis/java-analytics-admin/issues/232)) ([7dffdfc](https://www.github.com/googleapis/java-analytics-admin/commit/7dffdfcfa03bd9df5d3a0678a816bdc5339dcb11))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 ([#234](https://www.github.com/googleapis/java-analytics-admin/issues/234)) ([fdd111a](https://www.github.com/googleapis/java-analytics-admin/commit/fdd111a9791d2f2f0b32d3a439023a34fd67656a))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2 ([#258](https://www.github.com/googleapis/java-analytics-admin/issues/258)) ([315f245](https://www.github.com/googleapis/java-analytics-admin/commit/315f245df1b516966b19a6a0980c3967cd4aca51))

## [0.4.0](https://www.github.com/googleapis/java-analytics-admin/compare/v0.3.2...v0.4.0) (2021-06-15)

### ⚠ BREAKING CHANGES

* remove `CreateIosAppDataStream`, `CreateAndroidAppDataStream` methods from the API (#203)

### Features

* add CreateCustomDimension, GetCustomDimension, UpdateCustomDimension, ListCustomDimensions, ArchiveCustomDimension methods to the API ([#221](https://www.github.com/googleapis/java-analytics-admin/issues/221)) ([16ff4a6](https://www.github.com/googleapis/java-analytics-admin/commit/16ff4a6f4291e1668b710807722cbd3901d51f02))

### Bug Fixes

* add `https://www.googleapis.com/auth/analytics.edit` OAuth2 scope to the list of acceptable scopes for all read only methods ([#179](https://www.github.com/googleapis/java-analytics-admin/issues/179)) ([e8d6269](https://www.github.com/googleapis/java-analytics-admin/commit/e8d626908a020d4c1ea6ff0ff34afd5d65ae967a))
* release scripts from issuing overlapping phases ([#197](https://www.github.com/googleapis/java-analytics-admin/issues/197)) ([30b1195](https://www.github.com/googleapis/java-analytics-admin/commit/30b1195db5389a7fb940b4decf13baf68fcd1005))
* remove `CreateIosAppDataStream`, `CreateAndroidAppDataStream` methods from the API ([#203](https://www.github.com/googleapis/java-analytics-admin/issues/203)) ([ca467ec](https://www.github.com/googleapis/java-analytics-admin/commit/ca467ec5bbcaf3dccf4c791426ec612c903392e2))
* typo ([#196](https://www.github.com/googleapis/java-analytics-admin/issues/196)) ([3001dfc](https://www.github.com/googleapis/java-analytics-admin/commit/3001dfc339cfa7f23497481f95e0314bdf8d7189))

### Documentation

* update the documentation of the `update_mask` field used by Update() methods ([e8d6269](https://www.github.com/googleapis/java-analytics-admin/commit/e8d626908a020d4c1ea6ff0ff34afd5d65ae967a))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#186](https://www.github.com/googleapis/java-analytics-admin/issues/186)) ([1a2d614](https://www.github.com/googleapis/java-analytics-admin/commit/1a2d614c80c0c5849f7aa71f3cae20165c3ed4aa))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#194](https://www.github.com/googleapis/java-analytics-admin/issues/194)) ([b429a0b](https://www.github.com/googleapis/java-analytics-admin/commit/b429a0ba4fea5f974e24f3d8e06a03addcbedc0e))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.1 ([#198](https://www.github.com/googleapis/java-analytics-admin/issues/198)) ([640a1c2](https://www.github.com/googleapis/java-analytics-admin/commit/640a1c2398dd49d8acaa3826ff857baf715ffd43))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v1 ([#201](https://www.github.com/googleapis/java-analytics-admin/issues/201)) ([c148921](https://www.github.com/googleapis/java-analytics-admin/commit/c1489212a633e8ec6e9fa8838c3f3549ab14b4a4))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#210](https://www.github.com/googleapis/java-analytics-admin/issues/210)) ([4801dd7](https://www.github.com/googleapis/java-analytics-admin/commit/4801dd7212132eb184f2d851549ab99e671150dd))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.2.0 ([#214](https://www.github.com/googleapis/java-analytics-admin/issues/214)) ([c8b4d76](https://www.github.com/googleapis/java-analytics-admin/commit/c8b4d76f3d3eff834637a135c7ccff7863073b33))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.3.0 ([#222](https://www.github.com/googleapis/java-analytics-admin/issues/222)) ([8bc7f9e](https://www.github.com/googleapis/java-analytics-admin/commit/8bc7f9eb4178a0f4a33b2180123d24b635f3f466))

### [0.3.2](https://www.github.com/googleapis/java-analytics-admin/compare/v0.3.1...v0.3.2) (2021-02-25)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 ([#175](https://www.github.com/googleapis/java-analytics-admin/issues/175)) ([75db870](https://www.github.com/googleapis/java-analytics-admin/commit/75db8701c1bb6b130e7f4399f71d13d84088c5f2))

### [0.3.1](https://www.github.com/googleapis/java-analytics-admin/compare/v0.3.0...v0.3.1) (2021-02-22)

### Bug Fixes

* don't log downloads ([#168](https://www.github.com/googleapis/java-analytics-admin/issues/168)) ([a781d7d](https://www.github.com/googleapis/java-analytics-admin/commit/a781d7d77c3314456b9bdc7982f1ef89c7acd0e5))

### Documentation

* generate sample code in the Java microgenerator ([#152](https://www.github.com/googleapis/java-analytics-admin/issues/152)) ([62b6cd9](https://www.github.com/googleapis/java-analytics-admin/commit/62b6cd925df28035c247d67fbe86c5e46d810d4d))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#169](https://www.github.com/googleapis/java-analytics-admin/issues/169)) ([52b071b](https://www.github.com/googleapis/java-analytics-admin/commit/52b071b0f15d347510d722daacd071838c930249))

## [0.3.0](https://www.github.com/googleapis/java-analytics-admin/compare/v0.2.5...v0.3.0) (2021-01-19)

### ⚠ BREAKING CHANGES

* `update_mask` field is required for all Update operations
* rename `country_code` field to `region_code` in `Account`
* rename `url_query_parameter` field to `uri_query_parameter` in `EnhancedMeasurementSettings`
* remove `parent` field from `GoogleAdsLink`
* remove unused fields from `EnhancedMeasurementSettings` (#137)

### Features

* add pagination support for `ListFirebaseLinks` operation ([6bfa58c](https://www.github.com/googleapis/java-analytics-admin/commit/6bfa58c307adc8a79dd05345299f8e39ddcf32db))

### Bug Fixes

* `update_mask` field is required for all Update operations ([6bfa58c](https://www.github.com/googleapis/java-analytics-admin/commit/6bfa58c307adc8a79dd05345299f8e39ddcf32db))
* remove `parent` field from `GoogleAdsLink` ([6bfa58c](https://www.github.com/googleapis/java-analytics-admin/commit/6bfa58c307adc8a79dd05345299f8e39ddcf32db))
* remove unused fields from `EnhancedMeasurementSettings` ([#137](https://www.github.com/googleapis/java-analytics-admin/issues/137)) ([6bfa58c](https://www.github.com/googleapis/java-analytics-admin/commit/6bfa58c307adc8a79dd05345299f8e39ddcf32db))
* rename `country_code` field to `region_code` in `Account` ([6bfa58c](https://www.github.com/googleapis/java-analytics-admin/commit/6bfa58c307adc8a79dd05345299f8e39ddcf32db))
* rename `url_query_parameter` field to `uri_query_parameter` in `EnhancedMeasurementSettings` ([6bfa58c](https://www.github.com/googleapis/java-analytics-admin/commit/6bfa58c307adc8a79dd05345299f8e39ddcf32db))

### Documentation

* put markdown table in a codeblock ([#132](https://www.github.com/googleapis/java-analytics-admin/issues/132)) ([15ccf20](https://www.github.com/googleapis/java-analytics-admin/commit/15ccf20bf20791d2a0192d67302e40a46a5cf432))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 ([#136](https://www.github.com/googleapis/java-analytics-admin/issues/136)) ([6d52546](https://www.github.com/googleapis/java-analytics-admin/commit/6d52546b2fc5703571801d5b8045574ad9985bf1))

### [0.2.5](https://www.github.com/googleapis/java-analytics-admin/compare/v0.2.4...v0.2.5) (2020-12-15)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.0 ([#126](https://www.github.com/googleapis/java-analytics-admin/issues/126)) ([5b374ef](https://www.github.com/googleapis/java-analytics-admin/commit/5b374efd30dd85b5142c581037150f796908aecb))

### [0.2.4](https://www.github.com/googleapis/java-analytics-admin/compare/v0.2.3...v0.2.4) (2020-12-14)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.1 ([#122](https://www.github.com/googleapis/java-analytics-admin/issues/122)) ([2a6832b](https://www.github.com/googleapis/java-analytics-admin/commit/2a6832badbd82e8ab5e8c17dac0a0de23470074d))

### [0.2.3](https://www.github.com/googleapis/java-analytics-admin/compare/v0.2.2...v0.2.3) (2020-12-02)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 ([#112](https://www.github.com/googleapis/java-analytics-admin/issues/112)) ([166c0d0](https://www.github.com/googleapis/java-analytics-admin/commit/166c0d0a9c4b03a6471417f15c806a2008cc276a))

### [0.2.2](https://www.github.com/googleapis/java-analytics-admin/compare/v0.2.1...v0.2.2) (2020-11-11)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.15.0 ([#102](https://www.github.com/googleapis/java-analytics-admin/issues/102)) ([49b319e](https://www.github.com/googleapis/java-analytics-admin/commit/49b319e61f06abcead5e67a2b67c5476d72cab57))

### [0.2.1](https://www.github.com/googleapis/java-analytics-admin/compare/v0.2.0...v0.2.1) (2020-11-05)

### Bug Fixes

* 'requests' field of CreateUserLink, UpdateUserLink, DeleteUserLink methods is now required ([#96](https://www.github.com/googleapis/java-analytics-admin/issues/96)) ([c15a776](https://www.github.com/googleapis/java-analytics-admin/commit/c15a776d47eb4d28865453281ea7c36b2510892a))

## [0.2.0](https://www.github.com/googleapis/java-analytics-admin/compare/v0.1.4...v0.2.0) (2020-11-02)

### Features

* added ListAccountSummaries method ([#74](https://www.github.com/googleapis/java-analytics-admin/issues/74)) ([128bb78](https://www.github.com/googleapis/java-analytics-admin/commit/128bb7882cf36b5ce05b81fbf63c7cc306d9b655))

### Documentation

* renamed App + Web to Google Analytics 4 (GA4) in public documentation ([#86](https://www.github.com/googleapis/java-analytics-admin/issues/86)) ([22e27ca](https://www.github.com/googleapis/java-analytics-admin/commit/22e27ca307e0b900c1eb89d9872685950ee9e44e))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.12.1 ([#81](https://www.github.com/googleapis/java-analytics-admin/issues/81)) ([58cb9b3](https://www.github.com/googleapis/java-analytics-admin/commit/58cb9b3a3bb64904fafae8ea414ddf729b6b6983))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 ([#84](https://www.github.com/googleapis/java-analytics-admin/issues/84)) ([5db8220](https://www.github.com/googleapis/java-analytics-admin/commit/5db82207c3e1e056714dc2dbaf3cd62ae3d849c9))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 ([#91](https://www.github.com/googleapis/java-analytics-admin/issues/91)) ([ac21804](https://www.github.com/googleapis/java-analytics-admin/commit/ac21804451ac2fe557f4cec7b19a7cdb290475e1))

### [0.1.4](https://www.github.com/googleapis/java-analytics-admin/compare/v0.1.3...v0.1.4) (2020-10-08)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.10.2 ([#63](https://www.github.com/googleapis/java-analytics-admin/issues/63)) ([ddc8c2f](https://www.github.com/googleapis/java-analytics-admin/commit/ddc8c2f01efa54fce560c35a235c7d1a3a057c44))

### [0.1.3](https://www.github.com/googleapis/java-analytics-admin/compare/v0.1.2...v0.1.3) (2020-09-23)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.10.0 ([#53](https://www.github.com/googleapis/java-analytics-admin/issues/53)) ([8268d33](https://www.github.com/googleapis/java-analytics-admin/commit/8268d33dd99ee0a220053a9dc2f0a4bea77f8f28))

### [0.1.2](https://www.github.com/googleapis/java-analytics-admin/compare/v0.1.1...v0.1.2) (2020-09-21)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 ([#34](https://www.github.com/googleapis/java-analytics-admin/issues/34)) ([52df7a7](https://www.github.com/googleapis/java-analytics-admin/commit/52df7a73bb0244e557f714c713d9eb7a700c6a4f))

### [0.1.1](https://www.github.com/googleapis/java-analytics-admin/compare/v0.1.0...v0.1.1) (2020-08-11)

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.6 ([6461e4c](https://www.github.com/googleapis/java-analytics-admin/commit/6461e4c7935c15a3e553263fa44c689769370369))

## 0.1.0 (2020-07-24)

### Features

* initial generation ([83cb5b3](https://www.github.com/googleapis/java-analytics-admin/commit/83cb5b335c3f2d4ad15eeb3d3bef56b6384ab041))

### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.3 ([#8](https://www.github.com/googleapis/java-analytics-admin/issues/8)) ([42523c3](https://www.github.com/googleapis/java-analytics-admin/commit/42523c34e17451a00ad38c441f7eff2513eea077))


text:
jest.dontMock("../sprint");

describe('text', function() {
  it('should do something', function() {
    var $ = require("../sprint.js");
    // code...
  });
});


text:
[![NPM version](https://travis-ci.org/creydr/grunt-check-outdated.svg?branch=master)](https://travis-ci.org/creydr/grunt-check-outdated)

> Grunt Plugin to detect and list outdated npm packages, used in the project.

## Getting Started
This plugin requires Grunt `~0.4.5`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-check-outdated --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-check-outdated');
```

## The "outdated" task

### Overview
In your project's Gruntfile, add a section named `outdated` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
  outdated: {
    checkDev: true
  },
});
```

### Example

![Example Output](http://fs5.directupload.net/images/160312/g66u7x5v.png)

### Options

#### checkDev
Type: `Boolean`
Default value: `false`

Specifies if development dependencies should be checked.

#### checkProd
Type: `Boolean`
Default value: `true`

Specifies if production dependencies should be checked.

#### onlyStable
Type: `Boolean`
Default value: `false`

Specifies if it should only lists dependencies with newer stable versions.

### Usage Examples

#### Check Development dependencies
In this example, the Development dependencies will be included to check for newer versions.

```js
grunt.initConfig({
  outdated: {
    checkDev: true
  },
});
```

#### Check only for stable versions
In this example, the plugin lists only newer versions if a newer stable version is available.

```js
grunt.initConfig({
  check_outdated: {
    onlyStable: true
  },
});
```

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

## Release History

* 2016-03-06  v0.1.0  Basic support to list dependencies with newer versions.


text:
from datetime import date

from sqlalchemy.schema import CheckConstraint
from sqlalchemy.orm import relationship, backref
from sqlalchemy.ext.hybrid import hybrid_property
from sqlalchemy import (Column, Boolean, Integer, String, Sequence,
                        ForeignKey, Unicode, Date, case, select, cast)

from light.common import BaseSchema

class Confederations(BaseSchema):
    """
    Football Confederations data model.
    """
    __tablename__ = "confederations"

    id = Column(Integer, Sequence('confed_id_seq', start=10, increment=1), primary_key=True)
    name = Column(Unicode(10))
    countries = relationship('Countries', backref=backref('confederation'))

    def __repr__(self):
        return "<Confederation(id={0}, name={1})>".format(self.id, self.name)

class Countries(BaseSchema):
    """
    Countries data model.

    Countries are defined as FIFA-affiliated national associations.
    """
    __tablename__ = "countries"

    id = Column(Integer, Sequence('country_id_seq', start=100), primary_key=True)
    name = Column(Unicode(60))
    confederation_id = Column(Integer, ForeignKey('confederations.id'))

    def __repr__(self):
        return "<Country(id={0}, name={1}, confed={2})>".format(self.id, self.name, self.confederation.name)

class Years(BaseSchema):
    """
    Years data model.
    """
    __tablename__ = "years"

    id = Column(Integer, Sequence('year_id_seq', start=100), primary_key=True)
    yr = Column(Integer, unique=True)

class Seasons(BaseSchema):
    """
    Seasons data model.
    """
    __tablename__ = "seasons"

    id = Column(Integer, Sequence('season_id_seq', start=100), primary_key=True)

    start_year_id = Column(Integer, ForeignKey('years.id'))
    end_year_id = Column(Integer, ForeignKey('years.id'))

    start_year = relationship('Years', foreign_keys=[start_year_id])
    end_year = relationship('Years', foreign_keys=[end_year_id])

    @hybrid_property
    def name(self):
        """
        List year(s) that make up season.  Seasons over calendar year will be of form YYYY;
        seasons over two years will be of form YYYY-YYYY.
        """
        if self.start_year.yr == self.end_year.yr:
            return str(self.start_year.yr)
        else:
            return "{0}-{1}".format(self.start_year.yr, self.end_year.yr)

    @name.expression
    def name(cls):
        """
        List year(s) that make up season.  Seasons over calendar year will be of form YYYY;
        seasons over two years will be of form YYYY-YYYY.

        This expression allows `name` to be used as a query parameter.
        """
        yr1 = select([Years.yr]).where(cls.start_year_id == Years.id).as_scalar()
        yr2 = select([Years.yr]).where(cls.end_year_id == Years.id).as_scalar()
        return cast(yr1, String) + case([(yr1 == yr2, '')], else_='-'+cast(yr2, String))

    @hybrid_property
    def reference_date(self):
        """
        Define the reference date that is used to calculate player ages.

        +------------------------+---------------------+
        | Season type            | Reference date      |
        +========================+=====================+
        | European (Split years) | 30 June             |
        +------------------------+---------------------+
        | Calendar-year          | 31 December         |
        +------------------------+---------------------+

        :return: Date object that expresses reference date.
        """
        if self.start_year.yr == self.end_year.yr:
            return date(self.end_year.yr, 12, 31)
        else:
            return date(self.end_year.yr, 6, 30)

    def __repr__(self):
        return "<Season({0})>".format(self.name)

class Competitions(BaseSchema):
    """
    Competitions common data model.
    """
    __tablename__ = "competitions"

    id = Column(Integer, Sequence('competition_id_seq', start=1000), primary_key=True)
    name = Column(Unicode(80))
    level = Column(Integer)
    discriminator = Column('type', String(20))

    __mapper_args__ = {'polymorphic_on': discriminator}

class DomesticCompetitions(Competitions):
    """
    Domestic Competitions data model, inherited from Competitions model.
    """
    __mapper_args__ = {'polymorphic_identity': 'domestic'}
    country_id = Column(Integer, ForeignKey('countries.id'))
    country = relationship('Countries', backref=backref('competitions'))

    def __repr__(self):
        return "<DomesticCompetition(name={0}, country={1}, level={2})>".format(
            self.name, self.country.name, self.level)

class InternationalCompetitions(Competitions):
    """
    International Competitions data model, inherited from Competitions model.
    """
    __mapper_args__ = {'polymorphic_identity': 'international'}
    confederation_id = Column(Integer, ForeignKey('confederations.id'))
    confederation = relationship('Confederations', backref=backref('competitions'))

    def __repr__(self):
        return "<InternationalCompetition(name={0}, confederation={1})>".format(self.name, self.confederation.name)

class KnockoutRounds(BaseSchema):
    """
    Knockout Rounds data model.
    """
    __tablename__ = "knockout_rounds"

    id = Column(Integer, Sequence('koround_id_seq', start=10), primary_key=True)
    name = Column(Unicode(40))

    def __repr__(self):
        return "<KnockoutRound(name={0})>".format(self.name)

class GroupRounds(BaseSchema):
    """
    Group Rounds data model.
    """
    __tablename__ = "group_rounds"

    id = Column(Integer, Sequence('grpround_id_seq', start=10), primary_key=True)
    name = Column(Unicode(40))

    def __repr__(self):
        return "<GroupRound(name={0})>".format(self.name)

class Matches(BaseSchema):
    """
    Football Matches common data model.
    """
    __tablename__ = "matches"

    id = Column(Integer, Sequence('match_id_seq', start=1000000), primary_key=True)

    date = Column(Date)
    home_goals = Column(Integer, default=0)
    away_goals = Column(Integer, default=0)
    phase = Column(String)

    competition_id = Column(Integer, ForeignKey('competitions.id'))
    season_id = Column(Integer, ForeignKey('seasons.id'))

    competition = relationship('Competitions', backref=backref('matches', lazy='dynamic'))
    season = relationship('Seasons', backref=backref('matches'))

    __mapper_args__ = {
        'polymorphic_identity': 'matches',
        'polymorphic_on': phase
    }

    __table_args__ = (
        CheckConstraint('home_goals >= 0', name='nonneg_home_goals'),
        CheckConstraint('away_goals >= 0', name='nonneg_away_goals'),
        {}
    )

class FriendlyMatches(Matches):
    """
    Friendly Matches data model, inherited from Matches model.
    """
    __tablename__ = 'friendly_matches'
    __mapper_args__ = {'polymorphic_identity': 'friendly'}

    id = Column(Integer, ForeignKey('matches.id'), primary_key=True)

class LeagueMatches(Matches):
    """
    League Matches data model, inherited from Matches model.
    """
    __tablename__ = 'league_matches'
    __mapper_args__ = {'polymorphic_identity': 'league'}

    id = Column(Integer, ForeignKey('matches.id'), primary_key=True)
    matchday = Column(Integer)

class GroupMatches(Matches):
    """
    Group Matches data model, inherited from Matches model.
    """
    __tablename__ = 'group_matches'
    __mapper_args__ = {'polymorphic_identity': 'group'}

    id = Column(Integer, ForeignKey('matches.id'), primary_key=True)
    matchday = Column(Integer)
    group = Column(String(length=2))

    group_round_id = Column(Integer, ForeignKey('group_rounds.id'))
    group_round = relationship('GroupRounds')

class KnockoutMatches(Matches):
    """
    Knockout Matches data model, inherited from Matches model.
    """
    __tablename__ = 'knockout_matches'
    __mapper_args__ = {'polymorphic_identity': 'knockout'}

    id = Column(Integer, ForeignKey('matches.id'), primary_key=True)
    matchday = Column(Integer)
    extra_time = Column(Boolean, default=False)

    ko_round_id = Column(Integer, ForeignKey('knockout_rounds.id'))
    ko_round = relationship('KnockoutRounds')

class MatchShootouts(BaseSchema):
    """
    Match Shootouts data model.
    """
    __tablename__ = "match_shootouts"

    id = Column(Integer, ForeignKey('matches.id'), primary_key=True)

    home_shootout_goals = Column(Integer, default=0)
    away_shootout_goals = Column(Integer, default=0)

    __table_args__ = (
        CheckConstraint('home_shootout_goals >= 0', name='nonneg_home_shootout'),
        CheckConstraint('away_shootout_goals >= 0', name='nonneg_away_shootout'),
        {}
    )

class Deductions(BaseSchema):
    """
    Administrative deductions data model.
    """
    __tablename__ = "deductions"

    id = Column(Integer, Sequence('deduct_id_seq', start=10000), primary_key=True)
    date = Column(Date)
    points = Column(Integer)
    type = Column(String)

    competition_id = Column(Integer, ForeignKey('competitions.id'))
    season_id = Column(Integer, ForeignKey('seasons.id'))

    competition = relationship('Competitions', backref=backref('deductions'))
    season = relationship('Seasons', backref=backref('deductions'))

    __mapper_args__ = {
        'polymorphic_identity': 'deductions',
        'polymorphic_on': type
    }


text:
require 'test_helper'

class VeritransModuleTest < Test::Unit::TestCase
  include ActiveMerchant::Billing::Integrations

  def test_notification_method
    assert_instance_of Veritrans::Notification, Veritrans.notification('name=cody')
  end
end


text:
export LOCAL_CHARM_REPO=${LOCAL_CHARM_REPO-${HOME}/charms}

export CHARM_NAME=sso-provider

echo "Deploying charm ${CHARM_NAME} from ${LOCAL_CHARM_REPO}:"

juju deploy --repository=${LOCAL_CHARM_REPO} local:precise/${CHARM_NAME}


text:
<!DOCTYPE html>

    <title></title>


text:
//#define DEBUGRESOURCE
using SharpDX;
using SharpDX.Direct3D11;
using System;
using System.Collections.Generic;
using System.Linq;

#if !NETFX_CORE
namespace HelixToolkit.Wpf.SharpDX.ShaderManager
#else
namespace HelixToolkit.UWP.ShaderManager
#endif
{
    using Utilities;
    /// <summary>
    /// Use to store resources for <see cref="ComObject"/>. Each register will increase the reference counter for ComObject by calling <see cref="ComObject.QueryInterface{T}()"/>
    /// </summary>
    /// <typeparam name="TKEY"></typeparam>
    /// <typeparam name="TVALUE"></typeparam>
    /// <typeparam name="TDescription"></typeparam>
    public abstract class ComPoolBase<TKEY, TVALUE, TDescription> : DisposeObject where TVALUE : ComObject
    {
        private readonly Dictionary<TKEY, TVALUE> pool = new Dictionary<TKEY, TVALUE>();
        /// <summary>
        ///
        /// </summary>
        public Device Device { private set; get; }

        /// <summary>
        ///
        /// </summary>
        /// <param name="device"></param>
        public ComPoolBase(Device device)
        {
            this.Device = device;
        }
        /// <summary>
        /// Each register will increase the reference counter for ComObject by calling <see cref="ComObject.QueryInterface{T}()"/>
        /// Calling owner is responsible for dispose the obtained resource. Resource will be disposed automatically once reference counter = 0.
        /// </summary>
        /// <param name="description"></param>
        /// <returns></returns>
        public StateProxy<TVALUE> Register(TDescription description)
        {
            TVALUE value;
            TKEY key = GetKey(ref description);
            lock (pool)
            {
                if (pool.TryGetValue(key, out value))
                {
                    return CreateProxy(value.QueryInterface<TVALUE>());
                }
                else
                {
                    value = Collect(Create(Device, ref description));
                    pool.Add(key, value);
                    value.Disposed += (s, e) =>
                    {
                        lock (pool)
                        {
                            pool.Remove(key);
                        }
                    };
                    return CreateProxy(value);
                }
            }
        }
        /// <summary>
        /// Gets the key.
        /// </summary>
        /// <param name="description">The description.</param>
        /// <returns></returns>
        protected abstract TKEY GetKey(ref TDescription description);
        /// <summary>
        /// Creates the specified device.
        /// </summary>
        /// <param name="device">The device.</param>
        /// <param name="description">The description.</param>
        /// <returns></returns>
        protected abstract TVALUE Create(Device device, ref TDescription description);
        /// <summary>
        /// Creates the proxy.
        /// </summary>
        /// <param name="state">The state.</param>
        /// <returns></returns>
        protected abstract StateProxy<TVALUE> CreateProxy(TVALUE state);
        /// <summary>
        /// Releases unmanaged and - optionally - managed resources.
        /// </summary>
        /// <param name="disposeManagedResources"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
        protected override void OnDispose(bool disposeManagedResources)
        {
            if (disposeManagedResources)
            {
                lock (pool)
                {
                    foreach (var item in pool.Values.ToArray())
                    {
                        item.Dispose();
                    }
                    pool.Clear();
                }
            }
            base.OnDispose(disposeManagedResources);
        }
    }

    /// <summary>
    /// Use to store resources which have long life time with limited numbers such as Constant buffers, Shaders, etc.
    /// <para>Do not dispose the resource externally.</para>
    /// Resource life time is the same as the pool's life time.
    /// <para>Do not use for dynamic allocated resources.</para>
    /// </summary>
    /// <typeparam name="TKEY"></typeparam>
    /// <typeparam name="TVALUE"></typeparam>
    /// <typeparam name="TDescription"></typeparam>
    public abstract class ResourcePoolBase<TKEY, TVALUE, TDescription> : DisposeObject where TVALUE : class
    {
        private readonly Dictionary<TKEY, TVALUE> pool = new Dictionary<TKEY, TVALUE>();
        /// <summary>
        ///
        /// </summary>
        public Device Device { private set; get; }

        /// <summary>
        ///
        /// </summary>
        /// <param name="device"></param>
        public ResourcePoolBase(Device device)
        {
            this.Device = device;
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="description"></param>
        /// <returns></returns>
        public TVALUE Register(TDescription description)
        {
            if (description == null)
            { return null; }
            TVALUE value;
            TKEY key = GetKey(ref description);
            if (key == null)
            { return null; }
            lock (pool)
            {
                if (pool.TryGetValue(key, out value))
                {
                    ErrorCheck(value, ref description);
                    return value;
                }
                else
                {
                    value = Collect(Create(Device, ref description));
                    pool.Add(key, value);
                    return value;
                }
            }
        }

        protected virtual void ErrorCheck(TVALUE value, ref TDescription description)
        {
        }
        /// <summary>
        /// Gets the key.
        /// </summary>
        /// <param name="description">The description.</param>
        /// <returns></returns>
        protected abstract TKEY GetKey(ref TDescription description);
        /// <summary>
        /// Creates the specified device.
        /// </summary>
        /// <param name="device">The device.</param>
        /// <param name="description">The description.</param>
        /// <returns></returns>
        protected abstract TVALUE Create(Device device, ref TDescription description);
        /// <summary>
        /// Releases unmanaged and - optionally - managed resources.
        /// </summary>
        /// <param name="disposeManagedResources"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
        protected override void OnDispose(bool disposeManagedResources)
        {
            pool.Clear();
            base.OnDispose(disposeManagedResources);
        }
    }
}


text:
<project name="MultiTouchJ" default="compile" basedir=".">
	<description>
		MultiTouchJ build configuration
	</description>
	<property name="version" value="0.1.0"/>
	<property name="src" location="./Source"/>
	<property name="lib" location="./Library"/>
	<property name="build" location="./Build"/>
	<property name="dist" location="./Distribution"/>
	<property name="jar" value="MultiTouchJ-${version}.jar"/>

	<target name="init">
		<echo>Running on Java VM ${ant.java.version}</echo>
		<!-- Create the time stamp -->
		<tstamp/>
		<!-- Create the build directory structure used by compile -->
		<mkdir dir="${build}"/>
	</target>

	<target name="compile" depends="init" description="compile all source code">
		<javac srcdir="${src}" destdir="${build}">
			<!--
				enable this if you want to check type in containers such as
				LinkedList, Vector, and etc...
			-->
			<!--<compilerarg value="-Xlint:unchecked"/>-->
			<include name="**/*.java" />
			<exclude name="**/test/**/*" />

			<classpath>
				<fileset dir="${lib}">
					<include name="*.jar"/>
				</fileset>
				<dirset dir="${src}">
					<include name="**/*"/>
					<!--<exclude name="**/test/**/*" />-->
				</dirset>
			</classpath>
		</javac>
		<copy todir="${build}">
		    <fileset dir="${src}">
                <include name="**/resource/*" />
            </fileset>
        </copy>
	</target>

	<target name="compile-test" depends="init, compile" description="compile all source code for test">
		<javac srcdir="${src}" destdir="${build}">
			<!--
				enable this if you want to check type in containers such as
				LinkedList, Vector, and etc...
			-->
			<!--<compilerarg value="-Xlint:unchecked"/>-->
			<include name="**/test/**/*" />

			<classpath>
				<fileset dir="${lib}">
					<include name="*.jar"/>
				</fileset>
				<dirset dir="${src}">
					<include name="**/*"/>
					<!--<exclude name="**/test/**/*" />-->
				</dirset>
			</classpath>
		</javac>
		<copy todir="${build}">
		    <fileset dir="${src}">
                <include name="**/resource/*" />
            </fileset>
        </copy>
	</target>

	<target name="jar" depends="compile" description="jar up all class files">
		<mkdir dir="${dist}"/>
		<!-- core -->
		<jar destfile="${dist}/${jar}"
			basedir="${build}"
		/>
	</target>

	<target name="clean" description="clean up">
		<delete dir="${build}"/>
		<delete dir="${dist}"/>
		<!--
		<delete>
			<fileset dir="${src_root}">
				<include name="**/*.class"/>
				<exclude name="**/test/**/*" />
			</fileset>
		</delete>
		-->
	</target>
</project>


text:
package org.xmlsoap.schemas.ws._2004._08.addressing;

import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.namespace.QName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;

/**
 *
Java class for AttributedQName complex type.
 *
 *
The following schema fragment specifies the expected content contained within this class.
 *
 *

 * <complexType name="AttributedQName">
 *   <simpleContent>
 *     <extension base="<http://www.w3.org/2001/XMLSchema>QName">
 *       <anyAttribute processContents='lax' namespace='##other'/>
 *     </extension>
 *   </simpleContent>
 * </complexType>
 *

 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AttributedQName", propOrder = {
    "value"
})
public class AttributedQName {

    @XmlValue
    protected QName value;
    @XmlAnyAttribute
    private Map<QName, String> otherAttributes = new HashMap<QName, String>();

    /**
     * Gets the value of the value property.
     *
     * @return
     *     possible object is
     *     {@link QName }
     *
     */
    public QName getValue() {
        return value;
    }

    /**
     * Sets the value of the value property.
     *
     * @param value
     *     allowed object is
     *     {@link QName }
     *
     */
    public void setValue(QName value) {
        this.value = value;
    }

    /**
     * Gets a map that contains attributes that aren't bound to any typed property on this class.
     *
     *

     * the map is keyed by the name of the attribute and
     * the value is the string value of the attribute.
     *
     * the map returned by this method is live, and you can add new attribute
     * by updating the map directly. Because of this design, there's no setter.
     *
     *
     * @return
     *     always non-null
     */
    public Map<QName, String> getOtherAttributes() {
        return otherAttributes;
    }

    /**
     * Generates a String representation of the contents of this type.
     * This is an extension method, produced by the 'ts' xjc plugin
     *
     */
    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);
    }

}


text:
package com.ibm.giraph.graph.example.ioformats;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.Collection;

import org.apache.giraph.graph.BasicVertex;
import org.apache.giraph.graph.Edge;
import org.apache.hadoop.io.DoubleWritable;
import org.apache.hadoop.io.FloatWritable;
import org.apache.hadoop.io.LongWritable;

public class LongDoubleFloatNeighborhood implements Neighborhood<LongWritable, DoubleWritable, FloatWritable>
{
	private double vertexValue;
	private long[] edgeIDs;
	private float[] edgeValues;
	private int n;

	public String toString()
	{
		String str="vertexValue: "+vertexValue+" numEdges: "+n+"\n";
		for(int i=0; i<n; i++)
			str+=edgeIDs[i]+": "+edgeValues[i]+", ";
		str+="\n";
		return str;
	}

	public void setVertexValue(double v)
	{
		vertexValue=v;
	}

	public void setEdges(Collection<Edge<LongWritable, FloatWritable>> edges)
	{
		setSize(edges.size());
		int i=0;
		for(Edge<LongWritable, FloatWritable> e: edges)
		{
			edgeIDs[i]=e.getDestVertexId().get();
			edgeValues[i]=e.getEdgeValue().get();
			i++;
		}
	}

	public void setSimpleEdges(Collection<Long> edges)
	{
		setSize(edges.size());
		int i=0;
		for(Long e: edges)
		{
			edgeIDs[i]=e;
			edgeValues[i]=1;
			i++;
		}
	}

	public void set(BasicVertex<LongWritable, DoubleWritable, FloatWritable, ?> vertex)
	{
		vertexValue=vertex.getVertexValue().get();
		setSize(vertex.getNumOutEdges());
		int i=0;
		for(LongWritable v: vertex)
		{
			edgeIDs[i]=v.get();
			edgeValues[i]=vertex.getEdgeValue(v).get();
			i++;
		}
	}

	public double getVertexValue()
	{
		return vertexValue;
	}

	public int getNumberEdges()
	{
		return n;
	}

	public long getEdgeID(int i)
	{
		if(i>=n || i<0) throw new RuntimeException("index "+i+" is not in range [0, "+n+")");
		return edgeIDs[i];
	}

	public float getEdgeValue(int i)
	{
		if(i>=n || i<0) throw new RuntimeException("index "+i+" is not in range [0, "+n+")");
		return edgeValues[i];
	}

	private void setSize(int s)
	{
		n=s;
		if(edgeIDs==null || edgeIDs.length<n)
		{
			edgeIDs=new long[n];
			edgeValues=new float[n];
		}
	}

	public LongDoubleFloatNeighborhood()
	{
		n=0;
		edgeIDs=null;
		edgeValues=null;
	}

	public LongDoubleFloatNeighborhood(int capacity)
	{
		n=0;
		edgeIDs=new long[capacity];
		edgeValues=new float[capacity];
	}

	@Override
	public void readFields(DataInput in) throws IOException {
		vertexValue=in.readDouble();
		setSize(in.readInt());
		for(int i=0; i<n; i++)
		{
			edgeIDs[i]=in.readLong();
			edgeValues[i]=(float)in.readDouble();//in.readFloat();
		}
	}

	@Override
	public void write(DataOutput out) throws IOException {
		out.writeDouble(vertexValue);
		out.writeInt(n);
		for(int i=0; i<n; i++)
		{
			out.writeLong(edgeIDs[i]);
			out.writeDouble(edgeValues[i]);
		}
	}
}


text:
from __future__ import unicode_literals

import django.core.validators
from django.db import migrations, models

class Migration(migrations.Migration):

    dependencies = [
        ('reviews', '0013_auto_20160804_0200'),
    ]

    operations = [
        migrations.AddField(
            model_name='employee',
            name='is_active',
            field=models.BooleanField(default=True),
        ),
        migrations.AlterField(
            model_name='review',
            name='ques3',
            field=models.PositiveIntegerField(validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(5)], verbose_name='How much did you learn from this person while working with them (1-5)? (5 = most)'),
        ),
    ]


text:
'use strict';

var StripeResource = require('../StripeResource');

/**
 * CustomerCard is a unique resource in that, upon instantiation,
 * requires a customerId, and therefore each of its methods only
 * require the cardId argument.
 *
 * This streamlines the API specifically for the case of accessing cards
 * on a returned customer object.
 *
 * E.g. customerObject.cards.retrieve(cardId)
 * (As opposed to the also-supported stripe.customers.retrieveCard(custId, cardId))
 */
module.exports = StripeResource.extend({
  path: 'customers/{customerId}/cards',
  includeBasic: ['create', 'list', 'retrieve', 'update', 'del'],
});


text:
@interface NSObject (XBGallery)

- (void)loadImageFromURL:(NSURL *)url callBack:(SEL)selector;

@end


text:
set -e
set -x

cd -L $(dirname -- $(cd -L -- $(dirname -- $0); pwd))

DEV_BRANCH=dev_node

if [ "$1" == "" ]; then
    echo "must pass in version as first arg";
    exit 1;
fi

VERSION=$1
NPM_TAG=$2
node >node/package.json.new <<EOF
var data = require("./node/package");
data.version = "$VERSION";
console.log(JSON.stringify(data, null, 2));
EOF

mv node/package.json.new node/package.json

tag=node-v$VERSION

git commit node/package.json -m "Cut $tag"

localrev=$(env HOME= XDG_CONFIG_HOME= git subtree split --prefix=node)
git update-ref "refs/heads/$DEV_BRANCH" "$localrev" -m "Cut $tag"

git tag -a -m "Tag $tag" "$tag" "$DEV_BRANCH"
git push origin master --tags
git push -f origin dev_node

git archive --prefix=package/ --format tgz dev_node >package.tgz
npm publish package.tgz --tag "${NPM_TAG:-alpha}"
rm package.tgz


text:
package layer

import (
	"bufio"
	"encoding/json"
	"io"
	"log"
	"net/http"
	"os"
	"sort"
	"strconv"
)

var ()

func adminServer() {
	http.HandleFunc("/", serverHandler)
	http.Handle("/js/", http.StripPrefix("/js/", http.FileServer(http.Dir("layer/web/js"))))
	http.Handle("/css/", http.StripPrefix("/css/", http.FileServer(http.Dir("layer/web/css"))))
	http.Handle("/img/", http.StripPrefix("/img/", http.FileServer(http.Dir("layer/web/img"))))
	Logln("Server Started.")
	log.Fatal(http.ListenAndServe(":"+strconv.Itoa(*mgmtPort), nil))
	Logln("Server Stopped.")
}

func serverHandler(w http.ResponseWriter, req *http.Request) {
	w.Header().Set("Content-type", "text/html")
	switch req.RequestURI {
	case "/":
		Logln("Homepage requested")
		err := SendPage(w, "home.html")
		if err != nil {
			w.WriteHeader(500)
			w.Write([]byte(err.Error()))
			log.Fatal("Page Error: ", err)
		}

	case "/api/peers":
		Logln("Peers requested")
		list := Me().GetList()
		sort.Sort(list)
		err := SendJson(w, list.PeerDetails())
		if err != nil {
			w.WriteHeader(500)
			w.Write([]byte(err.Error()))
			log.Fatal("Page Error: ", err)
		}
	default:
		Logln("Page not found:", req.RequestURI)
	}
}

func SendJson(w http.ResponseWriter, data interface{}) error {
	json, err := json.Marshal(data)
	if err != nil {
		return err
	}
	w.Header().Set("Content-type", "application/json")
	w.Write(json)
	return nil
}

func SendPage(w http.ResponseWriter, pageName string) error {
	r, err := getPageReader(pageName)
	if err != nil {
		return err
	}
	for {
		b, err := r.ReadString('\n')
		if err != nil {
			if err != io.EOF {
				return err
			}
			w.Write([]byte(b))
			break
		}
		w.Write([]byte(b))
	}
	return nil
}

func getPageReader(name string) (*bufio.Reader, error) {
	page, err := os.Open("layer/web/" + name)
	if err != nil {
		return nil, err
	}
	return bufio.NewReader(page), nil
}