text:
EdMOOC-SNA
==========
_This repo is a store of my messy work in progress of SNA and related bits, shared with David and Edinburgh Uni folks for visibility._

See the wiki for a notepad on analysis ideas (very rough).

In general, files of type ... are ...:
* html - output reports, notebooks etc (include code fragments to document process)
* rmd - mixed R code and markdown intended to be put through _knitr_ to generate the html file with the same stem
* md - markdown file auto-generated by knitr in most cases
* R - R code, likely to be for pre-processing or including in rmd
* RData - typically one or more dataframes with some metadata, the stored result of executing the R or rmd with the same filename stem

Basic Forum Stats
---------

## Basic Forum Stats

Looks at macro-level stats for forums per course: aggregate descriptive quantities and high level structural features. Some of this also appears in the 1st MOOC Report; this is partially a database familiarisation activity augmented by some processing to get some more basic numbers to inform next-steps and contextualise results.

**STATUS: bug to fix, no further plans.**

## Regional Differences

Looks across forums and inspects regional differences. Currently looks only at post-counts.

**STATUS: Some plots need smartening (labels). Could also improve by indicating significance of differences to the plots. Needs interpretation/story. Possible extension to "reads" and/or to modify from couting posts to contributions (posts+comments)**

Dark Users
----------

Quantify the extent to which user identifiers left in activity traces (forums so far) do not appear in the hash_mapping and users tables. These are assumed to be withdrawn users.

At present, it considers forum_user_ids in threads, posts and comments.

**STATUS: no further plans**

Network Extractors
-----------------

Contains code to build networks based on different assumptions of what a tie is. These are plain R code and output - for each course separately - .RData containing the network (using the data structure from the "network" package) and a graphml file (created using the "igraph" package). Gephi can consume the graphml file, or it may be read in using the igraph package. NB igraph and network packages are not mutually compatible.

**STATUS: no further plans, although weighted whole-thread may be worth exploring (see Tie Type Comparison Synthesis)**

### Poster-Commenter Network

The assumption of the following that a tie between individuals is defined by a comment on a post. This is a directed tie from the commenter to the poster.

### Post-Set Network

An undirected graph where a poster and all commenters have mutual ties.

### Whole-thread with threshold

All contributors (comments or posts) to a thread are considered tied if both parties make a minimum (threshold) number of contributions.

Describe Net
------------

Network level summary statistics. Can use Poster-Commenter and Post-Set.

**STATUS: essentially complete. P-C and P-Set need to have "no I" added. Needs an interpretation/story.**

Describe One User
-----------

Single user focus in a "poster-commenter" tie model. Shows their proximal network and the posts/comments that led to it. Role and region shown.

**STATUS: Not up to date with latest view of tie models. This may get resurrected.**

Top Subnets
-----------

Extract and visualise subnets defined by the highest individual-level network statistics.

Currently only in/out degree (and for P-C networks)

**STATUS: Not up to date with latest view of tie models. This may get resurrected.**

Tie Type Comparison
------------

### Tie Type Correlation

Inspects networks defined by different tie types and looks for correlation etc. In other words: how similar do the centrality measures for different tie types appear to be?

**STATUS: no further work planned.**

### Tie Type Correlation Synthesis

An account of the tie models and centrality measures, exploring "what makes a good model" etc.

**STATUS: no further work planned.**

Forum Read Extract
-------------

Gets the peculiar key/value data and builds a MySQL table more suited to SQL access.

**STATUS: completed. Would be adaptible to quiz accesses in "kvm_course.ccc"**

Forum Attribute Patterns
-----------

Correlation, clustering and PCA experiments. Forum and thread-level investigation so far. Posts in progress.

**STATUS: Needs a thorough review to decide whether there is anything needed here, whether there are any insights to report.**

ERGM Models
--------------------

Apply the ERGM approach to a network....

**STATUS: incomplete and early work. Revisit using Whole-Thread tie model. Also add various attributes.**


text:
namespace Microsoft.Azure.Commands.Sql.Database.Model
{
    /// <summary>
    /// The database edition
    /// </summary>
    public enum DatabaseEdition
    {
        /// <summary>
        /// No database edition specified
        /// </summary>
        None = 0,

        /// <summary>
        /// A database premium edition
        /// </summary>
        Premium = 3,

        /// <summary>
        /// A database basic edition
        /// </summary>
        Basic = 4,

        /// <summary>
        /// A database standard edition
        /// </summary>
        Standard = 5,

        /// <summary>
        /// Azure SQL Data Warehouse database edition
        /// </summary>
        DataWarehouse = 6,

        /// <summary>
        /// Azure SQL Stretch database edition
        /// </summary>
        Stretch = 7,

        /// <summary>
        /// Free database edition.  Reserved for special use cases/scenarios.
        /// </summary>
        Free = 8,

        /// <summary>
        /// PremiumRS database edition
        /// </summary>
        PremiumRS = 9,

        /// <summary>
        /// General Purpose edition for SqlAzure database
        /// </summary>
        GeneralPurpose = 10,

        /// <summary>
        /// Business Critical edition for SqlAzure database
        /// </summary>
        BusinessCritical = 11,
    }
}

redpajama_set_name: RedPajamaGithub


text:
using System.Linq;

namespace QuantConnect.Securities.Option.StrategyMatcher
{
    /// <summary>
    /// Provides an implementation of <see cref="IOptionStrategyMatchObjectiveFunction"/> that evaluates the number of unmatched
    /// positions, in number of contracts, giving precedence to solutions that have fewer unmatched contracts.
    /// </summary>
    public class UnmatchedPositionCountOptionStrategyMatchObjectiveFunction : IOptionStrategyMatchObjectiveFunction
    {
        /// <summary>
        /// Computes the delta in matched vs unmatched positions, which gives precedence to solutions that match more contracts.
        /// </summary>
        public decimal ComputeScore(OptionPositionCollection input, OptionStrategyMatch match, OptionPositionCollection unmatched)
        {
            var value = 0m;
            foreach (var strategy in match.Strategies)
            {
                foreach (var leg in strategy.OptionLegs.Concat<OptionStrategy.LegData>(strategy.UnderlyingLegs))
                {
                    value += leg.Quantity;
                }
            }

            return value - unmatched.Count;
        }
    }
}


text:
<!DOCTYPE HTML>

		<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
		<title>CouchModelFactory Class Reference</title>
		<meta id="xcode-display" name="xcode-display" content="render"/>
		<meta name="viewport" content="width=550" />
		<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
		<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
		<meta name="generator" content="appledoc 2.1 (build 840)" />

CouchCocoa 0.961beta6

				Jens Alfke

CouchModelFactory Class Reference

					<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents">Table of Contents</button>

					<select id="jumpTo">
	<option value="top">Jump To…</option>

	<option value="overview">Overview</option>

	<option value="tasks">Tasks</option>

	<option value="class_methods">Class Methods</option>

	<option value="//api/name/sharedInstance">    + sharedInstance</option>

	<option value="instance_methods">Instance Methods</option>

	<option value="//api/name/classForDocument:">    - classForDocument:</option>

	<option value="//api/name/classForDocumentType:">    - classForDocumentType:</option>

	<option value="//api/name/modelForDocument:">    - modelForDocument:</option>

	<option value="//api/name/registerClass:forDocumentType:">    - registerClass:forDocumentType:</option>

</select>

Overview

Tasks

Class Methods

sharedInstance

Instance Methods

classForDocument:

classForDocumentType:

modelForDocument:

registerClass:forDocumentType:

Index

Hierarchy

CouchModelFactory Class Reference

	Inherits from
	NSObject

	Declared in
	CouchModelFactory.h

Overview

A configurable mapping from CouchDocument to CouchModel.

It associates a model class with a value of the document's "type" property.

Tasks

		+ sharedInstance

Returns a global shared CouchModelFactory that’s consulted by all databases.

Mappings registered in this instance will be used as a fallback by all other instances if they don't have their own.

		– modelForDocument:

Given a document, attempts to return a CouchModel for it.

If the document's modelObject property is set, it returns that value.
If the document's "type" property has been registered, instantiates the associated class.
Otherwise returns nil.

		– registerClass:forDocumentType:

Associates a value of the “type” property with a CouchModel subclass.

		– classForDocument:

Returns the appropriate CouchModel subclass for this document.

The default implementation just passes the document's "type" property value to classForDocumentType:, but subclasses could override this to use different properties (or even the document ID) to decide.

		– classForDocumentType:

Looks up the CouchModel subclass that’s been registered for a document type.

Class Methods

sharedInstance

Returns a global shared CouchModelFactory that’s consulted by all databases.

Mappings registered in this instance will be used as a fallback by all other instances if they don't have their own.

+ (CouchModelFactory *)sharedInstance

Discussion

Returns a global shared CouchModelFactory that’s consulted by all databases.

Mappings registered in this instance will be used as a fallback by all other instances if they don't have their own.

Declared In

		CouchModelFactory.h

Instance Methods

classForDocument:

Returns the appropriate CouchModel subclass for this document.

The default implementation just passes the document's "type" property value to classForDocumentType:, but subclasses could override this to use different properties (or even the document ID) to decide.

- (Class)classForDocument:(CouchDocument *)document

Discussion

Returns the appropriate CouchModel subclass for this document.

The default implementation just passes the document's "type" property value to classForDocumentType:, but subclasses could override this to use different properties (or even the document ID) to decide.

Declared In

		CouchModelFactory.h

classForDocumentType:

Looks up the CouchModel subclass that’s been registered for a document type.

- (Class)classForDocumentType:(NSString *)type

Discussion

Looks up the CouchModel subclass that’s been registered for a document type.

Declared In

		CouchModelFactory.h

modelForDocument:

Given a document, attempts to return a CouchModel for it.

If the document's modelObject property is set, it returns that value.
If the document's "type" property has been registered, instantiates the associated class.
Otherwise returns nil.

- (id)modelForDocument:(CouchDocument *)document

Discussion

Given a document, attempts to return a CouchModel for it.

If the document's modelObject property is set, it returns that value.
If the document's "type" property has been registered, instantiates the associated class.
Otherwise returns nil.

Declared In

		CouchModelFactory.h

registerClass:forDocumentType:

Associates a value of the “type” property with a CouchModel subclass.

- (void)registerClass:(id)classOrName forDocumentType:(NSString *)type

Parameters

classOrName

Either a CouchModel subclass, or its class name as an NSString.

type

The value value of a document’s “type” property that should indicate this class.

Discussion

Associates a value of the “type” property with a CouchModel subclass.

Declared In

		CouchModelFactory.h

Index

Hierarchy

© 2012 Jens Alfke. All rights reserved. (Last updated: 2012-11-06)

						Generated by appledoc 2.1 (build 840).


text:
<?php
// dna.js

// Request
$id = basename($_SERVER["REQUEST_URI"]);

// Database
$books = array(
   array("id" => 1, "title" => "Go JavaScript", "author" => "Jake"),
   array("id" => 2, "title" => "Styling CSS3",  "author" => "Abby"),
   array("id" => 3, "title" => "Howdy HTML5",   "author" => "Ed"),
   );

// Resource
if ($id == "books")  //GET all books
   $resource = $books;
elseif ($id > 0 && $id <= count($books))  //GET book by ID
   $resource = $books[$id - 1];
else
   $resource = array("error" => true, "code" => "not-found", "message" => "Resource not found");

// Response
$origin = isset($_SERVER["HTTP_ORIGIN"]) ? $_SERVER["HTTP_ORIGIN"] : "*";
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
header("Access-Control-Allow-Origin: " . $origin);
header("Content-Type: application/json");
echo json_encode($resource);
?>


text:
import { useMemo } from 'react';
import reverse from 'lodash/reverse';
import sortBy from 'lodash/sortBy';
import { useParams } from 'react-router-dom';
import { LoadQueryWrapper } from '@neinteractiveliterature/litform';

import usePageTitle from '../usePageTitle';
import { UserAdminQueryData, useUserAdminQuery } from './queries.generated';
import { timespanFromConvention } from '../TimespanUtils';
import { useAppDateTimeFormat } from '../TimeUtils';
import humanize from '../humanize';

function sortByConventionDate(profiles: UserAdminQueryData['user']['user_con_profiles']) {
  return reverse(sortBy(profiles, (profile) => profile.convention.starts_at));
}

function buildProfileUrl(profile: UserAdminQueryData['user']['user_con_profiles'][0]) {
  const profileUrl = new URL(`//${profile.convention.domain}/user_con_profiles/${profile.id}`, window.location.href);
  profileUrl.port = window.location.port;
  return profileUrl.toString();
}

function useLoadUserAdminData() {
  const userId = useParams<{ id: string }>().id;
  if (userId == null) {
    throw new Error('User ID not found in path');
  }
  return useUserAdminQuery({ variables: { id: userId } });
}

function renderProfileConventionYear(
  profile: UserAdminQueryData['user']['user_con_profiles'][number],
  format: ReturnType<typeof useAppDateTimeFormat>,
) {
  const { start } = timespanFromConvention(profile.convention);
  return start ? format(start, 'year') : null;
}

export default LoadQueryWrapper(useLoadUserAdminData, function UserAdminDisplay({ data }) {
  usePageTitle(data.user.name);
  const format = useAppDateTimeFormat();

  const userConProfiles = useMemo(() => sortByConventionDate(data.user.user_con_profiles), [data]);

  return (

{data.user.name}

            {(['first_name', 'last_name', 'email'] as const).map((field) => (

                  {humanize(field)}

                {data.user[field]}

            ))}

                Privileges

                {data.user.privileges && data.user.privileges.length > 0
                  ? data.user.privileges.map(humanize).join(', ')
                  : 'none'}

                Convention profiles

                {data.user.user_con_profiles.length > 0 ? (

                    {userConProfiles.map((profile) => (

                          {profile.convention.name}
                          {profile.convention.starts_at && (
                            <>
                              {' '}
                              ({renderProfileConventionYear(profile, format)})
                            </>
                          )}

                        {profile.staff_positions.length > 0
                          ? ` (${profile.staff_positions
                              .map((pos) => pos.name)
                              .sort()
                              .join(', ')})`
                          : null}

                    ))}

                ) : (
                  'none'
                )}

{/* this.renderUserAdminSection(data) */}

  );
});


text:
(function() {

function scrollSelectionIntoView(elem) {
  var countLines = function(str) {
    var newlineMatches = str.match(/\n/g);
    return (newlineMatches ? newlineMatches.length : 0) + 1;
  };
  var lineHeight = elem.scrollHeight / countLines(elem.value);
  var cursorTop =
      countLines(elem.value.slice(0, elem.selectionStart)) * lineHeight;
  elem.scrollTop = cursorTop - (elem.offsetHeight / 2);
}

// Resize everything to fit snugly inside the popup.
(function() {
  var popup = document.documentElement;
  var body = document.body;
  var snippetsElem = document.getElementById('snippets');
  var footer = document.getElementById('footer');

  // The popup height/width needs to take into account the padding that is
  // already applied to the popup. Hack: 10,000px is our arbitrary width/height.
  var padding = popup.offsetHeight - 10000;
  var popupHeight = popup.clientHeight - padding;
  // Yes, -padding even though the padding is based off height (and probably
  // 16px). The width-padding is 8px which is slightly too short. Maybe the
  // height needs to be multiplied by 2 for some reason. In any case, 16 works.
  // height needs to be multiplied by 2. For some reason.
  var popupWidth = popup.clientWidth - padding;

  body.style.height = popupHeight + 'px';
  body.style.width = popupWidth + 'px';
  snippetsElem.style.height = (popupHeight - footer.clientHeight) + 'px';
  snippetsElem.style.width = popupWidth + 'px';
}());

function onError(err) {
  document.getElementById('errorLog').innerText = err;
  document.getElementById('errorContainer').removeAttribute('hidden');
  document.getElementById('snippets').disabled = true;
  // Report needs to use the tabs API directy since mailto: links don't appear
  // to work from  within popups.
  var report = document.getElementById('report');
  report.addEventListener('click', function(e) {
    chrome.tabs.create({url: report.getAttribute('href')});
    e.preventDefault();
  });
}

// TODO: Promise-idiom to not require making these global variables.
var backgroundPage = null;
var activeTab = null;

chrome.runtime.getBackgroundPage().then(function(bg) {
  backgroundPage = bg;
  return chrome.tabs.query({active: true, currentWindow: true});
}, function(error) {
  onError(error + '\nwhile loading background page.');
}).then(function(tabs) {
  if (tabs.length > 0) {
    activeTab = tabs[0];
  }
  return backgroundPage.load();
}).then(function(snippets) {
  // In a previous version of this extension the snippets were just a string
  // (the text), then they came to include the cursor position as well.
  if (typeof snippets == 'string') {
    snippets = {
      selectionStart: 0,
      selectionEnd: 0,
      value: snippets
    };
  }

  document.body.addEventListener('keydown', function(event) {
    // Shift+Enter closes popup.
    if (event.keyCode == 13 && event.shiftKey) {
      event.preventDefault();
      event.stopPropagation();
      window.close();
    }
    // Ctrl+Shift+L inserts the current URL at the cursor position.
    if (event.keyCode == 76 && event.ctrlKey && activeTab) {
      event.preventDefault();
      event.stopPropagation();
      var url = activeTab.url;
      // Rewrite the URL to something friendlier if possible.
      // TODO(kalman): Make this configurable in an options page.
      // TODO(kalman): Work with gitiles.
      var rewrites = [
        [/codereview\.chromium\.org\/([0-9]+)/, 'crrev.com/$1'],
        [/code\.google\.com\/.*[?&]id=([0-9]+)/, 'crbug.com/$1'],
        [/src\.chromium\.org\/.*[?&]revision=([0-9]+)/, 'crrev.com/$1'],
        // Only the first 8 characters of the git hash.
        [/chromium.googlesource.com\/chromium\/src\/\+\/(.{8})/, 'crrev.com/$1'],
      ];
      for (var i = 0; i < rewrites.length; i++) {
        var exec = rewrites[i][0].exec(url)
        if (exec) {
          url = rewrites[i][1].replace('$1', exec[1]);
          break;
        }
      };
      document.execCommand('insertText', false, url);
    }
  }, true);

  // Clicking on the "$(SNIPPETS_URL)" link opens it and starts the
  // process of pasting in our snippets.
  document.getElementById('go').addEventListener('click', function(e) {
    e.preventDefault();
    backgroundPage.submit();
    window.close();
  });

  // Show a random tip.
  var tips = [
    'Ctrl + Shift + L inserts the current URL at the cursor position',
    'Shift + Enter closes this popup',
    'Snippets are saved as you type',
  ];
  var tipIndex = Math.floor(Math.random() * tips.length);
  document.getElementById('tip').innerHTML = ('Tip: ' + tips[tipIndex] + '.');

  // Snippets are ready. Start writing.
  var snippetsElem = document.getElementById('snippets');
  snippetsElem.disabled = false;
  snippetsElem.placeholder = 'Start writing!';
  snippetsElem.focus();
  snippetsElem.value = snippets.value;
  snippetsElem.selectionStart = snippets.selectionStart;
  snippetsElem.selectionEnd = snippets.selectionEnd;
  scrollSelectionIntoView(snippetsElem);
  function save() {
    backgroundPage.save({
      selectionStart: snippetsElem.selectionStart,
      selectionEnd: snippetsElem.selectionEnd,
      value: snippetsElem.value || '',
    }, onError);
  }
  snippetsElem.addEventListener('keyup', save);
  snippetsElem.addEventListener('mouseup', save);
}, function(error) {
  onError(error + '\nwhile loading snippets.');
});

}());


text:
void ANNbd_shrink::ann_FR_search(ANNdist box_dist)
{
												// check dist calc term cond.
	if (ANNmaxPtsVisited != 0 && ANNptsVisited > ANNmaxPtsVisited) return;

	ANNdist inner_dist = 0;						// distance to inner box
	for (int i = 0; i < n_bnds; i++) {			// is query point in the box?
		if (bnds[i].out(ANNkdFRQ)) {			// outside this bounding side?
												// add to inner distance
			inner_dist = (ANNdist) ANN_SUM(inner_dist, bnds[i].dist(ANNkdFRQ));
		}
	}
	if (inner_dist <= box_dist) {				// if inner box is closer
		child[ANN_IN]->ann_FR_search(inner_dist);// search inner child first
		child[ANN_OUT]->ann_FR_search(box_dist);// ...then outer child
	}
	else {										// if outer box is closer
		child[ANN_OUT]->ann_FR_search(box_dist);// search outer child first
		child[ANN_IN]->ann_FR_search(inner_dist);// ...then outer child
	}
	ANN_FLOP(3*n_bnds)							// increment floating ops
	ANN_SHR(1)									// one more shrinking node
}


text:
"""
    util
    ~~~~

    Various general utilities to support the tincan project
"""

import random
import hashlib
import base64

def gentoken():
    base = str(random.getrandbits(256))
    digest = hashlib.sha256(base).digest()
    rchoice = random.choice(['rA','aZ','gQ','hH','hG','aR','DD'])
    return base64.b64encode(digest, rchoice).rstrip('==')


text:
This package contains the Elixir task to compile ngDocs.
These package can be free used for everyone how they like.

### What does this package do for you
NgDocs is a way to document your angularJS application. This packages compiles the comment
blocks to the ngDocs within the laravel-elixir bundle

### How to use
The only thing you have to do to is follow these 3 steps
First install the package into your project

    npm install --save-dev

After the installation is done you require the package in your gulpfile

    require('laravel-elixir-3-ngdocs');

In the elixir function you define the task like you always do

    mix.ngdocs();

These method use the default options. You can override the default options by providing a options object

    mix.ngdocs({
        html5Mode: true,
        startPage: '/starting-page',
        title: "Laravel Elixir NgDocs",
        image: "",
        imageLink: "",
        titleLink: "",
        scripts: [],
        styles: []
        })

Enjoy :)


text:
declare module Sunbro {
    function format(str: string, props: {
        [s: string]: string;
    }, escape?: boolean, sub1?: string, sub2?: string): string;
}


text:
package org.apache.harmony.security.x509;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.apache.harmony.security.asn1.ASN1SequenceOf;
import org.apache.harmony.security.asn1.ASN1Type;
import org.apache.harmony.security.asn1.BerInputStream;

/**
 * The class encapsulates the ASN.1 DER encoding/decoding work
 * with the SubjectInfoAccessSyntax and AuthorityInfoAccessSyntax
 * which are a part of X.509 framework
 * (as specified in RFC 3280 -
 *  Internet X.509 Public Key Infrastructure.
 *  Certificate and Certificate Revocation List (CRL) Profile.
 *  http://www.ietf.org/rfc/rfc3280.txt):
 *
 *  SubjectInfoAccessSyntax  ::=
 *      SEQUENCE SIZE (1..MAX) OF AccessDescriptions

 *  AuthorityInfoAccessSyntax  ::=
 *      SEQUENCE SIZE (1..MAX) OF AccessDescriptions
 *
 *  AccessDescription  ::=  SEQUENCE {
 *      accessMethod          OBJECT IDENTIFIER,
 *      accessLocation        GeneralName  }
 *
 */
public class InfoAccessSyntax extends ExtensionValue {

    private final List accessDescriptions;

    public InfoAccessSyntax(List accessDescriptions) throws IOException {
        this(accessDescriptions, null);
    }

    private InfoAccessSyntax(List accessDescriptions, byte[] encoding)
            throws IOException {
        if (accessDescriptions == null || accessDescriptions.isEmpty()) {
            throw new IOException("AccessDescriptions list is null or empty");
        }
        this.accessDescriptions = accessDescriptions;
        this.encoding = encoding;
    }

    public List getAccessDescriptions() {
        return new ArrayList(accessDescriptions);
    }

    /**
     * Returns ASN.1 encoded form of this X.509 InfoAccessSyntax.
     * @return a byte array containing ASN.1 encoded form.
     */
    public byte[] getEncoded() {
        if (encoding == null) {
            encoding = ASN1.encode(this);
        }
        return encoding;
    }

    public static InfoAccessSyntax decode(byte[] encoding) throws IOException {
        return ((InfoAccessSyntax) ASN1.decode(encoding));
    }

    public String toString() {
        StringBuilder res = new StringBuilder();
        res.append("\n---- InfoAccessSyntax:");
        if (accessDescriptions != null) {
            for (Iterator it = accessDescriptions.iterator(); it.hasNext();) {
                res.append('\n');
                res.append(it.next());
            }
        }
        res.append("\n---- InfoAccessSyntax END\n");
        return res.toString();
    }

    /**
     * Places the string representation of extension value
     * into the StringBuffer object.
     */
    public void dumpValue(StringBuffer buffer, String prefix) {
        buffer.append(prefix).append("AccessDescriptions:\n");
        if (accessDescriptions == null || accessDescriptions.isEmpty()) {
            buffer.append("NULL\n");
        } else {
            Iterator itr = accessDescriptions.iterator();
            while (itr.hasNext()) {
                buffer.append(itr.next().toString());
            }
        }
    }

    /**
     * ASN.1 DER X.509 AuthorityInfoAccessSyntax and SubjectInfoAccessSyntax
     * encoder/decoder class.
     */
    public static final ASN1Type ASN1 = new ASN1SequenceOf(AccessDescription.ASN1) {

        public Object getDecodedObject(BerInputStream in) throws IOException {
            return new InfoAccessSyntax((List)in.content, in.getEncoded());
        }

        public Collection getValues(Object object) {
            InfoAccessSyntax aias = (InfoAccessSyntax) object;
            return aias.accessDescriptions;
        }
    };

}


text:
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <parent>
        <groupId>io.strimzi</groupId>
        <artifactId>strimzi</artifactId>
        <version>0.27.0-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>operator-common</artifactId>

    <licenses>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
        </license>
    </licenses>

    <dependencies>
        <dependency>
            <groupId>io.strimzi</groupId>
            <artifactId>crd-annotations</artifactId>
        </dependency>
        <dependency>
            <groupId>io.strimzi</groupId>
            <artifactId>api</artifactId>
        </dependency>
        <dependency>
            <groupId>io.strimzi</groupId>
            <artifactId>certificate-manager</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>openshift-client</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-client</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-model-apps</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-model-storageclass</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-model-core</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-model-rbac</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-model-policy</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-model-networking</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>openshift-model</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>zjsonpatch</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-model-common</artifactId>
        </dependency>
        <dependency>
            <groupId>com.squareup.okhttp3</groupId>
            <artifactId>okhttp</artifactId>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.dataformat</groupId>
            <artifactId>jackson-dataformat-yaml</artifactId>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-annotations</artifactId>
        </dependency>
        <dependency>
            <groupId>io.vertx</groupId>
            <artifactId>vertx-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-slf4j-impl</artifactId>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-engine</artifactId>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-api</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>io.vertx</groupId>
            <artifactId>vertx-junit5</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest</artifactId>
        </dependency>
        <dependency>
            <groupId>org.junit.platform</groupId>
            <artifactId>junit-platform-launcher</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
        </dependency>
        <dependency>
            <groupId>io.strimzi</groupId>
            <artifactId>test</artifactId>
        </dependency>
        <dependency>
            <groupId>io.strimzi</groupId>
            <artifactId>mockkube</artifactId>
        </dependency>
        <dependency>
            <groupId>com.github.spotbugs</groupId>
            <artifactId>spotbugs-annotations</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.kafka</groupId>
            <artifactId>kafka-clients</artifactId>
        </dependency>
        <dependency>
            <groupId>io.micrometer</groupId>
            <artifactId>micrometer-core</artifactId>
        </dependency>
        <dependency>
            <groupId>io.micrometer</groupId>
            <artifactId>micrometer-registry-prometheus</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>io.vertx</groupId>
            <artifactId>vertx-micrometer-metrics</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>3.1.0</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>


text:
bepasty
=======

bepasty is like a pastebin for all kinds of files (text, image, audio, video,
documents, ..., binary).

The documentation is there:
http://bepasty-server.readthedocs.org/en/latest/

Features
--------

* Generic:

  - you can upload multiple files at once, simply by drag and drop
  - after upload, you get a unique link to a view of each file
  - on that view, we show actions you can do with the file, metadata of the
    file and, if possible, we also render the file contents
  - if you uploaded multiple files, you can create a pastebin with the list
    of all these files - with a single click!
  - Set an expiration date for your files

* Text files:

  - we highlight all text file types supported by pygments (a lot!)
  - we display line numbers
  - we link from line numbers to their anchors, so you can easily get a link
    to a specific line

* Image files:

  - we show the image (format support depends on browser)

* Audio and video files:

  - we show the html5 player for it (format support depends on browser)

* PDFs:

  - we support rendering PDFs in your browser (if your browser is able to)

* Storage: we use a storage backend api, currently we have backends for:

  - filesystem storage (just use a filesystem directory to store
    <uuid>.meta and <uuid>.data files)
  - currently there are no other storage implementations in master branch
    and releases. The "ceph cluster" storage implementation has issues and
    currently lives in branch "ceph-storage" until these issues are fixed.

* Keeping some control:

  - flexible permissions: create, read, delete, admin
  - assign permissions to users of login secrets
  - assign default permissions to not-logged-in users
  - you can purge files from storage by age, inactivity, size, type, ...
  - you can do consistency checks on the storage

Development
-----------

::

    # Clone the official bepasty-server (or your fork, if you want to send PULL requests)
    git clone https://github.com/bepasty/bepasty-server.git
    cd bepasty-server
    # Create a new virtualenv
    virtualenv ~/bepasty
    # Activate the virtualenv
    source ~/bepasty/bin/activate
    # This will use the current directory for the installed package
    # Very useful during development! It will also autoreload when files are changed
    pip install -e .
    # Run the bepasty-server in debug mode. The server is reachable in http://127.0.0.1:5000
    bepasty-server --debug


text:
'use strict';

/**
 * Test environment overrides.
 *
 * Ignoring no-param-reassign eslint rule because it's exactly what we want here.
 */

/* eslint-disable no-param-reassign */

module.exports = (config) => {
  config.logger.transformers.removePII.enabled = false;
  config.logger.transformers.leanify.enabled = false;
};


text:
/**
 * tooltipクラスの実装.
 * @file metatools_tooltip.cpp.
 * @author yatagai.
 */

#include "metatools_tooltip.h"
#include "ui_metatools_tooltip.h"
#include "../plugin/plugin.h"
#include "../plugin/plugin_manager/plugin_manager.h"
#include <assert.h>

namespace meta_tools
{

/**
 *  @brief      コンストラクタ.
 *  @author		yatagaik.
 *  @param   in  parent 親ウィジェット.
 *  @param   in  plugin このウィジェットを持ったプラグイン.
 */
MetaToolsToolTip::MetaToolsToolTip(QWidget *parent, const IPlugin *plugin) :
    QWidget(parent),
    m_plugin(plugin),
    m_ui(new Ui::MetaToolsToolTip),
    m_child(nullptr)
{
    m_ui->setupUi(this);
    connect(m_ui->close_button, SIGNAL(clicked()), this, SLOT(OnClickCloseButton()));

    // m_ui->caption_bar->setObjectName("metatools_tool_tip_caption_bar");
}

/**
 *  @brief      デストラクタ.
 *  @author		yatagaik.
 */
MetaToolsToolTip::~MetaToolsToolTip()
{
    SetChildWidget(nullptr);
    delete m_ui;
    m_ui = nullptr;
}

/**
 *  @brief      子ウィジェットのセット.
 *  @author		yatagaik.
 *  @param  in  child 子ウィジェット.
 */
void MetaToolsToolTip::SetChildWidget(QWidget *child)
{
    if (m_child)
    {
        m_child->setParent(nullptr);
        m_ui->main_widget_layout->removeWidget(m_child);
    }
    m_child = child;
    if (m_child)
    {
        resize(child->geometry().width() + 5, height());
        child->setParent(m_ui->main_widget);
        m_ui->main_widget_layout->addWidget(child);
    }
}

/**
 *  @brief      ラベルのセット.
 *  @author		yatagaik.
 *  @param  in  label セットするラベル.
 */
void MetaToolsToolTip::SetLabel(const char* label)
{
    m_ui->caption->setText(label);
}

/**
 *  @brief      閉じるボタンが押された.
 *  @author		yatagaik.
 */
void MetaToolsToolTip::OnClickCloseButton()
{
    assert(m_plugin);
    bool cancel = false;
    const_cast<IPlugin*>(m_plugin)->OnClickCloseButton(m_child, cancel);
    if (!cancel)
    {
        PluginManager::Order()->RemoveWidget(m_plugin, m_child);
    }
}

void MetaToolsToolTip::paintEvent(QPaintEvent * /*event*/)
{
    QStyleOption opt;
    opt.init(this);
    QPainter p(this);
    style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
}

}   // end namespace meta_tools.


text:
package seedu.jimi.model;

import java.util.Set;
import java.util.logging.Logger;

import seedu.jimi.commons.core.ComponentManager;
import seedu.jimi.commons.core.LogsCenter;
import seedu.jimi.commons.core.UnmodifiableObservableList;
import seedu.jimi.commons.events.model.TaskBookChangedEvent;
import seedu.jimi.commons.events.ui.JumpToListRequestEvent;
import seedu.jimi.commons.events.ui.ShowTaskPanelSectionEvent;
import seedu.jimi.model.FilteredListManager.ListId;
import seedu.jimi.model.datetime.DateTime;
import seedu.jimi.model.task.ReadOnlyTask;
import seedu.jimi.model.task.UniqueTaskList;
import seedu.jimi.model.task.UniqueTaskList.DuplicateTaskException;
import seedu.jimi.model.task.UniqueTaskList.TaskNotFoundException;

/**
 * @@author A0148040R
 * Represents the in-memory model of Jimi's data.
 * All changes to any model should be synchronized.
 */
public class ModelManager extends ComponentManager implements Model {
    private static final Logger logger = LogsCenter.getLogger(ModelManager.class);

    private final TaskBook taskBook;
    private final FilteredListManager filteredListManager;
    private final UserPrefs userPrefs;

    /**
     * Initializes a ModelManager with the given TaskBook
     * TaskBook and its variables should not be null
     */
    public ModelManager(TaskBook src, UserPrefs userPrefs) {
        super();
        assert src != null;
        assert userPrefs != null;

        logger.fine("Initializing with task book: " + src + " and user prefs " + userPrefs);

        taskBook = new TaskBook(src);
        this.userPrefs = userPrefs;
        this.filteredListManager = new FilteredListManager(taskBook);
    }

    public ModelManager() {
        this(new TaskBook(), new UserPrefs());
    }

    public ModelManager(ReadOnlyTaskBook initialData, UserPrefs userPrefs) {
        taskBook = new TaskBook(initialData);
        this.userPrefs = userPrefs;
        this.filteredListManager = new FilteredListManager(taskBook);
    }

    public ModelManager(Model other) {
        this(new TaskBook(other.getTaskBook()), new UserPrefs(other.getUserPrefs()));
    }

    @Override
    public void resetData(ReadOnlyTaskBook newData) {
        taskBook.resetData(newData);
        indicateTaskBookChanged();
    }

    @Override
    public ReadOnlyTaskBook getTaskBook() {
        return taskBook;
    }

    /** Raises an event to indicate the model has changed */
    private void indicateTaskBookChanged() {
        raise(new TaskBookChangedEvent(taskBook));
    }

    //@@author A0138915X
    /** Raises an event to indicate request to highlight chosen item. */
    public void highlightLatestUpdatedItem(ReadOnlyTask target) {
        raise(new JumpToListRequestEvent(target));
    }
    //@@author
    /** Raises and event to indicate user request to show task panel sections. */
    public void showTaskPanelSection(String sectionToShow) {
        raise(new ShowTaskPanelSectionEvent(sectionToShow));
    }

    @Override
    public synchronized void deleteTask(ReadOnlyTask target) throws TaskNotFoundException {
        taskBook.removeTask(target);
        indicateTaskBookChanged();
    }

    @Override
    public synchronized void addTask(ReadOnlyTask task) throws UniqueTaskList.DuplicateTaskException {
        taskBook.addTask(task);
        updateAllFilteredListsToNormalListing();
        indicateTaskBookChanged();
        highlightLatestUpdatedItem(task);
    }

    /**
     * Replaces a task in task book.
     *
     * @param newTask Task to be replaced with.
     * @param targetIndex Index of oldTask to be replaced by.
     * @throws DuplicateTaskException
     */
    @Override
    public void replaceTask(ReadOnlyTask oldTask, ReadOnlyTask newTask) throws DuplicateTaskException {
        taskBook.replaceTask(oldTask, newTask);
        updateAllFilteredListsToNormalListing(); //refresh all filtered lists
        indicateTaskBookChanged();
        highlightLatestUpdatedItem(newTask);
    }

    /**
     * Completes a task in task book.
     *
     * @param taskToComplete Task to set to complete/incomplete.
     * @param isComplete True, if task is to be set to completed.
     * @throws TaskNotFoundException
     * @throws DuplicateTaskException
     */
    @Override
    public synchronized void completeTask(ReadOnlyTask taskToComplete, boolean isComplete)
            throws TaskNotFoundException, DuplicateTaskException {
        taskBook.completeTask(taskToComplete, isComplete);
        updateAllFilteredListsToNormalListing(); //refresh all filtered lists
        updateFilteredAgendaTaskList(ListId.COMPLETED); //show the completed tasks by default after execution
        updateFilteredAgendaEventList(ListId.COMPLETED);
        indicateTaskBookChanged();
        highlightLatestUpdatedItem(taskToComplete);
    }

    public Model clone() {
        return new ModelManager(new TaskBook(taskBook), new UserPrefs(userPrefs));
    }

    @Override
    public int getShownSize() {
        return getFilteredAgendaEventList().size() + getFilteredAgendaTaskList().size();
    }

    @Override
    public UserPrefs getUserPrefs() {
        return userPrefs;
    }

    /*
     * ==================================================================
     *                  Updating Filtered Lists
     * ==================================================================
     */

    @Override
    public void updateAllFilteredListsToNormalListing() {
        this.filteredListManager.updateFilteredListsToNormalListing();
    }

    @Override
    public void updateFilteredAgendaTaskList(Set<String> keywords) {
        this.filteredListManager.updateFilteredList(ListId.TASKS_AGENDA, keywords);
    }

    @Override
    public void updateFilteredAgendaEventList(Set<String> keywords) {
        this.filteredListManager.updateFilteredList(ListId.EVENTS_AGENDA, keywords);
    }

    @Override
    public void updateFilteredAgendaTaskList(ListId other) {
        this.filteredListManager.updateFilteredList(ListId.TASKS_AGENDA, other);
    }

    @Override
    public void updateFilteredAgendaEventList(ListId other) {
        this.filteredListManager.updateFilteredList(ListId.EVENTS_AGENDA, other);
    }

    @Override
    public void updateFilteredAgendaTaskList(DateTime toDate, DateTime fromDate) {
        this.filteredListManager.updateFilteredList(ListId.TASKS_AGENDA, toDate, fromDate);
    }

    @Override
    public void updateFilteredAgendaEventList(DateTime toDate, DateTime fromDate) {
        this.filteredListManager.updateFilteredList(ListId.EVENTS_AGENDA, toDate, fromDate);
    }

    @Override
    public void updateFilteredAgendaTaskList(Set<String> keywords, DateTime toDate, DateTime fromDate) {
        this.filteredListManager.updateFilteredList(ListId.TASKS_AGENDA, keywords, toDate, fromDate);
    }

    @Override
    public void updateFilteredAgendaEventList(Set<String> keywords, DateTime toDate, DateTime fromDate) {
        this.filteredListManager.updateFilteredList(ListId.EVENTS_AGENDA, keywords, toDate, fromDate);
    }

    /*
     * ==================================================================
     *                  Accessing Filtered Lists
     * ==================================================================
     */

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredFloatingTaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.FLOATING_TASKS);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredIncompleteTaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.INCOMPLETE);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredCompletedTaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.COMPLETED);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredOverdueTaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.OVERDUE);
    }
    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredDay1TaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.DAY_AHEAD_0);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredDay2TaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.DAY_AHEAD_1);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredDay3TaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.DAY_AHEAD_2);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredDay4TaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.DAY_AHEAD_3);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredDay5TaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.DAY_AHEAD_4);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredDay6TaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.DAY_AHEAD_5);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredDay7TaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.DAY_AHEAD_6);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredAgendaTaskList() {
        return this.filteredListManager.getSortedFilteredList(ListId.TASKS_AGENDA);
    }

    @Override
    public UnmodifiableObservableList<ReadOnlyTask> getFilteredAgendaEventList() {
        return this.filteredListManager.getSortedFilteredList(ListId.EVENTS_AGENDA);
    }

}


text:
. $(dirname "${BASH_SOURCE}")/common.sh

WORK_DIR=`mktemp -d`

function cleanup {
  rm -rf "$WORK_DIR"
}
trap cleanup EXIT

mkdir -p ${WORK_DIR}/go/
ln -s ${GOPATH}/src/k8s.io/kops/vendor/ ${WORK_DIR}/go/src

GOPATH=${WORK_DIR}/go/ go install k8s.io/code-generator/cmd/conversion-gen/
cp ${WORK_DIR}/go/bin/conversion-gen ${GOPATH}/bin/

GOPATH=${WORK_DIR}/go/ go install k8s.io/code-generator/cmd/deepcopy-gen/
cp ${WORK_DIR}/go/bin/deepcopy-gen ${GOPATH}/bin/

GOPATH=${WORK_DIR}/go/ go install k8s.io/code-generator/cmd/defaulter-gen/
cp ${WORK_DIR}/go/bin/defaulter-gen ${GOPATH}/bin/

GOPATH=${WORK_DIR}/go/ go install k8s.io/code-generator/cmd/client-gen/
cp ${WORK_DIR}/go/bin/client-gen ${GOPATH}/bin/


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

<title>Uses of Class org.apache.poi.hslf.record.RecordAtom (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

PREV

NEXT

FRAMES

NO FRAMES

All Classes

Uses of Class
org.apache.poi.hslf.record.RecordAtom

Packages that use RecordAtom

Package
Description

org.apache.poi.hslf.record

Uses of RecordAtom in org.apache.poi.hslf.record

Subclasses of RecordAtom in org.apache.poi.hslf.record

Modifier and Type
Class and Description

class
AnimationInfoAtom

An atom record that specifies the animation information for a shape.

class
ColorSchemeAtom

A ColorSchemeAtom (type 2032).

class
Comment2000Atom

An atomic record containing information about a comment.

class
CString

A CString (type 4026).

class
DocumentAtom

A Document Atom (type 1001).

class
DocumentEncryptionAtom

A Document Encryption Atom (type 12052).

class
ExControlAtom

An atom record that specifies an ActiveX control.

class
ExEmbedAtom

The atom that holds metadata on a specific embedded object in the document.

class
ExHyperlinkAtom

Tne atom that holds metadata on a specific Link in the document.

class
ExMediaAtom

An atom record that specifies information about external audio or video data.

class
ExObjListAtom

Tne atom that holds the seed info used by a ExObjList

class
ExObjRefAtom

ExObjRefAtom (3009).

class
ExOleObjAtom

Atom storing information for an OLE object.

class
ExOleObjStg

Storage for embedded OLE objects.

class
FontEntityAtom

This atom corresponds exactly to a Windows Logical Font (LOGFONT) structure.

class
HeadersFootersAtom

An atom record that specifies options for displaying headers and footers
 on a presentation slide or notes slide.

class
InteractiveInfoAtom

Tne atom that holds metadata on Links in the document.

class
MasterTextPropAtom

Specifies the Indent Level for the text

class
NotesAtom

A Notes Atom (type 1009).

class
OEPlaceholderAtom

OEPlaceholderAtom (3011).

class
OutlineTextRefAtom

OEPlaceholderAtom (3998).

class
PersistPtrHolder

General holder for PersistPtrFullBlock and PersistPtrIncrementalBlock
  records.

class
PositionDependentRecordAtom

A special (and dangerous) kind of Record Atom that cares about where
  it lives on the disk, or who has other Atoms that care about where
  this is on the disk.

class
PPDrawing

These are actually wrappers onto Escher drawings.

class
PPDrawingGroup

Container records which always exists inside Document.

class
RoundTripHFPlaceholder12

An atom record that specifies that a shape is a header or footer placeholder shape

class
SlideAtom

A Slide Atom (type 1007).

class
SlidePersistAtom

A SlidePersist Atom (type 1011).

class
SoundData

Storage for embedded sounds.

class
SSSlideInfoAtom

A SlideShowSlideInfo Atom (type 1017).

 An atom record that specifies which transition effects to perform
 during a slide show, and how to advance to the next presentation slide.

 Combination of effectType and effectDirection:

 typedescriptiondirection
 0cut0x00 = no transition, 0x01 = black transition
 1random0x00
 2blinds0x00 = vertical, 0x01 = horizontal
 3checkerlike blinds
 4cover0x00 = left, 0x01 = up, 0x02 = right, 0x03 = down, 0x04 = left/up, 0x05 = right/up, 0x06 left/down, 0x07 = left/down
 5dissolve0x00
 6fade0x00
 7uncoverlike cover
 8random barslike blinds
 9stripslike 0x04 - 0x07 of cover
 10wipelike 0x00 - 0x03 of cover
 11box in/out0x00 = out, 0x01 = in
 13split0x00 = horizontally out, 0x01 = horizontally in, 0x02 = vertically out, 0x03 = vertically in
 17diamond0x00
 18plus0x00
 19wedge0x00
 20pushlike 0x00 - 0x03 of cover
 21comblike blinds
 22newsflash0x00
 23alphafade0x00
 26wheelnumber of radial divisions (0x01,0x02,0x03,0x04,0x08)
 27circle0x00
 255undefined0x00

class
StyleTextProp9Atom

The atom record that specifies additional text formatting.

class
StyleTextPropAtom

A StyleTextPropAtom (type 4001).

class
TextBytesAtom

A TextBytesAtom (type 4008).

class
TextCharsAtom

A TextCharsAtom (type 4000).

class
TextHeaderAtom

A TextHeaderAtom  (type 3999).

class
TextRulerAtom

Ruler of a text as it differs from the style's ruler settings.

class
TextSpecInfoAtom

The special info runs contained in this text.

class
TxInteractiveInfoAtom

Tne atom that holds starting and ending character positions of a hyperlink

class
TxMasterStyleAtom

TxMasterStyleAtom atom (4003).

class
UnknownRecordPlaceholder

If we come across a record we don't know about, we create one of
  these.

class
UserEditAtom

A UserEdit Atom (type 4085).

class
VBAInfoAtom

An atom record that specifies a reference to the VBA project storage.

Fields in org.apache.poi.hslf.record declared as RecordAtom

Modifier and Type
Field and Description

protected RecordAtom
ExEmbed.embedAtom

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

PREV

NEXT

FRAMES

NO FRAMES

All Classes

                Copyright 2016 The Apache Software Foundation or
        its licensors, as applicable.


text:
namespace cc {
class DelegatedFrameData;
class RenderPassSink;

class CC_EXPORT DelegatedRendererLayerImpl : public LayerImpl {
 public:
  static scoped_ptr<DelegatedRendererLayerImpl> Create(
      LayerTreeImpl* tree_impl, int id) {
    return make_scoped_ptr(new DelegatedRendererLayerImpl(tree_impl, id));
  }
  ~DelegatedRendererLayerImpl() override;

  // LayerImpl overrides.
  scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
  bool HasDelegatedContent() const override;
  bool HasContributingDelegatedRenderPasses() const override;
  RenderPassId FirstContributingRenderPassId() const override;
  RenderPassId NextContributingRenderPassId(
      RenderPassId previous) const override;
  void ReleaseResources() override;
  bool WillDraw(DrawMode draw_mode,
                ResourceProvider* resource_provider) override;
  void AppendQuads(RenderPass* render_pass,
                   AppendQuadsData* append_quads_data) override;
  void PushPropertiesTo(LayerImpl* layer) override;

  void AppendContributingRenderPasses(RenderPassSink* render_pass_sink);

  // Creates an ID with the resource provider for the child renderer
  // that will be sending quads to the layer. Registers the callback to
  // inform when resources are no longer in use.
  void CreateChildIdIfNeeded(const ReturnCallback& return_callback);

  void SetFrameData(const DelegatedFrameData* frame_data,
                    const gfx::Rect& damage_in_frame);

  float inverse_device_scale_factor() const {
    return inverse_device_scale_factor_;
  }

 protected:
  DelegatedRendererLayerImpl(LayerTreeImpl* tree_impl, int id);

  int ChildIdForTesting() const { return child_id_; }
  const RenderPassList& RenderPassesInDrawOrderForTesting() const {
    return render_passes_in_draw_order_;
  }
  const ResourceProvider::ResourceIdSet& ResourcesForTesting() const {
    return resources_;
  }

 private:
  void ClearChildId();

  void AppendRainbowDebugBorder(RenderPass* render_pass);

  void TakeOwnershipOfResourcesIfOnActiveTree(
      const ResourceProvider::ResourceIdSet& resources);
  void SetRenderPasses(RenderPassList* render_passes_in_draw_order);
  void ClearRenderPasses();

  // Returns |true| if the delegated_render_pass_id is part of the current
  // frame and can be converted.
  bool ConvertDelegatedRenderPassId(RenderPassId delegated_render_pass_id,
                                    RenderPassId* output_render_pass_id) const;

  void AppendRenderPassQuads(RenderPass* render_pass,
                             const RenderPass* delegated_render_pass,
                             const gfx::Size& frame_size) const;

  // LayerImpl overrides.
  const char* LayerTypeAsString() const override;

  bool have_render_passes_to_push_;
  float inverse_device_scale_factor_;
  RenderPassList render_passes_in_draw_order_;

  using RenderPassToIndexMap = base::hash_map<RenderPassId, size_t>;
  RenderPassToIndexMap render_passes_index_by_id_;
  ResourceProvider::ResourceIdSet resources_;

  int child_id_;
  bool own_child_id_;

  DISALLOW_COPY_AND_ASSIGN(DelegatedRendererLayerImpl);
};

}  // namespace cc

#endif  // CC_LAYERS_DELEGATED_RENDERER_LAYER_IMPL_H_


text:
#!/usr/bin/env python
from __future__ import unicode_literals

from mptt import VERSION

requires = (str('Django>=1.8'),)
try:
    from setuptools import setup
    kwargs = {str('install_requires'): requires}
except ImportError:
    from distutils.core import setup
    kwargs = {str('requires'): requires}

# Dynamically calculate the version based on mptt.VERSION
version_tuple = VERSION
version = ".".join(str(v) for v in version_tuple)

# on py3, all these are text strings
# on py2, they're all byte strings.
# ... and that's how setuptools likes it.
setup(
    name=str('django-mptt'),
    description=str('''Utilities for implementing Modified Preorder Tree Traversal
        with your Django Models and working with trees of Model instances.'''),
    version=version,
    author=str('Craig de Stigter'),
    author_email=str('craig.ds@gmail.com'),
    url=str('http://github.com/django-mptt/django-mptt'),
    packages=[str('mptt'), str('mptt.templatetags')],
    test_requires=('mock-django>=0.6.7',),
    package_data={str('mptt'): [str('templates/admin/*'), str('locale/*/*/*.*')]},
    classifiers=[
        str('Development Status :: 4 - Beta'),
        str('Environment :: Web Environment'),
        str('Framework :: Django'),
        str('Intended Audience :: Developers'),
        str('License :: OSI Approved :: MIT License'),
        str('Operating System :: OS Independent'),
        str('Programming Language :: Python'),
        str("Programming Language :: Python :: 2"),
        str("Programming Language :: Python :: 2.7"),
        str("Programming Language :: Python :: 3"),
        str("Programming Language :: Python :: 3.2"),
        str("Programming Language :: Python :: 3.3"),
        str("Programming Language :: Python :: 3.4"),
        str("Programming Language :: Python :: Implementation :: CPython"),
        str("Programming Language :: Python :: Implementation :: PyPy"),
        str('Topic :: Utilities'),
    ],
    **kwargs
)


text:
<?php

namespace WireMock\Client;

//
// If PHPUnit is on the include path, VerificationException extends AssertionFailedError (to automatically fail tests).
// If not, it just extends Exception (to prevent forcing a dependency on PHPUnit).
//
if (class_exists('PHPUnit_Framework_AssertionFailedError')) {
    class VerificationException extends \PHPUnit_Framework_AssertionFailedError
    {
    }
} else if (class_exists('\PHPUnit\Framework\AssertionFailedError')) {
    class VerificationException extends \PHPUnit\Framework\AssertionFailedError
    {
    }
} else {
    class VerificationException extends \Exception
    {
    }
}


text:
layout: post
title: Installing HPXCL with CUDA support
categories: blog
tags: [Building]
author: diehlpk
---
Prerequisites
=====

CUDA >= 7.0

HPX >= 0.9

CMake >= 3.0

Building HPXCL
=====
Get the development branch of HPXCL
{% highlight bash  %}
git clone https://github.com/STEllAR-GROUP/hpxcl.git
{% endhighlight %}
Configure it with CMake
{% highlight bash  %}
cd hpxcl
mkdir build
cd build
cmake \
-DHPXCL_WITH_CUDA=ON \
-DCUDA_TOOLKIT_ROOT_DIR=/opt/packages/cuda-7.0/ \
make -j
make install
{% endhighlight %}

Options:

Build examples:  `-DHPXCL_WITH_EXAMPLES` (default ON)

Build benchmark: `-DHPXCL_WITH_BENCHMARK` (default OFF)

Build documentation: `-DHPXCL_WITH_DOCUMENTATION` (default OFF)


text:
module Fog
  module Compute
    class Cloudstack
      class Network < Fog::Model
        identity  :id,                      :aliases => 'id'
        attribute :name,                    :aliases => 'name'
        attribute :display_text,            :aliases => 'displaytext'

        attribute :broadcast_domain_type,   :aliases => 'broadcastdomaintype'
        attribute :traffic_type,            :aliases => 'traffictype'
        attribute :gateway,                 :aliases => 'gateway'
        attribute :cidr,                    :aliases => 'cidr'
        attribute :zone_id,                 :aliases => 'zoneid'
        attribute :zone_name,               :aliases => 'zonename'

        attribute :network_offering_id,            :aliases => 'networkofferingid'
        attribute :network_offering_name,          :aliases => 'networkofferingname'
        attribute :network_offering_display_text,  :aliases => 'networkofferingdisplaytext'
        attribute :network_offering_conserve_mode, :aliases => 'networkofferingconservemode'
        attribute :network_offering_availability,  :aliases => 'networkofferingavailability'
        attribute :is_system,               :aliases => 'issystem', :type => :boolean
        attribute :state,                   :aliases => 'state'

        attribute :related,                 :aliases => 'related'
        attribute :dns1,                    :aliases => 'dns1'
        attribute :dns2,                    :aliases => 'dns2'
        attribute :type,                    :aliases => 'type'
        attribute :acl_type,                :aliases => 'acltype'
        attribute :project_id,              :aliases => 'projectid'
        attribute :domain_id,               :aliases => 'domainid'
        attribute :domain,                  :aliases => 'domain'

        # attribute :service,                 :aliases => 'service'
        attribute :network_domain,          :aliases => 'domain'
        attribute :physical_network_id,     :aliases => 'physicalnetworkid'
        attribute :restart_required,        :aliases => 'restartrequired'
        attribute :specify_ip_ranges,       :aliases => 'specifyipranges'
        attribute :canuse_for_deploy,       :aliases => 'canusefordeploy'
        attribute :is_persistent,           :aliases => 'ispersistent', :type => :boolean
        attribute :display_network,         :aliases => 'displaynetwork'

        # restart network - will return a job
        def restart(options={})
            response = service.restart_network( options.merge({'id'=> self.id}))
            service.jobs.new(response['restartnetworkresponse'])
        end

        # create a new network
        def save
          requires :display_text, :name, :network_offering_id, :zone_id

          options = {
            'displaytext'           => display_text,
            'name'                  => name,
            'zoneid'                => zone_id,
            'networkofferingid'     => network_offering_id
          }

          response = service.create_network(options)
          merge_attributes(response['createnetworkresponse']['network'])
        end

        # delete given network - will return a job
        def destroy(options={})
          response = service.delete_network(options.merge({'id'=> self.id}))
          service.jobs.new(response["deletenetworkresponse"])
        end

      end # Network
    end # Cloudstack
  end # Compute
end # Fog


text:
package net.packets;

import java.io.Serializable;

public class HelloServer implements Serializable
{
	private static final long serialVersionUID = -2762411968485177484L;
	private String username;
	private Side side;

	//-------------------------------------------------------------------------/
	//---- CONSTRUCTOR --------------------------------------------------------/
	//-------------------------------------------------------------------------/
	public HelloServer(String username, Side side)
	{
		super();
		this.username = username;
		this.side = side;
	}
	//-------------------------------------------------------------------------/
	//---- GETTERS AND SETTERS ------------------------------------------------/
	//-------------------------------------------------------------------------/
	public String getUsername()
	{
		return username;
	}
	public void setUsername(String username)
	{
		this.username = username;
	}
	public Side getSide()
	{
		return side;
	}
	public void setSide(Side side)
	{
		this.side = side;
	}

}


text:
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;
import java.util.Arrays;

import org.json.JSONException;
import org.json.JSONObject;

public final class WikidataUtil {
  private static final String[] WIKIS = new String[]{
    "aawikibooks", "afwikibooks", "afwikiquote", "akwikibooks", "alswikibooks", "alswikiquote", "amwikiquote", "angwikibooks",
    "angwikiquote", "angwikisource", "arwikibooks", "arwikinews", "arwikiquote", "arwikisource", "arwikiversity", "astwikibooks",
    "astwikiquote", "aswikibooks", "aswikisource", "aywikibooks", "azwikibooks", "azwikiquote", "azwikisource", "bawikibooks", "bewikibooks",
    "bewikiquote", "bewikisource", "bgwikibooks", "bgwikinews", "bgwikiquote", "bgwikisource", "biwikibooks", "bmwikibooks", "bmwikiquote",
    "bnwikibooks", "bnwikisource", "bowikibooks", "brwikiquote", "brwikisource", "bswikibooks", "bswikinews",
    "bswikiquote", "bswikisource", "cawikibooks", "cawikinews", "cawikiquote", "cawikisource", "chwikibooks", "commonswiki",
    "cowikibooks", "cowikiquote", "crwikiquote", "cswikibooks", "cswikinews", "cswikiquote", "cswikisource", "cswikiversity", "cvwikibooks",
    "cywikibooks", "cywikiquote", "cywikisource", "dawikibooks", "dawikiquote", "dawikisource", "dewikibooks", "dewikinews",
    "dewikiquote", "dewikisource", "dewikiversity", "dewikivoyage", "elwikibooks", "elwikinews", "elwikiquote", "elwikisource", "elwikiversity", "elwikivoyage",
    "enwikibooks", "enwikinews", "enwikiquote", "enwikisource", "enwikiversity", "enwikivoyage", "eowikibooks", "eowikinews", "eowikiquote",
    "eowikisource", "eswikibooks", "eswikinews", "eswikiquote", "eswikisource", "eswikiversity", "eswikivoyage", "etwikibooks", "etwikiquote",
    "etwikisource", "euwikibooks", "euwikiquote", "fawikibooks", "fawikinews", "fawikiquote", "fawikisource", "fawikivoyage",
    "fiwikibooks", "fiwikinews", "fiwikiquote", "fiwikisource", "fiwikiversity", "fowikisource", "frwikibooks", "frwikinews", "frwikiquote",
    "frwikisource", "frwikiversity", "frwikivoyage", "fywikibooks", "gawikibooks", "gawikiquote", "glwikibooks", "glwikiquote", "glwikisource",
    "gnwikibooks", "gotwikibooks", "guwikibooks", "guwikiquote", "guwikisource", "hewikibooks", "hewikinews", "hewikiquote",
    "hewikisource", "hewikivoyage", "hiwikibooks", "hiwikiquote", "hrwikibooks", "hrwikiquote", "hrwikisource", "htwikisource",
    "huwikibooks", "huwikinews", "huwikiquote", "huwikisource", "hywikibooks", "hywikiquote", "hywikisource", "iawikibooks",
    "idwikibooks", "idwikiquote", "idwikisource", "iewikibooks", "iswikibooks", "iswikiquote", "iswikisource", "itwikibooks",
    "itwikinews", "itwikiquote", "itwikisource", "itwikiversity", "itwikivoyage", "jawikibooks", "jawikinews", "jawikiquote", "jawikisource",
    "jawikiversity", "kawikibooks", "kawikiquote", "kkwikibooks", "kkwikiquote", "kmwikibooks", "knwikibooks", "knwikiquote", "knwikisource",
    "kowikibooks", "kowikinews", "kowikiquote", "kowikisource", "kowikiversity", "krwikiquote", "kswikibooks", "kswikiquote", "kuwikibooks",
    "kuwikiquote", "kwwikiquote", "kywikibooks", "kywikiquote", "lawikibooks", "lawikiquote", "lawikisource", "lbwikibooks",
    "lbwikiquote", "liwikibooks", "liwikiquote", "liwikisource", "lnwikibooks", "ltwikibooks", "ltwikiquote", "ltwikisource",
    "lvwikibooks", "mediawikiwiki", "metawiki", "mgwikibooks", "miwikibooks", "mkwikibooks", "mkwikisource", "mlwikibooks",
    "mlwikiquote", "mlwikisource", "mnwikibooks", "mrwikibooks", "mrwikiquote", "mrwikisource", "mswikibooks", "mywikibooks",
    "nahwikibooks", "nawikibooks", "nawikiquote", "ndswikibooks", "ndswikiquote", "newikibooks", "nlwikibooks", "nlwikinews",
    "nlwikiquote", "nlwikisource", "nlwikivoyage", "nnwikiquote", "nowikibooks", "nowikinews", "nowikiquote", "nowikisource",
    "ocwikibooks", "orwikisource", "pawikibooks", "plwikibooks", "plwikinews", "plwikiquote", "plwikisource", "plwikivoyage",
    "pswikibooks", "ptwikibooks", "ptwikinews", "ptwikiquote", "ptwikisource", "ptwikiversity", "ptwikivoyage", "quwikibooks", "quwikiquote",
    "rmwikibooks", "rowikibooks", "rowikinews", "rowikiquote", "rowikisource", "rowikivoyage", "ruwikibooks", "ruwikinews",
    "ruwikiquote", "ruwikisource", "ruwikiversity", "ruwikivoyage", "sahwikisource", "sawikibooks", "sawikiquote", "sawikisource", "sdwikinews",
    "sewikibooks", "simplewikibooks", "simplewikiquote", "siwikibooks", "skwikibooks", "skwikiquote", "skwikisource",
    "slwikibooks", "slwikiquote", "slwikisource", "slwikiversity", "specieswiki", "sqwikibooks", "sqwikinews", "sqwikiquote", "srwikibooks",
    "srwikinews", "srwikiquote", "srwikisource", "suwikibooks", "suwikiquote", "svwikibooks", "svwikinews", "svwikiquote",
    "svwikisource", "svwikiversity", "svwikivoyage", "swwikibooks", "tawikibooks", "tawikinews", "tawikiquote", "tawikisource", "tewikibooks",
    "tewikiquote", "tewikisource", "tgwikibooks", "thwikibooks", "thwikinews", "thwikiquote", "thwikisource", "tkwikibooks",
    "tkwikiquote", "tlwikibooks", "trwikibooks", "trwikinews", "trwikiquote", "trwikisource", "ttwikibooks", "ttwikiquote",
    "ugwikibooks", "ugwikiquote", "ukwikibooks", "ukwikinews", "ukwikiquote", "ukwikisource", "ukwikivoyage", "urwikibooks",
    "urwikiquote", "uzwikibooks", "uzwikiquote", "vecwikisource", "viwikibooks", "viwikiquote", "viwikisource", "viwikivoyage",
    "vowikibooks", "vowikiquote", "wawikibooks", "wikidatawiki", "wowikiquote", "xhwikibooks", "yiwikisource", "yowikibooks",
    "zawikibooks", "zawikiquote", "zh_min_nanwikibooks", "zh_min_nanwikiquote", "zh_min_nanwikisource", "zhwikibooks",
    "zhwikinews", "zhwikiquote", "zhwikisource", "zhwikivoyage", "zuwikibooks", "aawiki", "abwiki", "acewiki", "afwiki", "akwiki",
    "alswiki", "amwiki", "anwiki", "angwiki", "arwiki", "arcwiki", "arzwiki", "aswiki", "astwiki", "avwiki", "aywiki", "azwiki",
    "bawiki", "barwiki", "bat_smgwiki", "bclwiki", "bewiki", "be_x_oldwiki", "bgwiki", "bhwiki", "biwiki", "bjnwiki", "bmwiki",
    "bnwiki", "bowiki", "bpywiki", "brwiki", "bswiki", "bugwiki", "bxrwiki", "cawiki", "cbk_zamwiki", "cdowiki", "cewiki", "cebwiki",
    "chwiki", "chowiki", "chrwiki", "chywiki", "ckbwiki", "cowiki", "crwiki", "crhwiki", "cswiki", "csbwiki", "cuwiki", "cvwiki",
    "cywiki", "dawiki", "dewiki", "diqwiki", "dsbwiki", "dvwiki", "dzwiki", "eewiki", "elwiki", "emlwiki", "enwiki", "eowiki", "eswiki",
    "etwiki", "euwiki", "extwiki", "fawiki", "ffwiki", "fiwiki", "fiu_vrowiki", "fjwiki", "fowiki", "frwiki", "frpwiki", "frrwiki",
    "furwiki", "fywiki", "gawiki", "gagwiki", "ganwiki", "gdwiki", "glwiki", "glkwiki", "gnwiki", "gotwiki", "guwiki", "gvwiki",
    "hawiki", "hakwiki", "hawwiki", "hewiki", "hiwiki", "hifwiki", "howiki", "hrwiki", "hsbwiki", "htwiki", "huwiki", "hywiki",
    "hzwiki", "iawiki", "idwiki", "iewiki", "igwiki", "iiwiki", "ikwiki", "ilowiki", "iowiki", "iswiki", "itwiki", "iuwiki", "jawiki",
    "jbowiki", "jvwiki", "kawiki", "kaawiki", "kabwiki", "kbdwiki", "kgwiki", "kiwiki", "kjwiki", "kkwiki", "klwiki", "kmwiki",
    "knwiki", "kowiki", "koiwiki", "krwiki", "krcwiki", "kswiki", "kshwiki", "kuwiki", "kvwiki", "kwwiki", "kywiki", "lawiki",
    "ladwiki", "lbwiki", "lbewiki", "lezwiki", "lgwiki", "liwiki", "lijwiki", "lmowiki", "lnwiki", "lowiki", "ltwiki", "ltgwiki",
    "lvwiki", "maiwiki", "map_bmswiki", "mdfwiki", "mgwiki", "mhwiki", "mhrwiki", "miwiki", "minwiki", "mkwiki", "mlwiki", "mnwiki",
    "mowiki", "mrwiki", "mrjwiki", "mswiki", "mtwiki", "muswiki", "mwlwiki", "mywiki", "myvwiki", "mznwiki", "nawiki", "nahwiki",
    "napwiki", "ndswiki", "nds_nlwiki", "newiki", "newwiki", "ngwiki", "nlwiki", "nnwiki", "nowiki", "novwiki", "nrmwiki", "nsowiki",
    "nvwiki", "nywiki", "ocwiki", "omwiki", "orwiki", "oswiki", "pawiki", "pagwiki", "pamwiki", "papwiki", "pcdwiki", "pdcwiki",
    "pflwiki", "piwiki", "pihwiki", "plwiki", "pmswiki", "pnbwiki", "pntwiki", "pswiki", "ptwiki", "quwiki", "rmwiki", "rmywiki",
    "rnwiki", "rowiki", "roa_rupwiki", "roa_tarawiki", "ruwiki", "ruewiki", "rwwiki", "sawiki", "sahwiki", "scwiki", "scnwiki",
    "scowiki", "sdwiki", "sewiki", "sgwiki", "shwiki", "siwiki", "simplewiki", "skwiki", "slwiki", "smwiki", "snwiki", "sowiki",
    "sqwiki", "srwiki", "srnwiki", "sswiki", "stwiki", "stqwiki", "suwiki", "svwiki", "swwiki", "szlwiki", "tawiki", "tewiki",
    "tetwiki", "tgwiki", "thwiki", "tiwiki", "tkwiki", "tlwiki", "tnwiki", "towiki", "tpiwiki", "trwiki", "tswiki", "ttwiki", "tumwiki",
    "twwiki", "tywiki", "tyvwiki", "udmwiki", "ugwiki", "ukwiki", "urwiki", "uzwiki", "vewiki", "vecwiki", "vepwiki", "viwiki",
    "vlswiki", "vowiki", "wawiki", "warwiki", "wowiki", "wuuwiki", "xalwiki", "xhwiki", "xmfwiki", "yiwiki", "yowiki", "zawiki",
    "zeawiki", "zhwiki", "zh_classicalwiki", "zh_min_nanwiki", "zh_yuewiki", "zuwiki", "lrcwiki", "gomwiki", "azbwiki", "adywiki",
  };
  public static final String getWikidataID(final String wikiName, final String pageTitle) throws IOException, JSONException {
    if (wikiName == null || !Arrays.asList(WIKIS).contains(wikiName)) {
      throw new IllegalArgumentException(String.format("Invalid wiki name '%s'", wikiName));
    }
    try {
      URL u = new URL("https://www.wikidata.org/w/api.php?action=wbgetentities&format=json&sites="+wikiName+"&titles="+URLEncoder.encode(""+pageTitle, "UTF-8")+"&props=info&redirects=yes&normalize=");
      URLConnection c = u.openConnection();
      c.setRequestProperty("User-Agent", "FAST2mixnmatch/0.1");
      BufferedReader reader = new BufferedReader(new InputStreamReader(new BufferedInputStream(c.getInputStream())));
      StringBuilder stringResult = new StringBuilder();
      String buffer = "";
      while ((buffer = reader.readLine()) != null) {
        stringResult.append(buffer);
      }
      JSONObject jsonResult = new JSONObject(stringResult.toString());
      if (jsonResult.getInt("success") == 1) {
        String[] ids =  JSONObject.getNames(jsonResult.getJSONObject("entities"));
        if (ids != null && ids.length >= 1) {
          if (ids.length > 1) {
            throw new IllegalArgumentException("More than one Wikidata ID for '"+pageTitle+"' found");
          }
          return ids[0];
        }
      } else {
        System.out.println("Query to wikidata server was unsuccessful!");
      }

    } catch (UnsupportedEncodingException | MalformedURLException e) {
      System.out.println("This should normally not happen! Either the encoding is unsupported or the URL malformed: "+e.getClass().getName());
    }
    return null;
  }
}


text:
FROM debian:stable

RUN apt-get update
RUN apt-get install -y \
    llvm \
    llvm-dev \
    cmake \
    clang \
    pkg-config \
    gdb \
    vim \
    rlwrap \
    zlib1g \
    zlib1g-dev

RUN mkdir /build
COPY ./ /build/
WORKDIR /build
ARG Dale_VERSION_REV=0
RUN Dale_VERSION_REV=${Dale_VERSION_REV} \
    cmake \
    -DLLVM_CONFIG=/usr/bin/llvm-config \
    -DCMAKE_BUILD_TYPE=Release \
    .
RUN make -j8
RUN make install
CMD sleep 1 && rlwrap daleci


text:
package com.haulmont.cuba.web.widgets.client.gridlayout;

import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Node;
import com.google.gwt.dom.client.NodeList;
import com.google.gwt.dom.client.Style;
import com.google.gwt.user.client.ui.Widget;
import com.haulmont.cuba.web.widgets.client.button.CubaButtonWidget;
import com.vaadin.client.ComponentConnector;
import com.vaadin.client.ui.ManagedLayout;
import com.vaadin.client.ui.layout.ComponentConnectorLayoutSlot;

import javax.annotation.Nullable;

public class CubaGridLayoutSlot extends ComponentConnectorLayoutSlot {

    public CubaGridLayoutSlot(String baseClassName, ComponentConnector child, ManagedLayout layout) {
        super(baseClassName, child, layout);
    }

    @Override
    public int getWidgetHeight() {
        Widget widget = getChild().getWidget();
        if (widget instanceof CubaButtonWidget) {
            return getButtonHeight((CubaButtonWidget) widget);
        }

        return super.getWidgetHeight();
    }

    protected int getWidgetHeight(Widget widget) {
        return getLayoutManager()
                .getOuterHeight(widget.getElement());
    }

    protected int getButtonHeight(CubaButtonWidget widget) {
        Element element = widget.getElement();
        if (!element.hasClassName("link")) {
            return getWidgetHeight(widget);
        }

        Element captionElement = findLinkButtonCaptionElement(element);
        if (captionElement == null) {
            return getWidgetHeight(widget);
        }
        // The LinkButton component has an ability to wrap caption onto multiple rows.
        // Thus, at the first recalculation of the heights for the slots, the "getWidgetHeight()" call
        // returns an invalid multiline component height.
        // In order to calculate the really required caption height, regardless of the 'white-space' mode,
        // we need to explicitly set it to 'nowrap'. After calculation, it's reverted back.
        Style style = captionElement.getStyle();
        String prevWhiteSpace = style.getWhiteSpace();
        style.setWhiteSpace(Style.WhiteSpace.NOWRAP);
        int buttonHeight = element.getOffsetHeight();

        if (prevWhiteSpace != null && !prevWhiteSpace.isEmpty()) {
            style.setWhiteSpace(Style.WhiteSpace.valueOf(prevWhiteSpace));
        } else {
            style.clearWhiteSpace();
        }

        return buttonHeight;
    }

    @Nullable
    protected Element findLinkButtonCaptionElement(Element linkButtonElement) {
        Element buttonWrapElement = findElementByClassName(linkButtonElement, "v-button-wrap");
        if (buttonWrapElement != null) {
            return findElementByClassName(buttonWrapElement, "v-button-caption");
        }
        return null;
    }

    @Nullable
    protected Element findElementByClassName(Element element, String className) {
        if (element == null) {
            return null;
        }

        if (element.getClassName().contains(className)) {
            return element;
        }

        NodeList<Node> childNodes = element.getChildNodes();
        for (int i = 0; i < childNodes.getLength(); i++) {
            Node child = childNodes.getItem(i);
            if (child instanceof Element) {
                Element childElement = findElementByClassName((Element) child, className);
                if (childElement != null) {
                    return childElement;
                }
            }
        }
        return null;
    }
}


text:
#region Licence

#endregion

using Topshelf;

namespace TaskMailer.Adapters.ServiceHost
{
    internal class Program
    {
        public static void Main()
        {
            HostFactory.Run(x => x.Service<TaskMailerService>(sc =>
               {
                   sc.ConstructUsing(() => new TaskMailerService());

                   // the start and stop methods for the service
                   sc.WhenStarted((s, hostcontrol) => s.Start(hostcontrol));
                   sc.WhenStopped((s, hostcontrol) => s.Stop(hostcontrol));

                   // optional, when shutdown is supported
                   sc.WhenShutdown((s, hostcontrol) => s.Shutdown(hostcontrol));
               }));
        }
    }
}


text:
$('.login-input').on('focus', function() {
  $('.login').addClass('focused');
});

$('.login').on('submit', function(e) {
  e.preventDefault();
  $('.login').removeClass('focused').addClass('loading');
});


text:
class AddRejectReasonToProjects < ActiveRecord::Migration
  def change
    add_column :projects, :reject_reason, :text
  end
end


text:
using namespace std;
using namespace tpool;

TEST(BoundedBlockingQueueTestSuite, test_ctor)
{
    {
        BoundedBlockingQueue<int> b_queue(4);
        ASSERT_EQ(static_cast<size_t>(0), b_queue.Size());
        ASSERT_EQ(4, b_queue.MaxSize());
        ASSERT_TRUE(b_queue.IsEmpty());
        ASSERT_FALSE(b_queue.IsFull());
    }

    {
        queue<int> container;
        container.push(1);
        container.push(2);

        BoundedBlockingQueue<int> b_queue(4, container);
        ASSERT_EQ(static_cast<size_t>(container.size()), b_queue.Size());
        size_t queue_size = b_queue.Size();
        for (size_t i = 0; i < queue_size; ++i)
        {
            ASSERT_EQ(container.front(), b_queue.Front());
            container.pop();
            b_queue.Pop();
        }
    }

    {
        queue<int>::container_type container;
        container.push_back(1);
        container.push_back(2);
        container.push_back(3);
        container.push_back(4);

        BoundedBlockingQueue<int> b_queue(4, container);
        ASSERT_EQ(static_cast<size_t>(container.size()), b_queue.Size());
        size_t queue_size = b_queue.Size();
        for (size_t i = 0; i < queue_size; ++i)
        {
            ASSERT_EQ(container.front(), b_queue.Front());
            container.pop_front();
            b_queue.Pop();
        }
    }
}

TEST(BoundedBlockingQueueTestSuite, test_Push)
{
    int numbers[] = {5, 4, 3, 1, 6};
    size_t num_size = sizeof(numbers) / sizeof(int);

    BoundedBlockingQueue<int> b_queue(num_size);
    for (size_t i = 0; i < num_size; ++i)
    {
        b_queue.Push(numbers[i]);
    }

    ASSERT_EQ(num_size, b_queue.Size());

    for (size_t i = 0; i < num_size; ++i)
    {
        ASSERT_EQ(numbers[i], b_queue.Pop());
    }
}

namespace {

template<typename T>
struct PushThreadFunc {
    const vector<T>& elems;
    BoundedBlockingQueue<T>& blocking_queue;

    PushThreadFunc(const vector<T>& e, BoundedBlockingQueue<T>& q)
    : elems(e), blocking_queue(q)
    {}

    virtual ~PushThreadFunc() {}

    virtual void DoRun()
    {
        for (size_t i = 0; i < elems.size(); ++i)
        {
            blocking_queue.Push(elems[i]);
        }
    }

    void operator()()
    {
        DoRun();
    }
};

}

TEST(BoundedBlockingQueueTestSuite, test_blocking_Push)
{
    int numbers[] = {5, 4, 3, 1, 6};
    size_t num_size = sizeof(numbers) / sizeof(int);
    vector<int> num_vec(numbers, numbers + num_size);
    ASSERT_EQ(num_size, static_cast<size_t>(num_vec.size()));

    BoundedBlockingQueue<int> b_queue(num_size - 1);
    {
        Thread t1((PushThreadFunc<int>(num_vec, b_queue)));
        unittest::MilliSleep(500);
        ASSERT_TRUE(b_queue.IsFull());
        ASSERT_EQ(num_size - 1, b_queue.Size());

        ASSERT_EQ(numbers[0], b_queue.Pop());
    }

    ASSERT_TRUE(b_queue.IsFull());
    ASSERT_EQ(num_size - 1, b_queue.Size());

    for (size_t i = 0; i < num_size - 1; ++i)
    {
        ASSERT_EQ(numbers[i + 1], b_queue.Pop());
    }
}

TEST(BoundedBlockingQueueTestSuite, test_NonblockingPush)
{
    int numbers[] = {5, 4, 3, 1, 6};
    size_t num_size = sizeof(numbers) / sizeof(int);

    BoundedBlockingQueue<int> b_queue(num_size - 1);
    for (size_t i = 0; i < num_size - 1; ++i)
    {
        ASSERT_FALSE(b_queue.IsFull());
        ASSERT_TRUE(b_queue.NonblockingPush(numbers[i]));
    }
    ASSERT_TRUE(b_queue.IsFull());
    ASSERT_EQ(num_size - 1, b_queue.Size());

    ASSERT_FALSE(b_queue.NonblockingPush(numbers[num_size - 1]));
    ASSERT_TRUE(b_queue.IsFull());
    ASSERT_EQ(num_size - 1, b_queue.Size());
    for (size_t i = 0; i < num_size - 1; ++i)
    {
        ASSERT_EQ(numbers[i], b_queue.Pop());
    }
}

TEST(BoundedBlockingQueueTestSuite, test_NonblockingPop)
{
    int numbers[] = {5, 4, 3, 1, 6};
    size_t num_size = sizeof(numbers) / sizeof(int);

    BoundedBlockingQueue<int> b_queue(num_size);
    ASSERT_FALSE(b_queue.IsFull());
    ASSERT_TRUE(b_queue.NonblockingPush(numbers[0]));

    int tmp_num = 0;
    ASSERT_TRUE(b_queue.NonblockingPop(tmp_num));
    ASSERT_EQ(numbers[0], tmp_num);
    ASSERT_TRUE(b_queue.IsEmpty());

    ASSERT_FALSE(b_queue.NonblockingPop(tmp_num));
    ASSERT_TRUE(b_queue.IsEmpty());
}

TEST(BoundedBlockingQueueTestSuite, test_NonblockingFront)
{
    BoundedBlockingQueue<int> b_queue(4);
    ASSERT_FALSE(b_queue.IsFull());
    ASSERT_TRUE(b_queue.IsEmpty());

    int tmp_num = 0;
    ASSERT_FALSE(b_queue.NonblockingFront(tmp_num));
    ASSERT_FALSE(b_queue.IsFull());
    ASSERT_TRUE(b_queue.IsEmpty());
}

TEST(BoundedBlockingQueueTestSuite, test_concurrent_blocking_push)
{
    int num_array[] = {1, 4, 5, 3, 7, 8};
    size_t array_size = sizeof(num_array) / sizeof(int);
    vector<int> numbers(num_array, num_array + array_size);
    ASSERT_EQ(array_size, static_cast<size_t>(numbers.size()));

    BoundedBlockingQueue<int> b_queue(array_size * 2 - 4);
    ASSERT_EQ(array_size * 2 - 4, b_queue.MaxSize());

    {
        Thread t1((PushThreadFunc<int>(numbers, b_queue)));
        Thread t2((PushThreadFunc<int>(numbers, b_queue)));
        unittest::MilliSleep(500);
        ASSERT_EQ(b_queue.MaxSize(), b_queue.Size());

        for (int i = 0; i < 4; ++i)
        {
            (void) b_queue.Pop();
        }
    }

    ASSERT_EQ(b_queue.MaxSize(), b_queue.Size());
}

namespace {

template<typename T>
struct PopThreadFunc {
    size_t pop_count;
    BoundedBlockingQueue<T>& blocking_queue;

    PopThreadFunc(size_t cnt, BoundedBlockingQueue<T>& q)
    : pop_count(cnt), blocking_queue(q)
    {}

    void operator()()
    {
        for (size_t i = 0; i < pop_count; ++i)
        {
            (void) blocking_queue.Front();
            (void) blocking_queue.Pop();
        }
    }
};

}

TEST(BoundedBlockingQueueTestSuite, test_concurrent_Push_Pop)
{
    int num_array[] = {1, 4, 5, 3, 7, 8};
    size_t array_size = sizeof(num_array) / sizeof(int);
    vector<int> numbers(num_array, num_array + array_size);
    ASSERT_EQ(array_size, static_cast<size_t>(numbers.size()));

    BoundedBlockingQueue<int> b_queue(array_size * 2 - 4);
    {
        Thread t1((PushThreadFunc<int>(numbers, b_queue)));
        Thread t2((PushThreadFunc<int>(numbers, b_queue)));
        Thread t3((PopThreadFunc<int>(array_size * 2, b_queue)));
    }

    ASSERT_EQ(0, static_cast<size_t>(b_queue.Size()));
}


text:
Param(
  [string] $GuardianCliLocation,
  [string] $WorkingDirectory,
  [string] $TargetDirectory,
  [string] $GdnFolder,
  [string[]] $ToolsList,
  [string] $UpdateBaseline,
  [string] $GuardianLoggerLevel="Standard",
  [string[]] $CrScanAdditionalRunConfigParams,
  [string[]] $PoliCheckAdditionalRunConfigParams
)

$ErrorActionPreference = "Stop"
Set-StrictMode -Version 2.0
$LASTEXITCODE = 0

# We store config files in the r directory of .gdn
Write-Host $ToolsList
$gdnConfigPath = Join-Path $GdnFolder "r"
$ValidPath = Test-Path $GuardianCliLocation

if ($ValidPath -eq $False)
{
  Write-Host "Invalid Guardian CLI Location."
  exit 1
}

$configParam = @("--config")

foreach ($tool in $ToolsList) {
  $gdnConfigFile = Join-Path $gdnConfigPath "$tool-configure.gdnconfig"
  Write-Host $tool
  # We have to manually configure tools that run on source to look at the source directory only
  if ($tool -eq "credscan") {
    Write-Host "$GuardianCliLocation configure --working-directory $WorkingDirectory --tool $tool --output-path $gdnConfigFile --logger-level $GuardianLoggerLevel --noninteractive --force --args `" TargetDirectory : $TargetDirectory `" `" OutputType : pre `" $(If ($CrScanAdditionalRunConfigParams) {$CrScanAdditionalRunConfigParams})"
    & $GuardianCliLocation configure --working-directory $WorkingDirectory --tool $tool --output-path $gdnConfigFile --logger-level $GuardianLoggerLevel --noninteractive --force --args " TargetDirectory : $TargetDirectory " "OutputType : pre" $(If ($CrScanAdditionalRunConfigParams) {$CrScanAdditionalRunConfigParams})
    if ($LASTEXITCODE -ne 0) {
      Write-Host "Guardian configure for $tool failed with exit code $LASTEXITCODE."
      exit $LASTEXITCODE
    }
  }
  if ($tool -eq "policheck") {
    Write-Host "$GuardianCliLocation configure --working-directory $WorkingDirectory --tool $tool --output-path $gdnConfigFile --logger-level $GuardianLoggerLevel --noninteractive --force --args `" Target : $TargetDirectory `" $(If ($PoliCheckAdditionalRunConfigParams) {$PoliCheckAdditionalRunConfigParams})"
    & $GuardianCliLocation configure --working-directory $WorkingDirectory --tool $tool --output-path $gdnConfigFile --logger-level $GuardianLoggerLevel --noninteractive --force --args " Target : $TargetDirectory " $(If ($PoliCheckAdditionalRunConfigParams) {$PoliCheckAdditionalRunConfigParams})
    if ($LASTEXITCODE -ne 0) {
      Write-Host "Guardian configure for $tool failed with exit code $LASTEXITCODE."
      exit $LASTEXITCODE
    }
  }

  $configParam+=$gdnConfigFile
}

Write-Host "$GuardianCliLocation run --working-directory $WorkingDirectory --baseline mainbaseline --update-baseline $UpdateBaseline --logger-level $GuardianLoggerLevel $configParam"
& $GuardianCliLocation run --working-directory $WorkingDirectory --tool $tool --baseline mainbaseline --update-baseline $UpdateBaseline --logger-level $GuardianLoggerLevel $configParam
if ($LASTEXITCODE -ne 0) {
  Write-Host "Guardian run for $ToolsList using $configParam failed with exit code $LASTEXITCODE."
  exit $LASTEXITCODE
}


text:
import Api from '@/services/Api'

export default {
  index (bookmark) {
    return Api().get('bookmarks', {
      params: bookmark
    })
  },

  post (bookmark) {
    return Api().post('bookmarks', bookmark)
  },

  delete (bookmarkId) {
    return Api().delete(`bookmarks/${bookmarkId}`)
  }
}


text:
cask "mysides" do
  version "1.0.1"
  sha256 "76946b8f7c5bf714125d75f1ada8140e034f05a9e288c73a7af445d76c2a5514"

  url "https://github.com/mosen/mysides/releases/download/v#{version}/mysides-#{version}.pkg"
  appcast "https://github.com/mosen/mysides/releases.atom"
  name "mysides"
  homepage "https://github.com/mosen/mysides"

  pkg "mysides-#{version}.pkg"

  uninstall pkgutil: "com.github.mosen.mysides"
end


text:
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Autodesk.Revit.ApplicationServices;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.UI.Selection;
using System.Linq;
using BuildingCoder;

#endregion

namespace WallProfileForBuildingCoder
{
    [Transaction(TransactionMode.Manual)]
    public class CmdWallProfile : IExternalCommand
    {
        public Result Execute(
          ExternalCommandData commandData,
          ref string message,
          ElementSet elements)
        {
            UIApplication uiapp = commandData.Application;
            UIDocument uidoc = uiapp.ActiveUIDocument;
            Application app = uiapp.Application;
            Document doc = uidoc.Document;
            View view = doc.ActiveView;

            Autodesk.Revit.Creation.Application creapp
              = app.Create;

            Autodesk.Revit.Creation.Document credoc
              = doc.Create;

            Reference r = uidoc.Selection.PickObject(
              ObjectType.Element, "Select a wall");

            Element e = uidoc.Document.GetElement(r);

            Creator creator = new Creator(doc);

            Wall wall = e as Wall;
            if (wall == null)
                return Result.Cancelled;

            using (Transaction tx = new Transaction(doc))
            {
                tx.Start("Wall Profile");

                // Get the external wall face for the profile
                // a little bit simpler than in the last realization

                Reference sideFaceReference = HostObjectUtils.GetSideFaces(wall, ShellLayerType.Exterior).First();

                Face face = (Face)wall.GetGeometryObjectFromReference(sideFaceReference);

                // The normal of the wall external face.

                XYZ normal = wall.Orientation;

                // Offset curve copies for visibility.

                Transform offset = Transform.CreateTranslation(
                  5 * normal);

                // If the curve loop direction is counter-
                // clockwise, change its color to RED.

                Color colorRed = new Color(255, 0, 0);

                // Get edge loops as curve loops.

                IList<CurveLoop> curveLoops
                  = face.GetEdgesAsCurveLoops();

                foreach (var curveLoop in curveLoops)
                {
                    CurveArray curves = creapp.NewCurveArray();

                    foreach (Curve curve in curveLoop)
                        curves.Append(curve.CreateTransformed(offset));

                    var isCounterClockwize = curveLoop.IsCounterclockwise(normal);

                    // Create model lines for an curve loop if it is made

                    if (((LocationCurve) wall.Location).Curve is Line)
                    {
                        Plane plane = creapp.NewPlane(curves);

                        SketchPlane sketchPlane
                            = SketchPlane.Create(doc, plane);

                        ModelCurveArray curveElements
                            = credoc.NewModelCurveArray(curves,
                                                        sketchPlane);

                        if (isCounterClockwize)
                            foreach (ModelCurve mcurve in curveElements)
                                SetModelCurveColor(mcurve, view, colorRed);
                    }
                    else
                        foreach (var curve in curves.Cast<Curve>())
                        {
                            var modelCurve = creator.CreateModelCurve(curve);
                            if (isCounterClockwize)
                                SetModelCurveColor(modelCurve, view, colorRed);
                        }
                }

                tx.Commit();
            }

            return Result.Succeeded;
        }

        private void SetModelCurveColor(ModelCurve modelCurve, View view, Color color)
        {
            OverrideGraphicSettings overrides
                                    = view.GetElementOverrides(
                                        modelCurve.Id);

            overrides.SetProjectionLineColor(
                color);

            view.SetElementOverrides(
                modelCurve.Id, overrides);
        }
    }
}


text:
using SIS.HTTP.Enums;
using System;

namespace SIS.MvcFramework.Attributes
{
    public abstract class BaseHttpAttribute : Attribute
    {
        public string ActionName { get; set; }

        public string Url { get; set; }

        public abstract HttpRequestMethod Method { get; }
    }
}


text:
<?xml version="1.0"?>
<flex-config xmlns="http://www.adobe.com/2006/flex-config">

	<!-- Main class -->
	<file-specs>
		<path-element>src\com\pirkadat\ui\Main.as</path-element>
	</file-specs>

	<!-- Output file name -->
	<output>bin\debug.swf</output>

	<!-- Canvas size -->
	<default-size>
		<width>1024</width>
		<height>640</height>
	</default-size>

	<!-- Background color -->
	<default-background-color>0x000000</default-background-color>

	<!-- Frame rate -->
	<default-frame-rate>25</default-frame-rate>

	<!-- Use network -->
	<use-network>false</use-network>

	<!-- Target player: edit external-library-path!!! -->
	<target-player>10.1.53</target-player>

	<compiler>
		<!--<external-library-path>
			<path-element>${flexlib}\libs\player\10.0\playerglobal.swc</path-element>
		</external-library-path>-->

		<!-- Debug -->
		<debug>true</debug>

		<!-- Opimize -->
		<optimize>false</optimize>

		<!-- Conditional compilation -->
		<define>
			<name>C::debug</name>
			<value>true</value>
		</define>
		<define>
			<name>C::release</name>
			<value>!C::debug</value>
		</define>

		<!-- Include libraries -->
		<!--
		<include-libraries>
			<library>string</library>
		</include-libraries>
		-->

		<!-- Incremental compilation -->
		<incremental>false</incremental>

		<!-- Source path -->
		<source-path append="true">
			<path-element>.\src</path-element>
		</source-path>
	</compiler>

	<!-- Frames -->
	<frames>
		<frame>
			<label>BigBunch</label>
			<classname>com.pirkadat.ui.Gui</classname>
		</frame>
	</frames>

	<!-- Script limits -->
	<default-script-limits>
		<max-recursion-depth>1000</max-recursion-depth>
		<max-execution-time>30</max-execution-time>
	</default-script-limits>

</flex-config>