text:
<?php

namespace WhiteCube\Lingua;

class ComponentConverter extends Converter
{
    public function __toString()
    {
        return $this->original['full'];
    }

    public static function check($format)
    {
        if(!is_array($format)) $format = static::prepare($format);
        if($format['iso']) return true;
        return false;
    }

    public function parse()
    {
        $this->repository = $this->findInRepository();
        $this->fillNameBag('script', 'scripts');
        $this->fillNameBag('country', 'countries');
        $this->iso_639_1 = $this->getIsoValue('iso-639-1');
        $this->iso_639_2t = $this->getIsoValue('iso-639-2t');
        $this->iso_639_2b = $this->getIsoValue('iso-639-2b');
        $this->iso_639_3 = $this->getIsoValue('iso-639-3');
    }

    protected static function getScriptFromPregMatch($matches)
    {
        if(!isset($matches[2])) return;
        if(strlen($matches[2]) !== 4) return;
        return $matches[2];
    }

    protected static function getCountryFromPregMatch($matches)
    {
        if(isset($matches[3]) && strlen($matches[3])) return strtoupper($matches[3]);
    }

    protected function findInRepository()
    {
        if(!$this->original['iso']) return;
        if(strlen($this->original['iso']) === 3) {
            return LanguagesRepository::find('iso-639-3', $this->original['iso'])
                ?? LanguagesRepository::find('iso-639-2t', $this->original['iso'])
                ?? LanguagesRepository::find('iso-639-2b', $this->original['iso']);
        }
        return LanguagesRepository::find('iso-639-1', $this->original['iso']);
    }

    protected function fillNameBag($item, $key)
    {
        if(!$this->original[$item]) return;
        $this->$item->code = $this->original[$item];
        if(!$this->repository) return;
        $this->$item->name = $this->repository[$key][$this->$item->code] ?? null;
    }

    protected function getIsoValue($format)
    {
        if($this->repository && $this->repository[$format]){
            return $this->repository[$format];
        }
        $length = strlen($this->original['iso']);
        if($length === 2 && $format != 'iso-639-1') return '';
        if($length === 3 && $format == 'iso-639-1') return '';
        return $this->original['iso'];
    }
}

redpajama_set_name: RedPajamaGithub


text:
class MyMerge : public rocksdb::MergeOperator {
 public:
  bool FullMerge(const rocksdb::Slice& key,
                 const rocksdb::Slice* existing_value,
                 const std::deque<std::string>& operand_list,
                 std::string* new_value,
                 rocksdb::Logger* logger) const override {
    new_value->clear();
    if (existing_value != nullptr) {
      new_value->assign(existing_value->data(), existing_value->size());
    }
    for (const std::string& m : operand_list) {
      fprintf(stderr, "Merge(%s)\n", m.c_str());
      assert(m != "bad");  // the compaction filter filters out bad values
      new_value->assign(m);
    }
    return true;
  }

  const char* Name() const override { return "MyMerge"; }
};

class MyFilter : public rocksdb::CompactionFilter {
 public:
  bool Filter(int level, const rocksdb::Slice& key,
              const rocksdb::Slice& existing_value, std::string* new_value,
              bool* value_changed) const override {
    fprintf(stderr, "Filter(%s)\n", key.ToString().c_str());
    ++count_;
    assert(*value_changed == false);
    return false;
  }

  bool FilterMergeOperand(int level, const rocksdb::Slice& key,
                          const rocksdb::Slice& existing_value) const override {
    fprintf(stderr, "FilterMerge(%s)\n", key.ToString().c_str());
    ++merge_count_;
    return existing_value == "bad";
  }

  const char* Name() const override { return "MyFilter"; }

  mutable int count_ = 0;
  mutable int merge_count_ = 0;
};

int main() {
  rocksdb::DB* raw_db;
  rocksdb::Status status;

  MyFilter filter;

  system("rm -rf /tmp/rocksmergetest");
  rocksdb::Options options;
  options.create_if_missing = true;
  options.merge_operator.reset(new MyMerge);
  options.compaction_filter = &filter;
  status = rocksdb::DB::Open(options, "/tmp/rocksmergetest", &raw_db);
  assert(status.ok());
  std::unique_ptr<rocksdb::DB> db(raw_db);

  rocksdb::WriteOptions wopts;
  db->Merge(wopts, "0", "bad");  // This is filtered out
  db->Merge(wopts, "1", "data1");
  db->Merge(wopts, "1", "bad");
  db->Merge(wopts, "1", "data2");
  db->Merge(wopts, "1", "bad");
  db->Merge(wopts, "3", "data3");
  db->CompactRange(rocksdb::CompactRangeOptions(), nullptr, nullptr);
  fprintf(stderr, "filter.count_ = %d\n", filter.count_);
  assert(filter.count_ == 1);
  fprintf(stderr, "filter.merge_count_ = %d\n", filter.merge_count_);
  assert(filter.merge_count_ == 5);
}


text:
"use strict";

/**
 * Converts string where each char coded with passed number of bytes, to array of bytes
 * @param {string} str String that need to be converted
 * @param {number} [bytesPerChar=1] Encoding setting. Number of bytes per character.
 * For UTF8 - 1, for UTF16 - 2 and so on.
 * @returns {number[]} Array of bytes
 */
module.exports.stringToBytes = function(str, bytesPerChar = 1) {
	let bytes = [];
	for (let i = 0; i < str.length; i++) {
		let char = str.charCodeAt(i);
		let stack = [];
		for (let j = 0; j < bytesPerChar; j++) {
			let byte = char & 255;
			stack.push(byte);
			char = char >> 8;
		}
		while(stack.length !== 0) {
			bytes.push(stack.pop());
		}
	}
	return bytes;
};

/**
 * Converts bytes to string with given encoding
 * @param {number[]} bytes Array of bytes
 * @param {number} [bytesPerChar=1] Encoding setting. Number of bytes per character.
 * For UTF8 - 1, for UTF16 - 2 and so on.
 * @returns {string} string that was converted from bytes
 */
module.exports.bytesToString = function(bytes, bytesPerChar = 1) {
	let str = "";
	let iter = 0;
	let strLength = bytes.length / bytesPerChar;
	for (let i = 0; i < strLength; i++) {
		let charCode = 0;
		for (let j = 0; j < bytesPerChar; j++) {
			charCode = (charCode << 8) + bytes[iter];
			iter++;
		}
		str = str + String.fromCharCode(charCode);
	}
	return str;
};

/**
 * Detects number of bytes per char needed to code passed string.
 * Result can be used as param for bytesToString or stringToBytes
 * @param {string} str String that need to scan
 * @returns {number} number of bytes that needs to code each character
 */
module.exports.detectBytesPerChar = function(str) {
	let maxBytes = 0;
	for (let i = 0; i < str.length; i++) {
		let code = str.charCodeAt(i);
		let charLength = 1;
		while (code > 255) {
			code = code >> 8;
			charLength++;
		}
		maxBytes = Math.max(maxBytes, charLength);
	}
	return maxBytes;
};


text:
from django.contrib import admin
from .models import Movie, Projection, Reservation

# Register your models here.

admin.site.register(Movie)
admin.site.register(Projection)
admin.site.register(Reservation)


text:
package com.example.a77528.coolweather.gson;

import com.google.gson.annotations.SerializedName;

/**
 * Created by 77528 on 2017/8/23.
 */

public class Suggestion {
    @SerializedName("comf")
    public Comfort comfort;
    @SerializedName("cw")
    public CarWash carWash;

    public Sport sport;

    public class Comfort{
        @SerializedName("txt")
        public String info;
    }
    public  class  CarWash{
        @SerializedName("txt")
        public String info;
    }
    public  class Sport{
        @SerializedName("txt")
        public String info;
    }

}


text:
<?php

namespace Ociosos\ComunBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

class OrganizacionType extends AbstractType
{
        /**
     * @param FormBuilderInterface $builder
     * @param array $options
     */
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('nombre')
        ;
    }

    /**
     * @param OptionsResolverInterface $resolver
     */
    public function setDefaultOptions(OptionsResolverInterface $resolver)
    {
        $resolver->setDefaults(array(
            'data_class' => 'Ociosos\ComunBundle\Entity\Organizacion'
        ));
    }

    /**
     * @return string
     */
    public function getName()
    {
        return 'ociosos_comunbundle_organizacion';
    }
}


text:
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"

"""
Verify that Scanners are called just once.
"""

import TestSCons

test = TestSCons.TestSCons()

test.write('SConstruct', r"""
import os.path

def scan(node, env, envkey, arg):
    print 'XScanner: node =', os.path.split(str(node))[1]
    return []

def exists_check(node, env):
    return os.path.exists(str(node))

XScanner = Scanner(name = 'XScanner',
                   function = scan,
                   argument = None,
                   scan_check = exists_check,
                   skeys = ['.x'])

def echo(env, target, source):
    t = os.path.split(str(target[0]))[1]
    s = os.path.split(str(source[0]))[1]
    print 'create %s from %s' % (t, s)

Echo = Builder(action = Action(echo, None),
               src_suffix = '.x',
               suffix = '.x')

env = Environment(BUILDERS = {'Echo':Echo}, SCANNERS = [XScanner])

f1 = env.Echo(source=['file1'], target=['file2'])
f2 = env.Echo(source=['file2'], target=['file3'])
f3 = env.Echo(source=['file3'], target=['file4'])
""")

test.write('file1.x', 'file1.x\n')

test.run(stdout = test.wrap_stdout("""\
XScanner: node = file1.x
create file2.x from file1.x
create file3.x from file2.x
create file4.x from file3.x
"""))

test.write('file2.x', 'file2.x\n')

test.run(stdout = test.wrap_stdout("""\
XScanner: node = file1.x
XScanner: node = file2.x
create file3.x from file2.x
create file4.x from file3.x
"""))

test.write('file3.x', 'file3.x\n')

test.run(stdout = test.wrap_stdout("""\
XScanner: node = file1.x
XScanner: node = file2.x
XScanner: node = file3.x
create file4.x from file3.x
"""))

test.pass_test()

# Local Variables:
# tab-width:4
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=4 shiftwidth=4:


text:
package com.sathish.simplewebservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@EnableDiscoveryClient
@RestController
public class SimpleWebserviceApplication {

	@RequestMapping("/greetings")
	public Greetings sayHello() {
		Greetings greeting = new Greetings();
		greeting.setMessage("Hello World!");
		return greeting;
	}
    public static void main(String[] args) {
        SpringApplication.run(SimpleWebserviceApplication.class, args);
    }

    static class Greetings {

    	public Greetings() {
			super();
		}

		private String  message;

		public String getMessage() {
			return message;
		}

		public void setMessage(String message) {
			this.message = message;
		}
    }

}


text:
goog.provide('Blockly.Msg.lt_lt');
goog.require('Blockly.Msg');
Blockly.Msg.ACTUAL = "tikrasis";
Blockly.Msg.ADD = "Pridėti";
Blockly.Msg.ADD_COMMENT = "Pridėkite komentarą";
Blockly.Msg.ADD_PARAMETER = "Pridėkite duomenų laukelį";
Blockly.Msg.CHANGE_VALUE_TITLE = "Pakeisti reikšmę:";
Blockly.Msg.COLLAPSE_ALL = "Suskleisti blokus";
Blockly.Msg.COLLAPSE_BLOCK = "Suskleisti bloką";
Blockly.Msg.COLOUR_BLEND_COLOUR1 = "spalva 1";
Blockly.Msg.COLOUR_BLEND_COLOUR2 = "spalva 2";
Blockly.Msg.COLOUR_BLEND_HELPURL = "http://meyerweb.com/eric/tools/color-blend/";
Blockly.Msg.COLOUR_BLEND_RATIO = "santykis";
Blockly.Msg.COLOUR_BLEND_TITLE = "sumaišyti";
Blockly.Msg.COLOUR_BLEND_TOOLTIP = "Sumaišo dvi spalvas pagal duotą santykį (0.0 - 1.0).";
Blockly.Msg.COLOUR_PICKER_HELPURL = "http://en.wikipedia.org/wiki/Color";
Blockly.Msg.COLOUR_PICKER_TOOLTIP = "Pasirinkti spalvą iš paletės.";
Blockly.Msg.COLOUR_RANDOM_HELPURL = "http://randomcolour.com";
Blockly.Msg.COLOUR_RANDOM_TITLE = "Atsitiktinė spalva";
Blockly.Msg.COLOUR_RANDOM_TOOLTIP = "Pasirinkti atsitiktinę spalvą.";
Blockly.Msg.COLOUR_RGB_BLUE = "mėlyna";
Blockly.Msg.COLOUR_RGB_GREEN = "žalia spalva";
Blockly.Msg.COLOUR_RGB_HELPURL = "http://www.december.com/html/spec/colorper.html";
Blockly.Msg.COLOUR_RGB_RED = "raudona spalva";
Blockly.Msg.COLOUR_RGB_TITLE = "spalvinti su";
Blockly.Msg.COLOUR_RGB_TOOLTIP = "Sukurk spalvą su tam tikru raudonos, žalios ir mėlynos spalvų kiekiu. Visos vertės turi būti nuo 0 iki 100.";
Blockly.Msg.CONTRACT_EDITOR_HEADER = "Design Recipe";
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = "https://code.google.com/p/blockly/wiki/Loops#Loop_Termination_Blocks";
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = "nutraukti ciklą";
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = "pratęsti kitą ciklo pakartojimą";
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = "Nutraukti kartojimą.";
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = "Praleisti likusias komandas šįkart, ir toliau vykdyti ciklą.";
Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = "Įspėjimas: Šis blokas gali būti panaudotas tik ciklo/kartojimo ribose.";
Blockly.Msg.CONTROLS_FOREACH_HELPURL = "https://code.google.com/p/blockly/wiki/Loops#for_each";
Blockly.Msg.CONTROLS_FOREACH_INPUT_INLIST = "sąraše";
Blockly.Msg.CONTROLS_FOREACH_INPUT_INLIST_TAIL = "";
Blockly.Msg.CONTROLS_FOREACH_INPUT_ITEM = "kartok su kiekvienu";
Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = "Kartoti veiksmus su kiekvienu sąrašo elementu, priskirtu kintamajam \"%1\".";
Blockly.Msg.CONTROLS_FOR_HELPURL = "https://code.google.com/p/blockly/wiki/Loops#count_with";
Blockly.Msg.CONTROLS_FOR_INPUT_FROM_TO_BY = "kinta nuo %1 iki %2 po %3";
Blockly.Msg.CONTROLS_FOR_INPUT_WITH = "kartok, kai";
Blockly.Msg.CONTROLS_FOR_TOOLTIP = "Kartoti veiksmus, kai kintamasis %1 gauna reikšmes nuo [pradinės] iki [galutinės], didinant po [žingsnį].";
Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = "Pridėkite sąlygą prie "jei" bloko.";
Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = "Pridėkite paskutinę, viską sutraukiančią sąlygą į if bloką.";
Blockly.Msg.CONTROLS_IF_HELPURL = "http://code.google.com/p/blockly/wiki/If_Then";
Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = "Pridėkite, pašalinkite arba pakeiskite skyrių tvarką, norėdami pertvarkyti šį if bloką.";
Blockly.Msg.CONTROLS_IF_MSG_ELSE = "priešingu atveju";
Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = "o jei";
Blockly.Msg.CONTROLS_IF_MSG_IF = "jei";
Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = "Jeigu sąlyga tenkinama, tai atlik veiksmus.";
Blockly.Msg.CONTROLS_IF_TOOLTIP_2 = "Jei sąlyga tenkinama, atlikti jai priklausančius veiksmus,\no jei ne -- atlikti kitus nurodytus veiksmus.";
Blockly.Msg.CONTROLS_IF_TOOLTIP_3 = "Jei pirma sąlyga tenkinama, atlikti jai priklausančius veiksmus,\nO jei ne, tikrinti antrą sąlygą -- ir jei ši tenkinama, atlikti jos veiksmus.";
Blockly.Msg.CONTROLS_IF_TOOLTIP_4 = "Jei pirma sąlyga tenkinama, atlikti jai priklausančius veiksmus,\nO jei ne, tikrinti antrą sąlygą -- ir jei ši tenkinama, atlikti jos veiksmus.\nKitais atvejais -- atlikti paskutinio bloko veiksmus.";
Blockly.Msg.CONTROLS_REPEAT_HELPURL = "http://en.wikipedia.org/wiki/For_loop";
Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = "daryk";
Blockly.Msg.CONTROLS_REPEAT_TITLE = "kartok %1 kart";
Blockly.Msg.CONTROLS_REPEAT_TITLE_REPEAT = "kartok";
Blockly.Msg.CONTROLS_REPEAT_TITLE_TIMES = "kart";
Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = "Įvykdyti komandas kelis kartus.";
Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = "http://code.google.com/p/blockly/wiki/Repeat";
Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = "kartok, kol";
Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = "kartok kol yra";
Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = "Kartoti, kol sąlyga taps patenkinta.";
Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = "Kol sąlyga yra tenkinama, kartoti veiksmus.";
Blockly.Msg.DEFINE_HEADER_DEFINITION = "Definition";
Blockly.Msg.DEFINE_FUNCTION_DEFINE = "Apibrėžti";
Blockly.Msg.DELETE_BLOCK = "Panaikinti bloką";
Blockly.Msg.DELETE_PARAMETER = "Ištrinti duomenų laukelį...";
Blockly.Msg.DELETE_PARAMETER_TITLE = "Bus ištrinti visi '%1' paminėti duomenys. Ar OK?";
Blockly.Msg.DELETE_X_BLOCKS = "Ištrinti %1 bloką/us";
Blockly.Msg.DISABLE_BLOCK = "Išjungti bloką";
Blockly.Msg.DUPLICATE_BLOCK = "Dubliuoti";
Blockly.Msg.ENABLE_BLOCK = "Įjungti bloką";
Blockly.Msg.EXAMPLE = "Pavyzdys";
Blockly.Msg.EXAMPLE_DESCRIPTION = "Apibrėžia tikrojo elgesio bei tikėtino elgesio pavyzdį";
Blockly.Msg.EXPAND_ALL = "Išskleisti blokus";
Blockly.Msg.EXPAND_BLOCK = "Išskleisti bloką";
Blockly.Msg.EXPECTED = "tikėtinas";
Blockly.Msg.EXTERNAL_INPUTS = "Išdėstyti stulpeliu, kai daug parametrų";
Blockly.Msg.FUNCTION_CREATE = "Sukurti naują komandą";
Blockly.Msg.FUNCTION_EDIT = "redaguoti";
Blockly.Msg.FUNCTION_NAME_LABEL = "Įvardink savo komandą:";
Blockly.Msg.FUNCTION_DESCRIPTION_LABEL = "Ką tavo komanda darys?";
Blockly.Msg.FUNCTION_PARAMETERS_LABEL = "Kokių duomenų reikia tavo komandai?";
Blockly.Msg.FUNCTION_HEADER = "Komanda";
Blockly.Msg.FUNCTIONAL_CREATE = "Naujas blokas";
Blockly.Msg.FUNCTIONAL_EDIT = "redaguoti";
Blockly.Msg.FUNCTIONAL_NAME_LABEL = "Vardas";
Blockly.Msg.FUNCTIONAL_TYPE_LABEL = "Pasirink tipą...";
Blockly.Msg.FUNCTIONAL_DESCRIPTION_LABEL = "Aprašymas";
Blockly.Msg.FUNCTIONAL_DOMAIN_LABEL = "Paskirtis";
Blockly.Msg.FUNCTIONAL_PROCEDURE_DEFINE_TOOLTIP = "Apibrėžti funkcinį metodą";
Blockly.Msg.FUNCTIONAL_RANGE_LABEL = "Intervalas";
Blockly.Msg.FUNCTIONAL_VARIABLE_CREATE = "Sukurti kintamąjį";
Blockly.Msg.FUNCTIONAL_VARIABLE_HEADER = "Kintamasis";
Blockly.Msg.FUNCTIONAL_VARIABLE_TYPE = "Tipas";
Blockly.Msg.HELP = "pagalba";
Blockly.Msg.INLINE_INPUTS = "Išdėstyti vienoje eilutėje";
Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = "http://en.wikipedia.org/wiki/Linked_list#Empty_lists";
Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = "tuščias sąrašas";
Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = "Duoda tuščią sąrašą";
Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = "sąrašas";
Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = "Pridėkite, pašalinkite arba pakeiskite skyrių tvarką, norėdami pertvarkyti šį sąrašo bloką.";
Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = "sąrašas:";
Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = "Įtraukti elementą į sąrašą.";
Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = "Sukurti sąrašą su bet kokiu elementų skaičiumi.";
Blockly.Msg.LISTS_GET_INDEX_FIRST = "pirmasis";
Blockly.Msg.LISTS_GET_INDEX_FROM_END = "# iš galo";
Blockly.Msg.LISTS_GET_INDEX_FROM_START = "#";
Blockly.Msg.LISTS_GET_INDEX_GET = "paimk";
Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = "paimk ir ištrink";
Blockly.Msg.LISTS_GET_INDEX_LAST = "paskutinis";
Blockly.Msg.LISTS_GET_INDEX_RANDOM = "atsitiktinis";
Blockly.Msg.LISTS_GET_INDEX_REMOVE = "ištrink";
Blockly.Msg.LISTS_GET_INDEX_TAIL = "";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = "Paima pirmąjį sąrašo elementą.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_END = "Paima sąrašo elementą, kurio numeris nurodytas. #1 yra paskutinis elementas.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM_START = "Paima sąrašo elementą, kurio numeris nurodytas. #1 yra pirmas elementas.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = "Paima paskutinį sąrašo elementą.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = "Paima atsitiktinį sąrašo elementą.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = "Paima ir ištrina iš sąrašo pirmą elementą.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_END = "Paima ir ištrina sąrašo elementą, kurio numeris nurodytas. #1 yra paskutinis elementas.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM_START = "Paima ir ištrina sąrašo elementą, kurio numeris nurodytas. #1 yra pirmas elementas.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = "Paima ir ištrina paskutinį sąrašo elementą.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = "Paima ir ištrina iš sąrašo atsitiktinį elementą.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = "Ištrina pirmą sąrašo elementą.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_END = "Ištrina sąrašo elementą, kurio numeris nurodytas. #1 yra paskutinis elementas.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM_START = "Ištrina sąrašo elementą, kurio numeris nurodytas. #1 yra pirmas elementas.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = "Ištrina paskutinį sąrašo elementą.";
Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = "Ištrina atsitiktinį sąrašo elementą.";
Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END = "iki # nuo galo";
Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START = "iki #";
Blockly.Msg.LISTS_GET_SUBLIST_END_LAST = "iki paskutinio";
Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = "https://code.google.com/p/blockly/wiki/Lists#Getting_a_sublist";
Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST = "sąrašo dalis nuo pirmo";
Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END = "sąrašo dalis nuo # nuo galo";
Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START = "sąrašo dalis nuo #";
Blockly.Msg.LISTS_GET_SUBLIST_TAIL = "";
Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = "Sukuria nurodytos masyvo dalies kopiją.";
Blockly.Msg.LISTS_INDEX_OF_FIRST = "rask pirmą reikšmę";
Blockly.Msg.LISTS_INDEX_OF_HELPURL = "https://code.google.com/p/blockly/wiki/Lists#Getting_Items_from_a_List";
Blockly.Msg.LISTS_INDEX_OF_LAST = "rask paskutinę reikšmę";
Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = "Grąžina pirmos/paskutinės reikšmės eilės nr. sąraše. Grąžina 0, jei reikšmės neranda.";
Blockly.Msg.LISTS_INLIST = "iš sąrašo";
Blockly.Msg.LISTS_IS_EMPTY_HELPURL = "https://code.google.com/p/blockly/wiki/Lists#is_empty";
Blockly.Msg.LISTS_IS_EMPTY_TITLE = "'%1' yra tuščias";
Blockly.Msg.LISTS_LENGTH_HELPURL = "https://code.google.com/p/blockly/wiki/Lists#length_of";
Blockly.Msg.LISTS_LENGTH_INPUT_LENGTH = "ilgis";
Blockly.Msg.LISTS_LENGTH_TITLE = "ilgis %1";
Blockly.Msg.LISTS_LENGTH_TOOLTIP = "Duoda sąrašo ilgį.";
Blockly.Msg.LISTS_REPEAT_HELPURL = "https://code.google.com/p/blockly/wiki/Lists#create_list_with";
Blockly.Msg.LISTS_REPEAT_TITLE = "sukurk sąrašą, pakartodamas %1 %2 kart";
Blockly.Msg.LISTS_REPEAT_TOOLTIP = "Sukuria sąrašą iš pateiktos reikšmės pakartotos tiek kartų, kiek nurodyta.";
Blockly.Msg.LISTS_SET_INDEX_HELPURL = "https://code.google.com/p/blockly/wiki/Lists#in_list_..._set";
Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = "kaip";
Blockly.Msg.LISTS_SET_INDEX_INSERT = "Įterpk į";
Blockly.Msg.LISTS_SET_INDEX_SET = " ";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = "Įterpia reikšmę sąrašo pradžioje.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_END = "Įterpia elementą į nurodytą vietą sąraše. #1 yra paskutinis elementas.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM_START = "Įterpia elementą į nurodytą vietą sąraše. #1 yra pirmas elementas.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = "Prideda elementą sąrašo gale.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = "Įterpia elementą į atsitiktinę sąrašo vietą.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = "Priskiria reikšmę pirmajam sąrašo elementui.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_END = "Nustato elementą į nurodytą sąrašo vietą. #1 yra paskutinis elementas.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM_START = "Nustato elementą į nurodytą sąrašo vietą. #1 yra pirmas elementas.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = "Nustato paskutinį elementą sąraše.";
Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = "Nustato atsitiktinį elementą sąraše.";
Blockly.Msg.LISTS_TOOLTIP = "Grąžina teisingą rezultatą, jei sąrašas yra tuščias.";
Blockly.Msg.LOGIC_BOOLEAN_FALSE = "klaida";
Blockly.Msg.LOGIC_BOOLEAN_HELPURL = "http://code.google.com/p/blockly/wiki/True_False";
Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP = "Loginė reikšmė - \"Taip\" arba \"Ne\".";
Blockly.Msg.LOGIC_BOOLEAN_TRUE = "Taip";
Blockly.Msg.LOGIC_COMPARE_HELPURL = "http://en.wikipedia.org/wiki/Inequality_(mathematics)";
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ = "Grąžina teisingą rezultatą, jei abi įvestys yra lygios viena kitai.";
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = "Grąžina teisingą rezultatą, jei pirmoji įvestis yra didesnė nei antroji įvestis.";
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = "Grąžina teisingą rezultatą, jei pirmoji įvestis yra didesnė arba lygi antrajai įvesčiai.";
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT = "Grąžina teisingą rezultatą, jei pirmoji įvestis yra mažesnė nei antroji įvestis.";
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE = "Grąžina teisingą rezultatą, jei pirmoji įvestis yra mažesnė arba lygi antrajai įvesčiai.";
Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ = "Grąžina teisingą rezultatą, jei abi įvestys yra nelygios viena kitai.";
Blockly.Msg.LOGIC_NEGATE_HELPURL = "http://code.google.com/p/blockly/wiki/Not";
Blockly.Msg.LOGIC_NEGATE_TITLE = "ne %1";
Blockly.Msg.LOGIC_NEGATE_TOOLTIP = "Grąžina teisingą rezultatą, jei įvestis yra klaidinga. Grąžina klaidingą rezultatą, jei įvestis yra teisinga.";
Blockly.Msg.LOGIC_NULL = "nieko";
Blockly.Msg.LOGIC_NULL_HELPURL = "http://en.wikipedia.org/wiki/Nullable_type";
Blockly.Msg.LOGIC_NULL_TOOLTIP = "Grąžina nulį.";
Blockly.Msg.LOGIC_OPERATION_AND = "ir";
Blockly.Msg.LOGIC_OPERATION_HELPURL = "http://code.google.com/p/blockly/wiki/And_Or";
Blockly.Msg.LOGIC_OPERATION_OR = "arba";
Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = "Bus teisinga, kai abi sąlygos bus tenkinamos.";
Blockly.Msg.LOGIC_OPERATION_TOOLTIP_OR = "Bus teisinga, kai bent viena sąlyga bus tenkinama.";
Blockly.Msg.LOGIC_TERNARY_CONDITION = "sąlyga";
Blockly.Msg.LOGIC_TERNARY_HELPURL = "http://en.wikipedia.org/wiki/%3F:";
Blockly.Msg.LOGIC_TERNARY_IF_FALSE = "jeigu ne";
Blockly.Msg.LOGIC_TERNARY_IF_TRUE = "jei taip";
Blockly.Msg.LOGIC_TERNARY_TOOLTIP = "Jeigu sąlygą tenkinama, grąžina pirmą reikšmę, o jei ne - antrąją.";
Blockly.Msg.MATH_ADDITION_SYMBOL = "+";
Blockly.Msg.MATH_ARITHMETIC_HELPURL = "http://en.wikipedia.org/wiki/Arithmetic";
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_ADD = "Grąžina dviejų skaičių sumą.";
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_DIVIDE = "Atlieka dalybą ir duoda dalmenį.";
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MINUS = "Grąžina dviejų skaičių skirtumą.";
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MULTIPLY = "Grąžina dviejų skaičių sandaugą.";
Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_POWER = "Grąžina pirmąjį skaičių, pakeltą antrojo skaičiaus laipsniu.";
Blockly.Msg.MATH_CHANGE_HELPURL = "http://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter";
Blockly.Msg.MATH_CHANGE_INPUT_BY = "po";
Blockly.Msg.MATH_CHANGE_TITLE_CHANGE = "pridėk prie";
Blockly.Msg.MATH_CHANGE_TOOLTIP = "Padidina kintamojo '%1' reikšmę (jei norime sumažinti, reikia pridėt su minuso ženklu).";
Blockly.Msg.MATH_CONSTANT_HELPURL = "http://en.wikipedia.org/wiki/Mathematical_constant";
Blockly.Msg.MATH_CONSTANT_TOOLTIP = "Grąžina vieną iš dažnai pasitaikančių konstantų: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), šaknis(½) (0.707…), arba ∞ (begalybė).";
Blockly.Msg.MATH_CONSTRAIN_HELPURL = "http://en.wikipedia.org/wiki/Clamping_%28graphics%29";
Blockly.Msg.MATH_CONSTRAIN_TITLE = "apribok %1 tarp %2 ir %3";
Blockly.Msg.MATH_CONSTRAIN_TOOLTIP = "Įdeda skaičių į tam tikrą intervalą (imtinai).";
Blockly.Msg.MATH_DIVISION_SYMBOL = "÷";
Blockly.Msg.MATH_IS_DIVISIBLE_BY = "dalinasi iš";
Blockly.Msg.MATH_IS_EVEN = "yra lyginis";
Blockly.Msg.MATH_IS_NEGATIVE = "yra neigiamas";
Blockly.Msg.MATH_IS_ODD = "yra nelyginis";
Blockly.Msg.MATH_IS_POSITIVE = "yra teigiamas";
Blockly.Msg.MATH_IS_PRIME = "yra pirminis";
Blockly.Msg.MATH_IS_TOOLTIP = "Patikrina skaičiaus ypatybes: lyginis, nelyginis, pirminis, sveikasis, teigiamas/neigiamas, ar dalus iš nurodyto skaičaus.";
Blockly.Msg.MATH_IS_WHOLE = "yra sveikasis";
Blockly.Msg.MATH_MODULO_HELPURL = "http://en.wikipedia.org/wiki/Modulo_operation";
Blockly.Msg.MATH_MODULO_TITLE = "dalybos liekana %1 ÷ %2";
Blockly.Msg.MATH_MODULO_TOOLTIP = "Grąžina dviejų skaičių liekaną juos padalijus.";
Blockly.Msg.MATH_MULTIPLICATION_SYMBOL = "×";
Blockly.Msg.MATH_NUMBER_HELPURL = "http://en.wikipedia.org/wiki/Number";
Blockly.Msg.MATH_NUMBER_TOOLTIP = "Skaičius.";
Blockly.Msg.MATH_ONLIST_HELPURL = "";
Blockly.Msg.MATH_ONLIST_OPERATOR_AVERAGE = "vidurkis";
Blockly.Msg.MATH_ONLIST_OPERATOR_MAX = "didžiausia reikšmė";
Blockly.Msg.MATH_ONLIST_OPERATOR_MEDIAN = "vidurinė reikšmė (mediana)";
Blockly.Msg.MATH_ONLIST_OPERATOR_MIN = "mažiausia reikšmė";
Blockly.Msg.MATH_ONLIST_OPERATOR_MODE = "dažniausios reikšmės";
Blockly.Msg.MATH_ONLIST_OPERATOR_RANDOM = "atsitiktinis elementas";
Blockly.Msg.MATH_ONLIST_OPERATOR_STD_DEV = "standartinis nuokrypis";
Blockly.Msg.MATH_ONLIST_OPERATOR_SUM = "suma";
Blockly.Msg.MATH_ONLIST_TOOLTIP_AVERAGE = "Suskaičiuoja sąrašo vidurkį.";
Blockly.Msg.MATH_ONLIST_TOOLTIP_MAX = "Išrenka didžiausią sąrašo skaičių.";
Blockly.Msg.MATH_ONLIST_TOOLTIP_MEDIAN = "Išrenka surikiuoto sąrašo vidury esantį skaičių. ";
Blockly.Msg.MATH_ONLIST_TOOLTIP_MIN = "Išrenka mažiausią sąrašo skaičių.";
Blockly.Msg.MATH_ONLIST_TOOLTIP_MODE = "Išrenka dažniausiai sąraše paminėtus skaičius.";
Blockly.Msg.MATH_ONLIST_TOOLTIP_RANDOM = "Paima atsitiktinį sąrašo skaičių.";
Blockly.Msg.MATH_ONLIST_TOOLTIP_STD_DEV = "Suskaičiuoja sąrašo standartinį nuokrypį.";
Blockly.Msg.MATH_ONLIST_TOOLTIP_SUM = "Susumuoja sąrašą.";
Blockly.Msg.MATH_POWER_SYMBOL = "^";
Blockly.Msg.MATH_RANDOM_FLOAT_HELPURL = "http://en.wikipedia.org/wiki/Random_number_generation";
Blockly.Msg.MATH_RANDOM_FLOAT_TITLE_RANDOM = "atsitiktinis skaičius nuo 0.0 iki 1.0";
Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = "Parenka atsitiktinę trupmeną nuo 0 iki 1 (imtinai).";
Blockly.Msg.MATH_RANDOM_INT_HELPURL = "http://en.wikipedia.org/wiki/Random_number_generation";
Blockly.Msg.MATH_RANDOM_INT_TITLE = "atsitiktinis sveikas skaičius nuo %1 iki %2";
Blockly.Msg.MATH_RANDOM_INT_TOOLTIP = "Parenka atsitiktinį skaičių iš intervalo (imtinai).";
Blockly.Msg.MATH_ROUND_HELPURL = "http://en.wikipedia.org/wiki/Rounding";
Blockly.Msg.MATH_ROUND_OPERATOR_ROUND = "suapvalink";
Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDDOWN = "suapvalink žemyn";
Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDUP = "suapvalink aukštyn";
Blockly.Msg.MATH_ROUND_TOOLTIP = "Suapvalina skaičių.";
Blockly.Msg.MATH_SINGLE_HELPURL = "http://en.wikipedia.org/wiki/Square_root";
Blockly.Msg.MATH_SINGLE_OP_ABSOLUTE = "modulis";
Blockly.Msg.MATH_SINGLE_OP_ROOT = "kvadratinė šaknis";
Blockly.Msg.MATH_SINGLE_TOOLTIP_ABS = "Duoda teigiamą skaičiaus reikšmę.";
Blockly.Msg.MATH_SINGLE_TOOLTIP_EXP = "Pakelti e (eksponentę) laipsniu.";
Blockly.Msg.MATH_SINGLE_TOOLTIP_LN = "Suskaičiuoja natūrinį logaritmą.";
Blockly.Msg.MATH_SINGLE_TOOLTIP_LOG10 = "Suskaičiuoja dešimtainį logaritmą.";
Blockly.Msg.MATH_SINGLE_TOOLTIP_NEG = "Duoda neigiamą skaičių -- prieky prirašo minusą.";
Blockly.Msg.MATH_SINGLE_TOOLTIP_POW10 = "Pakelti 10 laipsniu.";
Blockly.Msg.MATH_SINGLE_TOOLTIP_ROOT = "Ištraukia kvadratinę šaknį.";
Blockly.Msg.MATH_SUBTRACTION_SYMBOL = "-";
Blockly.Msg.MATH_TRIG_ACOS = "arccos";
Blockly.Msg.MATH_TRIG_ASIN = "arcsin";
Blockly.Msg.MATH_TRIG_ATAN = "arctg";
Blockly.Msg.MATH_TRIG_COS = "cos";
Blockly.Msg.MATH_TRIG_HELPURL = "http://en.wikipedia.org/wiki/Trigonometric_functions";
Blockly.Msg.MATH_TRIG_SIN = "nuodėmės";
Blockly.Msg.MATH_TRIG_TAN = "tg";
Blockly.Msg.MATH_TRIG_TOOLTIP_ACOS = "arccos(..)";
Blockly.Msg.MATH_TRIG_TOOLTIP_ASIN = "arcsin(..)";
Blockly.Msg.MATH_TRIG_TOOLTIP_ATAN = "arctg(..)";
Blockly.Msg.MATH_TRIG_TOOLTIP_COS = "Suskaičiuoja kosinusą (pagal laipsnius).";
Blockly.Msg.MATH_TRIG_TOOLTIP_SIN = "Suskaičiuoja sinusą (pagal laipsnius).";
Blockly.Msg.MATH_TRIG_TOOLTIP_TAN = "Suskaičiuoja tangentą (pagal laipsnius).";
Blockly.Msg.NEW_VARIABLE = "Naujas kintamasis...";
Blockly.Msg.NEW_VARIABLE_TITLE = "Naujas kintamojo vardas:";
Blockly.Msg.ORDINAL_NUMBER_SUFFIX = "";
Blockly.Msg.PROCEDURES_BEFORE_PARAMS = "pagal:";
Blockly.Msg.PROCEDURES_CALLNORETURN_CALL = "";
Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = "http://en.wikipedia.org/wiki/Procedure_%28computer_science%29";
Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = "Vykdyti naudotojo aprašytą komandą '%1'.";
Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = "http://en.wikipedia.org/wiki/Procedure_%28computer_science%29";
Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = "Įvykdyti naudotojo aprašytą komandą '%1' ir naudoti jos grąžinamą reikšmę.";
Blockly.Msg.PROCEDURES_CREATE_DO = "Sukurti '%1'";
Blockly.Msg.PROCEDURES_DEFNORETURN_DO = "";
Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL = "http://en.wikipedia.org/wiki/Procedure_%28computer_science%29";
Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = "nauja komanda";
Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = "=";
Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = "Sukuria komandą be grąžinamos reikšmės.";
Blockly.Msg.PROCEDURES_DEFRETURN_DO = "";
Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL = "http://en.wikipedia.org/wiki/Procedure_%28computer_science%29";
Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = "daryk kažką";
Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = "=";
Blockly.Msg.PROCEDURES_DEFRETURN_RETURN = "rezultatas = ";
Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = "Sukuria komandą su grąžinama reikšme.";
Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING = "Netvarka: komandai nurodyti du vienodi gaunamų duomenų vardai.";
Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF = "Paryškinti komandos aprašymą";
Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP = "Jei reikšmė yra teisinga, grąžina antrąją reikšmę.";
Blockly.Msg.PROCEDURES_IFRETURN_WARNING = "Netvarka: šis blokas yra naudojamas tik naujos komandos kūrime.";
Blockly.Msg.PROCEDURES_MUTATORARG_TITLE = "naujas parametras:";
Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = "Parametrai (gaunami duomenys):";
Blockly.Msg.REMOVE_COMMENT = "Pašalinti komentarą";
Blockly.Msg.RENAME_PARAMETER = "Pervardinti duomenų laukelį...";
Blockly.Msg.RENAME_PARAMETER_TITLE = "Pervardinti visus '%1' duomenis į:";
Blockly.Msg.RENAME_VARIABLE = "Pervadinti kintamąjį...";
Blockly.Msg.RENAME_VARIABLE_TITLE = "Pervadink visus '%1' kintamuosius į:";
Blockly.Msg.SAVE_AND_CLOSE = "Įrašyti ir uždaryti";
Blockly.Msg.TEXT_APPEND_APPENDTEXT = "pridėk tekstą";
Blockly.Msg.TEXT_APPEND_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Text_modification";
Blockly.Msg.TEXT_APPEND_TO = "=";
Blockly.Msg.TEXT_APPEND_TOOLTIP = "Prie kintamojo '%1' pridėti tekstą.";
Blockly.Msg.TEXT_CHANGECASE_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Adjusting_text_case";
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = "mažosiom raidėmis";
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = "pavadinimo Raidėmis";
Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = "didžiosiom RAIDĖMIS";
Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = "Duoda tekstą, pavertęs didžiosiomis arba mažosiomis raidėmis.";
Blockly.Msg.TEXT_CHARAT_FIRST = "raidė pradinė";
Blockly.Msg.TEXT_CHARAT_FROM_END = "raidė nuo galo #";
Blockly.Msg.TEXT_CHARAT_FROM_START = "gauk raidę nr.";
Blockly.Msg.TEXT_CHARAT_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Extracting_text";
Blockly.Msg.TEXT_CHARAT_INPUT_INTEXT = "tekste";
Blockly.Msg.TEXT_CHARAT_LAST = "raidė paskutinė";
Blockly.Msg.TEXT_CHARAT_RANDOM = "atsitiktinė raidė";
Blockly.Msg.TEXT_CHARAT_TAIL = "";
Blockly.Msg.TEXT_CHARAT_TOOLTIP = "Duoda nurodytoje vietoje esančią raidę.";
Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = "Įtraukti elementą į tekstą.";
Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = "sujunk";
Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = "Pridėkite, pašalinkite arba pakeiskite skyrių tvarką, norėdami pertvarkyti šį teksto bloką.";
Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END = "iki raidės nuo galo nr.";
Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START = "iki raidės #";
Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST = "iki pabaigos";
Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = "http://code.google.com/p/blockly/wiki/Text#Extracting_a_region_of_text";
Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT = "tekste";
Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST = "dalis nuo pradžios";
Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END = "dalis nuo raidės # nuo galo";
Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = "dalis nuo raidės #";
Blockly.Msg.TEXT_GET_SUBSTRING_TAIL = "";
Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP = "Grąžina nurodytą teksto dalį.";
Blockly.Msg.TEXT_INDEXOF_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Finding_text";
Blockly.Msg.TEXT_INDEXOF_INPUT_INTEXT = "iš teksto";
Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = "rask,kur pirmą kartą paminėta";
Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = "rask,kur paskutinį kartą paminėta";
Blockly.Msg.TEXT_INDEXOF_TAIL = "";
Blockly.Msg.TEXT_INDEXOF_TOOLTIP = "Grąžina pirmojo teksto pirmojo/paskutiniojo įvykio indeksą antrajame tekste. Grąžina 0, jei tekstas yra nerastas.";
Blockly.Msg.TEXT_ISEMPTY_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Checking_for_empty_text";
Blockly.Msg.TEXT_ISEMPTY_TITLE = "%1 yra tuščias";
Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = "Patikrina, ar tekstas yra tuščias (nieko neparašyta).";
Blockly.Msg.TEXT_JOIN_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Text_creation";
Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = "tekstas iš:";
Blockly.Msg.TEXT_JOIN_TOOLTIP = "Sukuria tekstą, sujungus bet kokį elementų skaičių.";
Blockly.Msg.TEXT_LENGTH_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Text_modification";
Blockly.Msg.TEXT_LENGTH_TITLE = "ilgis %1";
Blockly.Msg.TEXT_LENGTH_TOOLTIP = "Duoda simbolių kiekį tekste (įskaitant ir tarpus).";
Blockly.Msg.TEXT_PRINT_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Printing_text";
Blockly.Msg.TEXT_PRINT_TITLE = "parašyk %1";
Blockly.Msg.TEXT_PRINT_TOOLTIP = "Spausdina nurodytą tekstą, skaičių ar kitokią reikšmę.";
Blockly.Msg.TEXT_PROMPT_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Getting_input_from_the_user";
Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = "Paprašo naudotojo įvesti skaičių.";
Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = "Paprašo naudotojo įvesti tekstą.";
Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = "paklausk (kad įvestų skaičių)";
Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = "paklausk (kad įvestų tekstą)";
Blockly.Msg.TEXT_TEXT_HELPURL = "http://en.wikipedia.org/wiki/String_(computer_science)";
Blockly.Msg.TEXT_TEXT_TOOLTIP = "Raidė, žodis, tekstas.";
Blockly.Msg.TEXT_TRIM_HELPURL = "https://code.google.com/p/blockly/wiki/Text#Trimming_%28removing%29_spaces";
Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = "ištrink tarpus iš abiejų pusių";
Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = "ištrink tarpus teksto kairėje";
Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = "ištrink tarpus teksto dešinėje";
Blockly.Msg.TEXT_TRIM_TOOLTIP = "Duoda tekstą, pašalinęs tarpus iš pradžios bei galo.";
Blockly.Msg.VARIABLES_DEFAULT_NAME = "elementas";
Blockly.Msg.VARIABLES_GET_CREATE_SET = "Sukurti priskyrimą '%1 = '";
Blockly.Msg.VARIABLES_GET_HELPURL = "http://code.google.com/p/blockly/wiki/Variables#Get";
Blockly.Msg.VARIABLES_GET_TAIL = "";
Blockly.Msg.VARIABLES_GET_TITLE = "";
Blockly.Msg.VARIABLES_GET_TOOLTIP = "Paima kintamojo reikšmę.";
Blockly.Msg.VARIABLES_SET_CREATE_GET = "Sukurti kintamąjį '%1'";
Blockly.Msg.VARIABLES_SET_HELPURL = "http://code.google.com/p/blockly/wiki/Variables#Set";
Blockly.Msg.VARIABLES_SET_TAIL = "=";
Blockly.Msg.VARIABLES_SET_TITLE = " ";
Blockly.Msg.VARIABLES_SET_TOOLTIP = "Priskiria kintamajam nurodytą reikšmę.";


text:
Article 1813
----
Lorsque le cheptel est donné au fermier d'autrui, il doit être notifié au
propriétaire de qui ce fermier tient ; sans quoi il peut le saisir et le faire
vendre pour ce que son fermier lui doit.


text:
package confloader

import (
	"io"
	"os"
)

type configFileLoader func(string) (io.ReadCloser, error)

var (
	EffectiveConfigFileLoader configFileLoader
)

func LoadConfig(file string) (io.ReadCloser, error) {
	if EffectiveConfigFileLoader == nil {
		return os.Stdin, nil
	}
	return EffectiveConfigFileLoader(file)
}


text:
package com.facebook.buck.rules.keys;

import com.facebook.buck.log.Logger;
import com.facebook.buck.model.BuckVersion;
import com.facebook.buck.rules.BuildRule;
import com.facebook.buck.rules.RuleKeyAppendable;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Preconditions;
import com.google.common.base.Throwables;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
import com.google.common.collect.ImmutableCollection;

import java.util.concurrent.ExecutionException;

public abstract class ReflectiveRuleKeyFactory<
    RULE_KEY_BUILDER extends RuleKeyBuilder<RULE_KEY>,
    RULE_KEY>
    implements RuleKeyFactory<RULE_KEY> {

  private static final Logger LOG = Logger.get(ReflectiveRuleKeyFactory.class);

  private final int seed;
  private final LoadingCache<Class<? extends BuildRule>, ImmutableCollection<AlterRuleKey>>
      knownFields;
  private final LoadingCache<BuildRule, RULE_KEY> knownRules;

  public ReflectiveRuleKeyFactory(int seed) {
    this.seed = seed;
    this.knownFields = CacheBuilder.newBuilder().build(new ReflectiveAlterKeyLoader());
    this.knownRules = CacheBuilder.newBuilder().weakKeys().build(
        new CacheLoader<BuildRule, RULE_KEY>() {
          @Override
          public RULE_KEY load(BuildRule key) throws Exception {
            return newInstance(key).build();
          }
        });
  }

  /**
   * @return sub-classes should override this to provide specialized {@link RuleKeyBuilder}s.
   */
  protected abstract RULE_KEY_BUILDER newBuilder(BuildRule rule);

  @VisibleForTesting
  public RULE_KEY_BUILDER newInstance(BuildRule buildRule) {
    RULE_KEY_BUILDER builder = newBuilder(buildRule);
    builder.setReflectively("buck.seed", seed);
    builder.setReflectively("name", buildRule.getBuildTarget().getFullyQualifiedName());
    // Keyed as "buck.type" rather than "type" in case a build rule has its own "type" argument.
    builder.setReflectively("buck.type", buildRule.getType());
    builder.setReflectively("buckVersionUid", BuckVersion.getVersion());

    // We currently cache items using their full buck-out path, so make sure this is reflected in
    // the rule key.
    builder.setReflectively(
        "buckOut",
        buildRule.getProjectFilesystem().getBuckPaths().getConfiguredBuckOut().toString());

    // Add in any extra details to the rule key via the rule's `appendToRuleKey` method.
    buildRule.appendToRuleKey(builder);

    // We used to require build rules to piggyback on the `RuleKeyAppendable` type to add in
    // additional details, but have since switched to using a method in the build rule class, so
    // error out if we see the `RuleKeyAppendable` being used improperly.
    Preconditions.checkArgument(!(builder instanceof RuleKeyAppendable));

    try {
      for (AlterRuleKey alterRuleKey : knownFields.get(buildRule.getClass())) {
        alterRuleKey.amendKey(builder, buildRule);
      }
    } catch (ExecutionException | RuntimeException e) {
      propagateIfSizeLimitException(e);
      LOG.warn(e, "Error creating rule key for %s (%s)", buildRule, buildRule.getType());
      throw Throwables.propagate(e);
    }

    return builder;
  }

  @Override
  public final RULE_KEY build(BuildRule buildRule) {
    try {
      return knownRules.getUnchecked(buildRule);
    } catch (RuntimeException e) {
      propagateIfSizeLimitException(e);
      LOG.warn(e, "When building %s", buildRule);
      throw e;
    }
  }

  private void propagateIfSizeLimitException(Throwable throwable) {
    // At the moment, it is difficult to make SizeLimitException be a checked exception. Due to how
    // exceptions are currently handled (e.g. LoadingCache wraps them with ExecutionException),
    // we need to iterate through the cause chain to check if a SizeLimitException is wrapped.
    Throwables.getCausalChain(throwable).stream()
        .filter(t -> t instanceof SizeLimiter.SizeLimitException)
        .findFirst()
        .ifPresent(Throwables::propagateIfPossible);
  }
}


text:
cat << EOF
# --
# -- Disco settings
# --
# The defaults should be pretty sane, so be careful changing them.

# Home of the Disco libraries
DISCO_HOME = "${RELLIB}"

# Root directory for Disco data
DISCO_ROOT = "${RELSRV}"

# Where the master's web docroot lives
DISCO_WWW_ROOT = "${RELDAT}/${WWW}"

# HTTP server for master and nodes runs on this port
# disco://host URIs are mapped to http://host:DISCO_PORT
DISCO_PORT = 8989

# Example config for Varnish proxy
# DISCO_PROXY_ENABLED = "on"
# DISCO_HTTPD = "/usr/sbin/varnishd -a 0.0.0.0:\$DISCO_PROXY_PORT -f \$DISCO_PROXY_CONFIG -P \$DISCO_PROXY_PID -n/tmp -smalloc"

DDFS_TAG_MIN_REPLICAS = 3
DDFS_TAG_REPLICAS     = 3
DDFS_BLOB_REPLICAS    = 3

EOF


text:
@interface SVNDropboxPreviewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UIProgressView *progressView;
@property (weak, nonatomic) IBOutlet UILabel *progressLabel;

@property (nonatomic) SVNDropboxBundle *cellBundle;

@end

@implementation SVNDropboxPreviewCell

- (void)setBundle:(SVNDropboxBundle *)bundle {
    self.cellBundle = bundle;
    UIView *selectedBackgroundView = [[UIView alloc] initWithFrame:self.bounds];
    selectedBackgroundView.layer.cornerRadius = 10.0;
    selectedBackgroundView.layer.borderWidth = 1.0;
    [selectedBackgroundView.layer setBorderColor:[[UIColor blueColor] CGColor]];
    [self setSelectedBackgroundView:selectedBackgroundView];

    if([bundle.path hasSuffix:@"jpg"] || [bundle.path hasSuffix:@"png"] ||
       [bundle.path hasSuffix:@"gif"] || [bundle.path hasSuffix:@"jpeg"])
    {
        if(bundle.loaded)
        {

        } else {
            [DropBlocks loadThumbnail:bundle.title ofSize:@"iphone_bestfit" intoPath:bundle.path completionBlock:^(DBMetadata *metadata, NSError *error) {
                bundle.loaded = YES;
                UIImage *thumbnail = [UIImage imageWithContentsOfFile:bundle.path];
                [UIView transitionWithView:self.imageView
                                  duration:0.25f
                                   options:UIViewAnimationOptionTransitionCrossDissolve
                                animations:^{
                                    [self.imageView setImage:thumbnail];
                                } completion:nil];
//                NSString *size = [NSString stringWithFormat:@"%0.fx%0.f", thumbnail.size.width, thumbnail.size.height];
//                NSString *description = [NSString stringWithFormat:@"%@ %@", self.name.text, size];
//                [self.name setText:description];
            }];
        }

        NSString *cleanFilename = [[bundle.title componentsSeparatedByString:@"/"] lastObject];
        [self.name setText:cleanFilename];
    }

}

- (SVNDropboxBundle *)getBundle {
    if (_cellBundle != nil) {
        return _cellBundle;
    }
    return nil;
}

- (void)showProgress:(CGFloat)progress {
    [self.progressView setHidden:NO];
    [self.progressLabel setHidden:NO];
    self.progressView.progress = progress;
    self.progressLabel.text = [NSString stringWithFormat:@"%.02f%%", progress * 100];
}

- (void)hideProgress {
    [self.progressView setHidden:YES];
    [self.progressLabel setHidden:YES];
}

//- (void)downloadImageWithCompletion:(CompletionBlock)completion {
//    [self.progressView setHidden:NO];
//    [self.progressLabel setHidden:NO];
//    [DropBlocks loadFile:_cellBundle.title intoPath:_cellBundle.path completionBlock:^(NSString *contentType, DBMetadata *metadata, NSError *error) {
//        [self.progressView setHidden:YES];
//        [self.progressLabel setHidden:YES];
//        UIImage *fullImage = [UIImage imageWithContentsOfFile:_cellBundle.path];
//        ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
//        [library writeImageToSavedPhotosAlbum:[fullImage CGImage] orientation:ALAssetOrientationUp completionBlock:nil];
//
//        if (error) {
//            NSLog(@"Uh oh, something went wrong with this file download. I'd better do something about that.");
//            completion(NO);
//        } else {
//            NSLog(@"Yay, my file downloaded. My work here is done.");
//            completion(YES);
//        }
//    } progressBlock:^(CGFloat progress) {
//        self.progressView.progress = progress;
//        self.progressLabel.text = [NSString stringWithFormat:@"%.02f%%", progress * 100];
//    }];
//}

@end


text:
using System.Collections.Generic;

namespace TypedRpc.Client
{
	// Interface to build client code.
	public interface IClientBuilder
	{
		// The builder type.
		string Type { get; }

		// The builder language.
		string Language { get; }

		// Builds the client code.
		string BuildClient(Model model);
	}

	// Interface that build a client model.
	public interface IModelBuilder
	{
		Model BuildModel();
	}

	// Model for the Rpc Handlers.
	public class Model
	{
		public Handler[] Handlers { get; set; }
		public Interface[] Interfaces { get; set; }
		public AEnum[] Enums { get; set; }

#if DEBUG
		public List<string> Debug = new List<string>();
#endif
	}

	// Class that represents a TypedRpcHandler.
	public class Handler
	{
		public string Name { get; set; }
		public Method[] Methods { get; set; }
	}

	// Methods in a handler.
	public class Method
	{
		public string Name { get; set; }
		public MType ReturnType { get; set; }
		public Parameter[] Parameters { get; set; }
	}

	// Parameters in a method.
	public class Parameter
	{
		public string Name { get; set; }
		public MType Type { get; set; }
		public bool IsOptional { get; set; }
	}

	// Custom interface.
	public class Interface
	{
		public string Name { get; set; }
		public Property[] Properties { get; set; }
	}

	// Properties in interface.
	public class Property
	{
		public string Name { get; set; }
		public MType Type { get; set; }
	}

	// Enum defined.
	public class AEnum
	{
		public string Name { get; set; }
		public EnumValue[] Values { get; set; }
	}

	// Enum value.
	public class EnumValue
	{
		public string Name { get; set; }
		public string Value { get; set; }
	}

	// A type in model.
	public class MType
	{
		// Model Type types.
		public enum MTType
		{
			Ignore,
			Custom,
			OwinContext,
			System,
			Array,
			List,
			Dictionary,
			Task,
			Generic
		}

		public string Name { get; set; }
		public string FullName { get; set; }
		public MTType Type { get; set; }
		public MType[] GenericTypes { get; set; }

		// Constructor
		public MType()
		{
			// Initializations
			GenericTypes = new MType[0];
		}
	}
}


text:
'use strict';

var AjaxResponseStub = (function AjaxResponseStubClosure() {
    var idCounter = 0;

    function AjaxResponseStub(createChannel, createTarget, cnewHeader) {
        if (createChannel) {
            this.channelId = 'Channel#' + (++idCounter);
            this.cnewHeader =
                'DummyKey1=DummyValue1,cid=' + this.channelId + ',DummyKey2=DummyValue2';

            if (cnewHeader) {
                throw 'Cannot create channel with cnewHeader given. Fix test';
            }
        } else {
            this.channelId = null;
            this.cnewHeader = cnewHeader;
        }

        if (createTarget) {
            this.targetId = 'Target#' + (++idCounter);
            this.tidHeader = this.targetId;
        } else {
            this.targetId = null;
            this.tidHeader = '';
        }
    };

    AjaxResponseStub.prototype.getResponseHeader = function getResponseHeader(header) {
        switch (header) {
            case 'JPIP-tid':
                return this.tidHeader;
            case 'JPIP-cnew':
                return this.cnewHeader;
            default:
                throw 'Unexpected requested header in ajax stub ' +
                    header + '. Fix test';
        }
    };

    return AjaxResponseStub;
})();


text:
require 'stackbuilder/stacks/namespace'

class Stacks::Services::SftpServer < Stacks::MachineDef
  attr_reader :location
  attr_reader :virtual_service

  def initialize(virtual_service, base_hostname, environment, site, _role)
    super(virtual_service, base_hostname, environment, site)
    storage = {
      '/chroot' => {
        :type       => 'data',
        :size       => '40G',
        :persistent => true
      },
      '/var/lib/batchelor' => {
        :type       => 'data',
        :size       => '40G',
        :persistent => true
      },
      '/home' => {
        :type       => 'data',
        :size       => '20G',
        :persistent => true
      },
      '/tmp' => {
        :type       => 'data',
        :size       => '10G'
      }
    }
    modify_storage(storage)
  end

  def to_enc
    enc = super
    enc.merge!('role::sftpserver' => {
                 'vip_fqdn' => @virtual_service.vip_fqdn(:prod, fabric),
                 'env' => environment.name,
                 'participation_dependant_instances' =>
                   @virtual_service.dependant_load_balancer_fqdns(location, [:prod]),
                 'ssh_dependant_instances' =>
                   @virtual_service.dependant_app_server_fqdns(location, [:mgmt])
               })
    enc
  end
end


text:
import cgi
import urllib
import webapp2

from google.appengine.ext import ndb
from google.appengine.api import images
from google.appengine.api import users

# [START model]
class Greeting(ndb.Model):
    """Models a Guestbook entry with an author, content, avatar, and date."""
    author = ndb.StringProperty()
    content = ndb.TextProperty()
    avatar = ndb.BlobProperty()
    date = ndb.DateTimeProperty(auto_now_add=True)
# [END model]

def guestbook_key(guestbook_name=None):
    """Constructs a Datastore key for a Guestbook entity with guestbook_name."""
    return ndb.Key('Guestbook', guestbook_name or 'default_guestbook')

class MainPage(webapp2.RequestHandler):
    def get(self):
        self.response.out.write('')
        guestbook_name = self.request.get('guestbook_name')

        greetings = Greeting.query(
            ancestor=guestbook_key(guestbook_name)) \
            .order(-Greeting.date) \
            .fetch(10)

        for greeting in greetings:
            if greeting.author:
                self.response.out.write(
                    '%s wrote:' % greeting.author)
            else:
                self.response.out.write('An anonymous person wrote:')
            # [START display_image]
            self.response.out.write('
' %
                                    greeting.key.urlsafe())
            self.response.out.write('
%s

' %
                                    cgi.escape(greeting.content))
            # [END display_image]

        # [START form]
        self.response.out.write("""
              <form action="/sign?%s" enctype="multipart/form-data" method="post">

<textarea name="content" rows="3" cols="60"></textarea>

Avatar:

<input type="file" name="img"/>

<input type="submit" value="Sign Guestbook">

              </form>

              <form>Guestbook name: <input value="%s" name="guestbook_name">
              <input type="submit" value="switch"></form>

          """ % (urllib.urlencode({'guestbook_name': guestbook_name}),
                        cgi.escape(guestbook_name)))
        # [END form]

# [START image_handler]
class Image(webapp2.RequestHandler):
    def get(self):
        greeting_key = ndb.Key(urlsafe=self.request.get('img_id'))
        greeting = greeting_key.get()
        if greeting.avatar:
            self.response.headers['Content-Type'] = 'image/png'
            self.response.out.write(greeting.avatar)
        else:
            self.response.out.write('No image')
# [END image_handler]

# [START sign_handler]
class Guestbook(webapp2.RequestHandler):
    def post(self):
        guestbook_name = self.request.get('guestbook_name')
        greeting = Greeting(parent=guestbook_key(guestbook_name))

        if users.get_current_user():
            greeting.author = users.get_current_user().nickname()

        greeting.content = self.request.get('content')

        # Get image data
        avatar = self.request.get('img')
        # Transform the image
        avatar = images.resize(avatar, 32, 32)
        greeting.avatar = avatar

        greeting.put()

        self.redirect('/?' + urllib.urlencode(
            {'guestbook_name': guestbook_name}))
# [END sign_handler]

app = webapp2.WSGIApplication([('/', MainPage),
                               ('/img', Image),
                               ('/sign', Guestbook)],
                              debug=True)
# [END all]


text:
<?php
namespace cahis\HcBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class MedicamentoType extends AbstractType
{
	public function buildForm(FormBuilder $builder, array $options)
	{
		$builder
		->add('principio_activo','text',	array('label'=>'Principio activo','attr' => array('placeholder' => 'Limit 200 characters')))
		->add('concentracion',	 'text',	array('label'=>'Concentracion','attr' => array('placeholder' => 'Limit 10 characters')))
		->add('presentacion',	 'text',	array('label'=>'Presentacion','attr' => array('placeholder' => 'Limit 30 characters')))
		->add('dosis_dia',		 'text', array('attr' => array('placeholder' => 'Dosis diaria')))
		->add('tiempo',			 'integer', array('attr' => array('placeholder' => 'Valor max 99')))
		->add('dias_tratamiento','integer', array('attr' => array('placeholder' => 'Valor max 999')))
		->add('pos',			 'checkbox',array( 'required' => false))
		->add('invima',	 'text',array( 'required' => false,'attr' => array('placeholder' => 'Limit 150 characters')))
		->add('justificacion',	 'textarea',array( 'required' => false))
		->add('efectos',	 'textarea',array( 'required' => false))
		->add('estado',	 'choice', array('choices' => array('A' => 'Activo', 'I' => 'Inactivo')))
		;
	}

	public function getName()
	{
		return 'newMedicamento';
	}
}


text:
.yui3-skin-sam .yui3-widget-mask {
    background-color: black;
    zoom: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=40)";
    filter: alpha(opacity=40);
    opacity: 0.4;
}


text:
<Type Name="AVPlayer" FullName="MonoMac.AVFoundation.AVPlayer">
  <TypeSignature Language="C#" Value="public class AVPlayer : MonoMac.Foundation.NSObject" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit AVPlayer extends MonoMac.Foundation.NSObject" />
  <AssemblyInfo>
    <AssemblyName>MonoMac</AssemblyName>
    <AssemblyVersion>0.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>MonoMac.Foundation.NSObject</BaseTypeName>
  </Base>
  <Interfaces />
  <Attributes>
    <Attribute>
      <AttributeName>MonoMac.Foundation.Register("AVPlayer", true)</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    To be added.
    <remarks>To be added.</remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public AVPlayer ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("init")</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
        </Attribute>
      </Attributes>
      <Parameters />
      <Docs>
        Default constructor that initializes a new instance of this class with no parameters.
        <remarks>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public AVPlayer (MonoMac.AVFoundation.AVPlayerItem item);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class MonoMac.AVFoundation.AVPlayerItem item) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("initWithPlayerItem:")</AttributeName>
        </Attribute>
      </Attributes>
      <Parameters>
        <Parameter Name="item" Type="MonoMac.AVFoundation.AVPlayerItem" />
      </Parameters>
      <Docs>
        <param name="item">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public AVPlayer (MonoMac.Foundation.NSCoder coder);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class MonoMac.Foundation.NSCoder coder) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("initWithCoder:")</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
        </Attribute>
      </Attributes>
      <Parameters>
        <Parameter Name="coder" Type="MonoMac.Foundation.NSCoder" />
      </Parameters>
      <Docs>
        <param name="coder">The unarchiver object.</param>
        A constructor that initializes the object from the data stored in the unarchiver object.
        <remarks>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization).</remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public AVPlayer (MonoMac.Foundation.NSObjectFlag t);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class MonoMac.Foundation.NSObjectFlag t) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
        </Attribute>
      </Attributes>
      <Parameters>
        <Parameter Name="t" Type="MonoMac.Foundation.NSObjectFlag" />
      </Parameters>
      <Docs>
        <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
        Constructor to call on derived classes when the derived class has an [Export] constructor.
        <remarks>
          <para>This constructor should be called by derived classes when they are initialized using an [Export] attribute. The argument value is ignore, typically the chaining would look like this:</para>
          <example>

public class MyClass : BaseClass {
    [Export ("initWithFoo:")]
    public MyClass (string foo) : base (NSObjectFlag.Empty)
    {
        ...
    }

          </example>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public AVPlayer (MonoMac.Foundation.NSUrl URL);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class MonoMac.Foundation.NSUrl URL) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("initWithURL:")</AttributeName>
        </Attribute>
      </Attributes>
      <Parameters>
        <Parameter Name="URL" Type="MonoMac.Foundation.NSUrl" />
      </Parameters>
      <Docs>
        <param name="URL">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public AVPlayer (IntPtr handle);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
        </Attribute>
      </Attributes>
      <Parameters>
        <Parameter Name="handle" Type="System.IntPtr" />
      </Parameters>
      <Docs>
        <param name="handle">Pointer (handle) to the unmanaged object.</param>
        A constructor used when creating managed representations of unmanaged objects;  Called by the runtime.
        <remarks>
          <para>This constructor is invoked by the runtime infrastructure (<see cref="M:MonoMac.ObjCRuntime.GetNSObject (System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.    You should not invoke this method directly, instead you should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.</para>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="ActionAtItemEnd">
      <MemberSignature Language="C#" Value="public virtual MonoMac.AVFoundation.AVPlayerActionAtItemEnd ActionAtItemEnd { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance valuetype MonoMac.AVFoundation.AVPlayerActionAtItemEnd ActionAtItemEnd" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>get: MonoMac.Foundation.Export("actionAtItemEnd")</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>set: MonoMac.Foundation.Export("setActionAtItemEnd:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.AVFoundation.AVPlayerActionAtItemEnd</ReturnType>
      </ReturnValue>
      <Docs>
        To be added.
        <value>To be added.</value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="AddBoundaryTimeObserver">
      <MemberSignature Language="C#" Value="public virtual MonoMac.Foundation.NSObject AddBoundaryTimeObserver (MonoMac.Foundation.NSValue[] times, MonoMac.CoreFoundation.DispatchQueue queue, MonoMac.Foundation.NSAction handler);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class MonoMac.Foundation.NSObject AddBoundaryTimeObserver(class MonoMac.Foundation.NSValue[] times, class MonoMac.CoreFoundation.DispatchQueue queue, class MonoMac.Foundation.NSAction handler) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("addBoundaryTimeObserverForTimes:queue:usingBlock:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.Foundation.NSObject</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="times" Type="MonoMac.Foundation.NSValue[]" />
        <Parameter Name="queue" Type="MonoMac.CoreFoundation.DispatchQueue" />
        <Parameter Name="handler" Type="MonoMac.Foundation.NSAction" />
      </Parameters>
      <Docs>
        <param name="times">To be added.</param>
        <param name="queue">To be added.</param>
        <param name="handler">To be added.</param>
        To be added.
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="AddPeriodicTimeObserver">
      <MemberSignature Language="C#" Value="public virtual MonoMac.Foundation.NSObject AddPeriodicTimeObserver (MonoMac.CoreMedia.CMTime interval, MonoMac.CoreFoundation.DispatchQueue queue, MonoMac.AVFoundation.AVTimeHandler handler);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class MonoMac.Foundation.NSObject AddPeriodicTimeObserver(valuetype MonoMac.CoreMedia.CMTime interval, class MonoMac.CoreFoundation.DispatchQueue queue, class MonoMac.AVFoundation.AVTimeHandler handler) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("addPeriodicTimeObserverForInterval:queue:usingBlock:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.Foundation.NSObject</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="interval" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="queue" Type="MonoMac.CoreFoundation.DispatchQueue" />
        <Parameter Name="handler" Type="MonoMac.AVFoundation.AVTimeHandler" />
      </Parameters>
      <Docs>
        <param name="interval">To be added.</param>
        <param name="queue">To be added.</param>
        <param name="handler">To be added.</param>
        To be added.
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="CancelPendingPrerolls">
      <MemberSignature Language="C#" Value="public virtual void CancelPendingPrerolls ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CancelPendingPrerolls() cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("cancelPendingPrerolls")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="ClassHandle">
      <MemberSignature Language="C#" Value="public override IntPtr ClassHandle { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance native int ClassHandle" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.IntPtr</ReturnType>
      </ReturnValue>
      <Docs>
        The handle for this class.
        <value>The pointer to the Objective-C class.</value>
        <remarks>Each MonoMac class mirrors an unmanaged Objective-C class.   This value contains the pointer to the Objective-C class, it is similar to calling objc_getClass with the object name.</remarks>
      </Docs>
    </Member>
    <Member MemberName="ClosedCaptionDisplayEnabled">
      <MemberSignature Language="C#" Value="public virtual bool ClosedCaptionDisplayEnabled { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance bool ClosedCaptionDisplayEnabled" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>get: MonoMac.Foundation.Export("isClosedCaptionDisplayEnabled")</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>set: MonoMac.Foundation.Export("setClosedCaptionDisplayEnabled:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        To be added.
        <value>To be added.</value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="CurrentItem">
      <MemberSignature Language="C#" Value="public virtual MonoMac.AVFoundation.AVPlayerItem CurrentItem { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class MonoMac.AVFoundation.AVPlayerItem CurrentItem" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>get: MonoMac.Foundation.Export("currentItem")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.AVFoundation.AVPlayerItem</ReturnType>
      </ReturnValue>
      <Docs>
        To be added.
        <value>To be added.</value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="CurrentTime">
      <MemberSignature Language="C#" Value="public virtual MonoMac.CoreMedia.CMTime CurrentTime { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance valuetype MonoMac.CoreMedia.CMTime CurrentTime" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>get: MonoMac.Foundation.Export("currentTime")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.CoreMedia.CMTime</ReturnType>
      </ReturnValue>
      <Docs>
        To be added.
        <value>To be added.</value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Dispose">
      <MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="disposing" Type="System.Boolean" />
      </Parameters>
      <Docs>
        <param name="disposing">
          <para>If set to <see langword="true" />, the method is invoked directly and will dispose manage and unmanaged resources;   If set to <see langword="false" /> the method is being called by the garbage collector finalizer and should only release unmanaged resources.</para>
        </param>
        Releases the resources used by the AVPlayer object.
        <remarks>
          <para>This Dispose method releases the resources used by the AVPlayer class.</para>
          <para>This method is called by both the Dispose() method and the object finalizer (Finalize).    When invoked by the Dispose method, the parameter disposting <paramref name="disposing" /> is set to <see langword="true" /> and any managed object references that this object holds are also disposed or released;  when invoked by the object finalizer, on the finalizer thread the value is set to <see langword="false" />. </para>
          <para>Calling the Dispose method when you are finished using the AVPlayer ensures that all external resources used by this managed object are released as soon as possible.  Once you have invoked the Dispose method, the object is no longer useful and you should no longer make any calls to it.</para>
          <para>  For more information on how to override this method and on the Dispose/IDisposable pattern, read the ``Implementing a Dispose Method'' document at http://msdn.microsoft.com/en-us/library/fs2xkftw.aspx</para>
        </remarks>
      </Docs>
    </Member>
    <Member MemberName="Error">
      <MemberSignature Language="C#" Value="public virtual MonoMac.Foundation.NSError Error { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class MonoMac.Foundation.NSError Error" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>get: MonoMac.Foundation.Export("error")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.Foundation.NSError</ReturnType>
      </ReturnValue>
      <Docs>
        To be added.
        <value>To be added.</value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="FromPlayerItem">
      <MemberSignature Language="C#" Value="public static MonoMac.AVFoundation.AVPlayer FromPlayerItem (MonoMac.AVFoundation.AVPlayerItem item);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class MonoMac.AVFoundation.AVPlayer FromPlayerItem(class MonoMac.AVFoundation.AVPlayerItem item) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("playerWithPlayerItem:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.AVFoundation.AVPlayer</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="item" Type="MonoMac.AVFoundation.AVPlayerItem" />
      </Parameters>
      <Docs>
        <param name="item">To be added.</param>
        To be added.
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="FromUrl">
      <MemberSignature Language="C#" Value="public static MonoMac.AVFoundation.AVPlayer FromUrl (MonoMac.Foundation.NSUrl URL);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class MonoMac.AVFoundation.AVPlayer FromUrl(class MonoMac.Foundation.NSUrl URL) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("playerWithURL:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.AVFoundation.AVPlayer</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="URL" Type="MonoMac.Foundation.NSUrl" />
      </Parameters>
      <Docs>
        <param name="URL">To be added.</param>
        To be added.
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="MasterClock">
      <MemberSignature Language="C#" Value="public virtual MonoMac.CoreMedia.CMClock MasterClock { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class MonoMac.CoreMedia.CMClock MasterClock" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.ObjCRuntime.Since(6, 0)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>get: MonoMac.Foundation.Export("masterClock")</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>set: MonoMac.Foundation.Export("setMasterClock:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.CoreMedia.CMClock</ReturnType>
      </ReturnValue>
      <Docs>
        To be added.
        <value>To be added.</value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Pause">
      <MemberSignature Language="C#" Value="public virtual void Pause ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Pause() cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("pause")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Play">
      <MemberSignature Language="C#" Value="public virtual void Play ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Play() cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("play")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Preroll">
      <MemberSignature Language="C#" Value="public virtual void Preroll (float rate, MonoMac.AVFoundation.AVCompletion onComplete);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Preroll(float32 rate, class MonoMac.AVFoundation.AVCompletion onComplete) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("prerollAtRate:completionHandler:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="rate" Type="System.Single" />
        <Parameter Name="onComplete" Type="MonoMac.AVFoundation.AVCompletion" />
      </Parameters>
      <Docs>
        <param name="rate">To be added.</param>
        <param name="onComplete">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="PrerollAsync">
      <MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<bool> PrerollAsync (float rate);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<bool> PrerollAsync(float32 rate) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Threading.Tasks.Task<System.Boolean></ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="rate" Type="System.Single" />
      </Parameters>
      <Docs>
        <param name="rate">To be added.</param>
        To be added.
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Rate">
      <MemberSignature Language="C#" Value="public virtual float Rate { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance float32 Rate" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>get: MonoMac.Foundation.Export("rate")</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>set: MonoMac.Foundation.Export("setRate:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Single</ReturnType>
      </ReturnValue>
      <Docs>
        To be added.
        <value>To be added.</value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="RemoveTimeObserver">
      <MemberSignature Language="C#" Value="public virtual void RemoveTimeObserver (MonoMac.Foundation.NSObject observer);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoveTimeObserver(class MonoMac.Foundation.NSObject observer) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("removeTimeObserver:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="observer" Type="MonoMac.Foundation.NSObject" />
      </Parameters>
      <Docs>
        <param name="observer">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="ReplaceCurrentItemWithPlayerItem">
      <MemberSignature Language="C#" Value="public virtual void ReplaceCurrentItemWithPlayerItem (MonoMac.AVFoundation.AVPlayerItem item);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ReplaceCurrentItemWithPlayerItem(class MonoMac.AVFoundation.AVPlayerItem item) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("replaceCurrentItemWithPlayerItem:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="item" Type="MonoMac.AVFoundation.AVPlayerItem" />
      </Parameters>
      <Docs>
        <param name="item">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Seek">
      <MemberSignature Language="C#" Value="public virtual void Seek (MonoMac.CoreMedia.CMTime toTime);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Seek(valuetype MonoMac.CoreMedia.CMTime toTime) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("seekToTime:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="toTime" Type="MonoMac.CoreMedia.CMTime" />
      </Parameters>
      <Docs>
        <param name="toTime">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Seek">
      <MemberSignature Language="C#" Value="public virtual void Seek (MonoMac.CoreMedia.CMTime time, MonoMac.AVFoundation.AVCompletion completion);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Seek(valuetype MonoMac.CoreMedia.CMTime time, class MonoMac.AVFoundation.AVCompletion completion) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("seekToTime:completionHandler:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="time" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="completion" Type="MonoMac.AVFoundation.AVCompletion" />
      </Parameters>
      <Docs>
        <param name="time">To be added.</param>
        <param name="completion">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Seek">
      <MemberSignature Language="C#" Value="public virtual void Seek (MonoMac.CoreMedia.CMTime toTime, MonoMac.CoreMedia.CMTime toleranceBefore, MonoMac.CoreMedia.CMTime toleranceAfter);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Seek(valuetype MonoMac.CoreMedia.CMTime toTime, valuetype MonoMac.CoreMedia.CMTime toleranceBefore, valuetype MonoMac.CoreMedia.CMTime toleranceAfter) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("seekToTime:toleranceBefore:toleranceAfter:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="toTime" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="toleranceBefore" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="toleranceAfter" Type="MonoMac.CoreMedia.CMTime" />
      </Parameters>
      <Docs>
        <param name="toTime">To be added.</param>
        <param name="toleranceBefore">To be added.</param>
        <param name="toleranceAfter">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Seek">
      <MemberSignature Language="C#" Value="public virtual void Seek (MonoMac.CoreMedia.CMTime time, MonoMac.CoreMedia.CMTime toleranceBefore, MonoMac.CoreMedia.CMTime toleranceAfter, MonoMac.AVFoundation.AVCompletion completion);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Seek(valuetype MonoMac.CoreMedia.CMTime time, valuetype MonoMac.CoreMedia.CMTime toleranceBefore, valuetype MonoMac.CoreMedia.CMTime toleranceAfter, class MonoMac.AVFoundation.AVCompletion completion) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("seekToTime:toleranceBefore:toleranceAfter:completionHandler:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="time" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="toleranceBefore" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="toleranceAfter" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="completion" Type="MonoMac.AVFoundation.AVCompletion" />
      </Parameters>
      <Docs>
        <param name="time">To be added.</param>
        <param name="toleranceBefore">To be added.</param>
        <param name="toleranceAfter">To be added.</param>
        <param name="completion">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="SeekAsync">
      <MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<bool> SeekAsync (MonoMac.CoreMedia.CMTime time);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<bool> SeekAsync(valuetype MonoMac.CoreMedia.CMTime time) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Threading.Tasks.Task<System.Boolean></ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="time" Type="MonoMac.CoreMedia.CMTime" />
      </Parameters>
      <Docs>
        <param name="time">To be added.</param>
        To be added.
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="SeekAsync">
      <MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<bool> SeekAsync (MonoMac.CoreMedia.CMTime time, MonoMac.CoreMedia.CMTime toleranceBefore, MonoMac.CoreMedia.CMTime toleranceAfter);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<bool> SeekAsync(valuetype MonoMac.CoreMedia.CMTime time, valuetype MonoMac.CoreMedia.CMTime toleranceBefore, valuetype MonoMac.CoreMedia.CMTime toleranceAfter) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Threading.Tasks.Task<System.Boolean></ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="time" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="toleranceBefore" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="toleranceAfter" Type="MonoMac.CoreMedia.CMTime" />
      </Parameters>
      <Docs>
        <param name="time">To be added.</param>
        <param name="toleranceBefore">To be added.</param>
        <param name="toleranceAfter">To be added.</param>
        To be added.
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="SetRate">
      <MemberSignature Language="C#" Value="public virtual void SetRate (float rate, MonoMac.CoreMedia.CMTime itemTime, MonoMac.CoreMedia.CMTime hostClockTime);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetRate(float32 rate, valuetype MonoMac.CoreMedia.CMTime itemTime, valuetype MonoMac.CoreMedia.CMTime hostClockTime) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>MonoMac.Foundation.Export("setRate:time:atHostTime:")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="rate" Type="System.Single" />
        <Parameter Name="itemTime" Type="MonoMac.CoreMedia.CMTime" />
        <Parameter Name="hostClockTime" Type="MonoMac.CoreMedia.CMTime" />
      </Parameters>
      <Docs>
        <param name="rate">To be added.</param>
        <param name="itemTime">To be added.</param>
        <param name="hostClockTime">To be added.</param>
        To be added.
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Status">
      <MemberSignature Language="C#" Value="public virtual MonoMac.AVFoundation.AVPlayerStatus Status { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance valuetype MonoMac.AVFoundation.AVPlayerStatus Status" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>get: MonoMac.Foundation.Export("status")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>MonoMac.AVFoundation.AVPlayerStatus</ReturnType>
      </ReturnValue>
      <Docs>
        To be added.
        <value>To be added.</value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
  </Members>
</Type>


text:
function draggableRowDecorator(table) {
    $.cast(this, table);

    this._dri = new $.iterator(this.rows.values());
    this.helper = $.create({"tr":{"class":"ku-table-dragRow-helper"}});
    $.slider(this.helper, null, null, null, null, null, "dragger", "vertical");
    this._isMoving = false;
    this._hitPoint;
    this._moveDom;

    function getPoint(dom) { return $.cast($.coord.parse($.findOffset(this.dom)), $.point);}

    this._dri.foreach(function(c){
        $.evt.add(c.dom, "mouseover", function(){
            if(!this._isMoving) return;
            var d = c.dom,
                b = this.body,
                h = this.helper,
                hp = this._hitPoint,
                p = getPoint(d);

            if(!d.nextSibling) b.appendChild(h);
            else if(p.isAbove(hp))b.insertBefore(h, d);
            else b.insertBefore(h, d.nextSibling);

            this._hitPoint = p;
        }, this);

        $.dnd(c.dom,
            function(){
                this.helper = c.dom;
                this._isMoving = true;
                this._hitPoint = getPoint(c.dom);
                this._moveDom = c.dom;
                this.body.insertBefore(this.helper, c.dom);
                $.ku.css.addClass(this.body, "ku-table-draggableRow-dragging");
                $.ku.css.addClass(this._moveDom, "ku-table-draggableRow-moveDom");
            },
            null,
            function(){
                $.ku.css.removeClass(this.body, "ku-table-draggableRow-dragging");
                $.ku.css.removeClass(this._moveDom, "ku-table-draggableRow-moveDom");
                $.ku.swapDom(this.helper, this._moveDom);
                this._isMoving = false;
                this._moveDom = null;
                this.format();
            }, this);

    }, this);
}

$.draggableRowDecorator = function(table){ return new draggableRowDecorator(table); }


text:
package manifest

import (
	"testing"

	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/require"
)

const (
	wrapperGolden = `#!/bin/sh

export PATH="$PATH:$HOME/.nix-profile/bin" # required for Nix
export PATH="$PATH:/usr/local/bin" # required on MacOS/brew
export PATH="$PATH:/usr/local/MacGPG2/bin" # required on MacOS/GPGTools GPGSuite
export GPG_TTY="$(tty)"

if [ -f ~/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
	source ~/.gpg-agent-info
	export GPG_AGENT_INFO
else
	eval $(gpg-agent --daemon)
fi

export PATH="$PATH:/usr/local/bin"

gopass-jsonapi listen

exit $?
`
)

func TestWrapperContent(t *testing.T) {
	t.Parallel()

	b, err := getWrapperContent("gopass-jsonapi")
	require.NoError(t, err)
	assert.Equal(t, wrapperGolden, string(b))
}