text stringlengths 2 1.04M | meta dict |
|---|---|
This package enables metrics from Azure SDK Java libraries through [OpenTelemetry][OpenTelemetry]. OpenTelemetry is an open source, vendor-agnostic, single distribution of libraries to provide metrics collection and distributed tracing for services.
[Source code][source_code] | [API reference documentation][api_docum... | {
"content_hash": "0ae7e1bbd8e9f57ef9714f11f8a56edd",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 287,
"avg_line_length": 46.31782945736434,
"alnum_prop": 0.7856066945606694,
"repo_name": "Azure/azure-sdk-for-java",
"id": "75a0646d78db25332db00c6145c049382ed83eee",
"si... |
//
// AKABinding+IBPropertySupport.h
// AKABeacon
//
// Created by Michael Utech on 24.11.15.
// Copyright © 2015 Michael Utech & AKA Sarl. All rights reserved.
//
#import "AKABinding.h"
@interface AKABinding (IBPropertySupport)
/**
* Gets the binding expression text associated with the specified property selec... | {
"content_hash": "6f15fe3d794e8818a2732a70c550fdeb",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 132,
"avg_line_length": 40.375,
"alnum_prop": 0.6736842105263158,
"repo_name": "mutech/aka-ios-beacon",
"id": "a2b67309ebaae830dd85197358533001847c54e1",
"size": "1616",
... |
export { default as ElementCard } from './card'
export { default as ElementCardTitle } from './card--title'
| {
"content_hash": "ced17c370317214ead50d6186e1b36fc",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 59,
"avg_line_length": 54,
"alnum_prop": 0.7222222222222222,
"repo_name": "vuikit/vuikit",
"id": "801a1cca99f43c515522bd1d9361181c5d7fbe21",
"size": "108",
"binary": false... |
void engineLayoutViewGearInit(struct engineLayoutView *this){
engineLayoutViewGearFamilyInit((struct engineLayoutView*)this);
engineLayoutViewGearPositionInit((struct engineLayoutView*)this);
engineLayoutViewGearGraphicObjectInit((struct engineLayoutView*)this);
this->color.r = 1.0;
this->color.g = 1.0;
this->col... | {
"content_hash": "c3691701fb985d8b3c2147b03f3498ca",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 174,
"avg_line_length": 41,
"alnum_prop": 0.6590909090909091,
"repo_name": "totetero/fuhaha_engine",
"id": "be5fd8f001e10786dc37d7219a553756539ce368",
"size": "4151",
"bi... |
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<display-name>RESTEASY-1103</display-name>
<!--context-param>
... | {
"content_hash": "39b07fed2fa618ac301f4ed51421ad15",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 113,
"avg_line_length": 34.75675675675676,
"alnum_prop": 0.6368584758942457,
"repo_name": "awhitford/Resteasy",
"id": "df2324652b29d4b76a649229c0277f5612e89cf1",
"size": "1... |
<?php
// classpath
namespace Mimoto\Core\entities;
// Mimoto classes
use Mimoto\Core\Validation;
use Mimoto\Mimoto;
use Mimoto\Core\CoreConfig;
use Mimoto\Core\CoreFormUtils;
use Mimoto\EntityConfig\MimotoEntityPropertyValueTypes;
/**
* Component
*
* @author Sebastian Kersten (@supertaboo)
*/
class ComponentTem... | {
"content_hash": "b250b5283168df786e53bea17baca061",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 252,
"avg_line_length": 33.10204081632653,
"alnum_prop": 0.4712289354706124,
"repo_name": "SebastianKersten/Mimoto.Aimless",
"id": "956c3d8f7f2573f1d5501c4fa9b12247a8c6a63c"... |
'use strict';
const fs = require('fs');
const path = require('path');
function loadPlugins(callback) {
const dir = path.join(__dirname, 'browser-sync/plugins');
fs.readdir(dir, (err, files) => {
if (err) {
return callback(err);
}
let readPlugins = 0;
let scriptContents = '';
files.map((file) => {
... | {
"content_hash": "3540c93ad4495b2244ba65fb24951dbe",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 92,
"avg_line_length": 21.096774193548388,
"alnum_prop": 0.6032110091743119,
"repo_name": "KK578/generator-kk578",
"id": "d1b45b6368c0df346de205a6db41c0a010b13a49",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace EZOper.TechTe... | {
"content_hash": "8b7a1eab48c12e6cdf0e7075ddb8ef33",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 109,
"avg_line_length": 34.72727272727273,
"alnum_prop": 0.5815881326352531,
"repo_name": "erikzhouxin/CSharpSolution",
"id": "b75ee3eaba864c249a4946f8a84fc12e36db3077",
"s... |
package com.sinotrans.transport.controller;
import com.sinotrans.transport.common.ErrorCode;
import com.sinotrans.transport.common.cache.SingletonCache;
import com.sinotrans.transport.common.enums.CompanyType;
import com.sinotrans.transport.common.exception.CommonException;
import com.sinotrans.transport.common.except... | {
"content_hash": "fef50a83a86d5715c26f0324825c9759",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 162,
"avg_line_length": 44.64021164021164,
"alnum_prop": 0.7219390778712813,
"repo_name": "okmnhyxx/car-free-transport",
"id": "042ff79e5b668be955f6fde2af30e0ab4dab492c",
... |
package robot
import (
"context"
"github.com/goharbor/harbor/src/lib/q"
"github.com/goharbor/harbor/src/pkg/robot/dao"
"github.com/goharbor/harbor/src/pkg/robot/model"
)
var (
// Mgr is a global variable for the default robot account manager implementation
Mgr = NewManager()
)
// Manager ...
type Manager inte... | {
"content_hash": "8305c5f04b8d731a0c9f4aa98c7e77ee",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 87,
"avg_line_length": 23.802325581395348,
"alnum_prop": 0.6897899364924279,
"repo_name": "wy65701436/harbor",
"id": "63526038577bce3d7bf88a675addc6915ae83606",
"size": "20... |
<?php
namespace Proxies\__CG__\furies\orbitBundle\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Radgroupcheck extends \furies\orbitBundle\Entity\Radgroupcheck implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading proper... | {
"content_hash": "53bdffb1ef7f27caa08f4a52b02d6e2d",
"timestamp": "",
"source": "github",
"line_count": 301,
"max_line_length": 502,
"avg_line_length": 26.87043189368771,
"alnum_prop": 0.5569980217606331,
"repo_name": "furies/orbit",
"id": "10e02c263cca67ba2f0bc04b4e858f7e42c4c6dd",
"size": "8088",... |
/**
* Показывает предупреждение о несовместимом браузере
*
* @module BrowserCompatibility
*
* Created by Evgeniy Malyarov on 07.09.2017.
*/
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import Paper from '@material-ui/core/Paper';
import Typography from '@material-ui/core/Typograph... | {
"content_hash": "ff321786325a67f14522ea75670b9752",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 113,
"avg_line_length": 31.162790697674417,
"alnum_prop": 0.7067164179104478,
"repo_name": "oknosoft/metadata.js",
"id": "271ad4fe2d8640fba7b967162d700d8bd570cd66",
"size":... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Adenosacme mindanaensis Elmer
### Remarks
null | {
"content_hash": "019b5195300410844e7aef785beb95d0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 12.23076923076923,
"alnum_prop": 0.7295597484276729,
"repo_name": "mdoering/backbone",
"id": "e0186f7ca7ecf1782eb2936818c94626f61b3870",
"size": "220... |
name = "Andre Christoga"
age = 11
height = 151
hobby = "#coding"
print "My name is " + name
print "My age is " + age
print "I am" + height
print "My height is " + hobby
| {
"content_hash": "2328827be78d53f7a817da3c4e8479b1",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 29,
"avg_line_length": 19,
"alnum_prop": 0.6374269005847953,
"repo_name": "christoga/learn-python",
"id": "73ed125046960df756bbca4aa847c1e0b0cba023",
"size": "171",
"binar... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>stdpp: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "756fa5582c25fb4423114e78fb1b507e",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 159,
"avg_line_length": 44.950819672131146,
"alnum_prop": 0.5697787503039144,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "321450a8337119264cb907aa4739cde928e94c36",... |
/* $OpenBSD: vmparam.h,v 1.3 2001/09/22 18:00:09 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */
/*-
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
* Copyright (C) 1995, 1996 TooLs GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modif... | {
"content_hash": "b26b927413e52c8a2526fffd6cacefe3",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 79,
"avg_line_length": 34.09322033898305,
"alnum_prop": 0.7293064876957495,
"repo_name": "MarginC/kame",
"id": "e402f26b52c84bc4d5d785b98e684ba116aad9ed",
"size": "4023",
... |
package com.intellij.openapi.vcs.history;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.vcs.AbstractVcs;
import com.intellij.openapi.vcs.FilePath;
import com.intellij.openapi.vcs.impl.VcsBackgroundableActions;
import com.intellij.util.A... | {
"content_hash": "beed89b9be2bc25403b02e1658f47a73",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 133,
"avg_line_length": 38.12751677852349,
"alnum_prop": 0.6930117936982926,
"repo_name": "sabi0/intellij-community",
"id": "cd4c7f35c512fff8c50db15421d88374042574a4",
"si... |
package com.esri.geoevent.solutions.processor.rangefan;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.esri.ges.core.component.ComponentException;
import com.esri.ges.core.property.PropertyException;
import com.esri.ges.manager.geoeventdefinition.GeoEventDefinitionM... | {
"content_hash": "09393102bcc2bb005988caf124d069a3",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 76,
"avg_line_length": 29.075,
"alnum_prop": 0.7815993121238177,
"repo_name": "Esri/solutions-geoevent-java",
"id": "14185ec4a42e1ab1982bac031b766b59a75af95b",
"size": "186... |
using System.Windows;
using Microsoft.Win32;
namespace HtmlDownloader
{
class DefaultDialogService : IDialogService
{
public string FilePath { get; set; }
public bool OpenFileDialog()
{
OpenFileDialog openFileDialog = new OpenFileDialog() {
InitialDirectory... | {
"content_hash": "95acb6793486a7281c9a01155125d638",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 91,
"avg_line_length": 32.18181818181818,
"alnum_prop": 0.5211864406779662,
"repo_name": "AlexeyBuryanov/EducationalProjects",
"id": "28b12fb8bd6e7855c564544f3c90bc3f2e5f9e59... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 The Android 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
http://www.apache.org/license... | {
"content_hash": "cb8ed91529d6f1b566038963f61a1e2e",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 110,
"avg_line_length": 51.59322033898305,
"alnum_prop": 0.6964520367936925,
"repo_name": "jonathangerbaud/Klyph",
"id": "b53db7d1175f43b3a8defe76337ceade75a4b2b1",
"size":... |
<div id="__id__" class="__class__">
<a class="bx-def-valign-center" href="__href__"<bx_if:show_onclick> onclick="__onclick__"</bx_if:show_onclick>>
<bx_repeat:profiles>__icon__</bx_repeat:profiles>
<bx_if:show_icon>
<div class="sys-action-counter-icon __style_prefix__-counter-icon bx... | {
"content_hash": "61a84700c11c48c6f321f1487825ef11",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 184,
"avg_line_length": 59.77777777777778,
"alnum_prop": 0.5966542750929368,
"repo_name": "unaio/una",
"id": "4c16e40f7c08cf09cd43d6dc1d5bf824d5295f03",
"size": "538",
"bi... |
import check from '../core/check';
import gulp from 'gulp';
import buildRunner from '../execution/buildRunner';
function generatePhaseTasks({ projects, lifecycle, watchEnabled }) {
check.nonEmptyArray('projects', projects);
check.definedObject('lifecycle', lifecycle);
check.definedBoolean('enableWatch', watchEnable... | {
"content_hash": "6714764522b7c6139f0388b7b8a3f2de",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 75,
"avg_line_length": 28.74074074074074,
"alnum_prop": 0.7603092783505154,
"repo_name": "xipcode/xipcode",
"id": "1bda29564103c9b0b4e3150d04cd488ccf08763b",
"size": "776",... |
package org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.literals;
import javax.annotation.Nonnull;
import org.jetbrains.plugins.groovy.lang.lexer.GroovyTokenTypes;
import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.literals.GrStringContent;
import org.jetbrains.plugins.groovy.l... | {
"content_hash": "55347fe2f980a448a30e4a4b422f28bd",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 116,
"avg_line_length": 30.979591836734695,
"alnum_prop": 0.7628458498023716,
"repo_name": "consulo/consulo-groovy",
"id": "16d176178f2b99193a504c30befc6dba431b8517",
"size... |
<?php
require_once __DIR__ . '/../vendor/autoload.php'; // Autoload files using Composer autoload
use HelloWorld\SayHello;
echo SayHello::world();
Go to the terminal (or create a PHP web server inside "tests" dir) and type:
php tests/test.php
| {
"content_hash": "7fa15d82da78c30572012ddba3701bed",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 91,
"avg_line_length": 25,
"alnum_prop": 0.712,
"repo_name": "kbaylan/test",
"id": "1e4797bb5fd31a45460987e0ebd27462c82bb7fb",
"size": "250",
"binary": false,
"copies":... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Modelo;
import Visao.TelaInicial;
import javax.swing.JFrame;
/**
*
* @author Pessoal
*/
public class Princip... | {
"content_hash": "dac4417a6ff61abc9ce697f4dcf97e9c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 79,
"avg_line_length": 24,
"alnum_prop": 0.6590909090909091,
"repo_name": "lidiaa/spaspace",
"id": "8e175b98681aa135f0e3c89c751f9e3f990c1d64",
"size": "528",
"binary": fa... |
#include <stdio.h>
#include <string.h>
#include <array>
#include <vector>
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include <functional>
#include <string>
#include <SDL.h>
#include "imgui/imgui.h"
#include "gpuvis_macros.h"
#include "stlini.h"
#include "trace-cmd/trace-read.h"
#include... | {
"content_hash": "e29ab1d3698ec49cefec4d6a2088ac55",
"timestamp": "",
"source": "github",
"line_count": 635,
"max_line_length": 109,
"avg_line_length": 32.86771653543307,
"alnum_prop": 0.5617363806238321,
"repo_name": "mikesart/gpuvis",
"id": "5ac499365fb2c2777fcb6cf6c30c2adfbf25d3e2",
"size": "220... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
namespace Anarian.Interfaces
{
public interface IMoveable
{
// Generic Movements
void Move(GameTime gameTime, Vector3 movement);
void MoveVertical(GameTime gameTime, float amount);
... | {
"content_hash": "0d417cd9373a8c4ffb1e060240e55800",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 62,
"avg_line_length": 23.47826086956522,
"alnum_prop": 0.7018518518518518,
"repo_name": "KillerrinStudios/Anarian-Game-Engine-MonoGame",
"id": "ded95dbb7d39943523ba2b245014d... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Wed Sep 03 20:00:50 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>AdminProtos.AdminSe... | {
"content_hash": "62a6d7198c213f67552e21da7516d279",
"timestamp": "",
"source": "github",
"line_count": 473,
"max_line_length": 373,
"avg_line_length": 75.6046511627907,
"alnum_prop": 0.702441206901373,
"repo_name": "lshain/hbase-0.98.6-hadoop2",
"id": "2488dd50b2f217796c33f5b3ec362eadffd2e03b",
"s... |
Seven (More) Languages in Seven Weeks Solutions
| {
"content_hash": "e3bc9bb7be2554eee75fe2c6de09d609",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 47,
"avg_line_length": 48,
"alnum_prop": 0.8125,
"repo_name": "hemslo/seven-in-seven",
"id": "2bb807cca3f8d3db445270aa077d2677bf97f8fc",
"size": "65",
"binary": false,
"... |
package com.ntut.killboss.object;
import java.util.List;
import com.ntut.killboss.Constant;
import com.ntut.killboss.FunctionUtilities;
import com.ntut.killboss.core.GameView;
import com.ntut.killboss.sprite.AnimationReduceHP;
import com.ntut.killboss.sprite.Sprite;
import android.content.Context;
publi... | {
"content_hash": "5cadca6a6d5cf827dad20446462c389f",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 72,
"avg_line_length": 27.979591836734695,
"alnum_prop": 0.6929248723559446,
"repo_name": "RammusXu/KillBoss",
"id": "91b7bfa9e3ada45313b7104cdb3e1b31a99e9687",
"size": "13... |
package main
import (
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net"
"os"
"runtime"
"strconv"
"strings"
"time"
"golang.org/x/net/context"
google_protobuf "google/protobuf"
"github.com/howeyc/gopass"
"github.com/op/go-logging"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"google.golang.org/... | {
"content_hash": "e9d8b478c7dd24498011f350f25d40c3",
"timestamp": "",
"source": "github",
"line_count": 808,
"max_line_length": 170,
"avg_line_length": 33.26361386138614,
"alnum_prop": 0.7160769431112103,
"repo_name": "sumanair/obc-peer",
"id": "de804c9a9f1b313ac40e0bb6f2d4087116c54d2c",
"size": "2... |
package android.webkit;
import org.robolectric.internal.DoNotInstrument;
import org.robolectric.internal.Implementation;
/**
* Concrete implementation of the abstract WebSettings class.
*/
@DoNotInstrument
public class TestWebSettings extends WebSettings {
private boolean allowFileAccess = true;
private b... | {
"content_hash": "a9e182f7681ed4db1f280d6fde4ac119",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 78,
"avg_line_length": 25.956521739130434,
"alnum_prop": 0.7049832495812395,
"repo_name": "jeffreyzh/robolectric",
"id": "0e6256dd8ea1018f285f452e8b05782625a6d27d",
"size"... |
(function(model){
var Event = new EventObject();
Event.newEvent = function(eventName, callback) {
this.createEvent(eventName,function(result) {
Event = result;
if(callback) callback(Event);
});
};
Event.initEventPage = function(ctx,next) {
Event.prepHandlebars();
Handlebars.regis... | {
"content_hash": "e134daa8377d52865cffdcaa03b44874",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 92,
"avg_line_length": 31.067961165048544,
"alnum_prop": 0.59875,
"repo_name": "GeoffreyEmerson/301-final-project",
"id": "c816886426e73ec83442ee2cdfa551c1b732ad78",
"size... |
package r_kvstore
//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, software
//dis... | {
"content_hash": "f6320b67f52708420ed4b83bfc4491b6",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 177,
"avg_line_length": 42.419642857142854,
"alnum_prop": 0.7680488318248789,
"repo_name": "aliyun/alibaba-cloud-sdk-go",
"id": "4d1087cce393a0de7506dc46418bf0fe41e3c4da",
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net;
using Mozu.Api;
using Mozu.Api.Security;
using Mozu.Api.Test.Helpers;
using System.Diagnostics;
using Newtonsoft.Json.Linq;
using System.Threading;
#endregion
namespace Mozu.Api.Test.Factories.Commerce.Customer
{
/// <summa... | {
"content_hash": "79cded8861f8528305af3c2408cb3f39",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 252,
"avg_line_length": 42.48965517241379,
"alnum_prop": 0.7335659795487746,
"repo_name": "rocky0904/mozu-dotnet",
"id": "12d1454bad62523b2160f48739029a4250f10018",
"size"... |
//
// ScanditSDKCommon.h
// ScanditBarcodeScanner
//
// Created by Marco Biasini on 29/05/15.
// Copyright (c) 2015 Scandit AG. All rights reserved.
//
#define SBS_DEPRECATED __attribute__((deprecated))
// we can't use NS_ENUM directly, but rather have to use a macro that gets replaced with
// the proper meaning... | {
"content_hash": "0014583fb855548b0c940211302a9549",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 99,
"avg_line_length": 32.12056737588652,
"alnum_prop": 0.7315080591742107,
"repo_name": "hashikuchi/TexchangeApp",
"id": "905a560b33c7001ad3660eab3317548dcaf972a1",
"size... |
//// [tests/cases/compiler/declFileAccessors.ts] ////
//// [declFileAccessors_0.ts]
/** This is comment for c1*/
export class c1 {
/** getter property*/
public get p3() {
return 10;
}
/** setter property*/
public set p3(/** this is value*/value: number) {
}
/** private getter pr... | {
"content_hash": "ae7b1caaab3cf0028e03f716aae5000d",
"timestamp": "",
"source": "github",
"line_count": 307,
"max_line_length": 55,
"avg_line_length": 24.140065146579804,
"alnum_prop": 0.49885305626771015,
"repo_name": "mmoskal/TypeScript",
"id": "e3616c79e389f6456fbed6900d5d281e3d05e1dd",
"size": ... |
(function(f, define){
define([ "./kendo.data" ], f);
})(function(){
(function() {
kendo.data.transports.signalr = kendo.data.RemoteTransport.extend({
init: function (options) {
var signalr = options && options.signalr ? options.signalr : {};
var promise = signalr.promise;
... | {
"content_hash": "c971a623e761ffc9a7ef5d4602d0f8df",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 92,
"avg_line_length": 27.53061224489796,
"alnum_prop": 0.4844329132690882,
"repo_name": "y-todorov/Inventory",
"id": "15213dc7f00b8d7d30215ad70f1a8db315b6a650",
"size": "3... |
package org.protempa.test;
import java.util.Date;
/**
* Abstract class used as the super-type for various types of observations
* related to an encounter.
*
* @author hrathod
*
*/
public abstract class Observation extends Record {
/**
* The unique identifier for the observation.
*/
private S... | {
"content_hash": "a1e493447f6a80fa02f1a9f09843e4c9",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 80,
"avg_line_length": 23.60377358490566,
"alnum_prop": 0.6191047162270183,
"repo_name": "eurekaclinical/protempa",
"id": "5d1e9890121b95797daf9ef21c861b2f037aec86",
"size... |
"""An Encoder class for Protocol Buffers that preserves sorting characteristics.
This is used by datastore_sqlite_stub and datastore_types to match the ordering
semantics of the production datastore. Broadly, there are four
changes from regular PB encoding:
- Strings are escaped and null terminated instead of length... | {
"content_hash": "f20b8e891b2b745edef9f7c50b13a837",
"timestamp": "",
"source": "github",
"line_count": 294,
"max_line_length": 80,
"avg_line_length": 26.346938775510203,
"alnum_prop": 0.6148980118770978,
"repo_name": "Suwmlee/XX-Net",
"id": "6d7cbd092c17ca0b61747ca5579ac0b9d3d24c63",
"size": "8352... |
layout: post
title: "Welcome to Jekyll!"
date: 2014-12-30 12:14
categories: announcement
background-image: "/assets/backgrounds/FinkLooking.jpg"
excerpt: "This is the default post that tells you..."
---
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes.... | {
"content_hash": "9dfaf1022822af75cc6556df29be48db",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 303,
"avg_line_length": 49.111111111111114,
"alnum_prop": 0.7413273001508296,
"repo_name": "CharlesBean/Interpolate",
"id": "87e565c3c6fe92cb6db6694512a96ee57522d8f4",
"siz... |
var should = require('chai').should();
var lib = require('../src/lib.js');
var nock = require('nock');
var debug = require('debug')('test');
nock.disableNetConnect();
nock.enableNetConnect(/slacksecret.herokuapp.com/);
describe("lib keepalive function", function() {
before(function() {
nock('https://slacksecret.... | {
"content_hash": "1a71af14f3214dac383f89a116439e2e",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 115,
"avg_line_length": 31.3,
"alnum_prop": 0.6178115015974441,
"repo_name": "neufeldtech/secret-message",
"id": "74aa51429130184e26816e60a1072bb61ab24fa3",
"size": "2504",... |
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'ProductTypeIcon.name'
db.add_column('cmsplugin_configurableproduct_producttypeicon', 'name', self.gf('django... | {
"content_hash": "dbd6082272cdbe0c316a9c093c80dbea",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 254,
"avg_line_length": 76.28455284552845,
"alnum_prop": 0.5855270169455398,
"repo_name": "airtonix/cmsplugin-configurableproduct",
"id": "36a6d7e17e26dd9819c58c0b240d983312... |
<?php
namespace RcmAdminTest\EventListener;
use RcmAdmin\EventListener\DispatchListener;
use Zend\Mvc\MvcEvent;
use Zend\Mvc\Router\Http\RouteMatch;
use Zend\ServiceManager\ServiceManager;
use Zend\View\Model\ViewModel;
require_once __DIR__ . '/../autoload.php';
/**
* Unit Test for Dispatch Listener Event
*
* U... | {
"content_hash": "19c09e444c0b37a402facd9ec0691138",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 97,
"avg_line_length": 27.295774647887324,
"alnum_prop": 0.6302889576883385,
"repo_name": "bjanish/rcm-admin",
"id": "d30a6680317b91c344ec2b74cd22ca0397458bd8",
"size": "4... |
//
// ReadInfoVC.m
// HppleDemo
//
// Created by zero on 15/7/20.
//
//
#import "ReadInfoVC.h"
#import "TFHpple.h"
@interface ReadInfoVC ()
@property (nonatomic,strong) TFHpple* tfHpple;
@property (nonatomic,strong) UITextView* textView;
@property (nonatomic,strong) NSString* info;
@property (nonatomic,strong) NSM... | {
"content_hash": "66866b1979ab1c7822e913c86f8eb04f",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 134,
"avg_line_length": 31.358695652173914,
"alnum_prop": 0.6589254766031196,
"repo_name": "cliulang/hpple-master-XML",
"id": "5f1935ea5325a30b5af517bb622e6464868314b4",
"s... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.heig... | {
"content_hash": "58ce9265f28f86d8bbfdd1673cf3f19a",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 281,
"avg_line_length": 48.91489361702128,
"alnum_prop": 0.7785993910395824,
"repo_name": "Jordan150513/OCDemos",
"id": "981c07f3d88c284050aef91f33fd46b51c9dfb60",
"size": ... |
package io.kraken.client.impl;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;... | {
"content_hash": "749da5c7a37e7d31973aa0e8490d3706",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 182,
"avg_line_length": 48.923809523809524,
"alnum_prop": 0.7588086431769515,
"repo_name": "kraken-io/kraken-java",
"id": "3b03527c9538ff33db01c39b00d6e3c3d73fd5ec",
"size... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ee9d32f0abf977d9a4493ef3c4cbe369",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "7ec16bbeada3a5329033bbe25bbde55679e71002",
"size": "199... |
<resources>
<string name="app_name">Pulsator4Droid</string>
<string name="image_description_android_phone">Android Phone Image</string>
<string name="label_count">Count</string>
<string name="label_duration">Duration</string>
</resources>
| {
"content_hash": "b5e7289fa187c04688e8b9404241beb7",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 79,
"avg_line_length": 42.5,
"alnum_prop": 0.7215686274509804,
"repo_name": "booncol/Pulsator4Droid",
"id": "f8665c787af01352fb1b126d381dd8d834c12dd5",
"size": "255",
"bin... |
package bio.terra.service.auth.iam;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import bio.terra.common.PdaoConstant;
import bio.terra.commo... | {
"content_hash": "21b32e49469e230f9fd7f8cefdbc3019",
"timestamp": "",
"source": "github",
"line_count": 411,
"max_line_length": 114,
"avg_line_length": 40.632603406326034,
"alnum_prop": 0.725688622754491,
"repo_name": "DataBiosphere/jade-data-repo",
"id": "5d369c2466595412d14a3cb17b2a76ca5eba94f8",
... |
static uint8_t g_pui8OversampleFactor[3];
//*****************************************************************************
//
//! Returns the interrupt number for a given ADC base address and sequence
//! number.
//!
//! \param ui32Base is the base address of the ADC module.
//! \param ui32SequenceNum is the sample seq... | {
"content_hash": "b31e7f8b7fdfa82ba9ea25602ccac8c6",
"timestamp": "",
"source": "github",
"line_count": 1946,
"max_line_length": 79,
"avg_line_length": 35.873586844809864,
"alnum_prop": 0.584572410829394,
"repo_name": "kpeeyush/dusthawk",
"id": "9c361e141a09e74d48deab9d2cd9bbf4e3cf225f",
"size": "7... |
package com.linecorp.armeria.common;
import static java.util.Objects.requireNonNull;
import com.google.common.base.MoreObjects;
import com.linecorp.armeria.common.stream.DefaultStreamMessageDuplicator;
import com.linecorp.armeria.common.stream.StreamMessage;
import com.linecorp.armeria.common.stream.StreamMessageW... | {
"content_hash": "ba2652540d07e2c776c3cdb3e97e5d98",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 101,
"avg_line_length": 28.8,
"alnum_prop": 0.6535947712418301,
"repo_name": "minwoox/armeria",
"id": "24f70374c6769cce9c0956f7c56d94e96ba7cb34",
"size": "3081",
"binary"... |
#include "vehicle_info_plugin/commands/mobile/get_dtcs_request.h"
#include "application_manager/application_impl.h"
#include "application_manager/message_helper.h"
#include "interfaces/HMI_API.h"
namespace vehicle_info_plugin {
using namespace application_manager;
namespace commands {
SDL_CREATE_LOG_VARIABLE("Com... | {
"content_hash": "709721eeeb9fa7c186edbdf7fc242727",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 79,
"avg_line_length": 31.60919540229885,
"alnum_prop": 0.6621818181818182,
"repo_name": "smartdevicelink/sdl_core",
"id": "9044e0a1aab077beb9b2b853166f4f2d235d7ea2",
"size... |
package be.wegenenverkeer.designtests;
import be.wegenenverkeer.UsingWireMockRxJava;
import be.wegenenverkeer.rxhttpclient.ClientRequest;
import be.wegenenverkeer.rxhttpclient.HttpClientError;
import be.wegenenverkeer.rxhttpclient.ServerResponse;
import io.reactivex.rxjava3.core.Flowable;
import io.reactivex.rxjava3.s... | {
"content_hash": "c30122aa5ff255730490b6f4f0bb28cc",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 115,
"avg_line_length": 38.549019607843135,
"alnum_prop": 0.5803662258392676,
"repo_name": "WegenenVerkeer/RxHttpClient",
"id": "835fb0324656daa8b9c5a8f812f060a7f6a6e5ed",
... |
using System;
using NUnit.Framework;
using System.Linq;
using SilverNeedle;
using SilverNeedle.Characters;
using SilverNeedle.Yaml;
namespace Characters {
[TestFixture]
public class SkillYamlGatewayTests {
Skill Acrobatics;
Skill Bluff;
Skill DisableDevice;
[SetUp]
public void LoadYamlRepository() {
... | {
"content_hash": "9f5e2f5a8fd3a09845177ef75079ebda",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 76,
"avg_line_length": 22.57894736842105,
"alnum_prop": 0.7127039627039627,
"repo_name": "shortlegstudio/silverneedle",
"id": "11aff3887bfad4a57e6d14189bd96753f809235b",
"s... |
package com.lactozily.addict;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.util.Log;
import com.evernote.android.job.Job;
/**
* Created by lactozily on 2/27/2016 AD.
*/
public class AddictServiceChecker extends Job {
public static fina... | {
"content_hash": "7ff9f79af088576804ba99bb0f30deee",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 86,
"avg_line_length": 29.096774193548388,
"alnum_prop": 0.6751662971175166,
"repo_name": "lactozily/addict",
"id": "879bbbc03a06bb861b1c8be7884d2ef6f464fde6",
"size": "902... |
:- module(rdf_describe,
[ rdf_bounded_description/4, % :Expand, +Type, +URI, -Graph
rdf_bounded_description/5, % :Expand, +Type, +Pattern, +URI, -Graph
resource_CBD/3, % :Expand, +URI, -Graph
graph_CBD/3, % :Expand, +Graph0, -Graph
rdf_include_reifications/3, % :Expand, +Graph0, -Graph
r... | {
"content_hash": "ff9d6dcc345a07048fc071583c1f0d0d",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 75,
"avg_line_length": 30.544303797468356,
"alnum_prop": 0.638071556844868,
"repo_name": "TeamSPoon/logicmoo_workspace",
"id": "8bb13d6c552899b5dbaa09222acc092e2da2c04c",
... |
export APP_SECRET="" # any secret key for session management
export MONGO_URI="" # mongo db URI, check out compose.io
export DB_NAME="" # name of your mongo database
export GITHUB_ORG="" # github org id for your class
# setup an app on github for your org
# https://github.com/organizations/{YOUR_ORG_NAME}/settings/ap... | {
"content_hash": "695e1dd863bcf3d7edd02f247ca2c073",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 72,
"avg_line_length": 39.1,
"alnum_prop": 0.7442455242966752,
"repo_name": "ottosipe/github-class-repo-manager",
"id": "adb4dde76bcc0906a6e6499858b387e5e9dc62a2",
"size": ... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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, Versio... | {
"content_hash": "459e585c56d50a4de33c64438514aae6",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 201,
"avg_line_length": 35.8,
"alnum_prop": 0.6845570630486831,
"repo_name": "OSBI/oodt",
"id": "4fb3d0380015148fbfc560ae436a27c69b3cb6b2",
"size": "5012",
"binary": fal... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="331ea93a-d8a9-4043-b291-fbba0a0db131" name="Default" comment="vlidate">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/css/test.css" afterPath="$PROJECT_DIR$/css/test.css" />
... | {
"content_hash": "6151fd4e354bc04fc3802311c530373f",
"timestamp": "",
"source": "github",
"line_count": 697,
"max_line_length": 260,
"avg_line_length": 51.605451936872306,
"alnum_prop": 0.6332675359337206,
"repo_name": "Linzai1994/JS_Exercise",
"id": "f41399b9ea3c98c5d1e9c4a37bfc26b9be191e5e",
"siz... |
// Code generated by client-gen. DO NOT EDIT.
package fake
import (
"context"
v1alpha1 "github.com/tektoncd/triggers/pkg/apis/triggers/v1alpha1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"
types "k8s.io/apimachinery/pkg/typ... | {
"content_hash": "6d07d0d8938862df2f72bcf83b7d8629",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 209,
"avg_line_length": 47.32773109243698,
"alnum_prop": 0.7911931818181818,
"repo_name": "tektoncd/triggers",
"id": "59be88c8aa566e63187b0311279bf7734dbaacef",
"size": "6... |
package org.apache.lucene.util;
import org.apache.lucene.analysis.Token;
import org.apache.lucene.analysis.tokenattributes.*;
import java.util.HashMap;
import java.util.Iterator;
@SuppressWarnings("deprecation")
public class TestAttributeSource extends LuceneTestCase {
public void testCaptureState() {
// in... | {
"content_hash": "9d24faffc83ac974e4caea0dc600f6f3",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 119,
"avg_line_length": 43.38383838383838,
"alnum_prop": 0.7291036088474971,
"repo_name": "yida-lxw/solr-5.3.1",
"id": "05815915f34bd6d5eda1cf6998a6214becc134b1",
"size": ... |
from sympy import (S, sympify, trigsimp, expand, sqrt, Add, zeros,
ImmutableMatrix as Matrix)
from sympy.core.compatibility import u
from sympy.utilities.misc import filldedent
__all__ = ['Vector']
class Vector(object):
"""The class used to define vectors.
It along with ReferenceFrame are... | {
"content_hash": "7f2e541a62c67762b12690fedb3c3cb3",
"timestamp": "",
"source": "github",
"line_count": 670,
"max_line_length": 83,
"avg_line_length": 32.88059701492537,
"alnum_prop": 0.47385383567862005,
"repo_name": "dqnykamp/sympy",
"id": "25d51717e01f7b13c33fd75a5e1a569907416c32",
"size": "2203... |
---
title: Promise
category: Web, JavaScript, ES6
---
## Legacy: Utiliser des callbacks
Si on veut créer une fonction asynchrone, avec ES5, on utiliserait `setTimeout`. Si cette fonction doit retourner une valeur, ou effectuer une action lorsqu'elle est terminée, alors il est nécessaire de passer un callback en param... | {
"content_hash": "e1b56bac218771b377e7dc9528f5ce3c",
"timestamp": "",
"source": "github",
"line_count": 402,
"max_line_length": 355,
"avg_line_length": 21.776119402985074,
"alnum_prop": 0.6399360292437742,
"repo_name": "a-mt/dev-roadmap",
"id": "4f04a43988dfb50970dc27551c624139ab0c03e5",
"size": "8... |
package com.mood.jenaPlus;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.app.AlertDialog;
import android.os.Bundle;
import android.view.LayoutInflater;
... | {
"content_hash": "0f96c07d8fc98cfdd0666a7966be533a",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 103,
"avg_line_length": 32.443609022556394,
"alnum_prop": 0.6665121668597914,
"repo_name": "CMPUT301W17T02/JenaPlus",
"id": "3846813fcf2a4f9188ae9ec00c12502b30676c02",
"si... |
@implementation UIImage (XCYCoreAdditions)
+ (UIImage*)imageFromMainBundleFile_xcy:(NSString*)aFileName
{
NSString* bundlePath = [[NSBundle mainBundle] bundlePath];
return [UIImage imageWithContentsOfFile:[NSString stringWithFormat:@"%@/%@", bundlePath,aFileName]];
}
+ (UIImage *)imageFromBundle:(NSString *)a... | {
"content_hash": "4657ab90fab0dc43e0e336a6d8812411",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 104,
"avg_line_length": 30.963636363636365,
"alnum_prop": 0.5880798590722255,
"repo_name": "huahuali/haha",
"id": "a953f3475d315a661289456a91d9578f7369ba56",
"size": "3811... |
// ./lib/index.js
var fs = require("fs");
var jetpack = require("fs-jetpack");
var user_home = require('user-home');
var Composer = require("./composer.js");
var global_path = user_home + "/AppData/Roaming/npm/node_modules/mongoplus"
/**
* Displays a string in the console
*
* @param {string_to_say} Str... | {
"content_hash": "b58be9eb75a490ea4299b3e087400b23",
"timestamp": "",
"source": "github",
"line_count": 269,
"max_line_length": 115,
"avg_line_length": 34.96654275092937,
"alnum_prop": 0.6372528173506272,
"repo_name": "siu-lim-studio/mongo-",
"id": "15193cc0f6189e29cb8868e1c207d82c663040b4",
"size"... |
package com.bzh.dytt;
import android.arch.core.executor.testing.InstantTaskExecutorRule;
import android.arch.lifecycle.Lifecycle;
import android.arch.lifecycle.LifecycleOwner;
import android.arch.lifecycle.LifecycleRegistry;
import android.arch.lifecycle.Observer;
import org.junit.Before;
import org.junit.Rule;
impor... | {
"content_hash": "d3071f483b26e5ae4bca4bbee5773c1d",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 87,
"avg_line_length": 31.157894736842106,
"alnum_prop": 0.7032657657657657,
"repo_name": "DYTT-2017/DYTT",
"id": "7c356a30ea34e9ccc2ec8c0e5c8bae32f3cb81cc",
"size": "3552... |
#ifndef MBED_INTERFACE_H
#define MBED_INTERFACE_H
#include <stdarg.h>
#include "platform/mbed_toolchain.h"
#include "device.h"
/** \addtogroup platform-public-api */
/** @{*/
/**
* \defgroup platform_interface Network interface and other utility functions
* @{
*/
/* Mbed interface mac address
* if MBED_MAC_AD... | {
"content_hash": "ae883fd6b6e0611022e734785d181cda",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 136,
"avg_line_length": 31.34269662921348,
"alnum_prop": 0.701917906434845,
"repo_name": "andcor02/mbed-os",
"id": "cb90c95e3bf4348532b6db834e28f50c8ff363e9",
"size": "625... |
import cv2
import argparse
def run(im, multi=False):
im_disp = im.copy()
im_draw = im.copy()
window_name = "Select objects to be tracked here."
cv2.namedWindow(window_name, cv2.WINDOW_NORMAL)
cv2.imshow(window_name, im_draw)
# List containing top-left and bottom-right to crop the image.
pt... | {
"content_hash": "5d91560c698cf672764fbc699623df6f",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 109,
"avg_line_length": 37.48809523809524,
"alnum_prop": 0.5722451571927596,
"repo_name": "yanweifu/object-tracker",
"id": "f6d7b92174963e7a04fe3e53c6c71ef2aa9f58ef",
"size... |
\providecommand{\nperfprof}{7}\providecommand{\algAperfprof}{\StrLeft{2-D}{\nperfprof}}\providecommand{\algBperfprof}{\StrLeft{3-D}{\nperfprof}}\providecommand{\algCperfprof}{\StrLeft{5-D}{\nperfprof}}\providecommand{\algDperfprof}{\StrLeft{10-D}{\nperfprof}}\providecommand{\algEperfprof}{\StrLeft{20-D}{\nperfprof}}\pr... | {
"content_hash": "db87dd798bf8bd37f8c8750919d037fa",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 432,
"avg_line_length": 95.83333333333333,
"alnum_prop": 0.7704347826086957,
"repo_name": "PyQuake/earthquakemodels",
"id": "95fe671775bef5ebf4482639684e5eaf54ea5d2f",
"size... |
<!DOCTYPE HTML>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="//d3js.org/d3.v3.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"/>
<script type="text/javascrip... | {
"content_hash": "6162016025d9982e897d20299fd3a072",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 120,
"avg_line_length": 40.4025974025974,
"alnum_prop": 0.537769206043073,
"repo_name": "ojh31/ojh31.github.io",
"id": "ac69837a5cef001872a8af3de69ab531275d243e",
"size": "... |
/**
* Sunseeker Telemetry
*
* Battery Interface
*
* @author Alec Carpenter <alec.g.carpenter@wmich.edu>
*/
package Sunseeker.Telemetry.Battery;
import javax.swing.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
class SerialHandler implements Listener, ActionListener {
// Menu o... | {
"content_hash": "000fce4e87dae2cf9d10a2295e6c3885",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 93,
"avg_line_length": 30.321739130434782,
"alnum_prop": 0.6197304273014053,
"repo_name": "SunseekerSolarCarProject/battery-telemetry",
"id": "0ca40e18533c91d6832dd9d01db119... |
do{ \
if (this->debug) printf (P_GREEN); \
if (this->debug) printf ("%s(): ", __func__); \
if (this->debug) printf (x); \
if (this->debug) printf (P_NORMAL); \
}while(0)
#define CHECK_NYSA_ERROR(x) ... | {
"content_hash": "c062fb94aaacb9f28dea8ebf0c4b2bbb",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 100,
"avg_line_length": 32.973684210526315,
"alnum_prop": 0.5754189944134078,
"repo_name": "cospan/nysa_cpp",
"id": "b9589649c7a2a7542cc46fd07c6d1b41f6c2bf16",
"size": "266... |
module Parser where
import Control.Applicative((<*))
import Text.Parsec
import Text.Parsec.String
import Text.Parsec.Token
import Text.Parsec.Language
-- Our language definition and operators.
import Lang
import Common
-- | Generate our Lang definition from emptyDef.
langDef = emptyDef
{ commentLine = "-... | {
"content_hash": "6ae97c0491f28ac4f7765bde5c1e736f",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 82,
"avg_line_length": 28.08843537414966,
"alnum_prop": 0.6137079195931219,
"repo_name": "plclub/cis670-16fa",
"id": "fe804ead0f9d38999f4c0f8dd18a7bfb28c18844",
"size": "4... |
<?php
namespace pub007\dstruct\auth;
/**
* AuthContainers class
*/
/**
* Collection of AuthContainer objects.
*@package dstruct_auth
*/
class AuthContainers {
/**
* Collection of AuthContainer objects
* @var array
*/
private static $authcontainers = array();
/**
* Load all auth containers into the collection... | {
"content_hash": "032c6ca30d8859bf3322ef79b554de91",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 54,
"avg_line_length": 18.852941176470587,
"alnum_prop": 0.6817472698907956,
"repo_name": "pub007/dstruct",
"id": "f0cea10d8704c42b2133d97f9f1a047e54883e9d",
"size": "641",... |
package API::Parameter;
#
#
# 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, sof... | {
"content_hash": "e44d8672362085e1137f43b10e024bc6",
"timestamp": "",
"source": "github",
"line_count": 409,
"max_line_length": 202,
"avg_line_length": 33.28850855745721,
"alnum_prop": 0.5224384869629085,
"repo_name": "naamashoresh/incubator-trafficcontrol",
"id": "dd0217310db013a532c7151b577ba0af34f... |
<!DOCTYPE html>
<html ng-app="blocTime">
<head lang="en">
<meta charset="UTF-8">
<title>Bloctime</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/styles/normalize.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bo... | {
"content_hash": "405d63837f6e4b085d3ce1a4f2247af5",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 209,
"avg_line_length": 42.65,
"alnum_prop": 0.7063305978898007,
"repo_name": "membrq/bloctime",
"id": "037a8c1be9afe77b8de45bf7e6ee46420a61a629",
"size": "1706",
"binary... |
package org.apache.catalina.realm;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.Principal;
import java.security.cert.X509Certificate;
import java... | {
"content_hash": "64ae68698f8f27f291baaa11776b049e",
"timestamp": "",
"source": "github",
"line_count": 1187,
"max_line_length": 93,
"avg_line_length": 32.6301600673968,
"alnum_prop": 0.5500103273778788,
"repo_name": "devjin24/howtomcatworks",
"id": "5168d9f4906ba2be4ecd17510003994abd2ecbfc",
"size... |
@interface TWTMenuViewController : UIViewController
@end
| {
"content_hash": "62aa4694dd82eabd2360581fd7501949",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 51,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.8448275862068966,
"repo_name": "wangwei1237/TWTSideMenuViewController",
"id": "eac6260a85f4853c937e9517b883c307088d0... |
define([],
function() {
var spec = {
id: "Table",
name: "databound.Table",
requireName: "databoundtable",
fullComponentName: "org.scn.community.databound.Table",
fullComponentPackage: "org.scn.community.databound/res/Table",
script: "org.scn.community.databound/res/Table/Table",
scriptSpec: "org.scn.co... | {
"content_hash": "c182f3bd0667f890b3d49f993844685b",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 118,
"avg_line_length": 21.072580645161292,
"alnum_prop": 0.5411404515882128,
"repo_name": "org-scn-design-studio-community/sdkpackage",
"id": "a976d84539c552a7aed3c89f7548c... |
import {Upload} from '../../../contracts/entities';
import {ActionType} from '../../../contracts/enums';
const actions = {
update: ActionType.UPLOAD_UPDATE_SUCCESS,
remove: ActionType.UPLOAD_DELETE_SUCCESS,
list: ActionType.UPLOAD_LIST_SUCCESS,
};
import Dispatcher from './dispatcher';
import IndexedStore from ... | {
"content_hash": "0a160b75931e0b8fbf1fb741972d9d05",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 56,
"avg_line_length": 23.625,
"alnum_prop": 0.6390358612580834,
"repo_name": "o-evin/glacier-console",
"id": "ac2338a41c2ac9e0263b9e057c60451b6aee45f7",
"size": "1701",
... |
package org.piraso.api.entry;
import java.io.PrintStream;
/**
* Defines an exception entry.
*/
public class ThrowableEntry extends Entry {
private String message;
private String actualToString;
private ThrowableEntry cause;
private StackTraceElementEntry[] stackTrace;
public ThrowableEntry... | {
"content_hash": "228b6be0ab719e721fca8dfbafbdf9e7",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 79,
"avg_line_length": 25.8828125,
"alnum_prop": 0.5731964986417145,
"repo_name": "piraso/piraso",
"id": "112e2b7098618cab9a44264ceee75edbb51efd97",
"size": "4087",
"bin... |
"use strict";
'use stricts';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Attachment = undefined;
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable ||... | {
"content_hash": "72e9d425ff7c36802f06d4e2b129ce37",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 564,
"avg_line_length": 34.49152542372882,
"alnum_prop": 0.6776412776412777,
"repo_name": "gunivan/log2qtest",
"id": "8cf412e0cc56b44f93b3aaf1aa0c5bf117c3b3da",
"size": "20... |
<?php
namespace Magento\SalesRule\Model\ResourceModel\Coupon;
use Magento\Backend\Block\Widget\Grid\Column;
use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection;
use Magento\SalesRule\Model\Rule;
/**
* SalesRule Model Resource Coupon_Collection
*
* @author Magento Core Team <core@magent... | {
"content_hash": "8726e34569cdbd0ac4bd567286f59d9f",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 103,
"avg_line_length": 25.071428571428573,
"alnum_prop": 0.6016144349477682,
"repo_name": "enettolima/magento-training",
"id": "5610ae773e93bd123886b2028b3786c75acd98a5",
... |
<?php
namespace Drupal\sw\Plugin\Filter;
use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\Unicode;
use Drupal\Component\Utility\Xss;
use Drupal\filter\FilterProcessResult;
use Drupal\filter\Plugin\FilterBase;
use Drupal\filter\Render\FilteredMarkup;
/**
* Provides a filter to caption elements.
*
* ... | {
"content_hash": "a50782868b88c624fff4f2a42986faf8",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 171,
"avg_line_length": 39.83720930232558,
"alnum_prop": 0.6143218525004864,
"repo_name": "ISO-tech/sw-d8",
"id": "7fd156a541e5edf70c832b4d18c5b59a23669a38",
"size": "5139... |
package com.coolweather.android.gson;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by wanlongping on 2017/10/16.
*/
public class Weather {
public String status;
public Basic basic;
public AQI aqi;
public Now now;
public Suggestion suggestion;
... | {
"content_hash": "23caf35399e64b4bc1becdb2f9267759",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 50,
"avg_line_length": 15.384615384615385,
"alnum_prop": 0.7,
"repo_name": "wanlongping/coolweather1",
"id": "35ea8d11aeb1a7911e8f7ecf8533c2305f2363b6",
"size": "400",
"b... |
// This file contains the image codec operations for PNG files.
#include <fstream>
#include "core/cross/bitmap.h"
#include "core/cross/error.h"
#include "core/cross/types.h"
#include "utils/cross/file_path_utils.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "import/cross/memory_buffer.h"
#incl... | {
"content_hash": "721eecbb11572a172740c06712b01176",
"timestamp": "",
"source": "github",
"line_count": 309,
"max_line_length": 80,
"avg_line_length": 35.23948220064725,
"alnum_prop": 0.6470750298466342,
"repo_name": "rwatson/chromium-capsicum",
"id": "6b73b9482291c675202f7b689919f58ba4492109",
"si... |
Reports use of a default export as a locally named import.
Rationale: the syntax exists to import default exports expressively, let's use it.
## Rule Details
Given:
```js
// foo.js
export default 'foo';
export const bar = 'baz';
```
...these would be valid:
```js
import foo from './foo.js';
import foo, { bar } from... | {
"content_hash": "71e314849af62e6e4070846cf05cdf2e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 82,
"avg_line_length": 21.72,
"alnum_prop": 0.6721915285451197,
"repo_name": "Khan/khan-linter",
"id": "86fb41d6150e122e2395917eb87221bdfe53ae63",
"size": "570",
"binary"... |
$.fn.feedbackForm = function () {
this.on('submit', function (e) {
e.preventDefault();
submitForm($(this));
return false;
});
resetForm(this);
function resetForm($el) {
$el.removeClass('fb-form_success fb-form_error');
$el.find('.fb-input_error').removeClass('fb-input_error');
$... | {
"content_hash": "289baa28f637e8ffcd683812a949cfad",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 72,
"avg_line_length": 22.21518987341772,
"alnum_prop": 0.5669515669515669,
"repo_name": "nazarov-mi/mail-feedback",
"id": "7b1e29cabae7019acc694d831220fb8318759542",
"size... |
package com.amazonaws.services.codepipeline.model;
import javax.annotation.Generated;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public enum FailureType {
JobFailed("JobFailed"),
ConfigurationError("ConfigurationError"),
PermissionError("PermissionError"),
RevisionOutOfSync(... | {
"content_hash": "ac39864d7cd8ce9350f3ce4ccaa1f9a3",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 91,
"avg_line_length": 24.94,
"alnum_prop": 0.627906976744186,
"repo_name": "dagnir/aws-sdk-java",
"id": "7fe038bad6a2c6246323e91e277fd56a89574687",
"size": "1827",
"bina... |
function rootReducer(state = { name: 'Horizons' }, action) {
switch (action.type) {
default:
return state;
}
}
export default rootReducer;
| {
"content_hash": "7651d154264d9ce9a9d5178a1659fa03",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 60,
"avg_line_length": 19.25,
"alnum_prop": 0.6493506493506493,
"repo_name": "ParroApp/parro",
"id": "0f4927915ccb0c6494e2734b24b56a764a22f720",
"size": "154",
"binary": f... |
import React from 'react'
import PropTypes from 'prop-types'
import styles from '../progressbar.css'
const ProgressBar = ({
progress,
color,
backgroundColor,
className,
progressClassName,
}) => (
<div
className={`
${styles.progressbar}
${className}
`}
style={{ backgroundColor }}
... | {
"content_hash": "dc008f527c225ddd2b5fd8636d310194",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 61,
"avg_line_length": 19.22,
"alnum_prop": 0.6337148803329865,
"repo_name": "fyndiq/fyndiq-ui",
"id": "cea2a1c8ee421023513dc360b71764b707dd965f",
"size": "961",
"binary"... |
package org.pyyaml;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.yaml.snakeyaml.events.Event;
import org.yaml.snakeyaml.tokens.Token;
/**
* @see imported from PyYAML
*/
public class PyCano... | {
"content_hash": "91ed2e64cd5e3c072499732da595aa7a",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 77,
"avg_line_length": 31.87272727272727,
"alnum_prop": 0.6155162578436966,
"repo_name": "henryyan/snakeyaml",
"id": "499faca004eda973c0132cf22ea8dff61f73704d",
"size": "23... |
/*
* ratelimit.c - Do something with rate limit.
*
* Isolated from kernel/printk.c by Dave Young <hidave.darkstar@gmail.com>
*
* 2008-05-01 rewrite the function and use a ratelimit_state data struct as
* parameter. Now every user can use their own standalone ratelimit_state.
*
* This file is released under the ... | {
"content_hash": "d1cc833be22b8ed3503bb78f5623ac49",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 75,
"avg_line_length": 23.47761194029851,
"alnum_prop": 0.6636999364272091,
"repo_name": "AlbandeCrevoisier/ldd-athens",
"id": "2c5de86460c5bb82f3d1c83b136b2f985484298a",
"... |
 | {
"content_hash": "b803f832f67eb0e503e3539b3e5ff8a9",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 64,
"avg_line_length": 64,
"alnum_prop": 0.734375,
"repo_name": "sergey-serov/devart-template",
"id": "2c30b9200b4afe3543d95e082de47746dd997510",
"size": "64",
"binary": f... |
package syncmessagepassing;
import semaphore.Semaphore2;
/**
* A handshake implemented using general semaphores. This is a class with
* methods send and receive defined using class semaphore2.
*
* @author shivam
*
*/
public class Handshake1 {
private Object local;
Semaphore2 semin = new Semaphore2(0);
Sema... | {
"content_hash": "7094df9377ef2fb341db6e6dbd8fbfac",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 73,
"avg_line_length": 28.838709677419356,
"alnum_prop": 0.6923937360178971,
"repo_name": "shivam091/Java-Concurrent-Programming",
"id": "0546b56b16521f0bc64c5a51b75a594ed2fa... |
namespace blink {
class V8TestInterfaceGarbageCollected {
STATIC_ONLY(V8TestInterfaceGarbageCollected);
public:
CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>, v8::Isolate*);
CORE_EXPORT static v8::Local<v... | {
"content_hash": "ac144f40d29719d4a7f9c5a18574045e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 108,
"avg_line_length": 46.515151515151516,
"alnum_prop": 0.7960912052117264,
"repo_name": "Samsung/ChromiumGStreamerBackend",
"id": "f83af87f13a3ceb3e428624e2e85d747d0e38112... |
[](http://github.com/badges/stability-badges)
Creates a `AudioContext` that works as expected in desktop and mobile, particularly across iOS devices.
### Motivation
There is a [bug in iOS](http://stackoverflow.com/questions/26336040/how-t... | {
"content_hash": "baafd706a8fa9043f1ff172a01f767c8",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 396,
"avg_line_length": 44.714285714285715,
"alnum_prop": 0.7591054313099042,
"repo_name": "Jam3/ios-safe-audio-context",
"id": "bc876d3cb3ebeb5edbcef745f65d47308d41d794",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Bot. Jb. 14: 348 (1892)
#### Original name
Hexagonia niam-niamensis Henn., 1891
### Remarks
null | {
"content_hash": "565c0f95d71bd30c3ee88454796f752e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 14.23076923076923,
"alnum_prop": 0.6972972972972973,
"repo_name": "mdoering/backbone",
"id": "af6c81f92f6305146d4b7bb5e196f9ba395eca32",
"size": "245... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.