source stringclasses 40
values | date int32 2.02k 2.02k | text stringlengths 42 2.1M | token_count int32 50 919k | category stringclasses 38
values |
|---|---|---|---|---|
common_corpus_Github Open Source | 2,022 | # -*- coding: utf-8 -*-
## \package dbr.timer
# MIT licensing
# See: docs/LICENSE.txt
import wx
from dbr.event import TimerStopEvent
## A custom timer that posts a TimerStopEvent when Stop() is called
class DebreateTimer(wx.Timer):
def __init__(self, owner, ID=wx.ID_ANY):
wx.Timer.__init__(self, owner, ID)
... | 130 | cc:Github Open Source |
common_corpus_Court Listener | 2,022 | GARRECHT, Circuit Judge.
The petitioners, Phil Howe, David A. Howe, and Joanne B. Howe, trading as Howe and Company, are and have been engaged in the sale and distribution of cosmetic preparations. The preparations when sold are transported from their place of business in Seattle, Washington, to various other states of... | 876 | cc:Court Listener |
common_corpus_Github Open Source | 2,022 | using OpenTracker.Models.Modes;
namespace OpenTracker.Models.UndoRedo.Mode
{
/// <summary>
/// This interface contains the <see cref="IUndoable"/> action to change the <see cref="IMode.WorldState"/> property.
/// </summary>
public interface IChangeWorldState : IUndoable
{
/// <summary>
... | 177 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | # frozen_string_literal: true
require 'messagebird/voice/base'
module MessageBird
module Voice
class CallLegRecording < MessageBird::Voice::Base
# default attributes from the API
attr_accessor :id, :format, :type, :leg_id, :status, :duration
attr_accessor :created_at, :updated_at
# furt... | 139 | cc:Github Open Source |
common_corpus_Court Listener | 2,022 | —In a juvenile delinquency proceeding pursuant to Family Court Act article 3, the appeal is from an order of disposition of the Family Court, Queens County (Sparrow, J.), dated June 15, 1992, which, upon a fact-finding order of the same court dated March 30, 1992, finding that the appellant had committed acts which, if... | 421 | cc:Court Listener |
common_corpus_Court Listener | 2,022 | Nebraska Supreme Court Online Library
www.nebraska.gov/apps-courts-epub/
06/17/2022 08:08 AM CDT
- 603 -
Nebraska Supreme Court Advance Sheets
311 Nebraska Reports
... | 8,745 | cc:Court Listener |
common_corpus_Github Open Source | 2,022 | Option Explicit
Option Strict
Imports System.Data
Module Module1
Sub Main()
End Sub
' <Snippet1>
Private Sub DisplayColumnNames(ByVal reader As DataTableReader)
' Given a DataTableReader, display column names.
For i As Integer = 0 To reader.FieldCount - 1
Console.WriteLine("{0}: {1}", i, read... | 95 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | package org.springultron.wechat.msg.wx.out;
import org.springultron.wechat.msg.wx.in.InMsg;
/**
* 回复图片消息
*
* @author brucewuu
* @date 2021/4/15 下午5:43
*/
public class OutImageMsg extends OutMsg {
/**
* 通过素材管理中的接口上传多媒体文件,得到的id
*/
private String mediaId;
public OutImageMsg() {
this.m... | 258 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | /**
* MDN's regexp escape function
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping
* @param {*} string
*/
function escapeRegExp(string) {
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string
}
export default {
escapeRegExp
} | 84 | cc:Github Open Source |
common_corpus_Court Listener | 2,022 | In an action pursuant to Agriculture and Markets Law §§ 39 and 44, the plaintiff State of New York appeals from so much of an order of the Supreme Court, Kings County (Vinik, J.), dated September 13, 1990, as denied so much of its motion as was for summary judgment finding the defendants liable for 2,447 separate viola... | 685 | cc:Court Listener |
common_corpus_Github Open Source | 2,022 | /*
Copyright (C) 2017 Felipe Ferreira da Silva
This software is provided 'as-is', without any express or implied warranty. In
no event will the authors be held liable for any damages arising from the use of
this software.
Permission is granted to anyone to use this software for any purpose, including
commercial appli... | 726 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | public class Bank6Prob1 {
public static void main(String[] args) throws InterruptedException {
ThreadRectangle.calcEachThreadTotal();
ThreadRectangle[] rect = new ThreadRectangle[ThreadRectangle.THREAD_MAX];
for(int i = 0 ; i < ThreadRectangle.THREAD_MAX ; i++){
rect[i] = new T... | 236 | cc:Github Open Source |
common_corpus_OpenAlex | 2,022 | ABSTRACT:
ABSTRACT: In
those with exposed bone tissue,
the risk of osteomyelitis increases considerably if
adequate coverage by vascularized soft tissue is not
achieved, in addition to the imminent risk of necrosis
and sepsis, especially in immunocompromised and/or
Correct reconstruction of a
traumatized limb sh... | 7,372 | academic |
common_corpus_Github Open Source | 2,022 | /*
* Copyright 2022 StreamThoughts.
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Vers... | 683 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | //
// Copyright IBM Corp. 2018, 2018
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//
@use '@carbon/colors';
@use '@carbon/grid/scss/modules/css-grid';
.cds-header {
--cds-header-background-color: #{colors.$gray-100};
--cds-... | 194 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | <template>
<view class="t-number-key-board-mask" @click="maskClick" :class="[Visible]" :style="[Style]">
<view class="t-number-key-board" @click.stop="click">
<view class="number-key-board-main">
<view
class="number-key-board-item"
@click.stop="appendValue(v)"
v-for="v of values"
:key="v"
... | 1,275 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | import vscode from 'vscode';
import path from 'path';
import glob from 'glob';
import fs from 'fs';
import assert from 'assert';
import deepEqual from 'deep-equal';
import writeJsonFile from 'write-json-file';
import loadJsonFile from 'load-json-file';
import { TextmateEngine } from '../../src/textmateEngine';
import {... | 561 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | package adyen
import (
"fmt"
"regexp"
"strconv"
"github.com/BoltApp/sleet"
"github.com/BoltApp/sleet/common"
"github.com/adyen/adyen-go-api-library/v4/src/checkout"
"github.com/adyen/adyen-go-api-library/v4/src/payments"
)
const (
level3Default = "NA"
maxLineItemDescriptionLength = 26
maxPro... | 2,699 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
usi... | 1,684 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | // Copyright NVIDIA Corporation 2002-2012
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following d... | 1,936 | cc:Github Open Source |
common_corpus_Court Listener | 2,022 | Bean, J.
On the sixteenth of February, 1887, the city of Salem, through its common council, authorized and empowered the plaintiff, under the supervision of its street supervisor, to erect and maintain water tanks for the purpose of supplying his street-sprinkling wagons with water with which to sprinkle and allay the ... | 1,678 | cc:Court Listener |
common_corpus_Github Open Source | 2,022 | package org.dhis2.fhir.adapter.fhir.transform.fhir.impl;
/*
* Copyright (c) 2004-2019, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code mu... | 1,291 | cc:Github Open Source |
common_corpus_Court Listener | 2,022 | Peck, J.
Plaintiffs, Josephine and John McCormack, appeal from judgment notwithstanding the verdict entered by the Windsor Superior Court in favor of defendants the State of Vermont, Harry Philip Brown and Aime Bellavance & Sons, Inc.* We affirm in part and reverse in part.
*444Taking the evidence in the light most fav... | 2,161 | cc:Court Listener |
common_corpus_Github Open Source | 2,022 | package logger
// CustomLogger is a wrapper object to logrus
type CustomLogger struct {
prefix string
errorOnly bool
}
// NewCustomLogger creates a new custom logger with the given prefix
func NewCustomLogger(prefix string) *CustomLogger {
return &CustomLogger{
prefix: "[" + prefix + "] ",
}
}
// Info level... | 695 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | .header
{
margin-top: 20px;
margin-bottom: 10px;
font-size: 24px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.divider
{
margin-top: 20px !important;
}
| 62 | cc:Github Open Source |
common_corpus_Github Open Source | 2,022 | /*
* Copyright 2016-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package tests.callBy.primitiveDefaultValues
import kotlinx.reflect.lite.jvm.*
import kotlinx.reflect.lite.tests.*
import kotlin.test.assertEquals
fun primitives(
boolean: Boolean = true,
char... | 285 | cc:Github Open Source |
common_corpus_StackExchange | 2,022 | How to redirect to an "about:" URL
I want to be able to redirect from my website to about:version. However, about: URLs aren't valid for redirecting. Is there any way around this?
Here is some sample code:
<!DOCTYPE html>
<html>
<body>
<button onclick="myFunction()">See your version!</button>
<script>
function myFun... | 359 | misc_reference |
End of preview. Expand in Data Studio
- Downloads last month
- 2,385