text:
package net.derohimat.firebasebasemvp.view.main;

import android.content.Context;

import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;

import net.derohimat.baseapp.presenter.BasePresenter;
import net.derohimat.firebasebasemvp.FireAuthApplication;
import net.derohimat.firebasebasemvp.data.local.PreferencesHelper;

import javax.inject.Inject;

import timber.log.Timber;

/**
 * Created by deroh on 23/05/2016.
 */
public class MainPresenter implements BasePresenter<MainView> {

    @Inject
    MainPresenter(Context context) {
        ((FireAuthApplication) context.getApplicationContext()).getApplicationComponent().inject(this);
    }

    @Inject
    FirebaseAuth mAuth;
    @Inject
    PreferencesHelper mPreferencesHelper;

    private FirebaseAuth.AuthStateListener mAuthListener;
    private MainView mView;
//    private Subscription mSubscription;

    @Override
    public void attachView(MainView view) {
        mView = view;
    }

    @Override
    public void detachView() {
        mView = null;
//        if (mSubscription != null) mSubscription.unsubscribe();
    }

    void getUserData() {
        mView.showProgress();

        mAuthListener = firebaseAuth -> {
            mView.hideProgress();
            FirebaseUser user = firebaseAuth.getCurrentUser();
            if (user != null) {
                mView.getUserData(user);
                Timber.d("user signed in", user.getEmail());
            } else {
                Timber.d("user signed out");
            }
        };
    }

    void doLogout(){
        mAuth.signOut();
        mPreferencesHelper.clear();
    }

    void removeAuthListener() {
        if (mAuthListener != null) {
            mAuth.removeAuthStateListener(mAuthListener);
        }
    }

    void addAuthListener() {
        if (mAuthListener != null) {
            mAuth.addAuthStateListener(mAuthListener);
        }
    }
}


text:
package jiguang.chat.utils;

import android.content.Context;
import android.content.Intent;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

import jiguang.chat.activity.LoginActivity;

public class HandleResponseCode {
    public static void onHandle(Context context, int status, boolean isCenter){
        Toast toast = new Toast(context);
        LayoutInflater inflater = LayoutInflater.from(context);
        View view = inflater.inflate(IdHelper.getLayout(context, "jmui_default_toast"), null);
        TextView content = (TextView) view.findViewById(IdHelper.getViewID(context, "jmui_toast_content_tv"));
        switch (status){
            case 0:
                break;
            case 1000:
                content.setText(IdHelper.getString(context, "jmui_record_voice_permission_denied"));
                break;
            case 1001:
                content.setText(IdHelper.getString(context, "jmui_local_picture_not_found_toast"));
                break;
            case 1002:
                content.setText(IdHelper.getString(context, "jmui_user_already_exist_toast"));
                break;
            case 1003:
                content.setText(IdHelper.getString(context, "jmui_illegal_state_toast"));
                break;
            case 800002:
                content.setText(IdHelper.getString(context, "jmui_server_800002"));
                break;
            case 800003:
                content.setText(IdHelper.getString(context, "jmui_server_800003"));
                break;
            case 800004:
                content.setText(IdHelper.getString(context, "jmui_server_800004"));
                break;
            case 800005:
                content.setText(IdHelper.getString(context, "jmui_server_800005"));
                break;
            case 800006:
                content.setText(IdHelper.getString(context, "jmui_server_800006"));
                break;
            case 800012:
                content.setText(IdHelper.getString(context, "jmui_server_800012"));
                break;
            case 800013:
                content.setText(IdHelper.getString(context, "jmui_server_800013"));
                Intent intent = new Intent();
                intent.setClass(context, LoginActivity.class);
                context.startActivity(intent);
                break;
            case 800014:
                content.setText(IdHelper.getString(context, "jmui_server_800014"));
                break;
            case 801001:
            case 802001:
                content.setText(IdHelper.getString(context, "jmui_server_802001"));
                break;
            case 802002:
            case 898002:
            case 801003:
            case 899002:
                content.setText(IdHelper.getString(context, "jmui_server_801003"));
                break;
            case 899004:
            case 801004:
                content.setText(IdHelper.getString(context, "jmui_server_801004"));
                break;
            case 803001:
                content.setText(IdHelper.getString(context, "jmui_server_803001"));
                break;
            case 803002:
                content.setText(IdHelper.getString(context, "jmui_server_803002"));
                break;
            case 803003:
                content.setText(IdHelper.getString(context, "jmui_server_803003"));
                break;
            case 803004:
                content.setText(IdHelper.getString(context, "jmui_server_803004"));
                break;
            case 803005:
                content.setText(IdHelper.getString(context, "jmui_server_803005"));
                break;
            case 803008:
                content.setText(IdHelper.getString(context, "jmui_server_803008"));
                break;
            case 803009:
                content.setText(IdHelper.getString(context, "jmui_server_803009"));
                break;
            case 803010:
                content.setText(IdHelper.getString(context, "jmui_server_803010"));
                break;
            case 805002:
                content.setText(IdHelper.getString(context, ""));
            case 808003:
                content.setText(IdHelper.getString(context, "jmui_server_808003"));
                break;
            case 808004:
                content.setText(IdHelper.getString(context, "jmui_server_808004"));
                break;
            case 810003:
                content.setText(IdHelper.getString(context, "jmui_server_810003"));
                break;
            case 810005:
                content.setText(IdHelper.getString(context, "jmui_server_810005"));
                break;
            case 810007:
                content.setText(IdHelper.getString(context, "jmui_server_810007"));
                break;
            case 810008:
                content.setText(IdHelper.getString(context, "jmui_server_810008"));
                break;
            case 810009:
                content.setText(IdHelper.getString(context, "jmui_server_810009"));
                break;
            case 811003:
                content.setText(IdHelper.getString(context, "jmui_server_811003"));
                break;
            case 812002:
                content.setText(IdHelper.getString(context, "jmui_server_812002"));
                break;
            case 818001:
                content.setText(IdHelper.getString(context, "jmui_server_818001"));
                break;
            case 818002:
                content.setText(IdHelper.getString(context, "jmui_server_818002"));
                break;
            case 818003:
                content.setText(IdHelper.getString(context, "jmui_server_818003"));
                break;
            case 818004:
                content.setText(IdHelper.getString(context, "jmui_server_818004"));
                break;
            case 899001:
            case 898001:
                content.setText(IdHelper.getString(context, "jmui_sdk_http_899001"));
                break;
            case 898005:
                content.setText(IdHelper.getString(context, "jmui_sdk_http_898005"));
                break;
            case 898006:
                content.setText(IdHelper.getString(context, "jmui_sdk_http_898006"));
                break;
            case 898008:
                content.setText(IdHelper.getString(context, "jmui_sdk_http_898008"));
                break;
            case 898009:
                content.setText(IdHelper.getString(context, "jmui_sdk_http_898009"));
                break;
            case 898010:
                content.setText(IdHelper.getString(context, "jmui_sdk_http_898010"));
                break;
            case 898030:
                content.setText(IdHelper.getString(context, "jmui_sdk_http_898030"));
                break;
            case 800009:
            case 871104:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871104"));
                break;
            case 871300:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871300"));
                break;
            case 871303:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871303"));
                break;
            case 871304:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871304"));
                break;
            case 871305:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871305"));
                break;
            case 871309:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871309"));
                break;
            case 871310:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871310"));
                break;
            case 871311:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871311"));
                break;
            case 871312:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871312"));
                break;
            case 871319:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871319"));
                break;
            case 871403:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871403"));
                break;
            case 871404:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871404"));
                break;
            case 871501:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871501"));
                break;
            case 871502:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871502"));
                break;
            case 871503:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871503"));
                break;
            case 871504:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871504"));
                break;
            case 871505:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871505"));
                break;
            case 871506:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871506"));
                break;
            case 871102:
            case 871201:
                content.setText(IdHelper.getString(context, "jmui_sdk_87x_871201"));
                break;
            default:
                content.setText("Response code: " + status);
                break;
        }
        if(isCenter){
            toast.setGravity(Gravity.CENTER, 0, 0);
        }
        view.getBackground().setAlpha(150);
        toast.setView(view);
        toast.setDuration(Toast.LENGTH_SHORT);
        toast.show();
    }
}

redpajama_set_name: RedPajamaGithub


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

<title>SeleniumController</title>
<meta name="date" content="2014-03-26">
<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 Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method

br.ufmg.dcc.saotome.beholder.selenium

Class SeleniumController

java.lang.Object

br.ufmg.dcc.saotome.beholder.selenium.SeleniumController

public final class SeleniumController
extends java.lang.Object

This class is the basic structure to start a test using the TestNG framework and Selenium-Webdriver.
 Furthermore, it's the unique beholder-selenium class which will be called explicitly, because it contains
 the builder to generate the object of the other implemented classes of beholder interface.
 The controller supports three browsers: Firefox, Chrome (or Chromium) and Internet Explorer. Firefox and
 Internet Explorer only needs be parameter of startSelenium to be executed. However, Chrome needs a chromedriver
 that can be found in this link: http://code.google.com/p/chromedriver/downloads/list. To use the chrome
 driver, the system environment variable CHROME_DRIVER_BIN must be set. If the chrome application
 is not in the environment PATH, the CHROME_BIN can be used to pass the binary path of the chrome browser.

Author:

Ícaro Clever F. Braga (icaroclever@gmail.com)

Method Summary

Methods

Modifier and Type
Method and Description

static void
closeSelenium()

Close the driver.

static br.ufmg.dcc.saotome.beholder.Browser
getBrowser()

Returns a Browser object that contains methods to interact with the Browser's interface.

static br.ufmg.dcc.saotome.beholder.builder.Builder
getBuilder()

Returns the Beholder builder objects structure.

static org.openqa.selenium.WebDriver
getDriver()

Returns the Selenium driver object.

static java.lang.String
getParameter(java.lang.String paramenter)

static void
startSelenium(java.lang.String parameters)

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

startSelenium

public static void startSelenium(java.lang.String parameters)

Parameters:

browser -

profile -

Throws:

java.lang.Exception

closeSelenium

public static void closeSelenium()

Close the driver. It'll close the browsers window and stop the selenium RC.

getDriver

public static org.openqa.selenium.WebDriver getDriver()

Returns the Selenium driver object.

Returns:

the driver

getBuilder

public static br.ufmg.dcc.saotome.beholder.builder.Builder getBuilder()

Returns the Beholder builder objects structure.

Returns:

the builder

getBrowser

public static br.ufmg.dcc.saotome.beholder.Browser getBrowser()

Returns a Browser object that contains methods to interact with the Browser's interface.

Returns:

the webPage

getParameter

public static java.lang.String getParameter(java.lang.String paramenter)

Returns:

the parametersMap

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method


text:
from .core import run, sudo
from .decorator import dispatch

@dispatch("package")
def upgrade():
    """Updates every package present on the system."""

@dispatch("package")
def update(package=None):
    """
    Updates the package database (when no argument) or update the package or
    list of packages given as argument.
    """

@dispatch("package")
def install(package, update=False):
    """
    Installs the given package/list of package, optionally updating the package
    database.
    """

@dispatch("package")
def ensure(package, update=False):
    """
    Tests if the given package is installed, and installs it in case it's not
    already there. If `update` is true, then the package will be updated if it
    already exists.
    """

@dispatch("package")
def clean(package=None):
    """Clean the repository for un-needed files."""

# -----------------------------------------------------------------------------
# APT PACKAGE (DEBIAN/UBUNTU)
# -----------------------------------------------------------------------------

def update_apt(package=None):
    if package == None:
        sudo("apt-get --yes update")
    else:
        if type(package) in (list, tuple):
            package = " ".join(package)
        sudo(('DEBIAN_FRONTEND=noninteractive apt-get --yes '
              '-o Dpkg::Options::="--force-confdef" '
              '-o Dpkg::Options::="--force-confold" '
              'upgrade {0}').format(package))

def upgrade_apt():
    sudo(('DEBIAN_FRONTEND=noninteractive apt-get --yes '
          '-o Dpkg::Options::="--force-confdef" '
          '-o Dpkg::Options::="--force-confold" upgrade'))

def install_apt(package, update=False):
    if update:
        sudo(('DEBIAN_FRONTEND=noninteractive apt-get --yes '
              '-o Dpkg::Options::="--force-confdef" '
              '-o Dpkg::Options::="--force-confold" update'))
    if type(package) in (list, tuple):
        package = " ".join(package)
    sudo(("DEBIAN_FRONTEND=noninteractive apt-get --yes "
          "install {0}").format(package))

def ensure_apt(package, update=False):
    status = run("dpkg-query -W -f='${Status}' {0} ; true".format(package))
    if status.find("not-installed") != -1 or status.find("installed") == -1:
        install(package, update)
        return False
    else:
        if update:
            update(package)
        return True

def clean_apt(package=None):
    pass

# -----------------------------------------------------------------------------
# YUM PACKAGE (RedHat, CentOS)
# Added by Prune - 20120408 - v1.0
# -----------------------------------------------------------------------------

def upgrade_yum():
    sudo("yum -y update")

def update_yum(package=None):
    if package == None:
        sudo("yum -y update")
    else:
        if type(package) in (list, tuple):
            package = " ".join(package)
        sudo("yum -y upgrade {0}".format(package))

def install_yum(package, update=False):
    if update:
        sudo("yum -y update")
    if type(package) in (list, tuple):
        package = " ".join(package)
    sudo("yum -y install {0}".format(package))

def ensure_yum(package, update=False):
    status = run("yum list installed {0} ; true".format(package))
    if status.find("No matching Packages") != -1 or status.find(package) == -1:
        install(package, update)
        return False
    else:
        if update:
            update(package)
        return True

def clean_yum(package=None):
    sudo("yum -y clean all")

# -----------------------------------------------------------------------------
# ZYPPER PACKAGE (openSUSE)
# -----------------------------------------------------------------------------

def upgrade_zypper():
    sudo(("zypper --non-interactive --gpg-auto-import-keys update "
          "--type package"))

def update_zypper(package=None):
    if package == None:
        sudo("zypper --non-interactive --gpg-auto-import-keys refresh")
    else:
        if type(package) in (list, tuple):
            package = " ".join(package)
        sudo(("zypper --non-interactive --gpg-auto-import-keys update "
              "--type package {0}").format(package))

def install_zypper(package, update=False):
    if update:
        update_zypper()
    if type(package) in (list, tuple):
        package = " ".join(package)
    sudo(("zypper --non-interactive --gpg-auto-import-keys install "
          "--type package --name {0}").format(package))

def ensure_zypper(package, update=False):
    status = run(("zypper --non-interactive --gpg-auto-import-keys "
                  "search --type package --installed-only "
                  "--match-exact {0} ; true").format(package))
    if status.find("No packages found.") != -1 or status.find(package) == -1:
        install_zypper(package)
        return False
    else:
        if update:
            update_zypper(package)
        return True

def clean_zypper():
    sudo("zypper --non-interactive clean")


text:
#ifndef _VTKFILEWRITERS_HPP_
#define _VTKFILEWRITERS_HPP_

#include <string>
#include <vector>

#include "MXA/Common/MXAEndian.h"
#include "MXA/Common/MXASetGetMacros.h"
#include "VTKWriterMacros.h"

/**
 * @brief This is the SuperClass to implement if you want to write scalars to
 * a VTK Legacy File. The only method you need to implement is the writeScalars(FILE* f).
 */
class VtkScalarWriter
{
  public:
    VtkScalarWriter() : m_WriteBinaryFiles(true) {}
    virtual ~VtkScalarWriter() {}

    MXA_INSTANCE_VEC2_PROPERTY(uint16_t, XDims)
    MXA_INSTANCE_VEC2_PROPERTY(uint16_t, YDims)
    MXA_INSTANCE_VEC2_PROPERTY(uint16_t, ZDims)

    void setWriteBinaryFiles(bool v)
    {
      m_WriteBinaryFiles = v;
    }

    bool getWriteBinaryFiles() { return m_WriteBinaryFiles; }

    virtual int writeScalars(FILE* f)
    {
      int err = -1;
      return err;
    }

  protected:

  private:
    bool m_WriteBinaryFiles;

    VtkScalarWriter(const VtkScalarWriter&); // Copy Constructor Not Implemented
    void operator=(const VtkScalarWriter&); // Operator '=' Not Implemented
};

/**
 * @brief This macro can help you define the class needed to write a "Scalar" array
 * to the VTK file. This class is specifically setup for writing voxel based
 * properties to the VTK file
 */
#define VtkSCALARWRITER_CLASS_DEF(name, r, const_name, type, scalar, format)\
  template<typename T>\
  class name : public VtkScalarWriter\
  {\
    public:\
      name(T* r) : r(r) {}\
      virtual ~name(){}\
      int writeScalars(FILE* f)  {\
        int err = 0;\
        std::string file;\
        size_t total = r->getXPoints() * r->getYPoints() * r->getZPoints();\
        if (m_WriteBinaryFiles == true) {\
          WRITE_VTK_SCALARS_FROM_VOXEL_BINARY(r, const_name, type, scalar)\
        }    else    {\
          WRITE_VTK_SCALARS_FROM_VOXEL_ASCII(r, const_name, type, scalar, format)\
        }\
        return err;\
      }\
    private:\
      T* r;\
      name(const name&); \
      void operator=(const name&);\
  };

#define VtkSCALARWRITER_CLASS_DEF_CHAR(name, r, const_name, type, scalar, format)\
  template<typename T>\
  class name : public VtkScalarWriter\
  {\
    public:\
      name(T* r) : r(r) {}\
      virtual ~name(){}\
      int writeScalars(FILE* f)  {\
        int err = 0;\
        std::string file;\
        size_t total = r->getXPoints() * r->getYPoints() * r->getZPoints();\
        if (m_WriteBinaryFiles == true) {\
          WRITE_VTK_SCALARS_FROM_VOXEL_BINARY_NOSWAP(r, const_name, type, scalar)\
        }    else    {\
          WRITE_VTK_SCALARS_FROM_VOXEL_ASCII(r, const_name, type, scalar, format)\
        }\
        return err;\
      }\
    private:\
      T* r;\
      name(const name&); \
      void operator=(const name&);\
  };

/**
 * @class VTKRectilinearGridFileWriter VTKRectilinearGridFileWriter.h OpenMBIR/Common/VTKUtils/VTKRectilinearGridFileWriter.h
 * @brief This is the main class to call when you want to write voxel based data
 * to a Rectilinear Grid based VTK data set. In order to write Scalar attributes
 * one needs to also include a vector of VtkScalarWriter objects. Each VtkScalarWriter
 * subclass knows how to write a specific scalar array to the file. When implementing
 * those subclasses keep in mind that you should be able to write both the ASCII
 * and Binary versions of your data to the VTK File.
 * @author Michael A. Jackson for BlueQuartz Software
 * @date Jun 13, 2011
 * @version 1.0
 */
class VTKRectilinearGridFileWriter
{
  public:
    //   MXA_SHARED_POINTERS(VTKRectilinearGridFileWriter);
    //   MXA_STATIC_NEW_MACRO(VTKRectilinearGridFileWriter);
    MXA_TYPE_MACRO(VTKRectilinearGridFileWriter);

    VTKRectilinearGridFileWriter() : m_WriteBinaryFiles(false) {}
    virtual ~VTKRectilinearGridFileWriter() {}

    MXA_INSTANCE_PROPERTY(bool, WriteBinaryFiles)

    /**
     * @brief This function writes a set of Axis coordinates to that are needed
     * for a Rectilinear Grid based data set.
     * @param f The "C" FILE* pointer to the file being written to.
     * @param axis The name of the Axis that is being written
     * @param type The type of primitive being written (float, int, ...)
     * @param npoints The total number of points in the array
     * @param min The minimum value of the axis
     * @param max The maximum value of the axis
     * @param step The step value between each point on the axis.
     */
    template<typename T>
    int writeCoords(FILE* f, const char* axis, const char* type, int npoints, T min, T max, T step)
    {
      int err = 0;
      fprintf(f, "%s %d %s\n", axis, npoints, type);
      if (m_WriteBinaryFiles == true)
      {
        T* data = new T[npoints];
        T d;
        for (int idx = 0; idx < npoints; ++idx)
        {
          d = idx * step + min;
          MXA::Endian::FromSystemToBig::convert<T>(d);
          data[idx] = d;
        }
        size_t totalWritten = fwrite(static_cast<void*>(data), sizeof(T), static_cast<size_t>(npoints), f);
        delete[] data;
        data = NULL;
        if (totalWritten != static_cast<size_t>(npoints) )
        {
          std::cout << "Error Writing Binary VTK Data into file " << std::endl;
          fclose(f);
          return -1;
        }

      }
      else
      {
        T d;
        for (int idx = 0; idx < npoints; ++idx)
        {
          d = idx * step + min;
          fprintf(f, "%f ", d);
          if (idx % 20 == 0 && idx != 0) { fprintf(f, "\n"); }
        }
        fprintf(f, "\n");
      }
      return err;
    }

    /**
     * @brief This is the method to call to write the Rectilinear Grid Data to the
     * legacy VTK data file
     * @param file The name of the file to write
     * @param r The Template Parameter for a one of the Plugin Func classes.
     * @param scalars The Vector of Scalars that need to also be written
     * @return Negative Value on error
     */
    template<typename T>
    int write(const std::string& file, T* r, std::vector<VtkScalarWriter*> scalars)
    {
      int err = 0;
      FILE* f = NULL;
      f = fopen(file.c_str(), "wb");
      if (NULL == f)
      {
        return -1;
      }
      // Write the correct header
      if (m_WriteBinaryFiles == true)
      {
        WRITE_RECTILINEAR_GRID_HEADER("BINARY", r, r->getXPoints(), r->getYPoints(), r->getZPoints())
      }
      else
      {
        WRITE_RECTILINEAR_GRID_HEADER("ASCII", r, r->getXPoints(), r->getYPoints(), r->getZPoints())
      }

      // Write the XCoords
      writeCoords(f, "X_COORDINATES", "float", r->getXPoints() + 1, 0.0f - r->resx * 0.5f, (float)(r->getXPoints() + 1 * r->resx), r->resx);
      writeCoords(f, "Y_COORDINATES", "float", r->getYPoints() + 1, 0.0f - r->resy * 0.5f, (float)(r->getYPoints() + 1 * r->resy), r->resy);
      writeCoords(f, "Z_COORDINATES", "float", r->getZPoints() + 1, 0.0f - r->resz * 0.5f, (float)(r->getZPoints() + 1 * r->resz), r->resz);

      size_t total = r->getXPoints() * r->getYPoints() * r->getZPoints();
      fprintf(f, "CELL_DATA %d\n", (int)total);

      // Now loop on all of our Scalars and write those arrays as CELL_DATA
      for (typename std::vector<VtkScalarWriter*>::iterator iter = scalars.begin(); iter != scalars.end(); ++iter)
      {
        err = (*iter)->writeScalars(f);
        if (err < 0)
        {
          break;
        }
      }
      // Close the file
      fclose(f);
      return err;
    }

  private:
    VTKRectilinearGridFileWriter(const VTKRectilinearGridFileWriter&); // Copy Constructor Not Implemented
    void operator=(const VTKRectilinearGridFileWriter&); // Operator '=' Not Implemented
};

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
typedef struct
{
  int xStart;
  int xEnd;
  int yStart;
  int yEnd;
  int zStart;
  int zEnd;
  float resx;
  float resy;
  float resz;
}  DimsAndRes;

#define WRITE_STRUCTURED_POINTS_HEADER_2(FILE_TYPE, ptr)\
  fprintf(f, "# vtk DataFile Version 2.0\n");\
  fprintf(f, "data set from OpenMBIR\n");\
  fprintf(f, FILE_TYPE); fprintf(f, "\n");\
  fprintf(f, "DATASET STRUCTURED_POINTS\n");\
  int xDim = ptr->xEnd - ptr->xStart;\
  int yDim = ptr->yEnd - ptr->yStart;\
  int zDim = ptr->zEnd - ptr->zStart;\
  fprintf(f, "DIMENSIONS %d %d %d\n", xDim, yDim, zDim);\
  fprintf(f, "ORIGIN 0.0 0.0 0.0\n");\
  fprintf(f, "SPACING %f %f %f\n", ptr->resx, ptr->resy, ptr->resz);\
  fprintf(f, "POINT_DATA %d\n\n", xDim * yDim * zDim );\

#define WRITE_VTK_FLOAT_VOXEL_BINARY_2(ptr, ScalarName, type)  \
  fprintf(f, "SCALARS %s float 1\n", ScalarName.c_str() );\
  fprintf(f, "LOOKUP_TABLE default\n"); \
  { \
    float t;\
    uint16_t xStart, xEnd, yStart, yEnd, zStart, zEnd;\
    getXDims(xStart, xEnd);\
    getYDims(yStart, yEnd);\
    getZDims(zStart, zEnd);\
    for (int16_t i = zEnd - 1; i >= zStart; i--) {\
      for (uint16_t j = yStart; j < yEnd; ++j) {\
        for (uint16_t k = xStart; k < xEnd; k++) {\
          t = static_cast<float>(ptr->Object->getValue(i, k, j) );\
          MXA::Endian::FromSystemToBig::convert<float>(t); \
          fwrite(&t, sizeof(float), 1, f);\
        }\
      }\
    }\
  }

#define WRITE_VTK_FLOAT_VOXEL_ASCII_2(ptr, ScalarName)  \
  fprintf(f, "SCALARS %s float 1\n", ScalarName.c_str() );\
  fprintf(f, "LOOKUP_TABLE default\n"); \
  { \
    uint16_t xStart, xEnd, yStart, yEnd, zStart, zEnd;\
    getXDims(xStart, xEnd);\
    getYDims(yStart, yEnd);\
    getZDims(zStart, zEnd);\
    for (int16_t i = zEnd -1; i >= zStart; i--) {\
      for (uint16_t j = yStart; j < yEnd; ++j) {\
        for (uint16_t k = xStart; k < xEnd; k++) {\
          fprintf(f, "%0.6f ", ptr->Object->getValue(i, k, j) );\
        }\
        fprintf(f, "\n");\
      }\
    }\
  }

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
class TomoOutputScalarWriter : public VtkScalarWriter
{
  public:
    TomoOutputScalarWriter(Geometry* r) : r(r) {}
    virtual ~TomoOutputScalarWriter() {}

    int writeScalars(FILE* f)
    {
      int err = 0;
      std::string file;
      if (getWriteBinaryFiles() == true)
      {
        WRITE_VTK_FLOAT_VOXEL_BINARY_2(r, MBIR::Defaults::VTK::TomoVoxelScalarName, float)
      }
      else
      {
        WRITE_VTK_FLOAT_VOXEL_ASCII_2(r, MBIR::Defaults::VTK::TomoVoxelScalarName)
      }
      return err;
    }

  private:
    Geometry* r;
    TomoOutputScalarWriter(const TomoOutputScalarWriter&); // Copy Constructor Not Implemented
    void operator=(const TomoOutputScalarWriter&); // Operator '=' Not Implemented
};

/**
 *
 */
class VTKStructuredPointsFileWriter
{
  public:
    VTKStructuredPointsFileWriter() {}
    MXA_TYPE_MACRO(VTKStructuredPointsFileWriter);

    virtual ~VTKStructuredPointsFileWriter() {}

    MXA_INSTANCE_PROPERTY(bool, WriteBinaryFiles)

    MXA_INSTANCE_VEC2_PROPERTY(uint16_t, XDims)
    MXA_INSTANCE_VEC2_PROPERTY(uint16_t, YDims)
    MXA_INSTANCE_VEC2_PROPERTY(uint16_t, ZDims)

    template<typename T>
    int write(const std::string& file, T* r, std::vector<VtkScalarWriter*> scalars)
    {
      int err = 0;
      FILE* f = NULL;
      f = fopen(file.c_str(), "wb");
      if (NULL == f)
      {
        return 1;
      }
      // Write the correct header
      if (m_WriteBinaryFiles == true)
      {
        WRITE_STRUCTURED_POINTS_HEADER_2("BINARY", r)
      }
      else
      {
        WRITE_STRUCTURED_POINTS_HEADER_2("ASCII", r)
      }

      //size_t total = r->getXPoints() * r->getYPoints() * r->getZPoints();
      // Now loop on all of our Scalars and write those arrays as CELL_DATA
      for (typename std::vector<VtkScalarWriter*>::iterator iter = scalars.begin(); iter != scalars.end(); ++iter )
      {
        err = (*iter)->writeScalars(f);
        if (err < 0)
        {
          break;
        }
      }

      fclose(f);
      return err;
    }
  protected:

  private:
    VTKStructuredPointsFileWriter(const VTKStructuredPointsFileWriter&); // Copy Constructor Not Implemented
    void operator=(const VTKStructuredPointsFileWriter&); // Operator '=' Not Implemented
};

#endif /* _VTKFILEWRITERS_HPP_ */


text:
<!--
Description: entry title type='text/plain'
Expect:      not bozo and entries[0]['title_detail']['type'] == 'text/plain'
-->
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<entry>
  <title type="text/plain">Example Atom</title>
</entry>
</feed>


text:
/**
 * Created by dantegg on 16-12-29.
 */
const models = require('../models')
const services = require('../services')
const router = require('koa-router')()
const path = require('path')
const multiparty = require('multiparty')
const fs = require('fs')
const joinPath = require('path').join
router.prefix('/api')

router.post('/login',async(ctx)=>{
    const body = ctx.request.body
    const user = await models.user.getByEmail(body.email)
    //console.log("user",!user)
    if(!user){
        console.log("user",!user)
        //ctx.status = 301
        //ctx.redirect('/')
        ctx.body={
            success:false,
            msg:'password or username is wrong'
        }
        return
    }
    if(body.password !== user.password){
        ctx.body={
            success:false,
            msg:'password or username is wrong'
        }
        return
    }
    ctx.session.userId = user._id
    //console.log('user is',body.email,'login time is',new Date())
    ctx.body={
        success:true,
        msg:'login success'
    }
    //ctx.redirect('/space')
})

router.get('/logout',async(ctx)=>{
    //console.log('??logout')
    ctx.session = null
    ctx.body={
        "success":true,
        "msg":"logout success"
    }
})

router.get('/user',async(ctx)=>{
    const userId = ctx.session.userId
    const user = await models.user.get(userId)
    ctx.body = user ||{}
})

router.post('/postblog',async (ctx)=>{
    if(!ctx.session.userId){
        ctx.body={
            success:false
        }
        return
    }
    const body = ctx.request.body
    //console.log('body',body)

    const blog = {
        title:body.title,
        content:body.content,
        createTime:Date.now(),
        tagId:body.tagList
    }
    ctx.body = await models.blog.create(blog)
})

router.post('/moreNews',async (ctx)=>{
    const body = ctx.request.body
    let list = await services.news.getNews(body.nextPage)
    ctx.body = list
})

router.get('/getAllTags',async (ctx)=>{
    let list = await models.tag.findAllTags().toArray()
    ctx.body = await services.news.normalizedTagList(list)
})

router.post('/createTag',async(ctx)=>{
    console.log(ctx.session.userId)
    if(!ctx.session.userId) {
        ctx.body={
            success:false
        }
        return
    }
    const body = ctx.request.body
    const tag = {
        tagName:body.tagName
    }
    let result = await models.tag.create(tag)
    if(!!result){
        ctx.body={
            success:true
        }
    }else{
        ctx.body={
            success:false
        }
    }

})

const uploadDir = joinPath(__dirname,'../upload')

const parseMultipart = (req, opts) => new Promise((resolve, reject) => {
    const form = new multiparty.Form(opts)
    form.parse(req, (err, fields, files) => {
        if (err) {
            reject(err)
        } else {
            resolve(files)
        }
    })
})

//上传头像 upload avatar
router.post('/uploadAvatar',async (ctx)=>{

    if(!ctx.session.userId) {
        ctx.body={
            success:false
        }
        return
    }
    //console.log(ctx.session.userId)
    const files = await parseMultipart(ctx.req, {
        uploadDir: uploadDir
    })
    //console.log('files',files.file[0])
    var newPath = files.file[0].path.replace(uploadDir, '')
    //fs.unlinkSync(uploadDir+'/avatar.jpg')
    fs.rename(files.file[0].path,uploadDir+'/avatar.jpg')
    //console.log('newpath',newPath)
    var url = 'http://localhost:3000/upload/avatar.jpg'
    //console.log('new path',url)
    ctx.body = {
        avatar: url
    }
})

router.post('/findBlogByPage',async(ctx)=>{
    const body = ctx.request.body
    let findTime = ''
    if(body.id === undefined){
        findTime = Date.now()
    }else{
        let record = await models.blog.find({_id:body.id})
        findTime = record.createTime
    }
    let blogs = await models.blog.findBlogs(findTime).toArray()
    ctx.body = await services.news.normalizedList(blogs)
})

//分页查询博客 a simple pagination
router.post('/findBlogBySimplePagination',async(ctx)=>{
    const body = ctx.request.body
    let currentPage = body.currentPage
    let pageSize = body.pageSize
    let blogs = await models.blog.findBlogByPage(currentPage,pageSize)
    let blogList = await services.news.normalizedList(blogs)
    let blogCount = await models.blog.findBlogSize()
    ctx.body = {
        blogList:blogList,
        blogCount:blogCount
    }
})

//删除博客 delete blog
router.post('/deleteblog',async(ctx)=>{
    if(!ctx.session.userId){
        ctx.body={
            success:false
        }
        return
    }
    //console.log('sss',ctx.request.body)
    let body = ctx.request.body
    let id = body.id
    let currentPage = parseInt(body.currentPage)
    let pageSize = parseInt(body.pageSize)
    await models.blog.del(id)
    let blogs = await models.blog.findBlogByPage(currentPage,pageSize)
    let blogList = await services.news.normalizedList(blogs)
    let blogCount = await models.blog.findBlogSize()
    ctx.body = {
        blogList:blogList,
        blogCount:blogCount
    }
})

router.post('/getBlogById',async(ctx)=>{
    let body = ctx.request.body
    let blogId = body.blogId
    ctx.body = await models.blog.get(blogId)
})

router.get('/session/get',async(ctx)=>{
    ctx.body = ctx.session
})

router.get('/session/set',async(ctx)=>{
    ctx.session.foo = 'bar'
    ctx.session.time = Date.now()
    ctx.body = ctx.session
})

router.get('/session/reset',async(ctx)=>{
    ctx.session = null
    ctx.body = 'reseted'
})

router.post('/test',async(ctx)=>{
    ctx.body = {
        foo:'bar',
        test:'zzz',
        headers:ctx.headers,
        postBody:ctx.request.body
    }
})

export default router


text:
<?php
    include('head.php');

?>

         <form action="post.php" method="POST">

		  	<textarea class="form-control" placeholder="Share your thoughts" name="post_desc" rows="5"></textarea>

		  <button type="submit" class="btn btn-block btn-primary">Submit</button>
		</form>

 <?php
 include('foot.php');
 ?>


text:
import webapp2

from models.questions import QuestionRepository

class AddMore(webapp2.RequestHandler):
    URL = '/add_more'

    def get(self):
        number_of_items_to_add = self.request.get('n')
        if not number_of_items_to_add:
            number_of_items_to_add = 10

        QuestionRepository.populate(int(number_of_items_to_add))

        self.response.headers['Content-Type'] = 'text/plain'
        self.response.out.write('OK')


text:
package org.kaazing.k3po.driver.internal.netty.bootstrap.http;

import org.jboss.netty.channel.ChannelFactory;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.channel.ChannelSink;
import org.jboss.netty.channel.ServerChannel;
import org.kaazing.k3po.driver.internal.netty.bootstrap.channel.AbstractChannel;
import org.kaazing.k3po.driver.internal.netty.channel.ChannelAddress;

public final class HttpChildChannel extends AbstractChannel<HttpChannelConfig> {

    public enum HttpReadState { REQUEST, CONTENT_CHUNKED, CONTENT_COMPLETE, UPGRADED }
    public enum HttpWriteState { RESPONSE, CONTENT_CHUNKED, CONTENT_CLOSE, CONTENT_CLOSING, CONTENT_BUFFERED, CONTENT_COMPLETE, UPGRADED }

    private HttpReadState readState;
    private HttpWriteState writeState;

    HttpChildChannel(ServerChannel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink) {
        super(parent, factory, pipeline, sink, new DefaultHttpChannelConfig());
        this.readState = HttpReadState.REQUEST;
        this.writeState = HttpWriteState.RESPONSE;
    }

    HttpWriteState writeState() {
        return writeState;
    }

    void writeState(HttpWriteState writeState) {
        this.writeState = writeState;
    }

    HttpReadState readState() {
        return readState;
    }

    void readState(HttpReadState readState) {
        this.readState = readState;
    }

    @Override
    protected void setBound() {
        super.setBound();
    }

    @Override
    protected void setConnected() {
        super.setConnected();
    }

    @Override
    protected void setLocalAddress(ChannelAddress localAddress) {
        super.setLocalAddress(localAddress);
    }

    @Override
    protected void setRemoteAddress(ChannelAddress remoteAddress) {
        super.setRemoteAddress(remoteAddress);
    }

    protected boolean setReadClosed() {
        return super.setReadClosed();
    }

    protected boolean setWriteClosed() {
        return super.setWriteClosed();
    }

    protected boolean setReadAborted() {
        return super.setReadAborted();
    }

    protected boolean setClosed() {
        return super.setClosed();
    }
}


text:
package com.arrival.windows.model;

/**
 * @author: Aaron Kutekidila
 * @version: 1.0
 * Created: 14.08.2015.
 * @since: 1.0
 * Package: com.arrival.windows.model
 */

import com.arrival.utilities.interfaces.IFConfig;

public class Options implements IFConfig {
    private String platform = null;
    private Boolean parallelTesting = false;
    private Integer parallelThreadCounter = 0;
    private String saveResultPath = null;

    private String browserName = null;
    private String serverName = null;

    private String mobilePlatform = null;
    private String mobileTestingArt = null;
    private String hubServer = null;
    private String hubPort = null;
    private String appFilePath = null;
    private String packageBundleID = null;

    private Boolean jsonConfigInUse = false;
    private String jsonConfigPath = null;

    public Options(){

    }

    public Options(String platform, Boolean parallelTesting, Integer parallelThreadCounter, String saveResultPath, String browserName, String serverName, String mobilePlatform, String mobileTestingArt, String hubServer, String hubPort, String appFilePath, String packageBundleID, Boolean jsonConfigInUse, String jsonConfigPath) {
        this.platform = platform;
        this.parallelTesting = parallelTesting;
        this.parallelThreadCounter = parallelThreadCounter;
        this.saveResultPath = saveResultPath;
        this.browserName = browserName;
        this.serverName = serverName;
        this.mobilePlatform = mobilePlatform;
        this.mobileTestingArt = mobileTestingArt;
        this.hubServer = hubServer;
        this.hubPort = hubPort;
        this.appFilePath = appFilePath;
        this.packageBundleID = packageBundleID;
        this.jsonConfigInUse = jsonConfigInUse;
        this.jsonConfigPath = jsonConfigPath;
    }

    public Options(Options options) {
        this.platform = options.getPlatform();
        this.parallelTesting = options.getParallelTesting();
        this.parallelThreadCounter = options.getParallelThreadCounter();
        this.saveResultPath = options.getSaveResultPath();
        this.browserName = options.getBrowserName();
        this.serverName = options.getServerName();
        this.mobilePlatform = options.getMobilePlatform();
        this.mobileTestingArt = options.getMobileTestingArt();
        this.hubServer = options.getHubServer();
        this.hubPort = options.getHubPort();
        this.appFilePath = options.getAppFilePath();
        this.packageBundleID = options.getPackageBundleID();
        this.jsonConfigInUse = options.getJsonConfigInUse();
        this.jsonConfigPath = options.getJsonConfigPath();
    }

    @Override
    public String toString() {
        return           platform
                + "->" + parallelTesting.toString()
                + "->" + parallelThreadCounter
                + "->" + browserName
                + "->" + serverName
                + "->" + mobilePlatform
                + "->" + mobileTestingArt
                + "->" + hubServer
                + "->" + hubPort
                + "->" + appFilePath
                + "->" + packageBundleID
                + "->" + jsonConfigInUse.toString()
                + "->" + jsonConfigPath
                + "->" + saveResultPath;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getJsonConfigPath() {
        return jsonConfigPath;
    }

    public void setJsonConfigPath(String jsonConfigPath) {
        this.jsonConfigPath = jsonConfigPath;
    }

    public String getMobileTestingArt() {
        return mobileTestingArt;
    }

    public void setMobileTestingArt(String mobileTestingArt) {
        this.mobileTestingArt = mobileTestingArt;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getBrowserName() {
        return browserName;
    }

    public void setBrowserName(String browserName) {
        this.browserName = browserName;
    }

    public Boolean getParallelTesting() {
        return parallelTesting;
    }

    public void setParallelTesting(Boolean parallelTesting) {
        this.parallelTesting = parallelTesting;
    }

    public Integer getParallelThreadCounter() {
        return parallelThreadCounter;
    }

    public void setParallelThreadCounter(Integer parallelThreadCounter) {
        this.parallelThreadCounter = parallelThreadCounter;
    }

    public Boolean getJsonConfigInUse() {
        return jsonConfigInUse;
    }

    public void setJsonConfigInUse(Boolean jsonConfigInUse) {
        this.jsonConfigInUse = jsonConfigInUse;
    }

    public String getSaveResultPath() {
        return saveResultPath;
    }

    public void setSaveResultPath(String saveResultPath) {
        this.saveResultPath = saveResultPath;
    }

    public String getMobilePlatform() {
        return mobilePlatform;
    }

    public void setMobilePlatform(String mobilePlatform) {
        this.mobilePlatform = mobilePlatform;
    }

    public String getAppFilePath() {
        return appFilePath;
    }

    public void setAppFilePath(String appFilePath) {
        this.appFilePath = appFilePath;
    }

    public String getPackageBundleID() {
        return packageBundleID;
    }

    public void setPackageBundleID(String packageBundleID) {
        this.packageBundleID = packageBundleID;
    }

    public String getHubServer() {
        return hubServer;
    }

    public void setHubServer(String hubServer) {
        this.hubServer = hubServer;
    }

    public String getHubPort() {
        return hubPort;
    }

    public void setHubPort(String hubPort) {
        this.hubPort = hubPort;
    }
}


text:
FOUNDATION_EXPORT double Pods_KingfisherDemoTestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_KingfisherDemoTestsVersionString[];


text:
<?php

namespace Mshauneu\RdKafkaBundle\Topic;

use RdKafka\Consumer;
use RdKafka\ConsumerTopic;

/**
 * TopicConsumer
 *
 * @author Mike Shauneu <mike.shauneu@gmail.com>
 */
class TopicConsumer extends TopicCommunicator {

	/**
	 * @var bool
	 */
	protected $isConsuming = false;

	/**
	 * @var ConsumerTopic
	 */
	protected $consumerTopic;

	/**
	 * @param number $partition
	 * @param string $offset, @see Offset constants
	 * @throws \Exception
	 */
	public function consumeStart($offset = TopicCommunicator::OFFSET_BEGINNING, $partition = 0) {
		if ($this->isConsuming === true) {
			throw new \Exception("This topic is already consuming");
		}

		$config = $this->getConfig($this->props);
		$consumer = new Consumer($config);
		$consumer->addBrokers($this->brokers);
		$consumerTopicConf = $this->getTopicConfig($this->topicProps);
		$this->consumerTopic = $consumer->newTopic($this->topic, $consumerTopicConf);
		$this->consumerTopic->consumeStart($partition, $offset);

		$this->isConsuming = true;
	}

	/**
	 * @param ConsumerInterface $consumer
	 * @param number $partition
	 * @param number $timeoutInMs
	 * @throws \Exception
	 */
	public function consume($consumer, $partition = 0, $timeoutInMs = 1000) {
		if ($consumer === null) {
			throw new \Exception ("Mo Consumer impl defined");
		}
		if (true !== $this->isConsuming) {
			throw new \Exception ("Please call consumeStart first to start consuming message");
		}

        if($message = $this->consumerTopic->consume($partition, $timeoutInMs)) {
            return $consumer->consume($message->topic_name, $message->partition, $message->offset, $message->key, $message->payload);
        }

        return true;
	}

	public function stop()
    {
        $this->consumeStop();
    }

	/**
	 * @param number $partition
	 */
	public function consumeStop($partition = 0) {
		$this->consumerTopic->consumeStop($partition);
		$this->consumerTopic = null;
		$this->isConsuming = false;
	}

	public function restart()
    {
        // Implement a restart method
    }

    /**
     * @return boolean
     */
    public function isConsuming()
    {
        return $this->isConsuming;
    }

}


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

namespace Editor {
    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", "16.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    public class Resources {

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

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

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

        /// <summary>
        ///   Returns the cached ResourceManager instance used by this class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        public static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Editor.Resources", typeof(Resources).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)]
        public static global::System.Globalization.CultureInfo Culture {
            get {
                return resourceCulture;
            }
            set {
                resourceCulture = value;
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Cancel.
        /// </summary>
        public static string Cancel {
            get {
                return ResourceManager.GetString("Cancel", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Column.
        /// </summary>
        public static string Column {
            get {
                return ResourceManager.GetString("Column", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Columns.
        /// </summary>
        public static string Columns {
            get {
                return ResourceManager.GetString("Columns", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to OK.
        /// </summary>
        public static string Ok {
            get {
                return ResourceManager.GetString("Ok", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Row.
        /// </summary>
        public static string Row {
            get {
                return ResourceManager.GetString("Row", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Rows.
        /// </summary>
        public static string Rows {
            get {
                return ResourceManager.GetString("Rows", resourceCulture);
            }
        }
    }
}


text:
/*!
 * Adapted from - Agency Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

 .typed-cursor{
     opacity: 1;
     -webkit-animation: blink 0.7s infinite;
     -moz-animation: blink 0.7s infinite;
     animation: blink 0.7s infinite;
 }
 @keyframes blink{
     0% { opacity:1; }
     50% { opacity:0; }
     100% { opacity:1; }
 }
 @-webkit-keyframes blink{
     0% { opacity:1; }
     50% { opacity:0; }
     100% { opacity:1; }
 }
 @-moz-keyframes blink{
     0% { opacity:1; }
     50% { opacity:0; }
     100% { opacity:1; }
 }

#welcome-video {
  bottom: 30px;
  left: 50%;
  margin-left: -134px;
  position: absolute;
  width: 242px;
  z-index: 10;
}

#welcome-video-background {
  height: 640px;
}

#project-content {
  position: relative;
}

body {
    height: 100vh;
    webkit-tap-highlight-color: #fed136;
    overflow-x: hidden;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
}

article {
    padding: 50px 0;
}

.dont-break-out {
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.pagination {
    display: block;
}

.post-preview a {
    color: black;
    text-decoration: none;
}

.post-preview a:hover {
    color: #fed136;
}

.post-title {
    margin: 0;
}

.post-subtitle {
    font-family: "Avenir Next";
    font-weight: 100;
    padding: 0;
    line-height: 0.9em;
}

.post-meta {
    color: gray;
    font-family: "Droid serif";
    font-style: italic;
}

.post-meta a {
    color: #fed136;
}

.post-meta a:hover {
    color: black;
    text-decoration: underline;
}

#explore-posts {
    margin-top: 24px;
}

.text-muted {
    color: #777;
}

.text-primary {
    color: #fed136;
}

p {
    font-size: 16px;
    line-height: 1.75;
}

p.large {
    font-size: 18px;
}

.team-member p.large {
    padding: 10px 15px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
}

a {
    color: #fed136;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #fec503;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 500;
}

.img-centered {
    margin: 0 auto;
}

.img-responsive {
    margin: auto;
}

.bg-light-gray {
    background-color: #f7f7f7;
}

.bg-darkest-gray {
    background-color: #222;
}

.btn-primary {
    border-radius: 3px;
    padding: 10px 0;
    width: 150px;
    margin: auto;
    border-color: #fed136;
    text-transform: uppercase;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 500;
    color: #fff;
    background-color: #fed136;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    border-color: #f6bf01;
    color: #fff;
    background-color: #fec503;
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    opacity: 0.35;
}

.btn-primary .badge {
    color: #fed136;
    background-color: #fff;
}

.btn-xl {
    padding: 20px 40px;
    border-color: #fed136;
    border-radius: 40px;
    text-transform: uppercase;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
    color: #fed136;
    background-color: transparent;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    border-color: #fec503;
    color: #fff;
    background-color: #fec503;
}

.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    background-image: none;
}

.btn-xl.disabled,
.btn-xl[disabled],
fieldset[disabled] .btn-xl,
.btn-xl.disabled:hover,
.btn-xl[disabled]:hover,
fieldset[disabled] .btn-xl:hover,
.btn-xl.disabled:focus,
.btn-xl[disabled]:focus,
fieldset[disabled] .btn-xl:focus,
.btn-xl.disabled:active,
.btn-xl[disabled]:active,
fieldset[disabled] .btn-xl:active,
.btn-xl.disabled.active,
.btn-xl[disabled].active,
fieldset[disabled] .btn-xl.active {
    color: white;
    border-color: #fed136;
    background-color: #fed136;
}

.btn-xl {
  border-width: .13em;
}

.btn-xl .badge {
    color: #fed136;
    background-color: #fff;
}

.navbar-default {
    border-color: transparent;
    background-color: #222;
    padding: 0px;
}

.navbar-default .navbar-brand {
    font-family: Josefin Sans,"Helvetica Neue",Helvetica,sans-serif;
    color: #fed136;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:active,
.navbar-default .navbar-brand.active {
    color: #fec503;
}

.navbar-default .navbar-collapse {
    border-color: rgba(255,255,255,.02);
}

.navbar-default .navbar-toggle {
    border-color: transparent;
    background-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: transparent;
}

.navbar-default .nav li a {
    border-radius: 0;
    text-transform: uppercase;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
    border-bottom: 2px solid transparent;
}

.navbar-default .nav li a:hover {
    border-bottom: 2px solid #fed136;
    background-color: transparent;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
    border-radius: 0;
    color: #fed136;
    background-color: transparent;
    border-bottom: 2px solid transparent;
}

@media(min-width:768px) {
    .navbar-default {
        padding: 25px 0;
        border: 0;
        background-color: transparent;
        -webkit-transition: padding .2s ease-in-out;
        -moz-transition: padding .2s ease-in-out;
        transition: padding .2s ease-in-out;
    }

    .navbar-default .navbar-brand {
        font-size: 2.5em;
        -webkit-transition: all .2s ease-in-out;
        -moz-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
    }

    .navbar-default.navbar-shrink {
        padding: 10px 0;
        background-color: #222;
    }

    .navbar-default.navbar-shrink .navbar-brand {
        font-size: 2em;
    }
}

header {
    text-align: center;
    color: #fff;
    height: 90%;
    background-color: #424242;
    background: url(../img/header_background.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .blog-heading {
    padding: 10% 0;
}

header .intro-text .intro-lead-in {
    font-family: "Droid Serif", "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 22px;
    font-style: italic;
    line-height: 22px;
    padding-bottom: 10px;
}

header .intro-text .intro-heading {
    text-transform: uppercase;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 50px;
    font-weight: 500;
    line-height: 50px;
    padding-bottom: 10px;
}

@media(min-width:768px) {
    header {
        margin-top: 0px;
        background-attachment: fixed;
    }

    header .intro-text {
        padding: 25% 0;
    }

    header .intro-text .intro-lead-in {
        margin-bottom: 25px;
        font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 40px;
        font-style: italic;
        line-height: 40px;
    }

    header .intro-text .intro-heading {
        margin-bottom: 50px;
        text-transform: uppercase;
        font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 75px;
        font-weight: 500;
        line-height: 75px;
    }
}

section {
    padding: 100px 0;
}

section h2.section-heading {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 40px;
}

section h3.section-subheading {
    margin-bottom: 75px;
    text-transform: none;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
}

@media(min-width:768px) {
    section {
        padding: 150px 0;
    }
}

.service-heading {
    margin: 15px 0;
    text-transform: none;
}

#portfolio .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 256px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
}

#portfolio .portfolio-image {
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;;
}

#portfolio .portfolio-image:hover {
  transform: scale(1.05);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
    margin: 0 auto;
    padding: 25px;
    max-width: 400px;
    text-align: center;
}

#portfolio .portfolio-item .portfolio-caption h4 {
    margin: 0;
    text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
    margin: 0;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
    font-style: italic;
}

#portfolio * {
    z-index: 2;
}

@media(min-width:767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1.5px;
    background-color: #f1f1f1;
}

.timeline>li {
    position: relative;
    margin-bottom: 50px;
    min-height: 50px;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li .timeline-panel {
    float: right;
    position: relative;
    width: 100%;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline>li .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li .timeline-image {
    z-index: 100;
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    border: 7px solid #f1f1f1;
    border-radius: 100%;
    text-align: center;
    color: #fff;
    background-color: #fed136;
}

.timeline>li .timeline-image h4 {
    margin-top: 12px;
    font-size: 10px;
    line-height: 14px;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li:last-child {
    margin-bottom: 0;
}

.timeline .timeline-heading h4 {
    margin-top: 0;
    color: inherit;
}

.timeline .timeline-heading h4.subheading {
    text-transform: none;
}

.timeline .timeline-body>p,
.timeline .timeline-body>ul {
    margin-bottom: 0;
}

@media(min-width:768px) {
    .timeline:before {
        left: 50%;
    }

    .timeline>li {
        margin-bottom: 100px;
        min-height: 100px;
    }

    .timeline>li .timeline-panel {
        float: left;
        width: 41%;
        padding: 0 20px 20px 30px;
        text-align: right;
    }

    .timeline>li .timeline-image {
        left: 50%;
        width: 100px;
        height: 100px;
        margin-left: -50px;
    }

    .timeline>li .timeline-image h4 {
        margin-top: 18px;
        font-size: 13px;
        line-height: 18px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        float: right;
        padding: 0 30px 20px 20px;
        text-align: left;
    }
}

@media(min-width:992px) {
    .timeline>li {
        min-height: 150px;
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px;
    }

    .timeline>li .timeline-image {
        width: 150px;
        height: 150px;
        margin-left: -75px;
    }

    .timeline>li .timeline-image h4 {
        margin-top: 30px;
        font-size: 18px;
        line-height: 26px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 20px 20px;
    }
}

@media(min-width:1200px) {
    .timeline>li {
        min-height: 170px;
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px 100px;
    }

    .timeline>li .timeline-image {
        width: 170px;
        height: 170px;
        margin-left: -85px;
    }

    .timeline>li .timeline-image h4 {
        margin-top: 40px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 100px 20px 20px;
    }
}

.team-member {
    margin-bottom: 50px;
    text-align: center;
}

.team-member img {
    margin: 0 auto;
    border: 7px solid #fff;
    width: 275px;
    height: auto;
}

.team-member h4 {
    margin-top: 25px;
    margin-bottom: 0;
    text-transform: none;
}

.team-member p {
    margin-top: 0;
}

aside.clients img {
    margin: 50px auto;
}

section#contact {
  text-align: center;
  color: #fff;
  background-color: #424242;
  background: url(../img/header_background.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media(min-width:768px) {
    section#contact {
        background-attachment: fixed;
    }
}

section#contact .section-heading {
    color: #fff;
}

section#contact .form-group {
    margin-bottom: 25px;
}

textarea {
  resize: none;
}

section#contact .form-group input,
section#contact .form-group textarea {
    color: #fff;
    border-color: #444;
    background-color: rgba(49, 48, 48, 0.90);
    padding: 20px;
}

section#contact .form-group input.form-control {
    height: auto;
}

section#contact .form-group textarea.form-control {
    height: 236px;
}

section#contact .form-control:focus {
    border-color: #fed136;
    box-shadow: none;
}

section#contact::-webkit-input-placeholder {
    text-transform: uppercase;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 500;
    color: #bbb;
}

section#contact:-moz-placeholder {
    text-transform: uppercase;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 500;
    color: #bbb;
}

section#contact::-moz-placeholder {
    text-transform: uppercase;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 500;
    color: #bbb;
}

section#contact:-ms-input-placeholder {
    text-transform: uppercase;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 500;
    color: #bbb;
}

section#contact .text-danger {
    color: #e74c3c;
}

footer {
    padding: 25px 0;
    text-align: center;
}

footer span.copyright {
    text-transform: uppercase;
    text-transform: none;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 40px;
}

footer ul.quicklinks {
    margin-bottom: 0;
    text-transform: uppercase;
    text-transform: none;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 40px;
}

ul.social-buttons {
    margin-bottom: 10px;
}

ul.social-buttons li a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    font-size: 30px;
    line-height: 40px;
    color: #222;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
    transform: scale(1.1);
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
    outline: 0;
}

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.portfolio-modal .modal-content h2 {
    margin-bottom: 15px;
    font-size: 3em;
}

.portfolio-modal .modal-content p {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
    font-style: italic;
}

.portfolio-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #222;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #222;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}

::-moz-selection {
    text-shadow: none;
    background: #fed136;
}

.col-centered{
    float: none;
    margin: 0 auto;
}

::selection {
    text-shadow: none;
    background: #fed136;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}


text:
require 'spec_helper'

describe 'gluster::install', type: :class do
  on_supported_os.each do |os, facts|
    context "on #{os}" do
      let :facts do
        facts
      end
      let :pre_condition do
        'require ::gluster::service'
      end

      context 'with defaults' do
        it { is_expected.to compile.with_all_deps }
        case facts[:osfamily]
        when 'Redhat'
          # rubocop:disable RSpec/RepeatedExample
          it { is_expected.to create_package('glusterfs-server') }
          it { is_expected.to create_package('glusterfs-fuse') }
          it { is_expected.to create_class('gluster::repo').with(version: 'LATEST') }
        when 'Debian'
          it { is_expected.to create_package('glusterfs-server') }
          it { is_expected.to create_package('glusterfs-client') }
          it { is_expected.to create_class('gluster::repo').with(version: 'LATEST') }
          # rubocop:enable RSpec/RepeatedExample
        end
      end
      context 'when repo is false' do
        let :params do
          { repo: false }
        end

        it { is_expected.not_to create_class('gluster::repo') }
      end
      context 'when client is false' do
        let :params do
          { client: false }
        end

        case facts[:osfamily]
        when 'Redhat'
          it { is_expected.not_to create_package('glusterfs-fuse') }
        when 'Debian'
          it { is_expected.not_to create_package('glusterfs-client') }
        end
      end
      context 'when server is false' do
        let :params do
          { server: false }
        end

        case facts[:osfamily]
        when 'Redhat', 'Debian'
          it { is_expected.not_to create_package('glusterfs-server') }
        end
      end
      context 'installing on an unsupported architecture' do
        let :facts do
          super().merge(
            architecture: 'zLinux'
          )
        end

        case facts[:osfamily]
        when 'Archlinux', 'Suse'
          it { is_expected.not_to create_class('gluster::repo') }
        else
          it { is_expected.to raise_error(Puppet::Error, %r{not yet supported}) }
        end
      end
    end
  end
end


text:
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using System;
using IdentityUser = DragonSpark.Application.Security.Identity.IdentityUser;

namespace DragonSpark.Application.Compose.Entities;

public sealed class IdentityStorage<T> where T : IdentityUser
{
	readonly ApplicationProfileContext _subject;
	readonly Action<IdentityOptions>   _configure;

	public IdentityStorage(ApplicationProfileContext subject) : this(subject, _ => {}) {}

	public IdentityStorage(ApplicationProfileContext subject, Action<IdentityOptions> configure)
	{
		_subject   = subject;
		_configure = configure;
	}

	public IdentityStorage<T, TContext> StoredIn<TContext>() where TContext : DbContext
		=> new(_subject, _configure);
}

public sealed class IdentityStorage<T, TContext> where T : IdentityUser where TContext : DbContext
{
	readonly ApplicationProfileContext _subject;
	readonly Action<IdentityOptions>   _configure;

	public IdentityStorage(ApplicationProfileContext subject, Action<IdentityOptions> configure)
	{
		_subject   = subject;
		_configure = configure;
	}

	public IdentityStorageType<T, TContext> As => new(_subject, _configure);
}


text:
package java.awt;

/**
 * DefaultFocusTraversalPolicy is the default focus traversal policy
 * used by Containers.
 *
 * This policy sharpens ContainerOrderFocusTraversalPolicy's
 * acceptance criteria, to reject those Components that have
 * unfocusable peers.  Despite this extra strictness, this policy will
 * always accept a Component that has explicitly been set focusable by
 * any means.
 *
 * This AWT implementation assumes that the peers of the following
 * Components are not focusable: Canvas, Panel, Label, ScrollPane,
 * Scrollbar, Window, and any lightweight Component.
 *
 * A Component's focusability is independent of the focusability of
 * its peer.
 *
 * @author Thomas Fitzsimmons (fitzsim@redhat.com)
 * @since 1.4
 */
public class DefaultFocusTraversalPolicy
  extends ContainerOrderFocusTraversalPolicy
{
  private static final long serialVersionUID = 8876966522510157497L;

  /**
   * Construct a default focus traversal policy.
   */
  public DefaultFocusTraversalPolicy ()
  {
  }

  /**
   * Check whether a given Component would be acceptable as a focus
   * owner.  The Component must be displayable, visible and enabled to
   * be acceptable.  If the Component's focus traversability has been
   * overridden, by overriding Component.isFocusTraversable or
   * Component.isFocusable, or by calling Component.setFocusable, then
   * the Component will be accepted if it is focusable.  If the
   * Component uses the default focus traversable behaviour, then
   * comp will always be rejected if it is a Canvas,
   * Panel, Label, ScrollPane, Scrollbar, Window or lightweight
   * Component.
   *
   * @param comp the Component to check
   *
   * @return true if the Component is an acceptable target for
   * keyboard input focus, false otherwise
   */
  protected boolean accept (Component comp)
  {
    if (comp.visible
        && comp.isDisplayable ()
        && comp.enabled)
      {
        if (comp.isFocusTraversableOverridden != 0
            && (comp.isFocusTraversable () || comp.isFocusable()))
          return true;

        if (!(comp instanceof Canvas
              || comp instanceof Panel
              || comp instanceof Label
              || comp instanceof ScrollPane
              || comp instanceof Scrollbar
              || comp instanceof Window
              || comp.isLightweight ()))
          return true;
      }
    return false;
  }
}


text:
package org.apache.hyracks.algebricks.common.utils;

import java.io.Serializable;
import java.util.Objects;

//TODO: Remove and use apache commons lang3 instead
public class Triple<T1, T2, T3> implements Serializable {

    private static final long serialVersionUID = 1L;
    public T1 first;
    public T2 second;
    public T3 third;

    public Triple(T1 first, T2 second, T3 third) {
        this.first = first;
        this.second = second;
        this.third = third;
    }

    @Override
    public String toString() {
        return first + "," + second + ", " + third;
    }

    @Override
    public int hashCode() {
        return Objects.hash(first, second, third);
    }

    @Override
    public boolean equals(Object o) {
        if (!(o instanceof Triple<?, ?, ?>)) {
            return false;
        }
        Triple<?, ?, ?> triple = (Triple<?, ?, ?>) o;
        return Objects.equals(first, triple.first) && Objects.equals(second, triple.second)
                && Objects.equals(third, triple.third);
    }

}


text:
import React from 'react';

const Button = ({ disabled, label, style, onClick }) => (
  <button disabled={disabled} onClick={onClick}>
    {label}
  </button>
);

Object.assign(Button, {
  displayName: 'Button',
  propTypes: {
    label: React.PropTypes.string.isRequired,
    style: React.PropTypes.object,
    disabled: React.PropTypes.bool,
    onClick: React.PropTypes.func,
  },
});

export default Button;


text:
require_relative 'wirb/version'
require_relative 'wirb/tokenizer'
require_relative 'wirb/schema_builder'
require_relative 'wirb/inspector'
require_relative 'wirb/irb' if defined?(IRB)

require 'yaml'
require 'paint'
require 'timeout'

module Wirb
  class << self
    def running?
      defined?(IRB) && IRB.CurrentContext &&
      IRB.CurrentContext.inspect_mode == :wirb
    end

    def timeout
      @timeout ||= 3
    end

    def schema
      @schema ||= SchemaBuilder.load_schema_from_yaml
    end

    def schema=(val)
      @schema = val
    end

    def load_schema(name)
      @schema = SchemaBuilder.load_schema_from_yaml(name)
    end

    def original_inspect_mode
      @original_inspect_mode
    end

    def start
      require_relative 'wirb/irb'
      @original_inspect_mode =
        IRB.conf[:INSPECT_MODE] ||
        IRB.CurrentContext && IRB.CurrentContext.inspect_mode ||
        true
      IRB.conf[:INSPECT_MODE] = :wirb
      IRB.CurrentContext.inspect_mode = :wirb if IRB.CurrentContext
      true
    end
    alias activate start
    alias enable   start

    def stop
      if running?
        IRB.conf[:INSPECT_MODE] = @original_inspect_mode
        IRB.CurrentContext.inspect_mode = @original_inspect_mode if IRB.CurrentContext
        true
      end
    end
    alias deactivate stop
    alias disable    stop

    def colorize_result(string, _deprecated = nil)
      check = ''
      colorful = ''
      begin
        Tokenizer.run(string).each{ |kind, token|
          check << token
          colorful << Paint[token, *Array( schema[kind] )]
        }
      rescue
        p $!, $!.backtrace[0] if $VERBOSE
      end

      # always display the correct inspect string!
      check == string ? colorful : string
    end

    def colorize_result_with_timeout(string)
      if timeout.to_i == 0
        colorize_result(string)
      else
        Timeout.timeout(timeout) do
          colorize_result(string)
        end
      end
    rescue Timeout::Error
      string
    end
  end
end


text:
Please open Developer Tools->Console and click around below to begin

Init Methods

Init with test PAM-enabled domain and default keys:
<button onclick='dev_console.init("pubsub.pubnub.com","pub-c-e72b633d-bb2f-42ba-8e98-69a9d3f7bdaa","sub-c-8e798456-4520-11e3-9b46-02ee2ddab7fe","sec-c-ZjFjZmRhODMtM2E5Yi00N2ViLWJjYTktMjk2NmExOTQyMmYz","myauthkey", false)'>
    Init
</button>

Init with origin set to presence keys:
<button onclick='dev_console.init("pubsub.pubnub.com","pub-c-fb5fa283-0d93-424f-bf86-d9aca2366c86","sub-c-d247d250-9dbd-11e3-8008-02ee2ddab7fe","demo","demo", false, true)'>
    Init with beta presence origin
</button>

Output

<button onclick='clearOutputs()'>Clear</button>

Successful Response

You'll find your JSON output here!

Error Response

You'll find your default error callback output here!

Operations

    Subscribe:
    <button onclick="dev_console.input(1)">dev_console.input(1)</button>

    Publish:
    <button onclick="dev_console.input(2)">dev_console.input(2)</button>

    History:
    <button onclick="dev_console.input(3)">dev_console.input(3)</button>

    Here Now:
    <button onclick="dev_console.input(4)">dev_console.input(4)</button>

    Unsubscribe:
    <button onclick="dev_console.input(5)">dev_console.input(5)</button>

    Time:
    <button onclick="dev_console.input(6)">dev_console.input(6)</button>

    Set UUID:
    <button onclick="dev_console.input(7)">dev_console.input(7)</button>

    Set auth key:
    <button onclick="dev_console.input(8)">dev_console.input(8)</button>

    PAM Grant:
    <button onclick="dev_console.input(9)">dev_console.input(9)</button>

    PAM Revoke:
    <button onclick="dev_console.input(10)">dev_console.input(10)</button>

    PAM Audit:
    <button onclick="dev_console.input(11)">dev_console.input(11)</button>

    Set State:
    <button onclick="dev_console.input(12)">dev_console.input(12)</button>

    Set Heartbeat:
    <button onclick="dev_console.input(13)">dev_console.input(13)</button>

    Set Heartbeat Interval:
    <button onclick="dev_console.input(14)">dev_console.input(14)</button>


text:
namespace ns3.main {

    export class AdminController {

        public constructor(private $http: ng.IHttpService) {}

    }

    getModule().controller("AdminController", AdminController);
}


text:
#ifndef TESTFIRE_H
#define TESTFIRE_H

#include "../../../CommandBase.h"

/**
 *
 *
 * @author fifthparallel
 */
class TestFire: public CommandBase {
	Timer *timer;
public:
	TestFire();
	virtual void Initialize();
	virtual void Execute();
	virtual bool IsFinished();
	virtual void End();
	virtual void Interrupted();
};

#endif


text:
package org.kuali.continuity.plan.action.dto;

import org.kuali.continuity.action.dto.DTOValue;
import org.kuali.continuity.action.dto.DomainObjectDTO;
import org.kuali.continuity.action.dto.DomainObjectValue;
import org.kuali.continuity.action.dto.RefDTO;
import org.kuali.continuity.admin.domain.SystemDomainCentralApplicationCriticalityLevel;
import org.kuali.continuity.admin.domain.SystemDomainCriticalFunctionCriticalityLevel;
import org.kuali.continuity.admin.domain.SystemDomainCriticalityLevel;
import org.kuali.continuity.domain.BaseDomainObject;
import org.kuali.continuity.domain.CriticalFunctionCriticalityLevel;
import org.kuali.continuity.domain.CriticalityLevel;
import org.kuali.continuity.domain.CriticalityLevelEnum;

@SuppressWarnings("serial")
public class SystemDomainCriticalityLevelDTO extends DomainObjectDTO
	implements DomainObjectValue, DTOValue {

	public enum LevelType {APPL, FUNC};
	public LevelType levelType;
	public RefDTO levelNo = new RefDTO();
	public String description;
	public String longDescription;
	public int systemDomainId;
	public String origDescription;

	public SystemDomainCriticalityLevelDTO() {
		super();
	}

	public SystemDomainCriticalityLevelDTO(BaseDomainObject obj) {
		super(obj);
	}

	public SystemDomainCriticalityLevelDTO(int id, String name) {
		super(id, name);
	}

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

	public SystemDomainCriticalityLevelDTO(CriticalityLevelEnum levelEnum) {
		super();
		if (levelEnum != null)
			this.levelNo = new RefDTO(levelEnum.getValue(), levelEnum.name());
	}

	public SystemDomainCriticalityLevelDTO(CriticalityLevel dObj) {
		if (dObj instanceof BaseDomainObject)
			this.copyFromDomainObject((BaseDomainObject)dObj);
	}

	@Override
	public SystemDomainCriticalityLevel getDomainObject() {
		SystemDomainCriticalityLevel cLevel =
			this.levelType.equals(LevelType.FUNC) ?
			new SystemDomainCriticalFunctionCriticalityLevel() :
			new SystemDomainCentralApplicationCriticalityLevel();
		cLevel.setId(this.id);
		cLevel.setName(this.name);
		if (levelNo != null)
			cLevel.setCriticalityLevelEnum(CriticalityLevelEnum.getEnum(this.levelNo.id));
		cLevel.setDescription(description);
		cLevel.setLongDescription(longDescription);
		cLevel.setSystemDomainId(systemDomainId);
		return cLevel;
	}

	@Override
	public void copyFromDomainObject(BaseDomainObject dObj) {
		if (dObj == null) return;
		this.id = (dObj.getId() == null ? 0 : dObj.getId());
		this.name = dObj.getName();
		if (!(dObj instanceof CriticalityLevel)) return;
		CriticalityLevel obj = (CriticalityLevel) dObj;
		this.levelType = obj instanceof CriticalFunctionCriticalityLevel ?
			LevelType.FUNC : LevelType.APPL;
		this.description = obj.getDescription();
		this.origDescription = obj.getDescription();
		this.longDescription = obj.getLongDescription();
		CriticalityLevelEnum levelEnum = obj.getCriticalityLevelEnum();
		if (levelEnum != null)
			this.levelNo = new RefDTO(levelEnum.getValue(), levelEnum.name());
		if (obj instanceof SystemDomainCriticalityLevel)
			this.systemDomainId = ((SystemDomainCriticalityLevel)obj).getSystemDomainId();
	}

}


text:
@interface AnnaInputToolsBar : UIView

+ (instancetype)inputToolsBar;

@end


text:
This SPFx Outlook Add-In lets you browse your OneDrive, joined Teams or Groups and select a folder to save your complete mail in there.
This sample shows you working with the current Office context and receive information on currently selected mail from there.
Furthermore it shows you how to retrieve a complete mail as a mimestream via Microsoft Graph and finally two file operations with Microsoft Graph as well:
* Writing normal files smaller 4MB
* Writing big files with an UploadSession when bigger than 4MB

## outlook-2-sp-spfx in action
![WebPartInAction](https://mmsharepoint.files.wordpress.com/2020/01/addin_overall.png)

A detailed functionality and technical description can be found in the [author's blog series](https://mmsharepoint.wordpress.com/2020/01/11/an-outlook-add-in-with-sharepoint-framework-spfx-introduction/)

## Used SharePoint Framework Version

![drop](https://img.shields.io/badge/drop-1.10.0-green.svg)

## Applies to

* [Tutorial for creating Outlook Web Access extension using SharePoint Framework](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/office-addins-tutorial)

## Solution

Solution|Author(s)
--------|---------
outlook-2-sp-spfx| Markus Moeller ([@moeller2_0](http://www.twitter.com/moeller2_0))

## Version history

Version|Date|Comments
-------|----|--------
1.0|January 29, 2020|Initial release
1.1|April 06, 2020|Open extensions to store metadata added

## Disclaimer

**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**

---

## Minimal Path to Awesome

* Clone this repository
* in the command line run:
  * restore dependencies: `npm install`
  From here you can also follow the deployment steps from the official [Microsoft Tutorial](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/office-addins-tutorial#packaging-and-deploying-your-solution-to-sharepoint)
  * build solution `gulp build --ship`
  * bundle solution: `gulp bundle --ship`
  * package solution: `gulp package-solution --ship`
  * locate solution at `.\sharepoint\solution\outlook-2-sp-spfx.sppkg`
  * upload it to your tenant app catalog
  * Go to your Outlook Web Access then double-click an e-mail to open it in a window
  * Choose **...** and **Get Add-ins**
  * Choose **My Add-ins** from left menu
  * Under **Custom add-ins**, choose **+ Add a custom add-in**, then **Add from file...**
  * Upload the manifest xml file from `\officeAddin` folder
  * Click **Install** on the warning message to get your add-in available on the tenant
  * Close the add-in window by clicking **X** on the top-right corner
  * Activate again the context menu from **...** and choose **Copy to SharePoint** to activate the add-in in your inbox

## Features

This Outlook Add-In shows the following capabilities on top of the SharePoint Framework:

* Select Office context and attributes of currently selected mail
* Use Microsoft Graph to retrieve joined Groups and Teams
* Use Microsoft Graph to retrieve folders and subfolders for OneDrive or Teams/Group drives
* Use Microsoft Graph to retrieve complete mail mimestream by given ID
* Use Microsoft Graph to save normal or big files (in size bigger 4MB) with different concepts
* Optionally store metadata of save operation to copied mail with open extension (configure line 15 Outlook2SharePoint.tsx)


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

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>org.apache.lucene.facet.taxonomy.writercache Class Hierarchy (Lucene 6.0.1 API)</title>
<meta name="date" content="2016-05-23">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Skip navigation links

Overview

Package

Class

Use

Tree

Deprecated

Help

Prev

Next

Frames

No Frames

All Classes

Hierarchy For Package org.apache.lucene.facet.taxonomy.writercache

Package Hierarchies:

All Packages

Class Hierarchy

java.lang.Object

org.apache.lucene.facet.taxonomy.writercache.Cl2oTaxonomyWriterCache (implements org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache)

org.apache.lucene.facet.taxonomy.writercache.CollisionMap

org.apache.lucene.facet.taxonomy.writercache.LabelToOrdinal

org.apache.lucene.facet.taxonomy.writercache.CompactLabelToOrdinal

org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache (implements org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache)

org.apache.lucene.facet.taxonomy.writercache.NameHashIntCacheLRU

Interface Hierarchy

org.apache.lucene.facet.taxonomy.writercache.TaxonomyWriterCache

Enum Hierarchy

java.lang.Object

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

org.apache.lucene.facet.taxonomy.writercache.LruTaxonomyWriterCache.LRUType

Skip navigation links

Overview

Package

Class

Use

Tree

Deprecated

Help

Prev

Next

Frames

No Frames

All Classes

          Copyright © 2000-2016 Apache Software Foundation.  All Rights Reserved.


text:
module Data.Geo.OSM.Lens.AccountCreatedL where

import Control.Lens.Lens

class AccountCreatedL a where
  accountCreatedL ::
    Lens' a String


text:
module VCR
    module Filters
        class BuildingServers
            def before_record(interaction, cassette)
                # Throw away build state - just makes server.wait_for loops really long during replay
                begin
                    json = JSON.parse(interaction.response.body)
                    if json['server']['status'] == 'BUILD'
                        # Ignoring interaction because server is in BUILD state
                        interaction.ignore!
                    end
                rescue
                end
            end
        end
    end
end


text:
\section{Technical background}

In this section we will introduce MIPS, juxtapose the two instruction
set architectures RISC and CISC, and provide a cursory overview --- as
well as reviewing (briefly) --- the MIPS instruction set in
preparation for the rest of this document.

\input{mips-risc-and-cisc.tex}
\input{instruction-encoding.tex}
\input{mips-register-naming-and-usage-convention.tex}
\input{instruction-encoding.tex}
\input{numeric-decoding.tex}
\input{mnemonic-decoding.tex}


text:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
		 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>com.example</groupId>
	<artifactId>beer-api-consumer-with-stub-per-consumer</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<packaging>jar</packaging>

	<name>Consumer With Stubs Per Consumer</name>
	<description>Demo project for Spring Boot</description>

	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>3.0.0-SNAPSHOT</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<java.version>17</java.version>
		<spring-cloud.version>2022.0.0-SNAPSHOT</spring-cloud.version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>
		<!-- For compatibility -->
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-engine</artifactId>
			<scope>test</scope>
		</dependency>

		<!-- Stream dependencies -->
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-stream-rabbit</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-stream</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
			<classifier>test-binder</classifier>
		</dependency>
		<!-- For JDK 14 -->
		<dependency>
			<groupId>javax.inject</groupId>
			<artifactId>javax.inject</artifactId>
			<version>1</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-contract-stub-runner</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.example</groupId>
			<artifactId>beer-common</artifactId>
			<version>${project.version}</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.springframework.cloud</groupId>
				<artifactId>spring-cloud-dependencies</artifactId>
				<version>${spring-cloud.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
			<plugin>
				<artifactId>maven-surefire-plugin</artifactId>
				<configuration>
					<failIfNoTests>true</failIfNoTests>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<repositories>
		<repository>
            <id>sonatype</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
            <snapshots />
        </repository>
		<repository>
			<id>spring-snapshots</id>
			<name>Spring Snapshots</name>
			<url>https://repo.spring.io/snapshot</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>spring-milestones</id>
			<name>Spring Milestones</name>
			<url>https://repo.spring.io/milestone</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>spring-releases</id>
			<name>Spring Releases</name>
			<url>https://repo.spring.io/release</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
	</repositories>
	<pluginRepositories>
		<pluginRepository>
			<id>spring-snapshots</id>
			<name>Spring Snapshots</name>
			<url>https://repo.spring.io/snapshot</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>spring-milestones</id>
			<name>Spring Milestones</name>
			<url>https://repo.spring.io/milestone</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>spring-plugin-snapshots</id>
			<name>Spring Snapshots</name>
			<url>https://repo.spring.io/snapshot</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>spring-plugin-milestones</id>
			<name>Spring Milestones</name>
			<url>https://repo.spring.io/release</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</pluginRepository>
	</pluginRepositories>

</project>