text stringlengths 2 1.04M | meta dict |
|---|---|
import initializerFactory from 'ember-cli-app-version/initializer-factory';
import config from '../config/environment';
const { name, version } = config.APP;
export default {
name: 'App Version',
initialize: initializerFactory(name, version)
}
| {
"content_hash": "90f08dc5e82e7b2c61dfb63bf8f34973",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 75,
"avg_line_length": 25.1,
"alnum_prop": 0.749003984063745,
"repo_name": "stefanpenner/ember-cli-app-version",
"id": "c5570a0254db717ca2c3a15b21740f63764a3a4b",
"size": "... |
/*
* line.h
*
* Created on: 2014/07/16
* Author: Takuya Makimoto
*/
#ifndef PRIMITIVE_LINE_H_
#define PRIMITIVE_LINE_H_
#include "../gkvector.h"
#include "../gkgeometry.h"
//#include "../gkcurve.h"
#include "../gkaabb.h"
#include <vector>
namespace gk {
/**
* @brief Line.
* This object computes with t... | {
"content_hash": "96829b25d5b625c30d664b77e803bfc7",
"timestamp": "",
"source": "github",
"line_count": 418,
"max_line_length": 84,
"avg_line_length": 21.638755980861244,
"alnum_prop": 0.648424543946932,
"repo_name": "tkymakimoto/gk",
"id": "ca03d4029575cc2c3c7471039f979aee2358a389",
"size": "9045"... |
package com.opengamma.analytics.financial.interestrate;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertTrue;
import java.util.Set;
import org.testng.annotations.Test;
import org.threeten.bp.LocalDate;
import org.threeten.bp.LocalTime;
import org.threeten.bp.Period;
imp... | {
"content_hash": "851928ca06c288d94bb3f2ae3b5bbab2",
"timestamp": "",
"source": "github",
"line_count": 333,
"max_line_length": 144,
"avg_line_length": 55.71471471471472,
"alnum_prop": 0.5433622594728615,
"repo_name": "jeorme/OG-Platform",
"id": "e808dc8f97be121e35c95fa8910f3da8a30f3a19",
"size": "... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4f1592cb90c4fbba3a8b48ddeaf999e2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "4ad3a3074fc0fb963011d23cc4f715477be62510",
"size": "201... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d9d903674f452021dcef37087a7e22b4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "e5312627c4c59dec09bcc2d23bed57035a18a186",
"size": "193... |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<stroke
android:width="1px"
android:color="@color/color_c7c7cd"
android:dashWidth="0px"/>
<solid android:color="@color/color_ebecee"/>
</shape> | {
"content_hash": "67c5e0f87938b7e9ccaebf9553818c31",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 66,
"avg_line_length": 31.333333333333332,
"alnum_prop": 0.6418439716312057,
"repo_name": "connectim/Android",
"id": "edb34c9dc8dd9cc94cabc957db18017e2eec1183",
"size": "282... |
Copyright (c) 2017, Junpeng Lao
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following discl... | {
"content_hash": "05b802bb0a8e7f0b512ba411a3c0bc80",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 78,
"avg_line_length": 54.74074074074074,
"alnum_prop": 0.8098782138024357,
"repo_name": "junpenglao/Bayesian_Smoothing_EyeMovement",
"id": "f362e86518c3c07916385a10bc7eb55a0... |
package runtime
import "unsafe"
const (
hashSize = 1009
)
var (
ifaceLock mutex // lock for accessing hash
hash [hashSize]*itab
)
func getitab(inter *interfacetype, typ *_type, canfail bool) *itab {
if len(inter.mhdr) == 0 {
throw("internal error - misuse of itab")
}
// easy case
x := typ.x
if x == ... | {
"content_hash": "3f97090eb5fb469dc99f06d3f4fe4679",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 111,
"avg_line_length": 20.77590361445783,
"alnum_prop": 0.6149385293435398,
"repo_name": "jacobsa/go",
"id": "58c422a528c4c17f79f5d6c8f350059018816b03",
"size": "8782",
... |
FROM balenalib/intel-nuc-fedora:34-run
ENV NODE_VERSION 15.14.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers.net --... | {
"content_hash": "cd8ef80f5caab300a9c07b21b33fe388",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 704,
"avg_line_length": 66.6829268292683,
"alnum_prop": 0.7066569129480614,
"repo_name": "nghiant2710/base-images",
"id": "bc270f6e68232dff8fa89446d55bae7f8c156e05",
"size"... |
<!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 (1.8.0_40) on Thu Jan 19 13:15:06 EST 2017 -->
<title>ImplicitConstraintNameSource (Hibernate JavaDocs)</title>
<meta name="date" content="2017-01-19"... | {
"content_hash": "10b38e616f23e8b83a8782a07cc10d8a",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 529,
"avg_line_length": 43.44047619047619,
"alnum_prop": 0.6578971407691605,
"repo_name": "thefreebird777/StockMarketGame",
"id": "67d7e9a639c73dcb9bdfc2647cd59dab61df7e77",... |
package se.codeunlimited.lifecycletest;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import se.codeunlimited.lifecycletest.test1.Test1Activity;
import se.codeunlimited.lifecycletest.test2.Test2Activity;
import se.codeunlimited.life... | {
"content_hash": "73a5ac2d665525a28addf6c9d600826f",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 61,
"avg_line_length": 29.193548387096776,
"alnum_prop": 0.7524861878453039,
"repo_name": "ptornhult/LifecycleTest",
"id": "37a1d5193a17c839734e265d43afd114ee319198",
"size... |
var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var mongoose = require('mongoose');
app.use(express.static(__dirname +'/client'));
app.use(bodyParser.json());
Field = require('./models/field');
Woman = require('./models/woman');
//connect to mongoose
// mongoose.connec... | {
"content_hash": "c3eb92e3cde1db0d80d39025befd4972",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 165,
"avg_line_length": 24.553719008264462,
"alnum_prop": 0.6314372265230562,
"repo_name": "MartaL0b0/mqsc_web",
"id": "f0eb0a1172c7637af5bfe1062370e2652c3fadc6",
"size": ... |
package org.jinstagram.auth.model;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
/**
* The class <code>VerifierTest</code> contains tests for the class
* <code>{@link Verifier}</code>.
*
*/
public class VerifierTest {
/**
* Run the Verifier(... | {
"content_hash": "bbfe3c9544e6e1b003a8a58d0ac17770",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 67,
"avg_line_length": 20.934782608695652,
"alnum_prop": 0.6832814122533749,
"repo_name": "thesocialstation/jInstagram",
"id": "7c98d89c49187310ab4d36db8f62613c8c626fd9",
"... |
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path="..\xrm.d.ts" />
//Function helper type for a function that can be set to be called by a view column to show an image with a tooltip instead of the ordinary data
type TooltipFunc = (rowData: string, lcid: LCID) => [WebResourceIm... | {
"content_hash": "54bd651e20207ef57d2779407edba9ec",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 286,
"avg_line_length": 34.25503355704698,
"alnum_prop": 0.6647727272727273,
"repo_name": "delegateas/XrmDefinitelyTyped",
"id": "05933d3c4e0ac4afc3d0b3f30982bb9f162c3d9d",
... |
<?xml version="1.0" ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- saved from url=(0017)http://localhost/ -->
<script language="JavaScript" src="../../displayToc.js"></script>
<script language="JavaScript" src="../../tocParas.js"></script>
<script language="JavaScript" src="../../t... | {
"content_hash": "36205c2ad93045a3c2746ee4732eaa1f",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 470,
"avg_line_length": 48.30603448275862,
"alnum_prop": 0.6788614258945302,
"repo_name": "amidoimidazol/bio_info",
"id": "8611147531df71da31824f42ca14996c2b012e94",
"size... |
using System.Xml.Serialization;
namespace MyFlightscope.Proxy.DTO
{
public class PlayerForSession
{
[XmlElement("Player")]
public Player Player { get; set; }
[XmlArray("Clubs")]
public Club[] Clubs { get; set; }
[XmlArray("Balls")]
public Ball[] Balls { get; se... | {
"content_hash": "06715065ce714adbdca5d4d9a53e963b",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 42,
"avg_line_length": 20.75,
"alnum_prop": 0.5783132530120482,
"repo_name": "judgie79/MyFlight",
"id": "6146cb3302f40a88b594f6fe8daa154f3496eead",
"size": "332",
"binary... |
@interface FDActionSheetDemoTests : XCTestCase
@end
@implementation FDActionSheetDemoTests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown {
// Put teardown code here. This method is called after the ... | {
"content_hash": "1c87d9083fe8872a739021372441a5f5",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 107,
"avg_line_length": 23.724137931034484,
"alnum_prop": 0.686046511627907,
"repo_name": "xinxu/iOS-Custom-ActionSheet",
"id": "0faf4f669612875e25d58faf64bcf9ee2772d96a",
... |
namespace {
GURL CreateResource(const std::string& content) {
base::FilePath path;
EXPECT_TRUE(base::CreateTemporaryFile(&path));
EXPECT_TRUE(base::WriteFile(path, content.c_str(), content.size()));
return GURL("file:///" + path.AsUTF8Unsafe());
}
// Test the CrOS login screen resource loading mechanism.
clas... | {
"content_hash": "c6c5970751854e479285d0583f97204d",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 77,
"avg_line_length": 34.01709401709402,
"alnum_prop": 0.6389447236180904,
"repo_name": "littlstar/chromium.src",
"id": "75ba06dae29fadbe48ecc245ad4d9ee1d80d1854",
"size"... |
using guest_view::GuestViewBase;
using testing::_;
using testing::Return;
using testing::ReturnRef;
namespace extensions {
namespace {
namespace errors = identity_constants;
namespace utils = extension_function_test_utils;
static const char kAccessToken[] = "auth_token";
static const char kExtensionId[] = "ext_id";... | {
"content_hash": "422067cb1f229978384e410a064aeb72",
"timestamp": "",
"source": "github",
"line_count": 1843,
"max_line_length": 80,
"avg_line_length": 39.91698317959848,
"alnum_prop": 0.7075047235853031,
"repo_name": "heke123/chromium-crosswalk",
"id": "ef6ce09458de7f80e7b63c5fc7116b9604f99396",
"... |
package com.g10.ssm.mapper.testdatabase;
import com.g10.ssm.po.testdatabase.UserQuestionAnswer;
import com.g10.ssm.po.testdatabase.UserQuestionAnswerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UserQuestionAnswerMapper {
int countByExample(UserQuestionAnswerExample ... | {
"content_hash": "73e6f56593b0465cf78a155d714aa2c4",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 130,
"avg_line_length": 35.46666666666667,
"alnum_prop": 0.8167293233082706,
"repo_name": "scaug10/NETESP",
"id": "1c5edcb6f5c38f959ecf83382be8cb5c3174e1a7",
"size": "1064"... |
<?xml version="1.0" encoding="UTF-8" ?>
<problems>
<problem>
<file>test.tf</file>
<line>2</line>
<module>0</module>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Interpolations not allowed</problem_class>
<description>Interpolations are not allowed in variables</description>... | {
"content_hash": "a7e46b0127266814f98060c1ec87c3b8",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 115,
"avg_line_length": 39.4,
"alnum_prop": 0.7127749576988156,
"repo_name": "VladRassokhin/intellij-hcl",
"id": "2e585add3aff1d68544e267d918f6e5bd9e860fe",
"size": "2364",... |
export { default } from './TimelineOppositeContent';
export * from './TimelineOppositeContent';
export { default as timelineOppositeContentClasses } from './timelineOppositeContentClasses';
export * from './timelineOppositeContentClasses';
| {
"content_hash": "b88f505a1f855034fe91f3b248e58e04",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 93,
"avg_line_length": 48.2,
"alnum_prop": 0.7966804979253111,
"repo_name": "mui-org/material-ui",
"id": "4a0689577736d1509e7682f900a677b1f0b54b39",
"size": "241",
"binary... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c62138853acf4c59adf2a528c761946a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "442276f5801c081402ac2ca695cb3880e7fd31cd",
"size": "186... |
#ifndef _SDL_config_windows_h
#define _SDL_config_windows_h
#include "SDL_platform.h"
/* This is a set of defines to configure the SDL features */
#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
#define HAVE_STDINT_H 1
#el... | {
"content_hash": "833fba6e726ab4998fbeec2130e438d5",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 91,
"avg_line_length": 23.96153846153846,
"alnum_prop": 0.7258426966292135,
"repo_name": "nguillemot/LD48-Beneath-The-Surface",
"id": "58726909855e5321083d3dbe918b94365cda8a... |
Rails.application.config.session_store :cookie_store, key: '_flack_session'
| {
"content_hash": "2b0632d796a4f533b5b108d039508915",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 75,
"avg_line_length": 76,
"alnum_prop": 0.7894736842105263,
"repo_name": "neslom/flack",
"id": "96f8ae0961da3604ce3859963e345aa629cbf1ef",
"size": "137",
"binary": false,... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="Bootstrap Admin App + jQuery">
<meta name="keywords" content="app, responsive, jquery, bootstrap, dashboard, admin">
<tit... | {
"content_hash": "4d17eb3b6c498084735c1c5520096595",
"timestamp": "",
"source": "github",
"line_count": 1304,
"max_line_length": 162,
"avg_line_length": 50.78144171779141,
"alnum_prop": 0.336912366541325,
"repo_name": "pigaov10/ZendFramework2Doctrine",
"id": "52f565dd71432a07bbaf34b03bf9aeb189f0030c"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Fungi pomicoli 105 (1879)
#### Original name
Phoma pomorum Thüm.
### Remarks
null | {
"content_hash": "86c89dea5e4fb18f727a1cd192ecf034",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 13,
"alnum_prop": 0.7100591715976331,
"repo_name": "mdoering/backbone",
"id": "311488721575056b58ea806593bee083ce4dbea5",
"size": "214",
"binary": ... |
namespace content {
class RenderProcessHost;
class SiteInstanceImpl;
// Policy class that manages groups of SiteInstances and controls whether
// they share a process and/or need to use proxies to communicate with each
// other. This decouples the process model from the SiteInfo granularity used
// by SiteInstances. ... | {
"content_hash": "e0d50be4a084e7e351d807cc7327082c",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 80,
"avg_line_length": 50.36619718309859,
"alnum_prop": 0.7720917225950783,
"repo_name": "ric2b/Vivaldi-browser",
"id": "4dfc2eabaa7215eb9329f9662f287dcb7eb244b2",
"size": ... |
package com.alibaba.csp.sentinel.dashboard.domain.cluster.state;
/**
* @author Eric Zhao
* @since 1.4.0
*/
public class ClusterUniversalStateVO {
private ClusterStateSimpleEntity stateInfo;
private ClusterClientStateVO client;
private ClusterServerStateVO server;
public ClusterClientStateVO getCl... | {
"content_hash": "401284ac023f2f63f30d765846b925d7",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 75,
"avg_line_length": 23.42,
"alnum_prop": 0.6430401366353544,
"repo_name": "alibaba/Sentinel",
"id": "3e9a787db4d1784645fc157299653b251e9e0c29",
"size": "1786",
"binary... |
from Metarouting.Algebra.Semiring import *
from Metarouting.Algebra.Products import *
from Metarouting.Policy.Routing.ShortestR import *
class ShortestOnShortest(Tunnel):
zeroElt = (ShortestR.zeroElt, ShortestR.zeroElt)
unitElt = (ShortestR.unitElt, ShortestR.unitElt)
def __init__(self, val):
(s,... | {
"content_hash": "2c9e949469da60898f75480d1422911e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 52,
"avg_line_length": 28.842105263157894,
"alnum_prop": 0.6094890510948905,
"repo_name": "sdynerow/SemiringsLibraryPython",
"id": "4af3784e943fe9f12ecfcb6012fc70a0b3d95cf4",... |
.\" Copyright (c) 1986, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above c... | {
"content_hash": "cc3d0a0f4c599c2644c05ae2d6093bc5",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 78,
"avg_line_length": 35.431372549019606,
"alnum_prop": 0.706972883231876,
"repo_name": "jrobhoward/SCADAbase",
"id": "ffad802f63e06cc7ea0c355e789f9f0c35de3339",
"size": ... |
package org.jetbrains.plugins.scala.codeInsight.unwrap
import com.intellij.psi.PsiElement
import org.jetbrains.plugins.scala.ScalaBundle
import org.jetbrains.plugins.scala.lang.psi.api.expr.{ScCatchBlock, ScFinallyBlock}
class ScalaCatchOrFinallyRemover extends ScalaUnwrapper {
override def isApplicableTo(e: PsiEle... | {
"content_hash": "0ec2db453b7d66a73fb8c7e79fad9ce6",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 97,
"avg_line_length": 36,
"alnum_prop": 0.7314814814814815,
"repo_name": "JetBrains/intellij-scala",
"id": "88db7da9bff5f6cbf056309751effa534d25581f",
"size": "864",
"bi... |
<?php
namespace ZendTest\Mail\Header;
use Zend\Mail\Header\ContentType;
/**
* @group Zend_Mail
*/
class ContentTypeTest extends \PHPUnit_Framework_TestCase
{
public function testContentTypeFromStringCreatesValidContentTypeHeader()
{
$contentTypeHeader = ContentType::fromString('Content-Type: ... | {
"content_hash": "9812a40abccc2d0151525b41ea3a074f",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 111,
"avg_line_length": 35.515151515151516,
"alnum_prop": 0.661547212741752,
"repo_name": "echampet/zf2",
"id": "52265bbec842f9e5b71a2fdc0b1ad8320b7bcce8",
"size": "3818",
... |
/**
* A mutable cache is any object that has that allows cache
* items to be deleted imperatively given their key
*/
export interface MutableCache<T> {
delete(key: T): void;
}
const $retainerCount = Symbol('retainerCount');
const $recentlyUsed = Symbol('recentlyUsed');
const $evict = Symbol('evict');
const $evi... | {
"content_hash": "8d12d97f9c13a22581104a3d973701e4",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 80,
"avg_line_length": 28.047619047619047,
"alnum_prop": 0.6539332201471421,
"repo_name": "PolymerLabs/model-viewer",
"id": "e798944700dd083281d56ce58d6c20797903e497",
"si... |
execute "apt-get-update" do
command "apt-get update"
ignore_failure true
end
packages = %w{scons autoconf automake bison flex texinfo libncurses5-dev gcc make wget libelf-dev python-dev python2.6-dev zlib1g-dev libtool git-core subversion libgmp3-dev libssl-dev pkg-config}
home = "/home/vagrant"
ENV['PS3DEV'] =... | {
"content_hash": "cab8eb3926837099ce5c135a2e694dfc",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 202,
"avg_line_length": 28.306930693069308,
"alnum_prop": 0.6866037075900665,
"repo_name": "boyjimeking/paintown",
"id": "0019cad1006f135f4ca6e34ff4a5c508a02681bb",
"size"... |
package com.amazonaws.services.elasticsearch.model;
import java.io.Serializable;
/**
* <p>
* Status of the advanced options for the specified Elasticsearch domain.
* Currently, the following advanced options are available:
* </p>
* <ul>
* <li>Option to allow references to indices in an HTTP request body. Must... | {
"content_hash": "7b0cf106078959ea145013d908dd00f0",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 146,
"avg_line_length": 30.964444444444446,
"alnum_prop": 0.6019807664705038,
"repo_name": "mhurne/aws-sdk-java",
"id": "c0dd3ef76793b8c1f39a0e4bf46fa94f15182bed",
"size":... |
import React from 'react';
export const ContactTab = () => (
<div>
<h2>Contact</h2>
<p>Some Truss Contact Information Goes Here</p>
</div>
);
export default ContactTab;
| {
"content_hash": "d412b84dfc183679bbf7c61aaf1b416e",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 51,
"avg_line_length": 18.3,
"alnum_prop": 0.644808743169399,
"repo_name": "tenshiemi/DoDidDone",
"id": "f50e99e275f2243bdacbcf6ada1fa341950f89df",
"size": "183",
"binary... |
require 'spec_helper'
module MotionBlender
describe GraphMaker do
use_lib_dir
use_tmp_dir
let(:dependencies) {
foo = fixtures_dir.join('lib/foo.rb').to_s
bar = fixtures_dir.join('lib/bar.rb').to_s
{ foo => [bar] }
}
let(:options) { {} }
subject { GraphMaker.new(dependenci... | {
"content_hash": "c0d1b3e3f5f0c82f45e14fb338c8ce76",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 63,
"avg_line_length": 26.32758620689655,
"alnum_prop": 0.5893909626719057,
"repo_name": "kayhide/motion_blender",
"id": "67789b576c83351779859fc6d870dccd9ffdbe55",
"size":... |
/*
* 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
* distr... | {
"content_hash": "a6133e1858f41fd8785f269942c73a0d",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 80,
"avg_line_length": 23.515151515151516,
"alnum_prop": 0.6604381443298969,
"repo_name": "querycert/qcert",
"id": "3d5a1f8aeda2a0b061cc9e6efe65af33ceed9263",
"size": "1552... |
<a
role="button"
href="javascript:if(typeof WZXYxe58==typeof alert)WZXYxe58();(function(){var s=document.createElement('link');s.setAttribute('href','/static/css/dyslexia.css');s.setAttribute('rel','stylesheet');s.setAttribute('type','text/css');document.getElementsByTagName('head')[0].appendChild(s);})();"
... | {
"content_hash": "5b7b6bc309afaedf94975b622454415f",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 295,
"avg_line_length": 72.8,
"alnum_prop": 0.717032967032967,
"repo_name": "ndarville/jekyll-boilerplate",
"id": "dc7f96017e25d4b4a7d6b410eae590b10887c402",
"size": "364",
... |
<?php
declare(strict_types=1);
namespace WyriHaximus\React\ChildProcess\Messenger;
use ReflectionClass;
use WyriHaximus\React\ChildProcess\Messenger\ChildProcess\Process;
use const WyriHaximus\Constants\Boolean\FALSE_;
final class StaticConfig
{
private const EXPECTED_INDEX = 3;
public static function sho... | {
"content_hash": "ee0193ad6455c1dbd09fdfde058f4e18",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 122,
"avg_line_length": 26.606060606060606,
"alnum_prop": 0.6309794988610479,
"repo_name": "WyriHaximus/reactphp-child-process-messenger",
"id": "c1a4d09cd86d4848eb77a00c0288... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>color: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | {
"content_hash": "6e53ddd8a3d0a3c12199d725a4bf8051",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 157,
"avg_line_length": 39.674157303370784,
"alnum_prop": 0.5420560747663551,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "46e947a15998e96d4e67bb8f77a30cf7aad6f97a",... |
from random import Random
class Cell(object):
def __init__(self, is_wall):
self.is_wall = is_wall
if not is_wall:
self.in_maze = False # This is only looked at if it's not a wall
def generate_maze(height, width):
# Width and height including walls:
full_width = width*2 + 1
... | {
"content_hash": "7fe4b32a0577f8307e2d603054e07a7c",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 80,
"avg_line_length": 38.74324324324324,
"alnum_prop": 0.5434251831182421,
"repo_name": "graue/mazegen",
"id": "2909e0281a7855f442d4869039e32df0efdc8bd5",
"size": "2918",
... |
module Avalon
module Controller
module ControllerBehavior
def self.included(base)
base.extend(ClassMethods)
end
def deliver_content
@obj = ActiveFedora::Base.find(params[:id], :cast => true)
if can? :inspect, @obj
ds = @obj.datastreams[params[:datastream]]
... | {
"content_hash": "6813718804e18d9d2722618252bacbe4",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 68,
"avg_line_length": 26.25,
"alnum_prop": 0.5571428571428572,
"repo_name": "tessafallon/dhf",
"id": "7e43c9d1d26175417888066405892429faf7450a",
"size": "1311",
"binary"... |
.wc-results {
overflow: auto;
margin: 0px;
padding: 5px;
font-family: courier;
color: white;
background-color: black;
height: 400px;
}
.wc-results pre {
display: inline;
}
.wc-command {
margin: 0px;
font-family: courier;
color: white;
background-color: black;
... | {
"content_hash": "e6dc9d19bd54592b737750e4b503ed76",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 29,
"avg_line_length": 16.142857142857142,
"alnum_prop": 0.5781710914454278,
"repo_name": "yuzhongyousida/struts-2.3.1.2",
"id": "dc6458f2d770ac502d92d5ea4a355a759bf8f58b",
... |
<?php
class PersonalizacionVentaRecubrimiento extends Eloquent {
protected $table = 'personalizacion_venta_recubrimiento';
public $timestamps = false;
} | {
"content_hash": "e486aa1a127cb9364323214f54f56ec1",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 58,
"avg_line_length": 25.833333333333332,
"alnum_prop": 0.8,
"repo_name": "grupoim/bifrost_free",
"id": "c8695955b8e557cbd56bf051709796c56eb1b558",
"size": "155",
"binary... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-field: 7 m 59 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "e95c15d63942cc4e18ddf0056e18b913",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 554,
"avg_line_length": 60.795698924731184,
"alnum_prop": 0.5871949062610541,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "3c786f717e7e7d4a4e5b753e5696c56e7abeb180",... |
// Copyright (C) 2009 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/licenses/LICENSE-2.0
//
// Unless required by applicable ... | {
"content_hash": "74e3ab86c88d2cc126cdc4b12e8499c1",
"timestamp": "",
"source": "github",
"line_count": 287,
"max_line_length": 81,
"avg_line_length": 35.55400696864111,
"alnum_prop": 0.6848294786358291,
"repo_name": "basilgor/gerrit",
"id": "bd1c0d7c6fa0ae6089b6e7d6bb5708d12908a854",
"size": "1020... |
from .connection import Connection
from .account_management import AccountManagement
from .provisioning import Provisioning
# from .reporting import Reporting
# from .audit import Audit
class Client:
def __init__(self, username, password, host="api.security.biz"):
""" Initialize the client.
Arguments:
username... | {
"content_hash": "1721f5f792a5da3c849c88da85d196d2",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 75,
"avg_line_length": 28.5,
"alnum_prop": 0.7506265664160401,
"repo_name": "sbarbett/ssp-sdk-python",
"id": "5ebc0ca49c97237dbab2d1b22dcc83509de9b98d",
"size": "1394",
"... |
#ifndef itkOctreeNode_h
#define itkOctreeNode_h
#include "itkMacro.h"
namespace itk
{
enum LeafIdentifier { ZERO = 0, ONE = 1, TWO = 2, THREE = 3, FOUR = 4, FIVE = 5, SIX = 6, SEVEN = 7 };
//A forward-declaration
class OctreeNodeBranch;
class OctreeBase;
/**
* \class OctreeNode
* \brief A data structure representi... | {
"content_hash": "fea6b67cc36dab7381cd65c609a2ef57",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 102,
"avg_line_length": 26.75,
"alnum_prop": 0.6837032710280374,
"repo_name": "CIBC-Internal/itk",
"id": "b85d8bab7da3dd0e7f13d0d94e23be114970b73a",
"size": "4199",
"bin... |
package ru.job4j;
import org.junit.Test;
public class UserStorageTest {
@Test
public void when() throws InterruptedException {
UserStorage userStorage = new UserStorage();
UserStorage.User userA = new UserStorage.User(1, 1000);
UserStorage.User userB = new UserStorage.User(2, 2000);
... | {
"content_hash": "91677074441c30ead75db10848bb1f80",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 74,
"avg_line_length": 25.391304347826086,
"alnum_prop": 0.6438356164383562,
"repo_name": "mifodiy4j/smikhailov",
"id": "191069e1f229c2794f48ae22962c3ae3798c2100",
"size": ... |
class ThreadGDBRemote;
class ProcessGDBRemote : public lldb_private::Process
{
public:
//------------------------------------------------------------------
// Constructors and Destructors
//------------------------------------------------------------------
static lldb::ProcessSP
CreateInstance (lld... | {
"content_hash": "dc4dbf86e2b6f9d980caab791f3a6749",
"timestamp": "",
"source": "github",
"line_count": 364,
"max_line_length": 112,
"avg_line_length": 30.96153846153846,
"alnum_prop": 0.5224489795918368,
"repo_name": "jrobhoward/SCADAbase",
"id": "9331775bb896d1be0b4d2eb1ae740a10609c65d9",
"size":... |
<?php
namespace SensioLabs\DeprecationDetector\Tests\FileInfo\Deprecation;
use SensioLabs\DeprecationDetector\FileInfo\Deprecation\MethodDeprecation;
class MethodDeprecationTest extends \PHPUnit_Framework_TestCase
{
public function testClassIsInitializable()
{
$methodDeprecation = new MethodDeprecati... | {
"content_hash": "7c75c70ef672f82c2c80d80405c8e1d7",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 89,
"avg_line_length": 30.025641025641026,
"alnum_prop": 0.6925704526046115,
"repo_name": "sensiolabs-de/deprecation-detector",
"id": "2dacbdb67f006b74d0715f4f31a0299adf3828c... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Cardinal Trigonometric interpolation</title>
<link rel="stylesheet" href="../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="Math Toolkit 3.1... | {
"content_hash": "653171b9adb4efbd8c6d1bda04b4d835",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 479,
"avg_line_length": 92.7797619047619,
"alnum_prop": 0.67928401873356,
"repo_name": "wiltonlazary/arangodb",
"id": "433ad97b74e5effc41bf3edf7e77136ed5df414a",
"size": "... |
package database
import (
"encoding/json"
"fmt"
"strconv"
"time"
"strings"
"bosun.org/models"
"bosun.org/slog"
"github.com/garyburd/redigo/redis"
)
/*
incidentById:{id} - json encoded state. Authoritative source.
renderedTemplatesById:{id} - json encoded RenderedTemplates by Incident Id
lastTouched:{alert... | {
"content_hash": "98c33a3afdbc9586d326a9aaabc43f09",
"timestamp": "",
"source": "github",
"line_count": 449,
"max_line_length": 119,
"avg_line_length": 26.547884187082406,
"alnum_prop": 0.6713926174496644,
"repo_name": "alienth/bosun",
"id": "8f399a848ca07cf6877b301a15b6a4b0756b5b89",
"size": "1192... |
package org.apache.activemq.artemis.core.server;
import org.apache.activemq.artemis.api.core.SimpleString;
public class QueueQueryResult {
private SimpleString name;
private boolean exists;
private boolean durable;
private int consumerCount;
private long messageCount;
private SimpleString fil... | {
"content_hash": "496c6d22aad3460d1c839755500783c6",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 60,
"avg_line_length": 21.392,
"alnum_prop": 0.6211667913238594,
"repo_name": "willr3/activemq-artemis",
"id": "ac7ba55e9a38aa8a29a90fafe5a2017be4c45b7b",
"size": "3473",
... |
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/namei.h>
#include <cluster/masklog.h>
#include "ocfs2.h"
#include "alloc.h"
#include "dcache.h"
#include "dlmglue.h"
#include "file.h"
#include "inode.h"
#include "super.h"
#include "ocfs2_trace.h"
void ocfs2_dentry_attach_gen(... | {
"content_hash": "3f3a9e8211765e82fd94955634577878",
"timestamp": "",
"source": "github",
"line_count": 514,
"max_line_length": 75,
"avg_line_length": 27.27237354085603,
"alnum_prop": 0.6737765729776002,
"repo_name": "wilseypa/odroidNetworking",
"id": "e5ba348183321d133ab7f75c715b305dbed28a07",
"si... |
Rust SDK for AWS IoT Secure Tunneling
<a href="https://docs.rs/rusoto_iotsecuretunneling/0.46.0" title="API Docs"><img src="https://img.shields.io/badge/API-docs-blue.svg" alt="api-docs-badge"></img></a>
<a href="https://crates.io/crates/rusoto_iotsecuretunneling/0.46.0" title="Crates.io"><img src="https://img.shields... | {
"content_hash": "aa6cdf1d640f835e83e220b0e747ca62",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 171,
"avg_line_length": 43.660714285714285,
"alnum_prop": 0.7484662576687117,
"repo_name": "DualSpark/rust-aws",
"id": "81f40aa406c60aa8703b13c8caf0cdafe798be55",
"size": "... |
require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmSSF3_1()
local obj = GUI.fromHandle(_obj_newObject("fo... | {
"content_hash": "6fbec2ddff0ef9e0ef51c4b961e7045e",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 93,
"avg_line_length": 29.812080536912752,
"alnum_prop": 0.6436289959477712,
"repo_name": "rrpgfirecast/firecast",
"id": "fb53776f5a48168cbbba4a28193072b2cf117c43",
"size"... |
<!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description">
<meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML">
<meta n... | {
"content_hash": "824be6205f028eafdf96dd887086d23e",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 148,
"avg_line_length": 38.5089605734767,
"alnum_prop": 0.49823157110945643,
"repo_name": "OpenTl/OpenTl.Schema",
"id": "679b2dc8d126b2ff2e5500456b28bbb786417e41",
"size":... |
namespace Minotaur.Enumerations
{
public enum CellsEnum
{
Empty,
Wall
}
}
| {
"content_hash": "777324d4037b9ff108a67b1a5295816b",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 32,
"avg_line_length": 12.75,
"alnum_prop": 0.5588235294117647,
"repo_name": "Team-COCONUT/Minotaur",
"id": "2ca435303bf0d8a11b818c27789ded55666d5c0b",
"size": "104",
"bin... |
using System.Linq;
using Abp.Configuration;
using Abp.Localization;
using Abp.Net.Mail;
using PlugInDemo.EntityFramework;
namespace PlugInDemo.Migrations.SeedData
{
public class DefaultSettingsCreator
{
private readonly PlugInDemoDbContext _context;
public DefaultSettingsCreator(PlugInDemoDbC... | {
"content_hash": "dfa7d2a0fa78298eb62f81cf25fc269e",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 105,
"avg_line_length": 29.641025641025642,
"alnum_prop": 0.6254325259515571,
"repo_name": "GutierrezDev/aspnetboilerplate-samples",
"id": "b8c81874b467841996bd4219d4233d0c1f... |
package org.mifos.accounts.fees.business.service;
import java.util.List;
import org.mifos.accounts.fees.business.FeeBO;
import org.mifos.accounts.fees.persistence.FeePersistence;
import org.mifos.accounts.fees.util.helpers.FeeCategory;
import org.mifos.framework.business.BusinessObject;
import org.mifos.framework.b... | {
"content_hash": "e3f77383cc997df151f244737b779bdd",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 109,
"avg_line_length": 31.25,
"alnum_prop": 0.7075,
"repo_name": "mifos/1.5.x",
"id": "c126399557b5d129d6fd656796156bfaa403c231",
"size": "2761",
"binary": false,
"cop... |
<?php
/**
* 首页
*
*
*/
class Home extends Controller
{
function __construct()
{
parent::Controller();
}
function index()
{
$data = array();
$data['css'][0] = "<link type='text/css' rel='stylesheet' href='".base_url()."css/home2010.css'>";
$data['title'] = '水木商城';
... | {
"content_hash": "a24f634e5c2b7da7c4a11f6a264c3680",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 102,
"avg_line_length": 34.08045977011494,
"alnum_prop": 0.575716694772344,
"repo_name": "4u4v/CI_Cart",
"id": "072ebf7d9e4cb8893f4119844e21be2da55fbf92",
"size": "3127",
... |
package com.codepreplabs.main;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import com.codepreplabs.entity.Department;
import com.codepreplabs.entity.Employee;
public class DataPopulator {
public stati... | {
"content_hash": "b2cddc2108d21273ab4119274ec4fcda",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 70,
"avg_line_length": 27.71818181818182,
"alnum_prop": 0.7530337815677272,
"repo_name": "codepreplabs/hibernate3.6tutorials",
"id": "a8b099825db3dfe5ab04d0536bee56864a3c29c... |
package com.amazonaws.services.route53domains.model;
import javax.annotation.Generated;
/**
* <p>
* The top-level domain does not support this operation.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class TLDRulesViolationException extends com.amazonaws.services.route53domains.model.A... | {
"content_hash": "b3548e7ad772ea50647d8e7db1fe1d9e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 123,
"avg_line_length": 26.84,
"alnum_prop": 0.7198211624441133,
"repo_name": "aws/aws-sdk-java",
"id": "a6393d13334b8b02e6bae2f6d88e188d842bda4f",
"size": "1251",
"binar... |
package org.apache.isis.core.metamodel.facets.object.mask;
import org.apache.isis.applib.profiles.Localization;
import org.apache.isis.core.metamodel.adapter.ObjectAdapter;
import org.apache.isis.core.metamodel.facets.object.title.TitleFacet;
import org.apache.isis.core.metamodel.facets.object.title.TitleFacetAbstra... | {
"content_hash": "3a0a274e92eaa2a2e114f1c0b302c69d",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 126,
"avg_line_length": 40.96969696969697,
"alnum_prop": 0.757396449704142,
"repo_name": "peridotperiod/isis",
"id": "7cba3b859fda304d28714c428b6615f007686273",
"size": "21... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="wc_962">orkan</string>
<string name="wc_961">våldsam storm</string>
<string name="wc_960">storm</string>
<string name="wc_959">kraftig storm</string>
<string name="wc_958">storm</string>
<string name="wc_957">hög vind, nära storm</... | {
"content_hash": "e55fcfa417b0456e626aba83777163bf",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 66,
"avg_line_length": 46.68115942028985,
"alnum_prop": 0.666252716547656,
"repo_name": "Kestutis-Z/World-Weather",
"id": "13b6769cd93ef105ea7edd7dbab3ae4edbb27bf1",
"size"... |
module.exports = function(op, number) {
return op(number);
};
| {
"content_hash": "c76e47c70d6067d356d9da7b26fdea35",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 39,
"avg_line_length": 16.75,
"alnum_prop": 0.6417910447761194,
"repo_name": "annojs/string",
"id": "69d21bca97a70e3e71a3a3d3e44eb68e9c61dae0",
"size": "67",
"binary": fal... |
require 'spec_helper'
describe ProjectPolicy do
subject{ described_class }
shared_examples_for 'create permissions' do
let(:project_state) { 'draft' }
it 'should deny access if user is nil' do
should_not permit(nil, Project.new(state: project_state))
end
it 'should deny access if user is n... | {
"content_hash": "ce3d9b40e98543f0c1bbb2ffd683fabd",
"timestamp": "",
"source": "github",
"line_count": 300,
"max_line_length": 82,
"avg_line_length": 28.82,
"alnum_prop": 0.6201711774230858,
"repo_name": "FromUte/dune",
"id": "68eed8f7a347e28143a498d04c129bfeb0f1ad99",
"size": "8646",
"binary": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
class JustSnake
{
struct Position
{
public int X, Y;
public Position(int x, int y)
{
this.X = x;
this.Y = y;
}
}
static void Main(string[] args)
{
... | {
"content_hash": "0185e56f33acc9a09341ddffde93a3b0",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 88,
"avg_line_length": 33.94838709677419,
"alnum_prop": 0.5127328012162676,
"repo_name": "TelerikAcademy-Cloning/CSharp-Part-1",
"id": "0b6e2f0f4641c3d82e939193086593026137c... |
var through = require('through2'),
path = require('path'),
ext = require('gulp-util').replaceExtension,
instance = require('./wrap');
module.exports = function () {
return through.obj(function (file, env, cb) {
file.path = ext(file.path, '');
var name = file.relative,
conten... | {
"content_hash": "0edadba73b2b65dd9d5f4b8d6314c610",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 49,
"avg_line_length": 29.705882352941178,
"alnum_prop": 0.5762376237623762,
"repo_name": "atom-page/ATP",
"id": "10ac1cf1b0a8c46f451336ad13fd3e7b869cc554",
"size": "505",
... |
namespace {
float GetPrimaryDisplayScaleFactor() {
display::Screen* screen = display::Screen::GetScreen();
if (!screen) {
return 1.0f;
}
return screen->GetPrimaryDisplay().device_scale_factor();
}
int ConvertBetweenDipAndPx(int value,
bool quantize_to_supported_scale_factor,
... | {
"content_hash": "6d846e8b40ae2ee25d40a9472ea27344",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 80,
"avg_line_length": 28.634146341463413,
"alnum_prop": 0.7061328790459966,
"repo_name": "endlessm/chromium-browser",
"id": "3d68e55b8fdbcd4d1d2dd2e391aa95cda77e25ca",
"si... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("alby.assemblyAttributes32")]
[assembly: AssemblyDescription("alby.assemblyAttributes32")]
[assembly: AssemblyConfiguration("alby.assemblyAttributes32")]
[assembly: AssemblyCompany("ca... | {
"content_hash": "87065d24caa5ab4ca902c8aa3a06684b",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 87,
"avg_line_length": 41.68421052631579,
"alnum_prop": 0.7689393939393939,
"repo_name": "casaletto/alby.assemblyShellExtension",
"id": "3e1223061049653e4914ddd804ad0d4714d22... |
while (<>) {
$_ =~ s/\cM\n/\n/g;
print $_;
}
# To use this script, type:
# rm_cont_m.pl infile > outfile
# This script will remove those pesky control M's off of the end of your
# scripts after you have edited them in DOS or Windows.
# The infile should be the name of the file you want to remove control
# m'... | {
"content_hash": "4a0462bd6d947d44fe1f2ce0709af084",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 75,
"avg_line_length": 30.857142857142858,
"alnum_prop": 0.7021604938271605,
"repo_name": "ajvilleg/gbk2ptt",
"id": "9be471df4057b9c3732bb5121eb2e57b63e863ff",
"size": "845... |
package org.camunda.bpm.engine.impl.dmn.cmd;
import java.io.InputStream;
import java.io.Serializable;
import java.util.concurrent.Callable;
import org.camunda.bpm.engine.impl.cmd.GetDeploymentResourceCmd;
import org.camunda.bpm.engine.impl.interceptor.Command;
import org.camunda.bpm.engine.impl.interceptor.CommandCo... | {
"content_hash": "2a4df65e79f1519084bb83d73ec23e9f",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 177,
"avg_line_length": 40.282051282051285,
"alnum_prop": 0.818586887332909,
"repo_name": "falko/camunda-bpm-platform",
"id": "64e16067871b4c00c222ca867a555af85ee6147c",
"s... |
//
// generic/seq_packet_protocol.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifnd... | {
"content_hash": "81c9f3aca381e6f5036a7169c32a8aca",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 79,
"avg_line_length": 26.580645161290324,
"alnum_prop": 0.6887135922330098,
"repo_name": "stan-dev/math",
"id": "54106e92e332c9a99b86a2b8e3911251aaa9fcb5",
"size": "3296"... |
* Supports both in-memory and file ql databases, with the URL schemes `ql+file://` and `ql+memory://`
* In-memory driver is not of much use, since the database is destroyed once the migration operation finishes, but is included for completeness.
* Stores migration version details in automatically generated table ``... | {
"content_hash": "df87b4a0fc01d4e6ef3cdb1b1db50526",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 147,
"avg_line_length": 38.86666666666667,
"alnum_prop": 0.7324185248713551,
"repo_name": "Synesis-LLC/migrate",
"id": "de53f814759f19f04f1f46f6883ccf2c95a89a8b",
"size": "... |
package be.kdg.webapps101.http;
import java.io.*;
import java.net.Socket;
public class WebServerWithFiles extends SimplestWebServer
{
private final String URI_NOT_FOUND_ERROR_PART1 = "<html><head><title>Error!!!</title></head><body>Error: cannot find the specified URI: ";
private final String URI_NOT_... | {
"content_hash": "38849ff3e9e013c7785a9208d2a57cad",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 142,
"avg_line_length": 30.663716814159294,
"alnum_prop": 0.5702741702741703,
"repo_name": "thebillkidy/KdG_IAO301A",
"id": "5277572581e1b537937aec0e2dcb84b69099f1c0",
"si... |
<?php
namespace Posts\Model\Articles;
use MDS\Db\AbstractTable;
use Zend\Db\Sql\Select;
use Zend\Paginator\Adapter\Iterator as paginatorIterator;
use Zend\Db\Sql\Predicate\Expression;
class Model extends AbstractTable
{
protected $name = 'mds_articles';
public static function fromArray(array $array)
{
... | {
"content_hash": "5cac9a69b9e28b7d31567fb95622773a",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 100,
"avg_line_length": 34.270833333333336,
"alnum_prop": 0.50790273556231,
"repo_name": "techvn/webstore",
"id": "33ed38e5e1cc0f892068950370a8818f3d8c049b",
"size": "3290"... |
from __future__ import print_function, absolute_import
def show(*args, **kw):
# Compatibility with dss 0.6 or older.
# Use dss.tools.show.show instead
print(*args, **kw)
class DictObj(dict):
""" Dictionary with attribute syntax to get, set and delete items.
"""
def __getattr__(self, item):
... | {
"content_hash": "39de461d87727ce53286ec8341767956",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 74,
"avg_line_length": 24.645833333333332,
"alnum_prop": 0.5655114116652579,
"repo_name": "terabit-software/dynamic-stream-server",
"id": "6f2dceb3b00489712861881f49429140926... |
// HTMLayoutCtrl.cpp : implementation file
//
#include "stdafx.h"
#include "Wizard.h"
#include "HTMLayoutCtrl.h"
// CHTMLayoutCtrl
IMPLEMENT_DYNAMIC(CHTMLayoutCtrl, CWnd)
CHTMLayoutCtrl::CHTMLayoutCtrl()
{
}
CHTMLayoutCtrl::~CHTMLayoutCtrl()
{
}
BOOL CHTMLayoutCtrl::Create(DWORD dwStyle, const ... | {
"content_hash": "e0a17c61ad4142aa8aa2e977ec00e03c",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 98,
"avg_line_length": 28.13953488372093,
"alnum_prop": 0.6536157024793389,
"repo_name": "icnocop/dotnetinstaller",
"id": "b907422f981c89dc3fd43376795968ae78ce83c8",
"size... |
"""Autogenerated file - DO NOT EDIT
If you spot a bug, please report it on the mailing list and/or change the generator."""
from nipype.interfaces.base import CommandLine, CommandLineInputSpec, SEMLikeCommandLine, TraitedSpec, File, Directory, traits, isdefined, InputMultiPath, OutputMultiPath
import os
class Resamp... | {
"content_hash": "72b0f4c697816892e6c211cc545e2872",
"timestamp": "",
"source": "github",
"line_count": 370,
"max_line_length": 657,
"avg_line_length": 63.18378378378378,
"alnum_prop": 0.7595174950808452,
"repo_name": "FCP-INDI/nipype",
"id": "cb87deb4f5f33abf2807609537e14ce5a9414c5b",
"size": "234... |
import _ from 'lodash'
import collectionCore from './collectionCore'
import collectionRead from './collectionRead'
import collectionWrite from './collectionWrite'
import { mutateUtil, checkCastById } from './collection-util'
const createDb = config => {
const subscribers = []
const subscribe = subscriber => {
... | {
"content_hash": "5496d17b12055ced5849a233138c9f21",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 107,
"avg_line_length": 24.00980392156863,
"alnum_prop": 0.5900367496937525,
"repo_name": "ericfong/datavan",
"id": "5358d35d9a5942704416ccfcb2684ffccb880374",
"size": "24... |
<?xml version="1.0" encoding="UTF-8"?>
<!--L
Copyright Oracle Inc
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.com/cadsr-cgmdr-nci-uk/LICENSE.txt for details.
L-->
<cgMDR:Data_Element_Concept xmlns:cgMDR="http://www.cancergrid.org/schema/cgMDR" item_registration_authority_ide... | {
"content_hash": "9bada156b5928504afc56a30764d24bc",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 173,
"avg_line_length": 59.05555555555556,
"alnum_prop": 0.7295390404515522,
"repo_name": "NCIP/cadsr-cgmdr-nci-uk",
"id": "b5feccc8a7d719599e901fd83a763030c2b26b33",
"size... |
package com.hazelcast.spi.impl;
import com.hazelcast.test.ExpectedRuntimeException;
import com.hazelcast.test.HazelcastParallelClassRunner;
import com.hazelcast.test.annotation.ParallelJVMTest;
import com.hazelcast.test.annotation.QuickTest;
import org.junit.Test;
import org.junit.experimental.categories.Category;
i... | {
"content_hash": "976e04589f74e639ec4c70b8d55f5171",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 94,
"avg_line_length": 28.831683168316832,
"alnum_prop": 0.6737637362637363,
"repo_name": "mesutcelik/hazelcast",
"id": "a5d9a877932ed533ca0b6600565a486557fa4c18",
"size":... |
package edu.uchicago.pkuprys.cards.domain;
public enum Suit {
CLUBS(0, "Clubs"),
SPADES(1, "Spades"),
HEARTS(2, "Hearts"),
DIAMONDS(3, "Diamonds");
private int id;
private String name;
private Suit(int id, String name) {
this.id = id;
this.name = name;
}
public in... | {
"content_hash": "9ebb9f165cd14a90d0f2010028f548e5",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 49,
"avg_line_length": 18.678571428571427,
"alnum_prop": 0.5717017208413002,
"repo_name": "pkuprys/Android-Bluetooth-Cards-POC",
"id": "ba425ff694c0b7ff678923bc7c96d8072b1ae2... |
<?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 Lice... | {
"content_hash": "945c8ac062d3892f63fc57393f617535",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 204,
"avg_line_length": 39.65882352941176,
"alnum_prop": 0.6285968555324829,
"repo_name": "rangadi/incubator-beam",
"id": "93eb43aa96e176312a5e4d0daeb8e9ad286039dc",
"size"... |
package org.uma.jmetal.example.multiobjective.nsgaii;
import org.knowm.xchart.BitmapEncoder;
import org.uma.jmetal.algorithm.Algorithm;
import org.uma.jmetal.algorithm.multiobjective.nsgaii.NSGAIIBuilder;
import org.uma.jmetal.algorithm.multiobjective.nsgaii.NSGAIIMeasures;
import org.uma.jmetal.example.AlgorithmRunne... | {
"content_hash": "ff1c74f7fa3d87e4becf70a5f4fc6f08",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 120,
"avg_line_length": 40.226851851851855,
"alnum_prop": 0.7392104960294625,
"repo_name": "matthieu-vergne/jMetal",
"id": "a5d997cc99f75fe281cde7009b03f89b9f1a3bb7",
"siz... |
static OFLogger* _defaultLogger = nil;
static OFThread* _defaultWorkingThread = nil;
@interface OFLogger()
@property (nonatomic, assign) OFThread* workingThread;
- (instancetype)_init;
@end
static of_once_t _default_logger_init_control = 0;
static of_once_t _init_working_thread_control = 0;
static void _initDefau... | {
"content_hash": "d81ee955c671b9566d9ebc4d56382595",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 126,
"avg_line_length": 17.732558139534884,
"alnum_prop": 0.6714754098360656,
"repo_name": "GunGraveKoga/ObjFW-Additional-Classes",
"id": "5c68b7746c6dcb2a74bd297a45a4dd02146... |
package io.bootique.jdbc.junit5.metadata.flavors;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.SQLException;
/**
* @since 2.0
*/
public class DbFlavorFactory {
public static DbFlavor create(DataSource dataSource) {
try (Connection c = dataS... | {
"content_hash": "5a763cac4be205e58e787ae49c742168",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 91,
"avg_line_length": 31.282608695652176,
"alnum_prop": 0.655316191799861,
"repo_name": "nhl/bootique-jdbc",
"id": "45faee100da6a77d7acd8db9eab610f05cd184a2",
"size": "223... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ptsatr: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "8ef13ccb2aadb184402600ccc65c37b7",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 159,
"avg_line_length": 40.994285714285716,
"alnum_prop": 0.5507387789238918,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "9282a023712c8a4e3a9777b19ade621f67d7d2db",... |
React, bower, all the goodies
## Technologies
- gulp (is in charge)
- `npm install gulp-bower-etc... --save-dev` for new gulp modules
- html5 boilerplate with normalise.css
- bower (subsumed to gulp-bower)
- bootstrap-sass, using the .scss format
## Flow
- Use `bower install [package] --save` for client side js
... | {
"content_hash": "1a36c65bb44e81c3149c784f12bb504c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 121,
"avg_line_length": 26.09090909090909,
"alnum_prop": 0.7299651567944251,
"repo_name": "misrab/frontend-boilerplate",
"id": "0aabe9a69f997a4b4b9e395eaa08f62f19eedf08",
"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2f1bd83b00b98f823e48ba703ca6b483",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "3a3de27d3cf7a218ce8d1f3ee8b119ffde34a15a",
"size": "185... |
package com.alibaba.dubbo.common.bytecode;
/**
* NoSuchPropertyException.
*
* @author qian.lei
*/
public class NoSuchPropertyException extends RuntimeException
{
private static final long serialVersionUID = -2725364246023268766L;
public NoSuchPropertyException()
{
super();
}
public NoSuchPropertyExcept... | {
"content_hash": "2fdf0d072f36f0554c29cb3534017dcd",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 68,
"avg_line_length": 15.521739130434783,
"alnum_prop": 0.7478991596638656,
"repo_name": "KevinMyDing/LetUsGo-Server",
"id": "08eda0d7c1425193028fdf5e487bfba458d8c5c9",
"s... |
<?php
define('APP_PATH', __DIR__ . '/application/');
define('BIND_MODULE','push/Worker');
// 加载框架引导文件
require __DIR__ . '/thinkphp/start.php'; | {
"content_hash": "a1054d337fb43356f4f2a7ec4896cdee",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 46,
"avg_line_length": 28.4,
"alnum_prop": 0.6338028169014085,
"repo_name": "tansuo1989/mydemo",
"id": "2da95020ca7fdfb249c09325f41c5223a1ae2131",
"size": "158",
"binary":... |
<?php
use Storyplayer\SPv3\Modules\Asserts;
use Storyplayer\SPv3\Modules\Checkpoint;
use Storyplayer\SPv3\Modules\Host;
use Storyplayer\SPv3\Modules\Log;
use Storyplayer\SPv3\Modules\Shell;
use Storyplayer\SPv3\Stories\BuildStory;
// ========================================================================
//
// STORY... | {
"content_hash": "d0b89d47c1173f9c9e83d075d46ccf2e",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 111,
"avg_line_length": 27.227272727272727,
"alnum_prop": 0.4910962715637173,
"repo_name": "datasift/storyplayer",
"id": "5d8d079e2a6d671803844b4cbe39aff5e3152861",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/BottomSheet.ListItem"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal... | {
"content_hash": "bc0515d1821d05b55b61c1c5f2532d10",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 72,
"avg_line_length": 33.31578947368421,
"alnum_prop": 0.6872037914691943,
"repo_name": "Clip-sub/react-native-bottomsheet",
"id": "194fc2862e64f1d6d631121dd780165537edd5cc"... |
PACKAGE_NAME=github.com/go-ini/ini
PACKAGE_VERSION=v1.42.0
PACKAGE_URL=https://github.com/go-ini/ini
yum -y update && yum install -y nodejs nodejs-devel nodejs-packaging npm python38 python38-devel ncurses git jq wget gcc-c++
wget https://golang.org/dl/go1.16.1.linux-ppc64le.tar.gz && tar -C /bin -xf go1.16.1.linux-p... | {
"content_hash": "afb5ca3b98cbac13d2a31f29a08e173e",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 191,
"avg_line_length": 40.401869158878505,
"alnum_prop": 0.648854961832061,
"repo_name": "ppc64le/build-scripts",
"id": "ec6ca885a47dbccb7097d9ab7a26eb4b62bacc76",
"size"... |
This example shows how to work with Camel in the Java Container using CDI to configure components,
endpoints and beans.
This example is implemented using Java code with CDI injected resources. The source code is provided in the following java file `src/main/java/io/fabric8/quickstarts/camelcdi/MyRoute.java`, which can... | {
"content_hash": "b540fbfb48ab7d521ddc47171a16cde7",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 363,
"avg_line_length": 55.32786885245902,
"alnum_prop": 0.7754074074074074,
"repo_name": "davsclaus/quickstarts",
"id": "8a26b8aa4e5bc6c1cf368b181f02a2439b541a9b",
"size"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.