text:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ChangeListManager">
    <list default="true" id="a6877395-3a6a-4c8b-bca2-64517323ad19" name="Default" comment="" />
    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
    <option name="TRACKING_ENABLED" value="true" />
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
    <option name="LAST_RESOLUTION" value="IGNORE" />
  </component>
  <component name="CreatePatchCommitExecutor">
    <option name="PATCH_PATH" value="" />
  </component>
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
  <component name="FileEditorManager">
    <leaf>
      <file leaf-file-name="setup.py" pinned="false" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/setup.py">
          <provider selected="true" editor-type-id="text-editor">
            <state relative-caret-position="345">
              <caret line="23" column="1" lean-forward="true" selection-start-line="23" selection-start-column="1" selection-end-line="23" selection-end-column="1" />
              <folding>
                <element signature="e#0#9#0" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="ProjectFrameBounds">
    <option name="x" value="1" />
    <option name="y" value="23" />
    <option name="width" value="1278" />
    <option name="height" value="717" />
  </component>
  <component name="ProjectView">
    <navigator currentView="ProjectPane" proportions="" version="1">
      <flattenPackages />
      <showMembers />
      <showModules />
      <showLibraryContents />
      <hideEmptyPackages />
      <abbreviatePackageNames />
      <autoscrollToSource />
      <autoscrollFromSource />
      <sortByType />
      <manualOrder />
      <foldersAlwaysOnTop value="true" />
    </navigator>
    <panes>
      <pane id="Scratches" />
      <pane id="Scope" />
      <pane id="ProjectPane">
        <subPane>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="Blue_Yellow" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Blue_Yellow" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="Blue_Yellow" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Blue_Yellow" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Blue_Yellow" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
        </subPane>
      </pane>
    </panes>
  </component>
  <component name="PropertiesComponent">
    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
    <property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
  </component>
  <component name="RunManager" selected="Python.web">
    <configuration default="true" type="PythonConfigurationType" factoryName="Python">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs>
        <env name="PYTHONUNBUFFERED" value="1" />
      </envs>
      <option name="SDK_HOME" value="" />
      <option name="WORKING_DIRECTORY" value="" />
      <option name="IS_MODULE_SDK" value="false" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="Blue_Yellow" />
      <option name="SCRIPT_NAME" value="" />
      <option name="PARAMETERS" value="" />
      <option name="SHOW_COMMAND_LINE" value="false" />
      <method />
    </configuration>
    <configuration default="false" name="web" type="PythonConfigurationType" factoryName="Python">
      <option name="INTERPRETER_OPTIONS" value="" />
      <option name="PARENT_ENVS" value="true" />
      <envs>
        <env name="PYTHONUNBUFFERED" value="1" />
      </envs>
      <option name="SDK_HOME" value="$PROJECT_DIR$/../../../environments/web/bin/python" />
      <option name="WORKING_DIRECTORY" value="" />
      <option name="IS_MODULE_SDK" value="false" />
      <option name="ADD_CONTENT_ROOTS" value="true" />
      <option name="ADD_SOURCE_ROOTS" value="true" />
      <module name="Blue_Yellow" />
      <option name="SCRIPT_NAME" value="$PROJECT_DIR$/../../../environments/web/bin/pserve" />
      <option name="PARAMETERS" value="$PROJECT_DIR$/development.ini" />
      <option name="SHOW_COMMAND_LINE" value="false" />
      <method />
    </configuration>
    <list size="1">
      <item index="0" class="java.lang.String" itemvalue="Python.web" />
    </list>
  </component>
  <component name="ShelveChangesManager" show_recycled="false">
    <option name="remove_strategy" value="false" />
  </component>
  <component name="TaskManager">
    <task active="true" id="Default" summary="Default task">
      <changelist id="a6877395-3a6a-4c8b-bca2-64517323ad19" name="Default" comment="" />
      <created>1490194481295</created>
      <option name="number" value="Default" />
      <option name="presentableId" value="Default" />
      <updated>1490194481295</updated>
    </task>
    <servers />
  </component>
  <component name="ToolWindowManager">
    <frame x="1" y="23" width="1278" height="717" extended-state="6" />
    <editor active="false" />
    <layout>
      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24960877" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
      <window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3287037" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
    </layout>
  </component>
  <component name="VcsContentAnnotationSettings">
    <option name="myLimit" value="2678400000" />
  </component>
  <component name="XDebuggerManager">
    <breakpoint-manager />
    <watches-manager />
  </component>
  <component name="editorHistoryManager">
    <entry file="file://$PROJECT_DIR$/setup.py">
      <provider selected="true" editor-type-id="text-editor">
        <state relative-caret-position="345">
          <caret line="23" column="1" lean-forward="true" selection-start-line="23" selection-start-column="1" selection-end-line="23" selection-end-column="1" />
          <folding>
            <element signature="e#0#9#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
  </component>
</project>


text:
var Hack = require('./hack');

var Marker = require('../tokenizer/marker');
var Token = require('../tokenizer/token');

var Match = {
  ASTERISK: '*',
  BACKSLASH: '\\',
  BANG: '!',
  BANG_SUFFIX_PATTERN: /!\w+$/,
  IMPORTANT_TOKEN: '!important',
  IMPORTANT_TOKEN_PATTERN: new RegExp('!important$', 'i'),
  IMPORTANT_WORD: 'important',
  IMPORTANT_WORD_PATTERN: new RegExp('important$', 'i'),
  SUFFIX_BANG_PATTERN: /!$/,
  UNDERSCORE: '_',
  VARIABLE_REFERENCE_PATTERN: /var\(--.+\)$/
};

function wrapAll(properties, includeVariable) {
  var wrapped = [];
  var single;
  var property;
  var i;

  for (i = properties.length - 1; i >= 0; i--) {
    property = properties[i];

    if (property[0] != Token.PROPERTY) {
      continue;
    }

    if (!includeVariable && someVariableReferences(property)) {
      continue;
    }

    single = wrapSingle(property);
    single.all = properties;
    single.position = i;
    wrapped.unshift(single);
  }

  return wrapped;
}

function someVariableReferences(property) {
  var i, l;
  var value;

  // skipping `property` and property name tokens
  for (i = 2, l = property.length; i < l; i++) {
    value = property[i];

    if (value[0] != Token.PROPERTY_VALUE) {
      continue;
    }

    if (isVariableReference(value[1])) {
      return true;
    }
  }

  return false;
}

function isVariableReference(value) {
  return Match.VARIABLE_REFERENCE_PATTERN.test(value);
}

function isMultiplex(property) {
  var value;
  var i, l;

  for (i = 3, l = property.length; i < l; i++) {
    value = property[i];

    if (value[0] == Token.PROPERTY_VALUE && (value[1] == Marker.COMMA || value[1] == Marker.FORWARD_SLASH)) {
      return true;
    }
  }

  return false;
}

function hackFrom(property) {
  var match = false;
  var name = property[1][1];
  var lastValue = property[property.length - 1];

  if (name[0] == Match.UNDERSCORE) {
    match = [Hack.UNDERSCORE];
  } else if (name[0] == Match.ASTERISK) {
    match = [Hack.ASTERISK];
  } else if (lastValue[1][0] == Match.BANG && !lastValue[1].match(Match.IMPORTANT_WORD_PATTERN)) {
    match = [Hack.BANG];
  } else if (lastValue[1].indexOf(Match.BANG) > 0 && !lastValue[1].match(Match.IMPORTANT_WORD_PATTERN) && Match.BANG_SUFFIX_PATTERN.test(lastValue[1])) {
    match = [Hack.BANG];
  } else if (lastValue[1].indexOf(Match.BACKSLASH) > 0 && lastValue[1].indexOf(Match.BACKSLASH) == lastValue[1].length - Match.BACKSLASH.length - 1) {
    match = [Hack.BACKSLASH, lastValue[1].substring(lastValue[1].indexOf(Match.BACKSLASH) + 1)];
  } else if (lastValue[1].indexOf(Match.BACKSLASH) === 0 && lastValue[1].length == 2) {
    match = [Hack.BACKSLASH, lastValue[1].substring(1)];
  }

  return match;
}

function isImportant(property) {
  if (property.length < 3)
    return false;

  var lastValue = property[property.length - 1];
  if (Match.IMPORTANT_TOKEN_PATTERN.test(lastValue[1])) {
    return true;
  } else if (Match.IMPORTANT_WORD_PATTERN.test(lastValue[1]) && Match.SUFFIX_BANG_PATTERN.test(property[property.length - 2][1])) {
    return true;
  }

  return false;
}

function stripImportant(property) {
  var lastValue = property[property.length - 1];
  var oneButLastValue = property[property.length - 2];

  if (Match.IMPORTANT_TOKEN_PATTERN.test(lastValue[1])) {
    lastValue[1] = lastValue[1].replace(Match.IMPORTANT_TOKEN_PATTERN, '');
  } else {
    lastValue[1] = lastValue[1].replace(Match.IMPORTANT_WORD_PATTERN, '');
    oneButLastValue[1] = oneButLastValue[1].replace(Match.SUFFIX_BANG_PATTERN, '');
  }

  if (lastValue[1].length === 0) {
    property.pop();
  }

  if (oneButLastValue[1].length === 0) {
    property.pop();
  }
}

function stripPrefixHack(property) {
  property[1][1] = property[1][1].substring(1);
}

function stripSuffixHack(property, hackFrom) {
  var lastValue = property[property.length - 1];
  lastValue[1] = lastValue[1]
    .substring(0, lastValue[1].indexOf(hackFrom[0] == Hack.BACKSLASH ? Match.BACKSLASH : Match.BANG))
    .trim();

  if (lastValue[1].length === 0) {
    property.pop();
  }
}

function wrapSingle(property) {
  var importantProperty = isImportant(property);
  if (importantProperty) {
    stripImportant(property);
  }

  var whichHack = hackFrom(property);
  if (whichHack[0] == Hack.ASTERISK || whichHack[0] == Hack.UNDERSCORE) {
    stripPrefixHack(property);
  } else if (whichHack[0] == Hack.BACKSLASH || whichHack[0] == Hack.BANG) {
    stripSuffixHack(property, whichHack);
  }

  return {
    block: property[2] && property[2][0] == Token.PROPERTY_BLOCK,
    components: [],
    dirty: false,
    hack: whichHack,
    important: importantProperty,
    name: property[1][1],
    multiplex: property.length > 3 ? isMultiplex(property) : false,
    position: 0,
    shorthand: false,
    unused: false,
    value: property.slice(2)
  };
}

module.exports = {
  all: wrapAll,
  single: wrapSingle
};

redpajama_set_name: RedPajamaGithub


text:
"use strict";

/**
 * @ngdoc function
 * @name myTestApp.controller:BootstrapController
 * @description
 * # BootstrapController
 * Controller of the myTestApp
 */
angular
  .module("myTestApp")
  .controller("BootstrapController", function($scope) {
    // Yeoman part (for tests)
    $scope.awesomeThings = [
      "HTML5 Boilerplate",
      "Bootstrap",
      "AngularJS",
      "Karma",
    ];
  });


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <title> ASWSII </title>
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" media="screen" href="css/font-awesome.min.css">

    <link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-production-plugins.min.css">
    <link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-production.min.css">
    <link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-skins.min.css">

    <link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-rtl.min.css">

    <link rel="stylesheet" type="text/css" href="css/ariadna.css" />

    <link rel="shortcut icon" href="img/favicon/favicon.ico" type="image/x-icon">
    <link rel="icon" href="img/favicon/favicon.ico" type="image/x-icon">

    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,700">

    <link rel="apple-touch-icon" href="img/splash/sptouch-icon-iphone.png">
    <link rel="apple-touch-icon" sizes="76x76" href="img/splash/touch-icon-ipad.png">
    <link rel="apple-touch-icon" sizes="120x120" href="img/splash/touch-icon-iphone-retina.png">
    <link rel="apple-touch-icon" sizes="152x152" href="img/splash/touch-icon-ipad-retina.png">

    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="apple-touch-startup-image" href="img/splash/ipad-landscape.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)">
    <link rel="apple-touch-startup-image" href="img/splash/ipad-portrait.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)">
    <link rel="apple-touch-startup-image" href="img/splash/iphone.png" media="screen and (max-device-width: 320px)">

ASWSII

                       ES

                             English (US)

                             Español (España)

                         INICIO

                         ADMINISTRACIÓN

                                 Grupos Usuarios

                                 Usuarios

                                 Titulares

                                 Emisores

                         GESTION

                                 Facturas emitidas

                                 Facturas recibidas

                         GESTION

                                 Facturas emitidas

                                 Facturas recibidas

                         Util

                                 Util

Grupo usuarios

                         Grupo usuarios

 Panel

                                <form id="grupoUsuario-form" class="smart-form">
                                    <fieldset>

                                                Nombre:

                                                    <input id="txtNombre" name="txtNombre" data-bind="value: nombre">

                                    </fieldset>
                                    <fieldset>

                                            <button id="btnSalir" data-i18n="[title]salir" class="btn btn-warning btn-circle btn-lg">

                                            </button>
                                            <button id="btnAceptar" data-i18n="[title]aceptar" class="btn btn-success btn-circle btn-lg">

                                            </button>

                                    </fieldset>
                                </form>

                ASWSII NO VERSION  - Aplicación general © Ariadna Software S.L. 2017-2018


text:
package stmt

const (
	WorkflowStatements = ``

	// WorkflowSummary returns a summary of the current workflow
	// status distribution in the system
	WorkflowSummary = `
SELECT scic.status,
       count(1)
FROM   soma.check_instances sci
JOIN   soma.check_instance_configurations scic
  ON   sci.check_instance_id = scic.check_instance_id
WHERE  NOT sci.deleted
GROUP  BY scic.status;`

	// WorkflowList returns information about check instance
	// configurations in a specific workflow state
	WorkflowList = `
SELECT sci.check_instance_id,
       sc.check_id,
       sc.repository_id,
       sc.configuration_id,
       scic.check_instance_config_id,
       scic.version,
       scic.status,
       scic.created,
       scic.activated_at,
       scic.deprovisioned_at,
       scic.status_last_updated_at,
       scic.notified_at,
	   (sc.object_id = sc.source_object_id)::boolean
FROM   soma.check_instances sci
JOIN   soma.checks sc
  ON   sci.check_id = sc.check_id
JOIN   soma.check_instance_configurations scic
  ON   sci.check_instance_id = scic.check_instance_id
WHERE  NOT sci.deleted
  AND  scic.status = $1::varchar;`

	// Reset rollout status for retry of check instance
	// configuration rollout
	WorkflowRetry = `
UPDATE soma.check_instance_configurations scic
SET    status = (CASE status
                 WHEN 'rollout_failed'     THEN 'awaiting_rollout'
                 WHEN 'deprovision_failed' THEN 'awaiting_deprovision'
                 END),
       next_status = (CASE status
                      WHEN 'rollout_failed'     THEN 'rollout_in_progress'
                      WHEN 'deprovision_failed' THEN 'deprovision_in_progress'
                      END)
FROM   soma.check_instances sci
WHERE  sci.current_instance_config_id = scic.check_instance_config_id
  AND  scic.status IN ( 'rollout_failed', 'deprovision_failed' )
  AND  sci.check_instance_id = $1::uuid;`

	// Set update available flag for check instance
	WorkflowUpdateAvailable = `
UPDATE soma.check_instances
SET    update_available = 'true'::boolean
WHERE  check_instance_id = $1::uuid;`

	// Hard-set rollout status for check instance configuration
	WorkflowSet = `
UPDATE soma.check_instance_configurations
SET    status = $2::varchar,
       next_status = $3::varchar
WHERE  check_instance_config_id = $1::uuid;`
)

func init() {
	m[WorkflowList] = `WorkflowList`
	m[WorkflowRetry] = `WorkflowRetry`
	m[WorkflowSet] = `WorkflowSet`
	m[WorkflowSummary] = `WorkflowSummary`
	m[WorkflowUpdateAvailable] = `WorkflowUpdateAvailable`
}

// vim: ts=4 sw=4 sts=4 noet fenc=utf-8 ffs=unix


text:
require 'spec_helper'

describe "Entrada" do
  before :each do
    @libro = Referencia::Entrada.new(["Dave Thomas", "Andy Hunt", "Chad Fowler"],"Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide", "(The Facets of Ruby)", "Pragmatic Bookshelf", "4 edition", "(July 7, 2013)", ["ISBN-13: 978-1937785499","ISBN-10: 1937785491"])
  end

  it 'has a version number' do
    expect(Referencia::VERSION).not_to be nil
  end

  it "Existe un método para obtener el listado de autores" do
    expect(@libro.getautores).to eq(["Dave Thomas", "Andy Hunt", "Chad Fowler"])
  end

  it "Existe un método para obtener titulo" do
    expect(@libro.gettitulo).to eq("Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide")
  end

  it "Existe un método para obtener serie" do
    expect(@libro.getserie).to eq("(The Facets of Ruby)")
  end

  it "Existe un método para obtener una editorial" do
    expect(@libro.geteditorial).to eq("Pragmatic Bookshelf")
  end

  it "Existe un método para obtener un número de edición" do
    expect(@libro.getnumedicion).to eq("4 edition")
  end

  it "Existe un método para obtener uno más números ISBN" do
      expect(@libro.getisbn).to eq(["ISBN-13: 978-1937785499","ISBN-10: 1937785491"])
  end

  it 'Existe un método para obtener la referencia formateada' do
    expect(@libro.formateada).to eq("Dave Thomas, Andy Hunt, Chad Fowler \n Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide \n (The Facets of Ruby) \n Pragmatic Bookshelf \n 4 edition \n (July 7, 2013) \n ISBN-13: 978-1937785499, ISBN-10: 1937785491")
 end

end

describe "Libro" do
  before :each do
    @libro2 = Referencia::Libro.new(["Dave Thomas", "Andy Hunt", "Chad Fowler"],"Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide", "(The Facets of Ruby)", "Pragmatic Bookshelf", "4 edition", "(July 7, 2013)", ["ISBN-13: 978-1937785499","ISBN-10: 1937785491"])
  end

  it "Es un libro" do
		    expect(@libro2.is_a?Referencia::Libro).to eq true
		end

		it "Es subclase de Referencia" do
		    expect(@libro2.is_a?Referencia::Entrada).to eq true
		end

		it "Es un Object" do
		    expect(@libro2.is_a?Object).to eq true
		end

	    it "Es subclase de BasicObject" do
		    expect(@libro2.is_a?BasicObject).to eq true
		end
        it "Es una instancia de libro" do
          expect(@libro2.instance_of?(Referencia::Libro)).to eq true
        end

          it "Es una instancia de entrada" do
          expect(@libro2.instance_of?(Referencia::Entrada)).to eq false
        end
end

describe "Publicacion" do
  before :each do
    @libro2 = Referencia::Publicacion.new(["Dave Thomas", "Andy Hunt", "Chad Fowler"],"Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide", "(The Facets of Ruby)", "Pragmatic Bookshelf", "4 edition", "(July 7, 2013)", ["ISBN-13: 978-1937785499","ISBN-10: 1937785491"],"http://noexiste.com/")
  end

  it "Es un libro" do
		    expect(@libro2.is_a?Referencia::Publicacion).to eq true
		end

		it "Es subclase de Referencia" do
		    expect(@libro2.is_a?Referencia::Entrada).to eq true
		end

		it "Es un Object" do
		    expect(@libro2.is_a?Object).to eq true
		end

	    it "Es subclase de BasicObject" do
		    expect(@libro2.is_a?BasicObject).to eq true
		end
        it "Es una instancia de libro" do
          expect(@libro2.instance_of?(Referencia::Publicacion)).to eq true
        end

          it "Es una instancia de entrada" do
          expect(@libro2.instance_of?(Referencia::Entrada)).to eq false
        end
end


text:
/**
 * World of Warcraft Character API.
 */

module.exports = function(battlenet) {
  'use strict';

  var character = function(params, config, callback) {
    params.path = '/wow/character/' + params.realm + '/' + params.name;
    config.qs = {
      fields: params.fields.toString()
    };
    battlenet.fetch(params, config, callback);
  };

  return {

    profile: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = [];
      character(args.params, args.config, args.callback);
    },

    achievements: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['achievements'];
      character(args.params, args.config, args.callback);
    },

    appearance: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['appearance'];
      character(args.params, args.config, args.callback);
    },

    feed: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['feed'];
      character(args.params, args.config, args.callback);
    },

    guild: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['guild'];
      character(args.params, args.config, args.callback);
    },

    hunterPets: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['hunterPets'];
      character(args.params, args.config, args.callback);
    },

    items: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['items'];
      character(args.params, args.config, args.callback);
    },

    mounts: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['mounts'];
      character(args.params, args.config, args.callback);
    },

    pets: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['pets'];
      character(args.params, args.config, args.callback);
    },

    petSlots: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['petSlots'];
      character(args.params, args.config, args.callback);
    },

    progression: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['progression'];
      character(args.params, args.config, args.callback);
    },

    pvp: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['pvp'];
      character(args.params, args.config, args.callback);
    },

    quests: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['quests'];
      character(args.params, args.config, args.callback);
    },

    reputation: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['reputation'];
      character(args.params, args.config, args.callback);
    },

    stats: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['stats'];
      character(args.params, args.config, args.callback);
    },

    statistics: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['statistics'];
      character(args.params, args.config, args.callback);
    },

    talents: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['talents'];
      character(args.params, args.config, args.callback);
    },

    titles: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['titles'];
      character(args.params, args.config, args.callback);
    },

    audit: function() {
      var args = battlenet.args.apply(null, arguments);
      args.params.fields = ['audit'];
      character(args.params, args.config, args.callback);
    },

    aggregate: function() {
      var args = battlenet.args.apply(null, arguments);
      character(args.params, args.config, args.callback);
    }

  };

};


text:
from application import db
from application.helper.jwt.jwt_helper import (jwt_encode)

class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    email = db.Column(db.String(200))
    password = db.Column(db.String(500))
    name = db.Column(db.String(300))
    nick_name = db.Column(db.String(300))
    profile_image = db.Column(db.String(1024))
    profile_image_id = db.Column(db.Integer)
    gender = db.Column(db.Enum('MALE', 'FEMALE'), default='MALE')
    def get_token_string(self):
        data = {
            "email" : self.email,
            "id" : self.id
        }
        return jwt_encode(data)


text:
'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _alaska = require('alaska');

var _alaska2 = _interopRequireDefault(_alaska);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = async function list(ctx) {
  await ctx.checkAbility('admin');
  let serviceId = ctx.state.service || ctx.query._service;
  let modelName = ctx.state.model || ctx.query._model;
  let id = ctx.state.id || decodeURIComponent(ctx.query._id);
  if (!serviceId || !modelName || !id) {
    _alaska2.default.error('Invalid parameters');
  }
  if (!_alaska2.default.hasService(serviceId)) {
    _alaska2.default.error('Invalid parameters');
  }
  let s = _alaska2.default.getService(serviceId);
  let Model = s.getModel(modelName);
  let ability = `admin.${Model.key}.read`;
  await ctx.checkAbility(ability);

  let record = await Model.findById(id);
  if (!record) {
    _alaska2.default.error('Record not found');
  }
  ctx.body = record;
};


text:
var Router = require('director').Router;
var Regular = require("regularjs");
var book = require('./controller/book.js');

var currentView;
var recycle = document.createElement('div');
function show(controller) {
	return function() {
		var args = [].slice.call(arguments);
		args.push(function cb(view) {
			if(currentView){
				currentView.$inject(recycle);
			}
			currentView = view;
			currentView.$inject('#view');
		});
		controller.apply(null, args);
	};
}

var routes = {
	'/books': show(book.list),
	'/books/:bookId': show(book.get)
};

var router = Router(routes);

router.init();


text:
package main

import . ".."

func main() {
	d := NewDict(16)
	d.Insert(NewThing("Jack", 21).Hashcode())
	d.Insert(NewThing("Tom", 12).Hashcode())
	d.Insert(NewThing("Chuck", 23).Hashcode())
	d.Insert(NewThing("Tim", 18).Hashcode())
	d.Insert(NewThing("Peter", 46).Hashcode())
	d.Insert(NewThing("Allen", 34).Hashcode())
	d.Insert(NewThing("Bob", 32).Hashcode())
	d.Insert(NewThing("Lily", 27).Hashcode())
	d.Insert(NewThing("Steven", 19).Hashcode())
	d.Print()
}


text:
from django.conf.urls import url
from django.contrib import admin
from django.db import models
from django.utils.translation import ugettext_lazy

from apps.costs.admin_views import costs

class DummyModel(models.Model):

    class Meta:
        verbose_name = ugettext_lazy('Costs')
        verbose_name_plural = ugettext_lazy('Costs')
        app_label = 'costs'

class DummyModelAdmin(admin.ModelAdmin):
    model = DummyModel

    def get_urls(self):
        view_name = '{}_{}_changelist'.format(
            self.model._meta.app_label, self.model._meta.model_name)
        return [
            url(r'costs/$', costs, name=view_name),
            url(r'costs/(\d+)/(\d+)', costs, name=view_name),
        ]

admin.site.register(DummyModel, DummyModelAdmin)


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

<title>R.color</title>
<meta name="date" content="2016-04-07">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Skip navigation links

Package

Class

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method

com.referralsaasquatch.sampleapp

Class R.color

java.lang.Object

com.referralsaasquatch.sampleapp.R.color

Enclosing class:

R

public static final class R.color
extends java.lang.Object

Field Summary

Fields

Modifier and Type
Field and Description

static int
abc_background_cache_hint_selector_material_dark

static int
abc_background_cache_hint_selector_material_light

static int
abc_color_highlight_material

static int
abc_input_method_navigation_guard

static int
abc_primary_text_disable_only_material_dark

static int
abc_primary_text_disable_only_material_light

static int
abc_primary_text_material_dark

static int
abc_primary_text_material_light

static int
abc_search_url_text

static int
abc_search_url_text_normal

static int
abc_search_url_text_pressed

static int
abc_search_url_text_selected

static int
abc_secondary_text_material_dark

static int
abc_secondary_text_material_light

static int
accent_material_dark

static int
accent_material_light

static int
background_floating_material_dark

static int
background_floating_material_light

static int
background_material_dark

static int
background_material_light

static int
bright_foreground_disabled_material_dark

static int
bright_foreground_disabled_material_light

static int
bright_foreground_inverse_material_dark

static int
bright_foreground_inverse_material_light

static int
bright_foreground_material_dark

static int
bright_foreground_material_light

static int
button_material_dark

static int
button_material_light

static int
colorAccent

static int
colorPrimary

static int
colorPrimaryDark

static int
dim_foreground_disabled_material_dark

static int
dim_foreground_disabled_material_light

static int
dim_foreground_material_dark

static int
dim_foreground_material_light

static int
foreground_material_dark

static int
foreground_material_light

static int
highlighted_text_material_dark

static int
highlighted_text_material_light

static int
hint_foreground_material_dark

static int
hint_foreground_material_light

static int
material_blue_grey_800

static int
material_blue_grey_900

static int
material_blue_grey_950

static int
material_deep_teal_200

static int
material_deep_teal_500

static int
material_grey_100

static int
material_grey_300

static int
material_grey_50

static int
material_grey_600

static int
material_grey_800

static int
material_grey_850

static int
material_grey_900

static int
primary_dark_material_dark

static int
primary_dark_material_light

static int
primary_material_dark

static int
primary_material_light

static int
primary_text_default_material_dark

static int
primary_text_default_material_light

static int
primary_text_disabled_material_dark

static int
primary_text_disabled_material_light

static int
ripple_material_dark

static int
ripple_material_light

static int
secondary_text_default_material_dark

static int
secondary_text_default_material_light

static int
secondary_text_disabled_material_dark

static int
secondary_text_disabled_material_light

static int
switch_thumb_disabled_material_dark

static int
switch_thumb_disabled_material_light

static int
switch_thumb_material_dark

static int
switch_thumb_material_light

static int
switch_thumb_normal_material_dark

static int
switch_thumb_normal_material_light

Constructor Summary

Constructors

Constructor and Description

color()

Method Summary

Methods inherited from class java.lang.Object

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

Field Detail

abc_background_cache_hint_selector_material_dark

public static final int abc_background_cache_hint_selector_material_dark

See Also:

Constant Field Values

abc_background_cache_hint_selector_material_light

public static final int abc_background_cache_hint_selector_material_light

See Also:

Constant Field Values

abc_color_highlight_material

public static final int abc_color_highlight_material

See Also:

Constant Field Values

abc_input_method_navigation_guard

public static final int abc_input_method_navigation_guard

See Also:

Constant Field Values

abc_primary_text_disable_only_material_dark

public static final int abc_primary_text_disable_only_material_dark

See Also:

Constant Field Values

abc_primary_text_disable_only_material_light

public static final int abc_primary_text_disable_only_material_light

See Also:

Constant Field Values

abc_primary_text_material_dark

public static final int abc_primary_text_material_dark

See Also:

Constant Field Values

abc_primary_text_material_light

public static final int abc_primary_text_material_light

See Also:

Constant Field Values

abc_search_url_text

public static final int abc_search_url_text

See Also:

Constant Field Values

abc_search_url_text_normal

public static final int abc_search_url_text_normal

See Also:

Constant Field Values

abc_search_url_text_pressed

public static final int abc_search_url_text_pressed

See Also:

Constant Field Values

abc_search_url_text_selected

public static final int abc_search_url_text_selected

See Also:

Constant Field Values

abc_secondary_text_material_dark

public static final int abc_secondary_text_material_dark

See Also:

Constant Field Values

abc_secondary_text_material_light

public static final int abc_secondary_text_material_light

See Also:

Constant Field Values

accent_material_dark

public static final int accent_material_dark

See Also:

Constant Field Values

accent_material_light

public static final int accent_material_light

See Also:

Constant Field Values

background_floating_material_dark

public static final int background_floating_material_dark

See Also:

Constant Field Values

background_floating_material_light

public static final int background_floating_material_light

See Also:

Constant Field Values

background_material_dark

public static final int background_material_dark

See Also:

Constant Field Values

background_material_light

public static final int background_material_light

See Also:

Constant Field Values

bright_foreground_disabled_material_dark

public static final int bright_foreground_disabled_material_dark

See Also:

Constant Field Values

bright_foreground_disabled_material_light

public static final int bright_foreground_disabled_material_light

See Also:

Constant Field Values

bright_foreground_inverse_material_dark

public static final int bright_foreground_inverse_material_dark

See Also:

Constant Field Values

bright_foreground_inverse_material_light

public static final int bright_foreground_inverse_material_light

See Also:

Constant Field Values

bright_foreground_material_dark

public static final int bright_foreground_material_dark

See Also:

Constant Field Values

bright_foreground_material_light

public static final int bright_foreground_material_light

See Also:

Constant Field Values

button_material_dark

public static final int button_material_dark

See Also:

Constant Field Values

button_material_light

public static final int button_material_light

See Also:

Constant Field Values

colorAccent

public static final int colorAccent

See Also:

Constant Field Values

colorPrimary

public static final int colorPrimary

See Also:

Constant Field Values

colorPrimaryDark

public static final int colorPrimaryDark

See Also:

Constant Field Values

dim_foreground_disabled_material_dark

public static final int dim_foreground_disabled_material_dark

See Also:

Constant Field Values

dim_foreground_disabled_material_light

public static final int dim_foreground_disabled_material_light

See Also:

Constant Field Values

dim_foreground_material_dark

public static final int dim_foreground_material_dark

See Also:

Constant Field Values

dim_foreground_material_light

public static final int dim_foreground_material_light

See Also:

Constant Field Values

foreground_material_dark

public static final int foreground_material_dark

See Also:

Constant Field Values

foreground_material_light

public static final int foreground_material_light

See Also:

Constant Field Values

highlighted_text_material_dark

public static final int highlighted_text_material_dark

See Also:

Constant Field Values

highlighted_text_material_light

public static final int highlighted_text_material_light

See Also:

Constant Field Values

hint_foreground_material_dark

public static final int hint_foreground_material_dark

See Also:

Constant Field Values

hint_foreground_material_light

public static final int hint_foreground_material_light

See Also:

Constant Field Values

material_blue_grey_800

public static final int material_blue_grey_800

See Also:

Constant Field Values

material_blue_grey_900

public static final int material_blue_grey_900

See Also:

Constant Field Values

material_blue_grey_950

public static final int material_blue_grey_950

See Also:

Constant Field Values

material_deep_teal_200

public static final int material_deep_teal_200

See Also:

Constant Field Values

material_deep_teal_500

public static final int material_deep_teal_500

See Also:

Constant Field Values

material_grey_100

public static final int material_grey_100

See Also:

Constant Field Values

material_grey_300

public static final int material_grey_300

See Also:

Constant Field Values

material_grey_50

public static final int material_grey_50

See Also:

Constant Field Values

material_grey_600

public static final int material_grey_600

See Also:

Constant Field Values

material_grey_800

public static final int material_grey_800

See Also:

Constant Field Values

material_grey_850

public static final int material_grey_850

See Also:

Constant Field Values

material_grey_900

public static final int material_grey_900

See Also:

Constant Field Values

primary_dark_material_dark

public static final int primary_dark_material_dark

See Also:

Constant Field Values

primary_dark_material_light

public static final int primary_dark_material_light

See Also:

Constant Field Values

primary_material_dark

public static final int primary_material_dark

See Also:

Constant Field Values

primary_material_light

public static final int primary_material_light

See Also:

Constant Field Values

primary_text_default_material_dark

public static final int primary_text_default_material_dark

See Also:

Constant Field Values

primary_text_default_material_light

public static final int primary_text_default_material_light

See Also:

Constant Field Values

primary_text_disabled_material_dark

public static final int primary_text_disabled_material_dark

See Also:

Constant Field Values

primary_text_disabled_material_light

public static final int primary_text_disabled_material_light

See Also:

Constant Field Values

ripple_material_dark

public static final int ripple_material_dark

See Also:

Constant Field Values

ripple_material_light

public static final int ripple_material_light

See Also:

Constant Field Values

secondary_text_default_material_dark

public static final int secondary_text_default_material_dark

See Also:

Constant Field Values

secondary_text_default_material_light

public static final int secondary_text_default_material_light

See Also:

Constant Field Values

secondary_text_disabled_material_dark

public static final int secondary_text_disabled_material_dark

See Also:

Constant Field Values

secondary_text_disabled_material_light

public static final int secondary_text_disabled_material_light

See Also:

Constant Field Values

switch_thumb_disabled_material_dark

public static final int switch_thumb_disabled_material_dark

See Also:

Constant Field Values

switch_thumb_disabled_material_light

public static final int switch_thumb_disabled_material_light

See Also:

Constant Field Values

switch_thumb_material_dark

public static final int switch_thumb_material_dark

See Also:

Constant Field Values

switch_thumb_material_light

public static final int switch_thumb_material_light

See Also:

Constant Field Values

switch_thumb_normal_material_dark

public static final int switch_thumb_normal_material_dark

See Also:

Constant Field Values

switch_thumb_normal_material_light

public static final int switch_thumb_normal_material_light

See Also:

Constant Field Values

Constructor Detail

color

public color()

Skip navigation links

Package

Class

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method


text:
/*===
5
===*/

// U+180E is no longer white space in Unicode, so trim() should not remove it.
print('\u180efoo\u180e'.trim().length);


text:
package com.imu.coursenet.action.teacher;

import java.util.List;

import com.imu.coursenet.action.base.ManagerBaseAction;
import com.imu.coursenet.domain.CourseWork;

public class ListStudentCourseWorkAction extends ManagerBaseAction {
	private List<CourseWork> courseWorks;
	private Integer courseWorkRequirementId;
	private Integer courseWorkCounts;

	public Integer getCourseWorkCounts() {
		return courseWorkCounts;
	}

	public void setCourseWorkCounts(Integer courseWorkCounts) {
		this.courseWorkCounts = courseWorkCounts;
	}

	public List<CourseWork> getCourseWorks() {
		return courseWorks;
	}

	public void setCourseWorks(List<CourseWork> courseWorks) {
		this.courseWorks = courseWorks;
	}

	public Integer getCourseWorkRequirementId() {
		return courseWorkRequirementId;
	}

	public void setCourseWorkRequirementId(Integer courseWorkRequirementId) {
		this.courseWorkRequirementId = courseWorkRequirementId;
	}

	@Override
	public String execute() throws Exception {
		courseWorks = courseWorkManager
				.listByCourseWorkRequirementId(courseWorkRequirementId);
		courseWorkCounts = courseWorks.size();
		return SUCCESS;
	}

}


text:
package net.dev123.oauth;

import static org.junit.Assert.assertNotNull;

import java.io.BufferedReader;
import java.io.InputStreamReader;

import net.dev123.commons.http.auth.OAuthAuthorizeHelper;
import net.dev123.commons.oauth.OAuthAccessToken;
import net.dev123.commons.oauth.OAuthRequestToken;
import net.dev123.commons.util.EncryptUtil;
import net.dev123.exception.LibException;
import net.dev123.mblog.Config;

import org.junit.Test;

public class OAuthAuthorizeHelperTest {

	@Test
	public void testXAuth() {
		OAuthAccessToken accessToken = null;
		try {
			OAuthAuthorizeHelper oauthHelper = new OAuthAuthorizeHelper(Config.currentProvider);
			oauthHelper.setConsumer("3105114937", "985e8f106a5db148d1a96abfabcd9043");
			accessToken = oauthHelper.retrieveOAuthAccessToken(Config.userName, Config.password);
			System.out.println(EncryptUtil.desEncrypt(accessToken.getToken(), Config.KEY_BYTES));
			System.out.println(EncryptUtil.desEncrypt(accessToken.getTokenSecret(), Config.KEY_BYTES));

		} catch (LibException e) {
			e.printStackTrace();
		}
		assertNotNull(accessToken);
	}

	@Test
	public void testOAuth() {
		OAuthAccessToken accessToken = null;
		try {
			OAuthAuthorizeHelper oauthHelper = new OAuthAuthorizeHelper(Config.currentProvider);
			OAuthRequestToken requestToken = oauthHelper.retrieveOAuthRequestToken();
			BareBonesBrowserLaunch.openURL(requestToken.getAuthorizationURL());
			String verifier = null;
			while (null == verifier || verifier.trim().length() == 0) {
				BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
				System.out.print("Please Enter verifier : ");
				verifier = br.readLine();
			}
			accessToken = oauthHelper.retrieveOAuthAccessToken(requestToken, verifier.trim());
			System.out.println(EncryptUtil.desEncrypt(accessToken.getToken(), Config.KEY_BYTES));
			System.out.println(EncryptUtil.desEncrypt(accessToken.getTokenSecret(), Config.KEY_BYTES));
		} catch (Exception e) {
			e.printStackTrace();
		}
		assertNotNull(accessToken);
	}

	@Test
	public void testSinaExchange() {

	}

}


text:
package org.myazure.weixin.constant;

import com.qq.weixin.mp.aes.WXBizMsgCrypt;
/**
 *
 * @author WangZhen
 *
 */
public class MyazureConstants {
	public static final String LOG_SPLIT_LINE = "========================MYAZURE====SPLIT====LINE========================";
	public static final String MYAZURE_WEIXIN_ADMIN_APPID="wx86c66f041e334ba4";
	public static final String MYAZURE_WEIXIN_ADMIN_APPSECRET="dbee2c24cc0dd3c8bb0805de2f4e4606";
	public static final String MYAZURE_WEIXIN_ADMIN_OPENID="o14wavxo7TN_zRBDD3c-mIigYR4U";

	public static String MYAZURE_SERVER_ID;
	public static String MYAZURE_APP_ID;
	public static String MYAZURE_APP_SECRET;
	public static String MYAZURE_ENCODE_TOKEN;
	public static String MYAZURE_ENCODE_KEY;
	public static String MYAZURE_APP_URL;
	public static String MYAZURE_COMPONENT_VERIFY_TICKET;
	public static String MYAZURE_COMPONENT_ACCESS_TOKEN;
	public static String MYAZURE_PRE_AUTH_CODE;
	public static WXBizMsgCrypt MYAZUZRE_WXBIZMSGCRYPT;

	public static final String ERR_OA_NOT_FOUNDED="OfficalAccountNotFound";

}


text:
<!DOCTYPE html>

<title>OffscreenCanvas test: 2d.shadow.enable.off.1</title>

2d.shadow.enable.off.1

Shadows are not drawn when only shadowColor is set


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

<title>TargetArea (CAP Library)</title>
<meta name="date" content="2014-11-22">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method

com.google.publicalerts.cap.edxl.types

Class TargetArea

java.lang.Object

com.google.publicalerts.cap.edxl.types.TargetArea

public class TargetArea
extends java.lang.Object

Bean to hold <targetArea> data from EDXL-DE feeds.

Constructor Summary

Constructors

Constructor and Description

TargetArea()

Method Summary

Methods

Modifier and Type
Method and Description

void
addCircleValue(java.lang.String value)

void
addCountryValue(java.lang.String value)

void
addLocCodeValue(java.lang.String value)

void
addPolygonValue(java.lang.String value)

void
addSubdivisionValue(java.lang.String value)

java.util.List<java.lang.String>
getCircle()

java.util.List<java.lang.String>
getCountry()

java.util.List<java.lang.String>
getLocCode()

java.util.List<java.lang.String>
getPolygon()

java.util.List<java.lang.String>
getSubdivision()

Methods inherited from class java.lang.Object

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

Constructor Detail

TargetArea

public TargetArea()

Method Detail

getCircle

public java.util.List<java.lang.String> getCircle()

addCircleValue

public void addCircleValue(java.lang.String value)

getPolygon

public java.util.List<java.lang.String> getPolygon()

addPolygonValue

public void addPolygonValue(java.lang.String value)

getCountry

public java.util.List<java.lang.String> getCountry()

addCountryValue

public void addCountryValue(java.lang.String value)

getSubdivision

public java.util.List<java.lang.String> getSubdivision()

addSubdivisionValue

public void addSubdivisionValue(java.lang.String value)

getLocCode

public java.util.List<java.lang.String> getLocCode()

addLocCodeValue

public void addLocCodeValue(java.lang.String value)

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method


text:
package repo

type TiddlerRepo interface {
	List() []Tiddler
	Get(key string) (Tiddler, bool)
	Put(tiddler Tiddler) (int, error)
	Remove(key string) error
}

type Tiddler struct {
	Title    string
	Meta     []byte
	Text     string
	Revision int
}


text:
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <title></title>
    <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js" type="text/javascript"></script>
    <script src="FunctionFile.js" type="text/javascript"></script>
</head>
<body>
<!-- NOTE: The body is empty on purpose. Since this is invoked via a button, there is no UI to render. -->
</body>
</html>