text stringlengths 2 1.04M | meta dict |
|---|---|
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "dc5feb536c9b683d8e04cd15befd379c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "c83751e740bb6b1285e366e92293f8937d09f041",
"size": "184... |
#include "scaler.h"
#include "multiplier.h"
using fruit::Component;
using fruit::Injector;
using fruit::createComponent;
class ScalerImpl : public Scaler {
private:
Multiplier* multiplier;
double factor;
public:
INJECT(ScalerImpl(ASSISTED(double) factor, Multiplier* multiplier))
: multiplier(multiplier... | {
"content_hash": "d8e4d93f293756e08ff95a76d486d690",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 69,
"avg_line_length": 19.5,
"alnum_prop": 0.7196581196581197,
"repo_name": "d/fruit",
"id": "9b6889aa127bcce3ed1c635580c81238df1bcc83",
"size": "1202",
"binary": false,
... |
#ifndef SENSOR_H
#define SENSOR_H
#include <warped.h>
#include <string>
using std::string;
enum sensorStatus {SENSOR_INACTIVE, SENSOR_ACTIVE};
enum sensorType {SCALAR_SENSOR, AGGREGATE_SENSOR};
enum filterType {AVERAGE_FILTER, FIR_FILTER, IIR_FILTER, MEDIAN_FILTER};
/** The Sensor abstract base class.
The Sens... | {
"content_hash": "d7f93ff0c01f5e239096afdaa8a19b7b",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 72,
"avg_line_length": 22.98148148148148,
"alnum_prop": 0.6760676873489122,
"repo_name": "wilseypa/warped",
"id": "2ad372842baec3a3344d0a267adc763cb3bcc50e",
"size": "1241"... |
package com.jonathancolt.nicity.view.value;
/*
* #%L
* nicity-view
* %%
* Copyright (C) 2013 Jonathan Colt
* %%
* 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.... | {
"content_hash": "0d60804955d0fb84088bf77bf8f0eb09",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 87,
"avg_line_length": 23.5,
"alnum_prop": 0.5742342763619359,
"repo_name": "jnthnclt/nicity",
"id": "1369e37fbe2623cf1707016151331d063bf90113",
"size": "4937",
"binary"... |
/**
* テストページ
*/
ticketUpdatePage =function(){
this.url="";
this.html=null;
this.index=null;
this.init();
}
inherits(ticketUpdatePage, pageParent);
ticketUpdatePage.prototype.init=function(){
this.url="client/pages/ticketUpdatePage/ticketUpdatePage";
this.html=null;
this.index=null... | {
"content_hash": "ad0f6c56aaadcfab03b8c8231ffe2f18",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 62,
"avg_line_length": 21.884615384615383,
"alnum_prop": 0.6502636203866432,
"repo_name": "afujiu/customRedmine",
"id": "ec6aead3264b2be43e82c9826f6ba98a3432dbcb",
"size": ... |
<component name="libraryTable">
<library name="SBT: org.codehaus.jackson:jackson-mapper-asl:1.0.1">
<CLASSES>
<root url="jar://$USER_HOME$/.ivy2/cache/org.codehaus.jackson/jackson-mapper-asl/jars/jackson-mapper-asl-1.0.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component> | {
"content_hash": "9f07792e29621184aa4a8808e3ede2ef",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 126,
"avg_line_length": 35,
"alnum_prop": 0.6571428571428571,
"repo_name": "PacktPublishing/Machine-Learning-with-Spark",
"id": "c8bc44add1c47e6033eee75f1fcaa2ea45c57e86",
"... |
rem use call to execute other bat files
echo npm install
call "%ProgramFiles%\nodejs\npm" install
rem because we have listed grunt-cli as a dev dependency,
rem the executable will be located in the node_modules folder
echo grunt
call "./node_modules/.bin/grunt" | {
"content_hash": "69f109cbd886fdfa9e3e6f5339cec38a",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 61,
"avg_line_length": 32.875,
"alnum_prop": 0.7870722433460076,
"repo_name": "manishkp/karmagruntjsunit.msbuild",
"id": "77b986d4892a79bb5b217c9921ffadc22d376a55",
"size": ... |
#pragma once
////////////////////////////////////////////////////////////////////////////////
// 2016-10-06: #define HAVE_STDINT_H (win32)
// 2013-05-21: iconv removed.
// 2012-10-24: libxml2-2.9.0 update.
#if defined(_WIN32)
#define HAVE_ISINF
#define HAVE_ISNAN
#define HAVE_ZLIB_H
#define HAVE_LIBZ
#define HAVE_CT... | {
"content_hash": "b944bcbecd07af868f0388d4d1faf982",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 97,
"avg_line_length": 21.775641025641026,
"alnum_prop": 0.7191639682072417,
"repo_name": "tiff2766/DKLib",
"id": "9413f18f82ade0a122f1869b35b4cefa107f815e",
"size": "3397... |
using System;
using System.Reflection;
namespace Amido.NAuto.Builders.Services
{
public class PopulateDecimalService : PopulateProperty<decimal>
{
public override decimal Populate(string propertyName, decimal currentValue, PropertyInfo propertyInfo = null)
{
if (Math.Abs(currentVal... | {
"content_hash": "3be7dfe125fd2b88c4898149b71444ea",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 146,
"avg_line_length": 34.75,
"alnum_prop": 0.671120246659815,
"repo_name": "amido/NAuto",
"id": "4fe87b7a24a58bb0cf760adde97cec4688792a48",
"size": "975",
"binary": fal... |
#pragma once
#include <aws/waf-regional/WAFRegional_EXPORTS.h>
#include <aws/waf-regional/WAFRegionalRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace WAFRegional
{
namespace Model
{
/**
*/
class AWS_WAFREGIONAL_API ListRegexPatternSetsRequest : public ... | {
"content_hash": "b87623a39748fbb5d88eaa250f665dc3",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 125,
"avg_line_length": 49.85333333333333,
"alnum_prop": 0.7054025140411875,
"repo_name": "JoyIfBam5/aws-sdk-cpp",
"id": "679732970aee04076180c34528bbce494fdde450",
"size"... |
package com.hazelcast.internal.partition;
import com.hazelcast.test.HazelcastParallelParametersRunnerFactory;
import com.hazelcast.test.annotation.ParallelJVMTest;
import com.hazelcast.test.annotation.QuickTest;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;
import org.junit.runn... | {
"content_hash": "fce95970ed4b28ca42dadfe23e349423",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 102,
"avg_line_length": 34.206896551724135,
"alnum_prop": 0.7540322580645161,
"repo_name": "mesutcelik/hazelcast",
"id": "97337d139eba139559f8cd3fa96588d8f49a1994",
"size":... |
<?php
namespace ERP\CRMBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CrmDocumentoAdjuntoCorreo
*
* @ORM\Table(name="crm_documento_adjunto_correo", indexes={@ORM\Index(name="fk_crm_documento_adjunto_correo_crm_correo1_idx", columns={"correo"})})
* @ORM\Entity
*/
class CrmDocumentoAdjuntoCorreo
{
/**
... | {
"content_hash": "e17a072d9ac05cf469a34acd242017b9",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 148,
"avg_line_length": 18.3265306122449,
"alnum_prop": 0.5473273942093542,
"repo_name": "Kstro/erpsystem",
"id": "03e6dd4a916585d3bbdc8ae32087a778b55eb879",
"size": "1796"... |
---
title: class-methods-use-this - Rules
layout: doc
edit_link: https://github.com/eslint/eslint/edit/master/docs/rules/class-methods-use-this.md
rule_type: suggestion
---
<!-- Note: No pull requests accepted for this file. See README.md in the root directory for details. -->
# Enforce that class methods utilize `thi... | {
"content_hash": "ef14b49c3924214d33392be60fe92cc3",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 381,
"avg_line_length": 25.092198581560282,
"alnum_prop": 0.6574335782928208,
"repo_name": "eslint/eslint.github.io",
"id": "42ed703ba99ea2b742e592b63cd0b6785598510f",
"si... |
package com.helpfulanimals.happeetime;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
public class OutputAwardsInfoFragment extends Fragment {
private int position;
public... | {
"content_hash": "e34198b05d60ca090a9408b6a5747fe2",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 127,
"avg_line_length": 45.395348837209305,
"alnum_prop": 0.7464139344262295,
"repo_name": "jwiygul/HappeeTimeAndroid",
"id": "09d9d03dc2ca3ac6545ef87c0402484fa3bf5e84",
"s... |
#ifndef OS_SUPPORT_H
#define OS_SUPPORT_H
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef OS_SUPPORT_CUSTOM
#include "os_support_custom.h"
#endif
/** Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is ... | {
"content_hash": "866b18fff17aa5323dc8238dc9f43689",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 142,
"avg_line_length": 27.905797101449274,
"alnum_prop": 0.6709945468709426,
"repo_name": "vgaessler/whisper_client",
"id": "ada822564d1f7589bb1671750a180a29ee16e8ce",
"s... |
/*jslint white: true, browser: true, plusplus: true, vars: true, nomen: true, bitwise: true*/
/* Copyright 2011-2012 Carlos Guerreiro
* http://perceptiveconstructs.com
* Licensed under the MIT license */
'use strict';
require("bufferjs");
var EventEmitter = require('events').EventEmitter;
var net = require('net');... | {
"content_hash": "6c14fdac92a1414393cc52a05edeed17",
"timestamp": "",
"source": "github",
"line_count": 312,
"max_line_length": 192,
"avg_line_length": 25.69551282051282,
"alnum_prop": 0.5286266683297992,
"repo_name": "newsteinking/redis-sync",
"id": "8b43db581b792a1cb6e5bf75f61969370282c6c9",
"siz... |
<?xml version="1.0"?>
<!--
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.lilyproject</groupId>
<artif... | {
"content_hash": "943474f4c4a47fbe6bd8d7f65a2b6d27",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 204,
"avg_line_length": 26.05925925925926,
"alnum_prop": 0.617964752700398,
"repo_name": "NGDATA/lilyproject",
"id": "609381e9248cad9f88df7ea2d2e26ed65cbbcc20",
"size": "4... |
package com.dpaulenk.zombie;
import android.os.Bundle;
import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
public class MainActivity extends AndroidApplication {
@Override
public void onCreate(Bundle savedInstanceState) {
... | {
"content_hash": "4e16aa3ee3eab7c8f710a0cdd772ed2e",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 84,
"avg_line_length": 29.88888888888889,
"alnum_prop": 0.7397769516728625,
"repo_name": "Fantast/flappy-bird-tutorial-by-kilobolt",
"id": "2d92caf1b8515afbf9ff82b0943b6896ee... |
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.almightynassar.BrokenStarsAndroid" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<hook src="hooks/hookers.js" type="before_prepare" />
<hook src="hooks/beforedep.js" type="before_deploy" />
<name>Brok... | {
"content_hash": "b5bb4eb2077fd46ac5617cf94a0f9cad",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 149,
"avg_line_length": 49.411764705882355,
"alnum_prop": 0.6255952380952381,
"repo_name": "almightynassar/BrokenStarsAndroid",
"id": "286c829c1d23e0efcd979b61fa5ad9cedc440b6... |
package com.bazaarvoice.commons.data.model.json.schema.validation.formats;
import java.net.URI;
import java.net.URISyntaxException;
public class URIFormatValidator extends AbstractTextFormatValidator {
public URIFormatValidator() {
super("URI");
}
@Override
protected boolean validate(String s... | {
"content_hash": "164a318f7b90553eae52c5012f88aa43",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 74,
"avg_line_length": 23.8,
"alnum_prop": 0.6386554621848739,
"repo_name": "bazaarvoice/commons-data-json",
"id": "636279e20288eb93c81f25b864fccabb53ce0726",
"size": "476"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d8cca453309153241d5239bc925dea38",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "b2373b9c06cde937bbdbabca99b7ebefbda94fd8",
"size": "172... |
<html>
<head>
<title>Docs for page package.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">PHPExcel</td>
</tr>
<tr><td class="header_line"><img src="../media/em... | {
"content_hash": "2f163b9164994865743713d53f9d1842",
"timestamp": "",
"source": "github",
"line_count": 309,
"max_line_length": 553,
"avg_line_length": 54.43689320388349,
"alnum_prop": 0.6091195529397777,
"repo_name": "fredd-for/codice",
"id": "23cb9a32852e1176e41765949908f148fa453d9d",
"size": "16... |
the gulp plugin used to delete csslinks from html node dom.
### Installation
npm install gulp-del-csslinks --save-dev
### Usage
```
var gulp = require('gulp');
var csslinks = require('gulp-del-csslinks');
gulp.task('startdel', function() {
gulp.src(['*.html'])
.pipe(delcsslinks())
.pipe(gulp.dest('min/'))... | {
"content_hash": "9843520afb5316f3677a0cef1747096d",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 59,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.6454545454545455,
"repo_name": "iu2fish/gulp-del-csslinks",
"id": "a6b2853e755366bda19baafc4e8956559f785e4d",
"si... |
using Genesis.Ensure;
using GildedRose.Entities;
namespace GildedRose.Policies
{
public class PolicyFactory : IPolicyFactory
{
readonly IPolicyContainer _container;
public PolicyFactory()
{
_container = new PolicyContainer();
}
public IPolicy... | {
"content_hash": "6fdc7cc0773ac0aa8de7e4d852b4264d",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 58,
"avg_line_length": 21.954545454545453,
"alnum_prop": 0.587991718426501,
"repo_name": "jrgcubano/GildedRose",
"id": "4adeeb5ef1689ca99afef3049146140405edff8f",
"size": "... |
(function (Crafty) {
'use strict';
Crafty.scene('Apotecarie', function () {
Obsidian.devour('apotecarie', function () {
new Door(7, 8).setDestination('Village');
new Door(8, 8).setDestination('Village');
//if Apotecarie Quest is not done and no quest is on going, start Apotecarie Quest actio... | {
"content_hash": "554dffc618aaadb0117b9e525d9d0d00",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 115,
"avg_line_length": 44.333333333333336,
"alnum_prop": 0.617078410311493,
"repo_name": "danieltdt/spjam2013",
"id": "6b350fb132aa3b956e6cd212172df6ff31bcabae",
"size": "... |
package org.callimachusproject.webdriver.pages;
import org.callimachusproject.webdriver.helpers.WebBrowserDriver;
import org.openqa.selenium.By;
public class Register extends CalliPage {
public Register(WebBrowserDriver driver) {
super(driver);
}
public Register with(String username, String password, String f... | {
"content_hash": "7e42bd03aff73ff3be2b824c2a24d6d9",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 72,
"avg_line_length": 24.346153846153847,
"alnum_prop": 0.7361769352290679,
"repo_name": "jimmccusker/callimachus",
"id": "1668ffde97b52ea8f8cb57278d13f47e80049d8e",
"size... |
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
// import { createListView } from '../views/CreateListView'
// import ItemView from '../views/ItemView.vue'
import NotFoundView from '../views/NotFoundView.vue'
import UserView from '../views/UserView.vue'
import IndexView from '../views/IndexView.... | {
"content_hash": "dd0d6fda9337df9b504d805f485f60eb",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 105,
"avg_line_length": 29.241610738255034,
"alnum_prop": 0.5978884553591921,
"repo_name": "firery/mirs-web-vue",
"id": "c120dca8829144f74ff2c44a9535bd33d04ca994",
"size":... |
using System;
using Serilog.Core;
using Serilog.Events;
using SerilogTimings.Extensions;
using SerilogTimings.Tests.Support;
using Xunit;
namespace SerilogTimings.Tests
{
public class OperationEnrichmentTests
{
static void AssertScalarPropertyOfSingleEvent<T>(CollectingLogger logger, string propertyNa... | {
"content_hash": "670e28a199ac9f5cbe4ff059abec0224",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 114,
"avg_line_length": 34.880503144654085,
"alnum_prop": 0.5206455102776776,
"repo_name": "nblumhardt/serilog-timings",
"id": "7f7f04bb0654734d9c29386663f4078d3c7055a4",
... |
<?php
namespace Oro\Bundle\ImportExportBundle\Tests\Unit\Converter;
use Oro\Bundle\ImportExportBundle\Converter\AbstractTableDataConverter;
/**
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
class AbstractTableDataConverterTest extends \PHPUnit\Framework\TestCase
{
/**
* @var array
*/
protec... | {
"content_hash": "2df7d60697c7286b2d5c63516993741c",
"timestamp": "",
"source": "github",
"line_count": 277,
"max_line_length": 116,
"avg_line_length": 34.75451263537906,
"alnum_prop": 0.38714033447595303,
"repo_name": "orocrm/platform",
"id": "b776cba88ce441f705b80f85d817ae897283555d",
"size": "96... |
namespace Envoy {
namespace Network {
namespace Address {
CidrRange::CidrRange() : length_(-1) {}
CidrRange::CidrRange(InstanceConstSharedPtr address, int length)
: address_(std::move(address)), length_(length) {
// This is a private ctor, so only checking these asserts in debug builds.
if (address_ == nullpt... | {
"content_hash": "71fd364b41c2abbf6a67de59d515c727",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 98,
"avg_line_length": 30.96137339055794,
"alnum_prop": 0.5913501524812864,
"repo_name": "htuch/envoy",
"id": "80ecbeeaf4c5ad08cda5c50c02a528a83d1238de",
"size": "7611",
... |
import React from 'react'
import Footer from '../Footer/Footer'
const LoginBase = (props) => {
return (
<div>
<header className="header header-default">
<div className="container-fluid">
<div className="pull-left brand float-remove-xs text-center-xs">
... | {
"content_hash": "123fe6ea7eb72ab845d18a0a6c62b564",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 84,
"avg_line_length": 26.344827586206897,
"alnum_prop": 0.4031413612565445,
"repo_name": "thusithak/carbon-apimgt",
"id": "75f241d8cdfb27dadb559f73eb905f32c196d464",
"size... |
<?php
namespace JoshuaEstes\Component\FeatureToggle;
use JoshuaEstes\Component\FeatureToggle\Toggle\FeatureToggleInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
/**
* Object that represents a feature in the system.
*
* @author Joshua Estes <Joshua@Estes.in>
*/
class Feature implements FeatureIn... | {
"content_hash": "92dd171c0753845e30e3d163b08a1955",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 70,
"avg_line_length": 16.917910447761194,
"alnum_prop": 0.5346272606969563,
"repo_name": "JoshuaEstes/FeatureToggle",
"id": "2d145296011cd810f0f6d6453f242b970407309e",
"s... |
package controllers.responsiblepeople
import connectors.DataCacheConnector
import controllers.actions.SuccessfulAuthAction
import models.responsiblepeople.ResponsiblePerson._
import models.responsiblepeople.{ApprovalFlags, PersonName, ResponsiblePerson}
import org.jsoup.Jsoup
import org.jsoup.nodes.Document
im... | {
"content_hash": "5e7394076d2d7ae39463526b6b44c556",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 150,
"avg_line_length": 51.17054263565891,
"alnum_prop": 0.6817148916830783,
"repo_name": "hmrc/amls-frontend",
"id": "c5147d88a4c86e8887abf70aff9abdf1882cbacb",
"size": "... |
[ ](https://travis-ci.org/sensu-plugins/sensu-plugins-ssl)
[](http://badge.fury.io/rb/sensu-plugins-ssl)
[</title>
<meta http-equiv="Content-Type" content="text/html; char... | {
"content_hash": "de4711637ea7107f42c96bf79a84c377",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 242,
"avg_line_length": 76.39285714285714,
"alnum_prop": 0.6760168302945302,
"repo_name": "gfuzz/gameday_api",
"id": "d55177c095b6453ec3a0c1b0f85ae39cd8d5507a",
"size": "21... |
package com.grandilo.financelearn;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import com.google.firebase.database.ChildEventListener;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseErr... | {
"content_hash": "c44a8e6ce7ebda81aefc1070a857de77",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 157,
"avg_line_length": 28.741935483870968,
"alnum_prop": 0.6004489337822672,
"repo_name": "Grandilo/financelearn",
"id": "ab1fd287c89f0c3fdfb3fc8c059e25728c6c133d",
"size"... |
from setuptools import setup, find_packages
import upyunstorage
setup(
name = 'django-upyun-storage',
version = upyunstorage.__version__,
packages = find_packages(),
author = 'Fei Tao',
author_email = 'filia.tao@gmail.com',
license = 'BSD',
description = 'Upyun storage backend for Django p... | {
"content_hash": "f8570fe8e2cc7672384b7659c2a04db3",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 78,
"avg_line_length": 31.2,
"alnum_prop": 0.6256410256410256,
"repo_name": "ftao/django-upyun-storage",
"id": "9a3df47f1ed72ec5eee23e604bec9f09217d0fe2",
"size": "780",
... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="en">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About AntarcticCoin</source>
<translation>About Antarcti... | {
"content_hash": "34c7698d6d03a18486b7192c2c4644ee",
"timestamp": "",
"source": "github",
"line_count": 2967,
"max_line_length": 405,
"avg_line_length": 39.0525783619818,
"alnum_prop": 0.6280540955734494,
"repo_name": "AccCoin/Antarcticcoin",
"id": "981c276bf10cd49ebb70609191910ee4fa2a4f4b",
"size"... |
// [START earthengine__apidocs__ee_geometry_multipoint_getinfo]
// Define a MultiPoint object.
var multiPoint = ee.Geometry.MultiPoint([[-122.082, 37.420], [-122.081, 37.426]]);
// Apply the getInfo method to the MultiPoint object.
var multiPointGetInfo = multiPoint.getInfo();
// Print the result to the console.
pr... | {
"content_hash": "21c638ec57ac61e921d213bc34da6ae8",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 82,
"avg_line_length": 34.388888888888886,
"alnum_prop": 0.6978998384491115,
"repo_name": "google/earthengine-community",
"id": "d98b3d67bbe124f96425dc387a4decde10598948",
... |
#include "postgres.h"
#include "storage/proc.h"
#include "access/xact.h"
#include "commands/prepare.h"
#include "commands/trigger.h"
#include "cdb/cdbvars.h"
#include "executor/executor.h" /* ExecutorStart, ExecutorRun, etc */
#include "miscadmin.h"
#include "tcop/pquery.h"
#include "tcop/tcopprot.h"
#includ... | {
"content_hash": "2e5d843d8868c324d496898c2b1bb88e",
"timestamp": "",
"source": "github",
"line_count": 2387,
"max_line_length": 127,
"avg_line_length": 27.227063259321323,
"alnum_prop": 0.6799402994260744,
"repo_name": "sujeetv/incubator-hawq",
"id": "3e668170d1ee199279e97977a7e896b1779b8e5d",
"si... |
import Component from 'flarum/Component';
import icon from 'flarum/helpers/icon';
import listItems from 'flarum/helpers/listItems';
/**
* The `Dropdown` component displays a button which, when clicked, shows a
* dropdown menu beneath it.
*
* ### Props
*
* - `buttonClassName` A class name to apply to the dropdown... | {
"content_hash": "52c5b3d6380df6df548f15148a6052c4",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 109,
"avg_line_length": 28.79310344827586,
"alnum_prop": 0.6077844311377245,
"repo_name": "namjoker/flarumfull",
"id": "749f00141253902e56be4f6407153e67ef81c103",
"size": ... |
@protocol LFVideoEncoding;
/// 编码器编码后回调
@protocol LFVideoEncodingDelegate <NSObject>
@required
- (void)videoEncoder:(nullable id<LFVideoEncoding>)encoder videoFrame:(nullable LFVideoFrame *)frame;
@end
/// 编码器抽象的接口
@protocol LFVideoEncoding <NSObject>
@required
- (void)encodeVideoData:(nullable CVPixelBufferRef)pixelB... | {
"content_hash": "09b1c0a11694e55101e9341ae843ba70",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 109,
"avg_line_length": 34.77777777777778,
"alnum_prop": 0.8194888178913738,
"repo_name": "CallMeMrAlex/LiveStreamingDemo",
"id": "cf2bd66e69ca8cb05b7944c35273d42052077152",
... |
namespace MassTransit.MongoDbIntegration.Courier.Events
{
using Documents;
using MassTransit.Courier.Contracts;
public class RoutingSlipCompensationFailedDocument :
RoutingSlipEventDocument
{
public RoutingSlipCompensationFailedDocument(RoutingSlipCompensationFailed message)
... | {
"content_hash": "089b3ddcdee26d83fc0328313698748d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 91,
"avg_line_length": 31.473684210526315,
"alnum_prop": 0.7006688963210702,
"repo_name": "MassTransit/MassTransit",
"id": "1696b1b3a0a8dd70f532bc617c414f04e3aede2e",
"size... |
@interface UIStoryboard (UIStoryboardVUIKit)
@property (nonatomic, strong) NSString *name;
@end
| {
"content_hash": "7cce50ab7f47e1f8fd01cc544bb1c175",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 45,
"avg_line_length": 32,
"alnum_prop": 0.8020833333333334,
"repo_name": "abcxo/XJoin",
"id": "27eba82069ab10458263d3388d6c0b505111130a",
"size": "267",
"binary": false,
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------... | {
"content_hash": "b976c8335d43c9992fda29ae5b25837a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 26.58823529411765,
"alnum_prop": 0.3938053097345133,
"repo_name": "knight0323/testable-webforms-mvp",
"id": "572ef35c61a44541598a8c7a2f66e842592c4708",... |
package command
import (
"strings"
)
type RemoteCommand struct {
Meta
}
func (c *RemoteCommand) Run(argsRaw []string) int {
// Duplicate the args so we can munge them without affecting
// future subcommand invocations which will do the same.
args := make([]string, len(argsRaw))
copy(args, argsRaw)
args = c.Me... | {
"content_hash": "82b747316d994ebba47223877cdc5e72",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 70,
"avg_line_length": 21.24590163934426,
"alnum_prop": 0.6944444444444444,
"repo_name": "drewsetski/koding",
"id": "05d119341e99066907bfd235587bba455aa8d2cf",
"size": "129... |
package com.opengamma.master.security.impl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.threeten.bp.Instant;
import com.google.common.base.Supplier;
import com.opengamma.DataNotFoundException... | {
"content_hash": "9c3edcd4fa163e2e9ca0721867067b22",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 154,
"avg_line_length": 39.560483870967744,
"alnum_prop": 0.6981959025583528,
"repo_name": "jerome79/OG-Platform",
"id": "77ba6414fb3629ca97a672a3a78174898ef72455",
"size"... |
/* these two rules need to stay at the top
as cfgdemo auto adjusts them and assumes
this location. don't move them without changing
that assumption.*/
.tri-fold_colContentPlusBorder > div {
width:234px;
height:390px;
}
.tri-fold_colContentPlusBorder > div {
background-color: rgba(240, 240, 240, 1);
}
.tri-f... | {
"content_hash": "e11084c8ca06f39ecb0918dfa94b1b07",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 214,
"avg_line_length": 34.407407407407405,
"alnum_prop": 0.7761033369214209,
"repo_name": "nathanross/TriFold",
"id": "d1288aba33d4a5aa446fca5e5aa51c08b4185ecc",
"size": "... |
Prev: [Lists](list.md)
Next: [Tables](table.md)
# Textviews - Multiline text objects
This page shows how to create text views, populate them, update them, and bind events to actions.
A textview is not editable by the user. The data may be programatically changed. However, the user can traverse the textbox. A text box... | {
"content_hash": "ead0fc70425ced24d2825f6c5d636f15",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 439,
"avg_line_length": 63.42528735632184,
"alnum_prop": 0.7622326930047119,
"repo_name": "rkumar/rbcurse-tutorial",
"id": "503724549708ad71f8b1baf2b54c3a9606142219",
"size... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/nivel1_rl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/nivel1_fondo"
android:fadingEdge="horizonta... | {
"content_hash": "e29d6654cf1b7ad39c30b58e2eb52605",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 74,
"avg_line_length": 38.966850828729285,
"alnum_prop": 0.5308379413015738,
"repo_name": "NataliaRidella/desafioMasMenos",
"id": "10858a2c2e1f58436ddf6b07519e8a548cc6d404",... |
function dat = proc_ssdbank(dat, freqs)
%PROC_SSDBANK - apply Spatio-Spectral Decomposition (SSD) for a set of
%frequency bands of interest
%
%Synopsis:
% dat= proc_ssdbank(dat, freqs)
%
%Arguments
% dat - data structure of continuous data
% freqs - matrix of frequencies bands of interest (nBands x 2)
% ... | {
"content_hash": "ad2bb035f0397bd1592c2f762c633115",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 99,
"avg_line_length": 30.757575757575758,
"alnum_prop": 0.6719211822660098,
"repo_name": "IrinaNicolae/bbci_public",
"id": "3de4ee37b2d045d610b71ba9b50f018e7c85d764",
"siz... |
namespace IPC {
struct MessageContents {
std::vector<char> data;
std::vector<int> fds;
};
namespace {
bool ReadDataOnReaderThread(int pipe, MessageContents* contents) {
DCHECK(pipe >= 0);
if (pipe < 0)
return false;
contents->data.resize(Channel::kReadBufferSize);
contents->fds.resize(FileDescriptor... | {
"content_hash": "0886767cf8b0a71c7ecacae007a0c2f4",
"timestamp": "",
"source": "github",
"line_count": 361,
"max_line_length": 80,
"avg_line_length": 33.95290858725762,
"alnum_prop": 0.6433058660357347,
"repo_name": "leighpauls/k2cro4",
"id": "3cb581046824878804a910c690ae9a2e92ebc387",
"size": "12... |
<html>
<head>
<title>PHPExcel classes</title>
<link rel="stylesheet" type="text/css" href="media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">PHPExcel_Cell</td>
</tr>
<tr><td class="header_line"><img src="media/empty.png" w... | {
"content_hash": "aa51c86c543c3a7914b6d448948c0254",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 480,
"avg_line_length": 53.373831775700936,
"alnum_prop": 0.5515671511118894,
"repo_name": "xblacklotus/PTC",
"id": "88b287ad5792b4fdb4804d91fa0be8de59d8f3d5",
"size": "57... |
require "logstash/inputs/base"
require "logstash/namespace"
# This input allows you to receive events over XMPP/Jabber.
#
# This plugin can be used for accepting events from humans or applications
# XMPP, or you can use it for PubSub or general message passing for logstash to
# logstash.
class LogStash::Inputs::Xmpp <... | {
"content_hash": "20e2852e5b32b2b2b8dc4cfda0ad343c",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 123,
"avg_line_length": 34.1,
"alnum_prop": 0.6425953079178885,
"repo_name": "sant0sh/Personalization-framework",
"id": "fee932dff90d41b09d3c1475aa2fe3b3f9c09774",
"size": ... |
package org.polago.deployconf;
import java.io.IOException;
import java.io.OutputStream;
import org.jdom2.Document;
import org.jdom2.Element;
import org.jdom2.output.Format;
import org.jdom2.output.LineSeparator;
import org.jdom2.output.XMLOutputter;
import org.polago.deployconf.task.Task;
/**
* Class that know ho... | {
"content_hash": "66f0b4c95799df7abb323cc7b345ee45",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 91,
"avg_line_length": 28.625,
"alnum_prop": 0.6801310043668122,
"repo_name": "polagoab/deployconf",
"id": "b71197df16d7dc4190d6fc02e32619de7858bd46",
"size": "2978",
"bi... |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8" lang="en"><![endif]-->
<!--[if gt IE 8]><!--><html lang="en"><!--<![endif]-->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>GOV.UK - The best place to find government services and information</title>
<script typ... | {
"content_hash": "3d439e084337058513a87aa5793ee8f9",
"timestamp": "",
"source": "github",
"line_count": 269,
"max_line_length": 233,
"avg_line_length": 42.33457249070632,
"alnum_prop": 0.5443449244819107,
"repo_name": "InsolvencyService/cas-prototypes",
"id": "0b5de473ddf0662ca2265dc4924aa6085f16aa74... |
<?php
namespace Bllim\Laravalid\Converter\Base;
/**
* This container class brings to extended class extendibility and also base convert function.
*
* @author Bilal Gultekin <bilal@bilal.im>
* @license MIT
*
* @see Illuminate\Html\FormBuilder
*
* @version 0.9
*/
abstract class Container
{
... | {
"content_hash": "d477a76926c9b011d326d008b0afb8ad",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 94,
"avg_line_length": 23.05263157894737,
"alnum_prop": 0.6095890410958904,
"repo_name": "rene-springmann/laravalid",
"id": "e05df96264a49593b6a4e9aa609a78a7c47a5458",
"siz... |
FROM balenalib/raspberrypi4-64-alpine:3.11-build
ENV GO_VERSION 1.15.7
# set up nsswitch.conf for Go's "netgo" implementation
# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: fil... | {
"content_hash": "4383caf14fba9ae1e019f1b5e217171e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 679,
"avg_line_length": 64.47222222222223,
"alnum_prop": 0.7242567858681602,
"repo_name": "nghiant2710/base-images",
"id": "d3a5c36b251b64ee92ba24958b2560b2adefaf89",
"size... |
import { SentMessageInfo } from 'nodemailer';
declare class Sendcloud {
constructor(apiUser: string, apiKey: string, from: string, name?: string, apiUserBatch?: string);
readonly EmailList: EmailList;
readonly ListMember: ListMember;
send(to: string, subject: string, html: string, options?: SendOptio... | {
"content_hash": "c7c3ebeee227e88a8992e47abc65fa0f",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 109,
"avg_line_length": 23.390041493775932,
"alnum_prop": 0.6397019691325173,
"repo_name": "dsebastien/DefinitelyTyped",
"id": "19b6d3afa0cdde85294724ff8f9bfe445e993690",
... |
#include "ImageRequest.h"
namespace facebook {
namespace react {
ImageRequest::ImageRequest(
const ImageSource &imageSource,
std::shared_ptr<const ImageInstrumentation> instrumentation)
: imageSource_(imageSource), instrumentation_(instrumentation) {
// Not implemented.
}
ImageRequest::ImageRequest(I... | {
"content_hash": "0e56cd29470f3ea81ffe94895d3b55f7",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 78,
"avg_line_length": 22.775510204081634,
"alnum_prop": 0.7383512544802867,
"repo_name": "exponent/react-native",
"id": "35475d1083149a97611bb12d263fc5a7e872cff5",
"size":... |
fn main() {
let a(1) = 13; //~ ERROR cannot find tuple struct or tuple variant `a` in this scope
}
| {
"content_hash": "d316c80a8372c4960213d8ccae8de558",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 88,
"avg_line_length": 34.333333333333336,
"alnum_prop": 0.6310679611650486,
"repo_name": "aidancully/rust",
"id": "5b918eef6d65b29dacfb091ecbe7ecf3da9fb8c7",
"size": "103",... |
#pragma once
#include "global_data.h"
#define cdbg clog
#undef cdbg
#define cdbg if (1) {} else clog
// comment the previous two lines if you want loads of debug output :)
typedef uint32_t action;
typedef uint32_t ptag;
namespace Search
{
struct search_private;
struct search_task;
extern uint32_t AUTO_CONDIT... | {
"content_hash": "729fad20d3980cc73504797abcb23a81",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 216,
"avg_line_length": 45.76261127596439,
"alnum_prop": 0.6265075865646479,
"repo_name": "KaiWeiChang/vowpal_wabbit",
"id": "d379fc24e85f7317c674ecad9a99251cb022b2bf",
"s... |
/***********************************************************************
created: 28/07/2006
author: Olivier Delannoy
purpose: This codec provide FreeImage based image loading.
*************************************************************************/
/**********************************************************... | {
"content_hash": "a82bb87a9dfd9763faf267da9284cd86",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 77,
"avg_line_length": 44.390243902439025,
"alnum_prop": 0.6208791208791209,
"repo_name": "cbeck88/cegui-mirror-two",
"id": "d48a74a7fce0f9b3abdcd20817f87d008fe7f595",
"siz... |
namespace BotBits
{
public enum CampaignStatus
{
Locked = -1,
Unlocked = 0,
Completed = 1
}
} | {
"content_hash": "b90764dcee59164a6986aa6e2c8f05f5",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 30,
"avg_line_length": 14.444444444444445,
"alnum_prop": 0.5076923076923077,
"repo_name": "Yonom/BotBits",
"id": "398d4d615a6f7f0a356c603af8560ae3a245f061",
"size": "132",
... |
/*
* Lib9 is miscellany from the Plan 9 C library that doesn't
* fit into libutf or into libfmt, but is still missing from traditional
* Unix C libraries.
*/
#ifndef _LIBC_H_
#define _LIBC_H_ 1
#if defined(__cplusplus)
extern "C" {
#endif
#include <utf.h>
#include <fmt.h>
/*
* Begin trimmed down usual libc.h
... | {
"content_hash": "1a4bf987ac9136823d735f3e734ab6df",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 86,
"avg_line_length": 27.57493188010899,
"alnum_prop": 0.6816205533596837,
"repo_name": "sagivo/go",
"id": "e4d879907720ad3a874ff6c38eef77346069399d",
"size": "11657",
... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/v2beta1/agent.proto
package com.google.cloud.dialogflow.v2beta1;
public interface ExportAgentResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.ExportAgentRespons... | {
"content_hash": "49358e68761852a760ec1c719930378a",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 106,
"avg_line_length": 31.517241379310345,
"alnum_prop": 0.6422319474835886,
"repo_name": "vam-google/google-cloud-java",
"id": "5211a58ccdd7740e5cbe4dd6c5909c53f88c71bd",
... |
class VirtualDomain < ActiveRecord::Base
has_many :virtual_users
has_many :virtual_aliases
has_and_belongs_to_many :admin_users, :join_table => :users_domains
attr_accessible :name
validates :name,
:presence => true, :uniqueness => true,
:format => { :with => /\A(?:[-a-z0-9]+\.)+[a-z]{2,}\Z/i... | {
"content_hash": "8cb208c11d7078857768ea95bf420acc",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 77,
"avg_line_length": 25.19047619047619,
"alnum_prop": 0.6086956521739131,
"repo_name": "fanda/rmails",
"id": "cccf3c63ac8b2f81cf1efa60f2e007e23c503d94",
"size": "529",
... |
using Community.VisualStudio.Toolkit;
using LanguageService.CodeAnalysis.XSharp.SyntaxParser;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Language.StandardClassification;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Operations;
using Microsoft.VisualStudio.Tex... | {
"content_hash": "f4cdcebefb41ab4ab26432d42a9a09d5",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 119,
"avg_line_length": 34.38414634146341,
"alnum_prop": 0.5786486965774074,
"repo_name": "X-Sharp/XSharpPublic",
"id": "6d29b359e53ebdb61c4f99816494262c4ab8fc17",
"size":... |
#include <string>
#include <iostream>
using namespace std;
#define test(x, y) cout << #x << " = " << x << "(expected " << y << ")" << endl;
/*
Implement a class DNA, which contains a method getComplement. getComplement
takes a String representing a strand of DNA and returns the complement of that
strand, as a String... | {
"content_hash": "7ea1ebece7ea46a4bbbd0599b7f6772d",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 80,
"avg_line_length": 33.69565217391305,
"alnum_prop": 0.7208602150537634,
"repo_name": "seank-com/TopCoder",
"id": "808352b9ad3a8b80468b9ccde1cc16040960ab82",
"size": "23... |
layout: post
title: MySQL报错记录
tags: MySQL mysql 数据库 session_variables
categories: mysql
---
记录日常使用过程中MySQL出现报错及解决方法.
## Table 'performance_schema.session_variables' doesn't exist
出现在mysql版本更新后,
> mysql_upgrade -u root -p --force
> systemctl restart mysqld
## No directory, logging in with HOME=/
```
usermod -... | {
"content_hash": "4d16e6b364331d8a4429eb70d041448c",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 133,
"avg_line_length": 17,
"alnum_prop": 0.7184873949579832,
"repo_name": "cheenwe/cheenwe.github.io",
"id": "c036d74052ab8649738b0a8a7c0b65654e623337",
"size": "800",
"... |
package org.owasp.dependencycheck.analyzer;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.junit.Test;
import static org.junit.Assert.*;
import org.owasp.dependencycheck.dependency.Confidence;
import org.owasp.dependencycheck.dependency.Evidence;
import o... | {
"content_hash": "0daf11c9119467cf9c87f2acdf244460",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 98,
"avg_line_length": 37.50714285714286,
"alnum_prop": 0.6526375928394591,
"repo_name": "hansjoachim/DependencyCheck",
"id": "d130f2f67c9023ae7f463d459493cbd86f2e6c76",
"... |
%LAMBDA2RGB RGB chromaticity coordinates
%
% RGB = LAMBDA2RG(LAMBDA) is the rg-chromaticity coordinate (1x2) for
% illumination at the specific wavelength LAMBDA [m]. If LAMBDA is a
% vector (Nx1), then P (Nx2) is a vector whose elements are the chromaticity
% coordinates at the corresponding elements of LAMBDA.
%
% R... | {
"content_hash": "8fe48ea2d08fbf217cab276fe33834d3",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 77,
"avg_line_length": 33.6530612244898,
"alnum_prop": 0.695573074590661,
"repo_name": "sgabello1/calibration",
"id": "312a408d9382eb39851f62fe34c25d91d6a62113",
"size": "1... |
package io.netty.channel.epoll;
import io.netty.channel.ChannelOption;
import io.netty.channel.unix.FileDescriptor;
import io.netty.util.internal.SystemPropertyUtil;
/**
* Tells if <a href="https://netty.io/wiki/native-transports.html">{@code netty-transport-native-epoll}</a> is
* supported.
*/
public final class... | {
"content_hash": "ed12e6963dc71fcd123e22e8dc9ed5fc",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 117,
"avg_line_length": 34.29807692307692,
"alnum_prop": 0.584524810765349,
"repo_name": "tbrooks8/netty",
"id": "69620b12a434776b13f1f2d4459aa0038e7a704e",
"size": "4202"... |
using arma::vec3;
#elif HAVE_EIGEN3
#include <Eigen/Dense>
using vec3 = Eigen::Vector3d;
#else
#error
#endif
using namespace irc;
TEST_CASE("Test atom and periodic table lookup functions", "[atom]") {
using namespace atom;
SECTION("invalid atom") {
CHECK_THROWS_AS(Atom<vec3>{AtomicNumber{0}}, std::logic_err... | {
"content_hash": "195b0e934414fa673a4ed154c3ab657e",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 79,
"avg_line_length": 32.47560975609756,
"alnum_prop": 0.5993240705970709,
"repo_name": "RMeli/irc",
"id": "7d988fd88bc1872c959fe070a329380bfea7ff27",
"size": "2827",
"b... |
<!DOCTYPE html>
<html>
<head>
<title>backbone-partialput.js</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<link rel="stylesheet" media="all" href="... | {
"content_hash": "5d57959a76c81bed85ed0cc76ed65312",
"timestamp": "",
"source": "github",
"line_count": 637,
"max_line_length": 305,
"avg_line_length": 41.97959183673469,
"alnum_prop": 0.517632100519801,
"repo_name": "effektif/backbone-partialput",
"id": "582daff058dbc201a6e5232d81ad92c67f885879",
... |
package nl.xillio.xill.plugins.web.constructs;
import com.google.inject.Inject;
import nl.xillio.xill.api.components.MetaExpression;
import nl.xillio.xill.api.construct.Argument;
import nl.xillio.xill.api.construct.ConstructContext;
import nl.xillio.xill.api.construct.ConstructProcessor;
import nl.xillio.xill... | {
"content_hash": "0b8d7e62d5ccc3c686480c848e8dac03",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 169,
"avg_line_length": 42.17142857142857,
"alnum_prop": 0.6842818428184282,
"repo_name": "XillioQA/xill-platform-3.4",
"id": "83121adfc738c7cded97211f5ac4e38a6875a26c",
"s... |
package zyu19.libs.action.chain;
import zyu19.libs.action.chain.config.*;
/**
* I have created a Factory for TActionChain for you.
* @author Zhongzhi Yu
* Created by Zhongzhi Yu on 3/4/16.
*/
public class TActionChainFactory {
final ThreadPolicy threadPolicy;
public TActionChainFactory(ThreadPolicy thread... | {
"content_hash": "c50e506ca2ee09af422a85efc7a0be49",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 120,
"avg_line_length": 31.06896551724138,
"alnum_prop": 0.7003329633740288,
"repo_name": "C4Phone/ActionChain",
"id": "04790404bc650cd20455479ef964bdbc0ff1fecf",
"size": "... |
package monitoring
import (
"fmt"
"path/filepath"
"time"
"github.com/openshift/library-go/pkg/operator/v1helpers"
"github.com/golang/glog"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/informers"
"k8s.io/client-go/kubern... | {
"content_hash": "541d97abdf22f09a8e8799e62fb0917c",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 146,
"avg_line_length": 33.21105527638191,
"alnum_prop": 0.76395823876532,
"repo_name": "linzhaoming/origin",
"id": "4b87f1912b4ca2eb5f3f4747912cce301989497e",
"size": "66... |
layout: post
title: "dydhtcyfdad pwo jtmhscvwd"
date: 2016-12-05 15:39:40
description: "A sample description describing this bland and lifeless randomly generated post"
img:
wide: /images/wide.png
square: /images/square.png
tags:
---
Bavaria ipsum dolor sit amet g’hupft wia gsprunga wolln dringma aweng oba Biaz... | {
"content_hash": "c811ed15c33884ed64107ed6f117211f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 246,
"avg_line_length": 48.8,
"alnum_prop": 0.7745901639344263,
"repo_name": "spencerflem/spencerflem.github.io",
"id": "7ca346997cc5790ce81fff8460db9795d47b4f31",
"size": ... |
layout: global
title: Ensembles - RDD-based API
displayTitle: Ensembles - RDD-based API
license: |
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 ... | {
"content_hash": "ef81b326ff5e86db738dbdb3345f71ed",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 341,
"avg_line_length": 56.56953642384106,
"alnum_prop": 0.7799695621634277,
"repo_name": "caneGuy/spark",
"id": "6149f458214e68df5428ef55ca9e5adb058a7650",
"size": "17088... |
package com.streamsets.pipeline.stage.processor.aggregation.aggregator;
import com.google.common.collect.ImmutableMap;
import com.streamsets.pipeline.stage.processor.aggregation.WindowType;
import org.junit.Assert;
import org.junit.Test;
import java.util.Collections;
public class TestGroupByAggregator {
@Test
... | {
"content_hash": "5e688f47d87470908cfe1144a58b6730",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 121,
"avg_line_length": 38.79661016949152,
"alnum_prop": 0.7483617300131061,
"repo_name": "streamsets/datacollector",
"id": "504a8162b208cd29101a616f0d14826b6239fc57",
"siz... |
package org.apache.flink.connector.file.sink.utils;
import org.apache.flink.api.common.serialization.Encoder;
import org.apache.flink.core.io.SimpleVersionedSerializer;
import org.apache.flink.streaming.api.functions.sink.filesystem.BucketAssigner;
import org.apache.flink.streaming.api.functions.sink.filesystem.buck... | {
"content_hash": "468aa854cc676c546633b007ecfaef37",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 130,
"avg_line_length": 33.28225806451613,
"alnum_prop": 0.7249818269929731,
"repo_name": "greghogan/flink",
"id": "a0dab464d4ea5fda5bcf1635d3d449190488765c",
"size": "493... |
"""
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_loseConnection} to
test that ITransport.loseConnection() works for process transports.
"""
from __future__ import absolute_import, division
import sys
from twisted.internet.error import ConnectionDone
from twisted.i... | {
"content_hash": "93b0a05b2d67dcc2a021cb6ded4bc784",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 78,
"avg_line_length": 30,
"alnum_prop": 0.6659420289855073,
"repo_name": "ntuecon/server",
"id": "008cff6e74279a329c463dbc1d8b6b4638815081",
"size": "1548",
"binary": fa... |
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.mi... | {
"content_hash": "0928f3874c392d11e184ca9ebe994f31",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 162,
"avg_line_length": 31.70124481327801,
"alnum_prop": 0.5660994764397905,
"repo_name": "Anushi/inhousemenu",
"id": "00dff2ebfc199b2a104a6c522e65a8f4ebdfec7b",
"size": "... |
FROM buildpack-deps:bionic-scm
MAINTAINER Apache Thrift <dev@thrift.apache.org>
ENV DEBIAN_FRONTEND noninteractive
### Add apt repos
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y --no-install-recommends \
apt \
apt-transport-https \
apt-utils \
curl \
di... | {
"content_hash": "bb399de4fce3e25e55b6a5e92499e43a",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 217,
"avg_line_length": 31.928301886792454,
"alnum_prop": 0.6447228459992909,
"repo_name": "eamosov/thrift",
"id": "2c0609e23cc6209183c0f2c4db9558f78dc72730",
"size": "910... |
package tracer
import (
"io"
"log"
jaeger "github.com/uber/jaeger-client-go"
jaegercfg "github.com/uber/jaeger-client-go/config"
)
// Tracing makes the bridge between the OpenTracing implementation and Qaclana components
type Tracing struct {
config *jaegercfg.Configuration
closer io.Closer
}
// NewTracing cr... | {
"content_hash": "86dbf5dbf5c12cbda64df3af66386c10",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 89,
"avg_line_length": 22.612244897959183,
"alnum_prop": 0.7292418772563177,
"repo_name": "qaclana/qaclana",
"id": "774b926d18e87d4273f5506c11c3f78655ffd828",
"size": "1705... |
/* This software is released under the MIT License, see LICENSE */
#pragma once
#include <pebble.h>
#include "../modules/config.h"
void panel_hands_create(GRect bounds, const Config *config);
void panel_hands_destroy(void);
void panel_hands_reconfigure(void);
void panel_hands_draw(GContext *context, struct tm *local... | {
"content_hash": "8d99c1446c3edc833d6742be4bba97e5",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 77,
"avg_line_length": 31,
"alnum_prop": 0.7536656891495601,
"repo_name": "iso2022jp/pebble-ingress-one",
"id": "6e3e18b28f8ed3099d600c7af8500e194fb1ed25",
"size": "341",
... |
Assignment 3
============
Problem 1
---------
The goal of this exercise is to compare clustering coefficient and the
length of shorthest path of Watts-Strogatz model with Erdos-Renyi model.
To do so, we will create multiple instances of Watts-Strogatz model with
:math:`N=100` vertices and different values for :math:`... | {
"content_hash": "28bf2b8f49c3dd108ea7b2ebf08b4e39",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 114,
"avg_line_length": 28.68032786885246,
"alnum_prop": 0.6427550728779652,
"repo_name": "vladan-jovicic/ComplexNetworks",
"id": "610a767b519acfff8bd461458cddc6f5c6e54781",... |
/* tslint:disable:forin */
// #docregion
import { Component, DoCheck, Input, OnChanges, SimpleChange, ViewChild } from '@angular/core';
class Hero {
constructor(public name: string) {}
}
@Component({
selector: 'do-check',
template: `
<div class="hero">
<p>{{hero.name}} can {{power}}</p>
<h4>-- Change... | {
"content_hash": "00efd997215a95922487c8abeeb7391d",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 106,
"avg_line_length": 27.42452830188679,
"alnum_prop": 0.6174750601995184,
"repo_name": "Adam-Meisen/angular.io",
"id": "64b998c25a76ee5f8b92b991e3fdd3621a2b4f84",
"size... |
<?php
/**
* File was created 08.02.2016 22:31
*
* @author Karsten J. Gerber <kontakt@karsten-gerber.de>
*/
namespace PeekAndPoke\Component\Psi\Psi\Str;
use PeekAndPoke\Component\Psi\Stubs\UnitTestToString;
use PeekAndPoke\Types\GenericHolder;
use PHPUnit\Framework\TestCase;
/**
* @author Karsten J. Gerber <kont... | {
"content_hash": "fd250fb7de7ab0424b4f798b6155290c",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 102,
"avg_line_length": 27.145454545454545,
"alnum_prop": 0.5552578700602813,
"repo_name": "PeekAndPoke/psi",
"id": "669fe505e4c79137ac557925cf416a8d8c1e8949",
"size": "29... |
<?php
use Doctrine\Common\Annotations\AnnotationRegistry;
call_user_func(function() {
if ( ! is_file($autoloadFile = __DIR__.'/../vendor/autoload.php')) {
throw new \RuntimeException('Did not find vendor/autoload.php. Did you run "composer install --dev"?');
}
$loader = require $autoloadFile;
... | {
"content_hash": "e6eefab2ca3dec155b8c5c13469dc1cc",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 148,
"avg_line_length": 39,
"alnum_prop": 0.694017094017094,
"repo_name": "ekyna/Characteristics",
"id": "940a917e944f23a67fe04a52616d8caf6e6fb7aa",
"size": "585",
"binar... |
var Stories = require('./gen/stories');
/* jshint ignore:start */
var util = require('util');
/**
* Returns the compact records for all stories on the task.
* @param {String} task Globally unique identifier for the task.
* @param {Object} [params] Parameters for the request
* @param {Object} [dispatchOptions] Opti... | {
"content_hash": "218f22b7090e7586711b6d85cc959d4c",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 99,
"avg_line_length": 34.41414141414141,
"alnum_prop": 0.7126504255943645,
"repo_name": "Asana/node-asana",
"id": "195a41ff4d3fb356fbd716adca527bf1c67306e4",
"size": "3407... |
/*
* Written for the Pkcs11Interop project by:
* Jaroslav IMRICH <jimrich@jimrich.sk>
*/
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Net.Pkcs11Interop.Common
{
/// <summary>
/// Utility class that helps to manage unmanaged dynamic libraries
/// </summary>
publ... | {
"content_hash": "7ec6802c4c0e714b5a5077342275a4e5",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 179,
"avg_line_length": 43.66101694915254,
"alnum_prop": 0.542184265010352,
"repo_name": "thearkhelist/Pkcs11Interop",
"id": "555720fa6f0e1f6b09254ecb433010ec8bfb7aab",
"s... |
package org.vaadin.mvpcalculator.ui;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.vaadin.mvpcalculator.common.framework.mvp.MVPDiscoveryNavigator;
import org.vaadin.mvpcalculator.ui.main.presenter.CalculatorPresenter;
import org.vaadin.mvpcalculator.u... | {
"content_hash": "51cd989ee5f502c65da220551941bf44",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 103,
"avg_line_length": 35.4390243902439,
"alnum_prop": 0.8079834824501032,
"repo_name": "rajeeshk/mvpcalculator",
"id": "589848b3405528cafd810ceccb5dfc93a4364ed0",
"size":... |
"""
Copyright 2011 Jeff Garzik
AuthServiceProxy has the following improvements over python-jsonrpc's
ServiceProxy class:
- HTTP connections persist for the life of the AuthServiceProxy object
(if server supports HTTP/1.1)
- sends protocol 'version', per JSON-RPC 1.1
- sends proper, incrementing 'id'
... | {
"content_hash": "03c75cbca2f28e0904a0a74a78da54ea",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 105,
"avg_line_length": 37.303225806451614,
"alnum_prop": 0.589069526115531,
"repo_name": "moneta-develop/moneta",
"id": "37d59aab1c05efa2b89e6f601beb86102fac49f4",
"size"... |
/**
* TODO: description
* @module index
*/
'use strict';
// jshint proto:true
var createCollectionMiddlewareClass = require('./lib/middleware-class-factories/collection');
var createInstanceMiddlewareClass = require('./lib/middleware-class-factories/instance');
var createModelMiddlewareClass = require('./lib/middle... | {
"content_hash": "0b9da6ccb4e9826ca56bb09c6f9bdbdd",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 100,
"avg_line_length": 30.160714285714285,
"alnum_prop": 0.6950858496151568,
"repo_name": "tjmehta/mongooseware",
"id": "9b6af06d17e9944e69b78302d0994aa500cc1028",
"size"... |
<?php
namespace Whizark\DesignPatterns\GoF\Structural\Adapter\ClassAdapter;
/**
* Class Adaptee
* @package Whizark\DesignPatterns\GoF\Structural\Adapter\ClassAdapter
*/
class Adaptee
{
/**
* Do something.
*/
public function adapteeMethod()
{
// Do something.
}
}
| {
"content_hash": "689c7a1a21b8c907e9f4eb99be0155ec",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 70,
"avg_line_length": 17.705882352941178,
"alnum_prop": 0.6578073089700996,
"repo_name": "dez-php/php-patterns",
"id": "3d7c34d6b448c55061faef313aeb4f015894b70d",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,user-scalable=no" />
<title>Document</title>
<script type="text/javascript">
(function(){
setRem();
window.addEventListener('orientation' in window?"deviceorientation":"resize",setRem);
function setRem(){... | {
"content_hash": "dca0ba489d69923b2fe35395d4bc3ff8",
"timestamp": "",
"source": "github",
"line_count": 514,
"max_line_length": 150,
"avg_line_length": 23.367704280155642,
"alnum_prop": 0.6365831321288818,
"repo_name": "zxchcyc/workplaces",
"id": "4107450a509d428dfc34356f39da4c2da8eef584",
"size": ... |
'''
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
Each number in C may only be used once in the combination.
Note:
All numbers (including target) will be positive integers.
Elements in a combination (a1, a2, … , ak) must b... | {
"content_hash": "39e03eb6539ea78f24eb463dd042c3e9",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 141,
"avg_line_length": 32.68,
"alnum_prop": 0.5636474908200735,
"repo_name": "gavinfish/leetcode-share",
"id": "24101fcbee7dd5f5af277493ff7534cebbec653b",
"size": "1644",
... |
#import "AKLevelMeter.h"
#import "AKPlotView.h"
@implementation AKLevelMeter {
NSUInteger _numLights;
CGFloat _level, _peakLevel;
// LevelMeterColorThreshold *_colorThresholds;
NSUInteger _numColorThresholds;
BOOL _vertical;
BOOL _variableLightIntensity;
AKColor ... | {
"content_hash": "0a29b90228eef5b3069d2dd300012f37",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 86,
"avg_line_length": 24.015384615384615,
"alnum_prop": 0.6344223788169977,
"repo_name": "dclelland/HOWL",
"id": "4400fdadae7e6b14ab41bbeafce0dd066b67f1c8",
"size": "7134... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.