text
stringlengths
2
99.1k
meta
dict
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Invoke a Comprehend Model from Amazon Aurora" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "met...
{ "pile_set_name": "Github" }
## ## POP3 specific settings ## protocol pop3 { # Don't try to set mails non-recent or seen with POP3 sessions. This is # mostly intended to reduce disk I/O. With maildir it doesn't move files # from new/ to cur/, with mbox it doesn't write Status-header. #pop3_no_flag_updates = no # Support LAST command wh...
{ "pile_set_name": "Github" }
// Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing struct B<T where g: a { struct Q<I : j { enum b { { { } } enum b { var _ = { { } typealias d }
{ "pile_set_name": "Github" }
const modern = require('../../src/modern'); const compress = require('compression'); module.exports = { name: 'compress', options: { __root: 'compress', compress: { default: {}, type: Object } }, // The whole plugin won't be loaded if the option is false before: ctx => modern(compres...
{ "pile_set_name": "Github" }
require('../proof')(module, __dirname)
{ "pile_set_name": "Github" }
#!/bin/sh do_sysinfo_mvebu() { . /lib/mvebu.sh mvebu_board_detect } boot_hook_add preinit_main do_sysinfo_mvebu
{ "pile_set_name": "Github" }
pyzmq==16.0.2 ; python_version == '2.7' gevent<1.2.0 ; python_version == '2.7' zerorpc>=0.4.0,<0.5 ; python_version == '2.7' -r reqs-base.txt
{ "pile_set_name": "Github" }
if app_server? || util? include_recipe "clamav::install" end
{ "pile_set_name": "Github" }
[Unit] Description=Daily Log2Ram writing activities After=log2ram.service [Service] ExecStart=/bin/systemctl reload log2ram.service
{ "pile_set_name": "Github" }
require('../../../modules/es7.string.trim-left'); module.exports = require('../../../modules/_entry-virtual')('String').trimLeft;
{ "pile_set_name": "Github" }
function($mpt){ var anns = this.meta.$mod$ans$; if (typeof(anns) === 'function') { anns = anns(); this.meta.$mod$ans$=anns; } if (anns) for (var i=0; i < anns.length; i++) { if (is$(anns[i],$mpt.Annotation$annotated))return true; } return false; }
{ "pile_set_name": "Github" }
Git v1.7.1.3 Release Notes ========================== This is primarily to backport support for the new "add.ignoreErrors" name given to the existing "add.ignore-errors" configuration variable. The next version, Git 1.7.4, and future versions, will support both old and incorrect name and the new corrected name, but w...
{ "pile_set_name": "Github" }
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ module.exports = function(updatedModules, renewedModules) { var unacceptedModules = updatedModules.filter(function(moduleId) { return renewedModules && renewedModules.indexOf(moduleId) < 0; }); if(unaccept...
{ "pile_set_name": "Github" }
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-$(GradleVersion)-all.zip
{ "pile_set_name": "Github" }
// Exports the "noneditable" plugin for usage with module loaders // Usage: // CommonJS: // require('tinymce/plugins/noneditable') // ES2015: // import 'tinymce/plugins/noneditable' require('./plugin.js');
{ "pile_set_name": "Github" }
Use this README file to introduce your application and point to useful places in the API for learning more. Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
{ "pile_set_name": "Github" }
#include <ap_int.h> /* Sample structure for streaming. You can use this for the demo. struct DTYPE { float data; ap_uint<1> last; }; */ typedef float DTYPE; #define SIZE 1024 /* SIZE OF DFT */ void dft(DTYPE real_sample[SIZE], DTYPE imag_sample[SIZE],DTYPE real_op[SIZE], DTYPE imag_op[SIZE]);...
{ "pile_set_name": "Github" }
using System.IO; using Ohana3DS_Rebirth.Ohana.Containers; namespace Ohana3DS_Rebirth.Ohana.Models.PocketMonsters { class GR { /// <summary> /// Loads a GR map model from Pokémon. /// </summary> /// <param name="data">The data</param> /// <returns>The Model group wi...
{ "pile_set_name": "Github" }
module Cryptoexchange::Exchanges module Gate class Market < Cryptoexchange::Models::Market NAME = 'gate' API_URL = 'http://data.gate.io/api2/1' def self.trade_page_url(args={}) "https://gate.io/trade/#{args[:base]}_#{args[:target]}" end end end end
{ "pile_set_name": "Github" }
--TEST-- BZ2 with strings --SKIPIF-- <?php if (!extension_loaded("bz2")) print "skip"; ?> --FILE-- <?php // $Id$ error_reporting(E_ALL); # This FAILS $blaat = <<<HEREDOC This is some random data HEREDOC; # This Works: (so, is heredoc related) #$blaat= 'This is some random data'; $blaat2 = bzdecompress(bzcompress($b...
{ "pile_set_name": "Github" }
#!/bin/bash if [ -z "$1" ]; then echo "This script must be called with an argument" >&2 exit 1 fi /usr/local/bin/mine $(script/find_spec_or_impl.rb $1)
{ "pile_set_name": "Github" }
package main // import "github.com/hashicorp/vault" import ( "os" "github.com/hashicorp/vault/command" ) func main() { os.Exit(command.Run(os.Args[1:])) }
{ "pile_set_name": "Github" }
S : "a" S "a" ; : "a" S ; : "b" S ; : "a" ; : "b" ; : ;
{ "pile_set_name": "Github" }
package modern.challenge; public class Fruit<T, Q> { }
{ "pile_set_name": "Github" }
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. @import '../../protocol/css/includes/lib'; @import '../../protocol/css/components/article';
{ "pile_set_name": "Github" }
FROM openresty/openresty:trusty RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf COPY static /usr/share/nginx/html
{ "pile_set_name": "Github" }
# name: H8300 GCC section test case # ld: --gc-sections # objdump: -d --no-show-raw-insn .*: file format .* Disassembly of section .text: 00000100 <_functionWeUse>: 100: mov.l er6,@-er7 104: mov.l er7,er6 106: subs #4,er7 108: mov.w r0,@\(0xfffe:16,er6\) 10c: mov.w @\(0xfffe:16,er6\),r2 110: mov.w r2,r0 1...
{ "pile_set_name": "Github" }
require('../../modules/es6.regexp.match'); module.exports = require('../../modules/$.wks')('match');
{ "pile_set_name": "Github" }
// // RMAddLocaleWindowController.h // Connecter // // Created by Markus on 26.02.14. // Copyright (c) 2014 Realmac Software. All rights reserved. // #import <Cocoa/Cocoa.h> @class RMAppMetaData; @interface RMAddLocaleWindowController : NSWindowController @property (nonatomic, weak, readonly) RMAppMetaData *met...
{ "pile_set_name": "Github" }
using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace AvaloniaDemo.Views.Views { public class DashboardView : UserControl { public DashboardView() { this.InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader.L...
{ "pile_set_name": "Github" }
'use strict' var process = require('./process') try { module.exports = setImmediate } catch (ex) { module.exports = process.nextTick }
{ "pile_set_name": "Github" }
// Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing protocol B { struct B { init { let a { func a ( = { class A { enum B { class case ,
{ "pile_set_name": "Github" }
name=Caller of Gales image=https://magiccards.info/scans/en/cn2/103.jpg image_updated=2017-08-29 value=2.761 rarity=C type=Creature subtype=Merfolk,Wizard cost={U} pt=1/1 ability={1}{U}, {T}: Target creature gains flying until end of turn. timing=main oracle={1}{U}, {T}: Target creature gains flying until end of turn.
{ "pile_set_name": "Github" }
#include <ApplicationServices/ApplicationServices.r>
{ "pile_set_name": "Github" }
class IncludesMath include Math end
{ "pile_set_name": "Github" }
.user-form { .row { margin: 0; } .btn-toolbar { margin: 48px -12px 12px; } } .user-form__firstName { padding: 0 12px 0 0; } .user-form__lastName { padding: 0 0 0 12px; } .user-form__groups { label { color: #444f6c; } }
{ "pile_set_name": "Github" }
version: 1 n_points: 4 { 468.115 356.685 468.115 858.122 941.695 858.122 941.695 356.685 }
{ "pile_set_name": "Github" }
--- name: Feature request about: Suggest an idea for this project --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want t...
{ "pile_set_name": "Github" }
--- name: Feature request about: Suggest an idea for this project --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want t...
{ "pile_set_name": "Github" }
--- name: Feature request about: Suggest an idea for this project --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want t...
{ "pile_set_name": "Github" }
// @flow export {EditorState} from 'prosemirror-state'; export {default as RichTextEditor} from './ui/RichTextEditor'; export {default as convertFromHTML} from './convertFromHTML'; export {default as convertFromJSON} from './convertFromJSON'; export {default as convertToJSON} from './convertToJSON'; export {default as...
{ "pile_set_name": "Github" }
/** @file * * Copyright (c) 2015-2016, Linaro. All rights reserved. * Copyright (c) 2015-2016, Hisilicon Limited. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause-Patent * **/ #ifndef __DW_USB_PROTOCOL_H__ #define __DW_USB_PROTOCOL_H__ // // Protocol GUID // #define DW_USB_PROTO...
{ "pile_set_name": "Github" }
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _IP6T_OPTS_H #define _IP6T_OPTS_H #include <linux/types.h> #define IP6T_OPTS_OPTSNR 16 struct ip6t_opts { __u32 hdrlen; /* Header Length */ __u8 flags; /* */ __u8 invflags; /* Inverse flags */ __u16 opts[IP6T_OPTS_OPTSNR]; /* opts */ ...
{ "pile_set_name": "Github" }
type: log paths: {{ range $i, $path := .paths }} - {{$path}} {{ end }} exclude_files: [".gz$"] processors: - add_fields: target: '' fields: ecs.version: 1.5.0
{ "pile_set_name": "Github" }
def uninstall(distro, purge=False): packages = [ 'ceph-common', 'ceph-base', 'ceph-radosgw', 'python-module-cephfs', 'python-module-rados', 'python-module-rbd', 'python-module-rgw', ] distro.packager.remove(packages)
{ "pile_set_name": "Github" }
require('../../modules/es6.reflect.set-prototype-of'); module.exports = require('../../modules/$.core').Reflect.setPrototypeOf;
{ "pile_set_name": "Github" }
--- -api-id: M:Windows.UI.Xaml.Controls.ColumnDefinition.#ctor -api-type: winrt method --- <!-- Method syntax public ColumnDefinition() --> # Windows.UI.Xaml.Controls.ColumnDefinition.ColumnDefinition ## -description Initializes a new instance of the [ColumnDefinition](columndefinition.md) class. ## -remarks ## -e...
{ "pile_set_name": "Github" }
require "bundler/gem_tasks" require "rake/testtask" task :default => %i[test] Rake::TestTask.new(:test) do |test| test.libs << 'test' test.test_files = FileList['test/**/*_test.rb'] - FileList["test/deprecation/*_test.rb"] test.verbose = true end
{ "pile_set_name": "Github" }
require 'rails_helper' RSpec.describe Protip, type: :model do let(:protip) {Fabricate(:protip)} it 'should respond to ownership instance methods' do expect(protip).to respond_to :owned_by? expect(protip).to respond_to :owner? end end
{ "pile_set_name": "Github" }
use ron::de::from_str; #[test] fn test_char() { let de: char = from_str("'Փ'").unwrap(); assert_eq!(de, 'Փ'); } #[test] fn test_string() { let de: String = from_str("\"My string: ऄ\"").unwrap(); assert_eq!(de, "My string: ऄ"); }
{ "pile_set_name": "Github" }
'use strict'; var isImplemented = require('../../../../array/#/keys/is-implemented'); module.exports = function (a) { a(isImplemented(), true); };
{ "pile_set_name": "Github" }
ttk_add_vtk_module()
{ "pile_set_name": "Github" }
/* SITE-SPECIFIC TAB STYLING */ body.profile #tab_profile a, body.projects #tab_projects a, body.notices #tab_notices a { color: #000; /* selected tab text colour */ } body.profile #tab_profile, body.projects #tab_projects, body.notices #tab_notices { margin: 0; /* to compensate for border */ padding: 5px...
{ "pile_set_name": "Github" }
/guide/getting-started /guide/v8/getting-started /guide/differences-to-react /guide/v8/differences-to-react /guide/switching-to-preact /guide/v8/switching-to-preact /guide/types-of-components /guide/v8/types-of-components /guide/api-reference /guide/v8/api-reference /guide/forms /guide/v8/forms /guide/linked-state /gui...
{ "pile_set_name": "Github" }
const createServer = require("fs-remote/createServer"); // createServer returns a net.Server const server = createServer(); server.listen(3000, () => { console.log("fs-remote server is listening on port 3000"); });
{ "pile_set_name": "Github" }
[ { "type": "mapgen", "om_terrain": [ "mil_outpost_utlc" ], "//": "underground top left corner", "method": "json", "weight": 250, "object": { "fill_ter": "t_concrete_floor", "rows": [ "########################", "########################", "#################...
{ "pile_set_name": "Github" }
--- MainSourceFile: no.cpp Diagnostics: - DiagnosticName: test-no DiagnosticMessage: Message: Fix FilePath: $(path)/no.cpp FileOffset: 94 Replacements: - FilePath: $(path)/no.cpp Offset: 94 Length: 3 ReplacementText: 'auto ' ...
{ "pile_set_name": "Github" }
package { public dynamic class Dummy6 { } }
{ "pile_set_name": "Github" }
/** @author Dustin Neß (dness.de) */ func Definition(proplist def) { def.MeshTransformation = Trans_Scale(60); } public func Construction() { SetProperty("MeshTransformation", Trans_Mul(Trans_Rotate(RandomX(-35, 35),0, 10), GetID().MeshTransformation)); }
{ "pile_set_name": "Github" }
import IIdentifiable from './Identifiable.interface' abstract class Storable implements IIdentifiable { constructor(data: any) { $.extend(this, data); } public abstract getId(): string; public abstract save(); public abstract remove(); } export default Storable;
{ "pile_set_name": "Github" }
{% extends "base.html" %} {% block title %}{{ username }}: {{ artist }}{% endblock %} {% block tagline %}This is {{ username }}'s history for <em>{{ artist }}</em>.{% endblock %} {% block content %} <img class="resizeable_graph" src="/graph/{{ username }}/artist/{{ artist }}/" /> <div class="export"> Export:...
{ "pile_set_name": "Github" }
// This file is automatically generated. // Please do not change this file! interface CssExports { 'description': string; 'header': string; 'icon': string; 'masterworked': string; 'metric': string; 'name': string; 'value': string; } export const cssExports: CssExports; export default cssExports;
{ "pile_set_name": "Github" }
StartChar: Odieresis.sc Encoding: 66251 -1 1534 Width: 560 VWidth: 0 Flags: HW LayerCount: 2 Fore Refer: 1409 -1 N 1 0 0 1 0 0 2 EndChar
{ "pile_set_name": "Github" }
from ..fast_exp import fast_exp import numpy as np def test_fast_exp(): X = np.linspace(-5, 0, 5000, endpoint=True) # Ground truth Y = np.exp(X) # Approximation at double precision _y_f64 = np.array([fast_exp['float64_t'](x) for x in X]) # Approximation at single precision _y_f32 = np....
{ "pile_set_name": "Github" }
require 'mxx_ru/binary_unittest' path = 'test/so_5/mchain/adv_select_mthread_read' MxxRu::setup_target( MxxRu::BinaryUnittestTarget.new( "#{path}/prj.ut.rb", "#{path}/prj.rb" ) )
{ "pile_set_name": "Github" }
// Before class ExampleComponent extends React.Component { // highlight-range{1-10} componentWillMount() { this.setState({ subscribedValue: this.props.dataSource.value, }); // This is not safe; it can leak! this.props.dataSource.subscribe( this.handleSubscriptionChange ); } com...
{ "pile_set_name": "Github" }
#this is a comment # this is a second comment COFF 8 4 0 -1 -1 0 0.9 0.0 0.0 #red 0 -1 0 0.0 0.0 0.9 #blue 1 -1 0 0.9 0 0#red 1 0 0 0 0 0.9 #blue 1 1 0 0.9 0 0 #red 0 1 0 0 0 0.9 #blue -1 1 0 0.9 0 0 #red -1 0 0 0 0 0.9 #blue 3 0 1 7 0.9 0 0 #red 3 1 2 3 0.9 0 0 #red 3 5 6 7...
{ "pile_set_name": "Github" }
Bash history reverse search Clear the terminal instantly Clear bash history Find any Unix / Linux command Terminal based browser
{ "pile_set_name": "Github" }
zreladdr-$(CONFIG_ARCH_H720X) := 0x40008000
{ "pile_set_name": "Github" }
#!/usr/bin/env python3 import sys from testrunner import run def testfunc(child): child.expect_exact("Predicted class: cat") if __name__ == "__main__": sys.exit(run(testfunc))
{ "pile_set_name": "Github" }
import unittest from TTS.tts.utils.text import phonemes class SymbolsTest(unittest.TestCase): def test_uniqueness(self): #pylint: disable=no-self-use assert sorted(phonemes) == sorted(list(set(phonemes))), " {} vs {} ".format(len(phonemes), len(set(phonemes)))
{ "pile_set_name": "Github" }
'use strict'; module.exports = function (str, sep) { if (typeof str !== 'string') { throw new TypeError('Expected a string'); } sep = typeof sep === 'undefined' ? '_' : sep; return str .replace(/([a-z\d])([A-Z])/g, '$1' + sep + '$2') .replace(/([A-Z]+)([A-Z][a-z\d]+)/g, '$1' + sep + '$2') .toLowerCase(); ...
{ "pile_set_name": "Github" }
sp_api::decl_runtime_apis! { pub trait Api { fn test(data: u64); } pub trait Api2 { fn test(data: u64); } } struct MockApi; struct MockApi2; sp_api::mock_impl_runtime_apis! { impl Api<Block> for MockApi { fn test(data: u64) {} } impl Api2<Block> for MockApi2 { fn test(data: u64) {} } } fn main() {}...
{ "pile_set_name": "Github" }
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ export { registerHelpers } from './elasticsearch'; export { getRandomString ...
{ "pile_set_name": "Github" }
{ "replace": false, "values": [ "techreborn:diamond_nugget" ] }
{ "pile_set_name": "Github" }
// Weathers.co // var http = require("http.js"); function http_test1() { var host = "community-zippopotamus.p.mashape.com"; // httpbin.org log("Host: " + host); if (host === null) { return; } function logHTTP(obj) { log("HTTP Status Code: " + obj.httpStatus); log("Headers: " + JSON.stringify(obj.headers)); ...
{ "pile_set_name": "Github" }
require('./_typed-array')('Int8', 1, function (init) { return function Int8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; });
{ "pile_set_name": "Github" }
Name: Logger for Redux URL: https://github.com/LogRocket/redux-logger License: MIT License File: /brave/node_modules/redux-logger/LICENSE
{ "pile_set_name": "Github" }
{ "required" : true , "$schema" : "http://json-schema.org/draft-03/schema" , "type" : "object" , "properties" : { "Users" : { "type" : "string" , "required" : false } , "Administrators" : { "type" : "string" , "required" : false } , "Developers" : { "type" : "st...
{ "pile_set_name": "Github" }
AIFAD stands for --Automated Induction of Functions over Algebraic Datatypes-- and improves decision tree learning by supporting significantly more complex kinds of data. This allows users to more conveniently describe the data they want to have learnt, which can improve accuracy and complexity of resulting models. WW...
{ "pile_set_name": "Github" }
require('../../modules/es6.typed.float32-array'); module.exports = require('../../modules/_core').Float32Array;
{ "pile_set_name": "Github" }
1 3 a a a
{ "pile_set_name": "Github" }
}))}(document, Math));
{ "pile_set_name": "Github" }
require('../../modules/es7.math.degrees'); module.exports = require('../../modules/_core').Math.degrees;
{ "pile_set_name": "Github" }
# coding=utf-8 from flask_redis import FlaskRedis from flask_cache import Cache redis_store = FlaskRedis() cache = Cache()
{ "pile_set_name": "Github" }
// untested sections: 2 package matchers import ( "fmt" "github.com/onsi/gomega/format" ) type BeTrueMatcher struct { } func (matcher *BeTrueMatcher) Match(actual interface{}) (success bool, err error) { if !isBool(actual) { return false, fmt.Errorf("Expected a boolean. Got:\n%s", format.Object(actual, 1)) ...
{ "pile_set_name": "Github" }
idVendor: 0x28B9 iManufacturer: USB idProduct: 0x0002 iProduct: Smart Card Reader bcdDevice: 1.00 (firmware release?) bLength: 9 bDescriptorType: 4 bInterfaceNumber: 0 bAlternateSetting: 0 bNumEndpoints: 3 bulk-IN, bulk-OUT and Interrupt-IN bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)] ...
{ "pile_set_name": "Github" }
p edge 20 25 e 1 5 e 2 13 e 2 14 e 3 5 e 3 16 e 6 13 e 6 0 e 7 14 e 7 12 e 7 16 e 8 12 e 8 16 e 9 11 e 9 14 e 10 4 e 10 16 e 11 1 e 14 12 e 15 17 e 15 0 e 17 12 e 18 7 e 18 0 e 19 4 e 19 0
{ "pile_set_name": "Github" }
[subject:New message - {site}] Hello, {nickname}. The site «{site}» You received a new private message from <a href="{user_url}">{user_nickname}</a>. -- Best regards, {site} <small>This letter is sent automatically, please do not reply</small>
{ "pile_set_name": "Github" }
// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. // +build mipsle,linux package unix const ( SizeofPtr = 0x4 SizeofLong = 0x4 ) type ( _C_long int32 ) type Timespec struct { Sec int32 Nsec int32 } ty...
{ "pile_set_name": "Github" }
# Blender MTL File: 'None' # Material Count: 1 newmtl Standard Ns 96.078431 Ka 0.000000 0.000000 0.000000 Kd 0.690196 0.690196 0.690196 Ks 0.012549 0.012549 0.012549 Ni 1.000000 d 1.000000 illum 2 map_Kd grid_fabric.jpg
{ "pile_set_name": "Github" }
new Array(); new Array(1); new Array(1, 2, 3);
{ "pile_set_name": "Github" }
new Array(); new Array(1); new Array(1, 2, 3);
{ "pile_set_name": "Github" }
import { Component } from '@angular/core'; @Component({ selector: 'demo-tabs-vertical-pills', templateUrl: './vertical-pills.html' }) export class DemoTabsVerticalPillsComponent {}
{ "pile_set_name": "Github" }
import React from 'react'; function connect(WrappedComponent, select) { return function(props) { const selectors = select(props); return <WrappedComponent {...props} {...selectors} />; }; } export default connect;
{ "pile_set_name": "Github" }
{ "images" : [ { "idiom" : "universal", "filename" : "icon_default_phiz.png", "scale" : "1x" }, { "idiom" : "universal", "filename" : "icon_default_phiz@2x.png", "scale" : "2x" }, { "idiom" : "universal", "filename" : "icon_default_phiz@3x.png", ...
{ "pile_set_name": "Github" }
#include <iostream> #include <vector> using namespace std; int main(){ int N, num, score, sum; cin >> N; vector<int> v(N + 1); for(int i = 0; i < N; i++){ cin >> num >> score; v[num] += score; } int max = v[1], t = 1; for(int i = 2; i <= N; i++){ if(max < v[i]){ max = v[i]; t = i; } } cout << t <...
{ "pile_set_name": "Github" }
## team.members.prefs:update ### summary updated prefs of the other members of this team ### channel team ### response ```json { "isMute": true, "alias": "ALICE", "_teamId": "5513d3457931dc303563f374", "_userId": "5513d3457931dc303563f372" } ```
{ "pile_set_name": "Github" }
package client import ( "context" "encoding/json" "net/url" "github.com/docker/docker/api/types" "github.com/docker/docker/api/types/filters" ) // NetworkList returns the list of networks configured in the docker host. func (cli *Client) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]type...
{ "pile_set_name": "Github" }
; RUN: opt < %s -constprop -S | \ ; RUN: not grep "ret i1 false" @b = external global [2 x { }] ; <[2 x { }]*> [#uses=2] define i1 @f() { %tmp.2 = icmp eq { }* getelementptr ([2 x { }], [2 x { }]* @b, i32 0, i32 0), getelementptr ([2 x { }], [2 x { }]* @b, i32 0, i32 1) ; <i1>...
{ "pile_set_name": "Github" }