text:
 /**
  * @namespace basis.net.upload
  */

  var namespace = 'basis.net.upload';

  //
  // import names
  //

  var document = global.document;
  var FormData = global.FormData;
  var eventUtils = require('basis.dom.event'); // TODO
  var STATE = require('basis.data').STATE;
  var basisNet = require('basis.net');
  var AbstractTransport = basisNet.AbstractTransport;
  var AbstractRequest = basisNet.AbstractRequest;
  var AjaxTransport = require('basis.net.ajax').Transport;

  //
  // main part
  //

  var JSON_CONTENT_TYPE = /^application\/json/i;

  function safeJsonParse(content){
    try {
      return basis.json.parse(content);
    } catch(e) {
      /** @cut */ var url = arguments[1];
      /** @cut */ basis.dev.warn('basis.net.ajax: Can\'t parse JSON from ' + url, { url: url, content: content });
    }
  }

  // features support detection

  function fileAPISupport(){
    var input = document.createElement('input');
    input.type = 'file';
    return input.files !== undefined;
  }

  function formDataSupport(){
    return FormData !== undefined;
  }

 /**
  * @class
  */
  var FileUploader;

  if (fileAPISupport() && formDataSupport()) // XMLHttpRequest2
  {
    var REQUEST_PROGRESS_HANDLER = function(event){
      if (event.lengthComputable)
        this.setState(STATE.PROCESSING, {
          loaded: event.loaded,
          total: event.total
        });
    };

    FileUploader = AjaxTransport.subclass({
      className: namespace + '.FileUploader',

      method: 'POST',
      contentType: 'multipart/form-data',

      formSubmit: function(form, requestData){
        var formData = new FormData();

        for (var i = 0, field; field = form.elements[i]; i++)
        {
          if (field.files)
          {
            for (var j = 0; j < field.files.length; j++)
              formData.append(field.name, field.files[j]);
          }
          else
            formData.append(field.name, field.value);
        }

        var requestConfig = basis.object.extend({}, requestData);

        this.request(basis.object.extend(requestConfig, {
          url: form.action,
          body: formData
        }));
      },

      uploadFiles: function(url, files, fileParam){
        var formData = new FormData();

        // if form passed
        if (url.action)
          url = url.action;

        for (var i = 0, file; file = files[i]; i++)
          formData.append(fileParam || file.name, file);

        this.request({
          url: url,
          body: formData
        });
      },

      emit_start: function(request){
        eventUtils.addHandler(request.xhr.upload, 'progress', REQUEST_PROGRESS_HANDLER, request);
        AjaxTransport.prototype.emit_start.call(this, request);
      },
      emit_complete: function(request){
        eventUtils.removeHandler(request.xhr.upload, 'progress', REQUEST_PROGRESS_HANDLER, request);
        AjaxTransport.prototype.emit_complete.call(this, request);
      }
    });
  }
  else //IFrame
  {
    var createIFrame = function(){
      var frame = document.createElement('iframe');
      frame.style.position = 'absolute';
      frame.style.left = '-2000px';
      frame.style.top = '-2000px';
      frame.name = frame.id = 'uploadFrame' + basis.genUID();
      frame.src = 'about:blank';

      return frame;
    };

    var getIFrameDocument = function(frame){
      return frame.contentWindow
        ? frame.contentWindow.document
        : frame.contentDocument
          ? frame.contentDocument
          : frame.document;
    };

   /**
    * @class
    */
    var IFrameRequest = AbstractRequest.subclass({
      className: namespace + '.IFrameRequest',

      state: STATE.UNDEFINED,
      inprogress: false,

      init: function(){
        AbstractRequest.prototype.init.call(this);

        this.frame = createIFrame();

        eventUtils.addHandlers(this.frame, { load: this.onLoad }, this);
      },
      onLoad: function(){
        if (this.inprogress)
        {
          this.inprogress = false;
          setTimeout(this.removeFrame.bind(this), 100);

          var newState;
          var newStateData;

          if (this.isSuccessful())
          {
            newState = STATE.READY;
            this.emit_success(this.getResponseData());
          }
          else
          {
            newState = STATE.ERROR;
            newStateData = 'error';
            this.emit_failure('error');
          }

          this.transport.emit_complete(this);

          this.setState(newState, newStateData);
        }
      },
      isSuccessful: function(){
        return true;
      },
      getResponseData: function(){
        var doc = getIFrameDocument(this.frame);
        var docRoot = doc.body || doc.documentElement;

        if (docRoot)
        {
          var response = docRoot.textContent || docRoot.innerHTML;
          var contentType = doc.contentType;

          if (JSON_CONTENT_TYPE.test(contentType))
            response = safeJsonParse(response, this.requestData.form.action);

          return response;
        }
        else
          return doc.XMLDocument || doc;
      },
      insertFrame: function(){
        basis.doc.body.add(this.frame);
      },
      removeFrame: function(){
        basis.doc.remove(this.frame);
      },
      doRequest: function(){
        var form = this.requestData.form;

        if (!form)
          return;

        this.transport.emit_start(this);
        this.insertFrame();
        this.inprogress = true;
        this.setState(STATE.PROCESSING);

        form.setAttribute('enctype', 'multipart/form-data');
        form.setAttribute('method', 'POST');
        form.setAttribute('target', this.frame.id);
        form.submit();
      },
      abort: function(){
        if (this.inprogress)
        {
          this.removeFrame();
          this.inprogress = false;
          this.transport.emit_abort(this);
        }
      },
      destroy: function(){
        this.removeFrame();
        delete this.frame;

        AbstractRequest.prototype.destroy.call(this);
      }
    });

    FileUploader = AbstractTransport.subclass({
      className: namespace + '.FileUploader',

      requestClass: IFrameRequest,

      formSubmit: function(form, requestData){
        var requestConfig = basis.object.merge(requestData, { form: form });
        this.request(requestConfig);
      }
    });
  }

  // exports
  module.exports = {
    FileUploader: FileUploader
  };


text:
var ac_polyfills =
/******/ (function(modules) { // webpackBootstrap
/******/ 	// install a JSONP callback for chunk loading
/******/ 	var parentJsonpFunction = window["webpackJsonpac__name_"];
/******/ 	window["webpackJsonpac__name_"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {
/******/ 		// add "moreModules" to the modules object,
/******/ 		// then flag all "chunkIds" as loaded and fire callback
/******/ 		var moduleId, chunkId, i = 0, resolves = [], result;
/******/ 		for(;i < chunkIds.length; i++) {
/******/ 			chunkId = chunkIds[i];
/******/ 			if(installedChunks[chunkId])
/******/ 				resolves.push(installedChunks[chunkId][0]);
/******/ 			installedChunks[chunkId] = 0;
/******/ 		}
/******/ 		for(moduleId in moreModules) {
/******/ 			if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
/******/ 				modules[moduleId] = moreModules[moduleId];
/******/ 			}
/******/ 		}
/******/ 		if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ 		while(resolves.length)
/******/ 			resolves.shift()();
/******/ 		if(executeModules) {
/******/ 			for(i=0; i < executeModules.length; i++) {
/******/ 				result = __webpack_require__(__webpack_require__.s = executeModules[i]);
/******/ 			}
/******/ 		}
/******/ 		return result;
/******/ 	};

/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// objects to store loaded and loading chunks
/******/ 	var installedChunks = {
/******/ 		2: 0
/******/ 	};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.l = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}

/******/ 	// This file contains only the entry chunk.
/******/ 	// The chunk loading function for additional chunks
/******/ 	__webpack_require__.e = function requireEnsure(chunkId) {
/******/ 		if(installedChunks[chunkId] === 0)
/******/ 			return Promise.resolve();

/******/ 		// an Promise means "currently loading".
/******/ 		if(installedChunks[chunkId]) {
/******/ 			return installedChunks[chunkId][2];
/******/ 		}
/******/ 		// start chunk loading
/******/ 		var head = document.getElementsByTagName('head')[0];
/******/ 		var script = document.createElement('script');
/******/ 		script.type = 'text/javascript';
/******/ 		script.charset = 'utf-8';
/******/ 		script.async = true;
/******/ 		script.timeout = 120000;

/******/ 		if (__webpack_require__.nc) {
/******/ 			script.setAttribute("nonce", __webpack_require__.nc);
/******/ 		}
/******/ 		script.src = __webpack_require__.p + "" + chunkId + ".chunk.js";
/******/ 		var timeout = setTimeout(onScriptComplete, 120000);
/******/ 		script.onerror = script.onload = onScriptComplete;
/******/ 		function onScriptComplete() {
/******/ 			// avoid mem leaks in IE.
/******/ 			script.onerror = script.onload = null;
/******/ 			clearTimeout(timeout);
/******/ 			var chunk = installedChunks[chunkId];
/******/ 			if(chunk !== 0) {
/******/ 				if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ 				installedChunks[chunkId] = undefined;
/******/ 			}
/******/ 		};

/******/ 		var promise = new Promise(function(resolve, reject) {
/******/ 			installedChunks[chunkId] = [resolve, reject];
/******/ 		});
/******/ 		installedChunks[chunkId][2] = promise;

/******/ 		head.appendChild(script);
/******/ 		return promise;
/******/ 	};

/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// identity function for calling harmony imports with the correct context
/******/ 	__webpack_require__.i = function(value) { return value; };

/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};

/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};

/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// on error function for async loading
/******/ 	__webpack_require__.oe = function(err) { console.error(err); throw err; };

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 239);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports) {

module.exports = polyfills_lib;

/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(33);

/***/ }),
/* 2 */,
/* 3 */,
/* 4 */,
/* 5 */,
/* 6 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(651);

/***/ }),
/* 7 */,
/* 8 */,
/* 9 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(687);

/***/ }),
/* 10 */,
/* 11 */,
/* 12 */,
/* 13 */,
/* 14 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(745);

/***/ }),
/* 15 */,
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */,
/* 20 */,
/* 21 */,
/* 22 */,
/* 23 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(283);

/***/ }),
/* 24 */,
/* 25 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(670);

/***/ }),
/* 26 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(671);

/***/ }),
/* 27 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(672);

/***/ }),
/* 28 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(673);

/***/ }),
/* 29 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(697);

/***/ }),
/* 30 */,
/* 31 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(9);
__webpack_require__(113);
__webpack_require__(111);
__webpack_require__(117);
__webpack_require__(114);
__webpack_require__(120);
__webpack_require__(122);
__webpack_require__(110);
__webpack_require__(116);
__webpack_require__(107);
__webpack_require__(121);
__webpack_require__(105);
__webpack_require__(119);
__webpack_require__(118);
__webpack_require__(112);
__webpack_require__(115);
__webpack_require__(104);
__webpack_require__(106);
__webpack_require__(109);
__webpack_require__(108);
__webpack_require__(123);
__webpack_require__(23);
module.exports = __webpack_require__(1).Array;

/***/ }),
/* 32 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(124);
__webpack_require__(126);
__webpack_require__(125);
__webpack_require__(128);
__webpack_require__(127);
module.exports = Date;

/***/ }),
/* 33 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(129);
__webpack_require__(131);
__webpack_require__(130);
module.exports = __webpack_require__(1).Function;

/***/ }),
/* 34 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(6);
__webpack_require__(9);
__webpack_require__(14);
__webpack_require__(100);
module.exports = __webpack_require__(1).Map;

/***/ }),
/* 35 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(132);
__webpack_require__(133);
__webpack_require__(134);
__webpack_require__(135);
__webpack_require__(136);
__webpack_require__(137);
__webpack_require__(138);
__webpack_require__(139);
__webpack_require__(140);
__webpack_require__(141);
__webpack_require__(142);
__webpack_require__(143);
__webpack_require__(144);
__webpack_require__(145);
__webpack_require__(146);
__webpack_require__(147);
__webpack_require__(148);
module.exports = __webpack_require__(1).Math;

/***/ }),
/* 36 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(149);
__webpack_require__(159);
__webpack_require__(160);
__webpack_require__(150);
__webpack_require__(151);
__webpack_require__(152);
__webpack_require__(153);
__webpack_require__(154);
__webpack_require__(155);
__webpack_require__(156);
__webpack_require__(157);
__webpack_require__(158);
module.exports = __webpack_require__(1).Number;

/***/ }),
/* 37 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(29);
__webpack_require__(162);
__webpack_require__(164);
__webpack_require__(163);
__webpack_require__(166);
__webpack_require__(168);
__webpack_require__(173);
__webpack_require__(167);
__webpack_require__(165);
__webpack_require__(175);
__webpack_require__(174);
__webpack_require__(170);
__webpack_require__(171);
__webpack_require__(169);
__webpack_require__(161);
__webpack_require__(172);
__webpack_require__(176);
__webpack_require__(6);

module.exports = __webpack_require__(1).Object;

/***/ }),
/* 38 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(177);
module.exports = __webpack_require__(1).parseFloat;

/***/ }),
/* 39 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(178);
module.exports = __webpack_require__(1).parseInt;

/***/ }),
/* 40 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(179);
__webpack_require__(180);
__webpack_require__(181);
__webpack_require__(182);
__webpack_require__(183);
__webpack_require__(186);
__webpack_require__(184);
__webpack_require__(185);
__webpack_require__(187);
__webpack_require__(188);
__webpack_require__(189);
__webpack_require__(190);
__webpack_require__(192);
__webpack_require__(191);
module.exports = __webpack_require__(1).Reflect;

/***/ }),
/* 41 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(193);
__webpack_require__(194);
__webpack_require__(101);
__webpack_require__(25);
__webpack_require__(26);
__webpack_require__(27);
__webpack_require__(28);
module.exports = __webpack_require__(1).RegExp;

/***/ }),
/* 42 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(6);
__webpack_require__(9);
__webpack_require__(14);
__webpack_require__(102);
module.exports = __webpack_require__(1).Set;

/***/ }),
/* 43 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(204);
__webpack_require__(208);
__webpack_require__(215);
__webpack_require__(9);
__webpack_require__(199);
__webpack_require__(200);
__webpack_require__(205);
__webpack_require__(209);
__webpack_require__(211);
__webpack_require__(195);
__webpack_require__(196);
__webpack_require__(197);
__webpack_require__(198);
__webpack_require__(201);
__webpack_require__(202);
__webpack_require__(203);
__webpack_require__(206);
__webpack_require__(207);
__webpack_require__(210);
__webpack_require__(212);
__webpack_require__(213);
__webpack_require__(214);
__webpack_require__(25);
__webpack_require__(26);
__webpack_require__(27);
__webpack_require__(28);
module.exports = __webpack_require__(1).String;

/***/ }),
/* 44 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(29);
__webpack_require__(6);
module.exports = __webpack_require__(1).Symbol;

/***/ }),
/* 45 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(216);
__webpack_require__(217);
__webpack_require__(222);
__webpack_require__(225);
__webpack_require__(226);
__webpack_require__(220);
__webpack_require__(223);
__webpack_require__(221);
__webpack_require__(224);
__webpack_require__(218);
__webpack_require__(219);
__webpack_require__(6);
module.exports = __webpack_require__(1);

/***/ }),
/* 46 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(6);
__webpack_require__(23);
__webpack_require__(103);
module.exports = __webpack_require__(1).WeakMap;

/***/ }),
/* 47 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(6);
__webpack_require__(14);
__webpack_require__(227);
module.exports = __webpack_require__(1).WeakSet;

/***/ }),
/* 48 */
/***/ (function(module, exports, __webpack_require__) {

__webpack_require__(228);
__webpack_require__(229);
__webpack_require__(231);
__webpack_require__(230);
__webpack_require__(233);
__webpack_require__(232);
__webpack_require__(234);
__webpack_require__(235);
__webpack_require__(236);
module.exports = __webpack_require__(1).Reflect;

/***/ }),
/* 49 */,
/* 50 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(447);

/***/ }),
/* 51 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(448);

/***/ }),
/* 52 */,
/* 53 */,
/* 54 */,
/* 55 */,
/* 56 */,
/* 57 */,
/* 58 */,
/* 59 */,
/* 60 */,
/* 61 */,
/* 62 */,
/* 63 */,
/* 64 */,
/* 65 */,
/* 66 */,
/* 67 */,
/* 68 */,
/* 69 */,
/* 70 */,
/* 71 */,
/* 72 */,
/* 73 */,
/* 74 */,
/* 75 */,
/* 76 */,
/* 77 */,
/* 78 */,
/* 79 */,
/* 80 */,
/* 81 */,
/* 82 */,
/* 83 */,
/* 84 */,
/* 85 */,
/* 86 */,
/* 87 */,
/* 88 */,
/* 89 */,
/* 90 */,
/* 91 */,
/* 92 */,
/* 93 */,
/* 94 */,
/* 95 */,
/* 96 */,
/* 97 */,
/* 98 */,
/* 99 */,
/* 100 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(409);

/***/ }),
/* 101 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(410);

/***/ }),
/* 102 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(411);

/***/ }),
/* 103 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(412);

/***/ }),
/* 104 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(578);

/***/ }),
/* 105 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(579);

/***/ }),
/* 106 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(580);

/***/ }),
/* 107 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(581);

/***/ }),
/* 108 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(582);

/***/ }),
/* 109 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(583);

/***/ }),
/* 110 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(584);

/***/ }),
/* 111 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(585);

/***/ }),
/* 112 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(586);

/***/ }),
/* 113 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(587);

/***/ }),
/* 114 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(588);

/***/ }),
/* 115 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(589);

/***/ }),
/* 116 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(590);

/***/ }),
/* 117 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(591);

/***/ }),
/* 118 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(592);

/***/ }),
/* 119 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(593);

/***/ }),
/* 120 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(594);

/***/ }),
/* 121 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(595);

/***/ }),
/* 122 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(596);

/***/ }),
/* 123 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(597);

/***/ }),
/* 124 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(598);

/***/ }),
/* 125 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(599);

/***/ }),
/* 126 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(600);

/***/ }),
/* 127 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(601);

/***/ }),
/* 128 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(602);

/***/ }),
/* 129 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(603);

/***/ }),
/* 130 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(604);

/***/ }),
/* 131 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(605);

/***/ }),
/* 132 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(606);

/***/ }),
/* 133 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(607);

/***/ }),
/* 134 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(608);

/***/ }),
/* 135 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(609);

/***/ }),
/* 136 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(610);

/***/ }),
/* 137 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(611);

/***/ }),
/* 138 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(612);

/***/ }),
/* 139 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(613);

/***/ }),
/* 140 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(614);

/***/ }),
/* 141 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(615);

/***/ }),
/* 142 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(616);

/***/ }),
/* 143 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(617);

/***/ }),
/* 144 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(618);

/***/ }),
/* 145 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(619);

/***/ }),
/* 146 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(620);

/***/ }),
/* 147 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(621);

/***/ }),
/* 148 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(622);

/***/ }),
/* 149 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(623);

/***/ }),
/* 150 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(624);

/***/ }),
/* 151 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(625);

/***/ }),
/* 152 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(626);

/***/ }),
/* 153 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(627);

/***/ }),
/* 154 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(628);

/***/ }),
/* 155 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(629);

/***/ }),
/* 156 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(630);

/***/ }),
/* 157 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(631);

/***/ }),
/* 158 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(632);

/***/ }),
/* 159 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(633);

/***/ }),
/* 160 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(634);

/***/ }),
/* 161 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(635);

/***/ }),
/* 162 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(636);

/***/ }),
/* 163 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(637);

/***/ }),
/* 164 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(638);

/***/ }),
/* 165 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(639);

/***/ }),
/* 166 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(640);

/***/ }),
/* 167 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(641);

/***/ }),
/* 168 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(642);

/***/ }),
/* 169 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(643);

/***/ }),
/* 170 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(644);

/***/ }),
/* 171 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(645);

/***/ }),
/* 172 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(646);

/***/ }),
/* 173 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(647);

/***/ }),
/* 174 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(648);

/***/ }),
/* 175 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(649);

/***/ }),
/* 176 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(650);

/***/ }),
/* 177 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(652);

/***/ }),
/* 178 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(653);

/***/ }),
/* 179 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(655);

/***/ }),
/* 180 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(656);

/***/ }),
/* 181 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(657);

/***/ }),
/* 182 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(658);

/***/ }),
/* 183 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(659);

/***/ }),
/* 184 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(660);

/***/ }),
/* 185 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(661);

/***/ }),
/* 186 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(662);

/***/ }),
/* 187 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(663);

/***/ }),
/* 188 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(664);

/***/ }),
/* 189 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(665);

/***/ }),
/* 190 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(666);

/***/ }),
/* 191 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(667);

/***/ }),
/* 192 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(668);

/***/ }),
/* 193 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(669);

/***/ }),
/* 194 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(674);

/***/ }),
/* 195 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(675);

/***/ }),
/* 196 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(676);

/***/ }),
/* 197 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(677);

/***/ }),
/* 198 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(678);

/***/ }),
/* 199 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(679);

/***/ }),
/* 200 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(680);

/***/ }),
/* 201 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(681);

/***/ }),
/* 202 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(682);

/***/ }),
/* 203 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(683);

/***/ }),
/* 204 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(684);

/***/ }),
/* 205 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(685);

/***/ }),
/* 206 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(686);

/***/ }),
/* 207 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(688);

/***/ }),
/* 208 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(689);

/***/ }),
/* 209 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(690);

/***/ }),
/* 210 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(691);

/***/ }),
/* 211 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(692);

/***/ }),
/* 212 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(693);

/***/ }),
/* 213 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(694);

/***/ }),
/* 214 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(695);

/***/ }),
/* 215 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(696);

/***/ }),
/* 216 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(698);

/***/ }),
/* 217 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(699);

/***/ }),
/* 218 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(700);

/***/ }),
/* 219 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(701);

/***/ }),
/* 220 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(702);

/***/ }),
/* 221 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(703);

/***/ }),
/* 222 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(704);

/***/ }),
/* 223 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(705);

/***/ }),
/* 224 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(706);

/***/ }),
/* 225 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(707);

/***/ }),
/* 226 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(708);

/***/ }),
/* 227 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(709);

/***/ }),
/* 228 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(726);

/***/ }),
/* 229 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(727);

/***/ }),
/* 230 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(728);

/***/ }),
/* 231 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(729);

/***/ }),
/* 232 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(730);

/***/ }),
/* 233 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(731);

/***/ }),
/* 234 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(732);

/***/ }),
/* 235 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(733);

/***/ }),
/* 236 */
/***/ (function(module, exports, __webpack_require__) {

module.exports = (__webpack_require__(0))(734);

/***/ }),
/* 237 */,
/* 238 */,
/* 239 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_symbol__ = __webpack_require__(44);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_symbol___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_core_js_es6_symbol__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es6_object__ = __webpack_require__(37);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es6_object___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_core_js_es6_object__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_core_js_es6_function__ = __webpack_require__(33);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_core_js_es6_function___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_core_js_es6_function__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_core_js_es6_parse_int__ = __webpack_require__(39);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_core_js_es6_parse_int___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_core_js_es6_parse_int__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_core_js_es6_parse_float__ = __webpack_require__(38);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_core_js_es6_parse_float___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_core_js_es6_parse_float__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_core_js_es6_number__ = __webpack_require__(36);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_core_js_es6_number___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_core_js_es6_number__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_core_js_es6_math__ = __webpack_require__(35);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_core_js_es6_math___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_core_js_es6_math__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_core_js_es6_string__ = __webpack_require__(43);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_core_js_es6_string___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_core_js_es6_string__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_core_js_es6_date__ = __webpack_require__(32);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_core_js_es6_date___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_core_js_es6_date__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_core_js_es6_array__ = __webpack_require__(31);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_core_js_es6_array___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_core_js_es6_array__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_core_js_es6_regexp__ = __webpack_require__(41);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_core_js_es6_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_core_js_es6_regexp__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_core_js_es6_map__ = __webpack_require__(34);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_core_js_es6_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_core_js_es6_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_core_js_es6_set__ = __webpack_require__(42);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_core_js_es6_set___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_core_js_es6_set__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_core_js_es6_weak_map__ = __webpack_require__(46);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_core_js_es6_weak_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_13_core_js_es6_weak_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_core_js_es6_weak_set__ = __webpack_require__(47);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_core_js_es6_weak_set___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_core_js_es6_weak_set__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_core_js_es6_typed__ = __webpack_require__(45);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_core_js_es6_typed___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15_core_js_es6_typed__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_core_js_es6_reflect__ = __webpack_require__(40);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_core_js_es6_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_16_core_js_es6_reflect__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17_core_js_es7_reflect__ = __webpack_require__(48);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17_core_js_es7_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_17_core_js_es7_reflect__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18_zone_js_dist_zone__ = __webpack_require__(51);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18_zone_js_dist_zone___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_18_zone_js_dist_zone__);
// TODO(gdi2290): switch to DLLs
// Polyfills
// import 'ie-shim'; // Internet Explorer 9 support
// import 'core-js/es6';
// Added parts of es6 which are necessary for your project or your browser support requirements.

// see issue https://github.com/AngularClass/angular2-webpack-starter/issues/709
// import 'core-js/es6/promise';

if (false) {
}
else {
    // Development
    Error.stackTraceLimit = Infinity;
    /* tslint:disable no-var-requires */
    __webpack_require__(50);
}

/***/ })
/******/ ]);
//# sourceMappingURL=polyfills.bundle.js.map

redpajama_set_name: RedPajamaGithub


text:
package com.yunmel.rps.model;

import com.yunmel.db.anno.Table;
import com.yunmel.db.orm.Model;

/**
 * Task实体类
 *
 * @author yunmel
 */
@SuppressWarnings({"unused"})
@Table(name = "t_core_task")
public class Task extends Model<Task> {
  private static final long serialVersionUID = 1138633338399224346L;
  private Long id;
  private Long project;
  private String label;
  private Long pusher;
  private Integer exp;
  private String result;
  private String description;
  private Integer classify;
  private Integer process;
  private Integer fettle;

  /**
   * @return the id
   */
  public Long getId() {
    return this.getLong("id");
  }

  /**
   * @param id the id to set
   */
  public void setId(Long id) {
    this.set("id", id);
  }

  public Long getProject() {
    return this.getLong("project");
  }

  public void setProject(Long project) {
    this.set("project", project);
  }

  public String getLabel() {
    return this.getString("label");
  }

  public void setLabel(String label) {
    this.set("label", label);
  }

  public Long getPusher() {
    return this.getLong("pusher");
  }

  public void setPusher(Long pusher) {
    this.set("pusher", pusher);
  }

  public Integer getExp() {
    return this.getInteger("exp");
  }

  public void setExp(Integer exp) {
    this.set("exp", exp);
  }

  public String getResult() {
    return this.getString("result");
  }

  public void setResult(String result) {
    this.set("result", result);
  }

  public String getDescription() {
    return this.getString("description");
  }

  public void setDescription(String description) {
    this.set("description", description);
  }

  public Integer getClassify() {
    return this.getInteger("classify");
  }

  public void setClassify(Integer classify) {
    this.set("classify", classify);
  }

  public Integer getProcess() {
    return this.getInteger("process");
  }

  public void setProcess(Integer process) {
    this.set("process", process);
  }

  public Integer getFettle() {
    return this.getInteger("fettle");
  }

  public void setFettle(Integer fettle) {
    this.set("fettle", fettle);
  }

  public void init() {
    this.setId(id);
    this.setDescription(description);
    this.setClassify(classify);
    this.setResult(result);
    this.setLabel(label);
    this.setProject(project);
    this.setPusher(pusher);
    this.setProcess(process);
    this.setFettle(fettle);
  }
}


text:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="원본"
            android:textAppearance="?android:attr/textAppearanceLarge" />

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/imageview_small"></ImageView>

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="maxWidth, maxHeight:100*150dp, adjustViewBounds=false"
            android:textAppearance="?android:attr/textAppearanceLarge" />

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:maxHeight="150dp"
            android:maxWidth="100dp"
            android:src="@drawable/imageview_small"></ImageView>

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="maxWidth, maxHeight:100*150dp, adjustViewBounds=true"
            android:textAppearance="?android:attr/textAppearanceLarge" />

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:adjustViewBounds="true"
            android:maxHeight="150dp"
            android:maxWidth="100dp"
            android:src="@drawable/imageview_small"></ImageView>

    </LinearLayout>
</ScrollView>


text:
    <form class="search">

        <input type="text" class="input-group-field" placeholder="Search"
          ng-model="vm.searchText">

    </form>

        {{room}}


text:
package com.yahoo.labs.samoa.instances;

public class Utils {
    public static int maxIndex(double[] doubles) {

        double maximum = 0;
        int maxIndex = 0;

        for (int i = 0; i < doubles.length; i++) {
            if ((i == 0) || (doubles[i] > maximum)) {
                maxIndex = i;
                maximum = doubles[i];
            }
        }

        return maxIndex;
    }

    public static String quote(String string) {
        boolean quote = false;

        // backquote the following characters
        if ((string.indexOf('\n') != -1) || (string.indexOf('\r') != -1) || (string.indexOf('\'') != -1) || (string.indexOf('"') != -1)
                || (string.indexOf('\\') != -1) || (string.indexOf('\t') != -1) || (string.indexOf('%') != -1) || (string.indexOf('\u001E') != -1)) {
            string = backQuoteChars(string);
            quote = true;
        }

        // Enclose the string in 's if the string contains a recently added
        // backquote or contains one of the following characters.
        if ((quote == true) || (string.indexOf('{') != -1) || (string.indexOf('}') != -1) || (string.indexOf(',') != -1) || (string.equals("?"))
                || (string.indexOf(' ') != -1) || (string.equals(""))) {
            string = ("'".concat(string)).concat("'");
        }

        return string;
    }

    public static String backQuoteChars(String string) {

        int index;
        StringBuffer newStringBuffer;

        // replace each of the following characters with the backquoted version
        char charsFind[] = { '\\', '\'', '\t', '\n', '\r', '"', '%', '\u001E' };
        String charsReplace[] = { "\\\\", "\\'", "\\t", "\\n", "\\r", "\\\"", "\\%", "\\u001E" };
        for (int i = 0; i < charsFind.length; i++) {
            if (string.indexOf(charsFind[i]) != -1) {
                newStringBuffer = new StringBuffer();
                while ((index = string.indexOf(charsFind[i])) != -1) {
                    if (index > 0) {
                        newStringBuffer.append(string.substring(0, index));
                    }
                    newStringBuffer.append(charsReplace[i]);
                    if ((index + 1) < string.length()) {
                        string = string.substring(index + 1);
                    } else {
                        string = "";
                    }
                }
                newStringBuffer.append(string);
                string = newStringBuffer.toString();
            }
        }

        return string;
    }
}


text:
seo:
  title: Certificate verification failed for smtp.sendgrid.net
  description: Certificate verification failed for smtp.sendgrid.net
  keywords: certificate, authority, bundle, godaddy
title: Certificate verification failed for smtp.sendgrid.net
weight: 0
layout: page
zendesk_id: 200182008
navigation:
  show: true
---

|

If you receive this kind of error : "certificate verification failed for [smtp.sendgrid.net](http://smtp.sendgrid.net/)[198.37.144.225]:587: untrusted issuer /C=US/O=The Go Daddy Group, Inc./OU=Go Daddy Class 2 Certification Authority"

The connection is still encrypted, it's just that your server doesn't have the necessary CA (ceritificate authority) certs to confirm that our certificate is valid.

You can download the GoDaddy CA bundle from [https://certs.godaddy.com/anonymous/repository.pki](https://certs.godaddy.com/anonymous/repository.pki) (grab the one called "gd\_bundle-g2-g1.crt"). Save that somewhere on your server, for instance "/etc/postfix/ssl/gd\_bundle-g2-g1.crt". Finally, tell Postfix where to find it by adding or editing the following line in /etc/postfix/ [main.cf](http://main.cf/):

"smtp\_tls\_CAfile = /etc/postfix/ssl/gd\_bundle-g2-g1.crt"

Restart Postfix to make the change take effect.

If the mailserver communicates with more than just us, You'll want to add the above to your existing CA bundle (frequently called ca-bundle.crt).

 |


text:
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web.Mvc;
using Kudu.Client;
using Kudu.Client.Deployment;
using Kudu.Client.Infrastructure;
using Kudu.Core.Deployment;
using Kudu.Core.SourceControl;
using Kudu.SiteManagement;
using Kudu.SiteManagement.Certificates;
using Kudu.SiteManagement.Configuration;
using Kudu.SiteManagement.Context;
using Kudu.Web.Infrastructure;
using Kudu.Web.Models;

namespace Kudu.Web.Controllers
{
    public class DeploymentsController : Controller
    {
        private readonly IApplicationService _applicationService;
        private readonly ICredentialProvider _credentialProvider;
        private readonly IKuduContext _context;
        private readonly ICertificateSearcher _certificates;

        public DeploymentsController(IApplicationService applicationService,
                                     ICredentialProvider credentialProvider,
                                     IKuduContext context,
                                     ICertificateSearcher certificates)
        {
            _applicationService = applicationService;
            _credentialProvider = credentialProvider;
            _context = context;
            _certificates = certificates;
        }

        protected override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            ViewBag.tab = "deployments";

            base.OnActionExecuting(filterContext);
        }

        public async Task<ActionResult> Index(string slug)
        {
            IApplication application = _applicationService.GetApplication(slug);

            if (application == null)
            {
                return HttpNotFound();
            }

            ICredentials credentials = _credentialProvider.GetCredentials();
            RemoteDeploymentManager deploymentManager = application.GetDeploymentManager(credentials);

            Task<IEnumerable<DeployResult>> deployResults = deploymentManager.GetResultsAsync();
            Task<RepositoryInfo> repositoryInfo = application.GetRepositoryInfo(credentials);

            await Task.WhenAll(deployResults, repositoryInfo);

            var appViewModel = new ApplicationViewModel(application, _context, _certificates.FindAll())
            {
                RepositoryInfo = repositoryInfo.Result,
                Deployments = deployResults.Result.ToList()
            };

            ViewBag.slug = slug;
            ViewBag.appName = appViewModel.Name;

            return View(appViewModel);
        }

        [HttpPost]
        public async Task<ActionResult> TriggerFetch(string slug, string repositoryUrl, RepositoryType repositoryType)
        {
            IApplication application = _applicationService.GetApplication(slug);

            if (application == null)
            {
                return HttpNotFound();
            }

            ICredentials credentials = _credentialProvider.GetCredentials();
            RemoteFetchManager fetchManager = application.GetFetchManager(credentials);

            try
            {
                await fetchManager.TriggerFetch(repositoryUrl, repositoryType);
            }
            catch (HttpUnsuccessfulRequestException)
            {
                // Ignore any failures in triggering the deployment
            }
            return new EmptyResult();
        }

        public async Task<ActionResult> Deploy(string slug, string id, bool? clean)
        {
            IApplication application = _applicationService.GetApplication(slug);

            if (application == null)
            {
                return HttpNotFound();
            }

            ICredentials credentials = _credentialProvider.GetCredentials();
            RemoteDeploymentManager deploymentManager = application.GetDeploymentManager(credentials);

            await deploymentManager.DeployAsync(id, clean: clean ?? false);
            return RedirectToAction("Index", new { slug });
        }

        public async Task<ActionResult> Log(string slug, string id)
        {
            IApplication application = _applicationService.GetApplication(slug);

            if (application == null)
            {
                return HttpNotFound();
            }

            ICredentials credentials = _credentialProvider.GetCredentials();
            RemoteDeploymentManager deploymentManager = application.GetDeploymentManager(credentials);

            IEnumerable<LogEntry> entries = await deploymentManager.GetLogEntriesAsync(id);

            ViewBag.slug = slug;
            ViewBag.appName = application.Name;
            ViewBag.id = id;
            return View(entries);
        }

        public async Task<ActionResult> Details(string slug, string id, string logId)
        {
            IApplication application = _applicationService.GetApplication(slug);
            if (application == null)
            {
                return HttpNotFound();
            }

            ICredentials credentials = _credentialProvider.GetCredentials();
            RemoteDeploymentManager deploymentManager = application.GetDeploymentManager(credentials);
            IEnumerable<LogEntry> entries = await deploymentManager.GetLogEntryDetailsAsync(id, logId);

            ViewBag.slug = slug;
            ViewBag.appName = application.Name;
            ViewBag.id = id;
            ViewBag.verbose = true;

            return View("Log", entries);
        }
    }
}


text:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html
          PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

   <meta name="AUTHOR" content="pme@gcc.gnu.org (Phil Edwards) and bkoz@gcc.gnu.org (Benjamin Kosnik)" />
   <meta name="KEYWORDS" content="c++, libstdc++, g++, allocator, memory" />
   <meta name="DESCRIPTION" content="Allocators and allocation" />
   <meta name="GENERATOR" content="emacs and ten fingers" />
   <title>Allocators and allocation</title>
<link rel="StyleSheet" href="../lib3styles.css" type="text/css" />
<link rel="Start" href="../documentation.html" type="text/html"
  title="GNU C++ Standard Library" />
<link rel="Bookmark" href="howto.html" type="text/html"
  title="General Utilities" />
<link rel="Copyright" href="../17_intro/license.html" type="text/html" />

Allocators and allocation

   The latest version of this document is always available at

   http://gcc.gnu.org/onlinedocs/libstdc++/20_util/allocator.html.

   To the libstdc++-v3 homepage.

 The C++ Standard encapsulates memory management characteristics
   for strings, container classes, and parts of iostreams in a
   template class called std::allocator.

  Standard requirements

The C++ standard only gives a few directives in this area:

When you add elements to a container, and the container must allocate
         more memory to hold them, the container makes the request via its
         Allocator template parameter.  This includes adding
         chars to the string class, which acts as a regular STL container
         in this respect.

The default Allocator of every container-of-T is
         std::allocator<T>.

The interface of the allocator<T> class is
         extremely simple.  It has about 20 public declarations (nested
         typedefs, member functions, etc), but the two which concern us most
         are:

      T*    allocate   (size_type n, const void* hint = 0);
      void  deallocate (T* p, size_type n);

         (This is a simplification; the real signatures use nested typedefs.)
         The "n" arguments in both those functions is a
         count of the number of T's to allocate space for,
         not their total size.

"The storage is obtained by calling
         ::operator new(size_t), but it is unspecified when or
         how often this function is called.  The use of hint
         is unspecified, but intended as an aid to locality if an
         implementation so desires." [20.4.1.1]/6

 Complete details cam be found in the C++ standard, look in
   [20.4 Memory].

  Problems and Possibilities

The easiest way of fulfilling the requirements is to call operator new
      each time a container needs memory, and to call operator delete each
      time the container releases memory.  BUT
      this
      method is horribly slow.

Or we can keep old memory around, and reuse it in a pool to save time.
      The old libstdc++-v2 used a memory pool, and so do we.  As of 3.0,
      it's
      on by default.  The pool is shared among all the containers in the
      program:  when your program's std::vector<int> gets cut in half
      and frees a bunch of its storage, that memory can be reused by the
      private std::list<WonkyWidget> brought in from a KDE library
      that you linked against.  And we don't have to call operators new and
      delete to pass the memory on, either, which is a speed bonus.
      BUT...

What about threads?  No problem:  in a threadsafe environment, the
      memory pool is manipulated atomically, so you can grow a container in
      one thread and shrink it in another, etc.  BUT what
      if threads in libstdc++-v3 aren't set up properly?
      That's been answered already.

BUT what if you want to use your own allocator?  What
      if you plan on using a runtime-loadable version of malloc() which uses
      shared telepathic anonymous mmap'd sections serializable over a
      network, so that memory requests should go through malloc?
      And what if you need to debug it?

  Implementation details of std::allocator

 The implementation of  std::allocator has continued
      to evolve through successive releases. Here's a brief history.

   3.0, 3.1, 3.2, 3.3

 During this period, all allocators were written to the SGI
   style, and all STL containers expected this interface. This
   interface had a traits class called _Alloc_traits that
   attempted to provide more information for compile-time allocation
   selection and optimization. This traits class had another allocator
   wrapper, __simple_alloc<T,A>, which was a
   wrapper around another allocator, A, which itself is an allocator
   for instances of T. But wait, there's more:
   __allocator<T,A> is another adapter.  Many of
   the provided allocator classes were SGI style: such classes can be
   changed to a conforming interface with this wrapper:
   __allocator<T, __alloc> is thus the same as
   allocator<T>.

 The class std::allocator use the typedef
   __alloc to select an underlying allocator that
   satisfied memory allocation requests. The selection of this
   underlying allocator was not user-configurable.

   3.4

 For this and later releases, the only allocator interface that
   is support is the standard C++ interface. As such, all STL
   containers have been adjusted, and all external allocators have
   been modified to support this change. Because of this,
   __simple_alloc, __allocator, __alloc,  and
   _Alloc_traits have all been removed.

 The class std::allocator just has typedef,
   constructor, and rebind members. It inherits from one of the
   high-speed extension allocators, covered below. Thus, all
   allocation and deallocation depends on the base class.

 The base class that std::allocator is derived from
  is not user-configurable.

   How the default allocation strategy is selected.

 It's difficult to pick an allocation strategy that will provide
   maximum utility, without excessively penalizing some behavior. In
   fact, it's difficult just deciding which typical actions to measure
   for speed.

 Three synthetic benchmarks have been created that provide data
   that is used to compare different C++ allocators. These tests are:

Insertion. Over multiple iterations, various STL container
     objects have elements inserted to some maximum amount. A variety
     of allocators are tested.
     Test source here.

Insertion, clear, and re-insertion in a multi-threaded
     environment.  Over multiple iterations, several threads are
     started that insert elements into a STL container, then assign a
     null instance of the same type to clear memory, and then
     re-insert the same number of elements. Several STL containers and
     multiple allocators are tested. This test shows the ability of
     the allocator to reclaim memory on a pre-thread basis, as well as
     measuring thread contention for memory resources.
     Test source

    here.

A threaded producer/consumer model.
     Test source

    here.

   Disabling memory caching.

 In use, std::allocator may allocate and deallocate
   using implementation-specified strategies and heuristics. Because of
   this, every call to an allocator object's  allocate
   member function may not actually call the global operator new. This
   situation is also duplicated for calls to the
   deallocate member function.

 This can be confusing.

 In particular, this can make debugging memory errors more
   difficult, especially when using third party tools like valgrind or
   debug versions of  new.

 There are various ways to solve this problem. One would be to
   use a custom allocator that just called operators  new
    and  delete directly, for every
   allocation. (See include/ext/new_allocator.h, for instance.)
   However, that option would involve changing source code to use the a
   non-default allocator. Another option is to force the default
   allocator to remove caching and pools, and to directly allocate
   with every call of  allocate and directly deallocate
   with every call of  deallocate, regardless of
   efficiency. As it turns out, this last option is available,
   although the exact mechanism has evolved with time.

 For GCC releases from 2.95 through the 3.1 series, defining
   __USE_MALLOC on the gcc command line would change the
   default allocation strategy to instead use  malloc and
    free. See
   this note
   for details as to why this was something needing improvement.

Starting with GCC 3.2, and continued in the 3.3 series, to
      globally disable memory caching within the library for the
      default allocator, merely set GLIBCPP_FORCE_NEW (at this time,
      with any value) in the system's environment before running the
      program. If your program crashes with GLIBCPP_FORCE_NEW in the
      environment, it likely means that you linked against objects
      built against the older library.  Code to support this extension
      is fully compatible with 3.2 code if GLIBCPP_FORCE_NEW is not in
      the environment.

 As it turns out, the 3.4 code base continues to use this
   mechanism, only the environment variable has been changed to
   GLIBCXX_FORCE_NEW.

  Other allocators

 Several other allocators are provided as part of this
   implementation.  The location of the extension allocators and their
   names have changed, but in all cases, functionality is
   equivalent. Starting with gcc-3.4, all extension allocators are
   standard style. Before this point, SGI style was the norm. Because of
   this, the number of template arguments also changed. Here's a simple
   chart to track the changes.

    Allocator (3.4)
    Header (3.4)
    Allocator (3.[0-3])
    Header (3.[0-3])

    __gnu_cxx::new_allocator<T>
    <ext/new_allocator.h>
    std::__new_alloc
    <memory>

    __gnu_cxx::malloc_allocator<T>
    <ext/malloc_allocator.h>
    std::__malloc_alloc_template<int>
    <memory>

    __gnu_cxx::debug_allocator<T>
    <ext/debug_allocator.h>
    std::debug_alloc<T>
    <memory>

    __gnu_cxx::__pool_alloc<T>
    <ext/pool_allocator.h>
    std::__default_alloc_template<bool,int>
    <memory>

    __gnu_cxx::__mt_alloc<T>
    <ext/mt_allocator.h>

    __gnu_cxx::bitmap_allocator<T>
    <ext/bitmap_allocator.h>

 Releases after gcc-3.4 have continued to add to the collection
   of available allocators. All of these new allocators are
   standard-style. The following table includes details, along with
   the first released version of GCC that included the extension allocator.

    Allocator
    Include
    Version

    __gnu_cxx::array_allocator<T>
    <ext/array_allocator.h>
    4.0.0

More details on each of these extension allocators follows.

new_allocator

Simply wraps ::operator new
         and ::operator delete.

malloc_allocator

Simply wraps
         malloc and free.  There is also a hook
         for an out-of-memory handler (for new/delete this is taken care of
         elsewhere).

array_allocator

Allows allocations of known and fixed sizes using existing
         global or external storage allocated via construction of
         std::tr1::array objects. By using this allocator, fixed size
         containers (including std::string) can be used without
         instances calling ::operator new and
         ::operator delete. This capability allows the
         use of STL abstractions without runtime complications or
         overhead, even in situations such as program startup. For
         usage examples, please consult the libstdc++ testsuite.

debug_allocator

 A wrapper around an
         arbitrary allocator A.  It passes on slightly increased size
         requests to A, and uses the extra memory to store size information.
         When a pointer is passed to deallocate(), the stored
         size is checked, and assert() is used to guarantee they match.

__pool_alloc

 A high-performance, single pool allocator.  The reusable
      memory is shared among identical instantiations of this type.
      It calls through ::operator new to obtain new memory
      when its lists run out.  If a client container requests a block
      larger than a certain threshold size, then the pool is bypassed,
      and the allocate/deallocate request is passed to
      ::operator new directly.

 For versions of __pool_alloc after 3.4.0, there is
   only one template parameter, as per the standard.

 Older versions of this class take a boolean template parameter,
      called thr, and an integer template parameter,
      called inst.

The inst number is used to track additional memory
      pools.  The point of the number is to allow multiple
      instantiations of the classes without changing the semantics at
      all.  All three of

    typedef  __pool_alloc<true,0>    normal;
    typedef  __pool_alloc<true,1>    private;
    typedef  __pool_alloc<true,42>   also_private;

behave exactly the same way.  However, the memory pool for each type
      (and remember that different instantiations result in different types)
      remains separate.

The library uses 0 in all its instantiations.  If you
      wish to keep separate free lists for a particular purpose, use a
      different number.

The thr boolean determines whether the pool should
      be manipulated atomically or not.  When thr=true, the allocator
      is is threadsafe, while thr=false, and is slightly faster but
      unsafe for multiple threads.

For thread-enabled configurations, the pool is locked with a
   single big lock. In some situations, this implementation detail may
   result in severe performance degredation.

(Note that the GCC thread abstraction layer allows us to provide safe
      zero-overhead stubs for the threading routines, if threads were
      disabled at configuration time.)

__mt_alloc

A high-performance
     fixed-size allocator. It has its own documentation, found here.

bitmap_allocator

A high-performance allocator that uses a bit-map to keep track
     of the used and unused memory locations. It has its own
     documentation, found here.

  Using a specific allocator

You can specify different memory management schemes on a
      per-container basis, by overriding the default
      Allocator template parameter.  For example, an easy
      (but non-portable) method of specifying that only malloc/free
      should be used instead of the default node allocator is:

    std::list <int, __gnu_cxx::malloc_allocator<int> >  malloc_list;

      Likewise, a debugging form of whichever allocator is currently in use:

    std::deque <int, __gnu_cxx::debug_allocator<std::allocator<int> > >  debug_deque;

  Writing custom allocators

 Writing a portable C++ allocator would dictate that the
   interface would look much like the one specified for
   std::allocator. Additional member functions, but not
   subtractions, would be permissible.

 Probably the best place to start would be to copy one of the
   extension allocators already shipped with libstdc++: say,
   new_allocator .

  Bibliography / Further Reading

   ISO/IEC 14882:1998 Programming languages - C++ [20.4 Memory]

   Austern, Matt, C/C++ Users Journal.
   The Standard Librarian: What Are Allocators Good
   For?

   Berger, Emery,
    The Hoard memory allocator

   Berger, Emery with Ben Zorn & Kathryn McKinley, OOPSLA 2002
   Reconsidering Custom Memory Allocation

   Kreft, Klaus and Angelika Langer, C++ Report, June 1998
   Allocator Types

   Stroustrup, Bjarne, 19.4 Allocators, The C++ Programming
   Language, Special Edition, Addison Wesley, Inc. 2000

   Yen, Felix, Yalloc: A Recycling C++ Allocator

Return to the top of the page or
   to the libstdc++ homepage.

See license.html for copying conditions.
Comments and suggestions are welcome, and may be sent to
the libstdc++ mailing list.


text:
module Capybara::Selenium::Driver::Ios
  module Profile
    class Chrome
      def self.driver_options(params = {})
        options = {
          :ios_version => ::Capybara::IosEmulationDriver::LATEST_IOS_VERSION,
          :ios_device  => :iphone,
        }.update(params)

        profile = ::Selenium::WebDriver::Chrome::Profile.new
        ua = ::Capybara::IosEmulationDriver::UserAgent.of(:ios => options[:ios_version], :device => options[:ios_device])
        {
          :switches => [ '--allow-running-insecure-content',
                         "--user-agent='#{ua}'" ],
          :prefs => profile
        }
      end
    end
  end
end


text:
#ifndef __G_PROXY_RESOLVER_PORTAL_H__
#define __G_PROXY_RESOLVER_PORTAL_H__

#include <glib-object.h>
#include <gio/gio.h>

G_BEGIN_DECLS

#define G_TYPE_PROXY_RESOLVER_PORTAL         (g_proxy_resolver_portal_get_type ())
#define G_PROXY_RESOLVER_PORTAL(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_PROXY_RESOLVER_PORTAL, GProxyResolverPortal))
#define G_PROXY_RESOLVER_PORTAL_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_PROXY_RESOLVER_PORTAL, GProxyResolverPortalClass))
#define G_IS_PROXY_RESOLVER_PORTAL(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_PROXY_RESOLVER_PORTAL))
#define G_IS_PROXY_RESOLVER_PORTAL_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_PROXY_RESOLVER_PORTAL))
#define G_PROXY_RESOLVER_PORTAL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_PROXY_RESOLVER_PORTAL, GProxyResolverPortalClass))

typedef struct _GProxyResolverPortal       GProxyResolverPortal;
typedef struct _GProxyResolverPortalClass  GProxyResolverPortalClass;

struct _GProxyResolverPortalClass {
  GObjectClass parent_class;
};

GType g_proxy_resolver_portal_get_type (void);

G_END_DECLS

#endif /* __G_PROXY_RESOLVER_PORTAL_H__ */


text:
@class Su;
@interface XLPersistenceTestObject : NSObject
@property(nonatomic,copy)NSString* userId;
@property(nonatomic,copy)NSString* userName;
@end

@implementation XLPersistenceTestObject

//需要忽略的
+ (NSArray *)transientProps {
    return @[@"userName"];
}
+ (NSArray *)indices {
    return @[@[@"userId"]];    // 返回 userId 作为数据库索引
}
@end

@interface Su : NSObject
@property(nonatomic,copy)NSString* subId;
@end

@implementation Su
- (void)encodeWithCoder:(NSCoder *)aCoder;
{
    [aCoder encodeObject:self.subId forKey:@"subId"];
}
- (id)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [self init])
    {
        self.subId = [aDecoder decodeObjectForKey:@"subId"];
    }
    return self;
}
@end

@interface XLViewController ()

@end

// 通常在工程中作为单例
static XLPersistenceService* service = nil;

@implementation XLViewController

+ (void) load {
    NSArray *documentPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentPath = [documentPaths objectAtIndex:0];
    NSString *databaseFolderPath = [documentPath stringByAppendingPathComponent:@"DB"];
    BOOL createSuccess = [[NSFileManager defaultManager] createDirectoryAtPath:databaseFolderPath
                                                   withIntermediateDirectories:YES attributes:nil error:nil];
    NSAssert(createSuccess, @"create folder failed,%@", databaseFolderPath);
    NSString *databaseFilePath = [databaseFolderPath stringByAppendingPathComponent:[NSString stringWithFormat:@"myDB"]];
    XLPersistenceContext* userPersistenceContext = [[XLPersistenceContext alloc] initWithDbFilePath:databaseFilePath];
    [userPersistenceContext registerClass:[XLPersistenceTestObject class]];
    service = [[XLPersistenceService alloc] initWithContext:userPersistenceContext];
}

- (void)viewDidLoad
{
    [super viewDidLoad];

    XLPersistenceTestObject* obj = XLPersistenceTestObject.new;
    obj.userId = @"123";
    obj.userName = @"xiaoming";
    [service saveOrUpdateObject:obj];

    XLPersistenceTestObject* findObj = [service findObjectsByClass:[XLPersistenceTestObject class] criteria:@"where user_id = ?",@"123"];
    // className is dismissed

}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end


text:
Introduction
============

Goal
--------
Intend to provide a simple toolset for user to analyze control system.

License
-------
TinyControl is licensed under the BSD 3--Clause License.


text:
// This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do
// so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

using System;
using YamlDotNet.Core;

namespace YamlDotNet.Serialization.NodeDeserializers
{
    public sealed class YamlConvertibleNodeDeserializer : INodeDeserializer
    {
        private readonly IObjectFactory objectFactory;

        public YamlConvertibleNodeDeserializer(IObjectFactory objectFactory)
        {
            this.objectFactory = objectFactory;
        }

        public bool Deserialize(IParser parser, Type expectedType, Func<IParser, Type, object?> nestedObjectDeserializer, out object? value)
        {
            if (typeof(IYamlConvertible).IsAssignableFrom(expectedType))
            {
                var convertible = (IYamlConvertible)objectFactory.Create(expectedType);
                convertible.Read(parser, expectedType, type => nestedObjectDeserializer(parser, type));
                value = convertible;
                return true;
            }

            value = null;
            return false;
        }
    }
}


text:
import { Component } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';
import { AngularFire, FirebaseListObservable } from 'angularfire2';
import { CategoryProductsPage } from '../category-products/category-products';
/*
  Generated class for the SelectSubcat page.

  See http://ionicframework.com/docs/v2/components/#navigation for more info on
  Ionic pages and navigation.
*/
@Component({
  selector: 'page-select-subcat',
  templateUrl: 'select-subcat.html'
})
export class SelectSubcatPage {

    public catid: any;
    categories: FirebaseListObservable<any>;
    public parentcat: any;

    constructor(public navCtrl: NavController, public navParams: NavParams, public af: AngularFire) {
        this.catid = navParams.get("catid");
        this.loadCategory(this.catid,null);
    }

    loadCategory(catid,cattitle) {

        if (catid === 4 ) {

            this.categories = this.af.database.list('/productcategories/SSPipes/subcategories/', { query: { orderByChild: 'oid' } });
            this.parentcat = 'SSPipes';
        }
        else if (catid === 8) {

            this.categories = this.af.database.list('/productcategories/D&SD/subcategories/', { query: { orderByChild: 'oid' } });
            this.parentcat = 'D&SD';
        }
        else if (catid === 9) {

            this.categories = this.af.database.list('/productcategories/Nickel/subcategories/', { query: { orderByChild: 'oid' } });
            this.parentcat = 'Nickel';
        }
        else if (catid === '8c' || catid === '9c') {

            this.categories = this.af.database.list('/productcategories/' + this.parentcat + '/subcategories/pipes/types/', { query: { orderByChild: 'oid' } });
        }
        else {
            this.navCtrl.push(CategoryProductsPage, { catid: catid, cattitle: cattitle });
        }
    }
  ionViewDidLoad() {
    console.log('ionViewDidLoad SelectSubcatPage');
  }

}


text:
using BuilderWithInheritance.Games;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BuilderWithInheritance.Generics
{
    class LocalGameBuilder : GameBuilder<LocalGame>
    {
        private int _aiStrength = 3;

        public LocalGameBuilder AiStrength(int aiStrength)
        {
            _aiStrength = aiStrength;
            return this;
        }

        //now only LocalGame can be built by LocalGameBuilder
        public override LocalGame Build() =>
            new LocalGame(_aiStrength, _boardSize, _level);
    }
}


text:
.class Lcom/android/camera/ui/ModePickerScrollView$1;
.super Ljava/lang/Object;
.source "ModePickerScrollView.java"

# interfaces
.implements Ljava/lang/Runnable;

# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/android/camera/ui/ModePickerScrollView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

# instance fields
.field final synthetic this$0:Lcom/android/camera/ui/ModePickerScrollView;

# direct methods
.method constructor <init>(Lcom/android/camera/ui/ModePickerScrollView;)V
    .locals 0
    .parameter

    .prologue
    .line 23
    iput-object p1, p0, Lcom/android/camera/ui/ModePickerScrollView$1;->this$0:Lcom/android/camera/ui/ModePickerScrollView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

# virtual methods
.method public run()V
    .locals 2

    .prologue
    .line 27
    invoke-static {}, Lcom/android/camera/ui/ModePickerScrollView;->access$000()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 28
    const-string v0, "ModePickerScrollView"

    const-string v1, "mHideRunnable.run()"

    invoke-static {v0, v1}, Lcom/android/camera/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 30
    :cond_0
    iget-object v0, p0, Lcom/android/camera/ui/ModePickerScrollView$1;->this$0:Lcom/android/camera/ui/ModePickerScrollView;

    #getter for: Lcom/android/camera/ui/ModePickerScrollView;->mBackground:Landroid/view/View;
    invoke-static {v0}, Lcom/android/camera/ui/ModePickerScrollView;->access$100(Lcom/android/camera/ui/ModePickerScrollView;)Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 31
    iget-object v0, p0, Lcom/android/camera/ui/ModePickerScrollView$1;->this$0:Lcom/android/camera/ui/ModePickerScrollView;

    #getter for: Lcom/android/camera/ui/ModePickerScrollView;->mBackground:Landroid/view/View;
    invoke-static {v0}, Lcom/android/camera/ui/ModePickerScrollView;->access$100(Lcom/android/camera/ui/ModePickerScrollView;)Landroid/view/View;

    move-result-object v0

    invoke-static {v0}, Lcom/android/camera/Util;->fadeOut(Landroid/view/View;)V

    .line 33
    :cond_1
    return-void
.end method


text:
<!DOCTYPE html>

      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
      <title>Spherical</title>
      <meta name="description" content="">
      <meta name="viewport" content="width=device-width, initial-scale=1">

      <link rel="stylesheet" href="css/bootstrap.min.css">

      <link rel="stylesheet" href="css/bootstrap-theme.min.css">
      <link rel="stylesheet" href="css/main.css">

          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            Toggle navigation

          </button>
          Node spherical example

Node.js spherical

This is a simple Node + Angular app for performing basic calculations in spherical coordinates.

          Try it now »

Point format is: 51 30 30 N, 0 07 32 W

Examples:

London: 51 30 30 N, 0 07 32 W

New York: 41 8 44 N, 73 59 42 W

Moscow: 55 45 00 N, 37 37 00 E

          <form role="form" name="calculateForm" class="col-md-4" ng-submit="calculate()" novalidate>

              Start point
              <input type="text" class="form-control"
                ng-pattern="/^\-?(\d{1,2}\s){2}(\d{1,2}(\.\d+)?)\s(S|N),\s+\-?(\d{1,2}\s){2}(\d{1,2}(\.\d+)?)\s(W|E)$/"
                ng-model="formData.startPoint" required>

              Destination
              <input type="text" class="form-control" ng-model="formData.dstPoint"
              ng-pattern="/^\-?(\d{1,2}\s){2}(\d{1,2}(\.\d+)?)\s(S|N),\s+\-?(\d{1,2}\s){2}(\d{1,2}(\.\d+)?)\s(W|E)$/"
              required>

              Speed (km/h)
              <input type="text" class="form-control" ng-model="formData.speed"
              ng-pattern="/^\d{1,4}(\.\d{1,4})?$/"
              required>

            <input class="btn" type="submit" ng-disabled="!calculateForm.$valid">
          </form>

An error occured during the request: {{error.error}}

Distance is {{response.distance}} km

Travel will take {{formatMinutes(response.travelTime)}}

 0">
                Waypoints are:

                    Latitude: {{route.lat}},
 Longitude: {{route.lng}}

© Company 2014


text:
node a.js
node test.js
node test2.js
node testinherit.js
node testinherit2.js
node testinherit3.js
# node testinherit4.js
# node testinherit5.js


text:
.PHONY: all clean compile release run check doc

REBAR=$(shell which rebar || echo ./rebar3)

# eventually this should be just ebin/*.beam, but there are a number
# of warnings in other files. Just check the clean files for now.
CHECK_FILES=\
     _build/default/lib/erldyn/ebin

CHECK_F=\
     _build/default/lib/jsone/ebin

all: clean compile

clean:
	@$(REBAR) clean

compile:
	@$(REBAR) compile

run:
	erl -pa _build/default/lib/*/ebin

check: compile
	dialyzer --no_native --fullpath \
		$(CHECK_FILES) $(CHECK_F) \
		-Wunmatched_returns \
		-Werror_handling

doc:
	@$(REBAR) edoc


text:
import urllib
import json
import os

from flask import Flask
from flask import request
from flask import make_response

# Flask app should start in global layout
app = Flask(__name__)

@app.route('/webhook', methods=['POST'])
def webhook():
    req = request.get_json(silent=True, force=True)

    print("Request:")
    print(json.dumps(req, indent=4))

    res = processRequest(req)
    res = json.dumps(res, indent=4)
    # print(res)
    r = make_response(res)
    r.headers['Content-Type'] = 'application/json'
    return r

def processRequest(req):
    if req.get("result").get("action") != "yea":
        return {}

    dummy=json.loads(req)
    result=dummy["result"]["action"]

    data="helllllllllllll"+result
    res = makeWebhookResult(data)
    return res

def makeWebhookResult(data):

    # print(json.dumps(item, indent=4))

    speech = data

    print("Response:")
    print(speech)

    return {
        "speech": speech,
        "displayText": speech,
        # "data": data,
        # "contextOut": [],
        "source": "apiai-leave-sample"
    }

if __name__ == '__main__':
    port = int(os.getenv('PORT', 5000))

    print "Starting app on port %d" % port

    app.run(debug=False, port=port, host='0.0.0.0')


text:
CSS property: -webkit-column-count

Description

Specifies the number of columns desired in a multicolumn flow.

Changes to this property can be animated.

Syntax

-webkit-column-count: auto | <number_of_columns>;

Values

auto (by default)

The element has one column.

<number_of_columns>

The number of columns in the multicolumn flow. Integer, nonnegative value.

Versions

Safari 3.0

iOS 2.0


text:
package rvc.http;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rvc.Context;
import rvc.Route;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.util.*;

public class Request {

    private static final Logger logger = LoggerFactory.getLogger(Request.class);

    public static Request get() {
        return Context.get(Request.class);
    }

    HttpServletRequest servletRequest;

    Session session = null;

    private boolean forwarded = false;

    private Set<String> headers = null;

    private Map<String, String> params;

    private List<String> splats;

    Route route;

    public Request(HttpServletRequest servletRequest) {
        this.servletRequest = servletRequest;
    }

    public void setRoute(Route route) {
        this.route = route;
        params = null;
        splats = null;
    }

    public HttpServletRequest raw() {
        return servletRequest;
    }

    public Session session() {
        if (session == null) {
            session = new Session(servletRequest.getSession());
        }
        return session;
    }

    public Session session(boolean create) {
        if (session == null) {
            HttpSession httpSession = servletRequest.getSession(create);
            if (httpSession != null) {
                session = new Session(httpSession);
            }
        }
        return session;
    }

    public void forward(String path) throws ServletException, IOException {
        RequestDispatcher dispatcher = servletRequest.getRequestDispatcher(path);
        forwarded = true;
        dispatcher.forward(servletRequest, Response.get().response);
    }

    public boolean isForwarded() {
        return forwarded;
    }

    public Map<String, String> params() {
        if (params == null) {
            params = route.getParams(servletRequest.getRequestURI());
        }
        return params;
    }

    public String params(String param) {
        if (param == null) {
            return null;
        }

        if (param.startsWith(":")) {
            return params().get(param.toLowerCase());
        } else {
            return params().get(":" + param.toLowerCase());
        }
    }

    public List<String> splats() {
        if (splats == null) {
            splats = route.getSplats(servletRequest.getRequestURI());
        }
        return splats;
    }

    public long contentLength() {
        return servletRequest.getContentLengthLong();
    }

    public String header(String header) {
        return servletRequest.getHeader(header);
    }

    public String requestMethod() {
        return servletRequest.getMethod();
    }

    public String scheme() {
        return servletRequest.getScheme();
    }

    public String host() {
        return servletRequest.getHeader("host");
    }

    public String userAgent() {
        return servletRequest.getHeader("user-agent");
    }

    public int port() {
        return servletRequest.getServerPort();
    }

    public String pathInfo() {
        return servletRequest.getPathInfo();
    }

    public String servletPath() {
        return servletRequest.getServletPath();
    }

    public String contextPath() {
        return servletRequest.getContextPath();
    }

    public String url() {
        return servletRequest.getRequestURL().toString();
    }

    public String contentType() {
        return servletRequest.getContentType();
    }

    public String ip() {
        return servletRequest.getRemoteAddr();
    }

    public String queryString() {
        return servletRequest.getQueryString();
    }

    public void attribute(String attribute, Object value) {
        servletRequest.setAttribute(attribute, value);
    }

    public <T> T attribute(String attribute) {
        return (T) servletRequest.getAttribute(attribute);
    }

    public Set<String> attributes() {
        Set<String> attrList = new HashSet<>();
        Enumeration<String> attributes = servletRequest.getAttributeNames();
        while (attributes.hasMoreElements()) {
            attrList.add(attributes.nextElement());
        }
        return attrList;
    }

    public String queryParams(String queryParam) {
        return this.servletRequest.getParameter(queryParam);
    }

    public String[] queryParamsValues(String queryParam) {
        return this.servletRequest.getParameterValues(queryParam);
    }

    public String url2() {
        StringBuilder builder = new StringBuilder(servletRequest.getScheme())
                .append("://")
                .append(servletRequest.getHeader("host"));

        if (servletRequest.getRequestURI() != null) {
            builder.append(servletRequest.getRequestURI());
        }
        if (servletRequest.getQueryString() != null) {
            builder.append("?")
                    .append(servletRequest.getQueryString());
        }

        return builder.toString();
    }

    public String path() {
        StringBuilder builder = new StringBuilder();

        if (servletRequest.getRequestURI() != null) {
            builder.append(servletRequest.getRequestURI());
        } else {
            builder.append("/");
        }

        if (servletRequest.getQueryString() != null) {
            builder.append("?")
                    .append(servletRequest.getQueryString());
        }

        return builder.toString();
    }

}


text:
/**
 * Please, insert description here.
 *
 * @author Riccardo Cardin
 * @version 1.0
 * @since 1.0
 */
package it.unipd.math.pcd.actors.utils.messages;

import it.unipd.math.pcd.actors.Message;

/**
 * Please, insert description here.
 *
 * @author Riccardo Cardin
 * @version 1.0
 * @since 1.0
 */
public class StoreMessage implements Message {
    private String payload;

    public StoreMessage(String payload) {
        this.payload = payload;
    }

    public String getPayload() {
        return payload;
    }
}


text:
'use strict';

import CSRF from './csrf.js';

/**
 * check csrf
 * @type {}
 */
export default class extends CSRF {
  /**
   * run
   * @return {Promise} []
   */
  run(){
    think.log('`check_csrf` middleware is deprecated, use `csrf` instead', 'WARNING');
    return super.run();
  }
}