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">
    <modelVersion>4.0.0</modelVersion>
    <artifactId>edu.wpi.first.wpilib.plugins.java</artifactId>
    <packaging>eclipse-plugin</packaging>

    <parent>
        <groupId>edu.wpi.first.wpilib.plugins</groupId>
        <artifactId>edu.wpi.first.wpilib.plugins</artifactId>
        <version>0.1.0.qualifier</version>
        <relativePath>..</relativePath>
    </parent>

    <properties>
        <build-number>DEVELOPMENT</build-number>
        <java-zip>${project.build.directory}/java-zip</java-zip>
    </properties>

    <build>
        <resources>
            <resource>
                <directory>.</directory>
                <includes>
                    <include>resources/configuration.properties</include>
                </includes>
                <filtering>true</filtering>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.6</version>
                <executions>
                    <execution>
                        <id>copy-ant-resources-to-java-zip</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${java-zip}</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>src/main/resources/java-zip</directory>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.8</version>
                <executions>
                    <!-- Fetch the dependencies needed to build the jar.zip file. -->
                    <execution>
                        <id>fetch-jar-zip-dependencies</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <!-- Libraries needed to link against for WPILib on the Athena -->

                                 <artifactItem>
                                    <groupId>edu.wpi.first.wpiutil</groupId>
                                    <artifactId>wpiutil-java</artifactId>
                                    <type>jar</type>
                                    <destFileName>wpiutil.jar</destFileName>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>edu.wpi.first.ntcore</groupId>
                                    <artifactId>ntcore-java</artifactId>
                                    <type>jar</type>
                                    <destFileName>ntcore.jar</destFileName>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>edu.wpi.first.cscore</groupId>
                                    <artifactId>cscore-java</artifactId>
                                    <type>jar</type>
                                    <destFileName>cscore.jar</destFileName>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.opencv</groupId>
                                    <artifactId>opencv-java</artifactId>
                                    <type>jar</type>
                                    <destFileName>opencv.jar</destFileName>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>edu.wpi.first.wpilibj</groupId>
                                    <artifactId>wpilibj-java</artifactId>
                                    <type>jar</type>
                                    <destFileName>WPILib.jar</destFileName>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>edu.wpi.first.wpilibj</groupId>
                                    <artifactId>examples</artifactId>
                                    <type>zip</type>
                                    <outputDirectory>${project.build.directory}</outputDirectory>
                                    <destFileName>examples.zip</destFileName>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>edu.wpi.first.wpilibj</groupId>
                                    <artifactId>templates</artifactId>
                                    <type>zip</type>
                                    <outputDirectory>${project.build.directory}</outputDirectory>
                                    <destFileName>templates.zip</destFileName>
                                </artifactItem>
                                <!-- Library sources for debugging WPILib on the Athena -->
                                <artifactItem>
                                    <groupId>edu.wpi.first.ntcore</groupId>
                                    <artifactId>ntcore-java</artifactId>
                                    <classifier>sources</classifier>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                    <destFileName>ntcore-sources.jar</destFileName>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>edu.wpi.first.cscore</groupId>
                                    <artifactId>cscore-java</artifactId>
                                    <classifier>sources</classifier>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                    <destFileName>cscore-sources.jar</destFileName>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>edu.wpi.first.wpiutil</groupId>
                                    <artifactId>wpiutil-java</artifactId>
                                    <classifier>sources</classifier>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                    <destFileName>wpiutil-sources.jar</destFileName>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>edu.wpi.first.wpilibj</groupId>
                                    <artifactId>wpilibj-java</artifactId>
                                    <classifier>sources</classifier>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                    <destFileName>WPILib-sources.jar</destFileName>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.opencv</groupId>
                                    <artifactId>opencv-java</artifactId>
                                    <classifier>sources</classifier>
                                    <outputDirectory>${java-zip}/lib</outputDirectory>
                                    <destFileName>opencv-sources.jar</destFileName>
                                </artifactItem>

                                <!-- Javadoc -->
                                <artifactItem>
                                    <groupId>edu.wpi.first.wpilibj</groupId>
                                    <artifactId>documentation</artifactId>
                                    <type>zip</type>
                                    <outputDirectory>${java-zip}/javadoc-jar</outputDirectory>
                                </artifactItem>
                            </artifactItems>

                            <overWriteReleases>false</overWriteReleases>
                            <overWriteSnapshots>true</overWriteSnapshots>
                        </configuration>
                    </execution>

                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.7</version>
                <executions>

                    <!-- Set time stamp and version properties. -->
                    <execution>
                        <id>set-version-info</id>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <phase>process-sources</phase>
                        <configuration>
                            <target>
                                <tstamp>
                                    <format property="timestamp" pattern="yyyy/MM/dd HH:mm:ss z"/>
                                </tstamp>
                                <tstamp>
                                    <format property="version-info" pattern="yyyy.MM.dd.HH.mm.ss"/>
                                </tstamp>
                                <property name="version" value="${version-info}.${build-number}"/>
                            </target>
                            <exportAntProperties>true</exportAntProperties>
                        </configuration>
                    </execution>

                    <execution>
                        <id>unzip-examples-templates</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <target>
                                <unzip dest="${project.build.directory}/classes/resources/templates">
                                    <fileset dir="${project.build.directory}">
                                        <include name="examples.zip"/>
                                        <include name="templates.zip"/>
                                    </fileset>
                                </unzip>
                            </target>
                        </configuration>
                    </execution>

                    <!-- Unzip the javadocs files for java.zip. -->
                    <execution>
                        <id>unzip-javadocs</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <target>
                                <unzip dest="${java-zip}/javadoc">
                                    <fileset dir="${java-zip}/javadoc-jar">
                                        <include name="*.zip"/>
                                    </fileset>
                                </unzip>
                                <delete dir="${java-zip}/javadoc-jar"/>
                            </target>
                        </configuration>
                    </execution>

                    <!-- Generate zip file to unzip for the user. -->
                    <execution>
                        <id>generate-jar-zip</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <target>
                                <zip destfile="${project.build.directory}/classes/resources/java.zip"
                                     basedir="${java-zip}"
                                     update="true"/>
                            </target>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
        <pluginManagement>
            <plugins>
                <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
                <plugin>
                    <groupId>org.eclipse.m2e</groupId>
                    <artifactId>lifecycle-mapping</artifactId>
                    <version>1.0.0</version>
                    <configuration>
                        <lifecycleMappingMetadata>
                            <pluginExecutions>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>
                                            org.apache.maven.plugins
                                        </groupId>
                                        <artifactId>
                                            maven-dependency-plugin
                                        </artifactId>
                                        <versionRange>[2.8,)</versionRange>
                                        <goals>
                                            <goal>copy</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore/>
                                    </action>
                                </pluginExecution>
                            </pluginExecutions>
                        </lifecycleMappingMetadata>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <dependencies>
        <!-- Add fake dependencies to inform Maven of the correct
        order it should build projects in during a multi-module build.

        This list should match the list in the invocation of
        maven-dependency-plugin:copy above.

        It may be possible to avoid this duplication by using the
        maven-assembly-plugin instead.-->
        <!-- Libraries needed to link against for WPILib on the Athena -->
        <dependency>
            <groupId>edu.wpi.first.wpiutil</groupId>
            <artifactId>wpiutil-java</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <type>jar</type>
        </dependency>
         <dependency>
            <groupId>edu.wpi.first.ntcore</groupId>
            <artifactId>ntcore-java</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>edu.wpi.first.cscore</groupId>
            <artifactId>cscore-java</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>org.opencv</groupId>
            <artifactId>opencv-java</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>edu.wpi.first.wpilibj</groupId>
            <artifactId>wpilibj-java</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>edu.wpi.first.wpilibj</groupId>
            <artifactId>wpilibj-java</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <classifier>sources</classifier>
        </dependency>
        <dependency>
            <groupId>edu.wpi.first.wpilibj</groupId>
            <artifactId>examples</artifactId>
            <type>zip</type>
            <version>0.1.0-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>edu.wpi.first.wpilibj</groupId>
            <artifactId>templates</artifactId>
            <type>zip</type>
            <version>0.1.0-SNAPSHOT</version>
        </dependency>

        <dependency>
            <groupId>edu.wpi.first.wpilibj</groupId>
            <artifactId>documentation</artifactId>
            <version>0.1.0-SNAPSHOT</version>
            <type>zip</type>
        </dependency>

        <!-- Library sources for debugging WPILib on the Athena -->
        <dependency>
            <groupId>edu.wpi.first.ntcore</groupId>
            <artifactId>ntcore-java</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <classifier>sources</classifier>
        </dependency>
        <dependency>
            <groupId>edu.wpi.first.cscore</groupId>
            <artifactId>cscore-java</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <classifier>sources</classifier>
        </dependency>
        <dependency>
            <groupId>edu.wpi.first.wpiutil</groupId>
            <artifactId>wpiutil-java</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <classifier>sources</classifier>
        </dependency>
        <dependency>
            <groupId>org.opencv</groupId>
            <artifactId>opencv-java</artifactId>
            <classifier>sources</classifier>
            <version>0.0.1-SNAPSHOT</version>
            <type>jar</type>
        </dependency>
    </dependencies>
</project>


text:
package slick
/** Code generator / type providers */
package object codegen

redpajama_set_name: RedPajamaGithub


text:
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.34003
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace SeShell.Test.Resources {
    using System;

    /// <summary>
    ///   A strongly-typed resource class, for looking up localized strings, etc.
    /// </summary>
    // This class was auto-generated by the StronglyTypedResourceBuilder
    // class via a tool like ResGen or Visual Studio.
    // To add or remove a member, edit your .ResX file then rerun ResGen
    // with the /str option, or rebuild your VS project.
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal class HomePageResources {

        private static global::System.Resources.ResourceManager resourceMan;

        private static global::System.Globalization.CultureInfo resourceCulture;

        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal HomePageResources() {
        }

        /// <summary>
        ///   Returns the cached ResourceManager instance used by this class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SeShell.Test.Resources.HomePageResources", typeof(HomePageResources).Assembly);
                    resourceMan = temp;
                }
                return resourceMan;
            }
        }

        /// <summary>
        ///   Overrides the current thread's CurrentUICulture property for all
        ///   resource lookups using this strongly typed resource class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Globalization.CultureInfo Culture {
            get {
                return resourceCulture;
            }
            set {
                resourceCulture = value;
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to .//*[@id='u_0_12'].
        /// </summary>
        internal static string newTweetText {
            get {
                return ResourceManager.GetString("newTweetText", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to .//*[@class='_5pbx userContent']/p.
        /// </summary>
        internal static string postedTweetText {
            get {
                return ResourceManager.GetString("postedTweetText", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to .//*[@id='u_0_v']/div/div[5]/div/ul/li[2]/button.
        /// </summary>
        internal static string postNewTweetButton {
            get {
                return ResourceManager.GetString("postNewTweetButton", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to .//*[@id='pagelet_welcome_box']/ul/li[1]/div/div/a.
        /// </summary>
        internal static string verifyAccountName {
            get {
                return ResourceManager.GetString("verifyAccountName", resourceCulture);
            }
        }
    }
}


text:
package net.sf.sitemonitoring.repository;

import net.sf.sitemonitoring.entity.Configuration;

import org.springframework.data.jpa.repository.JpaRepository;

public interface ConfigurationRepository extends JpaRepository<Configuration, Integer> {

}


text:
# Copyright (c) 2013 Citrix Systems Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms,
# with or without modification, are permitted provided
# that the following conditions are met:
#
# * Redistributions of source code must retain the above
# copyright notice, this list of conditions and the
# following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the
# following disclaimer in the documentation and/or other
# materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.

import os, sys
import tarfile
import subprocess

def get_configuration(debug):
    configuration = 'Windows Vista'

    if debug:
        configuration += ' Debug'
    else:
        configuration += ' Release'

    return configuration

def shell(command):
    print(command)
    sys.stdout.flush()

    process = subprocess.Popen(command, shell=True, bufsize=1, stdout=subprocess.PIPE)

    with process.stdout as pipe:
        for line in pipe:
            line = line.decode("utf-8")
            line = line.strip()
            print(line)

class msbuild_failure(Exception):
    def __init__(self, value):
        self.value = value
    def __str__(self):
        return repr(self.value)

def msbuild(name, arch, debug):
    configuration = get_configuration(debug)
    os.environ['CONFIGURATION'] = configuration

    set_platform(arch)

    cwd = os.getcwd()
    os.chdir('proj')
    status = shell('msbuild.bat')
    os.chdir(cwd)

    if (status != None):
        raise msbuild_failure(configuration)

def set_platform(arch):
    if arch == 'x86':
        os.environ['PLATFORM'] = 'Win32'
    elif arch == 'x64':
        os.environ['PLATFORM'] = 'x64'

def callfnout(cmd):
    print(cmd)

    sub = subprocess.Popen(cmd, stdout=subprocess.PIPE)
    output = sub.communicate()[0]
    ret = sub.returncode

    if ret != 0:
        raise(Exception("Error %d in : %s" % (ret, cmd)))
    print("------------------------------------------------------------")
    return output.decode('utf-8')

def main(debug):

    set_version()
    set_build_number()
    set_build_variable("xenpong")

    if 'MERCURIAL_REVISION' in os.environ.keys():
        revision = open('revision', 'w')
        print(os.environ['MERCURIAL_REVISION'], file=revision)
        revision.close()

    msbuild('xenpong', 'x86', debug)
    msbuild('xenpong', 'x64', debug)

#    archive_source()
    archive('xenpong.tar', ['xenpong', 'revision'])

def archive_source():
    cmd = ['git', 'archive', '--format=tar.gz', '--prefix=source/', '-o', 'xenpong\\source.tgz', 'master']
    callfnout(cmd)

def archive(filename, files, tgz=False):
    access='w'
    if tgz:
        access='w:gz'
    with tarfile.open(filename, access) as tar:
        for name in files:
            try:
                print('adding ' + name)
                tar.add(name)
            except:
                pass

def set_version():
    os.environ['MAJOR_VERSION'] = '7'
    os.environ['MINOR_VERSION'] = '0'
    os.environ['MICRO_VERSION'] = '0'

def set_build_number():
    if 'BUILD_NUMBER' not in os.environ.keys():
        os.environ['BUILD_NUMBER'] = '0'

def set_build_variable(name):
    os.environ['TARGET'] = 'Build'
    os.environ['SOLUTION'] = name

def print_usage_and_exit():
    print ("Usage: %s <checked|free>" % (sys.argv[0], ))
    sys.exit(1)

if __name__ == '__main__':

    if len(sys.argv) < 2:
        print_usage_and_exit()

    if sys.argv[1] == "checked":
        debug = True
    elif sys.argv[1] == "free":
        debug = False
    else:
        print_usage_and_exit()

    main(debug)


text:
{namespace vh=In2code\Powermail\ViewHelpers}

	<fieldset>
		<legend class="powermail_label powermail_check_legend" title="{field.description}">
			<vh:string.RawAndRemoveXss>{field.title}</vh:string.RawAndRemoveXss><f:if condition="{field.mandatory}">*</f:if>
		</legend>

			<f:for each="{field.modifiedSettings}" as="setting" iteration="index">

					<f:form.checkbox
							property="{field.marker}."
							value="{setting.value}"
							checked="{vh:Misc.PrefillMultiField(field:field, mail:mail, cycle:index.cycle)}"
							id="powermail_field_{field.marker}_{index.cycle}"
							additionalAttributes="{vh:Validation.ValidationDataAttribute(field:field, iteration:index)}"
							class="powermail_checkbox powermail_checkbox_{field.uid}" />

						<vh:string.RawAndRemoveXss>{setting.label}</vh:string.RawAndRemoveXss>

			</f:for>

			<f:if condition="{settings.validation.client}">

			</f:if>

	</fieldset>


text:
"""
Intel definitions.

Commonly used definitions.
"""
from __future__ import absolute_import
from cdsl.isa import TargetISA, CPUMode
import base.instructions
from . import instructions as x86
from base.immediates import floatcc

ISA = TargetISA('intel', [base.instructions.GROUP, x86.GROUP])

# CPU modes for 32-bit and 64-bit operation.
X86_64 = CPUMode('I64', ISA)
X86_32 = CPUMode('I32', ISA)

# The set of floating point condition codes that are directly supported.
# Other condition codes need to be reversed or expressed as two tests.
supported_floatccs = [
        floatcc.ord,
        floatcc.uno,
        floatcc.one,
        floatcc.ueq,
        floatcc.gt,
        floatcc.ge,
        floatcc.ult,
        floatcc.ule]


text:
var app = angular.module('pocketApp', [
  'ngRoute',
  'mobile-angular-ui',
  'mobile-angular-ui.gestures'
]);

app.config(function($routeProvider) {
  $routeProvider.when('/',              {templateUrl: 'home/home.html', controller: 'HomeController'});
  $routeProvider.when('/login',        {templateUrl: 'login/login.html'});
});

app.controller('HomeController', homeController);

app.controller('MainController', function($rootScope, $scope){

  // User agent displayed in home page
  $scope.userAgent = navigator.userAgent;

  // Needed for the loading screen
  $rootScope.$on('$routeChangeStart', function(){
    $rootScope.loading = true;
  });

  $rootScope.$on('$routeChangeSuccess', function(){
    $rootScope.loading = false;
  });

  // Fake text i used here and there.
  $scope.lorem = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vel explicabo, aliquid eaque soluta nihil eligendi adipisci error, illum corrupti nam fuga omnis quod quaerat mollitia expedita impedit dolores ipsam. Obcaecati.';

  //
  // 'Scroll' screen
  //
  var scrollItems = [];

  for (var i=1; i<=100; i++) {
    scrollItems.push('Item ' + i);
  }

  $scope.scrollItems = scrollItems;

  $scope.bottomReached = function() {
    alert('Congrats you scrolled to the end of the list!');
  }

});


text:
package com.zhy.sample.adapter.rv;

import android.content.Context;

import com.zhy.adapter.recyclerview.MultiItemTypeAdapter;
import com.zhy.sample.bean.ChatMessage;

import java.util.List;

/**
 * Created by zhy on 15/9/4.
 */
public class ChatAdapterForRv extends MultiItemTypeAdapter<ChatMessage>
{
    public ChatAdapterForRv(Context context, List<ChatMessage> datas)
    {
        super(context, datas);

        addItemViewDelegate(new MsgSendItemDelagate());
        addItemViewDelegate(new MsgComingItemDelagate());
    }
}


text:
package org.apache.flink.table.calcite;

import org.apache.flink.sql.parser.impl.FlinkSqlParserImpl;
import org.apache.flink.table.api.SqlParserException;

import org.apache.calcite.sql.SqlIdentifier;
import org.apache.calcite.sql.SqlNode;
import org.apache.calcite.sql.parser.SqlAbstractParserImpl;
import org.apache.calcite.sql.parser.SqlParseException;
import org.apache.calcite.sql.parser.SqlParser;
import org.apache.calcite.util.SourceStringReader;

import java.io.Reader;

/**
 * Thin wrapper around {@link SqlParser} that does exception conversion and {@link SqlNode} casting.
 */
public class CalciteParser {
	private final SqlParser.Config config;

	public CalciteParser(SqlParser.Config config) {
		this.config = config;
	}

	/**
	 * Parses a SQL statement into a {@link SqlNode}. The {@link SqlNode} is not yet validated.
	 *
	 * @param sql a sql string to parse
	 * @return a parsed sql node
	 * @throws SqlParserException if an exception is thrown when parsing the statement
	 */
	public SqlNode parse(String sql) {
		try {
			SqlParser parser = SqlParser.create(sql, config);
			return parser.parseStmt();
		} catch (SqlParseException e) {
			throw new SqlParserException("SQL parse failed. " + e.getMessage(), e);
		}
	}

	/**
	 * Parses a SQL string as an identifier into a {@link SqlIdentifier}.
	 *
	 * @param identifier a sql string to parse as an identifier
	 * @return a parsed sql node
	 * @throws SqlParserException if an exception is thrown when parsing the identifier
	 */
	public SqlIdentifier parseIdentifier(String identifier) {
		try {
			return createFlinkParser(identifier).TableApiIdentifier();
		} catch (Exception e) {
			throw new SqlParserException(String.format(
				"Invalid SQL identifier %s.", identifier));
		}
	}

	/**
	 * Equivalent to {@link SqlParser#create(Reader, SqlParser.Config)}. The only
	 * difference is we do not wrap the {@link FlinkSqlParserImpl} with {@link SqlParser}.
	 *
	 * <p>It is so that we can access specific parsing methods not accessible through the {@code SqlParser}.
	 */
	private FlinkSqlParserImpl createFlinkParser(String expr) {
		SourceStringReader reader = new SourceStringReader(expr);
		FlinkSqlParserImpl parser = (FlinkSqlParserImpl) config.parserFactory().getParser(reader);
		parser.setTabSize(1);
		parser.setQuotedCasing(config.quotedCasing());
		parser.setUnquotedCasing(config.unquotedCasing());
		parser.setIdentifierMaxLength(config.identifierMaxLength());
		parser.setConformance(config.conformance());
		switch (config.quoting()) {
			case DOUBLE_QUOTE:
				parser.switchTo(SqlAbstractParserImpl.LexicalState.DQID);
				break;
			case BACK_TICK:
				parser.switchTo(SqlAbstractParserImpl.LexicalState.BTID);
				break;
			case BRACKET:
				parser.switchTo(SqlAbstractParserImpl.LexicalState.DEFAULT);
				break;
		}

		return parser;
	}
}


text:
apos.define('apostrophe-polymorphic-manager-manager-modal', {
  extend: 'apostrophe-modal',
  source: 'polymorphic-chooser-modal',

  construct: function(self, options) {

    self.chooserViews = [];

    self.parentChooser = options.chooser;

    self.enableChooserViews = function() {
      _.each(self.options.chooser.field.withType, function(type) {
        var $view = apos.docs.getManager(type).getTool('manager-modal', {
          decorate: self.decorateManager,
          liveChooser: self.chooser,
          source: 'chooser-modal',
          // source: 'chooser-view',
          transition: 'slide',
          $view: self.$el.find('[data-tab="' + type + '"]')
        });
        self.chooserViews.push($view);
      });
      self.$el.find('[data-tab-button]').removeClass('apos-active');
      self.$el.find('[data-tab-button]:first').addClass('apos-active');
      self.$el.on('click', '[data-tab-button]', function() {
        var tabName = $(this).attr('data-tab-button');
        self.$el.find('[data-tab-button]').removeClass('apos-active');
        $(this).addClass('apos-active');

        self.$el.find('[data-tab]').removeClass('apos-chooser-tab--active');
        self.$el.find('[data-tab="' + tabName + '"]').addClass('apos-chooser-tab--active');
        return false;
      });
      self.hideOthers();
    };

    self.hideOthers = function() {
      // Work around semantics of views
      self.$el.find('[data-tab]').hide();
      // self.$el.find('[data-tab]:first').show();
    };

    self.beforeShow = function(callback) {
      return self.enableChooser(function(err) {
        if (err) {
          return callback(err);
        }
        self.enableChooserViews();
        return callback(null);
      });
    };

    self.enableChooser = function(callback) {
      return self.parentChooser.clone(
        {
          $el: self.$el.find('[data-chooser]'),
          browse: false,
          autocomplete: false,
          change: self.reflectChoicesInCheckboxes,
          managerModal: self
        },
        function(err, chooser) {
          if (err) {
            return callback(err);
          }
          self.chooser = chooser;
          apos.on('pieceInserted', self.chooser.pieceInsertedListener);
          return callback(null);
        }
      );
    };

    self.saveContent = function(callback) {
      // Pass our choices back to the chooser hanging out in a schema form that
      // initially triggered us via "browse"
      return self.chooser.get(function(err, choices) {
        if (err) {
          return callback(err);
        }
        self.parentChooser.set(choices);
        return callback(null);
      });
    };

    var superAfterHide = self.afterHide;
    self.afterHide = function() {
      apos.off('pieceInserted', self.chooser.pieceInsertedListener);
      return superAfterHide();
    };

    self.reflectChoicesInCheckboxes = function() {
      _.each(self.chooserViews, function(chooserView) {
        chooserView.reflectChoicesInCheckboxes();
      });
    };

    self.decorateManager = function(manager, options) {

      var superBeforeShow = manager.beforeShow;
      manager.beforeShow = function(callback) {
        manager.$el.find('.apos-chooser').remove();
        return superBeforeShow(callback);
      };

      manager.addChoiceToState = function(id) {
        self.chooser.add(id);
      };

      manager.removeChoiceFromState = function(id) {
        self.chooser.remove(id);
      };

      manager.getIds = function() {
        return _.pluck(self.chooser.choices, 'value');
      };

      var superReflectChoicesInCheckboxes = manager.reflectChoicesInCheckboxes;
      manager.reflectChoicesInCheckboxes = function() {
        superReflectChoicesInCheckboxes();
      };

      manager.clearChoices = function() {
        self.clear();
      };

      manager.saveContent = function(callback) {
        // We will wait for our own save operation as the
        // parent modal
        return callback(null);
      };

      manager.getConfirmCancelText = function() {
        return 'Are you sure you want to discard unsaved changes?';
      };

      // For page manager/chooser
      manager.enhanceNode = function(node, $li) {
        manager.addControlGroupToNode(node, $li);
        manager.configureTitleContainer(node, $li);
        manager.indentLevel(node, $li);
        // Add a checkbox for selection.
        var $checkbox = $('<input type="checkbox" name="selected" value="' + node.id + '" />');
        $li.find('.jqtree-element .apos-reorganize-title').before($checkbox);
        manager.addVisitLink(node, $li);

        // should disable actually reorganizing the page tree -stuart
      };

    };

  }
});


text:
package org.wso2.carbon.uiserver.internal.io.reference;

import org.wso2.carbon.uiserver.internal.exception.FileOperationException;
import org.wso2.carbon.uiserver.internal.io.util.PathUtils;
import org.wso2.carbon.uiserver.internal.reference.ExtensionReference;

import java.nio.file.Path;

/**
 * A reference to an extension in a directory inside a web app artifact.
 *
 * @since 0.8.0
 */
public class ArtifactExtensionReference implements ExtensionReference {

    private final Path extensionDirectory;

    /**
     * Creates a reference to the extension which resides in the specified directory.
     *
     * @param extensionDirectory directory that contains the extension
     */
    public ArtifactExtensionReference(Path extensionDirectory) {
        this.extensionDirectory = extensionDirectory;
    }

    @Override
    public String getName() throws FileOperationException {
        return PathUtils.getName(extensionDirectory);
    }

    @Override
    public String getType() throws FileOperationException {
        return PathUtils.getName(extensionDirectory.getParent());
    }

    @Override
    public String getPath() throws FileOperationException {
        return extensionDirectory.toString();
    }
}


text:
<?php

/* core/themes/seven/templates/admin-block-content.html.twig */
class __TwigTemplate_ab4ffed29dc423f9462458413305a29e5f525d5525d4f38972515719bfc219aa extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $tags = array("set" => 21, "if" => 26, "for" => 28);
        $filters = array();
        $functions = array();

        try {
            $this->env->getExtension('sandbox')->checkSecurity(
                array('set', 'if', 'for'),
                array(),
                array()
            );
        } catch (Twig_Sandbox_SecurityError $e) {
            $e->setTemplateFile($this->getTemplateName());

            if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
                $e->setTemplateLine($tags[$e->getTagName()]);
            } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
                $e->setTemplateLine($filters[$e->getFilterName()]);
            } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
                $e->setTemplateLine($functions[$e->getFunctionName()]);
            }

            throw $e;
        }

        // line 21
        $context["classes"] = array(0 => "admin-list", 1 => ((        // line 23
(isset($context["compact"]) ? $context["compact"] : null)) ? ("compact") : ("")));
        // line 26
        if ((isset($context["content"]) ? $context["content"] : null)) {
            // line 27
            echo "
env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["attributes"]) ? $context["attributes"] : null), "addClass", array(0 => (isset($context["classes"]) ? $context["classes"] : null)), "method"), "html", null, true));
            echo ">
    ";
            // line 28
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["content"]) ? $context["content"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
                // line 29
                echo "
env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["item"], "url", array()), "html", null, true));
                echo "\">";
                echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["item"], "title", array()), "html", null, true));
                echo "
";
                echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["item"], "description", array()), "html", null, true));
                echo "

    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 31
            echo "

";
        }
    }

    public function getTemplateName()
    {
        return "core/themes/seven/templates/admin-block-content.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  70 => 31,  57 => 29,  53 => 28,  48 => 27,  46 => 26,  44 => 23,  43 => 21,);
    }

    public function getSource()
    {
        return "{#
/**
 * @file
 * Seven's theme implementation for the content of an administrative block.
 *
 * Uses unordered list markup in both compact and extended modes.
 *
 * Available variables:
 * - content: List of administrative menu items. Each menu item contains:
 *   - url: Path to the admin section.
 *   - title: Short name of the section.
 *   - description: Description of the administrative menu item.
 * - attributes: HTML attributes to be added to the element.
 * - compact: Boolean indicating whether compact mode is turned on or not.
 *
 * @see template_preprocess_admin_block_content()
 * @see seven_preprocess_admin_block_content()
 */
#}
{%
  set classes = [
    'admin-list',
    compact ? 'compact',
  ]
%}
{% if content %}

    {% for item in content %}

{{ item.title }}
{{ item.description }}

    {% endfor %}

{% endif %}
";
    }
}


text:
import fs = require('fs');
import fse = require('fs-extra');
import path = require('path');
import {wrapDiffingPlugin, DiffingBroccoliPlugin, DiffResult} from './diffing-broccoli-plugin';

var minimatch = require('minimatch');
var FILE_ENCODING = {encoding: 'utf-8'};

/**
 * Intercepts each changed file and replaces its contents with
 * the associated changes.
 */
class DiffingReplace implements DiffingBroccoliPlugin {
  constructor(private inputPath, private cachePath, private options) {}

  rebuild(treeDiff: DiffResult) {
    var patterns = this.options.patterns;
    var files = this.options.files;

    treeDiff.addedPaths.concat(treeDiff.changedPaths).forEach((changedFilePath) => {
      var sourceFilePath = path.join(this.inputPath, changedFilePath);
      var destFilePath = path.join(this.cachePath, changedFilePath);
      var destDirPath = path.dirname(destFilePath);

      if (!fs.existsSync(destDirPath)) {
        fse.mkdirpSync(destDirPath);
      }

      var fileMatches = files.some((filePath) => minimatch(changedFilePath, filePath));
      if (fileMatches) {
        var content = fs.readFileSync(sourceFilePath, FILE_ENCODING);
        patterns.forEach((pattern) => {
          var replacement = pattern.replacement;
          if (typeof replacement === 'function') {
            replacement = function(content) {
              return pattern.replacement(content, changedFilePath);
            };
          }
          content = content.replace(pattern.match, replacement);
        });
        fs.writeFileSync(destFilePath, content, FILE_ENCODING);
      } else if (!fs.existsSync(destFilePath)) {
        try {
          fs.symlinkSync(sourceFilePath, destFilePath);
        } catch (e) {
          fs.writeFileSync(destFilePath, fs.readFileSync(sourceFilePath));
        }
      }
    });

    treeDiff.removedPaths.forEach((removedFilePath) => {
      var destFilePath = path.join(this.cachePath, removedFilePath);
      fs.unlinkSync(destFilePath);
    });
  }
}

export default wrapDiffingPlugin(DiffingReplace);


text:
module.exports = function (grunt) {
	grunt.registerTask('test', [
		'protractor:dev'
	]);
};


text:
<?php

declare(strict_types=1);

namespace spec\Sylius\Bundle\LocaleBundle\Context;

use PhpSpec\ObjectBehavior;
use Sylius\Bundle\LocaleBundle\Context\RequestBasedLocaleContext;
use Sylius\Component\Locale\Context\LocaleContextInterface;
use Sylius\Component\Locale\Context\LocaleNotFoundException;
use Sylius\Component\Locale\Provider\LocaleProviderInterface;
use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;

/**
 * @author Kamil Kokot <kamil@kokot.me>
 */
final class RequestBasedLocaleContextSpec extends ObjectBehavior
{
    function let(RequestStack $requestStack, LocaleProviderInterface $localeProvider): void
    {
        $this->beConstructedWith($requestStack, $localeProvider);
    }

    function it_is_a_locale_context(): void
    {
        $this->shouldImplement(LocaleContextInterface::class);
    }

    function it_throws_locale_not_found_exception_if_master_request_is_not_found(RequestStack $requestStack): void
    {
        $requestStack->getMasterRequest()->willReturn(null);

        $this->shouldThrow(LocaleNotFoundException::class)->during('getLocaleCode');
    }

    function it_throws_locale_not_found_exception_if_master_request_does_not_have_locale_attribute(
        RequestStack $requestStack,
        Request $request
    ): void {
        $requestStack->getMasterRequest()->willReturn($request);

        $request->attributes = new ParameterBag();

        $this->shouldThrow(LocaleNotFoundException::class)->during('getLocaleCode');
    }

    function it_throws_locale_not_found_exception_if_master_request_locale_code_is_not_among_available_ones(
        RequestStack $requestStack,
        LocaleProviderInterface $localeProvider,
        Request $request
    ): void {
        $requestStack->getMasterRequest()->willReturn($request);

        $request->attributes = new ParameterBag(['_locale' => 'en_US']);

        $localeProvider->getAvailableLocalesCodes()->willReturn(['pl_PL', 'de_DE']);

        $this->shouldThrow(LocaleNotFoundException::class)->during('getLocaleCode');
    }

    function it_returns_master_request_locale_code(
        RequestStack $requestStack,
        LocaleProviderInterface $localeProvider,
        Request $request
    ): void {
        $requestStack->getMasterRequest()->willReturn($request);

        $request->attributes = new ParameterBag(['_locale' => 'pl_PL']);

        $localeProvider->getAvailableLocalesCodes()->willReturn(['pl_PL', 'de_DE']);

        $this->getLocaleCode()->shouldReturn('pl_PL');
    }
}


text:
#wpadminbar * {
	height: auto;
	width: auto;
	margin: 0;
	padding: 0;
	position: static;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	font: normal 13px/32px "Open Sans", sans-serif;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	-webkit-transition: none;
	transition: none;
	-webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */
}

.rtl #wpadminbar * {
	font-family: Tahoma, sans-serif;
}

html:lang(he-il) .rtl #wpadminbar *  {
 	font-family: Arial, sans-serif;
}

#wpadminbar a.ab-item,
#wpadminbar > #wp-toolbar span.ab-label,
#wpadminbar > #wp-toolbar span.noticon {
	color: #eee;
}

#wpadminbar #wp-admin-bar-site-name a.ab-item,
#wpadminbar #wp-admin-bar-my-sites a.ab-item {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#wpadminbar ul li:before,
#wpadminbar ul li:after {
	content: normal;
}

#wpadminbar a,
#wpadminbar a:hover,
#wpadminbar a img,
#wpadminbar a img:hover {
	outline: none;
	border: none;
	text-decoration: none;
	background: none;
}

#wpadminbar a:focus,
#wpadminbar a:active,
#wpadminbar input[type="text"],
#wpadminbar input[type="password"],
#wpadminbar input[type="number"],
#wpadminbar input[type="search"],
#wpadminbar input[type="email"],
#wpadminbar input[type="url"],
#wpadminbar select,
#wpadminbar textarea,
#wpadminbar div {
	-webkit-box-shadow: none;
	box-shadow: none;
	outline: none;
}

#wpadminbar {
	direction: ltr;
	color: #ccc;
	font: normal 13px/32px "Open Sans", sans-serif;
	height: 32px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-width: 600px; /* match the min-width of the body in wp-admin.css */
	z-index: 99999;
	background: #222;
}

#wpadminbar .ab-sub-wrapper,
#wpadminbar ul,
#wpadminbar ul li {
	background: none;
	clear: none;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	text-indent: 0;
	z-index: 99999;
}

#wpadminbar ul#wp-admin-bar-root-default>li {
	margin-right: 0;
}

#wpadminbar .quicklinks ul {
	text-align: left;
}

#wpadminbar li {
	float: left;
}

#wpadminbar .ab-empty-item {
	outline: none;
}

#wpadminbar .quicklinks .ab-top-secondary > li {
	float: right;
}

#wpadminbar .quicklinks a,
#wpadminbar .quicklinks .ab-empty-item,
#wpadminbar .shortlink-input {
	height: 32px;
	display: block;
	padding: 0 10px;
	margin: 0;
}

#wpadminbar .quicklinks > ul > li > a {
	padding: 0 8px 0 7px;
}

#wpadminbar .menupop .ab-sub-wrapper,
#wpadminbar .shortlink-input {
	margin: 0;
	padding: 0;
	-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
	box-shadow: 0 3px 5px rgba(0,0,0,0.2);
	background: #333;
	display: none;
	position: absolute;
	float: none;
}

#wpadminbar.ie7 .menupop .ab-sub-wrapper,
#wpadminbar.ie7 .shortlink-input {
	top: 32px;
	left: 0;
}

#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
	min-width: 100%;
}

#wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper {
	right: 0;
	left: auto;
}

#wpadminbar .ab-submenu {
	padding: 6px 0;
}

#wpadminbar .selected .shortlink-input {
	display: block;
}

#wpadminbar .quicklinks .menupop ul li {
	float: none;
}

#wpadminbar .quicklinks .menupop ul li a strong {
	font-weight: bold;
}

#wpadminbar .quicklinks .menupop ul li .ab-item,
#wpadminbar .quicklinks .menupop ul li a strong,
#wpadminbar .quicklinks .menupop.hover ul li .ab-item,
#wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item,
#wpadminbar .shortlink-input {
	line-height: 26px;
	height: 26px;
	white-space: nowrap;
	min-width: 140px;
}

#wpadminbar .shortlink-input {
	width: 200px;
}

#wpadminbar.nojs li:hover > .ab-sub-wrapper,
#wpadminbar li.hover > .ab-sub-wrapper {
	display: block;
}

#wpadminbar .menupop li:hover > .ab-sub-wrapper,
#wpadminbar .menupop li.hover > .ab-sub-wrapper {
	margin-left: 100%;
	margin-top: -32px;
}

#wpadminbar .ab-top-secondary .menupop li:hover > .ab-sub-wrapper,
#wpadminbar .ab-top-secondary .menupop li.hover > .ab-sub-wrapper {
	margin-left: 0;
	left: inherit;
	right: 100%;
}

#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item {
	background: #333;
	color: #2ea2cc;
}

#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
	color: #2ea2cc;
}

#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon,
#wpadminbar .ab-icon,
#wpadminbar .ab-item:before {
	position: relative;
	float: left;
	font: normal 20px/1 'dashicons';
	speak: none;
	padding: 4px 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-image: none !important;
	margin-right: 6px;
}

#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar #adminbarsearch:before {
	color: #999;
}

#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar #adminbarsearch:before {
	position: relative;
	-webkit-transition: all .1s ease-in-out;
	transition: all .1s ease-in-out;
}

#wpadminbar .ab-label {
	display: inline-block;
	height: 32px;
}

#wpadminbar .ab-submenu .ab-item {
	color: #eee;
}

#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop ul li a strong,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
	color: #eee;
}

#wpadminbar .quicklinks .menupop ul li a:hover,
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before {
	color: #2ea2cc;
}

#wpadminbar .menupop .menupop > .ab-item:before,
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
	position: absolute;
	font: normal 17px/1 'dashicons';
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#wpadminbar .menupop .menupop > .ab-item {
	display: block;
	padding-right: 2em;
}

#wpadminbar .menupop .menupop > .ab-item:before {
	top: 1px;
	right: 4px;
	content: '\f139';
	color: inherit;
}

#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item {
	padding-left: 2em;
	padding-right: 1em;
}

#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
	top: 5px;
	left: 3px;
	content: '\f141';
}

#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
	display: block;
	position: relative;
	right: auto;
	margin: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
	background: #4b4b4b;
}

#wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover,
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a {
	color: #2ea2cc;
}

#wpadminbar .quicklinks a span#ab-updates {
	background: #eee;
	color: #333;
	display: inline;
	padding: 2px 5px;
	font-size: 10px;
	font-weight: bold;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

#wpadminbar .quicklinks a:hover span#ab-updates  {
	background: #fff;
	color: #000;
}

#wpadminbar .ab-top-secondary {
	float: right;
}

#wpadminbar ul li:last-child,
#wpadminbar ul li:last-child .ab-item {
	-webkit-box-shadow: none;
	box-shadow: none;
}

/**
 * My Account
 */
#wp-admin-bar-my-account > ul {
	min-width: 198px;
}

#wp-admin-bar-my-account > .ab-item:before {
	content: "\f110";
	top: 2px;
	float: right;
	margin-left: 6px;
	margin-right: 0;
}

#wp-admin-bar-my-account.with-avatar > .ab-item:before {
	display: none;
	content: none;
}

#wp-admin-bar-my-account.with-avatar > ul {
	min-width: 270px;
}

#wpadminbar #wp-admin-bar-user-actions > li {
	margin-left: 16px;
	margin-right: 16px;
}

#wpadminbar #wp-admin-bar-user-actions.ab-submenu {
	padding: 6px 0 12px;
}

#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li {
	margin-left: 88px;
}

#wpadminbar #wp-admin-bar-user-info {
	margin-top: 6px;
	margin-bottom: 15px;
	height: auto;
	background: none;
}

#wp-admin-bar-user-info .avatar {
	position: absolute;
	left: -72px;
	top: 4px;
	width: 64px;
	height: 64px;
}

#wpadminbar #wp-admin-bar-user-info a {
	background: none;
	height: auto;
}

#wpadminbar #wp-admin-bar-user-info span {
	background: none;
	padding: 0;
	height: 18px;
}

#wpadminbar #wp-admin-bar-user-info .display-name,
#wpadminbar #wp-admin-bar-user-info .username {
	display: block;
}

#wpadminbar #wp-admin-bar-user-info .username {
	color: #999;
	font-size: 11px;
}

#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
	width: 16px;
	height: 16px;
	padding: 0;
	border: 1px solid #888;
	background: #eee;
	line-height: 24px;
	vertical-align: middle;
	margin: -4px 0 0 6px;
	float: none;
	display: inline;
}

/**
 * WP Logo
 */
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
	width: 15px;
	height: 20px;
	margin-right: 0;
	padding: 6px 0 5px;
}

#wpadminbar #wp-admin-bar-wp-logo > .ab-item {
	padding: 0 7px;
}

#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
	content: '\f120';
	top: 2px;
}

/*
 * My Sites & Site Title
 */
#wpadminbar .quicklinks li .blavatar {
	float: left;
	font: normal 16px/1 'dashicons' !important;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #eee;
}

#wpadminbar .quicklinks li a:hover .blavatar {
	color: #2ea2cc;
}

#wpadminbar .quicklinks li .blavatar:before {
	content: '\f120';
	height: 16px;
	width: 16px;
	display: inline-block;
	margin: 6px 8px 0 -2px;
}

#wpadminbar #wp-admin-bar-appearance {
	margin-top: -12px;
}

#wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
#wpadminbar #wp-admin-bar-site-name > .ab-item:before {
	content: '\f112';
	top: 2px;
}

#wpadminbar #wp-admin-bar-edit > .ab-item:before {
	content: '\f464';
	top: 2px;
}

#wpadminbar #wp-admin-bar-site-name > .ab-item:before {
	content: "\f226";
}

.wp-admin #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
	content: "\f102";
}

/**
 * Comments
 */
#wpadminbar #wp-admin-bar-comments .ab-icon {
	margin-right: 6px;
}

#wpadminbar #wp-admin-bar-comments .ab-icon:before {
	content: '\f101';
	top: 3px;
}

#wpadminbar #wp-admin-bar-comments .count-0 {
	opacity: .5;
}

/**
 * New Content
 */
#wpadminbar #wp-admin-bar-new-content .ab-icon:before {
	content: '\f132';
	top: 4px;
}

/**
 * Updates
 */
#wpadminbar #wp-admin-bar-updates .ab-icon:before {
	content: '\f463';
	top: 2px;
}

/**
 * Search
 */
#wpadminbar #wp-admin-bar-search .ab-item {
	padding: 0;
	background: transparent;
}

#wpadminbar #adminbarsearch {
	position: relative;
	height: 32px;
	padding: 0 2px;
}

#wpadminbar #adminbarsearch:before {
	position: absolute;
	top: 6px;
	left: 5px;
	z-index: 20;
	font: normal 20px/1 'dashicons' !important;
	content: '\f179';
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
	position: relative;
	z-index: 30;
	font: 13px/24px "Open Sans", sans-serif;
	height: 24px;
	width: 24px;
	padding: 0 3px 0 24px;
	margin: 0;
	color: #ccc;
	background-color: rgba( 255, 255, 255, 0 );
	border: none;
	outline: none;
	cursor: pointer;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition-duration: 400ms;
	transition-duration: 400ms;
	-webkit-transition-property: width, background;
	transition-property: width, background;
	-webkit-transition-timing-function: ease;
	transition-timing-function: ease;
}

#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
	z-index: 10;
	color: #000;
	width: 200px;
	background-color: rgba( 255, 255, 255, 0.9 );
	cursor: text;
	border: 0;
}

#wpadminbar.ie7 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
	margin-top: 3px;
	width: 120px;
}

#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
	margin-top: 4px;
	background-color: #464646;
}

#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
	background-color: #fff;
}

#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
	color: #999;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
	color: #999;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
	color: #999;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
	color: #999;
}

#wpadminbar #adminbarsearch .adminbar-button {
	display: none;
}

/**
 * Customize support classes
 */
.no-customize-support .hide-if-no-customize,
.customize-support .hide-if-customize,
.no-customize-support.wp-core-ui .hide-if-no-customize,
.no-customize-support .wp-core-ui .hide-if-no-customize,
.customize-support.wp-core-ui .hide-if-customize,
.customize-support .wp-core-ui .hide-if-customize {
	display: none;
}

/* Skip link */
#wpadminbar .screen-reader-text,
#wpadminbar .screen-reader-text span {
	position: absolute;
	left: -1000em;
	top: -1000em;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

#wpadminbar .screen-reader-shortcut {
	position: absolute;
	top: -1000em;
}

#wpadminbar .screen-reader-shortcut:focus {
	left: 6px;
	top: 7px;
	height: auto;
	width: auto;
	display: block;
	font-size: 14px;
	font-weight: bold;
	padding: 15px 23px 14px;
	background: #f1f1f1;
	color: #21759b;
	z-index: 100000;
	line-height: normal;
	text-decoration: none;
	-webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
	box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
}

/**
 * IE 6-targeted rules
 */
* html #wpadminbar {
	overflow: hidden;
	position: absolute;
}

* html #wpadminbar .quicklinks ul li a {
	float: left;
}

* html #wpadminbar .menupop a span {
	background-image: none;
}

/* No @font-face support */
.no-font-face #wpadminbar ul.ab-top-menu > li > a.ab-item {
	display: block;
	width: 45px;
	text-align: center;
	overflow: hidden;
	margin: 0 3px;
}

.no-font-face #wpadminbar #wp-admin-bar-my-sites > .ab-item,
.no-font-face #wpadminbar #wp-admin-bar-site-name > .ab-item,
.no-font-face #wpadminbar #wp-admin-bar-edit > .ab-item {
	text-indent: 0;
}

.no-font-face #wpadminbar .ab-icon,
.no-font-face #wpadminbar .ab-icon:before,
.no-font-face #wpadminbar a.ab-item:before,
.no-font-face #wpadminbar #wp-admin-bar-wp-logo > .ab-item {
	display: none !important;
}

.no-font-face #wpadminbar ul.ab-top-menu > li > a > span.ab-label {
	display: inline;
}

.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon {
	display: inline !important;
}

.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon:before {
	content: "Menu";
	font: 14px/45px sans-serif !important;
	display: inline-block !important;
	color: #fff;
}

.no-font-face #wpadminbar #wp-admin-bar-site-name a.ab-item {
	color: #fff;
}
/* End no @font-face */

@media screen and ( max-width: 782px ) {
	/* Toolbar Touchification*/
	html #wpadminbar {
		left: 0 !important;
		z-index: 500 !important;
		height: 46px;
		min-width: 300px;

	/*	These rules break dropdown tappability on Chrome/Android.
		-webkit-transform: translate3d(0, 0, 0);
		-webkit-backface-visibility: hidden;
		-webkit-transition: 0;
		transform: translate3d(0, 0, 0);
		backface-visibility: hidden;
		transition: 0;
	*/
	}

	#wpadminbar * {
		font: normal 14px/32px "Open Sans", sans-serif;
	}

	#wpadminbar .quicklinks > ul > li > a,
	#wpadminbar .quicklinks .ab-empty-item {
		padding: 0;
		height: 46px;
		line-height: 46px;
		width: auto;
	}

	#wpadminbar .ab-icon {
		font: 40px/1 dashicons !important;
		margin: 0;
		padding: 0;
		width: 52px;
		height: 46px;
		text-align: center;
	}

	#wpadminbar .ab-icon:before {
		text-align: center;
	}

	#wpadminbar .ab-submenu {
		padding: 0;
	}

	#wpadminbar #wp-admin-bar-site-name a.ab-item,
	#wpadminbar #wp-admin-bar-my-sites a.ab-item,
	#wpadminbar #wp-admin-bar-my-account a.ab-item {
		text-overflow: clip;
	}

	#wpadminbar .ab-label {
		display: none;
	}

	#wpadminbar .menupop li:hover > .ab-sub-wrapper,
	#wpadminbar .menupop li.hover > .ab-sub-wrapper {
		margin-top: -46px;
	}

	#wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop > .ab-item {
		padding-right: 30px;
	}

	#wpadminbar .menupop .menupop > .ab-item:before {
		top: 10px;
		right: 6px;
	}

	#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper .ab-item {
		font-size: 16px;
		padding: 6px 15px 12px;
	}

	#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper a:empty {
		display: none;
	}

	/* WP logo */
	#wpadminbar #wp-admin-bar-wp-logo > .ab-item {
		padding: 0;
	}

	#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
		padding: 0;
		width: 52px;
		height: 46px;
		text-align: center;
		vertical-align: top;
	}

	#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
		font: 28px/1 'dashicons' !important;
		top: -3px;
	}

	#wpadminbar .ab-icon,
	#wpadminbar .ab-item:before {
		padding: 0;
	}

	/* My Sites and "Site Title" menu */
	#wpadminbar #wp-admin-bar-my-sites > .ab-item,
	#wpadminbar #wp-admin-bar-site-name > .ab-item,
	#wpadminbar #wp-admin-bar-edit > .ab-item,
	#wpadminbar #wp-admin-bar-my-account > .ab-item {
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		width: 52px;
		padding: 0;
		color: #999;
		position: relative;
	}

	#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon,
	#wpadminbar .ab-icon,
	#wpadminbar .ab-item:before {
		padding: 0;
		margin-right: 0;
	}

	#wpadminbar #wp-admin-bar-edit > .ab-item:before,
	#wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
	#wpadminbar #wp-admin-bar-site-name > .ab-item:before,
	#wpadminbar #wp-admin-bar-my-account > .ab-item:before {
		display: block;
		text-indent: 0;
		font: normal 32px/1 'dashicons';
		speak: none;
		top: 7px;
		width: 52px;
		text-align: center;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	#wpadminbar #wp-admin-bar-appearance {
		margin-top: 0;
	}

	#wpadminbar .quicklinks li .blavatar:before {
		display: none;
	}

	/* Search */
	#wpadminbar #wp-admin-bar-search {
		display: none;
	}

	/* New Content */
	#wpadminbar #wp-admin-bar-new-content .ab-icon:before {
		top: 0;
		line-height: 53px;
		height: 46px !important;
		text-align: center;
		width: 52px;
		display: block;
	}

	/* Updates */
	#wpadminbar #wp-admin-bar-updates {
		text-align: center;
	}

	#wpadminbar #wp-admin-bar-updates .ab-icon:before {
		top: 3px;
	}

	/* Comments */
	#wpadminbar #wp-admin-bar-comments .ab-icon {
		margin: 0;
	}

	#wpadminbar #wp-admin-bar-comments .ab-icon:before {
		display: block;
		font-size: 34px;
		height: 46px;
		line-height: 47px;
		top: 0;
	}

	/* My Account */
	#wpadminbar #wp-admin-bar-my-account > a {
		position: relative;
		white-space: nowrap;
		text-indent: 150%; /* More than 100% indention is needed since this element has padding */
		width: 28px;
		padding: 0 10px;
		overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */
	}

	#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
		position: absolute;
		top: 13px;
		right: 10px;
		width: 26px;
		height: 26px;
	}

	#wpadminbar #wp-admin-bar-user-actions.ab-submenu {
		padding: 0;
	}

	#wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar {
		display: none;
	}

	#wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li {
		margin: 0;
	}

	#wpadminbar #wp-admin-bar-user-info .display-name {
		height: auto;
		font-size: 16px;
		line-height: 24px;
		color: #eee;
	}

	#wpadminbar #wp-admin-bar-user-info a {
		padding-top: 4px;
	}

	#wpadminbar #wp-admin-bar-user-info .username {
		line-height: 0.8 !important;
		margin-bottom: -2px;
	}

	/* Show only default top level items */
	#wp-toolbar > ul > li {
		display: none;
	}

	#wpadminbar li#wp-admin-bar-menu-toggle,
	#wpadminbar li#wp-admin-bar-wp-logo,
	#wpadminbar li#wp-admin-bar-my-sites,
	#wpadminbar li#wp-admin-bar-updates,
	#wpadminbar li#wp-admin-bar-site-name,
	#wpadminbar li#wp-admin-bar-new-content,
	#wpadminbar li#wp-admin-bar-edit,
	#wpadminbar li#wp-admin-bar-comments,
	#wpadminbar li#wp-admin-bar-new-content,
	#wpadminbar li#wp-admin-bar-my-account {
		display: block;
	}

	/* Allow dropdown list items to appear normally */
	#wpadminbar li:hover ul li,
	#wpadminbar li.hover ul li,
	#wpadminbar li:hover ul li:hover ul li {
		display: list-item;
	}

	/* Override default min-width so dropdown lists aren't stretched
		to 100% viewport width at responsive sizes. */
	#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
		min-width: -webkit-fit-content;
		min-width: -moz-fit-content;
		min-width: fit-content;
	}

	#wpadminbar ul#wp-admin-bar-root-default > li {
		margin-right: 0;
	}

	/* Experimental fix for touch toolbar dropdown positioning */
	#wpadminbar .ab-top-menu,
	#wpadminbar .ab-top-secondary,
	#wpadminbar #wp-admin-bar-wp-logo,
	#wpadminbar #wp-admin-bar-my-sites,
	#wpadminbar #wp-admin-bar-site-name,
	#wpadminbar #wp-admin-bar-updates,
	#wpadminbar #wp-admin-bar-comments,
	#wpadminbar #wp-admin-bar-new-content,
	#wpadminbar #wp-admin-bar-edit,
	#wpadminbar #wp-admin-bar-my-account {
		position: static;
	}

	#wpadminbar #wp-admin-bar-my-account {
		float: right;
	}

	.network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
		margin-right: 0;
	}

	/* Realign arrows on taller responsive submenus */

	#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
		top: 10px;
		left: 0;
	}
}

/* Smartphone */
@media screen and (max-width: 600px) {
	#wpadminbar {
		position: absolute;
	}

	#wp-responsive-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 400;
	}

	#wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
		position: fixed;
		width: 100%;
		left: 0;
	}

	#wpadminbar .menupop .menupop > .ab-item:before {
		display: none;
	}

	#wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper {
		margin-left: 0;
	}

	#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper {
		margin: 0;
		width: 100%;
		top: auto;
		left: auto;
		position: relative;
	}

	#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper .ab-item {
		font-size: 16px;
		padding: 6px 15px 19px 30px;
	}

	#wpadminbar li:hover ul li ul li {
		display: list-item;
	}

	#wpadminbar li#wp-admin-bar-wp-logo,
	#wpadminbar li#wp-admin-bar-updates {
		display: none;
	}

	/* Make submenus full-width at this size */

	#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper {
		position: static;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
}


text:
/* jshint node: true */
'use strict';

module.exports = {
  name: 'concat-text'
};


text:
/*jshint node:true, asi:true, expr:true */

'use strict';

var fs = require('fs')
var join = require('path').join
var resolve = require('path').resolve
var format = require('util').format
var mkdirp = require('mkdirp')
var async = require('async')
var spawn = require('./utils/spawn')
var then = require('./utils/then')
require('colors')

module.exports = function(blogPath, options) {
  blogPath = resolve(process.cwd(), blogPath)

  if (fs.existsSync(blogPath)) {
    console.log(('The directory `%s` already exists.').yellow, blogPath)
    return false
  }

  var argsGroup = [
    ['index.html', 'init.js', blogPath],
    ['-r', 'css', blogPath],
    ['-r', 'js', blogPath]
  ]
  var tasks = []
  var cwd = join(__dirname, '..', 'templates')

  argsGroup.forEach(function(args) {
    tasks.push(function(callback) {
      spawn('cp', args, {
        cwd: cwd,
        exit: function(code) {
          code === 0 && callback()
        }
      })
    })
  })

  mkdirp.sync(join(blogPath))

  async.parallel(tasks, then(function() {
    var tips = format('Your blog is successfully created in `%s`. Enjoy!'.green, blogPath)
    console.log(tips);
  }))
}


text:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace WebsitePanel.Portal
{
    public partial class ScheduleInterval : WebsitePanelControlBase
    {
        public int Interval
        {
            get
            {
                int multiplier = 1;
                if (ddlUnits.SelectedIndex == 0)
                    multiplier = 86400;
                else if (ddlUnits.SelectedIndex == 1)
                    multiplier = 3600;
                else if (ddlUnits.SelectedIndex == 2)
                    multiplier = 60;
                else if (ddlUnits.SelectedIndex == 3)
                    multiplier = 1;

                return Utils.ParseInt(txtInterval.Text.Trim(), 0) * multiplier;
            }
            set
            {
                ListItem item = ddlUnits.SelectedItem;
                if (item != null)
                    item.Selected = false;

                int s = value;
                if (s % 86400 == 0)
                {
                    // days
                    ddlUnits.SelectedIndex = 0;
                    txtInterval.Text = ((int)(s / 86400)).ToString();
                }
                else if (s % 3600 == 0)
                {
                    // hours
                    ddlUnits.SelectedIndex = 1;
                    txtInterval.Text = ((int)(s / 3600)).ToString();
                }
                else if (s % 60 == 0)
                {
                    // minutes
                    ddlUnits.SelectedIndex = 2;
                    txtInterval.Text = ((int)(s / 60)).ToString();
                }
                else
                {
                    // seconds
                    ddlUnits.SelectedIndex = 3;
                    txtInterval.Text = s.ToString();
                }
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
        }
    }
}


text:
@class IOSByteArray;
@class IOSLongArray;
@class IOSObjectArray;
@class JavaLangLong;
@protocol JavaUtilCollection;
@protocol JavaUtilComparator;
@protocol JavaUtilList;

#define ComGoogleCommonPrimitivesLongs_BYTES 8
#define ComGoogleCommonPrimitivesLongs_MAX_POWER_OF_TWO 4611686018427387904LL

@interface ComGoogleCommonPrimitivesLongs : NSObject {
}

+ (jint)hashCodeWithLong:(jlong)value;

+ (jint)compareWithLong:(jlong)a
               withLong:(jlong)b;

+ (jboolean)containsWithLongArray:(IOSLongArray *)array
                         withLong:(jlong)target;

+ (jint)indexOfWithLongArray:(IOSLongArray *)array
                    withLong:(jlong)target;

+ (jint)indexOfWithLongArray:(IOSLongArray *)array
               withLongArray:(IOSLongArray *)target;

+ (jint)lastIndexOfWithLongArray:(IOSLongArray *)array
                        withLong:(jlong)target;

+ (jlong)minWithLongArray:(IOSLongArray *)array;

+ (jlong)maxWithLongArray:(IOSLongArray *)array;

+ (IOSLongArray *)concatWithLongArray2:(IOSObjectArray *)arrays;

+ (IOSByteArray *)toByteArrayWithLong:(jlong)value;

+ (jlong)fromByteArrayWithByteArray:(IOSByteArray *)bytes;

+ (jlong)fromBytesWithByte:(jbyte)b1
                  withByte:(jbyte)b2
                  withByte:(jbyte)b3
                  withByte:(jbyte)b4
                  withByte:(jbyte)b5
                  withByte:(jbyte)b6
                  withByte:(jbyte)b7
                  withByte:(jbyte)b8;

+ (JavaLangLong *)tryParseWithNSString:(NSString *)string;

+ (IOSLongArray *)ensureCapacityWithLongArray:(IOSLongArray *)array
                                      withInt:(jint)minLength
                                      withInt:(jint)padding;

+ (NSString *)joinWithNSString:(NSString *)separator
                 withLongArray:(IOSLongArray *)array;

+ (id<JavaUtilComparator>)lexicographicalComparator;

+ (IOSLongArray *)toArrayWithJavaUtilCollection:(id<JavaUtilCollection>)collection;

+ (id<JavaUtilList>)asListWithLongArray:(IOSLongArray *)backingArray;

@end

J2OBJC_EMPTY_STATIC_INIT(ComGoogleCommonPrimitivesLongs)

CF_EXTERN_C_BEGIN

FOUNDATION_EXPORT jint ComGoogleCommonPrimitivesLongs_hashCodeWithLong_(jlong value);

FOUNDATION_EXPORT jint ComGoogleCommonPrimitivesLongs_compareWithLong_withLong_(jlong a, jlong b);

FOUNDATION_EXPORT jboolean ComGoogleCommonPrimitivesLongs_containsWithLongArray_withLong_(IOSLongArray *array, jlong target);

FOUNDATION_EXPORT jint ComGoogleCommonPrimitivesLongs_indexOfWithLongArray_withLong_(IOSLongArray *array, jlong target);

FOUNDATION_EXPORT jint ComGoogleCommonPrimitivesLongs_indexOfWithLongArray_withLongArray_(IOSLongArray *array, IOSLongArray *target);

FOUNDATION_EXPORT jint ComGoogleCommonPrimitivesLongs_lastIndexOfWithLongArray_withLong_(IOSLongArray *array, jlong target);

FOUNDATION_EXPORT jlong ComGoogleCommonPrimitivesLongs_minWithLongArray_(IOSLongArray *array);

FOUNDATION_EXPORT jlong ComGoogleCommonPrimitivesLongs_maxWithLongArray_(IOSLongArray *array);

FOUNDATION_EXPORT IOSLongArray *ComGoogleCommonPrimitivesLongs_concatWithLongArray2_(IOSObjectArray *arrays);

FOUNDATION_EXPORT IOSByteArray *ComGoogleCommonPrimitivesLongs_toByteArrayWithLong_(jlong value);

FOUNDATION_EXPORT jlong ComGoogleCommonPrimitivesLongs_fromByteArrayWithByteArray_(IOSByteArray *bytes);

FOUNDATION_EXPORT jlong ComGoogleCommonPrimitivesLongs_fromBytesWithByte_withByte_withByte_withByte_withByte_withByte_withByte_withByte_(jbyte b1, jbyte b2, jbyte b3, jbyte b4, jbyte b5, jbyte b6, jbyte b7, jbyte b8);

FOUNDATION_EXPORT JavaLangLong *ComGoogleCommonPrimitivesLongs_tryParseWithNSString_(NSString *string);

FOUNDATION_EXPORT IOSLongArray *ComGoogleCommonPrimitivesLongs_ensureCapacityWithLongArray_withInt_withInt_(IOSLongArray *array, jint minLength, jint padding);

FOUNDATION_EXPORT NSString *ComGoogleCommonPrimitivesLongs_joinWithNSString_withLongArray_(NSString *separator, IOSLongArray *array);

FOUNDATION_EXPORT id<JavaUtilComparator> ComGoogleCommonPrimitivesLongs_lexicographicalComparator();

FOUNDATION_EXPORT IOSLongArray *ComGoogleCommonPrimitivesLongs_toArrayWithJavaUtilCollection_(id<JavaUtilCollection> collection);

FOUNDATION_EXPORT id<JavaUtilList> ComGoogleCommonPrimitivesLongs_asListWithLongArray_(IOSLongArray *backingArray);

J2OBJC_STATIC_FIELD_GETTER(ComGoogleCommonPrimitivesLongs, BYTES, jint)

J2OBJC_STATIC_FIELD_GETTER(ComGoogleCommonPrimitivesLongs, MAX_POWER_OF_TWO, jlong)
CF_EXTERN_C_END
#endif

J2OBJC_TYPE_LITERAL_HEADER(ComGoogleCommonPrimitivesLongs)
#if !defined (_ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum_) && (ComGoogleCommonPrimitivesLongs_INCLUDE_ALL || ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum_INCLUDE)
#define _ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum_

@class IOSLongArray;

#define JavaLangEnum_RESTRICT 1
#define JavaLangEnum_INCLUDE 1
#include "java/lang/Enum.h"

#define JavaUtilComparator_RESTRICT 1
#define JavaUtilComparator_INCLUDE 1
#include "java/util/Comparator.h"

typedef NS_ENUM(NSUInteger, ComGoogleCommonPrimitivesLongs_LexicographicalComparator) {
  ComGoogleCommonPrimitivesLongs_LexicographicalComparator_INSTANCE = 0,
};

@interface ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum : JavaLangEnum < NSCopying, JavaUtilComparator > {
}

- (jint)compareWithId:(IOSLongArray *)left
               withId:(IOSLongArray *)right;

+ (IOSObjectArray *)values;
FOUNDATION_EXPORT IOSObjectArray *ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum_values();

+ (ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum *)valueOfWithNSString:(NSString *)name;

FOUNDATION_EXPORT ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum *ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum_valueOfWithNSString_(NSString *name);
- (id)copyWithZone:(NSZone *)zone;

@end

FOUNDATION_EXPORT BOOL ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum_initialized;
J2OBJC_STATIC_INIT(ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum)

FOUNDATION_EXPORT ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum *ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum_values_[];

#define ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum_INSTANCE ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum_values_[ComGoogleCommonPrimitivesLongs_LexicographicalComparator_INSTANCE]
J2OBJC_ENUM_CONSTANT_GETTER(ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum, INSTANCE)
#endif

J2OBJC_TYPE_LITERAL_HEADER(ComGoogleCommonPrimitivesLongs_LexicographicalComparatorEnum)
#if !defined (_ComGoogleCommonPrimitivesLongs_LongArrayAsList_) && (ComGoogleCommonPrimitivesLongs_INCLUDE_ALL || ComGoogleCommonPrimitivesLongs_LongArrayAsList_INCLUDE)
#define _ComGoogleCommonPrimitivesLongs_LongArrayAsList_

@class IOSLongArray;
@class JavaLangLong;
@protocol JavaUtilList;

#define JavaUtilAbstractList_RESTRICT 1
#define JavaUtilAbstractList_INCLUDE 1
#include "java/util/AbstractList.h"

#define JavaUtilRandomAccess_RESTRICT 1
#define JavaUtilRandomAccess_INCLUDE 1
#include "java/util/RandomAccess.h"

#define JavaIoSerializable_RESTRICT 1
#define JavaIoSerializable_INCLUDE 1
#include "java/io/Serializable.h"

#define ComGoogleCommonPrimitivesLongs_LongArrayAsList_serialVersionUID 0LL

@interface ComGoogleCommonPrimitivesLongs_LongArrayAsList : JavaUtilAbstractList < JavaUtilRandomAccess, JavaIoSerializable > {
 @public
  IOSLongArray *array_;
  jint start_;
  jint end_;
}

- (instancetype)initWithLongArray:(IOSLongArray *)array;

- (instancetype)initWithLongArray:(IOSLongArray *)array
                          withInt:(jint)start
                          withInt:(jint)end;

- (jint)size;

- (jboolean)isEmpty;

- (JavaLangLong *)getWithInt:(jint)index;

- (jboolean)containsWithId:(id)target;

- (jint)indexOfWithId:(id)target;

- (jint)lastIndexOfWithId:(id)target;

- (JavaLangLong *)setWithInt:(jint)index
                      withId:(JavaLangLong *)element;

- (id<JavaUtilList>)subListWithInt:(jint)fromIndex
                           withInt:(jint)toIndex;

- (jboolean)isEqual:(id)object;

- (NSUInteger)hash;

- (NSString *)description;

- (IOSLongArray *)toLongArray;

@end

J2OBJC_EMPTY_STATIC_INIT(ComGoogleCommonPrimitivesLongs_LongArrayAsList)

J2OBJC_FIELD_SETTER(ComGoogleCommonPrimitivesLongs_LongArrayAsList, array_, IOSLongArray *)

CF_EXTERN_C_BEGIN

J2OBJC_STATIC_FIELD_GETTER(ComGoogleCommonPrimitivesLongs_LongArrayAsList, serialVersionUID, jlong)
CF_EXTERN_C_END
#endif

J2OBJC_TYPE_LITERAL_HEADER(ComGoogleCommonPrimitivesLongs_LongArrayAsList)


text:
package com.appacitive.core.model;

import com.appacitive.core.apjson.APJSONException;
import com.appacitive.core.apjson.APJSONObject;
import com.appacitive.core.infra.APSerializable;

import java.io.Serializable;
import java.util.*;

/**
 * Created by sathley.
 */
public class Link implements Serializable, APSerializable {

    private static final List<String> knownFields = new ArrayList<String>() {{
        add("name");
        add("authtype");
        add("username");
    }};

    public synchronized void setSelf(APJSONObject link) {
        if (link != null) {
            if (link.isNull("name") == false)
                this.name = link.optString("name");

            if (link.isNull("authtype") == false)
                this.authType = link.optString("authtype");

            if (link.isNull("username") == false)
                this.username = link.optString("username");

            Iterator iterator = link.keys();
            String key;
            while (iterator.hasNext()) {
                key = (String) iterator.next();
                if (knownFields.contains(key) == false)
                    this.attributes.put(key, link.optString(key));
            }
        }
    }

    @Override
    public synchronized APJSONObject getMap() throws APJSONException {
        return null;
    }

    private String name = null;

    private String authType = null;

    public String getUsername() {
        return username;
    }

    public String getName() {
        return name;
    }

    public String getAuthType() {
        return authType;
    }

    public Map<String, String> getAttributes() {
        return attributes;
    }

    private String username = null;

    private Map<String, String> attributes = new HashMap<String, String>();

}


text:
package com.s4game.oa.common.mapper;

import com.s4game.oa.common.entity.PlanChargeYear;

public interface PlanChargeYearMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PlanChargeYear record);

    int insertSelective(PlanChargeYear record);

    PlanChargeYear selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PlanChargeYear record);

    int updateByPrimaryKey(PlanChargeYear record);
}