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
5 rem plots ramdom graphics to the screen 10 print chr$(147);chr$(5) 20 poke 53280,5 : poke 53281,0 30 for n=1 to 1000 40 col=rnd(0)*15 50 x=int(rnd(0)*40) 60 y=int(rnd(0)*23) 70 poke 1024+y*40+x,90+rnd(1)*2 : poke 55296+y*40+x,col 80 next n
105
cc:Github Open Source
common_corpus_Github Open Source
2,021
% load f = load_image('cavern',n); epsilon = 1e-2; W = epsilon + rescale(-f); x0 = [45;280]; x1 = [275;25]; options.nb_iter_max = Inf; options.end_points = []; % x1; [D,S] = perform_fast_marching(1./W, x0, options); % gradient G0 = grad(D, options); G = G0 ./ repmat( sqrt( sum(G0.^2, 3) ), [1 1 2]); gamma = x1; for i=1...
400
cc:Github Open Source
common_corpus_USPTO
2,021
System and method for automated flight correction in an electric aircraft ABSTRACT A system for automated flight correction is an electric aircraft that includes an input control configured to receive a user input and generate a control datum as a function of the user input, at least a sensor connected to the electri...
9,884
formal_gov
common_corpus_Github Open Source
2,021
//! Serde Attributes. [Extract from](https://github.com/serde-rs/serde/blob/v1.0.127/serde_derive/src/internals/attr.rs#L290) //! #[cfg(feature = "attr-alias")] pub mod alias; #[cfg(feature = "attr-alias")] pub use alias::Alias; #[cfg(feature = "attr-rename")] pub mod rename; #[cfg(feature = "attr-rename")] pub use r...
288
cc:Github Open Source
common_corpus_Github Open Source
2,021
using System; using System.Security; public class MulticastDelegateGetHashCode { #region Public Methods public bool RunTests() { bool retVal = true; TestLibrary.TestFramework.LogInformation("[Positive]"); retVal = PosTest1() && retVal; retVal = PosTest2() && retVal; ...
621
cc:Github Open Source
common_corpus_Github Open Source
2,021
const csurf = require('csurf'); const { isProduction } = require('../config'); const csrfMiddleware = csurf({ cookie: { path: '/', httpOnly: true, secure: isProduction } }); module.exports = { csrfMiddleware };
56
cc:Github Open Source
common_corpus_Github Open Source
2,021
# -*- coding: UTF-8 -*- # # generated by wxGlade 0.9.3 on Wed Sep 11 13:06:23 2019 # import wx from wx.lib.agw.floatspin import FloatSpin, EVT_FLOATSPIN, FS_LEFT, FS_RIGHT, FS_CENTRE, FS_READONLY # begin wxGlade: dependencies # end wxGlade # begin wxGlade: extracode # end wxGlade class PanelTabTransform(wx.Panel):...
3,186
cc:Github Open Source
common_corpus_Github Open Source
2,021
using UnityEngine; using UnityEngine.Networking; public class MsgTypeCore { public static short Player = MsgType.Highest + 1; }; public class PlayerMessage : MessageBase { public uint playerId; public Vector3 position; public string path; // This method would be generated public overrid...
143
cc:Github Open Source
common_corpus_Github Open Source
2,021
package net.numa08.gochisou.data.model import com.google.gson.annotations.SerializedName import io.realm.RealmObject import io.realm.annotations.PrimaryKey open class User( @PrimaryKey @SerializedName("screen_name") var screenName: String? = null, var name: String? = null, var icon: String? = nul...
81
cc:Github Open Source
common_corpus_Github Open Source
2,021
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Incidencia extends Model { use HasFactory; protected $table = "incidencies"; public $timestamps = false; /** * The afectats that belong to the Incidencia * ...
585
cc:Github Open Source
common_corpus_Chinese-Court-Decisions
2,021
湖南省衡阳市蒸湘区人民法院 民 事 判 决 书 (2021)湘0408民初146号 原告:衡阳融冠房地产开发集团有限公司,住所地:湖南省衡阳市蒸湘区船山大道16号融冠地产集团1栋2701-2703室。 法定代表人:薛理勇,该公司总经理。 委托诉讼代理人:刘智玉,湖南秦湘律师事务所律师。 被告:深圳市宝安区沙井街道三品艺术幼儿园,住所地:广东省深圳市宝安区沙井街道民主大道三品文化广场。 法定代表人:李瑞梅,该幼儿园园长。 委托诉讼代理人:佘珍君,湖南云天(衡阳)律师事务所律师。 第三人:衡阳市蒸湘区三品水映豪廷幼儿园,住所地:湖南省衡阳市蒸湘区立新大道融冠水映豪廷小区内。 法定代表人:欧阳光洁,该公司执行董事兼总经理。 委托诉讼代理人...
9,576
cc:Chinese-Court-Decisions
common_corpus_Github Open Source
2,021
package example import akka.http.scaladsl.Http import akka.http.scaladsl.server.Directives.* import akka.http.scaladsl.server.Route import org.tmt.embedded_keycloak.utils.BearerToken import scala.concurrent.ExecutionContext.Implicits.global object Main extends App with Boilerplate { import authDirectives.* val...
249
cc:Github Open Source
common_corpus_Github Open Source
2,021
/* jshint esversion: 6 */ import React from 'react'; import expect from 'expect'; import { configure, shallow } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import { MemoryRouter as Router} from 'react-router-dom'; import renderer from 'react-test-renderer'; import sinon from 'sinon'; import {ImageFiel...
293
cc:Github Open Source
common_corpus_Creative Commons Common Crawl (CCC)
2,021
List of Teenage Mutant Ninja Turtles (2012 TV series) characters This is a list of characters from Teenage Mutant Ninja Turtles. It is an American animated series based on the eponymous characters. It premiered on Nickelodeon in the United States on September 29, 2012.[1] It also premiered on YTV in Canada on Septembe...
1,211
cc:Creative Commons Common Crawl (CCC)
common_corpus_StackExchange
2,021
What files and folders to include in .gitignore in Shopify Themes Development I'm new to Shopify Themes Development. I downloaded the free Shopify theme template using Themekit. I want to push the theme to Github but in VS Code it's showing that there are 156 files to be pushed on Github. Folder names are: assets, conf...
552
misc_reference
common_corpus_Github Open Source
2,021
import React from 'react'; function App() { const message = 'Hello Tenon' return ( <view className="page"> <text className="message">{message}</text> </view> ); } export default App;
51
cc:Github Open Source
common_corpus_Github Open Source
2,021
using System.Net; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using SmartValley.Domain.Exceptions; namespace SmartValley.WebApi.ExceptionHandler { public class AppErrorsExceptionFilter : ExceptionFilterAttribute { public override void OnException(ExceptionContext context) ...
146
cc:Github Open Source
common_corpus_USPTO
2,021
Cell sorting systems and methods of use ABSTRACT The presently disclosed subject matter provides methods and systems for isolating cells expressing specific constructs. In certain non-limiting embodiments, the system comprises a membrane-bound polypeptide and a soluble polypeptide that is capable of dimerizing with t...
10,676
formal_gov
common_corpus_Github Open Source
2,021
/*This example illustrate different format specifier for printing character*/ #include <stdio.h> #include <conio.h> #include <stdlib.h> int main() { char ch = 'a'; system("cls"); printf("\nCase 1: %c", ch); printf("\nCase 2: %10c", ch); printf("\nCase 3: %-10c", ch); getch(); return 0;...
94
cc:Github Open Source
common_corpus_UK Hansard – Lords Written Answers
2,021
High quality tuition remains one of the core principles of the programme, and the department have worked closely with delivery partners to ensure this is delivered across both pillars of the programme. When selecting approved tuition partners, the department worked with the Education Endowment Foundation (EEF) to ensu...
210
cc:UK Hansard – Lords Written Answers
common_corpus_Github Open Source
2,021
package com.codingchili.core.security; import java.util.HashSet; import java.util.Set; import java.util.regex.Matcher; import com.codingchili.core.configuration.Configurable; import com.codingchili.core.configuration.RegexComponent; import com.codingchili.core.configuration.system.ValidatorSettings; import com.coding...
1,235
cc:Github Open Source
common_corpus_Github Open Source
2,021
from twitch.api.base import TwitchAPI from twitch.resources import Ingest class Ingests(TwitchAPI): def get_server_list(self): response = self._request_get("ingests") return [Ingest.construct_from(x) for x in response["ingests"]]
58
cc:Github Open Source
common_corpus_Github Open Source
2,021
var M = module.exports = {}; var dom = require('../lib/dom'), cell = require('../lib/cell'), css = require('../lib/css'), event = require('../lib/event'), util = require('../lib/util') ; function listTables() { var all = []; dom.find('table').forEach(function (tbl, n) { if (!dom.cells...
801
cc:Github Open Source
common_corpus_Chinese-Court-Decisions
2,021
湖南省攸县人民法院民 事 判 决 书(2021)湘0223民初3269号原告:宁波银行股份有限公司,住所地:浙江省宁波市鄞州区宁东路**。法定代表人:陆华裕,董事长。委托诉讼代理人:宋丽君,湖南守中律师事务所律师。代理权限:特别授权。被告:李亮年,男,1995年10月8日出生,汉族,住广东省翁源县。原告宁波银行股份有限公司(以下简称:宁波银行)与被告李亮年金融借款合同纠纷一案,本院于2021年5月7日立案后,依法适用简易程序,于2021年5月26日公开开庭进行了审理。原告委托诉讼代理人宋丽君到庭参加了诉讼,被告李亮年经本院依法使用其合同约定的送达方式送达应诉文书后,无正当理由拒不到庭参加诉讼。本案现已审理终结。原告宁波银行向本院提出...
2,396
cc:Chinese-Court-Decisions
common_corpus_Github Open Source
2,021
using Jering.Markdig.Extensions.FlexiBlocks.FlexiOptionsBlocks; using Newtonsoft.Json; using System.Collections.Generic; namespace Jering.Markdig.Extensions.FlexiBlocks.FlexiTabsBlocks { /// <summary> /// <para>The default implementation of <see cref="IFlexiTabsBlockOptions"/>.</para> /// /// <para>In...
859
cc:Github Open Source
common_corpus_OpenAlex
2,021
Review Antioxidants Present in Reproductive Tract Fluids and Their Relevance for Fertility o C. Ribeiro 1,2 , Patrícia C. Braga 1, Ana D. Martins 2, Branca M. Silva 3 , Marco G. Alves 1 P d F Oli i 2 * João C. Ribeiro 1,2 , Patrícia C. Braga 1, Ana D. Martins 2, Branca M. Silva 3 , Marco G. A and Pedro F. Oliveira 2,* ...
44,462
academic
common_corpus_StackExchange
2,021
How to make a full width table with hugo/markdown? I'm using the even theme in hugo with Markdown. What would be the best way to make a full width table in a post ? Let's say we have the following content: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magn...
478
misc_reference
common_corpus_Github Open Source
2,021
import os import streamlit.components.v1 as components _RELEASE = True if not _RELEASE: _ace = components.declare_component("ace", url="http://localhost:3001") else: parent_dir = os.path.dirname(os.path.abspath(__file__)) build_dir = os.path.join(parent_dir, "frontend/build") _ace = components.declare...
2,032
cc:Github Open Source
common_corpus_Github Open Source
2,021
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
588
cc:Github Open Source
common_corpus_Github Open Source
2,021
<?php namespace Validation\Tests; use Validation\Validation as V; class BooleanSchemaTest extends \PHPUnit_Framework_TestCase { public function testObjectType() { V::validate(true, V::boolean(), function ($err, $output) { $this->assertNull($err); $this->assertTrue($output); ...
343
cc:Github Open Source
common_corpus_Github Open Source
2,021
import { LogQueryFilter } from '../Models'; export type QueryFilterActions = | { type: 'SET_QUERY_FILTER', payload: Partial<LogQueryFilter> } | { type: 'CLEAR_LEVEL' } | { type: 'CLEAR_EX' } | { type: 'CLEAR_QUERY_AND_DATE' }; export const logQueryFilterReducer = (state: LogQueryFilter, action: QueryF...
190
cc:Github Open Source
common_corpus_OpenAlex
2,021
Response Curves for Ammonia and Methane Emissions From Stored Liquid Manure Receiving Low Rates of Sulfuric Acid Vera Sokolov 1,2*, Jemaneh Habtewold 2, Andrew VanderZaag 2, Kari Dunfield 3, Edward Gregorich 2, Claudia Wagner-Riddle 3, Jason J. Venkiteswaran 1 and Robert Gordon 4 1 Department of Geography and Environmen...
14,528
academic
common_corpus_Github Open Source
2,021
# -*- coding: utf-8 -*- import itertools import math from collections import namedtuple, defaultdict from decimal import Decimal import numpy as np from scipy.special import comb from glycopeptidepy.utils.memoize import memoize from glycopeptidepy.algorithm import PeptidoformGenerator, ModificationSiteAssignmentComb...
4,110
cc:Github Open Source
common_corpus_Github Open Source
2,021
package org.openmined.syft.networking.clients import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory import kotlinx.serialization.json.Json import okhttp3.MediaType.Companion.toMediaType import org.openmined.syft.networking.requests.HttpAPI import org.openmined.syft.networking.requests.Net...
248
cc:Github Open Source
common_corpus_Github Open Source
2,021
<template> <div id="app"> <div class="calendar-controls"> <div v-if="message" class="notification is-success">{{ message }}</div> <div style="margin-top:10px;margin-bottom:10px"> <b-button v-b-modal.modal-1 style="margin-left:690px">일정 추가</b-button> <b-modal ref="create-modal" id="mod...
3,717
cc:Github Open Source
common_corpus_Chinese-Court-Decisions
2,021
青海省西宁市湟中区人民法院结案通知书(2021)青0122执2122号申请执行人:林占发,男,汉族,农民。 被执行人:李维吉,男,汉族,无固定职业。 申请执行人林占发与被执行人李维吉劳务合同纠纷一案,本院依据西宁市湟中区人民法院作出的(2021)青0122民特66号民事裁定书,于2021年10月14日已执行完毕。申请标的为1917元,执行到位标的为1917元。现本案予以结案。 特此通知。 二〇二一年十月十四日 二〇二一年十月十四日 百度搜索“马 克 数 据 网”
251
cc:Chinese-Court-Decisions
common_corpus_Github Open Source
2,021
--************************************************************************************************ -- Arrbiter and Address/Data multiplexer for AVR core -- Version 0.2 -- Designed by Ruslan Lepetenok -- Modified 27.07.2005 --*****************************************************************************************...
970
cc:Github Open Source
common_corpus_Github Open Source
2,021
package repo import ( "context" "github.com/volatiletech/sqlboiler/v4/queries/qm" "github.com/dennis-tra/optimistic-provide/pkg/db" "github.com/dennis-tra/optimistic-provide/pkg/models" ) type GetProvidersRepo interface { List(ctx context.Context, retrieval *models.Retrieval) ([]*models.GetProvidersRPC, error)...
189
cc:Github Open Source
common_corpus_Github Open Source
2,021
@-webkit-keyframes fadeInUp from opacity: 0 -webkit-transform: translate3d(0, 100%, 0) transform: translate3d(0, 100%, 0) to opacity: 1 -webkit-transform: translate3d(0, 0, 0) transform: translate3d(0, 0, 0) @keyframes fadeInUp from op...
178
cc:Github Open Source
common_corpus_Github Open Source
2,021
#ifndef DDEBUG #define DDEBUG 0 #endif #include "ddebug.h" #include <ndk.h> #ifndef NGX_HTTP_SET_MISC_FMT_DATE_LEN #define NGX_HTTP_SET_MISC_FMT_DATE_LEN 256 #endif ngx_int_t ngx_http_set_local_today(ngx_http_request_t *r, ngx_str_t *res, ngx_http_variable_value_t *v) { time_t now; ngx_...
656
cc:Github Open Source
common_corpus_Github Open Source
2,021
package de.gematik.idp.test.steps.utils; import de.gematik.rbellogger.RbelLogger; import de.gematik.rbellogger.converter.RbelConverter; import de.gematik.rbellogger.data.*; import io.restassured.http.Header; import io.restassured.http.Headers; import io.restassured.response.Response; import java.net.URLEncoder; import...
824
cc:Github Open Source
common_corpus_Eurlex
2,021
C_2022051DA.01000501.xml 31.1.2022    DA Den Europæiske Unions Tidende C 51/5 Domstolens dom (Fjerde Afdeling) af 2. december 2021 — Europa-Kommissionen mod Xinyi PV Products (Anhui) Holdings Ltd og GMB Glasmanufaktur Brandenburg GmbH (sag C-884/19 P) samt GMB Glasmanufaktur Brandenburg GmbH mod ...
738
cc:Eurlex
common_corpus_Github Open Source
2,021
-- Quiero seleccionar los id 2,3,5,7,10 d ela tabla de alumnos SELECT * FROM public.alumnos -- Si tengo un CSV o un string que ya tenga esta separación puedo copiar y pegar WHERE id IN (2,3,5,7,10) -- Quiero llamar los id , nombre y colegiatura de los estudiantes cuyo tutor es id=30 -- Esto genera un subquery dinám...
136
cc:Github Open Source
common_corpus_Github Open Source
2,021
#!/usr/bin/env perl # # This file is part of the Ops-T Portal. # # Copyright 2014 Operations Security Administration, 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 # # ht...
362
cc:Github Open Source
common_corpus_Github Open Source
2,021
package util import scala.language.higherKinds import java.nio.file.{Files, Path} import scala.jdk.CollectionConverters._ import ore.OreConfig import cats.Traverse import cats.syntax.all._ import cats.effect.Resource import zio.ZIO import zio.blocking._ import zio.interop.catz._ class ZIOFileIO(nioBlockingFibers:...
428
cc:Github Open Source
common_corpus_Creative Commons Common Crawl (CCC)
2,021
Skip navigation Crane & Tower Operators Also called: Crane Operator, Mobile Crane Operator, Overhead Crane Operator, Scrap Crane Operator What they do: Operate mechanical boom and cable or tower and cable equipment to lift and move materials, machines, or products in many directions. On the job, you would: • Deter...
486
cc:Creative Commons Common Crawl (CCC)
common_corpus_Creative Commons Common Crawl (CCC)
2,021
Welcome to EverybodyWiki 😃 ! Log in or ➕👤 create an account to improve, watchlist or create an article like a 🏭 company page or a 👨👩 bio (yours ?)... Social Mavens From EverybodyWiki Bios & Wiki Social Mavens File:Social Mavens.png ISIN🆔 Industryadvertising agency Founded 📆 2010 (2010-MM) Founder 👔Walter Os...
564
cc:Creative Commons Common Crawl (CCC)
common_corpus_Github Open Source
2,021
package rescuecore2.standard.entities; import rescuecore2.registry.AbstractEntityFactory; import rescuecore2.worldmodel.EntityID; import sos.base.entities.AmbulanceCenter; import sos.base.entities.AmbulanceTeam; import sos.base.entities.Blockade; import sos.base.entities.Building; import sos.base.entities.Civilian; im...
535
cc:Github Open Source
common_corpus_Github Open Source
2,021
' Description: Uses the FileSystemObject to determine whether or not the file C:\FSO\ScriptLog.txt exists on the local computer. Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FileExists("C:\FSO\ScriptLog.txt") Then Set objFolder = objFSO.GetFile("C:\FSO\ScriptLog.txt") Else Wscript.Echo "...
95
cc:Github Open Source
common_corpus_Github Open Source
2,021
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import print_function import random as rand; import math; from sets import Set; import copy; import numpy as np; import itertools; ## mlCons / dlCons structure: [(instance, instance), ... (instance, instance)] ## instance / point structure: Set(attr1, attr2......
1,755
cc:Github Open Source
common_corpus_Github Open Source
2,021
package typingsSlinky.bootstrapTreeview import typingsSlinky.bootstrapTreeview.anon.Checked import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait BootstrapTreeViewNo...
931
cc:Github Open Source
common_corpus_Chinese-Court-Decisions
2,021
山西省阳泉市郊区人民法院执 行 裁 定 书(2021)晋0311执恢258号之四申请执行人:史晓军,男,汉族,1977年9月27日出生。申请执行人:高怀贵,男,汉族,1950年3月18日出生。申请执行人:张存兰,女,汉族,1952年12月11日出生。被执行人:程世平,男,汉族,1966年8月10日出生。被执行人:刘学革,男,汉族,1971年10月15日出生。被执行人:石家庄瑞融汽车运输有限公司。本院依据已经发生法律效力的(2016)晋0311刑初127号刑事附带民事判决书,责令被执行人履行法律文书确定的义务。但被执行人刘学革至今未履行。依照《中华人民共和国民事诉讼法》第二百四十二条、《最高人民法院关于适用〈中华人民共和国民事诉讼法〉...
471
cc:Chinese-Court-Decisions
common_corpus_Github Open Source
2,021
// // EntitiesFactory.swift // Domain // // Created by Marton Kerekes on 07/01/2020. // Copyright © 2020 Marton Kerekes. All rights reserved. // import Foundation public extension Entities { static func characters(_ results: [Character]) -> Entities.CharacterDataWrapper { let container =...
732
cc:Github Open Source
common_corpus_Github Open Source
2,021
#!/bin/sh /etc/rc.common [ -d /var/bin ] || mkdir -p /var/bin [ -f /var/bin/lingti ] || cp /usr/bin/lingti /var/bin/lingti START=90 STOP=15 start() { config_load lingti local enable config_get_bool enable lingti enabled if [ "$enable" -eq 0 ]; then stop else /etc/init.d/lingti enable /var/bin/lingti ...
170
cc:Github Open Source
common_corpus_Chinese-Court-Decisions
2,021
郑州高新技术产业开发区人民法院执 行 通 知 书(通知被执行人用)(2021)豫0191执5829号赵穆豪:你/你单位与本院刑庭罚金一案,本院(或其他生效法律文书的作出机关)作出的(2020)豫0191刑初497号判决(或写明其他生效法律文书)已发生法律效力。申请执行人(或委托、移送、报请执行的单位)本院刑庭于二〇二一年四月二十八日向本院申请/委托/移送/报请强制执行,本院于二〇二一年四月二十八日立案。依照《中华人民共和国民事诉讼法》第二百四十条、《最高人民法院关于适用〈中华人民共和国民事诉讼法〉的解释》第四百八十二条规定,责令你/你单位履行下列义务:……开户银行:中信银行郑州郑东新区支行账户名称:郑州高新技术产业开发区人民法院账号...
673
cc:Chinese-Court-Decisions
common_corpus_Chinese-Court-Decisions
2,021
山东省单县人民法院 民 事 判 决 书 (2021)鲁1722民初2861号 原告:董素娟,女,汉族,1978年10月23日出生,住单县。 委托诉讼代理人:孙广信,山东盛雅律师事务所律师。 被告:梁佳昌,男,汉族,1970年9月17日出生,住单县。 被告:贾来清,男,汉族,1965年10月29日出生,住单县。 原告董素娟与被告梁佳昌、贾来清民间借贷纠纷一案,本院于2021年6月1日立案后,依法适用简易程序于2021年6月16日公开开庭进行了审理。原告董素娟及其委托诉讼代理人孙广信、被告梁佳昌到庭参加诉讼,被告贾来清经本院传票传唤,无正当理由,未到庭参加诉讼。本案现已审理终结。 董素娟向本院提出诉讼请求:1.判令二被告偿还董素娟借款本...
5,572
cc:Chinese-Court-Decisions
common_corpus_Github Open Source
2,021
module PetriNet # Common structure class Base # Accepts a logger conforming to the interface of Log4r or the default Ruby 1.8+ Logger class. attr_accessor :logger # Global object count. @@object_count = 0 # Initialize the base class. def initialize(options = {}) @logger = Logger.new(STDOUT) @logge...
179
cc:Github Open Source
common_corpus_Github Open Source
2,021
/* * Copyright 2020 Spotify AB. * * 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 ...
2,460
cc:Github Open Source
common_corpus_Github Open Source
2,021
var httperr = require('httperr'); var err = httperr[404]('The path "/example" could not be resolved'); console.log(err); /* { [NotFound: The path "/example" could not be resolved] title: 'Not Found', name: 'NotFound', code: 'NOT_FOUND', statusCode: 404, message: 'The path "/example" could not be resolved' } ...
301
cc:Github Open Source
common_corpus_StackExchange
2,021
Infinitesimal Generator of a Group Action This question is from IV.3, Exercise 6 in Boothby's Introduction to Differentiable Manifolds. Given the action $$\theta(t; x, y) = (xe^{2t}, ye^{-3t})$$ from $\mathbb{R}\times\mathbb{R}^2 \rightarrow \mathbb{R}^2$ (treating $\mathbb{R}$ as your group and $\mathbb{R}^2$ as the ...
1,222
misc_reference
common_corpus_Github Open Source
2,021
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &5831620804386024357 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1563017969935382157} - component: {fileID: 444...
7,331
cc:Github Open Source
common_corpus_Open-Science-Pile
2,021
[56] W. Dahech, M. Patzold, C. A. Gutierrez, and N. Youssef, “A non-stationary mobile-to-mobile channel model allowing for velocity and trajectory variations of the mobile stations,” IEEE Trans. Wireless Commun.vol. 16, no. 3, pp. 1987–2000, 2017. [57] C. A. Gutierrez, M. Patzold, W. Dahech et al., “A non-WSSUS mobile-...
232
cc:Open-Science-Pile
common_corpus_StackExchange
2,021
Firebase : Is there a way to copy a collection content to another collection? I have 4 resturant with the same menu , and i wanna duplicate the first resturant's menu with firebase is there a way ? or i should do it manualy ? Here's my menu collection that i wanna duplicate Unfortunately, firebase offers no feature fo...
219
misc_reference
common_corpus_Github Open Source
2,021
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.17.3 // source: examples/busi.proto package examples import ( dtmgrpc "github.com/yedf/dtm/dtmgrpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runti...
7,297
cc:Github Open Source
common_corpus_Github Open Source
2,021
import { defineMessages } from 'react-intl' type SelectUserFromListMessages = 'searchPlaceholder' export default defineMessages<SelectUserFromListMessages>({ searchPlaceholder: { defaultMessage: 'Buscar membros', id: 'wlwyTd', description: 'This message is used in the search input while searching for us...
73
cc:Github Open Source
common_corpus_Github Open Source
2,021
package org.spongepowered.asm.mixin.injection.invoke.arg; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import java.util.HashMap; import java.util.Map; import org.spongepowered.asm.lib.ClassVisitor; import org.spongepowered.asm.lib.ClassWriter; import org.spongepowered.asm.lib.Lab...
2,908
cc:Github Open Source
common_corpus_Github Open Source
2,021
<template> <div class="mod-demo-ueditor"> <script :id="ueId" class="ueditor-box" type="text/plain" style="width: 100%; height: 260px;">{{ ueContent }}</script> </div> </template> <script> import ueditor from 'ueditor' export default { data () { return { ue: null, ueId: `J_ueditorB...
319
cc:Github Open Source
common_corpus_Github Open Source
2,021
package com.tinytongtong.leetcodetest.targetoffer.question16; /** * @Description: https://leetcode-cn.com/problems/shu-zhi-de-zheng-shu-ci-fang-lcof/ * 剑指 Offer 16. 数值的整数次方 * @Author tinytongtong * @Date 2020/9/6 9:54 PM * @Version */ public class Power { private static double power(double base, int exponen...
366
cc:Github Open Source
common_corpus_Chinese-Court-Decisions
2,021
贵州省贵阳市白云区人民法院案 件 保 全 情 况 通 知 书(2021)黔0113执保532号贵州威默电气成套设备有限公司、贵州南源电力科技股份有限公司:我院案号为(2021)黔0113民初3067号之二申请人贵州威默电气成套设备有限公司与被申请人贵州南源电力科技股份有限公司买卖合同纠纷一案,我院已采取保全措施,解除对被申请人贵州南源电力科技股份有限公司名下财产的查封、冻结。特此通知审判员  赵永明二〇二一年六月三日法官助理李茂华书记员王婷 马 克 数 据 网
270
cc:Chinese-Court-Decisions
common_corpus_Chinese-Court-Decisions
2,021
河南省南阳市卧龙区人民法院民 事 判 决 书(2021)豫1303民初3544号原告:田立志,男,2001年10月5日生,汉族,住河南省南阳市卧龙区。被告:王宏伟,男,1989年9月8日生,汉族,住河南省唐河县。原告田立志与被告王宏伟民间借贷纠纷一案,本院于2021年4月15日立案受理后,依法适用简易程序,公开开庭进行了审理。原告田立志、被告王宏伟到庭参加了诉讼。本案现已审理终结。原告田立志向本院提出诉讼请求:1、判令被告偿还借款3.5万元及利息;2、诉讼费由被告承担。事实和理由:被告王宏伟因开理发店,于2019年7月1日起至2019年12月4日分5次向原告借款3.6万元,已还原告1000元,剩余3.5万元未还。现诉至法院,请依法裁...
1,240
cc:Chinese-Court-Decisions
common_corpus_Github Open Source
2,021
/*! * config.js - decentraland configuration * Copyright (c) 2016, Christopher Jeffrey (MIT License). * Copyright (c) 2016-2017, Manuel Araoz (MIT License). * https://github.com/decentraland/decentraland-node */ 'use strict'; var Network = require('../protocol/network'); var util = require('../utils/util'); var ...
4,020
cc:Github Open Source
common_corpus_Github Open Source
2,021
module Business class PaymentsController < ApplicationController include EitherMatcher def charge authorize! :create, Business::CourseRecord payment = Db::Payment.find(params[:id]) result = Payments::CreatePayment.new(payment: payment).create result.success do |payment_url:| ...
211
cc:Github Open Source
common_corpus_Github Open Source
2,021
from panda3d.core import * from direct.gui.DirectGui import * from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer class BossLobbyGui(DirectFrame): class InitialFrame(DirectFrame): frame = 0 class LobbySelection(DirectButton): def __init__(self, par...
3,917
cc:Github Open Source
common_corpus_StackExchange
2,021
How to check if a single point is inside a surface in pyvista? So I have a closed mesh and a single point. How to check if one is inside another? I tried: def is_inside(point): points = pv.PolyData([point,]) point_in_question = points.points[0] select = mesh_model.select_enclosed_points(points) inside...
424
misc_reference
common_corpus_Github Open Source
2,021
// source: util/util_contract_status_service.proto /** * @fileoverview * @enhanceable * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! var jspb = require('google-protobuf'...
4,484
cc:Github Open Source
common_corpus_Github Open Source
2,021
`timescale 1ns / 10ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 10:18:10 12/12/2014 // Design Name: // Module Name: Top_count // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: //...
1,014
cc:Github Open Source
common_corpus_Github Open Source
2,021
#include "stdafx.h" #include "ResManger.h" #include "CDebug.h" #include "helpapi.h" #include <vector> ResManger::ResManger() { } ResManger::~ResManger() { } void ResManger::LoadUIResFromFile(SStringT strPath) { m_strProPath = strPath.Mid(0, strPath.ReverseFind(_T('\\'))); m_strUIResFile = strPath; LoadUIRes();...
3,311
cc:Github Open Source
common_corpus_Github Open Source
2,021
package com.github.javaica.springer.util; import com.github.javaica.springer.codegen.AnnotationUtil; import com.github.javaica.springer.codegen.util.ControllerUtil; import com.intellij.openapi.project.Project; import com.intellij.psi.*; import org.junit.jupiter.api.Test; import org.mockito.MockedStatic; import org.moc...
830
cc:Github Open Source
common_corpus_Github Open Source
2,021
/* { dg-do compile { target { ! ia32 } } } */ /* { dg-options "-O2 -ftree-vectorize -mveclibabi=acml -ffast-math -mtune=generic" } */ double x[256]; extern double sin(double); void foo(void) { int i; for (i=0; i<256; ++i) x[i] = sin(x[i]); } /* { dg-final { scan-assembler "__vrd2_sin" } } */
109
cc:Github Open Source
common_corpus_Github Open Source
2,021
package com.vvt.callmanager.ref.command; import com.fx.socket.SocketCmd; import com.vvt.callmanager.ref.BugDaemonResource; import com.vvt.callmanager.ref.SmsInterceptInfo; public class RemoteRemoveSmsIntercept extends SocketCmd<SmsInterceptInfo, Boolean> { private static final long serialVersionUID = 5677132510122...
171
cc:Github Open Source
common_corpus_Github Open Source
2,021
#pip install requests psutil import time import requests import psutil import argparse # constants URL = 'https://corlysis.com:8086/write' READING_DATA_PERIOD_MS = 1000.0 SENDING_PERIOD = 5 MAX_LINES_HISTORY = 1000 def main(): parser = argparse.ArgumentParser() parser.add_argument("db", help="database name")...
407
cc:Github Open Source
common_corpus_Eurlex
2,021
375 C26.I3 O Completamento delle azioni nell'ambito del piano sociale per lo sport   Numero 0 40 T4 2023 Completamento delle azioni nell'ambito del piano sociale per lo sport, compreso il rinnovo di almeno 40 impianti sportivi e azioni volte a promuovere la presenza delle donne n...
15,604
cc:Eurlex
common_corpus_Github Open Source
2,021
package com.larroy.ibclient.handler import com.larroy.ibclient.Position import scala.collection.mutable /** * @author piotr 20.02.15 */ case class PositionHandler(queue: mutable.Queue[Position] = mutable.Queue.empty[Position]) extends Handler
58
cc:Github Open Source
common_corpus_Github Open Source
2,021
# Your MISP's URL url = 'https://example.com/' # The auth key to the MISP user that you wish to use. Make sure that the # user has auth_key access key = '' # Should the certificate be validated? ssl = True
56
cc:Github Open Source
common_corpus_Github Open Source
2,021
package cn.enaium.foxbase.mixin; import cn.enaium.foxbase.FoxBase; import cn.enaium.foxbase.event.Event; import cn.enaium.foxbase.event.events.EventMotion; import cn.enaium.foxbase.event.events.EventUpdate; import net.minecraft.client.network.ClientPlayerEntity; import org.spongepowered.asm.mixin.Mixin; import org.spo...
326
cc:Github Open Source
common_corpus_Github Open Source
2,021
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_debug_1 = require("@hint/utils-debug"); const utils_types_1 = require("@hint/utils-types"); const debug = utils_debug_1.debug(__filename); const module_esnext_typescript_1 = require("./meta/module-esnext-typescript"); const i18n_im...
403
cc:Github Open Source
common_corpus_Github Open Source
2,021
package xyz.destiall.pixelate.graphics; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import java.io.ByteArrayOutputStream; /** * Written by Rance */ public abstract class Imageable { protected transient Bitmap image; protected float height; protected float width; protected...
1,295
cc:Github Open Source
common_corpus_Github Open Source
2,021
/* Copyright 2020 The OpenEBS Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
761
cc:Github Open Source
common_corpus_Github Open Source
2,021
using System; namespace TensorShader.Functions.Aggregation { /// <summary>統計</summary> internal abstract class Aggregation : Function { /// <summary>軸</summary> public int Axis { private set; get; } /// <summary>コンストラクタ</summary> public Aggregation(int axis) : base(...
261
cc:Github Open Source
common_corpus_StackExchange
2,021
Discord.py warning I've been working on a moderator discord bot. Made all the command except the warn command. Can anyone help me to make a warn command. If the member (with manage member permission) types ?warn @user reason the bot will save the warning in a file And if the user says ?warnings @user the bot will show ...
507
misc_reference
common_corpus_Chinese-Court-Decisions
2,021
湖北省十堰市郧阳区人民法院执 行 裁 定 书(2021)鄂0304执145号被执行人:施明四,男,1978年8月10日出生,汉族,住湖北省武汉市东湖高新开发区。被执行人施明四犯诈骗罪判处罚金刑一案,本院依据已经发生法律效力的湖北省十堰市郧阳区人民法院(2020)鄂0304刑初8号刑事判决书,于2021年1月8日立案执行。依法向被执行人施明四送达了执行通知书、报告财产令等,责令其自收到通知书之日起3日内缴纳罚金80000元,但其至今仍未履行。根据《中华人民共和国民事诉讼法》第二百四十二条、第二百四十三条、第二百四十四条之规定,裁定如下:冻结、划拨、扣留、提取被执行人;施明四的银行存款(或合法收入)80000元,或查封、扣押其同等价值的...
410
cc:Chinese-Court-Decisions
common_corpus_Chinese-Court-Decisions
2,021
江苏省丰县人民法院执 行 裁 定 书(2021)苏0321执813号之二申请执行人:李玲玲,女,1989年7月13日生,汉族,住丰县。被执行人:马庆,男,1982年2月15日生,汉族,住山东省鱼台县。申请执行人李玲玲与被执行人马庆商品房销售合同纠纷一案。丰县人民法院(2020)苏0321民初5086号民事调解书已经发生法律效力。因被执行人未履行生效法律文书确定的义务,申请执行人向本院申请执行,本院已立案执行。在执行过程中,申请执行人向本院申请撤回执行申请。本院认为,申请执行人的申请不违反法律规定,应予准许。依照《中华人民共和国民事诉讼法》第二百五十七条第一项之规定,裁定如下:终结(2021)苏0321执813号案件的执行。本裁定送达...
425
cc:Chinese-Court-Decisions
common_corpus_Chinese-Court-Decisions
2,021
山东省聊城市中级人民法院 民 事 裁 定 书 (2021)鲁15民终26号 上诉人(原审被告):米保群,男,1971年12月3日出生,汉族,居民,住聊城市东昌府区。 委托诉讼代理人:李又强,山东永圣律师事务所律师。 被上诉人(原审原告):张宁宁,男,1986年5月15日出生,汉族,居民,住聊城市茌平区。 委托诉讼代理人:刘晓新,山东兴茌律师事务所律师。 委托诉讼代理人:王振昌,山东泰泉(茌平)律师事务所律师。 上诉人米保群因与被上诉人张宁宁民间借贷纠纷一案,不服山东省聊城市东昌府区人法院(2020)鲁1502民初9404号民事裁定,向本院提起上诉。本院依法组成合议庭对本案进行了审理,现已审理终结。 上诉人米保群上诉请求:(2020)...
2,703
cc:Chinese-Court-Decisions
common_corpus_Github Open Source
2,021
# Copyright (c) 2012-2015 Netforce Co. Ltd. # # 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, publ...
5,018
cc:Github Open Source
common_corpus_Chinese-Court-Decisions
2,021
安徽省临泉县人民法院执 行 裁 定 书(2021)皖1221执2648号申请执行人:陈礼娥,女,1968年5月6日出生,汉族,住安徽省临泉县。被执行人:田宇,男,2002年2月16日出生,汉族,住安徽省临泉县。陈李娥与田宇租赁合同纠纷一案,安徽省临泉县人民法院作出的(2021)皖1221民初2488号民事判决书已经发生法律效力。田宇未履行法律文书确定的义务,陈李娥于2021年6月7日向本院申请强制执行。本院在执行过程中,依法向被执行人田宇发出执行通知书和财产报告令,责令其履行生效法律文书确定的义务,被执行人至今未履行。本院于2021年6月7日、6月10日等多次查询被执行人田宇的存款、股票、房屋、车辆等财产状况,被执行人暂无财产可供执...
631
cc:Chinese-Court-Decisions
common_corpus_Github Open Source
2,021
using System.Collections.Generic; using System.Linq; using System.Threading; using FluentAssertions; using Moq; using NUnit.Framework; using SFA.DAS.ApplyService.Application.Apply.UpdatePageAnswers; using SFA.DAS.ApplyService.Application.Apply.Validation; using SFA.DAS.ApplyService.Domain.Apply; using SFA.DAS.ApplyServ...
1,050
cc:Github Open Source
common_corpus_Github Open Source
2,021
<template> <div> <div v-html="helpHtml" v-if="page === 'help'" /> <div v-html="helpDevHtml" v-if="page === 'help-dev'" /> <div v-html="helpBCSCHtml" v-if="page === 'help-bcsc'" /> <div v-html="helpHowToUseHtml" v-if="page === 'help-howto'" /> <div v-html="helpIsForMeHtml" v-if="page === 'help-isfo...
474
cc:Github Open Source
common_corpus_Github Open Source
2,021
import ComponentBase public class CapturingFailureHaptic: FailureHaptic { public init() { } public private(set) var played = false public func play() { played = true } }
51
cc:Github Open Source
common_corpus_StackExchange
2,021
How to compute the metric Response for a Method with NDepend Is there any way to get the number of "source code lines" that could result from calling nested function? For this question my example: Selection of functions Function name Lines of Code (LOC) [function body] Function1 10 Function2 20 Function3 20...
299
misc_reference
common_corpus_Github Open Source
2,021
<template> <list class="rootDiv"> <refresh @refresh="onRefreshData()" :display="isRefreshing ? 'show' : 'hide'"> <text style="margin: 26px;text-align: center">刷新中...</text> <!--<loading-indicator></loading-indicator>--> </refresh> <cell class="tabDiv"> <image slot="label"...
1,313
cc:Github Open Source