text stringlengths 2 1.04M | meta dict |
|---|---|
import declare from 'dojo/_base/declare';
import lang from 'dojo/_base/lang';
import _Module from './_Module';
import '../Models/QuotePerson/SData';
const __class = declare('crm.Integrations.BOE.Modules.QuotePersonModule', [_Module], {
init: function init() {
},
loadViews: function loadViews() {
},
loadCus... | {
"content_hash": "95926cb780bd05fd945dedc8453ad18d",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 86,
"avg_line_length": 25.3,
"alnum_prop": 0.7035573122529645,
"repo_name": "Saleslogix/argos-saleslogix",
"id": "1d3e370ca0a05f2ee10b7c4b1b1b918b977b6c82",
"size": "1090",... |
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html {
font-family: sans-serif, serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}... | {
"content_hash": "ca565cafbc95bd371049a9405a8a0b8c",
"timestamp": "",
"source": "github",
"line_count": 6526,
"max_line_length": 540,
"avg_line_length": 21.24410052099295,
"alnum_prop": 0.6516131824378422,
"repo_name": "mistermayo/designcodestrate.gy",
"id": "0554a416679d77fd2bc26f549a0d40b53f9b161b"... |
"""Base Driver for DataCore SANsymphony storage array."""
import math
import time
from oslo_config import cfg
from oslo_log import log as logging
from oslo_service import loopingcall
from oslo_utils import excutils
from oslo_utils import units
from cinder import context as cinder_context
from cinder import exception... | {
"content_hash": "bb1f684cd2020715b075105ef50d7d1d",
"timestamp": "",
"source": "github",
"line_count": 831,
"max_line_length": 79,
"avg_line_length": 42.253910950661854,
"alnum_prop": 0.5603053000313274,
"repo_name": "mahak/cinder",
"id": "0cb38b56a425b3b4233131100409b0f15e1cd24c",
"size": "35754"... |
===============
Output Adapters
===============
.. toctree::
:maxdepth: 1
create-an-output-adapter
Output format adapter
=====================
.. autofunction:: chatterbot.output.OutputAdapter
The output adapter allows the chat bot to return a response in
as a `Statement` object.
.. code-block:: python
... | {
"content_hash": "b9084c064f5f40267275586cdecb063f",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 103,
"avg_line_length": 25.663716814159294,
"alnum_prop": 0.6720689655172414,
"repo_name": "maclogan/VirtualPenPal",
"id": "b9a55d9360ff36cb13baa7d35048afd678592e71",
"siz... |
require 'pdf-reader'
require 'ndr_support/safe_file'
require_relative 'registry'
module NdrImport
# This is one of a collection of file handlers that deal with individual formats of data.
# They can be instantiated directly or via the factory method Registry.tables
module File
# This class is an AcroForm PDF... | {
"content_hash": "1012f999a66ec7064419c6b6684e8caa",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 91,
"avg_line_length": 28.642857142857142,
"alnum_prop": 0.6945137157107232,
"repo_name": "PublicHealthEngland/ndr_import",
"id": "ff8cf2b679bf8ddfeb75a86eefbd11b172567bf1",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "be8022e35da44a1aa45fe80f392fe81c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "ab400b4f31a34b33fd4f6a20d7d96fe90bbba0dd",
"size": "189... |
var fs = require('fs');
var classes = require('bespoke-classes');
var insertCss = require('insert-css');
module.exports = function() {
var css = fs.readFileSync(__dirname + '/tmp/theme.css', 'utf8');
insertCss(css, { prepend: true });
return function(deck) {
classes()(deck);
//wrap the slides in a... | {
"content_hash": "12b217764407b19d27efc79f4b4b4ceb",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 70,
"avg_line_length": 29.8,
"alnum_prop": 0.6828859060402684,
"repo_name": "tebbi/bespoke-theme-terminal",
"id": "4a00472c4a4822a892c6de6b43e140a1a27e9ea3",
"size": "596",... |
var _ = require('underscore');
module.exports = function () {
// You can use normal require here, cucumber is NOT run in a Meteor context (by design)
var url = require('url');
this.Given(/^I am an existing user$/, function () {
server.call('reset'); // server is a connection to the mirror
});
this.Whe... | {
"content_hash": "b3c4a9f773afa84845c721639dbf2e66",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 89,
"avg_line_length": 30.695652173913043,
"alnum_prop": 0.6416430594900849,
"repo_name": "ryanalane/evermorn",
"id": "692f97cc9bbf2c20fe8ec7685f45052bbca65ab8",
"size": "7... |
/*
* This code was generated by
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
*
* Twilio - Api
* Th... | {
"content_hash": "7d4632624e1f08b431d942b6440751f6",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 96,
"avg_line_length": 49.785714285714285,
"alnum_prop": 0.45121951219512196,
"repo_name": "twilio/twilio-go",
"id": "6f5ce0dab384bf4963ce35d35f16637f815ed086",
"size": "13... |
// -----------------------------------------------------------------------
// Licensed to The .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// -----------------------------------------------------------------------
using System.Buffers.Binary;
us... | {
"content_hash": "6f139001abc0ae8654770e1677fe465a",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 94,
"avg_line_length": 32.65384615384615,
"alnum_prop": 0.5535924617196702,
"repo_name": "SteveSyfuhs/Kerberos.NET",
"id": "9ff76731f1c0afde3879f263332220f8d50930d7",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ris.Client.Models;
using Req = Ris.Client.Messages.Request;
namespace Ris.Client
{
public class AbschnittParser
{
public static Req.NormabschnittSucheinschraenkung Parse(string von, string bis, AbschnittTypEnum... | {
"content_hash": "3ace5f778ed0c8cf78c515974fbb614b",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 115,
"avg_line_length": 30.142857142857142,
"alnum_prop": 0.47731888964116453,
"repo_name": "christophwille/winrt-ris",
"id": "8c6911842f6dec92ff527abb6292583215b5fa16",
"s... |
starstruct.elementconstant module
=================================
.. automodule:: starstruct.elementconstant
:members:
:undoc-members:
:show-inheritance:
| {
"content_hash": "f9ed1b124dd16e4b6ddd365a9636d207",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 42,
"avg_line_length": 24.142857142857142,
"alnum_prop": 0.591715976331361,
"repo_name": "sprout42/NamedStruct",
"id": "d7d40c18f6348a3fe7defd0aec2c3abef9a1c7f9",
"size": "1... |
package es.logongas.ix3.security.model;
import es.logongas.ix3.core.annotations.ValuesList;
import es.logongas.ix3.security.authorization.AuthorizationType;
import es.logongas.ix3.util.ScriptEvaluator;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
i... | {
"content_hash": "30a3081f733c627e586389a5d3f5889d",
"timestamp": "",
"source": "github",
"line_count": 443,
"max_line_length": 209,
"avg_line_length": 33.57336343115124,
"alnum_prop": 0.6127210381227728,
"repo_name": "ix3/ix3",
"id": "9e1ad1d8883e1b7b193f42f32a192938c68421d7",
"size": "15491",
"... |
using MatterHackers.DataConverters2D;
using MatterHackers.VectorMath;
using System.Collections.Generic;
namespace MatterHackers.DataConverters2D
{
public class CachedTesselator : VertexTesselatorAbstract
{
internal bool lastEdgeFlagSet = false;
public List<AddedVertex> VerticesCache = new List<AddedVer... | {
"content_hash": "6ebdba637fae502ff199b9e1d9abbd7c",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 73,
"avg_line_length": 18.827272727272728,
"alnum_prop": 0.6750362143891839,
"repo_name": "MatterHackers/agg-sharp",
"id": "3010681a34b501750030d13c1a32a86812762ade",
"siz... |
/*
* 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 distributed under t... | {
"content_hash": "60853efa27cf57b877cfdce45313895b",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 182,
"avg_line_length": 33.960396039603964,
"alnum_prop": 0.6921282798833819,
"repo_name": "googleapis/google-api-java-client-services",
"id": "05287dc4600439739271602551f4b... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/Jing/Projects/ReactNative/RNViewPager/Sample/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-pl/values-pl.xml -->
<eat-comment/>
<string msgid="4600421777120114993" name="abc_action_bar_... | {
"content_hash": "b603e3d1ae88061d60865c49afb1b70a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 188,
"avg_line_length": 95.17391304347827,
"alnum_prop": 0.7574234810415715,
"repo_name": "Right-Men/Ironman",
"id": "5653de196084361514558953e46cec0d4614513f",
"size": "22... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Net.Http;
using System.Net.Http.Headers;
using Xunit;
namespace Microsoft.AspNet.WebHooks.Extensions
{
public class HttpContentExtens... | {
"content_hash": "35c8d9328578b44de619163b59394d13",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 111,
"avg_line_length": 31.411392405063292,
"alnum_prop": 0.4477130767680838,
"repo_name": "garora/WebHooks",
"id": "64ae1ed2f40e951db67ea17fa8525f77904cb46e",
"size": "49... |
<!--Title:Configuring the Database Schema-->
By default, Marten will put all database schema objects into the main _public_ schema. If you want to override this behavior,
use the `StoreOptions.DocumentSchemaName` property when configuring your `IDocumentStore`:
<[sample:override_schema_per_table]>
As you can see, yo... | {
"content_hash": "0e7dce144ce0bef020739ee91a40b9f3",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 125,
"avg_line_length": 50.75,
"alnum_prop": 0.7955665024630542,
"repo_name": "JasperFx/Marten",
"id": "89d5cf17640f903cbeec066b263d59d5495a945a",
"size": "406",
"binary":... |
if [[ $PACKER_BUILD_NAME != vagrant* ]]; then
apt-get -y update
apt-get -y install lubuntu-desktop
# Customize the message of the day
echo 'Sugar 7 Development Environment (Desktop)' > /etc/motd
# Lets avoid prompting immediately for release upgrade, if users do this it will break stack config
sed -i "s/Promp... | {
"content_hash": "fb536bdce139ee1d4368418727db6f8c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 100,
"avg_line_length": 38.1,
"alnum_prop": 0.7296587926509186,
"repo_name": "mmarum-sugarcrm/sugar7-ready",
"id": "fb2eec95e606f71191030e7809aea5bdee49bdd8",
"size": "440"... |
@interface BasicViewController () {
GalleryCollectionViewLayout *_collectionViewLayout;
NSMutableArray *_expandingImages;
}
@end
@implementation BasicViewController
- (id)initImageUrls:(NSArray *)urls
{
self = [self initWithNibName:nil bundle:nil];
if (self) {
self.images = [urls mutable... | {
"content_hash": "0328915c779f064eb12cd0b05e960574",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 159,
"avg_line_length": 34.61616161616162,
"alnum_prop": 0.7058651882112635,
"repo_name": "Arthraim/OneDayTrialGallery",
"id": "7b31139b113d465f0af26ad8d0a838fb3ba15022",
"... |
export default function outputReducer(state) {
const { output, target } = state;
if (output) {
return {
chunkFilename: "[id].[hash:5]-[chunkhash:7].js",
devtoolModuleFilenameTemplate: "[absolute-resource-path]",
filename: "[name].js",
libraryTarget: target === "web" ? "var" : "commonjs2... | {
"content_hash": "d4de85ccaeac42587a05736e54e8da28",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 64,
"avg_line_length": 26.857142857142858,
"alnum_prop": 0.5851063829787234,
"repo_name": "ericclemmons/terse-webpack",
"id": "12f3c0b2591c13471a993ccda54e90944ac4ac03",
"s... |
/* Licensed under the Apache License, Version 20.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
* distribute... | {
"content_hash": "5968c20511b098a46e6849614e7e43fa",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 122,
"avg_line_length": 39.59375,
"alnum_prop": 0.7379636937647988,
"repo_name": "bentrm/camunda-bpm-platform",
"id": "20e490124533ecb30ab12536878871b0493fa325",
"size": "... |
<table flex="100" flex-gt-lg="100" flex-xl="100" flex-gt-md="100" layout-fill="">
<thead>
<tr>
<th class="md-text-cell" *ngFor="let header of headers" (click)="sortBy(header.name)">{{ header.label | translate }}</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let record of items; let e = even" [ngClass]... | {
"content_hash": "e0ddf268d48e8ed560c27d56aa0e874e",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 143,
"avg_line_length": 58.42307692307692,
"alnum_prop": 0.5845951283739302,
"repo_name": "jimmybillings/wazee",
"id": "a0cdec1a0d4d93fb5bf510f5021f35e3baac574c",
"size": "... |
<% include header.html %>
<!-- Login content here -->
<div data-role="page" id="page1">
<div data-role="header">
<h1><%= content %></h1>
</div>
<div role="main" class="ui-content">
<h3>How to make a REST call?</h3>
<p>In order to make a REST call to this API the following format must be followed: </p>
<bl... | {
"content_hash": "5c77712939667b97f4ab93be55495a42",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 134,
"avg_line_length": 36.208333333333336,
"alnum_prop": 0.6777905638665133,
"repo_name": "cyb3rick/mvc",
"id": "2cd757f5abfeff21859d598f63096507b3b11253",
"size": "869",
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Encog.Engine.Network.Activation
{
[TestClass]
public class TestActivationGaussian
{
[TestMethod]
public void TestGaussian()
{
var activation = new ActivationGaussian();
Assert.IsTrue(act... | {
"content_hash": "8f89a23dc020f05062df24cca409e638",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 64,
"avg_line_length": 25.916666666666668,
"alnum_prop": 0.5771704180064309,
"repo_name": "yonglehou/encog-dotnet-core",
"id": "529b6a8727c280792db763c2ef9be53a5f9824ec",
"... |
require_relative '../spec_helper'
describe Rhinestone::Cache do
let(:cache_backend) { Rhinestone::InMemoryCacheBackend.new }
let(:cache) { Rhinestone::Cache.new(cache_backend) }
let(:response) {
Rhinestone::Response.new(200, {'Content-Type' => 'application/json'}, 'some body')
}
it "stores response ser... | {
"content_hash": "566347d43cc320163dfb07042e03a72e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 86,
"avg_line_length": 29.24,
"alnum_prop": 0.6922024623803009,
"repo_name": "psyho/rhinestone",
"id": "67dcffa5651ff6b2503670e920005dd248a4c8ce",
"size": "731",
"binary"... |
#include "OutputStreamTest.h"
#include <decaf/io/OutputStream.h>
using namespace std;
using namespace decaf;
using namespace decaf::io;
using namespace decaf::lang::exceptions;
////////////////////////////////////////////////////////////////////////////////
namespace {
class MockOutputStream : public OutputSt... | {
"content_hash": "8e09dbf9886c1ed697edad78b6d38d1f",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 90,
"avg_line_length": 26.051724137931036,
"alnum_prop": 0.4884182660489742,
"repo_name": "apache/activemq-cpp",
"id": "5117cf3af5d49dc74c593f07021aca4ccb98fb16",
"size": "... |
<bill session="111" type="s" number="437" updated="2009-03-07T14:25:26-05:00">
<status><introduced date="1234501200" datetime="2009-02-13"/></status>
<introduced date="1234501200" datetime="2009-02-13"/>
<titles>
<title type="official" as="introduced">A bill to amend the Internal Revenue Code of 1986 to allow the... | {
"content_hash": "af38d82db72974b24b4e640be9e7f160",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 236,
"avg_line_length": 43.72222222222222,
"alnum_prop": 0.7229987293519695,
"repo_name": "hashrocket/localpolitics.in",
"id": "640c09bae5d262b1e15247bd94fd0e6716fb3747",
"... |
package com.senseidb.servlet;
import java.io.File;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import com.senseidb.conf.SenseiServerBuilder;
import com.senseidb.search.node.SenseiServer;
import com.senseidb.servlet.DefaultSenseiJSONServlet;
import c... | {
"content_hash": "d07a5315fff40e00b7afde0fefc73a10",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 134,
"avg_line_length": 30.18867924528302,
"alnum_prop": 0.73625,
"repo_name": "senseidb/sensei",
"id": "f9ce889f03cef671c2b1cf417716097e39a37a8e",
"size": "1600",
"binar... |
package com.countrygamer.arcanacraft.common
import com.countrygamer.cgo.common.lib.util.UtilRender
import com.countrygamer.cgo.wrapper.common.registries.OptionRegister
import cpw.mods.fml.relauncher.{Side, SideOnly}
import net.minecraft.client.gui.GuiScreen
import net.minecraft.util.ResourceLocation
/**
*
*
* @aut... | {
"content_hash": "8314a1191022f13d3fe8bc72878dea49",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 74,
"avg_line_length": 22.375,
"alnum_prop": 0.7695530726256983,
"repo_name": "TheTemportalist/ArcanaCraft",
"id": "7239a304074d32419e9f0d789b80cf57f6fecc00",
"size": "716"... |
package org.assertj.core.error;
/**
* Creates an error message indicating that an assertion that verifies that a {@link CharSequence} contains one or more
* whitespaces.
*/
public class ShouldContainOneOrMoreWhitespaces extends BasicErrorMessageFactory {
/**
* Creates a new <code>{@link ShouldContainOneOrMor... | {
"content_hash": "39fbd386e2c115d950aa86e319ef26d1",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 119,
"avg_line_length": 33.4,
"alnum_prop": 0.725748502994012,
"repo_name": "xasx/assertj-core",
"id": "3f6f81184db20bc9ee157c2db16eeba4da484b24",
"size": "1441",
"binary... |
#pragma once
#include <arrow/gpu/cuda_api.h>
#include <arrow-gpu-glib/cuda.h>
GArrowGPUCUDAContext *
garrow_gpu_cuda_context_new_raw(std::shared_ptr<arrow::gpu::CudaContext> *arrow_context);
std::shared_ptr<arrow::gpu::CudaContext>
garrow_gpu_cuda_context_get_raw(GArrowGPUCUDAContext *context);
GArrowGPUCUDAIPCMe... | {
"content_hash": "3992f067926e93f8146bf08a5d31c1d5",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 106,
"avg_line_length": 42.45945945945946,
"alnum_prop": 0.7982176957352005,
"repo_name": "dremio/arrow",
"id": "4b5b03c8b46085cbcb3c633a307b1c8dcbddbe17",
"size": "2378",
... |
<div class="commune_descr limited">
<p>
Noidans-le-Ferroux est
un village
géographiquement positionné dans le département de Haute-Saône en Franche-Comté. On dénombrait 594 habitants en 2008.</p>
<p>À coté de Noidans-le-Ferroux sont situées les villes de
<a href="{{VLROOT}}/immobilier/vy-le-ferroux_7058... | {
"content_hash": "33b34f902675f544beb742b3cfd0aa0b",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 255,
"avg_line_length": 89.6842105263158,
"alnum_prop": 0.7376760563380281,
"repo_name": "donaldinou/frontend",
"id": "6c76a6654d1e922e4bebf41046e1d929d82ea7a0",
"size": "1... |
Copyright (c) 2017, Zhibin Cheng
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 copyright notice, this
list of conditions and the following discl... | {
"content_hash": "6b0e92f9f73c83720e60043572540f17",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 79,
"avg_line_length": 58.54545454545455,
"alnum_prop": 0.8175465838509317,
"repo_name": "ZhibinCH/my3MW",
"id": "34937c6137d7553beea82a9df30a39cc97f251ea",
"size": "1288",... |
var fs = require('fs');
var async = require('async');
var my = require('./my');
var parse = require('./parse');
var eeprom = require('./eeprom');
var util = require('util');
var winston = require('winston');
var shell = require('shelljs');
var debug = process.env.DEBUG ? true : false;
if (debug) {
winston.remove(w... | {
"content_hash": "07a9d54e5ac2e073562fe8876b4f7585",
"timestamp": "",
"source": "github",
"line_count": 467,
"max_line_length": 148,
"avg_line_length": 38.683083511777305,
"alnum_prop": 0.5526709106006089,
"repo_name": "beagleboard/bonescript",
"id": "8222512f7019e96ee9c2ecdd7698054142b14293",
"siz... |
package madgik.exareme.worker.art.executionEngine.statusMgr;
import madgik.exareme.common.art.PlanSessionID;
import madgik.exareme.worker.art.executionEngine.session.ActiveExecutionPlan;
import madgik.exareme.worker.art.executionEngine.session.ConcreteOperatorStatus;
import madgik.exareme.worker.art.remote.RemoteObje... | {
"content_hash": "91d80a42c9c61b67521cf45b2703d2e4",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 95,
"avg_line_length": 35.142857142857146,
"alnum_prop": 0.7951219512195122,
"repo_name": "alexpap/exareme",
"id": "2d9550e4f3b21871b2851efd8bd951e14b254a5b",
"size": "1276... |
// Copyright (c) 2011-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_NODE_BLOCKSTORAGE_H
#define BITCOIN_NODE_BLOCKSTORAGE_H
#include <fs.h>
#include <protocol.h> // For CMessag... | {
"content_hash": "2b2c36dae5b334e8f68ea49cd9fef56b",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 145,
"avg_line_length": 41.785714285714285,
"alnum_prop": 0.7383394383394384,
"repo_name": "domob1812/namecore",
"id": "4d7e46d7adfbd11d99ad7f8cff62ee614070ab34",
"size": ... |
package org.facewindu.breastfeedingbuddy.view;
import org.facewindu.breastfeedingbuddy.model.Boob;
import org.facewindu.breastfeedingbuddy.model.FeedingList;
public class LeftBoobButton extends BoobButton {
public LeftBoobButton(FeedingList feedingList) {
super(Boob.LEFT, feedingList);
}
}
| {
"content_hash": "f37b1037b60a286a3aafff5aadb6c005",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 58,
"avg_line_length": 23.076923076923077,
"alnum_prop": 0.82,
"repo_name": "facewindu/BreastFeedingBuddyFX",
"id": "3f4560ad1079318ff641db1b9055b8b069b59bbb",
"size": "188... |
package com.kendelong.config;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
@Configuration
@ImportResource({"classpath:/META-INF/spring/application-context.xml", "classpath:/META-I... | {
"content_hash": "726e9e094bee5c0f13fbb88238591396",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 114,
"avg_line_length": 32.84615384615385,
"alnum_prop": 0.8313817330210773,
"repo_name": "kenwdelong/spring-project-skeleton",
"id": "d45d5f7d040c90ccf96ed56c9338f1764c6d2ec... |
This is the website for [field noise](http://fieldnoise.com). It's a [Jekyll site](http://jekyllrb.com) running the [Hyde theme](http://hyde.getpoole.com), with a little help from [jekyll-archives](https://github.com/jekyll/jekyll-archives) and [glynn](https://github.com/dmathieu/glynn).
## Questions and Comments
Feel... | {
"content_hash": "5bf85f12346d00c46366cc72276ed2a9",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 288,
"avg_line_length": 79.71428571428571,
"alnum_prop": 0.7544802867383512,
"repo_name": "craigeley/fieldnoise-site",
"id": "44fefd906cc6051bee4db0d5c6fcb1cef11ae04d",
"siz... |
package de.ronnyfriedland.knowledgebase.exception;
import org.junit.Assert;
import org.junit.Test;
/**
* @author rofr <Ronny.Friedland@t-systems.com>
*/
public class RepositoryExceptionTest {
@Test
public void test() {
RepositoryException ex = new RepositoryException(new RuntimeException());
... | {
"content_hash": "ad50dc81e988c11fd0a28890baae3b64",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 81,
"avg_line_length": 29.565217391304348,
"alnum_prop": 0.7073529411764706,
"repo_name": "ronnyfriedland/Knowledgebase-2.0",
"id": "68c2ef7c5c5020c987eddd2f9a94d72e9d7b2d8d"... |
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- Mirrored from seantheme.com/color-admin-v1.7/admin/html/page_with_light_sidebar.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 24 Apr 2015 11:01:38 GMT -->
<head>
<meta charset="ut... | {
"content_hash": "73b70c616e5b6d92c1d1eb777f086c95",
"timestamp": "",
"source": "github",
"line_count": 569,
"max_line_length": 229,
"avg_line_length": 47.63268892794376,
"alnum_prop": 0.5064015053684094,
"repo_name": "vsouto/clubebitcoin",
"id": "f691a4be8a14540125f86d5cdc0c6c870115be9c",
"size": ... |
package com.hazelcast.client.impl.protocol.codec;
import com.hazelcast.client.impl.protocol.ClientMessage;
import com.hazelcast.client.impl.protocol.Generated;
import com.hazelcast.client.impl.protocol.codec.builtin.*;
import com.hazelcast.client.impl.protocol.codec.custom.*;
import javax.annotation.Nullable;
impo... | {
"content_hash": "0e87774e5723f8f94a353704473a4148",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 188,
"avg_line_length": 46.69166666666667,
"alnum_prop": 0.7363912189898268,
"repo_name": "mesutcelik/hazelcast",
"id": "f3578986134832dcd9464b4cf20a07638fc40d98",
"size":... |
/*
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#ifndef __GTK_VBOX_H__
#define __GTK_VBOX_H__
#if !defined (__GTK_H_IN... | {
"content_hash": "42f75961143d66133a25b9b3e5861ef4",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 97,
"avg_line_length": 27.07843137254902,
"alnum_prop": 0.6727009413468501,
"repo_name": "neohung/smallgame",
"id": "e5d1727591735c3973949a97272671ea89935602",
"size": "215... |
import * as path from 'path';
const resourcesPath = path.join(__dirname, '..', '..', 'resources');
export const AddedIcon = {
light: path.join(resourcesPath, 'icons', 'light', 'status-added.svg'),
dark: path.join(resourcesPath, 'icons', 'dark', 'status-added.svg'),
};
export const RemovedIcon = {
light: p... | {
"content_hash": "963a0841b21073b0ef81f94394d6532c",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 77,
"avg_line_length": 41.65,
"alnum_prop": 0.6650660264105642,
"repo_name": "DonJayamanne/gitHistoryVSCode",
"id": "6994e2a8eb190d99096e0a19b438e96a7e5643b9",
"size": "833... |
//
// SPGooglePlacesPlaceDetailQuery.h
// SPGooglePlacesAutocomplete
//
// Created by Stephen Poletto on 7/18/12.
// Copyright (c) 2012 Stephen Poletto. All rights reserved.
//
#import "SPGooglePlacesAutocompleteUtilities.h"
@interface SPGooglePlacesPlaceDetailQuery : NSObject {
NSURLConnection *googleConnect... | {
"content_hash": "0c4ba75986fbc32906ecf0b99ee6858b",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 316,
"avg_line_length": 37.836363636363636,
"alnum_prop": 0.7760691975012013,
"repo_name": "chenyuan/SPGooglePlacesAutocomplete",
"id": "8c90c78435ac992a20fe1c688eb93ba713a86... |
// Package mysql implements the Camlistore index storage abstraction
// on top of MySQL.
package mysql
import (
"database/sql"
"fmt"
"os"
"camlistore.org/pkg/blobserver"
"camlistore.org/pkg/index"
"camlistore.org/pkg/index/sqlindex"
"camlistore.org/pkg/jsonconfig"
_ "camlistore.org/third_party/github.com/z... | {
"content_hash": "f5d05b281222296c1a563ddaefbb951c",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 192,
"avg_line_length": 28.96638655462185,
"alnum_prop": 0.697708152016246,
"repo_name": "google-code-export/camlistore",
"id": "2b6fabd247b16282a836fa8bfddd3f739777775a",
... |
<?php
/**
* Adds availabilities to database
*/
require '../db.php';
//header('Content-type: application/json');
$userID = isset($_COOKIE['userID']) ? $_COOKIE['userID'] : $_SESSION['userID'];
$dayID = $db->real_escape_string(isset($_GET['dayID']) ? $_GET['dayID'] : $_POST['dayID']);
$hourID = $db->real_escape_stri... | {
"content_hash": "4504b7723211d48edf7eb9890f840596",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 119,
"avg_line_length": 32.22222222222222,
"alnum_prop": 0.6048275862068966,
"repo_name": "theopensorcerers/helppy",
"id": "a9df44039444bb438adbe39a01424130f059faef",
"size... |
package za.org.grassroot.core.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import za.org.grassroot.core.domain.GcmRegistration;
import za.org.grassroot.core.domain.User;
/**
* Created by paballo on 2016/04/05.
*/
public interface GcmRegistrationRepository extends JpaRepository<GcmRegist... | {
"content_hash": "e7ab5063e33032dbfc49db3c0c5f3b08",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 89,
"avg_line_length": 28.833333333333332,
"alnum_prop": 0.8092485549132948,
"repo_name": "mokoka/grassroot-platform",
"id": "8790e0ac60d508663e6c13244238278160320c77",
"si... |
<?php
namespace SlmQueueTest\Strategy;
use PHPUnit_Framework_TestCase;
use SlmQueue\Strategy\LogJobStrategy;
use SlmQueue\Worker\WorkerEvent;
use SlmQueueTest\Asset\SimpleJob;
class LogJobTest extends PHPUnit_Framework_TestCase
{
/**
* @var LogJobStrategy
*/
protected $listener;
/**
* @va... | {
"content_hash": "300f99b6e2fef18e970214bd3b31e901",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 94,
"avg_line_length": 29.066666666666666,
"alnum_prop": 0.6438401048492791,
"repo_name": "jackdpeterson/SlmQueue",
"id": "5da3d415eb919efcb44c035ddf949e47338cd99a",
"size... |
'use strict';
let gulp = require('gulp');
let cssmin = require('gulp-cssmin');
let prefix = require('gulp-autoprefixer');
let uglify = require('gulp-uglify');
let concat = require('gulp-concat');
let imagemin = require('gulp-imagemin');
let sync = require('browser-sync').create();
let sugarss = require('sugarss');
let... | {
"content_hash": "206219160615774c5deaf79d869ea79f",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 75,
"avg_line_length": 32.648936170212764,
"alnum_prop": 0.6063864450961225,
"repo_name": "vbillardm/vbillardm-webp2018-SI201704-la-truelle",
"id": "add5195755e85b1c110c1bdde... |
Examples of how to create CQEngine attributes from Java 8 lambda expressions and method references.
CQEngine attributes can be created from lambda expressions via the static factory methods in [QueryFactory](http://htmlpreview.github.io/?http://raw.githubusercontent.com/npgall/cqengine/master/documentation/javadoc/api... | {
"content_hash": "9b4a5526ceff4af85b56ee1a211e9588",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 423,
"avg_line_length": 63.61904761904762,
"alnum_prop": 0.7941616766467066,
"repo_name": "npgall/cqengine",
"id": "613c01cb8680adbd725fb8fa8493bfae2f3b3169",
"size": "5376... |
/*globals define, _, $*/
/*jshint browser: true*/
/**
* @author rkereskenyi / https://github/rkereskenyi
* @author brollb / https://github/brollb
*/
define([
'js/Decorators/DecoratorWithPorts.Base',
'js/Widgets/DiagramDesigner/DiagramDesignerWidget.Constants',
'./SVGPort'
], function (DecoratorWithPort... | {
"content_hash": "cc659a0c47c78599ea63c2140eb1becb",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 119,
"avg_line_length": 34.245370370370374,
"alnum_prop": 0.5646883871839935,
"repo_name": "webgme/webgme",
"id": "1bac33134d0f100010b7e9963c755d049b6e0432",
"size": "7397... |
'use strict';
var React = require('react');
// =============================================================================
// TOOLTIP MIXIN
// ============================================================================
var Mixin = {
/** By using this mixin showTooltip will be set to true when it is determined
... | {
"content_hash": "a1d40b095e11d5a4591782520cbc1632",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 112,
"avg_line_length": 32.14689265536723,
"alnum_prop": 0.5249560632688928,
"repo_name": "willowtreeapps/compwnents",
"id": "ade6e06be21dee8665b10a864ea9fb1077d08e11",
"s... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AisenLink - All Posts</title>
<link rel="stylesheet" href="/css/pure-min.css">
<link rel="stylesheet" href="/css/blog.css">
<link rel="stylesheet" href="/css/font-awesom... | {
"content_hash": "70e58cd589a9212a37a3801daad50dbd",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 548,
"avg_line_length": 35.77058823529412,
"alnum_prop": 0.620292715013978,
"repo_name": "ekawahyu/ekawahyu.github.io",
"id": "20e85a1be4c0e3b702134ac17255873fb054bcaf",
"... |
'use strict';
var tape = require('tape');
var d3 = require('d3-arrays');
var BinarySearchTree = require('./binarySearchTree.js');
var data = require("./endowments.json");
tape("test put and get for binary search tree", function(test){
var T = new BinarySearchTree();
data.forEach(function(d) {
T.put(d.name, d... | {
"content_hash": "dff26e7a3da1fad8d170c4845b591384",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 89,
"avg_line_length": 28.369565217391305,
"alnum_prop": 0.6421455938697318,
"repo_name": "bmershon/1337",
"id": "457701478c96fa5b7e3a52a16a8ffb63146d7411",
"size": "1305",... |
<!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_31) on Wed Dec 17 20:47:35 PST 2014 -->
<title>DoublePredicate (Java Platform SE 8 )</title>
<meta name="date" content="2014-12-17">
<meta name... | {
"content_hash": "8995331c80c035144c4db34333b4992a",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 600,
"avg_line_length": 44.19252873563219,
"alnum_prop": 0.6770271148969373,
"repo_name": "fbiville/annotation-processing-ftw",
"id": "4efa1d73c18bf296e0426eb80094efdd2d78ad... |
#ifndef TIN_NETWORK_BSDSOCKET_MANAGERVISITOR_HPP
#define TIN_NETWORK_BSDSOCKET_MANAGERVISITOR_HPP
namespace tin { namespace network { namespace bsdsocket
{
class Manager;
namespace events
{
struct Terminate;
struct ResponseReceived;
struct MessageRequest;
}
class ManagerVi... | {
"content_hash": "d79e835759e1eba2fc4fe55eb8e6139a",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 75,
"avg_line_length": 25.625,
"alnum_prop": 0.675609756097561,
"repo_name": "mdziekon/eiti-tin-ftp-stattr",
"id": "06a3b5dc817dd3134d292d2e8878273cf337637c",
"size": "820"... |
/* crypto/engine/hw_cswift.c */
/*
* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL project
* 2000.
*/
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms... | {
"content_hash": "14f5270486eb52d66f84ff1784cb067c",
"timestamp": "",
"source": "github",
"line_count": 1081,
"max_line_length": 97,
"avg_line_length": 32.463459759481964,
"alnum_prop": 0.5893483030803864,
"repo_name": "vbloodv/blood",
"id": "5553794998d2d29e36f30eefe9bac7f1cd465033",
"size": "3509... |
package edu.fudan.weixin.utils;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.jdom2.CDATA;
import org.jdom2.Content;
import org.jdom2.Document;
import org.jd... | {
"content_hash": "992a231d60305b1774475d58b17d7bcf",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 95,
"avg_line_length": 22.495495495495497,
"alnum_prop": 0.6221465758910693,
"repo_name": "BaixiangLiu/fudanweixin",
"id": "29676b0377723d0d73c72a7f4abc8449d5c8f6fe",
"siz... |
<form name="ctrl.ownerForm" class="form-horizontal form-tab" autocomplete="on" novalidate>
<legend>Sound Recording Ownership Information</legend>
<!-- <legend>Ownership Information</legend>-->
<div>
<label class="col-xs-3">Band </label>
<div class="col-xs-7">
<select name="band" class="form-control"
... | {
"content_hash": "b6f53daa9b29be783770931ef53b4b6d",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 111,
"avg_line_length": 40.20675105485232,
"alnum_prop": 0.6511701122888026,
"repo_name": "akhil0/MLL",
"id": "864051f1e0809e48a41e23def8fa5b2c3d97dadf",
"size": "9529",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace PhoneApp1
{
... | {
"content_hash": "71c2845711024eea9439e96f352d8d85",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 188,
"avg_line_length": 33.67391304347826,
"alnum_prop": 0.6016785022595222,
"repo_name": "Anthuan/TheOldReaderWP",
"id": "9ea35df53aee64e9907f5993206831734ab34df3",
"size"... |
"""
Bottle is a fast and simple micro-framework for small web applications. It
offers request dispatching (Routes) with url parameter support, templates,
a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and
template engines - all in a single file and with no dependencies other than the
Python S... | {
"content_hash": "bc9d32792960044c0fd66ec909639ec6",
"timestamp": "",
"source": "github",
"line_count": 1933,
"max_line_length": 109,
"avg_line_length": 38.02224521469219,
"alnum_prop": 0.5920241642516021,
"repo_name": "svetlyak40wt/cony",
"id": "8f2be9e815fe407ed035d52d50a69f154b89515c",
"size": "... |
export const DEFAULT_SLIDE_ELEMENT_INDEX = -1;
export const DEFAULT_SLIDE_INDEX = 0;
export const SYSTEM_FONT =
'-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Helvetica, sans-serif';
export const KEYBOARD_SHORTCUTS = {
PRESENTER_MODE: 'mod+shift+p',
OVERVIEW_MODE: 'mod+shift+o',
PR... | {
"content_hash": "616f8f4d50a1c739b5a4062dc99f49fb",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 101,
"avg_line_length": 30.115384615384617,
"alnum_prop": 0.7183908045977011,
"repo_name": "FormidableLabs/spectacle",
"id": "f5c05562da7ea4e08bbcabf5433ffde95379dd9e",
"si... |
class UtmContent(object):
"""The utm content of an Ganalytics object."""
def __init__(self, utm_content=None):
"""Create a UtmContent object
:param utm_content: Used to differentiate your campaign from advertisements.
:type utm_content: string, optional
"""
self._utm_c... | {
"content_hash": "6f0209d8ca1e0d2bf4482974f281e74d",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 84,
"avg_line_length": 27.55,
"alnum_prop": 0.6098003629764065,
"repo_name": "sendgrid/sendgrid-python",
"id": "e2a8ccff6377f97614362190e48da0c83d1c64e9",
"size": "1102",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Index for Directory ../SMASHtoolbox/+SMASH/+MUI/@Line/old</title>
<meta name="keywords" content="../SMASHtoolbox/+SMASH/+MUI/@Line/old">
<meta name="description" content... | {
"content_hash": "47ce469fbaaccd7edbad8fbb4d0e6279",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 484,
"avg_line_length": 63.724137931034484,
"alnum_prop": 0.6239177489177489,
"repo_name": "SMASHtoolbox/release",
"id": "3b3526a86be280468c30d7b2c1f787a1aa5ac507",
"size":... |
Chrome Developer Tools extension which allows to:
* inspect [Storage Area](http://developer.chrome.com/apps/storage.html) of [Chrome Packaged Apps](http://developer.chrome.com/apps/about_apps.html)
* inspect HTML5 local&session storage
* export storage contents as JSON into clipboard or file
* import stora... | {
"content_hash": "cc61ad44cdbc6caee62045996414c30a",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 241,
"avg_line_length": 61.523809523809526,
"alnum_prop": 0.7871517027863777,
"repo_name": "dandv/storage-area-explorer",
"id": "42ff49257d86940cb3fc01f5c9abb0fe79d7d125",
... |
package kafka.integration
import org.apache.kafka.common.config.ConfigException
import org.junit.{After, Before, Ignore, Test}
import scala.util.Random
import scala.collection.JavaConverters._
import org.apache.log4j.{Level, Logger}
import java.util.Properties
import java.util.concurrent.ExecutionException
import ... | {
"content_hash": "7023f672470f69d68192803705b06e14",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 120,
"avg_line_length": 41.07089552238806,
"alnum_prop": 0.7429817388934314,
"repo_name": "ollie314/kafka",
"id": "0250cfbee82f3c7812e0fd5881d868a6a01adaf4",
"size": "1180... |
from __future__ import annotations
import unittest
from unittest import mock
from airflow.providers.grpc.operators.grpc import GrpcOperator
class StubClass:
def __init__(self, channel):
pass
def stream_call(self, data):
pass
class TestGrpcOperator(unittest.TestCase):
def custom_conn_f... | {
"content_hash": "ee31c41ab066911cf30efb9e5fc9d033",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 109,
"avg_line_length": 38.05882352941177,
"alnum_prop": 0.624420401854714,
"repo_name": "cfei18/incubator-airflow",
"id": "794d42ad1556ef3099f83c054279a9c7fa07f213",
"size... |
package rename // import "golang.org/x/tools/refactor/rename"
import (
"bytes"
"errors"
"fmt"
"go/ast"
"go/build"
"go/format"
"go/parser"
"go/token"
"go/types"
"io"
"io/ioutil"
"log"
"os"
"os/exec"
"path"
"sort"
"strconv"
"strings"
"golang.org/x/tools/go/loader"
"golang.org/x/tools/go/types/typeut... | {
"content_hash": "3796ff43337ccea5c765e63ead16fd76",
"timestamp": "",
"source": "github",
"line_count": 505,
"max_line_length": 103,
"avg_line_length": 29.80990099009901,
"alnum_prop": 0.6766972233293477,
"repo_name": "jack89129/koding",
"id": "766bbc29666fe47ad4233c70c0a76bd41f70291d",
"size": "15... |
@implementation TrapezeView
- (void)awakeFromNib
{
[self registerForDraggedTypes:[NSArray arrayWithObject:NSFilenamesPboardType]];
isDragging = NO;
}
- (void)drawRect:(NSRect)rect
{
if(isDragging) {
NSColor* c1 = [NSColor colorWithCalibratedWhite:.80 alpha:1.0];
NSColor* c2 = [NSColor colorWi... | {
"content_hash": "bb7bef330b10c73c4045a176190277f9",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 159,
"avg_line_length": 26.915254237288135,
"alnum_prop": 0.7074937027707808,
"repo_name": "mesadynamics/trapeze",
"id": "6c28e1f01654cdb3f62eac8a8dfb8e076da7c761",
"size"... |
//
// GDataEntryPhotoBase.m
//
#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_PHOTOS_SERVICE
#define GDATAPHOTOBASE_DEFINE_GLOBALS 1
#import "GDataEntryPhotoBase.h"
#import "GDataPhotoConstants.h"
@implementation GDataEntryPhotoBase
- (void)addExtensionDeclarations {
[super addExtensionDeclarations];
... | {
"content_hash": "d81e342c185c6e29447c3b00ba4169db",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 89,
"avg_line_length": 23.397260273972602,
"alnum_prop": 0.7353629976580797,
"repo_name": "afc1903/GData",
"id": "0a68d1ea5feb67224e7ed443394374e3fc1ca3da",
"size": "2290",... |
jQuery.fn.timelinr = function(options){
// default plugin settings
settings = jQuery.extend({
orientation: 'horizontal', // value: horizontal | vertical, default to horizontal
containerDiv: '#timeline', // value: any HTML tag or #id, default to #timeline
datesDiv: '#dates', // value: any HTML t... | {
"content_hash": "7c270c377e326b58f4cd86ad89a32832",
"timestamp": "",
"source": "github",
"line_count": 277,
"max_line_length": 266,
"avg_line_length": 56.942238267148014,
"alnum_prop": 0.6970138844861472,
"repo_name": "fredDesign/euromed",
"id": "3f2f05953979afae2a1034c09fcac871185f6bc8",
"size": ... |
#include "utils/cluster_rt.h"
#include <glog/logging.h>
#include <algorithm>
using std::string;
using std::to_string;
using std::vector;
namespace singa {
void ZKService::ChildChanges(zhandle_t *zh, int type, int state,
const char *path, void *watcherCtx) {
// check if already cal... | {
"content_hash": "b0742ddf6d0bafff87c1d422fd91c283",
"timestamp": "",
"source": "github",
"line_count": 410,
"max_line_length": 79,
"avg_line_length": 30.15609756097561,
"alnum_prop": 0.5958427693303138,
"repo_name": "cszqwe/incubator-singa",
"id": "265e80b5803edde6041ecf99bb5f725ebd3c5e28",
"size"... |
{% include requirements/background.html %}
{% include requirements/clients.html %}
{% include requirements/problem.html %}
{% include requirements/requirements.html %}
{% include requirements/personas.html %}
{% include requirements/usercases.html %}
| {
"content_hash": "2c834f9475be5137cdd797188d4faac4",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 44,
"avg_line_length": 41.833333333333336,
"alnum_prop": 0.7609561752988048,
"repo_name": "Thalexander/sm1-site",
"id": "cebe9ca47b031e2ab45240aec255a068148d9cef",
"size": "... |
<?xml version="1.0" encoding="UTF-8" ?>
<class name="LinkButton" inherits="BaseButton" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
Simple button used to represent a link to some resource.
</brief_description>
<description>
... | {
"content_hash": "a2de7a1668033e195be25bfd4ce8c914",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 184,
"avg_line_length": 57.05172413793103,
"alnum_prop": 0.7195527349652463,
"repo_name": "ex/godot",
"id": "8664bb26eec6a6bcb44be024515fcece7d54554e",
"size": "3309",
"b... |
using System;
using System.Data;
using DotNetNuke.Common;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules;
#endregion
namespace DotNetNuke.Entities.Host
{
[Serializable]
public class ServerInfo : IHydratable
{
public ServerInfo() : this(DateTime.Now, DateTime.Now)
{
... | {
"content_hash": "0d70aa37b8a5bb9eccdd3ca384b88a82",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 89,
"avg_line_length": 30.514285714285716,
"alnum_prop": 0.46722846441947563,
"repo_name": "SCullman/Dnn.Platform",
"id": "22528d3812b6fe8f15720923ccdfc6fb73208ab1",
"size... |
package com.medievallords.carbyne.duels.duel;
/**
* Created by Calvin on 3/17/2017
* for the Carbyne project.
*/
public enum DuelStage {
COUNTING_DOWN,
FIGHTING,
ENDED
}
| {
"content_hash": "e5d9b9529d56f8f4ec217df035320bc2",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 45,
"avg_line_length": 16.90909090909091,
"alnum_prop": 0.6827956989247311,
"repo_name": "YoungOG/CarbyneCore",
"id": "7839f2600baa356998e29b864b43cb8e6cb3ec60",
"size": "1... |
import factories from "../api"
import trackedEntityLoaderFactory from "lib/loaders/loaders_with_authentication/tracked_entity"
export default (accessToken, userID, opts) => {
const gravityAccessTokenLoader = () => Promise.resolve(accessToken)
const { gravityLoaderWithAuthenticationFactory } = factories(opts)
con... | {
"content_hash": "96381a873f505e5c1b47deeb2770cd9a",
"timestamp": "",
"source": "github",
"line_count": 577,
"max_line_length": 95,
"avg_line_length": 29.56672443674177,
"alnum_prop": 0.5832356389214537,
"repo_name": "artsy/metaphysics",
"id": "1f167aeb007b68c1f5e845ba3345a34f12a9fb00",
"size": "17... |
package bbejeck.sql.lucene;
import bbejeck.sql.util.Collectors;
import bbejeck.sql.util.ThrowingBiFunction;
import com.google.common.base.Splitter;
import com.google.common.collect.Lists;
import org.apache.lucene.index.Term;
import org.apache.lucene.queries.BooleanFilter;
import org.apache.lucene.queries.FilterClau... | {
"content_hash": "ee9cc37e4d3fad21adf97f562e0262a0",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 178,
"avg_line_length": 49.645833333333336,
"alnum_prop": 0.7650020981955519,
"repo_name": "jibaro/sql-for-lucene",
"id": "fb77ea89b71caccaef5e2f5d673584691fa8a93f",
"size"... |
import os
import sys
import datetime
from djpcms import test
from django.contrib.auth.models import User
from django.contrib.sites.models import Site
from django.core import management
try:
from djpcms.contrib.jdep.fabtools import *
fabric_available = True
except ImportError:
fabric_available = False
... | {
"content_hash": "f27aab5c37ef6e46bbaabdf4a3477d9b",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 112,
"avg_line_length": 33.95049504950495,
"alnum_prop": 0.5823855351414406,
"repo_name": "strogo/djpcms",
"id": "0ac2ad26396ade1e93f45336aa8ffa7ecccf4a1d",
"size": "3429"... |
package rpc
// based on "github.com/gorilla/rpc/v2/json2"
// Copyright 2009 The Go Authors. All rights reserved.
// Copyright 2012 The Gorilla Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
import (
"bytes"
"encoding/json"
"err... | {
"content_hash": "91cf2dbd534211a11212e2971742f176",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 89,
"avg_line_length": 26.379310344827587,
"alnum_prop": 0.6562091503267974,
"repo_name": "zyxar/argo",
"id": "3febf7eaa614ded0e4e318b1e663647154a4406b",
"size": "3060",
... |
<?php /** @version 6.0.0 */ ?>
<?php if (defined('AAM_KEY')) { ?>
<?php echo static::loadTemplate(__DIR__ . '/iframe-header.php', $params); ?>
<?php echo static::loadTemplate(dirname(__DIR__) . '/page/subject-panel.php', $params); ?>
<!-- Additional attributes -->
<input type="hidden" id="aam-policy-... | {
"content_hash": "7ed9d371e83eb5bc0fd26ba0a92a822b",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 94,
"avg_line_length": 38.083333333333336,
"alnum_prop": 0.5820568927789934,
"repo_name": "mandino/www.bloggingshakespeare.com",
"id": "5bf2a8661242e54df2e4150cb3b1cc63179492... |
echo "Running Couchbase docker image..."
docker run -d --name couchbase -p 8091-8094:8091-8094 -p 11210:11210 couchbase/server:5.1.3
docker ps | grep "couchbase"
retVal=$?
if [ $retVal == 0 ]; then
echo "Couchbase docker image is running."
else
echo "Couchbase docker image failed to start."
exit $retVal
fi... | {
"content_hash": "db886916be02eadf290f5075c953ce36",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 151,
"avg_line_length": 50.31460674157304,
"alnum_prop": 0.49374720857525684,
"repo_name": "GIP-RECIA/cas",
"id": "241b650b2c0de99cbe88626ae8c9f86dd47a398a",
"size": "4577"... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.psi.impl.compiled;
import com.intellij.psi.PsiNameHelper;
import com.intellij.psi.impl.cache.TypeAnnotationContainer;
import com.intellij.psi.impl.cache.Type... | {
"content_hash": "9cb7f7620f2e44d261b1be89c4c48fce",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 140,
"avg_line_length": 40.99107142857143,
"alnum_prop": 0.6710956218688738,
"repo_name": "ingokegel/intellij-community",
"id": "204a01d40ef3d034acd1a3c358b14be8bb9c93c2",
... |
package org.overlord.dtgov.ui.client.local.pages;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.enterprise.context.Dependent;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import org.jboss.errai.ui.nav.client.local.Page;
import org.jboss.errai.ui.nav.client.local.... | {
"content_hash": "68cb14ddb4e0da10c642726355e1990d",
"timestamp": "",
"source": "github",
"line_count": 708,
"max_line_length": 162,
"avg_line_length": 30.481638418079097,
"alnum_prop": 0.6260136230943886,
"repo_name": "Governance/dtgov",
"id": "8d5020246653593ac89e5d59636282fa769a5545",
"size": "2... |
package butterknife.compiler;
/** A field or method view binding. */
interface MemberViewBinding {
/** A description of the binding in human readable form (e.g., "field 'foo'"). */
String getDescription();
}
| {
"content_hash": "02c63a87aae2e7a1070bb315bff1a0e8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 85,
"avg_line_length": 31,
"alnum_prop": 0.6912442396313364,
"repo_name": "CaMnter/AndroidLife",
"id": "df356a9e89b9cbb6e3415146645f174f8be615b0",
"size": "217",
"binary":... |
@interface Sample_ARCTests : SenTestCase
@end
| {
"content_hash": "642cfa77908080c40d0e3a75e859fd83",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 40,
"avg_line_length": 15.666666666666666,
"alnum_prop": 0.7872340425531915,
"repo_name": "krzysztofzablocki/SFObservers",
"id": "04cfae1b08a644eccc2da8f1fb5cbe3044f0432c",
... |
using DSharpPlus.Entities;
namespace DSharpPlus.EventArgs
{
/// <summary>
/// Represents arguments for <see cref="DiscordClient.MessageReactionsCleared"/> event.
/// </summary>
public class MessageReactionsClearEventArgs : DiscordEventArgs
{
/// <summary>
/// Gets the message for w... | {
"content_hash": "0f8c714acdd25d47ef32b2a076b69506",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 119,
"avg_line_length": 34.65625,
"alnum_prop": 0.6203787195671776,
"repo_name": "Emzi0767/DSharpPlus",
"id": "875c937e4e6405466bdfc2eb914adb5849b5dc79",
"size": "1111",
... |
class OwnershipsController < ApplicationController
before_action :authenticate_user!
def new
@book = current_user.books.new
@ownership = current_user.ownerships.new
@genres = Genre.all
end
def create
ownership = current_user.ownerships.create(ownership_params)
render status: 201, json: own... | {
"content_hash": "23052621aacf421de7413452be1ed3f5",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 76,
"avg_line_length": 23.91891891891892,
"alnum_prop": 0.7062146892655368,
"repo_name": "uesteibar/changebook",
"id": "031105e03a13a4ddd8397c096f9f25359a45330e",
"size": "... |
package io.fabric8.insight.log.log4j;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.slf4j.LoggerFactory;
/**
*/
public class MavenCoordinateTest {
private Log4jLogQuery logQuery = new Log4jLogQuery();
@Before
public void init() {
logQuery.start();
}
... | {
"content_hash": "96b2cddb1b52ce5019bb343572cb1a31",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 92,
"avg_line_length": 20.93103448275862,
"alnum_prop": 0.6672158154859967,
"repo_name": "avano/fabric8",
"id": "370cae9e34231c1e911987d8d72878643de94185",
"size": "1245",
... |
/*################ Theme Content Section Style Start Here ############################*/
#hoeapp-wrapper[hoe-device-type="phone"] #styleSelector {
top: 6px;
}
#main-content {
margin-left: 230px;
position:relative;
}
.content-title {
border-bottom: 1px solid #e8e8e8;
border-top: 1px solid #e... | {
"content_hash": "f3a5f2dec090b06c4b55f3252d373a80",
"timestamp": "",
"source": "github",
"line_count": 827,
"max_line_length": 187,
"avg_line_length": 29.076178960096737,
"alnum_prop": 0.63835981036347,
"repo_name": "jaccinelli/Refactor",
"id": "9bb092789a605c620a4def0c65bd0f82c8a5acd7",
"size": "... |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Upload dir
|--------------------------------------------------------------------------
|
| The dir where to store the images (relative from public)
|
*/
'dir' => [],
/*
|--... | {
"content_hash": "3ce2649aa3babf7aa46369832b6906ec",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 140,
"avg_line_length": 34.55789473684211,
"alnum_prop": 0.35699055741699665,
"repo_name": "webfactorybulgaria/Base",
"id": "2664f86d0ce5659be55378243a464c6e8f423a0a",
"siz... |
import {browser} from 'protractor';
beforeAll(async() => await browser.get('#/'));
| {
"content_hash": "278f7317e8a9f29c8d49f9a3aa5a8fcb",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 46,
"avg_line_length": 28,
"alnum_prop": 0.6666666666666666,
"repo_name": "ng-bootstrap/core",
"id": "41230256e9fe964abd79200e3c8ae072a2f90e09",
"size": "84",
"binary": fa... |
include.plugins("dom/synthetic");
MVC.Scrollable = MVC.Class.extend({
init : function(element){
this.element = element;
},
dropover: function(params){
},
dropped: function(params){
this.clear_timeout();
},
dropout : function(params){
this.clear_timeout();
},
dropadd: function(params){
},
clear_... | {
"content_hash": "415c0aa2f29dfc1d9765102efb0ba0be",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 132,
"avg_line_length": 30.820224719101123,
"alnum_prop": 0.5971563981042654,
"repo_name": "jmvc-15x/javascriptmvc-1.5.x",
"id": "9fd4d42ea5e3665d81e9b45f07007fd7aae5a487",
... |
module Wombat
module Builders
class Docker < Wombat::Builders::Base
class ServiceBuilder
using Wombat::Refinements
def initialize(service, options = {})
@service = service
@dependency_handler = options.delete(:dependency_handler)
@options = options
r... | {
"content_hash": "f27f40b267206a352017ad6277411faf",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 117,
"avg_line_length": 34.184615384615384,
"alnum_prop": 0.5805580558055805,
"repo_name": "wombatapp/wombat.gem",
"id": "2b031f21c5eed1358ae06983b4a6a9785b4260d3",
"size":... |
<template name="NotSignedIn">
<div class="alert alert-info">
Please {{> loginButtons}} to create and view orders.
</div>
</template> | {
"content_hash": "77232bf268a29704bfef447f173ed88a",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 60,
"avg_line_length": 29.6,
"alnum_prop": 0.6418918918918919,
"repo_name": "jreina/Meteorito",
"id": "00fa03873428a20ea880b9e53e56bab29a92e116",
"size": "148",
"binary": ... |
<?php
/*
* This file is part of Gush package.
*
* (c) Luis Cordova <cordoval@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Gush\Tests\Command\PullRequest;
use Gush\Command\PullRequest\PullRequestListCommand;
use Gush\Tes... | {
"content_hash": "72ae9bde32951fa66b2c1c62d94ef84b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 128,
"avg_line_length": 29.21212121212121,
"alnum_prop": 0.6379668049792531,
"repo_name": "pierredup/gush",
"id": "8c6a410055ef14d55c430dc2d6b9dd217bbe13ab",
"size": "964",... |
FactoryGirl.define do
factory :event_note do
recorded_at DateTime.new(2016, 4, 9)
association :educator
association :student
event_note_type { EventNoteType.first }
is_restricted false
end
end
| {
"content_hash": "652c3a930cb08354ac4a2da7dc0d3d4f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 43,
"avg_line_length": 19.90909090909091,
"alnum_prop": 0.7077625570776256,
"repo_name": "sandman8654/OpenStudent",
"id": "19cae927149963980052a2c647fd2f4f14fa84b2",
"size"... |
module Harrison
class Package < Base
def initialize(opts={})
# Config helpers for Harrisonfile.
self.class.option_helper(:host)
self.class.option_helper(:commit)
self.class.option_helper(:purge)
self.class.option_helper(:destination)
self.class.option_helper(:remote_dir)
... | {
"content_hash": "68a21f8019598c79735eb7d9445e241d",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 158,
"avg_line_length": 34.824561403508774,
"alnum_prop": 0.6141057934508816,
"repo_name": "scotje/harrison",
"id": "16156a43f24a709f9fe21d0e4018cabfa871a113",
"size": "39... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.