source stringclasses 40
values | date int32 2.02k 2.02k | text stringlengths 61 2.1M | token_count int32 50 1.16M | category stringclasses 38
values |
|---|---|---|---|---|
common_corpus_Github Open Source | 2,021 | /**
* Copyright 2019 Colin Doig. Distributed under the MIT license.
*/
#include <iostream>
#include <json/json.h>
#include <string.h>
#include "greentop/stream/AuthenticationMessage.h"
#include "greentop/stream/MarketChangeMessage.h"
#include "greentop/StreamApi.h"
namespace {
int waitOnSocket(curl_socket_t sockf... | 1,034 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | 'use strict';
const DeleteReviewTest = require('./delete_review_test');
class ACLTest extends DeleteReviewTest {
get description () {
return 'should return an error when trying to delete a review authored by someone else';
}
getExpectedError () {
return {
code: 'RAPI-1013',
reason: 'only the author or ... | 126 | cc:Github Open Source |
common_corpus_French Open Data | 2,021 | le but de cette association est de réduire la misère animale et de limiter les euthanasies les activités envisagées pour atteindre cet objectif est de recueillir et héberger les animaux en extrême urgence vitale sauver les chats les chattes gestantes qui viennent de mettre bas avec leur portée et les chatons qui risque... | 93 | cc:French Open Data |
common_corpus_Github Open Source | 2,021 | package api_go_sdk
import "time"
// Api Client arguments to init a new instance
type ApiClientArgs struct {
Port int
Fingerprint string
Sid string
Server string
HttpDebugLevel string
ProxyHost string
ProxyPort ... | 419 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 四川省江安县人民法院 民 事 裁 定 书 (2021)川1523民初948号 原告:文艺,女,1998年4月27日出生,汉族,居民,住四川省江安县。 委托诉讼代理人:陈有木,四川戎星律师事务所律师。执业证号:××。 被告:陈洪林,男,1989年4月17日出生,汉族,居民,住四川省江安县。 被告:张勇,男,1996年7月28日出生,汉族,居民,住四川省泸县。 被告:中国平安财产保险股份有限公司泸州中心支公司。住所地:四川省泸州市龙马潭区龙南路**。统一社会信用代码:915105009047288034。 负责人:曹阳,经理。 原告文艺与被告陈洪林、张勇、中国平安财产保险股份有限公司泸州中心支公司机动车交通事故责... | 584 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | <?php
namespace App\Rules;
use Illuminate\Contracts\Validation\Rule;
class IsValidLatePolicyForCompletedScoringType implements Rule
{
private $late_policy;
/**
* Create a new rule instance.
*
* @return void
*/
public function __construct($late_policy)
{
$this->late_policy ... | 191 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using System;
using MediatR;
namespace Strive.Core.Services.BreakoutRooms.Internal
{
public record ApplyBreakoutRoomRequest (string ConferenceId, BreakoutRoomsConfig? State,
IAsyncDisposable? AcquiredLock = null, bool CreateNew = false) : IRequest<BreakoutRoomInternalState?>;
}
| 68 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | export const getLecturesService = async (lecture: any, reqQueryId: string) => {
return await lecture
.find({
course: reqQueryId,
})
.populate({ path: 'course', model: 'courses', select: 'courseDescription' });
};
export const saveLectureService = async (lecture: any) => {
re... | 84 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 北京市朝阳区人民法院民 事 判 决 书(2021)京0105民初44202号原告:中信银行股份有限公司信用卡中心北京分中心,营业场所北京市朝阳区夏家园11号楼二层12号、一层6/7号。负责人:杨晋哲,分中心总经理。委托诉讼代理人:余永华,北京市中闻律师事务所律师。委托诉讼代理人:班宝石,北京市中闻律师事务所律师。被告:李艳辉,男,1987年11月12日出生,汉族,住北京市平谷区。原告中信银行股份有限公司信用卡中心北京分中心(以下简称中信信用卡北分)与被告李艳辉信用卡纠纷一案,本院立案后,依法适用简易程序公开开庭进行了审理。原告的委托诉讼代理人余永华、班宝石到庭参加了诉讼,被告李艳辉经公告传唤未到庭应诉。本案现已审理终结。原告中信信用... | 2,073 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | /* vi:set ts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
/*
* Tcl extensions by Ingo Wilken <Ingo.Wilken@informatik.uni-oldenburg.de>
* Last modification: Wed May 10 2... | 14,079 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 河南省郑州市中级人民法院民 事 裁 定 书(2021)豫01民终1961号上诉人(原审被告):黄付祥,男,汉族,1969年6月20日出生,住河南省杞县。被上诉人(原审原告):陟昌会,女,汉族,1966年12月10日出生,住河南省固始县。上诉人黄付祥因与被上诉人陟昌会民间借贷纠纷一案,不服郑州市金水区人民法院(2020)豫0105民初24568号民事判决,向本院提起上诉。本院立案后,依法适用独任制审理了本案。本院审理过程中,上诉人黄付祥提出撤回其上诉。本院认为,上诉人黄付祥在本案审理期间提出撤回上诉的请求,不违反法律规定,本院予以准许。依照《中华人民共和国民事诉讼法》第一百七十三条规定,裁定如下:准许黄付祥撤回上诉。一审判决自本裁定书... | 485 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | <?php
/**
* Generated by Haxe 4.1.5
*/
namespace haxe;
use \php\_Boot\HxAnon;
use \php\Boot;
use \php\_Boot\HxString;
use \haxe\ds\List_hx;
use \haxe\_Template\TemplateExpr;
use \haxe\iterators\ArrayIterator;
/**
* `Template` provides a basic templating mechanism to replace values in a source
* String, and to ha... | 5,979 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Xml;
using ReactiveUI;
namespace PackageReferenceEditor
{
[DataContract]
public class UpdaterResult : ReactiveObject
{
private IList<XmlDocument>? _documents;
private IList<PackageReference>? _references;
... | 229 | cc:Github Open Source |
common_corpus_Creative Commons Common Crawl (CCC) | 2,021 | Grants:IdeaLab/Awareness of AIDS
Awareness of AIDS
For example people who live in the Nyanza region in Kenya. Women are being seduced by men just because of fish. If you are ugly you can not get any fish
idea creator
Mitchell trammell
this project needs...
volunteer
developer
advisor
project manager
community organize... | 691 | cc:Creative Commons Common Crawl (CCC) |
common_corpus_Github Open Source | 2,021 | package tslInternship;
import java.io.*;
import java.util.*;
class FlowShopAlgorithm{
public int[] ArrangeDescendingJobs(int[][] Jobmx, int n, int m)
{
int jobsdesc[]= new int[n];
int Ttime[]= new int[n];
for(int i=0;i<n;i++)
{
for(int j=0;j<m;j++)
{
Ttime[i]+= Jobmx[i][j];
}
}
for(int... | 1,149 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 江苏省苏州市相城区人民法院执 行 裁 定 书(2021)苏0507执1454号之一申请执行人:王俊豪,男,2008年2月12日生,汉族,住江苏省盐城市响水县。被执行人:彭学生,男,1982年9月26日生,汉族,住河南省周口市淮阳县。申请执行人王俊豪与被执行人彭学生彭学生交通肇事罪附带民事一案,本院于2020年12月7日作出的(2020)苏0507刑初247号刑事附带民事判决书已经发生法律效力。依该裁判:附带民事诉讼被告人彭学生赔偿附带民事诉讼原告人王俊豪人民币130424.62元,于判决生效后一个月内履行。由于义务人彭学生未履行生效法律文书确定的义务,本院于2021年3月29日立案执行,立案执行标的为130424.62元。案件执行过... | 1,395 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | package kr.or.ddit.groupware.contoller;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframewo... | 2,281 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 广东省博罗县人民法院行 政 裁 定 书(2021)粤1322行审135号申请执行人惠州市惠阳区自然资源局,住所地:广东省惠州市××××××××。负责人黄向阳,局长。委托代理人叶伟祥、香君穗,该局工作人员。被申请执行人王增良,男,汉族,1969年9月27日出生,身份证住址:广东省陆丰市××××××××××。申请执行人惠州市惠阳区自然资源局依据其作出的惠阳自然资(监)字[2019]QC212-2《土地违法案件行政处罚决定书》,于2021年1月14日向本院申请执行。本院依法组成合议庭,对该申请进行审查。现已审查完毕。经审查查明,申请执行人惠州市惠阳区自然资源局于2019年10月30日作出惠阳自然资(监)字[2019]QC212-2《土地违... | 1,483 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | from sklearn.dummy import DummyClassifier, DummyRegressor
from sklearn.preprocessing import MinMaxScaler
from sklearn.naive_bayes import GaussianNB, MultinomialNB
from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor
from sklearn.pipeline import make_pipeline
from sklearn.linear_model import LogisticRe... | 5,700 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | package com.aplayer.aplayerandroid;
import android.view.SurfaceHolder;
import android.view.SurfaceHolder.Callback;
// compiled from: APlayerAndroid.java
final class c implements Callback {
final /* synthetic */ APlayerAndroid a;
c(APlayerAndroid aPlayerAndroid) {
this.a = aPlayerAndroid;
}
p... | 525 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 辽宁省沈阳市于洪区人民法院民 事 裁 定 书(2021)辽0114民初4701号原告:刘有,男,1975年12月18日出生,汉族,住址:黑龙江省拜泉县。被告:中国人民财产保险股份有限公司黑龙江省分公司,住所地:黑龙江省哈尔滨市香坊区。负责人:董国升。原告刘有与中国人民财产保险股份有限公司黑龙江省分公司机动车交通事故责任纠纷一案,本院于2021年4月6日立案后,依法进行审理。本院经审查认为,《中华人民共和国民事诉讼法》第一百一十九条规定:“起诉必须符合下列条件(一)原告是与本案有直接利害关系的公民、法人和其他组织;(二)有明确的被告;(三)有具体的诉讼请求和事实、理由;(四)属于人民法院受理民事诉讼的范围和受诉人民法院管辖。”本案中,... | 683 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | var data = {
"body": "<path d=\"M12 8.89l.94 3.11h2.82l-2.27 1.62l.93 3.01L12 14.79l-2.42 1.84l.93-3.01L8.24 12h2.82L12 8.89M9.58 10H5.12c-.97 0-1.37 1.25-.58 1.81l3.64 2.6l-1.43 4.61c-.29.93.79 1.68 1.56 1.09l3.69-2.8l3.69 2.81c.77.59 1.85-.16 1.56-1.09l-1.43-4.61l3.64-2.6c.79-.57.39-1.81-.58-1.81h-4.46l-1.47-4.84c-.... | 288 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | <?php
namespace Database\Seeders;
use App\Models\Administradore;
use App\Models\Bitacora;
use App\Models\Correspondencia;
use App\Models\Reglamento;
use App\Models\Tramite;
use App\Models\User;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
... | 159 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 河北省泊头市人民法院 执 行 裁 定 书 (2021)冀0981执异2号 异议人:江苏三淮建设工程公司,住所地淮阴区王营镇北京东路**。统一社会信用代码3208211100186。 法定代表人:蔡道学,总经理。 委托代理人时洪生、章月,北京盈科(淮安)律师事务所律师。 申请执行人:杨艳猛,男,1984年2月18日出生,汉族,住泊头市。 在本院执行杨艳猛与江苏三淮建筑劳务有限公司租赁合同纠纷一案中,异议人江苏三淮建设工程公司(以下简称三淮公司)向本院提出书面异议。本院受理后,依法组成合议庭进行了审查,现已审查终结。 异议人三淮公司称,1、请求裁定中止河北省泊头市人民法院(2020)冀0981执恢90号案件的执行措施;2、解封江苏三淮建... | 3,092 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | /*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
* vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to a... | 528 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /*
Copyright (c) 2017 Ahmed Kh. Zamil
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | 1,380 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import React,{useState , useEffect} from 'react';
import './Dashboard.css';
import { makeStyles } from '@material-ui/core/styles';
import { deepPurple } from '@material-ui/core/colors';
import HelpOutlineIcon from '@material-ui/icons/HelpOutline';
import Avatar from '@material-ui/core/Avatar';
import {Button} from '@ma... | 656 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | from marmousi.marmousi2_tools import read_data, show
if __name__ == '__main__':
start_z = 462.5
stop_z = 3500.0
start_x = 2000
stop_x = 8000
coarse_factor = 10
rho_coeffs, cp_coeffs, cs_coeffs, la_coeffs, mu_coeffs = read_data(start_z = start_z, stop_z = stop_z,
... | 301 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | <?php
/* The trait show notifications on students pages
* */
namespace App\Http\Controllers\Student;
use App\Notification;
use App\Student;
use Illuminate\Support\Facades\Auth;
trait Notifications
{
protected function notifications()
{
$user_id = Auth::id();
$student = Student::where('user_... | 142 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | package com.keimons.nutshell.module;
/**
* 组持久化方案,这一步是将可重叠的数据进行合并,合并之后才能存入数据库
* <p>
* 系统中提供的一种持久化方案,例如装备,实际上是将数据
*
* @param <T> 模块中的数据类型
* @author houyn[monkey@keimons.com]
* @version 1.0
* @since 11
**/
public interface ISingularModule<T extends IGameData & ISingularData> extends IModule<T> {
/**
* 获取数据
... | 181 | cc:Github Open Source |
common_corpus_OpenAlex | 2,021 | Minimizing Impact of the Urbanization on the
Physical Habitat Suitability of Downstream River by
a Multi-objective Optimization Mahdi Sedighkia ( mahdi.sedighkia@my.jcu.edu.au ) Mahdi Sedighkia1*, Asghar Abdoli2 2-Environmental science research institute, Iran *Corresponding Author: Mahdi.sedighkia@my.jcu.edu.au Res... | 20,087 | academic |
common_corpus_Github Open Source | 2,021 | package teamroots.embers.tileentity;
import mysticalmechanics.api.IGearBehavior;
import mysticalmechanics.api.IGearbox;
import mysticalmechanics.api.MysticalMechanicsAPI;
import mysticalmechanics.block.BlockGearbox;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.resources.I18n;
import net.mi... | 2,012 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using System.Collections.Generic;
using ExpressionEngine;
using ExpressionEngine.Functions.Base;
using NUnit.Framework;
namespace Test
{
public class ExpressionGrammarTest
{
private ExpressionGrammar _expressionGrammar;
private DummyFunction _dummyFunction;
[SetUp]
public void... | 508 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | # Copyright 2010 New Relic, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 701 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 上海市浦东新区人民法院执 行 裁 定 书(2021)沪0115执19412号上海市浦东新区人民法院执行裁定书(2021)沪0115执19412号申请执行人浙江泰隆商业银行股份有限公司上海浦东支行,住所地上海市浦东新区成山路XXX号一至三层。负责人李皓。被执行人葛寅见,男,1987年3月10日生,汉族,住浙江省台州市。被执行人蔡锡标,男,1984年8月27日生,汉族,住浙江省台州市。被执行人葛荣土,男,1956年10月29日生,汉族,住浙江省台州市。本院在执行(2020)沪0115民初30583号民事判决书一案中,已依照法定程序向被执行人发出执行通知书、财产申报表等材料,通知其在指定时间至本院谈话并责令其履行法律文书确定的义务,但被执... | 813 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | <?php
defined('BASEPATH') or exit('No direct script access allowed');
class produk_model extends CI_Model
{
public function list()
{
$this->db->select('produk.*, kategori.nama AS kategori, produk_status.nama AS status');
$this->db->join('kategori', 'kategori.id = produk.id_kategori', 'left');... | 346 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using Arinna.DDD.Domain;
using Arinna.DDD.Domain.Specification;
using Arinna.Northwind.OrderService.Domain.Aggregate.ShipperAggregate;
using System;
using System.Collections.Generic;
using System.Text;
namespace Arinna.Northwind.OrderService.Domain.Specification
{
public class ShipperByIdSpecification : Specifica... | 98 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | ;(typeof mediaWiki !== 'undefined' && function($, mw, window){
var Grid = window.Grid || {};
Grid.create = function create(grid_data){
var $grid = $('<nav />', {
'class': 'main-page-grid grid',
'id': 'main-page-grid'
});
$grid.html($.map(grid_data, function(col, i... | 176 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | package typingsSlinky.webdriverio.webdriverioCoreMod.WebdriverIO
import typingsSlinky.webdriverio.anon.Alpha
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
@js.native
trait CSSProperty extends js.Object {
var par... | 391 | cc:Github Open Source |
common_corpus_USPTO | 2,021 | Roof Truss Assembly System
ABSTRACT
A roof truss assembly system comprised of multiple moveable pedestals, some of which are mounted on a floor track, and also including roller lift assemblies for lifting and moving a completed roof truss off the top of the assembly system components for subsequent storage or transpo... | 8,535 | formal_gov |
common_corpus_Github Open Source | 2,021 | /*
* Copyright (c) 2013,武漢聯綿信息技術有限公司
* All rights reserved.
*
* 文件名称:FileManagement
* 摘 要:
*
* 当前版本:1.0
* 作 者:lhInc
* 完成日期:2013/8/16 13:59:43
*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.C... | 2,295 | cc:Github Open Source |
common_corpus_RusLawOD | 2,021 | РОССИЙСКАЯ ФЕДЕРАЦИЯ
ФЕДЕРАЛЬНЫЙ ЗАКОН
О внесении изменений в Федеральный закон "О таможенном регулировании в Российской Федерации и о внесении изменений в отдельные законодательные акты Российской Федерации"
Принят Государственной Думой 7 апреля 2021 года
Одобрен Советом Федерации 14 апреля 2021 года
Статья 1
... | 907 | cc:RusLawOD |
common_corpus_Github Open Source | 2,021 | import pytest
from triggers.helpers import lower_first
@pytest.mark.parametrize(('input', 'expected'), [
('a', 'a'),
('ХУЙ', 'хУЙ'),
('Камаз Навоза', 'камаз Навоза'),
])
def test(input, expected):
assert lower_first(input) == expected
| 76 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /*! Events and storage for sending information about aggregate times on splits.
zombiesplit tracks two [Scope]s of aggregate (total across all times in the
split, and cumulative totals over all splits up to and including the split),
and two [Source]s (from the current attempt, and from the database comparison).
This ... | 123 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | #ifndef H5CGNSFILE_H
#define H5CGNSFILE_H
#include "h5cgnsfilesolutionwriter.h"
#include "iriclib_global.h"
#include <string>
namespace iRICLib {
class H5CgnsBase;
class H5CgnsFileSolutionReader;
class H5CgnsFileSolutionWriter;
class H5CgnsZone;
class IRICLIBDLL H5CgnsFile
{
public:
enum class Mode {
Create,
... | 434 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 湖南省韶山市人民法院执 行 裁 定 书(2021)湘0382执13号申请执行人庞文秋,男,1959年8月25日出生,住所地韶山市。被执行人庞鲲,男,1977年3月11日出生,汉族,住湖南省韶山市。申请执行人庞文秋与被执行人庞鲲追索劳动报酬纠纷一案,本院作出的(2020)湘0382民初98号民事判决书已经发生法律效力。由于被执行人庞鲲没有履行生效法律文书确定的义务,申请执行人庞文秋于2021年1月4日向本院申请强制执行,请求被执行人依法履行生效判决书确定的义务,本院依法受理。执行过程中,本院于2021年1月7日向被执行人庞鲲送达了执行通知书和报告财产令,分别于2021年1月6日、1月8日、1月27日、2月18日、3月12日发起总对总网... | 1,040 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | "use strict";
const port = 4000;
const mime = { html: "text/html;charset=utf8", js: "text/javascript" };
const fs = require("fs");
const r2a = require("path").join.bind(null, __dirname, "../public");
const server = require("http").createServer(({ url }, res) => {
const pair = [
[200, r2a(url)],
[200, r2a(url... | 211 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | const Command = require('../../Base/Command');
const low = require('lowdb');
const Discord = require('discord.js');
const { checkDays, rain } = require('../../../../HELPERS/functions');
const InviteData = require('../../../../MODELS/StatUses/Invites');
const { stripIndent } = require('common-tags');
class Invites exten... | 428 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /* eslint-disable no-undef */
/* eslint-disable no-unused-vars */
'use strict';
let chart_data = JSON.parse(localStorage.getItem('user data'));
var ctx = document.getElementById('myChart').getContext('2d');
var myChart = new Chart(ctx, {
type: 'pie',
data: {
labels: ['Get Healthy', 'Lose Weigth', 'Maintain Weig... | 177 | cc:Github Open Source |
common_corpus_fr | 2,021 | This section of the FEDERAL REGISTER
contains notices to the public of the proposed
issuance of rules and regulations. The
purpose of these notices is to give interested
persons an opportunity to participate in the
rule making prior to the adoption of the final
rules.
Proposed Rules Federal Register
46160
Vol... | 5,316 | cc:fr |
common_corpus_Github Open Source | 2,021 | import * as React from "react";
import { renderToStaticMarkup } from "react-dom/server";
import { PUBLIC_URL } from "../domain/env";
type Props = {
locale: string;
chartId: string;
};
const EmbedHTML = ({ locale, chartId }: Props) => (
<html lang={locale}>
<head>
<meta name="viewport" content="width=d... | 247 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | // Copyright (c) 2011-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// Ring-fork: Hive
#include <wallet/wallet.h>
#include <wallet/fees.h>
#include <qt/hivedialog.h>
#include <qt/forms/ui_hiv... | 4,934 | cc:Github Open Source |
common_corpus_USPTO | 2,021 | FIG. 6 is a block diagram of an example system 600 for device anomaly detection. System 600 may include CHF 610 and PCF 620. CHF 610 may include similar components and/or instructions to CHF 112 of FIG. 1 as described above. Similarly, PCF 620 may include similar components and/or instructions to PCF 114 of FIG. 1 as d... | 2,304 | formal_gov |
common_corpus_OpenAlex | 2,021 | \ \ Cerdika: Jurnal Ilmiah Indonesia, Februari 2020, 1 (2), 164-170
p-ISSN: 2774-6291 e-ISSN: 2774-6534 Available online at http://cerdika.publikasiindonesia.id/index.php/cerdika/index Abstract Abstract
This descriptive quantitative study was intended to analyze
and describe the the respondents’ perception of th... | 4,940 | academic |
common_corpus_StackExchange | 2,021 | Why doesn't postgres create the database?
I have problems in deploying a simple postgres container on minikube. It doesn't create "postgres" database when a persistent volume is mounted:
kubectl exec -it POSTGRES_POD -- sh
/ $ su postgres
/ $ psql
psql: FATAL: database "postgres" does not exist
Here is my postgres d... | 653 | misc_reference |
common_corpus_Github Open Source | 2,021 | function main()
{
// Get the shortname
var shortName = url.extension;
// Get the site
var site = siteService.getSite(shortName);
if (site != null)
{
// Pass the site to the template
model.site = site;
}
else
{
// Return 404
status.setCode(404, "Site " + shortNa... | 101 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using System;
using System.Linq;
using DocsBr.Utils;
namespace DocsBr.Validation.IE
{
/// <summary>
/// Validação da IE de Minas Gerais
/// </summary>
/// <remarks>
/// ROTEIRO DE CRÍTICA DA INSCRIÇÃO ESTADUAL:
/// http://www.sintegra.gov.br/Cad_Estados/cad_MG.html
/// </remarks>
pu... | 436 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 苏州市吴江区人民法院民 事 判 决 书(2021)苏0509民初7351号原告:中国农业银行股份有限公司苏州长三角一体化示范区分行,住所地苏州市吴江区松陵镇永康路202号。主要负责人:蒋勇,行长。委托诉讼代理人:阮成霖,江苏吴越律师事务所律师。委托诉讼代理人:潘舜州,江苏吴越律师事务所律师。被告:韦明珍,女,1967年12月7日出生,汉族,住苏州市吴江区。原告中国农业银行股份有限公司苏州长三角一体化示范区分行(下称农行苏州长三角一体化示范区分行)与被告韦明珍信用卡纠纷一案,本院于2021年6月17日立案后,依法由审判员刘胜芝适用简易程序于2021年7月12日公开开庭进行了审理。原告农行苏州长三角一体化示范区分行的委托诉讼代理人阮成霖... | 4,302 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimWorld;
using Verse;
namespace TorannMagic.ModOptions
{
public class FactionDictionary
{
//public FactionStruct GetFactionSettings(FactionDef f)
//{
// if(!fd... | 658 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 |
export const water_09000000 = []
// #include "textures/water/jrb_textures.00000.rgba16.inc.c"
// };
// 0x09000800
export const water_09000800 = []
// #include "textures/water/jrb_textures.00800.rgba16.inc.c"
// };
// 0x09001800
export const water_09001800 = []
// #include "textures/water/jrb_textures.01800.rgba16.in... | 587 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import { ruleYobta, SyncRule } from '../ruleYobta'
const truthySet = new Set([1, '1', 'yes', 'true'])
const falsySet = new Set([0, '0', 'no', 'false', 'null', null])
function coerce(input: any): boolean {
let lowerCasedInput = typeof input === 'string' ? input.toLowerCase() : input
if (falsySet.has(lowerCasedInpu... | 202 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 大连市西岗区人民法院民 事 裁 定 书(2021)辽0203民初4996号原告:罗伊视效动漫有限公司(ROIVISUALCo,Ltd.),住所地大韩民国首尔特别市江南区鹤洞路30道,5,6层(论岘洞,YangJinPlaza)。法定代表人:李东雨。委托诉讼代理人:衣维成、邵文丽,辽宁慧之林律师事务所律师。被告:大连市中山区大洋超市,经营场所辽宁省大连市中山区中青街158号。经营者:李忠霖。原告罗伊视效动漫有限公司(ROIVISUALCo,Ltd.)与被告大连市中山区大洋超市侵害作品信息网络传播权纠纷一案,本院立案后,原告罗伊视效动漫有限公司(ROIVISUALCo,Ltd.)在本院依法送达交纳诉讼费用通知后,未在指定期限内预交案件受... | 541 | cc:Chinese-Court-Decisions |
common_corpus_French-Science-Pile | 2,021 | The constraints in (3.5c) and (3.5d) serve the same purpose as (3.4c) and (3.4d), with the possibility of a half-duplex allocation considered. These constraints ensure the resources are allocated efficiently in an environment with dynamic traffic arrivals. In what follows, we propose different expressions for the utili... | 10,433 | cc:French-Science-Pile |
common_corpus_StackExchange | 2,021 | Database design - single subtype in a separate table vs common table
In a food delivery app I have a USERS table that holds info about user data like firstname, lastname, email, password etc.
A small subset of users (~1% of all users) will have a delivery person role assigned. This means that there will be some deliver... | 902 | misc_reference |
common_corpus_Github Open Source | 2,021 | from ..base import MultiGridEnv, MultiGrid
from ..objects import *
class ClutteredMultiGrid(MultiGridEnv):
mission = "get to the green square"
metadata = {}
def __init__(
self,
*args,
n_clutter=None,
clutter_density=None,
randomize_goal=False,
**kwargs
... | 330 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using System;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
namespace AdvancedTilemap
{
[Serializable]
public class Tile
{
public string Name = "Tile";
public BlockType Type;
public int VariationsCount;
public Vector2Int Position;
public V... | 781 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | // +build ignore
package dwfcmd
import (
"fmt"
"time"
"github.com/iotaledger/wasp/tools/wasp-cli/sc/dwf"
"github.com/iotaledger/wasp/tools/wasp-cli/util"
)
func statusCmd(args []string) {
status, err := dwf.Client().FetchStatus()
log.Check(err)
util.DumpSCStatus(dwf.Config, status.SCStatus)
fmt.Printf(" a... | 270 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 大连高新技术产业园区人民法院 民 事 判 决 书 (2021)辽0293民初839号 原告:李佳威,女,1995年11月16日出生,住大连市。 被告:象幕科技(大连)有限公司,住所地大连高新技术产业园区广贤路133号19层,统一社会信用代码:91210231MA10J5CP7N。 法定代表人:安永春。 原告李佳威与被告象幕科技(大连)有限公司(以下简称象幕公司)劳动争议一案,本院于2021年5月7日立案后,依法适用简易程序,公开开庭进行了审理。原告李佳威到庭参加诉讼。被告象幕公司经本院传票传唤,无正当理由未到庭应诉,本院依法缺席审理。本案现已审理终结。 原告李佳威向本院提出诉讼请求:判令被告支付原告2020年11月至2020年12月... | 1,970 | cc:Chinese-Court-Decisions |
common_corpus_Chinese-Court-Decisions | 2,021 | 江西省武宁县人民法院执 行 裁 定 书(2021)赣0423执130号申请执行人:叶荷花,女,1984年6月29日生,汉族,江西省武宁县人,自由职业,住武宁县。被执行人:武宁建恒置业有限公司,住所地:江西省九江市武宁县万福经济技术开发区。统一社会信用代码:91360423598867513Q。法定代表人:臧进忠。申请执行人依据已发生法律效力的武宁县人民法院(2020)赣0423民初2100号民事调解书,于2021年1月4日向本院申请执行。本院于2021年1月19日立案执行,向被执行人发出执行通知,被执行人未履行生效法律文书确定的义务。在本案执行过程中,本院向被执行人发出责令报告财产令,通过网络查控系统、线下传统查控、委托调查、现场查... | 934 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 |
"""
Discussion:
1. Yes. Because
a. area under the STDP curve is negative
b. synapses are set to their maximum possible weight.
c. presynaptic neurons have a variance in their firing rates because of Poisson nature
2. g_E will fluctuate even when synapses do not show any STDP because of the Poisson
nature but with ... | 122 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 湖南省华容县人民法院 执 行 结 案 通 知 书 (2021)湘0623执保32号 申请人中国某某银行股份有限公司华容县支行与被申请人谢某某、宋某金融借款合同纠纷申请财产保全一案,现本案保全完毕。 特此通知 二〇二一年四月十九日 马 克 数 据 网 | 142 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | /*
* Code for one creature to chase another
*
* @(#)chase.c 4.57 (Berkeley) 02/05/99
*
* Rogue: Exploring the Dungeons of Doom
* Copyright (C) 1980-1983, 1985, 1999 Michael Toy, Ken Arnold and Glenn Wichman
* All rights reserved.
*
* See the file LICENSE.TXT for full copyright and licensing information.
*/
#... | 3,921 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QWidget>
#include <QProgressBar>
#include <thread>
#include <memory>
#include <list>
#include <string>
#include <regex>
#include <QListWidget>
#include <QListWidgetItem>
#include "sha256.h"
#include "uzytkownik.h"
#include "scena.h"
#include ... | 591 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /*
* Copyright 2016 Alex Andres
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 347 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import os
import sys
# default path is the local path
# configure file should be put in this folder
hw_path = '.'
# configure path will be copied to this path
# on ZCU102/104 the DPU applications search dpu.xclbin in
# /mnt/sd-mmcblk0p1
# if you don't want to type in arguments,
# you can just put this program in /mnt... | 637 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 陕 西 省 城 固 县 人 民 法 院 执 行 裁 定 书 (2021)陕0722执1035号 申请执行人:王某某,女,汉族,住陕西省城固县。 被执行人:汉中某某农业发展有限公司,住所地城固县,统一社会信用代码XXXXXXXXXXXXXX0221。 法定代表人:李某某,系该公司经理。 申请执行人朱某某与被执行人汉中某某农业发展有限公司民间借贷纠纷一案,本院于2021年4月29日作出的(2021)陕0722民初1213号民事判决书确定:由被告汉中某某农业发展有限公司偿还原告王某某借款本金8000元及利息1440元。被执行人逾期未将借款本金及利息偿还到申请执行人名下,申请执行人向本院申请强制执行,本院... | 826 | cc:Chinese-Court-Decisions |
common_corpus_Chinese-Court-Decisions | 2,021 | 甘肃省民勤县人民法院民事判决书(2020)甘0621民初445号原告:甘肃民勤农村商业银行股份有限公司。负责人:杨某,任董事长。委托诉讼代理人:许某。被告:谢某,户籍所在地:甘肃省民勤县。被告:张某1,户籍所在地:甘肃省民勤县。被告:张某2,户籍所在地:甘肃省民勤县。原告甘肃民勤农村商业银行股份有限公司与被告谢某、张某1、张某2金融借款合同纠纷一案,本院于2020年2月13日立案后,依法适用普通程序,公开开庭进行了审理。原告甘肃民勤农村商业银行股份有限公司委托诉讼代理人许某到庭参加诉讼。被告谢某、张某1、张某2经本院合法传唤无正当理由未到庭参加诉讼。本案现已审理终结。原告甘肃民勤农村商业银行股份有限公司向本院提出诉讼请求:1、判令被... | 3,113 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:timer_controller/timer_controller.dart';
void main() {
late TimerController timerController;
setUp(() {
timerController = TimerController.seconds(1);
});
tearDown(() {
timerController.dispose();
... | 300 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import React, {
Dispatch,
FC,
MouseEvent,
useCallback,
useEffect,
useMemo,
} from 'react'
import FormField from '../../uiComponents/molecules/FormField'
import DateField from '../../uiComponents/atoms/DateField'
import { Controller, useForm } from 'react-hook-form'
import RadioField from '../../uiComponents... | 1,353 | cc:Github Open Source |
common_corpus_OpenAlex | 2,021 | Karoliny A. Oliveira,a Thiago M. G. Cardoso,a Helton F. Oliveira,b
Maria C. S. Fioravanti
b and Wendell K. T. Coltro
*,a,c
Karoliny A. Oliveira,a Thiago M. G. Cardoso,a Helton F. Oliveira,b
Maria C. S. Fioravanti
b and Wendell K. T. Coltro
*,a,c This report describes a rapid and inexpensive colorimetric method based ... | 10,752 | academic |
common_corpus_French-Science-Pile | 2,021 | Fig. 6. Area plots of the (a) first- and (b) total-order sensitivity indices of the PPs backed an air cavity. The results shown here were obtained for a polynomial order Q ¼ 8 and
M ¼ 12375.
9
V.H. Trinh, J. Guilleminot and C. Perrot
Materials & Design 210 (2021) 110058
Table 3
Optimal values for design parameters ... | 8,136 | cc:French-Science-Pile |
common_corpus_Github Open Source | 2,021 | #include <bits/stdc++.h>
using namespace std;
int solve()
{
int k;
vector<string> str;
cin>>k;
for(int i=0;i<k;i++)
{
string temp;
cin>>temp;
str.push_back(temp);
}
for(int i=0;i<str.size();i++)
{
for(int j=0;j<str[i].length();j++)
{
... | 281 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 |
using PSK.Model.Entities;
using PSK.Model.Repository;
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using PSK.Model.DTO;
using PSK.Model.IServices;
using PSK.Model.Helpers;
namespace PSK.Model.Services
{
public class RestrictionService : IRestrictionService
{
p... | 2,054 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | ;===============================================================================
; libInput.asm - Keyboard and Joystick Macros
;
; Copyright (C) 2017,2018 RetroGameDev - <https://www.retrogamedev.com>
;
; Distributed under the MIT software license, see the accompanying
; file LICENSE or https://opensource.org/licen... | 946 | cc:Github Open Source |
common_corpus_French-Science-Pile | 2,021 | Optimization of non-cylindrical domains for the exact null controllability of the 1D wave equation
Arthur Bottois, Nicolae Cîndea, Arnaud Münch
HAL is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not. The documents may come ... | 12,458 | cc:French-Science-Pile |
common_corpus_Chinese-Court-Decisions | 2,021 | 河南省郑州市金水区人民法院执 行 通 知 书(2021)豫0105执3471号汪新智:中国人民财产保险股份有限公司郑州市分公司与汪新智保证合同纠纷一案,郑州市金水区人民法院做出的(2020)豫0105民初27795号民事判决书已发生法律效力。权利人于2021年03月01日向本院申请强制执行,本院于同日立案。依照《中华人民共和国民事诉讼法》第二百四十条、第二百五十三条、《最高人民法院关于人民法院执行工作若干问题的规定(试行)》第22条的规定,责令你自本通知书送达之日起履行上述法律文书所确定的义务,并加倍支付迟延履行期间的债务利息或迟延履行金。开户银行:中信银行郑州润华支行户名:郑州市金水区人民法院账号:31×××37特此通知二〇二一年... | 371 | cc:Chinese-Court-Decisions |
common_corpus_USPTO | 2,021 | In addition to or instead of displaying image 1710 of customer 105 a, in certain embodiments, and as described above in the discussion of FIG. 7B, virtual store tool 405 displays an image 725 of customer 105 a, captured when the customer entered physical store 100. Displaying image 725 may help user 120 to easily ident... | 9,427 | formal_gov |
common_corpus_Github Open Source | 2,021 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KeySndr.Base.Commands;
using KeySndr.Base.Providers;
using KeySndr.Common;
using Moq;
using NUnit.Framework;
namespace KeySndr.Base.Tests.CommandTests
{
[TestFixture]
public class GetInput... | 392 | cc:Github Open Source |
common_corpus_Creative Commons Common Crawl (CCC) | 2,021 | Skip to main content
Correction to: Examining aptitude and barriers to evidence-based medicine among trainees at an ACGME-I accredited program
The Original Article was published on 10 November 2020
Correction to: BMC Med Educ 20, 414 (2020)
https://doi.org/10.1186/s12909-020-02341-9
Following publication of the or... | 535 | cc:Creative Commons Common Crawl (CCC) |
common_corpus_Github Open Source | 2,021 | class Pkenv < Formula
desc "Packer version manager mainly inspired by tfenv"
homepage "https://github.com/iamhsa/pkenv"
url "https://github.com/iamhsa/pkenv/archive/0.5.3.tar.gz"
sha256 "363e604d30b2e25e7fd56a08c6c4ebc1a0eb1165f7d6aef14711842100748329"
license "MIT"
head "https://github.com/iamhsa/pkenv.git... | 227 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class M_DataMaster extends CI_Model {
public function admin_list_all() {
$q=$this->db->select('*')->get('tb_admin');
return $q->result();
}
public function jabatan_list_all() {
$q=$this->db->select('*')->get('tb_jabatan');
return $q->re... | 2,697 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | #include "stdafx.h"
#include <stdio.h>
#include <windows.h>
#include <string>
#include <vector>
#include "CBaseType.h"
#include "ParsingImpl.h"
#include "HipsHookTest.h"
#include "benchmark\benchmark.h"
#include "gtest\gtest.h"
#include "gmock\gmock.h"
#ifdef _FUNCTION_TEST
class HookLexerTest : public testing::Test
... | 15,040 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using Gee.Common.Guards;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
namespace Gee.External.Browsing.Databases {
/// <summary>
/// Unmanaged Database Proxy.
/// </summary>
internal sealed class Unmanag... | 3,019 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | """A collection of basic routines for performing rotation calculations.
Authors
-------
Colin Cox
Johannes Sahlmann
"""
from __future__ import absolute_import, print_function, division
import copy
import numpy as np
import astropy.units as u
from astropy.modeling.rotations import rotation_matrix
def attitu... | 6,489 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | Imports System.Xml.Linq
Imports Tools.LinqT
Imports System.Xml.XPath
Imports System.Linq
Imports Tools.RuntimeT.CompilerServicesT
Imports Tools.TextT.UnicodeT
Imports Tools.ExtensionsT
Imports <xmlns='http://www.unicode.org/ns/2003/ucd/1.0'>
Imports System.Xml
Imports Tools.ComponentModelT
Imports System.Globalization... | 9,787 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | .feedback-container {
text-align: center;
}
.feedback-answer-container {
display: inline-block;
}
.feedback-question {
display: inline-block;
padding: 0.5em 1em 0.5em 1em;
}
.feedback-answer {
display: inline-block;
padding: 0.5em 1em 0.5em 1em;
color: #048ccc;
cursor: pointer;
}
.feedback-answer:ho... | 185 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import pytest
from math import isclose
from quantities import length
def test_non_SI_unit():
l = length.Length(32)
l1 = l.to_unit(length.foot)
l2 = l.to_unit(length.LengthType.inch)
l3 = l.to_unit(length.LengthType.yard)
l4 = l.to_unit(length.LengthType.mile)
l5 = l.to_unit(length.LengthType.as... | 244 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "chrome/browser/cocoa/tab_cell.h"
#import "third_party/GTM/AppKit/GTMTheme.h"
#import "third_party/GTM/AppKit/GTMNSColor+Luminance.h"
#define... | 1,380 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import os
basedir = os.path.abspath(os.path.dirname(__file__))
DEBUG = False
SECRET_KEY = '1qaz2wsx3edc4rfv'
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app', 'db', 'application.db')
SQLALCHEMY_TRACK_MODIFICATIONS = False | 71 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | # Copyright 2015-2016 F5 Networks Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 489 | cc:Github Open Source |