text
stringlengths 11
99.8k
| meta
dict |
|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<segment>
<name>PD1</name>
<description>Patient Additional Demographic</description>
<elements>
<field minOccurs="0" maxOccurs="0">
<name>PD1.1</name>
<description>Living Dependency</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.2</name>
<description>Living Arrangement</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.3</name>
<description>Patient Primary Facility</description>
<datatype>XON</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.4</name>
<description>Patient Primary Care Provider Name & ID No.</description>
<datatype>XCN</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.5</name>
<description>Student Indicator</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.6</name>
<description>Handicap</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.7</name>
<description>Living Will Code</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.8</name>
<description>Organ Donor Code</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.9</name>
<description>Separate Bill</description>
<datatype>ID</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.10</name>
<description>Duplicate Patient</description>
<datatype>CX</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.11</name>
<description>Publicity Code</description>
<datatype>CE</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.12</name>
<description>Protection Indicator</description>
<datatype>ID</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.13</name>
<description>Protection Indicator Effective Date</description>
<datatype>DT</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.14</name>
<description>Place of Worship</description>
<datatype>XON</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.15</name>
<description>Advance Directive Code</description>
<datatype>CE</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.16</name>
<description>Immunization Registry Status</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.17</name>
<description>Immunization Registry Status Effective Date</description>
<datatype>DT</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.18</name>
<description>Publicity Code Effective Date</description>
<datatype>DT</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.19</name>
<description>Military Branch</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.20</name>
<description>Military Rank/Grade</description>
<datatype>IS</datatype>
</field>
<field minOccurs="0" maxOccurs="0">
<name>PD1.21</name>
<description>Military Status</description>
<datatype>IS</datatype>
</field>
</elements>
</segment>
|
{
"pile_set_name": "Github"
}
|
{
"fpsLimit": 60,
"preset": "basic",
"background": {
"color": "#0d47a1",
"image": "",
"position": "50% 50%",
"repeat": "no-repeat",
"size": "cover"
}
}
|
{
"pile_set_name": "Github"
}
|
cask "font-cormorant-sc" do
version :latest
sha256 :no_check
# github.com/google/fonts/ was verified as official when first introduced to the cask
url "https://github.com/google/fonts/trunk/ofl/cormorantsc",
using: :svn,
trust_cert: true
name "Cormorant SC"
homepage "https://fonts.google.com/specimen/Cormorant+SC"
font "CormorantSC-Bold.ttf"
font "CormorantSC-Light.ttf"
font "CormorantSC-Medium.ttf"
font "CormorantSC-Regular.ttf"
font "CormorantSC-SemiBold.ttf"
end
|
{
"pile_set_name": "Github"
}
|
var config = {
type: Phaser.AUTO,
parent: 'phaser-example',
width: 800,
height: 600,
scene: {
create: create
},
};
var game = new Phaser.Game(config);
function create() {
var graphics = this.add.graphics();
drawStar(graphics, 100, 300, 4, 50, 50 / 2, 0xffff00, 0xff0000);
drawStar(graphics, 400, 300, 5, 100, 100 / 2, 0xffff00, 0xff0000);
drawStar(graphics, 700, 300, 6, 50, 50 / 2, 0xffff00, 0xff0000);
}
function drawStar (graphics, cx, cy, spikes, outerRadius, innerRadius, color, lineColor)
{
var rot = Math.PI / 2 * 3;
var x = cx;
var y = cy;
var step = Math.PI / spikes;
graphics.lineStyle(4, lineColor, 1);
graphics.fillStyle(color, 1);
graphics.beginPath();
graphics.moveTo(cx, cy - outerRadius);
for (i = 0; i < spikes; i++)
{
x = cx + Math.cos(rot) * outerRadius;
y = cy + Math.sin(rot) * outerRadius;
graphics.lineTo(x, y);
rot += step;
x = cx + Math.cos(rot) * innerRadius;
y = cy + Math.sin(rot) * innerRadius;
graphics.lineTo(x, y);
rot += step;
}
graphics.lineTo(cx, cy - outerRadius);
graphics.closePath();
graphics.fillPath();
graphics.strokePath();
}
|
{
"pile_set_name": "Github"
}
|
.theme-dusk,.theme-midnight {
.hljs {
display: block;
overflow-x: auto;
background: #232323;
color: #e6e1dc;
}
.hljs-comment,
.hljs-quote {
color: #bc9458;
font-style: italic;
}
.hljs-keyword,
.hljs-selector-tag {
color: #c26230;
}
.hljs-string,
.hljs-number,
.hljs-regexp,
.hljs-variable,
.hljs-template-variable {
color: #a5c261;
}
.hljs-subst {
color: #519f50;
}
.hljs-tag,
.hljs-name {
color: #e8bf6a;
}
.hljs-type {
color: #da4939;
}
.hljs-symbol,
.hljs-bullet,
.hljs-built_in,
.hljs-builtin-name,
.hljs-attr,
.hljs-link {
color: #6d9cbe;
}
.hljs-params {
color: #d0d0ff;
}
.hljs-attribute {
color: #cda869;
}
.hljs-meta {
color: #9b859d;
}
.hljs-title,
.hljs-section {
color: #ffc66d;
}
.hljs-addition {
background-color: #144212;
color: #e6e1dc;
display: inline-block;
width: 100%;
}
.hljs-deletion {
background-color: #600;
color: #e6e1dc;
display: inline-block;
width: 100%;
}
.hljs-selector-class {
color: #9b703f;
}
.hljs-selector-id {
color: #8b98ab;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-link {
text-decoration: underline;
}
}
|
{
"pile_set_name": "Github"
}
|
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Wrapper */
#wrapper {
@include vendor('transition', 'opacity #{_duration(menu)} ease');
position: relative;
z-index: 1;
overflow: hidden;
> .bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: _palette(wrapper-bg);
background-image: url('../../images/overlay.png'), linear-gradient(0deg, rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../../images/bg.jpg');
background-size: auto, auto, 100% auto;
background-position: center, center, top center;
background-repeat: repeat, no-repeat, no-repeat;
background-attachment: scroll, scroll, scroll;
z-index: -1;
&.fixed {
position: fixed;
width: 100vw;
height: 100vh;
}
}
&.fade-in {
&:before {
@include vendor('pointer-events', 'none');
@include vendor('transition', 'opacity 1s ease-in-out');
@include vendor('transition-delay', '0.75s');
background: _palette(invert, bg);
content: '';
display: block;
height: 100%;
left: 0;
opacity: 0;
position: fixed;
top: 0;
width: 100%;
}
body.is-loading & {
&:before {
opacity: 1;
}
}
}
@include orientation(portrait) {
> .bg {
background-size: auto, auto, auto 175%;
}
}
}
|
{
"pile_set_name": "Github"
}
|
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_precision) {
var v = opt_precision;
if (undefined === v) {
v = Math.min(getDecimals(n), 3);
}
var base = Math.pow(10, v);
var f = ((n * base) | 0) % base;
return {v: v, f: f};
}
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"Dinda",
"Dilolo"
],
"DAY": [
"Lumingu",
"Nkodya",
"Nd\u00e0ay\u00e0",
"Ndang\u00f9",
"Nj\u00f2wa",
"Ng\u00f2vya",
"Lubingu"
],
"MONTH": [
"Ciongo",
"L\u00f9ishi",
"Lus\u00f2lo",
"M\u00f9uy\u00e0",
"Lum\u00f9ng\u00f9l\u00f9",
"Lufuimi",
"Kab\u00e0l\u00e0sh\u00ecp\u00f9",
"L\u00f9sh\u00eck\u00e0",
"Lutongolo",
"Lung\u00f9di",
"Kasw\u00e8k\u00e8s\u00e8",
"Cisw\u00e0"
],
"SHORTDAY": [
"Lum",
"Nko",
"Ndy",
"Ndg",
"Njw",
"Ngv",
"Lub"
],
"SHORTMONTH": [
"Cio",
"Lui",
"Lus",
"Muu",
"Lum",
"Luf",
"Kab",
"Lush",
"Lut",
"Lun",
"Kas",
"Cis"
],
"fullDate": "EEEE d MMMM y",
"longDate": "d MMMM y",
"medium": "d MMM y HH:mm:ss",
"mediumDate": "d MMM y",
"mediumTime": "HH:mm:ss",
"short": "d/M/y HH:mm",
"shortDate": "d/M/y",
"shortTime": "HH:mm"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "FrCD",
"DECIMAL_SEP": ",",
"GROUP_SEP": ".",
"PATTERNS": [
{
"gSize": 3,
"lgSize": 3,
"maxFrac": 3,
"minFrac": 0,
"minInt": 1,
"negPre": "-",
"negSuf": "",
"posPre": "",
"posSuf": ""
},
{
"gSize": 3,
"lgSize": 3,
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "-",
"negSuf": "\u00a4",
"posPre": "",
"posSuf": "\u00a4"
}
]
},
"id": "lu-cd",
"pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/appBackground"
android:foreground="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingBottom="15dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:paddingTop="15dp">
<ImageView
android:id="@+id/song_item_img"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_weight="0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="15dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/song_item_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:textColor="#000"
android:textSize="16sp" />
<TextView
android:id="@+id/song_item_artist"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:textColor="#989898"
android:textSize="14sp" />
</LinearLayout>
<ImageView
android:id="@+id/song_item_menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
android:layout_weight="0"
android:background="@drawable/unbounded_ripple"
android:foregroundTint="#434343"
android:padding="5dp"
android:src="@drawable/abc_ic_menu_moreoverflow_mtrl_alpha"
android:theme="@style/Theme.AppCompat.Light" />
</LinearLayout>
|
{
"pile_set_name": "Github"
}
|
def extractStartlingSurprisesAtEveryStep(item):
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol or frag) or 'preview' in item['title'].lower():
return None
if 'bu bu jing xin' in item['tags']:
return buildReleaseMessageWithType(item, 'Bu Bu Jing Xin', vol, chp, frag=frag, postfix=postfix)
return False
|
{
"pile_set_name": "Github"
}
|
'use strict';
var dbm;
var type;
var seed;
/**
* We receive the dbmigrate dependency from dbmigrate initially.
* This enables us to not have to rely on NODE_PATH.
*/
exports.setup = function (options, seedLink) {
dbm = options.dbmigrate;
type = dbm.dataType;
seed = seedLink;
};
exports.up = function (db) {
return Promise.all([
db.runSql('UPDATE office SET name = \'Office of Brazil and Southern Cone (WHA/BSC)\' where name=\'Office of Brail and Southern Cone (WHA/BSC)\''),
db.runSql('UPDATE office SET name = \'U.S. Embassy La Paz\' where name=\'U.S. Embassy LaPaz\''),
]);
};
exports.down = function (db) {
return Promise.all([
db.runSql('UPDATE office SET name = \'Office of Brail and Southern Cone (WHA/BSC)\' where name=\'Office of Brazil and Southern Cone (WHA/BSC)\''),
db.runSql('UPDATE office SET name = \'U.S. Embassy LaPaz\' where name=\'U.S. Embassy La Paz\''),
]);
};
|
{
"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"
}
|
id: dsq-747531936
date: 2010-04-05T22:49:24.0000000-07:00
name: DonSleza4e
avatar: https://disqus.com/api/users/avatars/DonSleza4e.jpg
message: <p>Awesome<br>Integrated lib with my <a href="http://asp.net" rel="nofollow noopener" title="asp.net">asp.net</a> mvc project ^^</p>
|
{
"pile_set_name": "Github"
}
|
export const environment = {
production: true
};
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android" >
<Button
android:id="@+id/btn_crash_restart"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="重启App"
android:layout_alignParentTop="true"
/>
<TextView
android:id="@+id/tv_crash_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="false"
android:ellipsize="none"
android:gravity="left"
android:inputType="textMultiLine"
android:layout_below="@id/btn_crash_restart"
/>
</RelativeLayout>
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Runner.xcodeproj">
</FileRef>
</Workspace>
|
{
"pile_set_name": "Github"
}
|
fileFormatVersion: 2
guid: c6be551879cd14d739b0188844ef2c60
timeCreated: 1447582131
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {fileID: 2800000, guid: e1e5ef31262d242ce8efe2020a27425e, type: 3}
userData:
assetBundleName:
assetBundleVariant:
|
{
"pile_set_name": "Github"
}
|
{
"images" : [
{
"idiom" : "watch",
"scale" : "2x",
"screen-width" : "<=145"
},
{
"idiom" : "watch",
"scale" : "2x",
"screen-width" : ">161"
},
{
"idiom" : "watch",
"scale" : "2x",
"screen-width" : ">145"
},
{
"idiom" : "watch",
"scale" : "2x",
"screen-width" : ">183"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
|
{
"pile_set_name": "Github"
}
|
<import src="../../../common/head.wxml"/>
<import src="../../../common/foot.wxml"/>
<view class="container">
<template is="head" data="{{title: 'sendMessage'}}"/>
<view class="page-body">
<view class="weui-cells__title">发送内容(以下字段可自由适配)</view>
<view class="weui-cells weui-cells_after-title">
<view class="weui-cell weui-cell_input">
<view class="weui-cell__hd">
<view class="weui-label">实例字段</view>
</view>
<view class="weui-cell__bd">
<input class="weui-input" type="text" placeholder="请输入"></input>
</view>
</view>
<view class="weui-cell weui-cell_input">
<view class="weui-cell__hd">
<view class="weui-label">实例字段</view>
</view>
<view class="weui-cell__bd">
<input class="weui-input" type="text" placeholder="请输入"></input>
</view>
</view>
</view>
<view class="weui-cells">
<view class="weui-cell weui-cell_input">
<view class="weui-cell__hd">
<view class="weui-label">跳转链接</view>
</view>
<view class="weui-cell__bd">
<input class="weui-input" type="text" placeholder="请输入" value="{{shareData.path}}"></input>
</view>
</view>
</view>
<view class="btn-area">
<button type="primary">发送模板消息</button>
</view>
</view>
<template is="foot"/>
</view>
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Dapper" version="1.50.4-alpha1-00070" targetFramework="net452" />
<package id="Dapper.Contrib" version="1.50.0" targetFramework="net452" />
<package id="Dapper.Extension" version="1.0.0.1" targetFramework="net452" />
<package id="EntityFramework" version="6.1.3" targetFramework="net452" />
<package id="SyntacticSugar" version="2.4.1" targetFramework="net452" />
</packages>
|
{
"pile_set_name": "Github"
}
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX ns: <http://example.org/ns#>
SELECT ?title ?price
{ ?x ns:price ?p .
?x ns:discount ?discount
BIND (?p*(1-?discount) AS ?price)
FILTER(?price < 20)
?x dc:title ?title .
}
|
{
"pile_set_name": "Github"
}
|
---
"Missing document with catch":
- do:
catch: missing
get:
index: test_1
id: 1
---
"Missing document with ignore":
- do:
get:
index: test_1
id: 1
ignore: 404
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE html>
<html lang="en" data-navbar="/account/navbar-profile.html">
<head>
<meta charset="utf-8" />
<title translate="yes">Establecer o perfil predeterminado</title>
<link href="/public/pure-min.css" rel="stylesheet">
<link href="/public/content.css" rel="stylesheet">
<link href="/public/content-additional.css" rel="stylesheet">
<base target="_top" href="/">
</head>
<body>
<h1 translate="yes">Establecer o perfil predeterminado</h1>
<p translate="yes">O teu perfil predeterminado serve como principal punto de contacto da túa conta.</p>
<div id="message-container"></div>
<form id="submit-form" method="post" class="pure-form" action="/account/set-default-profile" name="submit-form">
<fieldset>
<div class="pure-control-group">
<select id="profileid" name="profileid">
<option value="" translate="yes">
Selecciona perfil
</option>
</select>
</div>
<button id="submit-button" type="submit" class="pure-button pure-button-primary" translate="yes">Establecer o perfil predeterminado</button>
</fieldset>
</form>
<template id="success">
<div class="success message" translate="yes">
Éxito! O perfil é o teu estándar
</div>
</template>
<template id="unknown-error">
<div class="error message" translate="yes">
Erro! Produciuse un erro descoñecido
</div>
</template>
<template id="default-profile">
<div class="error message" translate="yes">
Erro! Este é xa o teu perfil predeterminado
</div>
</template>
<template id="profile-option">
<option value="${profile.profileid}">
${profile.contactEmail}, ${profile.firstName} ${profile.lastName}
</option>
</template>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
AxisControlBus
ControlBus
PathPlanning1
PathPlanning6
PathToAxisControlBus
GearType1
GearType2
Motor
Controller
AxisType1
AxisType2
MechanicalStructure
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" ?>
<component id="root" name="root">
<component id="system" name="system">
<!--McPAT will skip the components if number is set to 0 -->
<param name="number_of_cores" value="64"/>
<param name="number_of_L1Directories" value="0"/>
<param name="number_of_L2Directories" value="0"/>
<param name="number_of_L2s" value="64"/> <!-- This number means how many L2 clusters in each cluster there can be multiple banks/ports -->
<param name="number_of_L3s" value="0"/> <!-- This number means how many L3 clusters -->
<param name="number_of_NoCs" value="1"/>
<param name="homogeneous_cores" value="1"/><!--1 means homo -->
<param name="homogeneous_L2s" value="1"/>
<param name="homogeneous_L1Directorys" value="1"/>
<param name="homogeneous_L2Directorys" value="1"/>
<param name="homogeneous_L3s" value="1"/>
<param name="homogeneous_ccs" value="1"/><!--cache coherece hardware -->
<param name="homogeneous_NoCs" value="1"/>
<param name="core_tech_node" value="22"/><!-- nm -->
<param name="target_core_clockrate" value="3500"/><!--MHz -->
<param name="temperature" value="360"/> <!-- Kelvin -->
<param name="number_cache_levels" value="2"/>
<param name="interconnect_projection_type" value="0"/><!--0: agressive wire technology; 1: conservative wire technology -->
<param name="device_type" value="0"/><!--0: HP(High Performance Type); 1: LSTP(Low standby power) 2: LOP (Low Operating Power) -->
<param name="longer_channel_device" value="1"/><!-- 0 no use; 1 use when possible -->
<param name="machine_bits" value="64"/>
<param name="virtual_address_width" value="64"/>
<param name="physical_address_width" value="52"/>
<param name="virtual_memory_page_size" value="4096"/>
<stat name="total_cycles" value="100000"/>
<stat name="idle_cycles" value="0"/>
<stat name="busy_cycles" value="100000"/>
<!--This page size(B) is complete different from the page size in Main memo secction. this page size is the size of
virtual memory from OS/Archi perspective; the page size in Main memo secction is the actuall physical line in a DRAM bank -->
<!-- *********************** cores ******************* -->
<component id="system.core0" name="core0">
<!-- Core property -->
<param name="clock_rate" value="3500"/>
<param name="instruction_length" value="32"/>
<param name="opcode_width" value="9"/>
<!-- address width determins the tag_width in Cache, LSQ and buffers in cache controller
default value is machine_bits, if not set -->
<param name="machine_type" value="1"/><!-- 1 inorder; 0 OOO-->
<!-- inorder/OoO -->
<param name="number_hardware_threads" value="4"/>
<!-- number_instruction_fetch_ports(icache ports) is always 1 in single-thread processor,
it only may be more than one in SMT processors. BTB ports always equals to fetch ports since
branch information in consective branch instructions in the same fetch group can be read out from BTB once.-->
<param name="fetch_width" value="1"/>
<!-- fetch_width determins the size of cachelines of L1 cache block -->
<param name="number_instruction_fetch_ports" value="1"/>
<param name="decode_width" value="1"/>
<!-- decode_width determins the number of ports of the
renaming table (both RAM and CAM) scheme -->
<param name="issue_width" value="1"/>
<!-- issue_width determins the number of ports of Issue window and other logic
as in the complexity effective proccessors paper; issue_width==dispatch_width -->
<param name="commit_width" value="1"/>
<!-- commit_width determins the number of ports of register files -->
<param name="fp_issue_width" value="1"/>
<param name="prediction_width" value="0"/>
<!-- number of branch instructions can be predicted simultannouesl-->
<!-- Current version of McPAT does not distinguish int and floating point pipelines
Theses parameters are reserved for future use.-->
<param name="pipelines_per_core" value="1,1"/>
<!--integer_pipeline and floating_pipelines, if the floating_pipelines is 0, then the pipeline is shared-->
<param name="pipeline_depth" value="6,6"/>
<!-- pipeline depth of int and fp, if pipeline is shared, the second number is the average cycles of fp ops -->
<!-- issue and exe unit-->
<param name="ALU_per_core" value="1"/>
<!-- contains an adder, a shifter, and a logical unit -->
<param name="MUL_per_core" value="1"/>
<!-- For MUL and Div -->
<param name="FPU_per_core" value="0.125"/>
<!-- buffer between IF and ID stage -->
<param name="instruction_buffer_size" value="16"/>
<!-- buffer between ID and sche/exe stage -->
<param name="decoded_stream_buffer_size" value="16"/>
<param name="instruction_window_scheme" value="0"/><!-- 0 PHYREG based, 1 RSBASED-->
<!-- McPAT support 2 types of OoO cores, RS based and physical reg based-->
<param name="instruction_window_size" value="16"/>
<param name="fp_instruction_window_size" value="16"/>
<!-- the instruction issue Q as in Alpha 21264; The RS as in Intel P6 -->
<param name="ROB_size" value="80"/>
<!-- each in-flight instruction has an entry in ROB -->
<!-- registers -->
<param name="archi_Regs_IRF_size" value="32"/>
<param name="archi_Regs_FRF_size" value="32"/>
<!-- if OoO processor, phy_reg number is needed for renaming logic,
renaming logic is for both integer and floating point insts. -->
<param name="phy_Regs_IRF_size" value="80"/>
<param name="phy_Regs_FRF_size" value="80"/>
<!-- rename logic -->
<param name="rename_scheme" value="0"/>
<!-- can be RAM based(0) or CAM based(1) rename scheme
RAM-based scheme will have free list, status table;
CAM-based scheme have the valid bit in the data field of the CAM
both RAM and CAM need RAM-based checkpoint table, checkpoint_depth=# of in_flight instructions;
Detailed RAT Implementation see TR -->
<param name="register_windows_size" value="8"/>
<!-- how many windows in the windowed register file, sun processors;
no register windowing is used when this number is 0 -->
<!-- In OoO cores, loads and stores can be issued whether inorder(Pentium Pro) or (OoO)out-of-order(Alpha),
They will always try to exeute out-of-order though. -->
<param name="LSU_order" value="inorder"/>
<param name="store_buffer_size" value="32"/>
<!-- By default, in-order cores do not have load buffers -->
<param name="load_buffer_size" value="32"/>
<!-- number of ports refer to sustainable concurrent memory accesses -->
<param name="memory_ports" value="1"/>
<!-- max_allowed_in_flight_memo_instructions determins the # of ports of load and store buffer
as well as the ports of Dcache which is connected to LSU -->
<!-- dual-pumped Dcache can be used to save the extra read/write ports -->
<param name="RAS_size" value="32"/>
<!-- general stats, defines simulation periods;require total, idle, and busy cycles for senity check -->
<!-- please note: if target architecture is X86, then all the instrucions refer to (fused) micro-ops -->
<stat name="total_instructions" value="800000"/>
<stat name="int_instructions" value="600000"/>
<stat name="fp_instructions" value="20000"/>
<stat name="branch_instructions" value="0"/>
<stat name="branch_mispredictions" value="0"/>
<stat name="load_instructions" value="100000"/>
<stat name="store_instructions" value="100000"/>
<stat name="committed_instructions" value="800000"/>
<stat name="committed_int_instructions" value="600000"/>
<stat name="committed_fp_instructions" value="20000"/>
<stat name="pipeline_duty_cycle" value="0.6"/><!--<=1, runtime_ipc/peak_ipc; averaged for all cores if homogenous -->
<!-- the following cycle stats are used for heterogeneouse cores only,
please ignore them if homogeneouse cores -->
<stat name="total_cycles" value="100000"/>
<stat name="idle_cycles" value="0"/>
<stat name="busy_cycles" value="100000"/>
<!-- instruction buffer stats -->
<!-- ROB stats, both RS and Phy based OoOs have ROB
performance simulator should capture the difference on accesses,
otherwise, McPAT has to guess based on number of commited instructions. -->
<stat name="ROB_reads" value="263886"/>
<stat name="ROB_writes" value="263886"/>
<!-- RAT accesses -->
<stat name="rename_accesses" value="263886"/>
<stat name="fp_rename_accesses" value="263886"/>
<!-- decode and rename stage use this, should be total ic - nop -->
<!-- Inst window stats -->
<stat name="inst_window_reads" value="263886"/>
<stat name="inst_window_writes" value="263886"/>
<stat name="inst_window_wakeup_accesses" value="263886"/>
<stat name="fp_inst_window_reads" value="263886"/>
<stat name="fp_inst_window_writes" value="263886"/>
<stat name="fp_inst_window_wakeup_accesses" value="263886"/>
<!-- RF accesses -->
<stat name="int_regfile_reads" value="1600000"/>
<stat name="float_regfile_reads" value="40000"/>
<stat name="int_regfile_writes" value="800000"/>
<stat name="float_regfile_writes" value="20000"/>
<!-- accesses to the working reg -->
<stat name="function_calls" value="5"/>
<stat name="context_switches" value="260343"/>
<!-- Number of Windowes switches (number of function calls and returns)-->
<!-- Alu stats by default, the processor has one FPU that includes the divider and
multiplier. The fpu accesses should include accesses to multiplier and divider -->
<stat name="ialu_accesses" value="800000"/>
<stat name="fpu_accesses" value="10000"/>
<stat name="mul_accesses" value="100000"/>
<stat name="cdb_alu_accesses" value="1000000"/>
<stat name="cdb_mul_accesses" value="0"/>
<stat name="cdb_fpu_accesses" value="0"/>
<!-- multiple cycle accesses should be counted multiple times,
otherwise, McPAT can use internal counter for different floating point instructions
to get final accesses. But that needs detailed info for floating point inst mix -->
<!-- currently the performance simulator should
make sure all the numbers are final numbers,
including the explicit read/write accesses,
and the implicite accesses such as replacements and etc.
Future versions of McPAT may be able to reason the implicite access
based on param and stats of last level cache
The same rule applies to all cache access stats too! -->
<!-- following is AF for max power computation.
Do not change them, unless you understand them-->
<stat name="IFU_duty_cycle" value="0.25"/>
<stat name="LSU_duty_cycle" value="0.25"/>
<stat name="MemManU_I_duty_cycle" value="1"/>
<stat name="MemManU_D_duty_cycle" value="0.25"/>
<stat name="ALU_duty_cycle" value="0.9"/>
<stat name="MUL_duty_cycle" value="0.5"/>
<stat name="FPU_duty_cycle" value="0.4"/>
<stat name="ALU_cdb_duty_cycle" value="0.9"/>
<stat name="MUL_cdb_duty_cycle" value="0.5"/>
<stat name="FPU_cdb_duty_cycle" value="0.4"/>
<component id="system.core0.predictor" name="PBT">
<!-- branch predictor; tournament predictor see Alpha implementation -->
<param name="local_predictor_size" value="10,3"/>
<param name="local_predictor_entries" value="1024"/>
<param name="global_predictor_entries" value="4096"/>
<param name="global_predictor_bits" value="2"/>
<param name="chooser_predictor_entries" value="4096"/>
<param name="chooser_predictor_bits" value="2"/>
<!-- These parameters can be combined like below in next version
<param name="load_predictor" value="10,3,1024"/>
<param name="global_predictor" value="4096,2"/>
<param name="predictor_chooser" value="4096,2"/>
-->
</component>
<component id="system.core0.itlb" name="itlb">
<param name="number_entries" value="64"/>
<stat name="total_accesses" value="800000"/>
<stat name="total_misses" value="4"/>
<stat name="conflicts" value="0"/>
<!-- there is no write requests to itlb although writes happen to itlb after miss,
which is actually a replacement -->
</component>
<component id="system.core0.icache" name="icache">
<!-- there is no write requests to itlb although writes happen to it after miss,
which is actually a replacement -->
<param name="icache_config" value="16384,32,4,1,1,3,8,0"/>
<!-- the parameters are capacity,block_width, associativity, bank, throughput w.r.t. core clock, latency w.r.t. core clock,output_width, cache policy -->
<!-- cache_policy;//0 no write or write-though with non-write allocate;1 write-back with write-allocate -->
<param name="buffer_sizes" value="16, 16, 16,0"/>
<!-- cache controller buffer sizes: miss_buffer_size(MSHR),fill_buffer_size,prefetch_buffer_size,wb_buffer_size-->
<stat name="read_accesses" value="200000"/>
<stat name="read_misses" value="0"/>
<stat name="conflicts" value="0"/>
</component>
<component id="system.core0.dtlb" name="dtlb">
<param name="number_entries" value="64"/>
<stat name="total_accesses" value="200000"/>
<stat name="total_misses" value="4"/>
<stat name="conflicts" value="0"/>
</component>
<component id="system.core0.dcache" name="dcache">
<!-- all the buffer related are optional -->
<param name="dcache_config" value="8192,16,4,1,1,3,16,0"/>
<param name="buffer_sizes" value="16, 16, 16, 16"/>
<!-- cache controller buffer sizes: miss_buffer_size(MSHR),fill_buffer_size,prefetch_buffer_size,wb_buffer_size-->
<stat name="read_accesses" value="200000"/>
<stat name="write_accesses" value="27276"/>
<stat name="read_misses" value="1632"/>
<stat name="write_misses" value="183"/>
<stat name="conflicts" value="0"/>
</component>
<component id="system.core0.BTB" name="BTB">
<!-- all the buffer related are optional -->
<param name="BTB_config" value="8192,4,2,1, 1,3"/>
<!-- the parameters are capacity,block_width,associativity,bank, throughput w.r.t. core clock, latency w.r.t. core clock,-->
</component>
</component>
<component id="system.L1Directory0" name="L1Directory0">
<param name="Directory_type" value="0"/>
<!--0 cam based shadowed tag. 1 directory cache -->
<param name="Dir_config" value="2048,1,0,1, 4, 4,8"/>
<!-- the parameters are capacity,block_width, associativity,bank, throughput w.r.t. core clock, latency w.r.t. core clock,-->
<param name="buffer_sizes" value="8, 8, 8, 8"/>
<!-- all the buffer related are optional -->
<param name="clockrate" value="3500"/>
<param name="ports" value="1,1,1"/>
<!-- number of r, w, and rw search ports -->
<param name="device_type" value="0"/>
<!-- altough there are multiple access types,
Performance simulator needs to cast them into reads or writes
e.g. the invalidates can be considered as writes -->
<stat name="read_accesses" value="800000"/>
<stat name="write_accesses" value="27276"/>
<stat name="read_misses" value="1632"/>
<stat name="write_misses" value="183"/>
<stat name="conflicts" value="20"/>
<stat name="duty_cycle" value="0.45"/>
</component>
<component id="system.L2Directory0" name="L2Directory0">
<param name="Directory_type" value="1"/>
<!--0 cam based shadowed tag. 1 directory cache -->
<param name="Dir_config" value="1048576,16,16,1,2, 100"/>
<!-- the parameters are capacity,block_width, associativity,bank, throughput w.r.t. core clock, latency w.r.t. core clock,-->
<param name="buffer_sizes" value="8, 8, 8, 8"/>
<!-- all the buffer related are optional -->
<param name="clockrate" value="3500"/>
<param name="ports" value="1,1,1"/>
<!-- number of r, w, and rw search ports -->
<param name="device_type" value="0"/>
<!-- altough there are multiple access types,
Performance simulator needs to cast them into reads or writes
e.g. the invalidates can be considered as writes -->
<stat name="read_accesses" value="58824"/>
<stat name="write_accesses" value="27276"/>
<stat name="read_misses" value="1632"/>
<stat name="write_misses" value="183"/>
<stat name="conflicts" value="100"/>
<stat name="duty_cycle" value="0.45"/>
</component>
<component id="system.L20" name="L20">
<!-- all the buffer related are optional -->
<param name="L2_config" value="1048576,64,16,1, 4,23, 64, 1"/>
<!-- consider 4-way bank interleaving for Niagara 1 -->
<!-- the parameters are capacity,block_width, associativity, bank, throughput w.r.t. core clock, latency w.r.t. core clock,output_width, cache policy -->
<param name="buffer_sizes" value="16, 16, 16, 16"/>
<!-- cache controller buffer sizes: miss_buffer_size(MSHR),fill_buffer_size,prefetch_buffer_size,wb_buffer_size-->
<param name="clockrate" value="3500"/>
<param name="ports" value="1,1,1"/>
<!-- number of r, w, and rw ports -->
<param name="device_type" value="0"/>
<stat name="read_accesses" value="200000"/>
<stat name="write_accesses" value="0"/>
<stat name="read_misses" value="0"/>
<stat name="write_misses" value="0"/>
<stat name="conflicts" value="0"/>
<stat name="duty_cycle" value="0.5"/>
</component>
<!--**********************************************************************-->
<component id="system.L30" name="L30">
<param name="L3_config" value="1048576,64,16,1, 2,100, 64,1"/>
<!-- the parameters are capacity,block_width, associativity, bank, throughput w.r.t. core clock, latency w.r.t. core clock,output_width, cache policy -->
<param name="clockrate" value="3500"/>
<param name="ports" value="1,1,1"/>
<!-- number of r, w, and rw ports -->
<param name="device_type" value="0"/>
<param name="buffer_sizes" value="16, 16, 16, 16"/>
<!-- cache controller buffer sizes: miss_buffer_size(MSHR),fill_buffer_size,prefetch_buffer_size,wb_buffer_size-->
<stat name="read_accesses" value="58824"/>
<stat name="write_accesses" value="27276"/>
<stat name="read_misses" value="1632"/>
<stat name="write_misses" value="183"/>
<stat name="conflicts" value="0"/>
<stat name="duty_cycle" value="0.35"/>
</component>
<!--**********************************************************************-->
<component id="system.NoC0" name="noc0">
<param name="clockrate" value="3500"/>
<param name="type" value="1"/>
<!-- 1 NoC, O bus -->
<param name="horizontal_nodes" value="8"/>
<param name="vertical_nodes" value="8"/>
<param name="has_global_link" value="1"/>
<!-- 1 has global link, 0 does not have global link -->
<param name="link_throughput" value="1"/><!--w.r.t clock -->
<param name="link_latency" value="1"/><!--w.r.t clock -->
<!-- througput >= latency -->
<!-- Router architecture -->
<param name="input_ports" value="5"/>
<param name="output_ports" value="5"/>
<param name="virtual_channel_per_port" value="1"/>
<!-- input buffer; in classic routers only input ports need buffers -->
<param name="flit_bits" value="256"/>
<param name="input_buffer_entries_per_vc" value="4"/><!--VCs within the same ports share input buffers whose size is propotional to the number of VCs-->
<param name="chip_coverage" value="1"/>
<!-- When multiple NOC present, one NOC will cover part of the whole chip. chip_coverage <=1 -->
<stat name="total_accesses" value="360000"/>
<!-- This is the number of total accesses within the whole network not for each router -->
<stat name="duty_cycle" value="0.1"/>
</component>
<!--**********************************************************************-->
<component id="system.mem" name="mem">
<!-- Main memory property -->
<param name="mem_tech_node" value="32"/>
<param name="device_clock" value="200"/><!--MHz, this is clock rate of the actual memory device, not the FSB -->
<param name="peak_transfer_rate" value="3200"/><!--MB/S-->
<param name="internal_prefetch_of_DRAM_chip" value="4"/>
<!-- 2 for DDR, 4 for DDR2, 8 for DDR3...-->
<!-- the device clock, peak_transfer_rate, and the internal prefetch decide the DIMM property -->
<!-- above numbers can be easily found from Wikipedia -->
<param name="capacity_per_channel" value="4096"/> <!-- MB -->
<!-- capacity_per_Dram_chip=capacity_per_channel/number_of_dimms/number_ranks/Dram_chips_per_rank
Current McPAT assumes single DIMMs are used.-->
<param name="number_ranks" value="2"/>
<param name="num_banks_of_DRAM_chip" value="8"/>
<param name="Block_width_of_DRAM_chip" value="64"/> <!-- B -->
<param name="output_width_of_DRAM_chip" value="8"/>
<!--number of Dram_chips_per_rank=" 72/output_width_of_DRAM_chip-->
<!--number of Dram_chips_per_rank=" 72/output_width_of_DRAM_chip-->
<param name="page_size_of_DRAM_chip" value="8"/> <!-- 8 or 16 -->
<param name="burstlength_of_DRAM_chip" value="8"/>
<stat name="memory_accesses" value="1052"/>
<stat name="memory_reads" value="1052"/>
<stat name="memory_writes" value="1052"/>
</component>
<component id="system.mc" name="mc">
<!-- Memeory controllers are for DDR(2,3...) DIMMs -->
<!-- current version of McPAT uses published values for base parameters of memory controller
improvments on MC will be added in later versions. -->
<param name="mc_clock" value="200"/><!--DIMM IO bus clock rate MHz DDR2-400 for Niagara 1-->
<param name="peak_transfer_rate" value="3200"/><!--MB/S-->
<param name="llc_line_length" value="64"/><!--B-->
<param name="number_mcs" value="4"/>
<!-- current McPAT only supports homogeneous memory controllers -->
<param name="memory_channels_per_mc" value="1"/>
<param name="number_ranks" value="2"/>
<!-- # of ranks of each channel-->
<param name="req_window_size_per_channel" value="32"/>
<param name="IO_buffer_size_per_channel" value="32"/>
<param name="databus_width" value="128"/>
<param name="addressbus_width" value="51"/>
<!-- McPAT will add the control bus width to the addressbus width automatically -->
<stat name="memory_accesses" value="33333"/>
<stat name="memory_reads" value="16667"/>
<stat name="memory_writes" value="16667"/>
<!-- McPAT does not track individual mc, instead, it takes the total accesses and calculate
the average power per MC or per channel. This is sufficent for most application.
Further trackdown can be easily added in later versions. -->
</component>
<!--**********************************************************************-->
</component>
</component>
|
{
"pile_set_name": "Github"
}
|
<?php
/**
* Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for
* more information.
*/
function page_manager_contact_user_page_manager_tasks() {
if (!module_exists('contact')) {
return;
}
return array(
// This is a 'page' task and will fall under the page admin UI
'task type' => 'page',
'title' => t('User contact'),
'admin title' => t('User contact'),
'admin description' => t('When enabled, this overrides the default Drupal behavior for displaying the user contact form at <em>user/%user/contact</em>. If no variant is selected, the default Drupal user contact form will be used.'),
'admin path' => 'user/%user/contact',
// Callback to add items to the page managertask administration form:
'task admin' => 'page_manager_contact_user_task_admin',
'hook menu alter' => 'page_manager_contact_user_menu_alter',
// This is task uses 'context' handlers and must implement these to give the
// handler data it needs.
'handler type' => 'context', // handler type -- misnamed
'get arguments' => 'page_manager_contact_user_get_arguments',
'get context placeholders' => 'page_manager_contact_user_get_contexts',
// Allow this to be enabled or disabled:
'disabled' => variable_get('page_manager_contact_user_disabled', TRUE),
'enable callback' => 'page_manager_contact_user_enable',
);
}
/**
* Callback defined by page_manager_contact_user_page_manager_tasks().
*
* Alter the user view input so that user view comes to us rather than the
* normal user view process.
*/
function page_manager_contact_user_menu_alter(&$items, $task) {
if (variable_get('page_manager_contact_user_disabled', TRUE)) {
return;
}
// Override the user view handler for our purpose.
if ($items['user/%user/contact']['page callback'] == 'contact_user_page' || variable_get('page_manager_override_anyway', FALSE)) {
$items['user/%user/contact']['page callback'] = 'page_manager_contact_user';
$items['user/%user/contact']['file path'] = $task['path'];
$items['user/%user/contact']['file'] = $task['file'];
}
else {
// automatically disable this task if it cannot be enabled.
variable_set('page_manager_contact_user_disabled', TRUE);
if (!empty($GLOBALS['page_manager_enabling_contact_user'])) {
drupal_set_message(t('Page manager module is unable to enable user/%user/contact because some other module already has overridden with %callback.', array('%callback' => $items['user/%user/contact']['page callback'])), 'error');
}
}
}
/**
* Entry point for our overridden user view.
*
* This function asks its assigned handlers who, if anyone, would like
* to run with it. If no one does, it passes through to Drupal core's
* user view, which is user_page_view().
*/
function page_manager_contact_user($account) {
// Load my task plugin:
$task = page_manager_get_task('contact_user');
// Load the account into a context.
ctools_include('context');
ctools_include('context-task-handler');
$contexts = ctools_context_handler_get_task_contexts($task, '', array($account));
$output = ctools_context_handler_render($task, '', $contexts, array($account->uid));
if ($output !== FALSE) {
return $output;
}
module_load_include('inc', 'contact', 'contact.pages');
$function = 'contact_user_page';
foreach (module_implements('page_manager_override') as $module) {
$call = $module . '_page_manager_override';
if (($rc = $call('contact_user')) && function_exists($rc)) {
$function = $rc;
break;
}
}
// Otherwise, fall back.
return $function($account);
}
/**
* Callback to get arguments provided by this task handler.
*
* Since this is the node view and there is no UI on the arguments, we
* create dummy arguments that contain the needed data.
*/
function page_manager_contact_user_get_arguments($task, $subtask_id) {
return array(
array(
'keyword' => 'user',
'identifier' => t('User being viewed'),
'id' => 1,
'name' => 'uid',
'settings' => array(),
),
);
}
/**
* Callback to get context placeholders provided by this handler.
*/
function page_manager_contact_user_get_contexts($task, $subtask_id) {
return ctools_context_get_placeholders_from_argument(page_manager_contact_user_get_arguments($task, $subtask_id));
}
/**
* Callback to enable/disable the page from the UI.
*/
function page_manager_contact_user_enable($cache, $status) {
variable_set('page_manager_contact_user_disabled', $status);
// Set a global flag so that the menu routine knows it needs
// to set a message if enabling cannot be done.
if (!$status) {
$GLOBALS['page_manager_enabling_contact_user'] = TRUE;
}
}
|
{
"pile_set_name": "Github"
}
|
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
|
{
"pile_set_name": "Github"
}
|
---
layout: example
title: Wheat Plot Example
permalink: /examples/wheat-plot/index.html
spec: wheat-plot
image: /examples/img/wheat-plot.png
---
A [wheat plot](http://www.perceptualedge.com/articles/visual_business_intelligence/the_datavis_jitterbug.pdf) is an alternative to standard dot plots and histograms that incorporates aspects of both. The x-coordinate of a point is based on its exact value. The y-coordinate is determined by grouping points into histogram bins, then stacking them based on their rank order within each bin. While not scalable to large numbers of data points, wheat plots allow inspection of (and interaction with) individual points without overplotting. For a related approach, see [beeswarm plots](../beeswarm-plot/).
{% include example spec=page.spec %}
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="it.tiwiz.rxjavacrunch.part9.Part9Activity">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Retain configuration instance (value)" />
<TextView
android:id="@+id/currentValue"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:textAppearanceLarge"
android:padding="@dimen/activity_vertical_margin"
android:gravity="center"
tools:text="10"/>
</LinearLayout>
|
{
"pile_set_name": "Github"
}
|
/* eslint-disable eslint-comments/disable-enable-pair */
/* eslint-disable import/no-mutable-exports */
let CURRENT = 'NULL';
/**
* use authority or getAuthority
* @param {string|()=>String} currentAuthority
*/
const renderAuthorize = Authorized => currentAuthority => {
if (currentAuthority) {
if (typeof currentAuthority === 'function') {
CURRENT = currentAuthority();
}
if (
Object.prototype.toString.call(currentAuthority) === '[object String]' ||
Array.isArray(currentAuthority)
) {
CURRENT = currentAuthority;
}
} else {
CURRENT = 'NULL';
}
return Authorized;
};
export { CURRENT };
export default Authorized => renderAuthorize(Authorized);
|
{
"pile_set_name": "Github"
}
|
1634 1574848011319 httpcache-v1
Method: POST
URL: https://www.notion.so/api/v3/getRecordValues
Body:+110
{
"requests": [
{
"id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"table": "block"
}
]
}
Response:+1434
{
"results": [
{
"role": "comment_only",
"value": {
"alive": true,
"content": [
"e204cc5a-6d54-4c9a-aec7-ba7dda2738bd",
"3d6cf5ef-5339-4b1e-903d-0c9a5718d3e4",
"c931de19-15e4-42af-8b25-4b91c23aa69e",
"abd1ba9e-4450-481a-a596-e9a5883d0e23",
"99c91818-8d5c-43f2-8c50-9120f31b066b",
"7536037c-e9cb-4d60-bf6d-81db01f4ee20",
"7b6188a1-2316-47fa-91cc-b5e98a64f65f",
"37de4e0f-64d8-469d-ba64-1ed58bbab771"
],
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_by_id": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_by_table": "notion_user",
"created_time": 1551946003534,
"format": {
"page_full_width": true,
"page_small_text": true
},
"id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_by_id": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_by_table": "notion_user",
"last_edited_time": 1551946003534,
"parent_id": "dc371b5c-6e7e-4e07-8e13-217dd1e6172f",
"parent_table": "block",
"properties": {
"title": [
[
"overflow scroll"
]
]
},
"type": "page",
"version": 7
}
}
]
}
15376 1574848011320 httpcache-v1
Method: POST
URL: https://www.notion.so/api/v3/loadPageChunk
Body:+152
{
"chunkNumber": 0,
"cursor": {
"stack": []
},
"limit": 50,
"pageId": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"verticalColumns": false
}
Response:+15135
{
"cursor": {
"stack": []
},
"recordMap": {
"block": {
"18bfe038-1096-49f4-8904-e71ca18d76ed": {
"role": "comment_only",
"value": {
"alive": true,
"content": [
"de69ce46-4a84-4664-a79d-a8437cc023a2",
"6447d07e-7279-4ef8-ad31-221f6202a958",
"b5232adc-60a1-4030-aec3-ac8cfbc40c48",
"fd36e28b-d46e-4e85-8e33-850a518cc83b",
"98e6c7b5-3bf2-46c6-80d3-c5cbd31a66f9",
"7a254330-19a7-4078-9eb8-742c9947c27e",
"46bc5a5e-461b-4eea-ae50-1350e8c216f2",
"700875db-418d-425e-a5bc-4f233df26393",
"8d4886c1-0f85-4e70-8001-4f310f6668e5",
"a532af1c-38ff-4edb-a80f-44aaf3ccc3dc",
"5fee4d4d-52a7-4aa3-a0a2-aa7058cc0bf7",
"e012f912-2f98-4998-b135-e4e66d4b296a",
"8af638cc-537f-4b8f-a653-1a9437d3ac91",
"8ad0b607-0b54-4717-af1f-aaad85004d7a",
"c50f71ff-6d61-466c-bcd2-5bf31d7f79f2",
"07e243d7-106d-41a6-a70a-54841524dfcf",
"ee0aa8d5-16eb-4655-a3e4-1207a664ff8d",
"2f766cdc-785a-4190-bb87-fe34634ce93e",
"cfe69373-b211-484f-859d-994b14c21101",
"04974825-61b2-4800-ae16-c05860d63e8b",
"bb456a6b-e908-423a-9f01-4100ba169355",
"dbaba9a4-66d7-412d-b2c9-3da6f51a9e9a",
"2abad8a1-f82a-4e33-b817-7e35df65d648",
"6ef12527-82ae-43bf-9d83-10c7e4f6b679",
"325b6445-db10-4fc3-a31f-291360b669b7",
"b21963da-f818-4709-8a20-7a8c6cb88159",
"b4240597-9643-4c68-b3a4-8effe38559fd",
"c07e46a0-dbd4-4d9a-a7dd-7fa847bce4ff",
"ae18c98c-9032-491b-b984-171019e74029",
"0e939055-c399-4797-bc21-990b347dae23",
"f6444ef0-3c83-43a3-86be-f9a075d908f4",
"cf0362b8-6e4e-49e6-9095-491801d0527a",
"7178e7e9-93fe-4d60-84de-29271ca4ed9a",
"13d6e8c9-4b63-4f68-8735-21b9e3ecde18",
"67afe3a0-9215-4b71-a6ba-01022485f703",
"1fa750ee-637a-4507-a179-de35cff27ee6",
"96ef4707-530e-46e7-83ea-44b8e0942142",
"74c97777-0820-445d-a5e9-e83344297798",
"e7833d5c-379d-420f-ba51-ef44b8c4115e",
"cdcda7af-0abd-41da-9da0-df9cd78cd933",
"3dad8422-9fd0-44f5-af2d-9f073bdf094d",
"e9225abc-d9b1-4d31-a198-f7989d53b201",
"569b653b-8c46-41da-bbb6-43badd1b8184",
"846517a8-7e11-4dbb-95f6-d465b22654cc",
"a0f52163-92b9-4ebe-a5a6-f92f4bbb23ec",
"3a8f7033-0e15-46d4-8e08-f182fcbbd38d",
"918e8e2b-d2af-4106-b9de-f23c6e6848ed",
"dc371b5c-6e7e-4e07-8e13-217dd1e6172f",
"17762587-a566-4b52-9f4c-d879db1cdfd7",
"e3859e10-527d-4464-bb5e-abd159e7debe",
"567b8685-62e7-458f-84e5-812f701291bf",
"293d87a0-951a-45c1-b5e6-000a3f655a44",
"bd677d4f-1848-4e73-b270-c999c66de3bf",
"26e07e04-43ea-4728-be9d-d1023c1766cc",
"26228db1-a709-45ac-b18b-f6da01bf2005",
"cc368be6-de28-48b0-bff1-5d7584737114",
"f8858db0-ce6b-4454-879a-c60a0cfbcd09",
"f83a172b-4b07-4ba9-ac68-3ee297828b82"
],
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_by_id": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_by_table": "notion_user",
"created_time": 1551944923897,
"format": {
"page_full_width": true,
"page_small_text": true
},
"id": "18bfe038-1096-49f4-8904-e71ca18d76ed",
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_by_id": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_by_table": "notion_user",
"last_edited_time": 1570604820000,
"parent_id": "ca9c0a7c-eb82-42d5-879f-ef8a96839b12",
"parent_table": "block",
"permissions": [
{
"allow_search_engine_indexing": false,
"role": "comment_only",
"type": "public_permission"
}
],
"properties": {
"title": [
[
"Essential CSS"
]
]
},
"type": "page",
"version": 100
}
},
"37de4e0f-64d8-469d-ba64-1ed58bbab771": {
"role": "comment_only",
"value": {
"alive": true,
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_time": 1551946003534,
"id": "37de4e0f-64d8-469d-ba64-1ed58bbab771",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_time": 1551946003534,
"parent_id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"parent_table": "block",
"properties": {
"title": [
[
"Most desktop browsers will display both horizontal and vertical scrollbars, whether or not any content is clipped. This can avoid problems with scrollbars appearing and disappearing in a dynamic environment. Printers may print overflowing content."
]
]
},
"type": "text",
"version": 1
}
},
"3d6cf5ef-5339-4b1e-903d-0c9a5718d3e4": {
"role": "comment_only",
"value": {
"alive": true,
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_time": 1551946003533,
"id": "3d6cf5ef-5339-4b1e-903d-0c9a5718d3e4",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_time": 1551946003533,
"parent_id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"parent_table": "block",
"properties": {
"language": [
[
"Plain Text"
]
],
"title": [
[
"\u003cdiv\u003e\n This div is too small to display its contents to display the effects of the overflow property.\n\u003c/div\u003e"
]
]
},
"type": "code",
"version": 1
}
},
"7536037c-e9cb-4d60-bf6d-81db01f4ee20": {
"role": "comment_only",
"value": {
"alive": true,
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_time": 1551946003534,
"id": "7536037c-e9cb-4d60-bf6d-81db01f4ee20",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_time": 1551946003534,
"parent_id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"parent_table": "block",
"properties": {
"source": [
[
"/tmp/69224181-5b73-4bbb-b7f3-8ded3fd7567d/4e8c030606ae608fe4e13b33697951d91c330b19.png"
]
]
},
"type": "image",
"version": 1
}
},
"7b6188a1-2316-47fa-91cc-b5e98a64f65f": {
"role": "comment_only",
"value": {
"alive": true,
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_time": 1551946003534,
"id": "7b6188a1-2316-47fa-91cc-b5e98a64f65f",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_time": 1551946003534,
"parent_id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"parent_table": "block",
"properties": {
"title": [
[
"The content above is clipped in a 100px by 100px box, with scrolling available to view overflowing content."
]
]
},
"type": "text",
"version": 1
}
},
"99c91818-8d5c-43f2-8c50-9120f31b066b": {
"role": "comment_only",
"value": {
"alive": true,
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_time": 1551946003534,
"id": "99c91818-8d5c-43f2-8c50-9120f31b066b",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_time": 1551946003534,
"parent_id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"parent_table": "block",
"properties": {
"title": [
[
"Result",
[
[
"b"
]
]
]
]
},
"type": "text",
"version": 1
}
},
"abd1ba9e-4450-481a-a596-e9a5883d0e23": {
"role": "comment_only",
"value": {
"alive": true,
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_time": 1551946003534,
"id": "abd1ba9e-4450-481a-a596-e9a5883d0e23",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_time": 1551946003534,
"parent_id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"parent_table": "block",
"properties": {
"language": [
[
"Plain Text"
]
],
"title": [
[
"div {\n width:100px;\n height:100px;\n overflow:scroll;\n}"
]
]
},
"type": "code",
"version": 1
}
},
"c931de19-15e4-42af-8b25-4b91c23aa69e": {
"role": "comment_only",
"value": {
"alive": true,
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_by_id": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_by_table": "notion_user",
"created_time": 1551946003534,
"id": "c931de19-15e4-42af-8b25-4b91c23aa69e",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_by_id": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_by_table": "notion_user",
"last_edited_time": 1551946003534,
"parent_id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"parent_table": "block",
"properties": {
"title": [
[
"CSS",
[
[
"b"
]
]
]
]
},
"type": "text",
"version": 5
}
},
"dc371b5c-6e7e-4e07-8e13-217dd1e6172f": {
"role": "comment_only",
"value": {
"alive": true,
"content": [
"e4bc3b7d-5c46-4cb5-acf3-fbb678263825",
"d221c32f-ad78-4859-a98e-a211a6770995",
"f136e223-a6e8-4428-bbf4-676ef4725a68",
"1bbd320c-21cf-4d39-a7bf-259f7e9ffaec",
"b7d0c8c4-3db8-4394-ae8d-28d689693cc1",
"f96fbd13-2083-4544-85f0-d9be6bdf20d0"
],
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_time": 1551945960000,
"format": {
"page_full_width": true,
"page_small_text": true
},
"id": "dc371b5c-6e7e-4e07-8e13-217dd1e6172f",
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_time": 1551946200000,
"parent_id": "18bfe038-1096-49f4-8904-e71ca18d76ed",
"parent_table": "block",
"permissions": [
{
"role": "editor",
"type": "user_permission",
"user_id": "bb760e2d-d679-4b64-b2a9-03005b21870a"
}
],
"properties": {
"title": [
[
"Overflow"
]
]
},
"type": "page",
"version": 24
}
},
"e204cc5a-6d54-4c9a-aec7-ba7dda2738bd": {
"role": "comment_only",
"value": {
"alive": true,
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_time": 1551946003531,
"id": "e204cc5a-6d54-4c9a-aec7-ba7dda2738bd",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_time": 1551946003531,
"parent_id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"parent_table": "block",
"properties": {
"title": [
[
"HTML",
[
[
"b"
]
]
]
]
},
"type": "text",
"version": 1
}
},
"f136e223-a6e8-4428-bbf4-676ef4725a68": {
"role": "comment_only",
"value": {
"alive": true,
"content": [
"e204cc5a-6d54-4c9a-aec7-ba7dda2738bd",
"3d6cf5ef-5339-4b1e-903d-0c9a5718d3e4",
"c931de19-15e4-42af-8b25-4b91c23aa69e",
"abd1ba9e-4450-481a-a596-e9a5883d0e23",
"99c91818-8d5c-43f2-8c50-9120f31b066b",
"7536037c-e9cb-4d60-bf6d-81db01f4ee20",
"7b6188a1-2316-47fa-91cc-b5e98a64f65f",
"37de4e0f-64d8-469d-ba64-1ed58bbab771"
],
"created_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_by_id": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"created_by_table": "notion_user",
"created_time": 1551946003534,
"format": {
"page_full_width": true,
"page_small_text": true
},
"id": "f136e223-a6e8-4428-bbf4-676ef4725a68",
"ignore_block_count": true,
"last_edited_by": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_by_id": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"last_edited_by_table": "notion_user",
"last_edited_time": 1551946003534,
"parent_id": "dc371b5c-6e7e-4e07-8e13-217dd1e6172f",
"parent_table": "block",
"properties": {
"title": [
[
"overflow scroll"
]
]
},
"type": "page",
"version": 7
}
}
},
"notion_user": {
"bb760e2d-d679-4b64-b2a9-03005b21870a": {
"role": "reader",
"value": {
"clipper_onboarding_completed": true,
"email": "kkowalczyk@gmail.com",
"family_name": "Kowalczyk",
"given_name": "Krzysztof",
"id": "bb760e2d-d679-4b64-b2a9-03005b21870a",
"mobile_onboarding_completed": true,
"onboarding_completed": true,
"profile_photo": "https://s3-us-west-2.amazonaws.com/public.notion-static.com/2dcaa66c-7674-4ff6-9924-601785b63561/head-bw-640x960.png",
"version": 231
}
}
},
"space": {}
}
}
|
{
"pile_set_name": "Github"
}
|
$(document).ready(function() {
// $("#id_permissions_role").sSelect();
$("#newchannel-name").blur(function() {
$("#name-spinner").spin('small');
var zreg_name = $("#newchannel-name").val();
$.get("new_channel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
$("#newchannel-nickname").val(data);
zFormError("#newchannel-name-feedback",data.error);
$("#name-spinner").spin(false);
});
});
$("#newchannel-nickname").blur(function() {
$("#nick-spinner").spin('small');
var zreg_nick = $("#newchannel-nickname").val();
$.get("new_channel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
$("#newchannel-nickname").val(data);
zFormError("#newchannel-nickname-feedback",data.error);
$("#nick-spinner").spin(false);
});
});
});
|
{
"pile_set_name": "Github"
}
|
const func1 = function() {};
const object = {
func2: function() {}
};
console.log(func1.name);
// expected output: "func1"
console.log(object.func2.name);
// expected output: "func2"
|
{
"pile_set_name": "Github"
}
|
var path = require('path');
var test = require('tape');
var resolve = require('../');
test('mock', function (t) {
t.plan(8);
var files = {};
files[path.resolve('/foo/bar/baz.js')] = 'beep';
function opts(basedir) {
return {
basedir: path.resolve(basedir),
isFile: function (file, cb) {
cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
},
readFile: function (file, cb) {
cb(null, files[path.resolve(file)]);
}
};
}
resolve('./baz', opts('/foo/bar'), function (err, res, pkg) {
if (err) return t.fail(err);
t.equal(res, path.resolve('/foo/bar/baz.js'));
t.equal(pkg, undefined);
});
resolve('./baz.js', opts('/foo/bar'), function (err, res, pkg) {
if (err) return t.fail(err);
t.equal(res, path.resolve('/foo/bar/baz.js'));
t.equal(pkg, undefined);
});
resolve('baz', opts('/foo/bar'), function (err, res) {
t.equal(err.message, "Cannot find module 'baz' from '" + path.resolve('/foo/bar') + "'");
t.equal(err.code, 'MODULE_NOT_FOUND');
});
resolve('../baz', opts('/foo/bar'), function (err, res) {
t.equal(err.message, "Cannot find module '../baz' from '" + path.resolve('/foo/bar') + "'");
t.equal(err.code, 'MODULE_NOT_FOUND');
});
});
test('mock from package', function (t) {
t.plan(8);
var files = {};
files[path.resolve('/foo/bar/baz.js')] = 'beep';
function opts(basedir) {
return {
basedir: path.resolve(basedir),
isFile: function (file, cb) {
cb(null, Object.prototype.hasOwnProperty.call(files, file));
},
'package': { main: 'bar' },
readFile: function (file, cb) {
cb(null, files[file]);
}
};
}
resolve('./baz', opts('/foo/bar'), function (err, res, pkg) {
if (err) return t.fail(err);
t.equal(res, path.resolve('/foo/bar/baz.js'));
t.equal(pkg && pkg.main, 'bar');
});
resolve('./baz.js', opts('/foo/bar'), function (err, res, pkg) {
if (err) return t.fail(err);
t.equal(res, path.resolve('/foo/bar/baz.js'));
t.equal(pkg && pkg.main, 'bar');
});
resolve('baz', opts('/foo/bar'), function (err, res) {
t.equal(err.message, "Cannot find module 'baz' from '" + path.resolve('/foo/bar') + "'");
t.equal(err.code, 'MODULE_NOT_FOUND');
});
resolve('../baz', opts('/foo/bar'), function (err, res) {
t.equal(err.message, "Cannot find module '../baz' from '" + path.resolve('/foo/bar') + "'");
t.equal(err.code, 'MODULE_NOT_FOUND');
});
});
test('mock package', function (t) {
t.plan(2);
var files = {};
files[path.resolve('/foo/node_modules/bar/baz.js')] = 'beep';
files[path.resolve('/foo/node_modules/bar/package.json')] = JSON.stringify({
main: './baz.js'
});
function opts(basedir) {
return {
basedir: path.resolve(basedir),
isFile: function (file, cb) {
cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
},
readFile: function (file, cb) {
cb(null, files[path.resolve(file)]);
}
};
}
resolve('bar', opts('/foo'), function (err, res, pkg) {
if (err) return t.fail(err);
t.equal(res, path.resolve('/foo/node_modules/bar/baz.js'));
t.equal(pkg && pkg.main, './baz.js');
});
});
test('mock package from package', function (t) {
t.plan(2);
var files = {};
files[path.resolve('/foo/node_modules/bar/baz.js')] = 'beep';
files[path.resolve('/foo/node_modules/bar/package.json')] = JSON.stringify({
main: './baz.js'
});
function opts(basedir) {
return {
basedir: path.resolve(basedir),
isFile: function (file, cb) {
cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
},
'package': { main: 'bar' },
readFile: function (file, cb) {
cb(null, files[path.resolve(file)]);
}
};
}
resolve('bar', opts('/foo'), function (err, res, pkg) {
if (err) return t.fail(err);
t.equal(res, path.resolve('/foo/node_modules/bar/baz.js'));
t.equal(pkg && pkg.main, './baz.js');
});
});
|
{
"pile_set_name": "Github"
}
|
def extractLambytlWordpressCom(item):
'''
Parser for 'lambytl.wordpress.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('King of Classical Music', 'King of Classical Music', 'translated'),
('PRC', 'PRC', 'translated'),
('Loiterous', 'Loiterous', 'oel'),
]
for tagname, name, tl_type in tagmap:
if tagname in item['tags']:
return buildReleaseMessageWithType(item, name, vol, chp, frag=frag, postfix=postfix, tl_type=tl_type)
return False
|
{
"pile_set_name": "Github"
}
|
import fetch from 'dva/fetch';
import { notification } from 'antd';
function checkStatus(response) {
if (response.status >= 200 && response.status < 300) {
return response;
}
notification.error({
message: `请求错误 ${response.status}: ${response.url}`,
description: response.statusText,
});
const error = new Error(response.statusText);
error.response = response;
throw error;
}
/**
* Requests a URL, returning a promise.
*
* @param {string} url The URL we want to request
* @param {object} [options] The options we want to pass to "fetch"
* @return {object} An object containing either "data" or "err"
*/
export default function request(url, options) {
const defaultOptions = {
credentials: 'include',
};
const newOptions = { ...defaultOptions, ...options };
if (newOptions.method === 'POST' || newOptions.method === 'PUT') {
newOptions.headers = {
Accept: 'application/json',
'Content-Type': 'application/json; charset=utf-8',
...newOptions.headers,
};
newOptions.body = JSON.stringify(newOptions.body);
}
return fetch(url, newOptions)
.then(checkStatus)
.then(response => response.json())
.catch((error) => {
if (error.code) {
notification.error({
message: error.name,
description: error.message,
});
}
if ('stack' in error && 'message' in error) {
notification.error({
message: `request error: ${url}`,
description: error.message,
});
}
return error;
});
}
|
{
"pile_set_name": "Github"
}
|
'use strict';
module.exports = function(Chart) {
var helpers = Chart.helpers;
function filterByPosition(array, position) {
return helpers.where(array, function(v) {
return v.position === position;
});
}
function sortByWeight(array, reverse) {
array.forEach(function(v, i) {
v._tmpIndex_ = i;
return v;
});
array.sort(function(a, b) {
var v0 = reverse ? b : a;
var v1 = reverse ? a : b;
return v0.weight === v1.weight ?
v0._tmpIndex_ - v1._tmpIndex_ :
v0.weight - v1.weight;
});
array.forEach(function(v) {
delete v._tmpIndex_;
});
}
/**
* @interface ILayoutItem
* @prop {String} position - The position of the item in the chart layout. Possible values are
* 'left', 'top', 'right', 'bottom', and 'chartArea'
* @prop {Number} weight - The weight used to sort the item. Higher weights are further away from the chart area
* @prop {Boolean} fullWidth - if true, and the item is horizontal, then push vertical boxes down
* @prop {Function} isHorizontal - returns true if the layout item is horizontal (ie. top or bottom)
* @prop {Function} update - Takes two parameters: width and height. Returns size of item
* @prop {Function} getPadding - Returns an object with padding on the edges
* @prop {Number} width - Width of item. Must be valid after update()
* @prop {Number} height - Height of item. Must be valid after update()
* @prop {Number} left - Left edge of the item. Set by layout system and cannot be used in update
* @prop {Number} top - Top edge of the item. Set by layout system and cannot be used in update
* @prop {Number} right - Right edge of the item. Set by layout system and cannot be used in update
* @prop {Number} bottom - Bottom edge of the item. Set by layout system and cannot be used in update
*/
// The layout service is very self explanatory. It's responsible for the layout within a chart.
// Scales, Legends and Plugins all rely on the layout service and can easily register to be placed anywhere they need
// It is this service's responsibility of carrying out that layout.
Chart.layoutService = {
defaults: {},
/**
* Register a box to a chart.
* A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title.
* @param {Chart} chart - the chart to use
* @param {ILayoutItem} item - the item to add to be layed out
*/
addBox: function(chart, item) {
if (!chart.boxes) {
chart.boxes = [];
}
// initialize item with default values
item.fullWidth = item.fullWidth || false;
item.position = item.position || 'top';
item.weight = item.weight || 0;
chart.boxes.push(item);
},
/**
* Remove a layoutItem from a chart
* @param {Chart} chart - the chart to remove the box from
* @param {Object} layoutItem - the item to remove from the layout
*/
removeBox: function(chart, layoutItem) {
var index = chart.boxes? chart.boxes.indexOf(layoutItem) : -1;
if (index !== -1) {
chart.boxes.splice(index, 1);
}
},
/**
* Sets (or updates) options on the given `item`.
* @param {Chart} chart - the chart in which the item lives (or will be added to)
* @param {Object} item - the item to configure with the given options
* @param {Object} options - the new item options.
*/
configure: function(chart, item, options) {
var props = ['fullWidth', 'position', 'weight'];
var ilen = props.length;
var i = 0;
var prop;
for (; i<ilen; ++i) {
prop = props[i];
if (options.hasOwnProperty(prop)) {
item[prop] = options[prop];
}
}
},
/**
* Fits boxes of the given chart into the given size by having each box measure itself
* then running a fitting algorithm
* @param {Chart} chart - the chart
* @param {Number} width - the width to fit into
* @param {Number} height - the height to fit into
*/
update: function(chart, width, height) {
if (!chart) {
return;
}
var layoutOptions = chart.options.layout;
var padding = layoutOptions ? layoutOptions.padding : null;
var leftPadding = 0;
var rightPadding = 0;
var topPadding = 0;
var bottomPadding = 0;
if (!isNaN(padding)) {
// options.layout.padding is a number. assign to all
leftPadding = padding;
rightPadding = padding;
topPadding = padding;
bottomPadding = padding;
} else {
leftPadding = padding.left || 0;
rightPadding = padding.right || 0;
topPadding = padding.top || 0;
bottomPadding = padding.bottom || 0;
}
var leftBoxes = filterByPosition(chart.boxes, 'left');
var rightBoxes = filterByPosition(chart.boxes, 'right');
var topBoxes = filterByPosition(chart.boxes, 'top');
var bottomBoxes = filterByPosition(chart.boxes, 'bottom');
var chartAreaBoxes = filterByPosition(chart.boxes, 'chartArea');
// Sort boxes by weight. A higher weight is further away from the chart area
sortByWeight(leftBoxes, true);
sortByWeight(rightBoxes, false);
sortByWeight(topBoxes, true);
sortByWeight(bottomBoxes, false);
// Essentially we now have any number of boxes on each of the 4 sides.
// Our canvas looks like the following.
// The areas L1 and L2 are the left axes. R1 is the right axis, T1 is the top axis and
// B1 is the bottom axis
// There are also 4 quadrant-like locations (left to right instead of clockwise) reserved for chart overlays
// These locations are single-box locations only, when trying to register a chartArea location that is already taken,
// an error will be thrown.
//
// |----------------------------------------------------|
// | T1 (Full Width) |
// |----------------------------------------------------|
// | | | T2 | |
// | |----|-------------------------------------|----|
// | | | C1 | | C2 | |
// | | |----| |----| |
// | | | | |
// | L1 | L2 | ChartArea (C0) | R1 |
// | | | | |
// | | |----| |----| |
// | | | C3 | | C4 | |
// | |----|-------------------------------------|----|
// | | | B1 | |
// |----------------------------------------------------|
// | B2 (Full Width) |
// |----------------------------------------------------|
//
// What we do to find the best sizing, we do the following
// 1. Determine the minimum size of the chart area.
// 2. Split the remaining width equally between each vertical axis
// 3. Split the remaining height equally between each horizontal axis
// 4. Give each layout the maximum size it can be. The layout will return it's minimum size
// 5. Adjust the sizes of each axis based on it's minimum reported size.
// 6. Refit each axis
// 7. Position each axis in the final location
// 8. Tell the chart the final location of the chart area
// 9. Tell any axes that overlay the chart area the positions of the chart area
// Step 1
var chartWidth = width - leftPadding - rightPadding;
var chartHeight = height - topPadding - bottomPadding;
var chartAreaWidth = chartWidth / 2; // min 50%
var chartAreaHeight = chartHeight / 2; // min 50%
// Step 2
var verticalBoxWidth = (width - chartAreaWidth) / (leftBoxes.length + rightBoxes.length);
// Step 3
var horizontalBoxHeight = (height - chartAreaHeight) / (topBoxes.length + bottomBoxes.length);
// Step 4
var maxChartAreaWidth = chartWidth;
var maxChartAreaHeight = chartHeight;
var minBoxSizes = [];
function getMinimumBoxSize(box) {
var minSize;
var isHorizontal = box.isHorizontal();
if (isHorizontal) {
minSize = box.update(box.fullWidth ? chartWidth : maxChartAreaWidth, horizontalBoxHeight);
maxChartAreaHeight -= minSize.height;
} else {
minSize = box.update(verticalBoxWidth, chartAreaHeight);
maxChartAreaWidth -= minSize.width;
}
minBoxSizes.push({
horizontal: isHorizontal,
minSize: minSize,
box: box,
});
}
helpers.each(leftBoxes.concat(rightBoxes, topBoxes, bottomBoxes), getMinimumBoxSize);
// If a horizontal box has padding, we move the left boxes over to avoid ugly charts (see issue #2478)
var maxHorizontalLeftPadding = 0;
var maxHorizontalRightPadding = 0;
var maxVerticalTopPadding = 0;
var maxVerticalBottomPadding = 0;
helpers.each(topBoxes.concat(bottomBoxes), function(horizontalBox) {
if (horizontalBox.getPadding) {
var boxPadding = horizontalBox.getPadding();
maxHorizontalLeftPadding = Math.max(maxHorizontalLeftPadding, boxPadding.left);
maxHorizontalRightPadding = Math.max(maxHorizontalRightPadding, boxPadding.right);
}
});
helpers.each(leftBoxes.concat(rightBoxes), function(verticalBox) {
if (verticalBox.getPadding) {
var boxPadding = verticalBox.getPadding();
maxVerticalTopPadding = Math.max(maxVerticalTopPadding, boxPadding.top);
maxVerticalBottomPadding = Math.max(maxVerticalBottomPadding, boxPadding.bottom);
}
});
// At this point, maxChartAreaHeight and maxChartAreaWidth are the size the chart area could
// be if the axes are drawn at their minimum sizes.
// Steps 5 & 6
var totalLeftBoxesWidth = leftPadding;
var totalRightBoxesWidth = rightPadding;
var totalTopBoxesHeight = topPadding;
var totalBottomBoxesHeight = bottomPadding;
// Function to fit a box
function fitBox(box) {
var minBoxSize = helpers.findNextWhere(minBoxSizes, function(minBox) {
return minBox.box === box;
});
if (minBoxSize) {
if (box.isHorizontal()) {
var scaleMargin = {
left: Math.max(totalLeftBoxesWidth, maxHorizontalLeftPadding),
right: Math.max(totalRightBoxesWidth, maxHorizontalRightPadding),
top: 0,
bottom: 0
};
// Don't use min size here because of label rotation. When the labels are rotated, their rotation highly depends
// on the margin. Sometimes they need to increase in size slightly
box.update(box.fullWidth ? chartWidth : maxChartAreaWidth, chartHeight / 2, scaleMargin);
} else {
box.update(minBoxSize.minSize.width, maxChartAreaHeight);
}
}
}
// Update, and calculate the left and right margins for the horizontal boxes
helpers.each(leftBoxes.concat(rightBoxes), fitBox);
helpers.each(leftBoxes, function(box) {
totalLeftBoxesWidth += box.width;
});
helpers.each(rightBoxes, function(box) {
totalRightBoxesWidth += box.width;
});
// Set the Left and Right margins for the horizontal boxes
helpers.each(topBoxes.concat(bottomBoxes), fitBox);
// Figure out how much margin is on the top and bottom of the vertical boxes
helpers.each(topBoxes, function(box) {
totalTopBoxesHeight += box.height;
});
helpers.each(bottomBoxes, function(box) {
totalBottomBoxesHeight += box.height;
});
function finalFitVerticalBox(box) {
var minBoxSize = helpers.findNextWhere(minBoxSizes, function(minSize) {
return minSize.box === box;
});
var scaleMargin = {
left: 0,
right: 0,
top: totalTopBoxesHeight,
bottom: totalBottomBoxesHeight
};
if (minBoxSize) {
box.update(minBoxSize.minSize.width, maxChartAreaHeight, scaleMargin);
}
}
// Let the left layout know the final margin
helpers.each(leftBoxes.concat(rightBoxes), finalFitVerticalBox);
// Recalculate because the size of each layout might have changed slightly due to the margins (label rotation for instance)
totalLeftBoxesWidth = leftPadding;
totalRightBoxesWidth = rightPadding;
totalTopBoxesHeight = topPadding;
totalBottomBoxesHeight = bottomPadding;
helpers.each(leftBoxes, function(box) {
totalLeftBoxesWidth += box.width;
});
helpers.each(rightBoxes, function(box) {
totalRightBoxesWidth += box.width;
});
helpers.each(topBoxes, function(box) {
totalTopBoxesHeight += box.height;
});
helpers.each(bottomBoxes, function(box) {
totalBottomBoxesHeight += box.height;
});
// We may be adding some padding to account for rotated x axis labels
var leftPaddingAddition = Math.max(maxHorizontalLeftPadding - totalLeftBoxesWidth, 0);
totalLeftBoxesWidth += leftPaddingAddition;
totalRightBoxesWidth += Math.max(maxHorizontalRightPadding - totalRightBoxesWidth, 0);
var topPaddingAddition = Math.max(maxVerticalTopPadding - totalTopBoxesHeight, 0);
totalTopBoxesHeight += topPaddingAddition;
totalBottomBoxesHeight += Math.max(maxVerticalBottomPadding - totalBottomBoxesHeight, 0);
// Figure out if our chart area changed. This would occur if the dataset layout label rotation
// changed due to the application of the margins in step 6. Since we can only get bigger, this is safe to do
// without calling `fit` again
var newMaxChartAreaHeight = height - totalTopBoxesHeight - totalBottomBoxesHeight;
var newMaxChartAreaWidth = width - totalLeftBoxesWidth - totalRightBoxesWidth;
if (newMaxChartAreaWidth !== maxChartAreaWidth || newMaxChartAreaHeight !== maxChartAreaHeight) {
helpers.each(leftBoxes, function(box) {
box.height = newMaxChartAreaHeight;
});
helpers.each(rightBoxes, function(box) {
box.height = newMaxChartAreaHeight;
});
helpers.each(topBoxes, function(box) {
if (!box.fullWidth) {
box.width = newMaxChartAreaWidth;
}
});
helpers.each(bottomBoxes, function(box) {
if (!box.fullWidth) {
box.width = newMaxChartAreaWidth;
}
});
maxChartAreaHeight = newMaxChartAreaHeight;
maxChartAreaWidth = newMaxChartAreaWidth;
}
// Step 7 - Position the boxes
var left = leftPadding + leftPaddingAddition;
var top = topPadding + topPaddingAddition;
function placeBox(box) {
if (box.isHorizontal()) {
box.left = box.fullWidth ? leftPadding : totalLeftBoxesWidth;
box.right = box.fullWidth ? width - rightPadding : totalLeftBoxesWidth + maxChartAreaWidth;
box.top = top;
box.bottom = top + box.height;
// Move to next point
top = box.bottom;
} else {
box.left = left;
box.right = left + box.width;
box.top = totalTopBoxesHeight;
box.bottom = totalTopBoxesHeight + maxChartAreaHeight;
// Move to next point
left = box.right;
}
}
helpers.each(leftBoxes.concat(topBoxes), placeBox);
// Account for chart width and height
left += maxChartAreaWidth;
top += maxChartAreaHeight;
helpers.each(rightBoxes, placeBox);
helpers.each(bottomBoxes, placeBox);
// Step 8
chart.chartArea = {
left: totalLeftBoxesWidth,
top: totalTopBoxesHeight,
right: totalLeftBoxesWidth + maxChartAreaWidth,
bottom: totalTopBoxesHeight + maxChartAreaHeight
};
// Step 9
helpers.each(chartAreaBoxes, function(box) {
box.left = chart.chartArea.left;
box.top = chart.chartArea.top;
box.right = chart.chartArea.right;
box.bottom = chart.chartArea.bottom;
box.update(maxChartAreaWidth, maxChartAreaHeight);
});
}
};
};
|
{
"pile_set_name": "Github"
}
|
<?xml version='1.0' ?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="include/StorageFunctions.xsl"/>
<xsl:output method="xml" omit-xml-declaration="yes"/>
<xsl:template match="/">
<xsl:element name="StorageObjects">
<xsl:apply-templates select="Strings"/>
<xsl:call-template name="TaskingInfo">
<xsl:with-param name="info" select="TaskingInfo"/>
</xsl:call-template>
</xsl:element>
</xsl:template>
<xsl:template match="Strings">
<xsl:element name="ObjectValue">
<xsl:attribute name="name">Strings</xsl:attribute>
<xsl:apply-templates select="String"/>
</xsl:element>
</xsl:template>
<xsl:template match="String">
<xsl:element name="ObjectValue">
<xsl:attribute name="name">String</xsl:attribute>
<xsl:element name="StringValue">
<xsl:attribute name="name">string</xsl:attribute>
<xsl:value-of select="."/>
</xsl:element>
<xsl:element name="IntValue">
<xsl:attribute name="name">offset</xsl:attribute>
<xsl:value-of select="@offset"/>
</xsl:element>
</xsl:element>
</xsl:template>
</xsl:transform>
|
{
"pile_set_name": "Github"
}
|
{{ define "shared/style" }}
<link rel="stylesheet" href={{ Mix "/css/app.css" }}>
{{ end }}
|
{
"pile_set_name": "Github"
}
|
* {
margin: 0;
padding: 0;
}
#igs {
margin: 10px auto;
width: 700px;
height: 320px;
position: relative;
}
.ig {
position: absolute;
}
#tabs {
position: absolute;
list-style: none;
background-color: rgba(255,255,255,.5);
left: 300px;
bottom: 10px;
border-radius: 10px;
padding: 5px 0 5px 5px;
}
.tab{
float: left;
text-align: center;
line-height: 20px;
width: 20px;
height: 20px;
cursor: pointer;
overflow: hidden;
margin-right: 4px;
border-radius: 100%;
background-color: rgb(200,100,150);
}
.btn{
position: absolute;
color: #fff;
top: 110px;
width: 40px;
height: 100px;
background-color: rgba(255,255,255,.3);
font-size: 40px;
font-weight: bold;
text-align: center;
line-height: 100px;
border-radius: 5px;
margin: 0 5px;
}
.btn2{
position: absolute;
right: 0px;
}
.btn:hover{
background-color: rgba(0,0,0,.7);
}
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="charset" content="ISO-8859-1" />
<meta http-equiv="content-language" content="English" />
<meta http-equiv="vw96.object type" content="Document" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="Global" />
<meta name="rating" content="General" />
<meta name="robots" content="all" />
<meta name="revist-after" content="2 days" />
<link rel="shortcut icon" href="../../../favicon.ico" />
<title>The Original Hip-Hop (Rap) Lyrics Archive</title>
<!-- link rel="stylesheet" type="text/css" href="http://ohhla.com/files/main.css" / -->
<!-- BEGIN SITE ANALYTICS //-->
<script type="text/javascript">
if (typeof siteanalytics == 'undefined') { siteanalytics = {}; };
siteanalytics.gn_tracking_defaults = {google: '',comscore: {},quantcast:''};
siteanalytics.website_id = 180;
siteanalytics.cdn_hostname = 'cdn.siteanalytics.evolvemediametrics.com';
</script>
<script type="text/javascript" src='http://cdn.siteanalytics.evolvemediametrics.com/js/siteanalytics.js'></script>
<!-- END SITE ANALYTICS //-->
</head>
<body>
<a href="javascript: history.go(-1)">Back to the previous page</a>
<div>
</div>
<div style="width: 720px; text-align: center; color: #ff0000; font-weight: bold; font-size: 1em;">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style" style="margin: auto 0 auto 0; padding-left: 185px;">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4e8ea9f77f69af2f"></script>
<!-- AddThis Button END -->
</div>
<br />
<div style="float: left; min-width: 560px;">
<pre>
Artist: The Roots
Album: The Tipping Point
Song: Duck Down!
Typed by: kkbonsu@hotmail.com
[Black Thought]
Yea we gettin' ready to break y'all it's winner take all
The game is locked we down to the eight ball
The time is now, it ain't nothin' to wait for
I'm a king by blood a soldier by nature
I'm somthin' like a threat to y'all space cadets
'Cause you never met brother nothin' like me yet
So push another slice into your toast and tighten your vests
Cause it's a warrior you seein' here tonight in the flesh
I give you somthin' high voltage double dosage
Runnin' with these vultures givin' me ulcers
Which one of these hustlers bringin' the thunder
'Riq Geez not another man takin' us under
Nigga please which Philly cat doin' his own thing
Might say black my give you a code name
Round my neck see the microphone hang
Have your lady lips singin' like on soul train
The niggaz that's a problem is minimal margin
The Colonel, Capitan, Lieutenant, General Sergeant
Black, one man army move in on your squadron
You sittin' still you know you a target
You heard you better duck down!
[Chorus: repeat 2X]
See me comin' better tuck those chains
Cause you don't wanna feel them thangs
If you want it, you can get it baby
You know you need to get low
Duck Down! (Duck Down!)
[Black Thought]
Yea we gettin' set to get rid of y'all that's what it's headin' for
The underdog knuckle and brawl with the bigger ball
I spit what your wig absorb sicker than sycamore
I'm creatin' a circumstance that you a victim of
The rebel or the renegade out on the quest
The super black man runnin' wit a S on his chest
And stand for the straight struggle to escape the stress
You think it's sweet tryin' to eat, you ain't taste this yet
So make y'all steps precautious into the darkness
Thoughts cold and heartless makin' me nauseous
Gettin' more remorses for what I done
If the lawyers and courts wonder what I run
You see the liberty it's free but just for some
How you a gangster and you scared to bust your gun
For the call, trust your fam' and trust nobody at all
Seein' brothers gettin' struck down
You better duck down!
[Chorus]
[Verse 3: Black Thought]
Yeah
I can feel somethin' for sure, I've been up in here before
A gladiator in a colliseum ready for war
That old timer holdin' his revolver set to blow
Just like a gladiator at whoever stick his head in the door
And one who been through it all, anything go
Rather give it to you straight 'stead of speakin in codes
Cuz man, that bullshit can get you riddled with holes
If you ain't insured than the hospitals is close
You got to go up-town while ya leakin' on the ground
In cases like these, you need to duck down
You're five dollar toys, I'm a million dollar man
Esquire 'Riq Geez go according to plan
I'm thinkin' outside the box, off the blocks
An outside your concept of time, off the clocks for real
Well it's Black Thought your boss DJ
Whatever you brothers weigh that's what ya gonna pay
[Chorus] - 2X</pre>
</div>
<div style="float: left;">
</div>
</body></html>
|
{
"pile_set_name": "Github"
}
|
{
"id": "draft04.json",
"$schema": "draft04.json",
"description": "Core schema meta-schema",
"definitions": {
"schemaArray": {
"type": "array",
"minItems": 1,
"items": { "$ref": "#" }
},
"positiveInteger": {
"type": "integer",
"minimum": 0
},
"positiveIntegerDefault0": {
"allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
},
"simpleTypes": {
"enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
},
"stringArray": {
"type": "array",
"items": { "type": "string" },
"minItems": 1,
"uniqueItems": true
}
},
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri"
},
"$schema": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"default": {},
"multipleOf": {
"type": "number",
"minimum": 0,
"exclusiveMinimum": true
},
"maximum": {
"type": "number"
},
"exclusiveMaximum": {
"type": "boolean",
"default": false
},
"minimum": {
"type": "number"
},
"exclusiveMinimum": {
"type": "boolean",
"default": false
},
"maxLength": { "$ref": "#/definitions/positiveInteger" },
"minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
"pattern": {
"type": "string",
"format": "regex"
},
"additionalItems": {
"anyOf": [
{ "type": "boolean" },
{ "$ref": "#" }
],
"default": {}
},
"items": {
"anyOf": [
{ "$ref": "#" },
{ "$ref": "#/definitions/schemaArray" }
],
"default": {}
},
"maxItems": { "$ref": "#/definitions/positiveInteger" },
"minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },
"uniqueItems": {
"type": "boolean",
"default": false
},
"maxProperties": { "$ref": "#/definitions/positiveInteger" },
"minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
"required": { "$ref": "#/definitions/stringArray" },
"additionalProperties": {
"anyOf": [
{ "type": "boolean" },
{ "$ref": "#" }
],
"default": {}
},
"definitions": {
"type": "object",
"additionalProperties": { "$ref": "#" },
"default": {}
},
"properties": {
"type": "object",
"additionalProperties": { "$ref": "#" },
"default": {}
},
"patternProperties": {
"type": "object",
"additionalProperties": { "$ref": "#" },
"default": {}
},
"dependencies": {
"type": "object",
"additionalProperties": {
"anyOf": [
{ "$ref": "#" },
{ "$ref": "#/definitions/stringArray" }
]
}
},
"enum": {
"type": "array",
"minItems": 1,
"uniqueItems": true
},
"type": {
"anyOf": [
{ "$ref": "#/definitions/simpleTypes" },
{
"type": "array",
"items": { "$ref": "#/definitions/simpleTypes" },
"minItems": 1,
"uniqueItems": true
}
]
},
"format": { "type": "string" },
"allOf": { "$ref": "#/definitions/schemaArray" },
"anyOf": { "$ref": "#/definitions/schemaArray" },
"oneOf": { "$ref": "#/definitions/schemaArray" },
"not": { "$ref": "#" }
},
"dependencies": {
"exclusiveMaximum": [ "maximum" ],
"exclusiveMinimum": [ "minimum" ]
},
"default": {}
}
|
{
"pile_set_name": "Github"
}
|
version: '2'
services:
web:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./code:/code
- ./site.conf:/etc/nginx/conf.d/default.conf
networks:
- code-network
php:
image: php:fpm
volumes:
- ./code:/code
networks:
- code-network
networks:
code-network:
driver: bridge
|
{
"pile_set_name": "Github"
}
|
[weewx]
name=weewx
baseurl=http://weewx.com/yum/weewx/el7
enabled=1
gpgcheck=0
|
{
"pile_set_name": "Github"
}
|
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X ",
"XX ",
"XXX"
],
"key": {
"X": {
"item": "tfc:wood/planks/douglas_fir"
}
},
"result": {
"item": "tfc:stairs/wood/douglas_fir",
"count": 8
}
}
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_text_area_field</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_text_area_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
|
{
"pile_set_name": "Github"
}
|
<!--
~ Copyright 2019. Google LLC
~
~ 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
~
~ https://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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bg_blue"
android:orientation="vertical"
android:padding="20dp"
tools:context="com.google.android.apps.santatracker.dasherdancer.CharacterActivity" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal" >
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:visibility="invisible" />
<ImageButton
android:id="@+id/btn_character_santa"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@drawable/dasher_ripple"
android:onClick="onCharacterClick"
android:scaleType="fitCenter"
android:layout_gravity="bottom"
android:src="@drawable/santa" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:visibility="invisible" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal" >
<ImageButton
android:id="@+id/btn_character_elf"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@drawable/dasher_ripple"
android:onClick="onCharacterClick"
android:scaleType="fitCenter"
android:layout_gravity="center"
android:src="@drawable/elf" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:visibility="invisible" />
<ImageButton
android:id="@+id/btn_character_reindeer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@drawable/dasher_ripple"
android:onClick="onCharacterClick"
android:scaleType="fitCenter"
android:layout_gravity="center"
android:src="@drawable/reindeer" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal" >
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:visibility="invisible" />
<ImageButton
android:id="@+id/btn_character_snowman"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@drawable/dasher_ripple"
android:onClick="onCharacterClick"
android:scaleType="fitCenter"
android:layout_gravity="top"
android:src="@drawable/snowman" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:visibility="invisible" />
</LinearLayout>
</LinearLayout>
|
{
"pile_set_name": "Github"
}
|
var baseSum = require('./_baseSum'),
identity = require('./identity');
/**
* Computes the sum of the values in `array`.
*
* @static
* @memberOf _
* @since 3.4.0
* @category Math
* @param {Array} array The array to iterate over.
* @returns {number} Returns the sum.
* @example
*
* _.sum([4, 2, 8, 6]);
* // => 20
*/
function sum(array) {
return (array && array.length)
? baseSum(array, identity)
: 0;
}
module.exports = sum;
|
{
"pile_set_name": "Github"
}
|
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE pov SYSTEM "/usr/share/cgc-docs/replay.dtd">
<pov>
<cbid>service</cbid>
<replay>
<write><data>UUUUUUUU</data></write>
<read><delim>\x0a</delim><match><data>What is your name?\x0a</data></match></read>
<write><data>User\x0a</data></write>
<read><delim>\x0a</delim><match><data>Hi\x2c User\x0a</data></match></read>
<read><delim>\x3e</delim><match><pcre>.*?0 B ></pcre></match></read>
<write><data>7 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?1 B ></pcre></match></read>
<write><data>3 2\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?2 B ></pcre></match></read>
<write><data>18 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?3 B ></pcre></match></read>
<write><data>5 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?4 B ></pcre></match></read>
<write><data>8 1\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?5 B ></pcre></match></read>
<write><data>0 9\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?6 B ></pcre></match></read>
<write><data>6 8\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?7 B ></pcre></match></read>
<write><data>19 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?7 B ></pcre></match></read>
<write><data>5 12\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?8 B ></pcre></match></read>
<write><data>11 14\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?9 B ></pcre></match></read>
<write><data>2 3\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?10 B ></pcre></match></read>
<write><data>11 7\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?11 B ></pcre></match></read>
<write><data>16 18\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?12 B ></pcre></match></read>
<write><data>9 5\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?13 B ></pcre></match></read>
<write><data>16 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?14 B ></pcre></match></read>
<write><data>11 12\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?15 B ></pcre></match></read>
<write><data>10 3\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?16 B ></pcre></match></read>
<write><data>10 13\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?17 B ></pcre></match></read>
<write><data>0 3\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?17 B ></pcre></match></read>
<write><data>14 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?18 B ></pcre></match></read>
<write><data>0 7\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?19 B ></pcre></match></read>
<write><data>11 7\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?19 B ></pcre></match></read>
<write><data>6 12\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?20 B ></pcre></match></read>
<write><data>4 19\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?20 B ></pcre></match></read>
<write><data>17 12\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?21 B ></pcre></match></read>
<write><data>7 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?22 B ></pcre></match></read>
<write><data>17 19\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?22 B ></pcre></match></read>
<write><data>18 12\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?23 B ></pcre></match></read>
<write><data>0 17\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?24 B ></pcre></match></read>
<write><data>10 2\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?25 B ></pcre></match></read>
<write><data>9 15\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?26 B ></pcre></match></read>
<write><data>2 8\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?27 B ></pcre></match></read>
<write><data>6 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?28 B ></pcre></match></read>
<write><data>9 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?29 B ></pcre></match></read>
<write><data>7 8\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?30 B ></pcre></match></read>
<write><data>4 10\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?31 B ></pcre></match></read>
<write><data>18 12\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?31 B ></pcre></match></read>
<write><data>7 9\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?32 B ></pcre></match></read>
<write><data>1 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?33 B ></pcre></match></read>
<write><data>14 14\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?34 B ></pcre></match></read>
<write><data>2 12\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?35 B ></pcre></match></read>
<write><data>10 2\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?35 B ></pcre></match></read>
<write><data>7 0\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?36 B ></pcre></match></read>
<write><data>14 9\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?37 B ></pcre></match></read>
<write><data>16 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?38 B ></pcre></match></read>
<write><data>14 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?39 B ></pcre></match></read>
<write><data>17 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?40 B ></pcre></match></read>
<write><data>12 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?41 B ></pcre></match></read>
<write><data>1 17\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?42 B ></pcre></match></read>
<write><data>12 8\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?43 B ></pcre></match></read>
<write><data>0 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?44 B ></pcre></match></read>
<write><data>18 10\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?45 B ></pcre></match></read>
<write><data>pass\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?46 B ></pcre></match></read>
<write><data>5 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?47 B ></pcre></match></read>
<write><data>17 7\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?48 B ></pcre></match></read>
<write><data>8 8\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?49 B ></pcre></match></read>
<write><data>8 3\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?50 B ></pcre></match></read>
<write><data>10 10\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?51 B ></pcre></match></read>
<write><data>7 5\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?52 B ></pcre></match></read>
<write><data>0 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?52 B ></pcre></match></read>
<write><data>14 3\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?52 B ></pcre></match></read>
<write><data>14 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?52 B ></pcre></match></read>
<write><data>1 13\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?53 B ></pcre></match></read>
<write><data>5 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?53 B ></pcre></match></read>
<write><data>19 7\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?53 B ></pcre></match></read>
<write><data>9 7\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?54 B ></pcre></match></read>
<write><data>5 19\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?54 B ></pcre></match></read>
<write><data>6 0\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?55 B ></pcre></match></read>
<write><data>15 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?56 B ></pcre></match></read>
<write><data>17 15\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?57 B ></pcre></match></read>
<write><data>pass\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?58 B ></pcre></match></read>
<write><data>19 1\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?58 B ></pcre></match></read>
<write><data>17 10\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?59 B ></pcre></match></read>
<write><data>6 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?60 B ></pcre></match></read>
<write><data>2 12\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?60 B ></pcre></match></read>
<write><data>17 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?61 B ></pcre></match></read>
<write><data>5 5\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?62 B ></pcre></match></read>
<write><data>6 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?63 B ></pcre></match></read>
<write><data>0 8\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?64 B ></pcre></match></read>
<write><data>0 17\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?64 B ></pcre></match></read>
<write><data>0 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?64 B ></pcre></match></read>
<write><data>6 10\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?65 B ></pcre></match></read>
<write><data>0 13\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?66 B ></pcre></match></read>
<write><data>16 0\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?67 B ></pcre></match></read>
<write><data>9 17\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?68 B ></pcre></match></read>
<write><data>8 9\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?69 B ></pcre></match></read>
<write><data>11 4\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?69 B ></pcre></match></read>
<write><data>1 4\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?69 B ></pcre></match></read>
<write><data>10 13\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?69 B ></pcre></match></read>
<write><data>18 13\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?70 B ></pcre></match></read>
<write><data>7 14\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?71 B ></pcre></match></read>
<write><data>13 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?72 B ></pcre></match></read>
<write><data>6 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?72 B ></pcre></match></read>
<write><data>9 13\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?73 B ></pcre></match></read>
<write><data>6 17\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?74 B ></pcre></match></read>
<write><data>10 17\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?75 B ></pcre></match></read>
<write><data>8 4\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?75 B ></pcre></match></read>
<write><data>8 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?76 B ></pcre></match></read>
<write><data>10 2\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?76 B ></pcre></match></read>
<write><data>pass\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?77 B ></pcre></match></read>
<write><data>19 19\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?77 B ></pcre></match></read>
<write><data>1 0\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?77 B ></pcre></match></read>
<write><data>12 14\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?78 B ></pcre></match></read>
<write><data>5 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?78 B ></pcre></match></read>
<write><data>2 11\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?79 B ></pcre></match></read>
<write><data>3 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?80 B ></pcre></match></read>
<write><data>18 0\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?80 B ></pcre></match></read>
<write><data>1 13\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?80 B ></pcre></match></read>
<write><data>10 4\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?80 B ></pcre></match></read>
<write><data>19 7\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?80 B ></pcre></match></read>
<write><data>13 18\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?81 B ></pcre></match></read>
<write><data>18 5\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?82 B ></pcre></match></read>
<write><data>16 5\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?82 B ></pcre></match></read>
<write><data>12 15\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?83 B ></pcre></match></read>
<write><data>0 14\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?84 B ></pcre></match></read>
<write><data>4 14\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?85 B ></pcre></match></read>
<write><data>16 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?86 B ></pcre></match></read>
<write><data>12 3\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?86 B ></pcre></match></read>
<write><data>0 14\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?86 B ></pcre></match></read>
<write><data>19 4\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?86 B ></pcre></match></read>
<write><data>7 10\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?87 B ></pcre></match></read>
<write><data>15 17\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?88 B ></pcre></match></read>
<write><data>4 19\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?88 B ></pcre></match></read>
<write><data>10 16\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?89 B ></pcre></match></read>
<write><data>7 14\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?89 B ></pcre></match></read>
<write><data>3 1\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?89 B ></pcre></match></read>
<write><data>1 7\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?90 B ></pcre></match></read>
<write><data>17 6\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?90 B ></pcre></match></read>
<write><data>19 15\x0a</data></write>
<read><delim>\x3e</delim><match><pcre>.*?90 B ></pcre></match></read>
<write><data>8 11\x0a</data></write>
<read><delim>User</delim><match><pcre>.*?Game Over Stones Exhausted
You are a Winner, User</pcre></match></read>
</replay>
</pov>
|
{
"pile_set_name": "Github"
}
|
apiVersion: v1
description: A Helm chart for Kubernetes
name: certmanager
version: 1.0.1
appVersion: 0.3.1
tillerVersion: ">=2.7.2"
|
{
"pile_set_name": "Github"
}
|
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>JTabbedPane.ModelListener (Java SE 12 & JDK 12 )</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="javax.swing.JTabbedPane.ModelListener class">
<meta name="keywords" content="stateChanged()">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JTabbedPane.ModelListener (Java SE 12 & JDK 12 )";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JTabbedPane.ModelListener.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 12 & JDK 12</strong> </div></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li>Method</li>
</ul>
</div>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding"> </div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="moduleLabelInType">Module</span> <a href="../../module-summary.html">java.desktop</a></div>
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">javax.swing</a></div>
<h2 title="Class JTabbedPane.ModelListener" class="title">Class JTabbedPane.ModelListener</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="../../../java.base/java/lang/Object.html" title="class in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>javax.swing.JTabbedPane.ModelListener</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../../../java.base/java/io/Serializable.html" title="interface in java.io">Serializable</a></code>, <code><a href="../../../java.base/java/util/EventListener.html" title="interface in java.util">EventListener</a></code>, <code><a href="event/ChangeListener.html" title="interface in javax.swing.event">ChangeListener</a></code></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="JTabbedPane.html" title="class in javax.swing">JTabbedPane</a></dd>
</dl>
<hr>
<pre>protected class <span class="typeNameLabel">JTabbedPane.ModelListener</span>
extends <a href="../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a>
implements <a href="event/ChangeListener.html" title="interface in javax.swing.event">ChangeListener</a>, <a href="../../../java.base/java/io/Serializable.html" title="interface in java.io">Serializable</a></pre>
<div class="block">We pass <code>ModelChanged</code> events along to the listeners with
the tabbedpane (instead of the model itself) as the event source.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colSecond" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ModelListener</a></span>()</code></th>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods declared in class java.lang.<a href="../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a></h3>
<code><a href="../../../java.base/java/lang/Object.html#clone()">clone</a>, <a href="../../../java.base/java/lang/Object.html#equals(java.lang.Object)">equals</a>, <a href="../../../java.base/java/lang/Object.html#finalize()">finalize</a>, <a href="../../../java.base/java/lang/Object.html#getClass()">getClass</a>, <a href="../../../java.base/java/lang/Object.html#hashCode()">hashCode</a>, <a href="../../../java.base/java/lang/Object.html#notify()">notify</a>, <a href="../../../java.base/java/lang/Object.html#notifyAll()">notifyAll</a>, <a href="../../../java.base/java/lang/Object.html#toString()">toString</a>, <a href="../../../java.base/java/lang/Object.html#wait()">wait</a>, <a href="../../../java.base/java/lang/Object.html#wait(long)">wait</a>, <a href="../../../java.base/java/lang/Object.html#wait(long,int)">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.javax.swing.event.ChangeListener">
<!-- -->
</a>
<h3>Methods declared in interface javax.swing.event.<a href="event/ChangeListener.html" title="interface in javax.swing.event">ChangeListener</a></h3>
<code><a href="event/ChangeListener.html#stateChanged(javax.swing.event.ChangeEvent)">stateChanged</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="<init>()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ModelListener</h4>
<pre>protected ModelListener()</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JTabbedPane.ModelListener.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 12 & JDK 12</strong> </div></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li>Method</li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small><a href="https://bugreport.java.com/bugreport/">Report a bug or suggest an enhancement</a><br> For further API reference and developer documentation see the <a href="https://docs.oracle.com/pls/topic/lookup?ctx=javase12.0.2&id=homepage" target="_blank">Java SE Documentation</a>, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.<br> <a href="../../../../legal/copyright.html">Copyright</a> © 1993, 2019, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.<br>All rights reserved. Use is subject to <a href="https://www.oracle.com/technetwork/java/javase/terms/license/java12.0.2speclicense.html">license terms</a> and the <a href="https://www.oracle.com/technetwork/java/redist-137594.html">documentation redistribution policy</a>. <!-- Version 12.0.2+10 --></small></p>
</footer>
</body>
</html>
|
{
"pile_set_name": "Github"
}
|
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"AM",
"PM"
],
"DAY": [
"dimanche",
"lundi",
"mardi",
"mercredi",
"jeudi",
"vendredi",
"samedi"
],
"ERANAMES": [
"avant J\u00e9sus-Christ",
"apr\u00e8s J\u00e9sus-Christ"
],
"ERAS": [
"av. J.-C.",
"ap. J.-C."
],
"FIRSTDAYOFWEEK": 0,
"MONTH": [
"janvier",
"f\u00e9vrier",
"mars",
"avril",
"mai",
"juin",
"juillet",
"ao\u00fbt",
"septembre",
"octobre",
"novembre",
"d\u00e9cembre"
],
"SHORTDAY": [
"dim.",
"lun.",
"mar.",
"mer.",
"jeu.",
"ven.",
"sam."
],
"SHORTMONTH": [
"janv.",
"f\u00e9vr.",
"mars",
"avr.",
"mai",
"juin",
"juil.",
"ao\u00fbt",
"sept.",
"oct.",
"nov.",
"d\u00e9c."
],
"STANDALONEMONTH": [
"janvier",
"f\u00e9vrier",
"mars",
"avril",
"mai",
"juin",
"juillet",
"ao\u00fbt",
"septembre",
"octobre",
"novembre",
"d\u00e9cembre"
],
"WEEKENDRANGE": [
5,
6
],
"fullDate": "EEEE d MMMM y",
"longDate": "d MMMM y",
"medium": "d MMM y HH:mm:ss",
"mediumDate": "d MMM y",
"mediumTime": "HH:mm:ss",
"short": "dd/MM/y HH:mm",
"shortDate": "dd/MM/y",
"shortTime": "HH:mm"
},
"NUMBER_FORMATS": {
"CURRENCY_SYM": "\u20ac",
"DECIMAL_SEP": ",",
"GROUP_SEP": "\u00a0",
"PATTERNS": [
{
"gSize": 3,
"lgSize": 3,
"maxFrac": 3,
"minFrac": 0,
"minInt": 1,
"negPre": "-",
"negSuf": "",
"posPre": "",
"posSuf": ""
},
{
"gSize": 3,
"lgSize": 3,
"maxFrac": 2,
"minFrac": 2,
"minInt": 1,
"negPre": "-",
"negSuf": "\u00a0\u00a4",
"posPre": "",
"posSuf": "\u00a0\u00a4"
}
]
},
"id": "fr-gp",
"localeID": "fr_GP",
"pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
|
{
"pile_set_name": "Github"
}
|
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
from azure.cli.core.commands import CliCommandType
from ._format import (
registry_output_format,
usage_output_format,
policy_output_format,
credential_output_format,
webhook_output_format,
webhook_get_config_output_format,
webhook_list_events_output_format,
webhook_ping_output_format,
replication_output_format,
endpoints_output_format,
build_output_format,
task_output_format,
task_identity_format,
taskrun_output_format,
run_output_format,
helm_list_output_format,
helm_show_output_format,
scope_map_output_format,
token_output_format,
token_credential_output_format,
agentpool_output_format
)
from ._client_factory import (
cf_acr_registries,
cf_acr_replications,
cf_acr_webhooks,
cf_acr_tasks,
cf_acr_taskruns,
cf_acr_runs,
cf_acr_scope_maps,
cf_acr_tokens,
cf_acr_token_credentials,
cf_acr_private_endpoint_connections,
cf_acr_agentpool
)
def load_command_table(self, _): # pylint: disable=too-many-statements
acr_custom_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.custom#{}',
table_transformer=registry_output_format,
client_factory=cf_acr_registries
)
acr_login_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.custom#{}'
)
acr_import_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.import#{}',
client_factory=cf_acr_registries
)
acr_policy_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.policy#{}',
table_transformer=policy_output_format,
client_factory=cf_acr_registries
)
acr_cred_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.credential#{}',
table_transformer=credential_output_format,
client_factory=cf_acr_registries
)
acr_repo_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.repository#{}'
)
acr_webhook_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.webhook#{}',
table_transformer=webhook_output_format,
client_factory=cf_acr_webhooks
)
acr_replication_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.replication#{}',
table_transformer=replication_output_format,
client_factory=cf_acr_replications
)
acr_build_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.build#{}',
table_transformer=build_output_format,
client_factory=cf_acr_runs
)
acr_run_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.run#{}',
table_transformer=run_output_format,
client_factory=cf_acr_runs
)
acr_pack_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.pack#{}',
table_transformer=run_output_format,
client_factory=cf_acr_runs
)
acr_task_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.task#{}',
table_transformer=task_output_format,
client_factory=cf_acr_tasks
)
acr_taskrun_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.taskrun#{}',
table_transformer=taskrun_output_format,
client_factory=cf_acr_taskruns
)
acr_helm_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.helm#{}'
)
acr_network_rule_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.network_rule#{}',
client_factory=cf_acr_registries
)
acr_check_health_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.check_health#{}'
)
acr_scope_map_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.scope_map#{}',
table_transformer=scope_map_output_format,
client_factory=cf_acr_scope_maps
)
acr_token_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.token#{}',
table_transformer=token_output_format,
client_factory=cf_acr_tokens
)
acr_token_credential_generate_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.token#{}',
table_transformer=token_credential_output_format,
client_factory=cf_acr_token_credentials
)
acr_agentpool_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.agentpool#{}',
table_transformer=agentpool_output_format,
client_factory=cf_acr_agentpool
)
acr_private_endpoint_connection_util = CliCommandType(
operations_tmpl='azure.cli.command_modules.acr.private_endpoint_connection#{}',
client_factory=cf_acr_private_endpoint_connections
)
with self.command_group('acr', acr_custom_util) as g:
g.command('check-name', 'acr_check_name', table_transformer=None)
g.command('list', 'acr_list')
g.command('create', 'acr_create')
g.command('delete', 'acr_delete')
g.show_command('show', 'acr_show')
g.command('show-usage', 'acr_show_usage', table_transformer=usage_output_format)
g.command('show-endpoints', 'acr_show_endpoints', table_transformer=endpoints_output_format)
g.generic_update_command('update',
getter_name='acr_update_get',
setter_name='acr_update_set',
custom_func_name='acr_update_custom',
custom_func_type=acr_custom_util,
client_factory=cf_acr_registries)
with self.command_group('acr', acr_login_util) as g:
g.command('login', 'acr_login')
with self.command_group('acr', acr_import_util) as g:
g.command('import', 'acr_import')
with self.command_group('acr credential', acr_cred_util) as g:
g.show_command('show', 'acr_credential_show')
g.command('renew', 'acr_credential_renew')
with self.command_group('acr repository', acr_repo_util) as g:
g.command('list', 'acr_repository_list')
g.command('show-tags', 'acr_repository_show_tags')
g.command('show-manifests', 'acr_repository_show_manifests')
g.show_command('show', 'acr_repository_show')
g.command('update', 'acr_repository_update')
g.command('delete', 'acr_repository_delete')
g.command('untag', 'acr_repository_untag')
with self.command_group('acr webhook', acr_webhook_util) as g:
g.command('list', 'acr_webhook_list')
g.command('create', 'acr_webhook_create')
g.command('delete', 'acr_webhook_delete')
g.show_command('show', 'acr_webhook_show')
g.command('get-config', 'acr_webhook_get_config', table_transformer=webhook_get_config_output_format)
g.command('list-events', 'acr_webhook_list_events', table_transformer=webhook_list_events_output_format)
g.command('ping', 'acr_webhook_ping', table_transformer=webhook_ping_output_format)
g.generic_update_command('update',
getter_name='acr_webhook_update_get',
setter_name='acr_webhook_update_set',
custom_func_name='acr_webhook_update_custom',
custom_func_type=acr_webhook_util,
client_factory=cf_acr_webhooks)
with self.command_group('acr replication', acr_replication_util) as g:
g.command('list', 'acr_replication_list')
g.command('create', 'acr_replication_create')
g.command('delete', 'acr_replication_delete')
g.show_command('show', 'acr_replication_show')
g.generic_update_command('update',
getter_name='acr_replication_update_get',
setter_name='acr_replication_update_set',
custom_func_name='acr_replication_update_custom',
custom_func_type=acr_replication_util,
client_factory=cf_acr_replications)
with self.command_group('acr', acr_build_util) as g:
g.command('build', 'acr_build', supports_no_wait=True)
with self.command_group('acr', acr_run_util) as g:
g.command('run', 'acr_run', supports_no_wait=True)
with self.command_group('acr pack', acr_pack_util, is_preview=True) as g:
g.command('build', 'acr_pack_build', supports_no_wait=True)
with self.command_group('acr task', acr_task_util) as g:
g.command('create', 'acr_task_create')
g.show_command('show', 'acr_task_show')
g.command('list', 'acr_task_list')
g.command('delete', 'acr_task_delete')
g.command('update', 'acr_task_update')
g.command('identity assign', 'acr_task_identity_assign')
g.command('identity remove', 'acr_task_identity_remove')
g.command('identity show', 'acr_task_identity_show', table_transformer=task_identity_format)
g.command('credential add', 'acr_task_credential_add')
g.command('credential update', 'acr_task_credential_update')
g.command('credential remove', 'acr_task_credential_remove')
g.command('credential list', 'acr_task_credential_list')
g.command('timer add', 'acr_task_timer_add')
g.command('timer update', 'acr_task_timer_update')
g.command('timer remove', 'acr_task_timer_remove')
g.command('timer list', 'acr_task_timer_list')
g.command('run', 'acr_task_run', client_factory=cf_acr_runs,
table_transformer=run_output_format, supports_no_wait=True)
g.command('list-runs', 'acr_task_list_runs', client_factory=cf_acr_runs,
table_transformer=run_output_format)
g.command('show-run', 'acr_task_show_run', client_factory=cf_acr_runs,
table_transformer=run_output_format)
g.command('cancel-run', 'acr_task_cancel_run', client_factory=cf_acr_runs,
table_transformer=None)
g.command('update-run', 'acr_task_update_run', client_factory=cf_acr_runs,
table_transformer=run_output_format)
g.command('logs', 'acr_task_logs', client_factory=cf_acr_runs,
table_transformer=None)
with self.command_group('acr taskrun', acr_taskrun_util, is_preview=True) as g:
g.command('list', 'acr_taskrun_list')
g.command('delete', 'acr_taskrun_delete')
g.show_command('show', 'acr_taskrun_show')
g.command('logs', 'acr_taskrun_logs', client_factory=cf_acr_runs,
table_transformer=None)
with self.command_group('acr config content-trust', acr_policy_util) as g:
g.show_command('show', 'acr_config_content_trust_show')
g.command('update', 'acr_config_content_trust_update')
with self.command_group('acr config retention', acr_policy_util, is_preview=True) as g:
g.show_command('show', 'acr_config_retention_show')
g.command('update', 'acr_config_retention_update')
def _helm_deprecate_message(self):
msg = "This {} has been deprecated and will be removed in future release.".format(self.object_type)
msg += " Use '{}' instead.".format(self.redirect)
msg += " For more information go to"
msg += " https://aka.ms/acr/helm"
return msg
with self.command_group('acr helm', acr_helm_util,
deprecate_info=self.deprecate(redirect="helm v3",
message_func=_helm_deprecate_message)) as g:
g.command('list', 'acr_helm_list', table_transformer=helm_list_output_format)
g.show_command('show', 'acr_helm_show', table_transformer=helm_show_output_format)
g.command('delete', 'acr_helm_delete')
g.command('push', 'acr_helm_push')
g.command('repo add', 'acr_helm_repo_add')
g.command('install-cli', 'acr_helm_install_cli', is_preview=True)
with self.command_group('acr network-rule', acr_network_rule_util) as g:
g.command('list', 'acr_network_rule_list')
g.command('add', 'acr_network_rule_add')
g.command('remove', 'acr_network_rule_remove')
with self.command_group('acr', acr_check_health_util) as g:
g.command('check-health', 'acr_check_health')
with self.command_group('acr scope-map', acr_scope_map_util, is_preview=True) as g:
g.command('create', 'acr_scope_map_create')
g.command('delete', 'acr_scope_map_delete')
g.command('update', 'acr_scope_map_update')
g.show_command('show', 'acr_scope_map_show')
g.command('list', 'acr_scope_map_list')
with self.command_group('acr token', acr_token_util, is_preview=True) as g:
g.command('create', 'acr_token_create')
g.command('delete', 'acr_token_delete')
g.command('update', 'acr_token_update')
g.show_command('show', 'acr_token_show')
g.command('list', 'acr_token_list')
g.command('credential delete', 'acr_token_credential_delete')
with self.command_group('acr token credential', acr_token_credential_generate_util) as g:
g.command('generate', 'acr_token_credential_generate')
with self.command_group('acr agentpool', acr_agentpool_util, is_preview=True) as g:
g.command('create', 'acr_agentpool_create', supports_no_wait=True)
g.command('update', 'acr_agentpool_update', supports_no_wait=True)
g.command('delete', 'acr_agentpool_delete', supports_no_wait=True)
g.command('list', 'acr_agentpool_list')
g.show_command('show', 'acr_agentpool_show')
with self.command_group('acr private-endpoint-connection', acr_private_endpoint_connection_util) as g:
g.command('delete', 'delete')
g.show_command('show', 'show')
g.command('list', 'list_connections')
g.command('approve', 'approve')
g.command('reject', 'reject')
with self.command_group('acr private-link-resource', acr_custom_util) as g:
g.command('list', 'list_private_link_resources')
with self.command_group('acr identity', acr_custom_util) as g:
g.show_command('show', 'show_identity')
g.command('assign', 'assign_identity')
g.command('remove', 'remove_identity')
with self.command_group('acr encryption', acr_custom_util) as g:
g.show_command('show', 'show_encryption')
g.command('rotate-key', "rotate_key")
|
{
"pile_set_name": "Github"
}
|
fileFormatVersion: 2
guid: f2526e443ce2efb4cb419bda6a034df6
timeCreated: 1490642887
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
|
{
"pile_set_name": "Github"
}
|
{% load static %}
<script src="{% static 'fiber/js/markitup-1.1.10/jquery.markitup.js' %}" type="text/javascript"></script>
<script src="{% static 'fiber/js/markitup-1.1.10/sets/textile_fiber/set.js' %}" type="text/javascript"></script>
<script src="{% static 'fiber/js/fiber.markitup.js' %}" type="text/javascript"></script>
|
{
"pile_set_name": "Github"
}
|
{{#with tryGetTargetReflectionDeep}}
{{#ifCond ../name '===' name}}
Re-exports <a href="{{relativeURL url}}">{{name}}</a>
{{else if flags.isExported}}
Renames and re-exports <a href="{{relativeURL url}}">{{name}}</a>
{{else}}
Renames and exports <a href="{{relativeURL url}}">{{name}}</a>
{{/ifCond}}
{{else}}
Re-exports {{name}}
{{/with}}
|
{
"pile_set_name": "Github"
}
|
<a class="{% if not nav_item.is_link %}reference internal{% endif %}{% if nav_item.active%} current{%endif%}" href="{% if not nav_item.is_section %}{{ nav_item.url|url }}{% else %}#{% endif %}">{{ nav_item.title }}</a>
{%- set navlevel = navlevel + 1 %}
{%- if navlevel <= config.theme.navigation_depth
and ((nav_item.is_page and nav_item.toc.items
and (not config.theme.titles_only
and (nav_item == page or not config.theme.collapse_navigation)))
or (nav_item.is_section and nav_item.children)) %}
<ul{% if nav_item.active %} class="current"{% endif %}>
{%- if nav_item.is_page %}
{#- Skip first level of toc which is page title. #}
{%- set toc_item = nav_item.toc.items[0] %}
{%- include 'toc.html' %}
{%- elif nav_item.is_section %}
{%- for nav_item in nav_item.children %}
<li class="toctree-l{{ navlevel }}{% if nav_item.active%} current{%endif%}">
{%- include 'nav.html' %}
</li>
{%- endfor %}
{%- endif %}
</ul>
{%- endif %}
{%- set navlevel = navlevel - 1 %}
|
{
"pile_set_name": "Github"
}
|
@extends('errors/layout')
@section('title') 403 Forbidden @endsection
@section('content')
<h1><i class="fa fa-ban red"></i> 403 Forbidden</h1>
<p class="lead">抱歉!您可能被禁止访问该页面,如有问题请联系管理员。</p>
<p>
<a class="btn btn-default btn-lg" href="{{ route('website.index') }}"><span class="green">返回首页</span></a>
</p>
@endsection
|
{
"pile_set_name": "Github"
}
|
{
"path": "../../../notebooks/minio_setup.ipynb"
}
|
{
"pile_set_name": "Github"
}
|
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.jackett;
in
{
options = {
services.jackett = {
enable = mkEnableOption "Jackett";
dataDir = mkOption {
type = types.str;
default = "/var/lib/jackett/.config/Jackett";
description = "The directory where Jackett stores its data files.";
};
openFirewall = mkOption {
type = types.bool;
default = false;
description = "Open ports in the firewall for the Jackett web interface.";
};
user = mkOption {
type = types.str;
default = "jackett";
description = "User account under which Jackett runs.";
};
group = mkOption {
type = types.str;
default = "jackett";
description = "Group under which Jackett runs.";
};
package = mkOption {
type = types.package;
default = pkgs.jackett;
defaultText = "pkgs.jackett";
description = "Jackett package to use.";
};
};
};
config = mkIf cfg.enable {
systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' 0700 ${cfg.user} ${cfg.group} - -"
];
systemd.services.jackett = {
description = "Jackett";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "simple";
User = cfg.user;
Group = cfg.group;
ExecStart = "${cfg.package}/bin/Jackett --NoUpdates --DataFolder '${cfg.dataDir}'";
Restart = "on-failure";
};
};
networking.firewall = mkIf cfg.openFirewall {
allowedTCPPorts = [ 9117 ];
};
users.users = mkIf (cfg.user == "jackett") {
jackett = {
group = cfg.group;
home = cfg.dataDir;
uid = config.ids.uids.jackett;
};
};
users.groups = mkIf (cfg.group == "jackett") {
jackett.gid = config.ids.gids.jackett;
};
};
}
|
{
"pile_set_name": "Github"
}
|
{
"_args": [
[
{
"raw": "os-homedir@^1.0.0",
"scope": null,
"escapedName": "os-homedir",
"name": "os-homedir",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/Users/chengwei/kafka-doc-zh/doc/zh/node_modules/tildify"
]
],
"_from": "os-homedir@>=1.0.0 <2.0.0",
"_id": "os-homedir@1.0.2",
"_inCache": true,
"_location": "/os-homedir",
"_nodeVersion": "6.6.0",
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/os-homedir-1.0.2.tgz_1475211519628_0.7873868853785098"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "3.10.3",
"_phantomChildren": {},
"_requested": {
"raw": "os-homedir@^1.0.0",
"scope": null,
"escapedName": "os-homedir",
"name": "os-homedir",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/tildify"
],
"_resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
"_shasum": "ffbc4988336e0e833de0c168c7ef152121aa7fb3",
"_shrinkwrap": null,
"_spec": "os-homedir@^1.0.0",
"_where": "/Users/chengwei/kafka-doc-zh/doc/zh/node_modules/tildify",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/os-homedir/issues"
},
"dependencies": {},
"description": "Node.js 4 `os.homedir()` ponyfill",
"devDependencies": {
"ava": "*",
"path-exists": "^2.0.0",
"xo": "^0.16.0"
},
"directories": {},
"dist": {
"shasum": "ffbc4988336e0e833de0c168c7ef152121aa7fb3",
"tarball": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "b1b0ae70a5965fef7005ff6509a5dd1a78c95e36",
"homepage": "https://github.com/sindresorhus/os-homedir#readme",
"keywords": [
"builtin",
"core",
"ponyfill",
"polyfill",
"shim",
"os",
"homedir",
"home",
"dir",
"directory",
"folder",
"user",
"path"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "os-homedir",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/os-homedir.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "1.0.2"
}
|
{
"pile_set_name": "Github"
}
|
---
title: "Delete androidStoreApp"
description: "Deletes a androidStoreApp."
author: "dougeby"
localization_priority: Normal
ms.prod: "intune"
doc_type: apiPageType
---
# Delete androidStoreApp
Namespace: microsoft.graph
> **Important:** Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.
> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant.
Deletes a [androidStoreApp](../resources/intune-apps-androidstoreapp.md).
## Prerequisites
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
|Permission type|Permissions (from most to least privileged)|
|:---|:---|
|Delegated (work or school account)|DeviceManagementApps.ReadWrite.All|
|Delegated (personal Microsoft account)|Not supported.|
|Application|DeviceManagementApps.ReadWrite.All|
## HTTP Request
<!-- {
"blockType": "ignored"
}
-->
``` http
DELETE /deviceAppManagement/mobileApps/{mobileAppId}
DELETE /deviceAppManagement/mobileApps/{mobileAppId}/userStatuses/{userAppInstallStatusId}/app
DELETE /deviceAppManagement/mobileApps/{mobileAppId}/deviceStatuses/{mobileAppInstallStatusId}/app
```
## Request headers
|Header|Value|
|:---|:---|
|Authorization|Bearer <token> Required.|
|Accept|application/json|
## Request body
Do not supply a request body for this method.
## Response
If successful, this method returns a `204 No Content` response code.
## Example
### Request
Here is an example of the request.
``` http
DELETE https://graph.microsoft.com/beta/deviceAppManagement/mobileApps/{mobileAppId}
```
### Response
Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.
``` http
HTTP/1.1 204 No Content
```
|
{
"pile_set_name": "Github"
}
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 8