text stringlengths 2 1.04M | meta dict |
|---|---|
package poller
import (
"context"
"fmt"
"testing"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"go.skia.org/infra/go/gerrit"
"go.skia.org/infra/go/httputils"
"go.skia.org/infra/go/testutils"
caches_mocks "go.skia.org/infra/skcq/go/caches/mocks"
cr_mocks "go.skia.org/infra/skcq/g... | {
"content_hash": "f7e875b4619d59edc5306f63a878a08a",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 181,
"avg_line_length": 38.70810810810811,
"alnum_prop": 0.7380254154447703,
"repo_name": "google/skia-buildbot",
"id": "fce479032cbdb84f5cf3dfa686c3fcf7af4ca96c",
"size":... |
require 'corba'
CORBA.implement('Test.idl', {}, CORBA::IDL::CLIENT_STUB) {
module Types
class TString < String
def TString._tc; @@tc_TString ||= CORBA::TypeCode::Alias.new('IDL:Remedy/Types/TString:1.0', 'TString', self, CORBA::_tc_string); end
end # typedef TString
end #of module Types
module Test
modul... | {
"content_hash": "a903d9be7b14b4da09f0dd144696315f",
"timestamp": "",
"source": "github",
"line_count": 414,
"max_line_length": 163,
"avg_line_length": 31.241545893719806,
"alnum_prop": 0.5881397866089377,
"repo_name": "noda50/RubyItk",
"id": "dcae632a9da4f5886e10c2b59fbf3ff930fb36b3",
"size": "131... |
module Pohoda
module Builders
module Typ
class ClassificationVATType
include ParserCore::BaseBuilder
def builder
root = Ox::Element.new(name)
root = add_attributes_and_namespaces(root)
root << build_element('typ:id', data[:id], data[:id_attributes]) if data.ke... | {
"content_hash": "880724fcc80fadf5f6c95997ac8fbd42",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 173,
"avg_line_length": 32.6,
"alnum_prop": 0.6349693251533742,
"repo_name": "Masa331/pohoda",
"id": "1ff7d4fb4869cf83983999f59e65526c56808536",
"size": "652",
"binary": ... |
When contributing to this repository, please first discuss the change you wish to make via issue before making a change.
Please note there is a [code of conduct](CODE_OF_CONDUCT.md), please follow it in all your interactions with the project.
## Reporting Issues and Asking Questions
Before opening an issue, please ... | {
"content_hash": "289d445c432c5024409547d099c4058d",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 238,
"avg_line_length": 34.976470588235294,
"alnum_prop": 0.7588294651866802,
"repo_name": "soen/Conjunction",
"id": "008b942d1b44b6e9495379d3975469a084e3123a",
"size": "29... |
var _ = require('lodash');
var he = require('he');
_.str = require('underscore.string');
var XRegExp = require('xregexp').XRegExp;
var crypto = require('crypto');
var cuid = require('cuid');
var fs = require('fs');
module.exports = function(self, options) {
// generate a unique identifier for a new page or other ob... | {
"content_hash": "c1d8c4012dc2ce2a32cc8fa4346d5110",
"timestamp": "",
"source": "github",
"line_count": 464,
"max_line_length": 154,
"avg_line_length": 31.913793103448278,
"alnum_prop": 0.6089276066990815,
"repo_name": "koeppel/apocms",
"id": "406a307ddbfbd7e0854afd10d5c1cc16cfa7980f",
"size": "148... |
set -eu
# This script is a convenience wrapper for making fresh test data with no
# extra dependencies. We create in the current working directory.
#
# Most people should not need to run this; it's an "every few years" maintainer
# task. So we can depend upon specific tools which make it sane to manage
# extensions.... | {
"content_hash": "ba94774f2e10654078d91ecc25ddba8e",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 87,
"avg_line_length": 30.057971014492754,
"alnum_prop": 0.6682738669238187,
"repo_name": "nats-io/nats-top",
"id": "872752c76809e8e5f49911ad4fbca87a31e5616e",
"size": "208... |
package io.mangoo.enums;
import java.util.Collections;
import java.util.Locale;
import java.util.Map;
import com.google.common.collect.Maps;
/**
*
* @author svenkubiak
*
*/
public enum Binding {
AUTHENTICATION("io.mangoo.routing.bindings.Authentication"),
DOUBLE("java.lang.Double"),
DOUBLE_PRIMITIVE(... | {
"content_hash": "92bba465d202f9a487db389c5c02fa8a",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 97,
"avg_line_length": 27.775862068965516,
"alnum_prop": 0.6561142147734327,
"repo_name": "svenkubiak/mangooio",
"id": "4f88939606cd8950ee1c7418e0b0bf108e90abcb",
"size": "... |
<?php
namespace Matthias\LazyServicesBundle\Tests\DependencyInjection;
use Matthias\LazyServicesBundle\DependencyInjection\Configuration;
use Symfony\Component\Config\Definition\Processor;
class ConfigurationTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Processor
*/
private $processor;
... | {
"content_hash": "3d0cbdd915d29db1b377ecdb145acbea",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 94,
"avg_line_length": 25.323076923076922,
"alnum_prop": 0.5510328068043743,
"repo_name": "matthiasnoback/LazyServicesBundle",
"id": "000c4a01a3d317b9aab3da753ae178c71c2dc95e... |
class CreateTickets < ActiveRecord::Migration
def change
create_table :tickets do |t|
t.timestamps
end
end
end
| {
"content_hash": "ac415f420b62c80f81b1d099563ed9ec",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 45,
"avg_line_length": 16.25,
"alnum_prop": 0.6846153846153846,
"repo_name": "BradRuderman/israel_hackathon",
"id": "223e399951993df25b4dea687587f551059e0f2b",
"size": "130"... |
package org.spongepowered.common.event.lifecycle;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.spongepowered.api.Game;
import org.spongepowered.api.command.manager.CommandFailedRegistrationException;
import org.spongepowered.api.command.manager.CommandMapping;
import org.spongepowered.api.com... | {
"content_hash": "0f86ec5234ef6ece9de89de2b84abd43",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 160,
"avg_line_length": 40.857142857142854,
"alnum_prop": 0.717948717948718,
"repo_name": "SpongePowered/Sponge",
"id": "09eb0037d28541ce0fb98c37e0794958097d4a1b",
"size": ... |
require 'omf-expctl/nodeHandler'
| {
"content_hash": "e3279581ce4f27c84ee57e3caf173e20",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 32,
"avg_line_length": 34,
"alnum_prop": 0.7941176470588235,
"repo_name": "nathansamson/OMF",
"id": "bc6498f0e776fb2005ee8828858641eb8efbeb47",
"size": "1250",
"binary": f... |
// Copyright (C) 2009 The Libphonenumber Authors
//
// 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 o... | {
"content_hash": "f5f5411ec949be8edb48dad96f159ce6",
"timestamp": "",
"source": "github",
"line_count": 4501,
"max_line_length": 80,
"avg_line_length": 44.839369029104645,
"alnum_prop": 0.6686634757360447,
"repo_name": "keghani/libphonenumber",
"id": "4eb7a3ac4d1f2c01aff5ef612cdd53506b4de64b",
"siz... |
package com.ctrip.platform.dal.daogen.log;
public interface ILogger {
void logEvent(String type, String name);
void info(String message);
void error(Throwable e);
}
| {
"content_hash": "08313539bf57cca1be682ae7dd4a3581",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 44,
"avg_line_length": 20,
"alnum_prop": 0.7166666666666667,
"repo_name": "ctripcorp/dal",
"id": "665d552f0bd719fa497681dd9e2dddb141b42419",
"size": "180",
"binary": false... |
"""The Finger User Information Protocol (RFC 1288)"""
from twisted.protocols import basic
class Finger(basic.LineReceiver):
def lineReceived(self, line):
parts = line.split()
if not parts:
parts = ['']
if len(parts) == 1:
slash_w = 0
else:
... | {
"content_hash": "c952266b0d049e24205f14f3d0677bc6",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 63,
"avg_line_length": 29.4,
"alnum_prop": 0.5501700680272109,
"repo_name": "hlzz/dotfiles",
"id": "928632dd533682cc48a0b9981e5cbadc2fb2c5c6",
"size": "1250",
"binary": f... |
using content::OpenURLParams;
using content::PageNavigator;
namespace {
void SetImageMenuItem(GtkWidget* menu_item,
const BookmarkNode* node,
BookmarkModel* model) {
GdkPixbuf* pixbuf = bookmark_utils::GetPixbufForNode(node, model, true);
gtk_image_menu_item_set_image(G... | {
"content_hash": "3caffbc60ad78acbe1920e6e6576a784",
"timestamp": "",
"source": "github",
"line_count": 341,
"max_line_length": 80,
"avg_line_length": 36.83284457478006,
"alnum_prop": 0.6529458598726114,
"repo_name": "leighpauls/k2cro4",
"id": "70db1460f6e61d77a7bc2be3b4f549f72f20e18b",
"size": "13... |
package bufanalysis
import (
"bytes"
"strconv"
)
type fileAnnotation struct {
fileInfo FileInfo
startLine int
startColumn int
endLine int
endColumn int
typeString string
message string
}
func newFileAnnotation(
fileInfo FileInfo,
startLine int,
startColumn int,
endLine int,
endColumn in... | {
"content_hash": "1f79c46212e90f0eb1035dbe1e5134b5",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 48,
"avg_line_length": 18.09090909090909,
"alnum_prop": 0.6677833612506979,
"repo_name": "bufbuild/buf",
"id": "9bf5ac33dd9b3a67c3868b35822c8b48dde52fc0",
"size": "2397",
... |
<component name="libraryTable">
<library name="support-v4-23.4.0">
<ANNOTATIONS>
<root url="jar://$PROJECT_DIR$/lib-zxing/build/intermediates/exploded-aar/com.android.support/support-v4/23.4.0/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/lib-zxing/build/interm... | {
"content_hash": "22711c4d838da76681102e2968935230",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 178,
"avg_line_length": 59.4375,
"alnum_prop": 0.6898002103049422,
"repo_name": "asmallkite/BeEyes",
"id": "644ebff9aa0338c02cb34760da0ec293740de766",
"size": "951",
"bin... |
package org.dbflute.erflute.editor.view.dialog.relationship;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.dbflute.erflute.Activator;
import org.dbflute.erflute.core.dialog.AbstractDialog;
import org.dbflut... | {
"content_hash": "4ec8a308844b6113d586fbb932274758",
"timestamp": "",
"source": "github",
"line_count": 489,
"max_line_length": 140,
"avg_line_length": 50.49488752556237,
"alnum_prop": 0.5759355256763324,
"repo_name": "dbflute-session/erflute",
"id": "81a81a68f484ddd9b7e071d6fefb6c185d73d101",
"siz... |
// Apache License 2.0
//
// Copyright 2017 Marcos Dimitrio
//
// 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 appl... | {
"content_hash": "492ccae48f17cd196b0ca535cdccc706",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 85,
"avg_line_length": 36.32432432432432,
"alnum_prop": 0.7403273809523809,
"repo_name": "marcosdimitrio/SolutionCreator",
"id": "11b3b874cbfa0e8de701c0ea0c82573c68c08596",
... |
>Command line interface for easier control XAMPP
## Installation
Open your `Terminal`, go to folder where you downloaded **xammp-cli** and run `sh ./installer`:
```bash
cd /path/to/xampp-cli
sh ./installer
```
## Help
If you need help, open `Terminal` and type `xampp` without arguments. Available commands:
* **add** ... | {
"content_hash": "d145717bb72ef2559ac78bb2da2727fc",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 387,
"avg_line_length": 63.04347826086956,
"alnum_prop": 0.72,
"repo_name": "ziyaddin/xampp-cli",
"id": "f40579a503cb3b5b2723bdc4d5143413de6bd1db",
"size": "1462",
"binar... |
package org.datavaultplatform.broker.controllers.admin;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.commons.collections.CollectionUtils;
import org.datavaultplatform.broker.services.BillingService;
import org.datavaultplatform.broker.services.ExternalMetadataService;
imp... | {
"content_hash": "75df0d7c6c6907acf0c104f1a05b40a4",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 201,
"avg_line_length": 46.21897810218978,
"alnum_prop": 0.7084649399873658,
"repo_name": "DataVault/datavault",
"id": "fd5216cad6144754d926d2d1007f122e064c2177",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace BoardingHouse
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAl... | {
"content_hash": "fad3bf5aecb13b4d6cd9bf00b78e6ade",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 60,
"avg_line_length": 22.61111111111111,
"alnum_prop": 0.687960687960688,
"repo_name": "anovkova/BoardingHouse",
"id": "ab226be31641648c22882ffe906e9e2088320858",
"size": ... |
package net.happybrackets.intellij_plugin.menu;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.projectRoots.Sdk;
import com.intellij.openapi.roots.ProjectRootManager;
import com.intellij... | {
"content_hash": "2016577691651bc535049cb6cfb8ca74",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 108,
"avg_line_length": 34.94392523364486,
"alnum_prop": 0.6474993313720246,
"repo_name": "orsjb/HappyBrackets",
"id": "943bfa9ebe698a804dd92639936fd9e116bde0df",
"size": ... |
using System;
using Collectively.Messages.Commands;
using Collectively.Common.Domain;
using Collectively.Common.Services;
using It = Machine.Specifications.It;
using RawRabbit;
using Moq;
using Collectively.Services.Remarks.Services;
using Collectively.Services.Remarks.Handlers;
using Collectively.Messages.Commands.Re... | {
"content_hash": "c493e39963ad2c2751b2c43e13d14e3c",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 114,
"avg_line_length": 36.00909090909091,
"alnum_prop": 0.6167634435748548,
"repo_name": "noordwind/Collectively.Services.Remarks",
"id": "41bf7f639ab05ffbfb4d50a43563b14ab... |
package integration
import (
"testing"
kapi "k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/apis/autoscaling"
"k8s.io/kubernetes/pkg/apis/batch"
expapi "k8s.io/kubernetes/pkg/apis/extensions"
extensions_v1beta1 "k8s.io/kubernetes/pkg/apis/extensions/v1beta1"
kclientset14 ... | {
"content_hash": "2b9451cda2bb04a586df6327962c0006",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 142,
"avg_line_length": 40.591743119266056,
"alnum_prop": 0.7421177534184653,
"repo_name": "chmouel/origin",
"id": "cc69fc9c4d6107a17489cce876e83f30e08a2468",
"size": "884... |
import options from './options';
import importHelper from '../helpers/import';
jest.mock('../helpers/import', () => ({
importTabGroupsJson: jest.fn().mockImplementation(() => Promise.resolve()),
}));
describe('options', () => {
describe('#import', () => {
beforeEach(() => {
options.showImportProgress = ... | {
"content_hash": "0b4353adc93ef418af5f25838fb11370",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 125,
"avg_line_length": 44,
"alnum_prop": 0.6472537878787878,
"repo_name": "hupf/tabmarks",
"id": "c99e5c3cbee593c41fa1acfaa6f8759c92a52b52",
"size": "2112",
"binary": fa... |
package com.zhou.android.main;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView... | {
"content_hash": "a52ad2ef9ffa1091c46c1283d7cc3456",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 153,
"avg_line_length": 35.86734693877551,
"alnum_prop": 0.615931721194879,
"repo_name": "Zhouzhouzhou/AndroidDemo",
"id": "f005b5871cf0d8f812995a82520ab6cf037099ea",
"size... |
.class public final Lcom/google/android/gms/ads/R;
.super Ljava/lang/Object;
.source "R.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/gms/ads/R$styleable;,
Lcom/google/android/gms/ads/R$xml;,
Lcom/google/android/gms/ads/R$style;,
... | {
"content_hash": "02f7e8e06d4bbf805f4f113683325de9",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 53,
"avg_line_length": 28.057142857142857,
"alnum_prop": 0.654786150712831,
"repo_name": "shenxdtw/PokemonGo-Plugin",
"id": "2cf548f393b2f3fb7bc6c16aaf236ec5eead5b94",
"siz... |
package hudson.plugins.robot.graph;
import hudson.model.FreeStyleBuild;
import hudson.plugins.robot.RobotParser;
import hudson.plugins.robot.model.RobotResult;
import junit.framework.TestCase;
import java.io.File;
import java.util.Calendar;
import java.util.GregorianCalendar;
import static org.mockito.M... | {
"content_hash": "cc84676b682572fc3f7935a42d49a1ca",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 151,
"avg_line_length": 38.924731182795696,
"alnum_prop": 0.7806629834254144,
"repo_name": "jenkinsci/robot-plugin",
"id": "6096f52fb2145b902b6768289e89452d619d9009",
"size... |
<?php
namespace Google\Service\Monitoring;
class ListAlertPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'alertPolicies';
protected $alertPoliciesType = AlertPolicy::class;
protected $alertPoliciesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @v... | {
"content_hash": "3ecc83edbf326f44cabff83ec8605d2e",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 101,
"avg_line_length": 19.307692307692307,
"alnum_prop": 0.6613545816733067,
"repo_name": "googleapis/google-api-php-client-services",
"id": "5e1fed8f6e3dfea01f489992fe09e97... |
@interface GLHomeViewController : UIViewController
@end
| {
"content_hash": "ccc40ffe7828ff45fc53f72ca2446a10",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 50,
"avg_line_length": 19,
"alnum_prop": 0.8421052631578947,
"repo_name": "CoderGLMumu/Revaluation_Bili_iOS",
"id": "bd3ec88aa55acba47900b82d89a3667265be73db",
"size": "222"... |
"use strict"
import IPFS from "ipfs"
import Room from "ipfs-pubsub-room"
const ipfs = new IPFS({
repo: repo(),
EXPERIMENTAL: {
pubsub: true
}
})
function repo() {
// random repo path -> multiple ipfs nodes in the same browser
return "ipfs/ipfs-chat/" + Math.random()
}
ipfs.once("ready", () => ipfs.id(... | {
"content_hash": "9e1ffe12d1925b443cbcbdc2f1e1985c",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 96,
"avg_line_length": 27.15340909090909,
"alnum_prop": 0.6047290228081188,
"repo_name": "t-gebauer/ipfs-chat",
"id": "170e094a796e5e59391ba564c6ef016be26a778f",
"size": "... |
import RvApp from './rv-app.vue';
export { RvApp };
| {
"content_hash": "3c2ab65d9ed68fead16c5d7921a61f1d",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 33,
"avg_line_length": 26,
"alnum_prop": 0.6538461538461539,
"repo_name": "nobelhuang/rackview",
"id": "2e96709084e67dc1e8ccdfd1799015021df4d6e1",
"size": "52",
"binary": ... |
"use strict";
const ESLint = require("../utils/eslint");
const chai = require("chai");
chai.should();
describe("modules/esm", function () {
it("should not be enforced if module is not used", function () {
let results = ESLint.run("@jsdevtools/modular/es6",
"const foo = 5;\n" +
"let bar = { foo: foo ... | {
"content_hash": "e582bd96455a127e48991996cf972802",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 127,
"avg_line_length": 36.175,
"alnum_prop": 0.6516931582584657,
"repo_name": "BigstickCarpet/eslint-config-modular",
"id": "df5c626968a90982c352cf04cacdcc4caa6c154d",
"si... |
import React, { useState, useCallback, useEffect } from 'react';
import { Components, registerComponent } from '../../lib/vulcan-lib';
import { useMulti } from '../../lib/crud/withMulti';
import moment from '../../lib/moment-timezone';
import { timeframeToTimeBlock, TimeframeType } from './timeframeUtils'
import { useT... | {
"content_hash": "ae96a344e92e42dc08cc602b58300f7c",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 143,
"avg_line_length": 33.041666666666664,
"alnum_prop": 0.597590023819532,
"repo_name": "Discordius/Lesswrong2",
"id": "236c26221fb3f21bd28d73285e80e091f6da367d",
"size"... |
<?php
require_once('config.php');
require_once('connect.php');
require_once($lang);
if(isset($_POST['submit'])){
$query="UPDATE eventcalender
SET year=%s, month=%s, day=%s, starttime='%s', stoptime='%s', title='%s', description='%s', url='%s'
WHERE id=$_GET[id]";
$filter = arr... | {
"content_hash": "a47bdc2d863f722bc6516ad3452fe407",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 203,
"avg_line_length": 42.06666666666667,
"alnum_prop": 0.561014263074485,
"repo_name": "jask0/event-kalender",
"id": "c1aa4283abf647d801b07de9e104f93e91139810",
"size": ... |
import PropTypes from 'prop-types'
import React, { Component } from 'react'
export default class TagEditor extends Component {
render () {
const { entity } = this.props
return (
<div className='custom-editor'>
<div>
<h1><i className='fa fa-folder' /> {entity.name}</h1>
</div>... | {
"content_hash": "9ab50798c74d78f1aa3f146a0b39d447",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 63,
"avg_line_length": 20.55,
"alnum_prop": 0.6034063260340633,
"repo_name": "jsreport/jsreport-studio",
"id": "8d272f71e6d3d8e713444192f0c63f1a558765c6",
"size": "411",
... |
package com.intellij.execution.runners;
import com.intellij.execution.*;
import com.intellij.execution.configurations.RunProfile;
import com.intellij.execution.process.ProcessHandler;
import com.intellij.execution.process.ProcessNotCreatedException;
import com.intellij.execution.ui.RunContentDescriptor;
import com.i... | {
"content_hash": "7fd2f62e1dbcb09df097b5be9c47e4ec",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 142,
"avg_line_length": 40.321266968325794,
"alnum_prop": 0.6817416676018404,
"repo_name": "youdonghai/intellij-community",
"id": "6be040d8b74fbc69c54943fd7e32411b60905068",... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/license... | {
"content_hash": "95d18aa6fb7bfe00172c893b02f315eb",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 275,
"avg_line_length": 56.19047619047619,
"alnum_prop": 0.7423728813559322,
"repo_name": "jacquesgiraudel/TP-Formation-Android",
"id": "4d2576e0ca9d98919bd4967fbfca7f5ad5754... |
use super::utils::make_iterator_snippet;
use super::NEVER_LOOP;
use clippy_utils::diagnostics::span_lint_and_then;
use clippy_utils::higher::ForLoop;
use clippy_utils::source::snippet;
use rustc_errors::Applicability;
use rustc_hir::{Block, Expr, ExprKind, HirId, InlineAsmOperand, Pat, Stmt, StmtKind};
use rustc_lint::... | {
"content_hash": "0331116cfddfa346a99640a85bdc0534",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 116,
"avg_line_length": 40.539906103286384,
"alnum_prop": 0.5712796757382744,
"repo_name": "graydon/rust",
"id": "86b7d6d989acc75fd6fc3dde238947886588aa51",
"size": "8635"... |
package module4;
import java.util.ArrayList;
import java.util.List;
import de.fhpotsdam.unfolding.UnfoldingMap;
import de.fhpotsdam.unfolding.data.Feature;
import de.fhpotsdam.unfolding.data.GeoJSONReader;
import de.fhpotsdam.unfolding.data.PointFeature;
import de.fhpotsdam.unfolding.geo.Location;
import de.fhpotsdam... | {
"content_hash": "57fac0035662a1aaa127b18b98b4fb66",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 106,
"avg_line_length": 31.896153846153847,
"alnum_prop": 0.6999879416375256,
"repo_name": "devchandan/UCSDUnfoldingMaps",
"id": "ca9e272790373afdd66142195c928bcb2459dcfe",
... |
namespace Orvado.IdleShutdown
{
partial class IdleService
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resour... | {
"content_hash": "abfc37f3a7fc3ae1d9f9542d8a4de5ca",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 101,
"avg_line_length": 23.864864864864863,
"alnum_prop": 0.6749716874292185,
"repo_name": "orvado/Idle-Shutdown",
"id": "667b8a6c41be885485b6d16b617222b147f256e6",
"size":... |
import os
c = get_config()
#------------------------------------------------------------------------------
# InteractiveShellApp(Configurable) configuration
#------------------------------------------------------------------------------
## A Mixin for applications that start InteractiveShell instances.
#
# Provides ... | {
"content_hash": "4fa8e8fdc730f398bac65c221fd9480f",
"timestamp": "",
"source": "github",
"line_count": 574,
"max_line_length": 436,
"avg_line_length": 38.48432055749129,
"alnum_prop": 0.6577636939791761,
"repo_name": "google/skywater-pdk-libs-sky130_bag3_pr",
"id": "810c6411a6fede561e7feadc29a5375a1... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <wallet/walletdb.h>
#include <consensus/tx_verify.h>
#include <consensu... | {
"content_hash": "1ebd1869b00e4a2b44b7075edf586592",
"timestamp": "",
"source": "github",
"line_count": 866,
"max_line_length": 197,
"avg_line_length": 31.594688221709006,
"alnum_prop": 0.5771353386206645,
"repo_name": "TheBlueMatt/bitcoin",
"id": "bcc7cf877d4ba1e56704e27fd2a03256fb7f94ad",
"size":... |
export { default as shallowEqualObjects } from './objects';
export { default as shallowEqualArrays } from './arrays';
| {
"content_hash": "910c31db49b2bac81003515da63be821",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 59,
"avg_line_length": 59,
"alnum_prop": 0.7457627118644068,
"repo_name": "moroshko/shallow-equal",
"id": "92868adf028cefce7776cf83ec9d8a085103f13f",
"size": "118",
"binar... |
package electric.dbs;
import java.sql.*;
import javax.servlet.http.*;
import electric.*;
import java.text.SimpleDateFormat;
import electric.electricUtils.*;
public class Dbware
{
private static final String LOAD_WARE_BY_ID =
"SELECT * FROM [WARE] WHERE [Id]=?";
private static final String INSERT_WAR... | {
"content_hash": "918c17908cfe6c83427614d42aa372a7",
"timestamp": "",
"source": "github",
"line_count": 364,
"max_line_length": 92,
"avg_line_length": 24.681318681318682,
"alnum_prop": 0.6207702582368655,
"repo_name": "java-scott/java-project",
"id": "c96fbf0a7fc0d34b81df9ff58cbbf56892883f01",
"siz... |
from certidude.decorators import serialize
from certidude.relational import RelationalMixin
from .utils.firewall import login_required, authorize_admin
class LogResource(RelationalMixin):
SQL_CREATE_TABLES = "log_tables.sql"
@serialize
@login_required
@authorize_admin
def on_get(self, req, resp):
... | {
"content_hash": "6b9821b2a8df1d7f610fe4f5b2129c20",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 80,
"avg_line_length": 35.5,
"alnum_prop": 0.7142857142857143,
"repo_name": "laurivosandi/certidude",
"id": "738ac1af4749e777b6eded57b75760d4e379ef34",
"size": "498",
"bi... |
Android app find your desire museum and see all the available exhibits
| {
"content_hash": "19b0be266fdd6f7cd913e4c4e84d05ec",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 70,
"avg_line_length": 71,
"alnum_prop": 0.8309859154929577,
"repo_name": "GBardis/MuseDroid",
"id": "3b372bd951a54d99fea2b6bf46523155142353bc",
"size": "83",
"binary": fa... |
"""
Examples to show usage of the azure-core-tracing-opentelemetry
with the App Configuration SDK and exporting to
Azure monitor backend. This example traces calls for creating
a configuration setting via the App Configuration sdk. The telemetry
will be collected automatically and sent to Application Insights
via the A... | {
"content_hash": "2bc04aa4093a977ba02986d2c8a90f0d",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 100,
"avg_line_length": 37.22,
"alnum_prop": 0.7925846319183235,
"repo_name": "Azure/azure-sdk-for-python",
"id": "01762681bce388dead44a7dcec925cf6574963fc",
"size": "1955"... |
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="250dp"
android:minHeight="40dp"
android:updatePeriodMillis="1800000"
android:previewImage="@drawable/ic_launcher"
android:initialLayout="@layout/widget"
androi... | {
"content_hash": "e0de6700ae5b10b4828fceb14499bc26",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 78,
"avg_line_length": 37.3,
"alnum_prop": 0.739946380697051,
"repo_name": "mattlogan/SurgePriceWidget",
"id": "f216634f74312dc8718899b0bb2b0d424ffd4120",
"size": "373",
... |
#include "ecma-alloc.h"
#include "ecma-globals.h"
#include "ecma-gc.h"
#include "ecma-lcache.h"
#include "jrt.h"
#include "jmem.h"
JERRY_STATIC_ASSERT (sizeof (ecma_property_value_t) == sizeof (ecma_value_t),
size_of_ecma_property_value_t_must_be_equal_to_size_of_ecma_value_t);
JERRY_STATIC_ASSE... | {
"content_hash": "7adc7bbafa768d2c547fd3c6a5f0e8ce",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 112,
"avg_line_length": 28.358974358974358,
"alnum_prop": 0.6752561784207354,
"repo_name": "yichoi/jerryscript",
"id": "c41456a3f47efb065cfd96df3c15d9f7d5ec9fc3",
"size": ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Si... | {
"content_hash": "ea534104bc875f277df76991f628b356",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 93,
"avg_line_length": 42.02777777777778,
"alnum_prop": 0.7521480502313285,
"repo_name": "nsip/Sif3Framework-dotNet",
"id": "0b25556eb0e61ebcecd9758a2f3a0323ee0d69ec",
"siz... |
<!--
TODO: Please edit this Readme.developer.md file to include information
for developers or advanced users, for example:
* Information about app internals and implementation details
* How to report bugs or contribute to development
-->
## Implementation
This app runs the "batch" command of CNVkit and exposes most ... | {
"content_hash": "2f1ee1f34b245d0c8541ad86e2ee2bf4",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 105,
"avg_line_length": 28.81578947368421,
"alnum_prop": 0.7397260273972602,
"repo_name": "etal/cnvkit-dnanexus",
"id": "201d27842f817d3d263c9fc42a6096700d5cd2ed",
"size": ... |
import {
async,
beforeEach,
beforeEachProviders,
describe,
expect,
it,
inject,
} from '@angular/core/testing';
import { ComponentFixture, TestComponentBuilder }
from '@angular/compiler/testing';
import { Component } from '@angular/core';
import { RioLoginModal } from './index';
describe('Component: Log... | {
"content_hash": "ac4ef662dfa23ca9c476ea5989ad8acd",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 74,
"avg_line_length": 30.637931034482758,
"alnum_prop": 0.6381541924592009,
"repo_name": "clbond/angular2-chat",
"id": "cfd11b48d0cd6be03fd11f335fbd3b0d12c1d7cf",
"size": ... |
Repository for my Racket code
| {
"content_hash": "6d67dbe4527c1e3419430e2174053d18",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 29,
"avg_line_length": 30,
"alnum_prop": 0.8333333333333334,
"repo_name": "hectoregm/racket",
"id": "e49ff653bce54d58f811fdc5921782d4bf3df608",
"size": "39",
"binary": fal... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "663cdad7aee9003c10dbf3e85fc603eb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "efdcebc64bc93c4df8d3ce4d03165d54d00b45fe",
"size": "17... |
if File.exist?('spec/codeclimate_env.rb')
require 'codeclimate_env.rb'
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
end
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path('../dummy/config/environment', __FILE__)
require 'rspec/rails'
require 'factory_girl'
require 'factories'
require 'da... | {
"content_hash": "33bf4c8e00e5eb7c877b9ae92035e64f",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 79,
"avg_line_length": 28.710526315789473,
"alnum_prop": 0.733730522456462,
"repo_name": "LaunchPadLab/fuel",
"id": "c61c9a4c7db731b802be87588ed243a4a84c037e",
"size": "218... |
$packageName = 'amule.portable'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://sourceforge.net/projects/amule/files/aMule/2.3.2/aMule-2.3.2.zip'
$checksum = 'd82741ed3a0b5772401c9155f72ba960c5df0a55fa6b1170aa0ff7e332dbb1bc'
$checksumType = 'sha256'
Install-ChocolateyZipPackage ... | {
"content_hash": "555ece9f6c7727afbc6bcd2306a78718",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 81,
"avg_line_length": 51.09090909090909,
"alnum_prop": 0.6103202846975089,
"repo_name": "dtgm/chocolatey-packages",
"id": "26cdf14d3795d699b908839f338664226c19c138",
"size... |
package generated.zcsclient.account;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for modifyZimletPrefsSpec complex type.
*
* <p>The following schema ... | {
"content_hash": "d8ee83848ecc47676ae8d028b79fc962",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 104,
"avg_line_length": 23.977011494252874,
"alnum_prop": 0.5963566634707574,
"repo_name": "nico01f/z-pec",
"id": "c9d752ea8e2847560b1f12aa79a8d2409caba4b9",
"size": "2086"... |
$(function() {
// Active tab
$("div.custom-tab-menu>div.list-group>a").click(function(e) {
e.preventDefault();
$(this).siblings('a.active').removeClass("active");
$(this).addClass("active");
var index = $(this).index();
$("div.custom-tab>div.custom-tab-content").removeCl... | {
"content_hash": "a9e493cbf38d7f70701cb07e705e460e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 80,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.5747663551401869,
"repo_name": "wso2-dev-ux/product-is",
"id": "387f8bcc02fa478a605f7b07dce62a65db097499",
"size"... |
<?php
include("../includes/head.php");
include("../includes/menu.php");
?>
<?php
$error = "";
$success = "";
if (isset($_POST["boton"])){
$Nombre = $_POST["Nombre"];
$Direccion = $_POST["Direccion"];
$Dpi = $_POST["Dpi"];
$FechaNacimiento = $_POST["FechaNacimiento"];
$Pais = $_POST["... | {
"content_hash": "098182acd2481c6c8f1b035338a6aaf3",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 268,
"avg_line_length": 40.12,
"alnum_prop": 0.5398803589232303,
"repo_name": "wariosolis/UMG",
"id": "3ed4fc61709cc52b2287cfc44a5ef6c1f51e08bc",
"size": "8024",
"binary... |
letter-fighter
==============
A fighter game with letter elements. Flixel project
| {
"content_hash": "f5d6d9a7e49eb9933e93e25e85090529",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 51,
"avg_line_length": 20.75,
"alnum_prop": 0.6746987951807228,
"repo_name": "kaleidosgu/letter-fighter",
"id": "60f3490e9cc165a2b14d04ff38aeec5388a89c2c",
"size": "83",
"... |
title: "Processing ERB files with Rails Webpacker"
path: /posts/processing-erb-files-with-rails-webpacker
author: Dwight Watson
date: 2017-07-20
tags: ["ruby on rails"]
---
When using Webpacker you may want to interpolate some values into your assets. For example, API keys are best to come from the deployment e... | {
"content_hash": "9f65aa631a174dd8eecb00fd6b818dbb",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 290,
"avg_line_length": 34,
"alnum_prop": 0.7205882352941176,
"repo_name": "dwightwatson/neontsunami",
"id": "d351cbed39aa233dd838972f7c3b93f72bcf175f",
"size": "753",
"b... |
<!--
- Copyright 1999-2011 Alibaba Group.
-
- 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 ap... | {
"content_hash": "44a7829bbad5b94228d8b8beeec7f40d",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 104,
"avg_line_length": 36.68,
"alnum_prop": 0.7082878953107961,
"repo_name": "wupengyu/dubbo-router",
"id": "2f91cd93e1f325017880e1eb580f643e4b0af4c8",
"size": "1834",
"... |
#pragma once
#include <aws/personalize/Personalize_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Personaliz... | {
"content_hash": "602655a7ddba7384b1873d3337ddfab7",
"timestamp": "",
"source": "github",
"line_count": 313,
"max_line_length": 154,
"avg_line_length": 36.61341853035144,
"alnum_prop": 0.6421465968586387,
"repo_name": "cedral/aws-sdk-cpp",
"id": "71a82e5000ddbf8d5dd4a541569df1b9b2b81162",
"size": "... |
//************************************************************/
//
// String Utilities Header
//
// Some useful string utilities for Spectrum
//
// @Author: J. Gibson, C. Embree, T. Carli - CERN
// @Date: 13.10.2014
// @Email: gibsjose@mail.gvsu.edu
//
//************************************************************/
... | {
"content_hash": "163cd696f6f44252c671769c8691a47e",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 165,
"avg_line_length": 29.4985835694051,
"alnum_prop": 0.6085662153077883,
"repo_name": "gibsjose/Spectrum",
"id": "c037446fc3674c33e8fca7279d9b09a8c3866dd8",
"size": "10... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Equivalent to the expression RegExp.prototype.exec(string) != null
es5id: 15.10.6.3_A1_T13
description: RegExp is /t[a-b|q-s]/ and tested string is true
---*/
var __string = ... | {
"content_hash": "5517c7b758b06d1af682e1879a32dd4d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 111,
"avg_line_length": 33.375,
"alnum_prop": 0.6179775280898876,
"repo_name": "PiotrDabkowski/Js2Py",
"id": "5a2dd8994003b33d1dc59acadb5a7ec33f2ce66e",
"size": "534",
"b... |
module avam.menu {
angular.module('avam-menu', ["ngAnimate"]);
} | {
"content_hash": "b01e8f7319f2b2626fed59041a37a7a0",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 47,
"avg_line_length": 22.666666666666668,
"alnum_prop": 0.6470588235294118,
"repo_name": "vickykatoch/avam-web",
"id": "d5e41c30e838d22ad83d13e435d2d7d7145db532",
"size": "... |
package models.daos.slick
import javax.inject
import models.User
import models.MessageModels._
import models.daos.slick.DBTableDefinitions._
import play.api.db.slick._
import play.api.db.slick.Config.driver.simple._
import models.daos.slick.DBAuthTableDefinitions._
import com.mohiva.play.silhouette.api.LoginInfo
impo... | {
"content_hash": "f7c20f2ca8aad0fb2739933c5efcdd81",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 58,
"avg_line_length": 24.53191489361702,
"alnum_prop": 0.6895056374674762,
"repo_name": "meedi/session-montpellier",
"id": "2062424543b32750eeefe82a8d9dd5a0c8241cb3",
"siz... |
// ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// 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 co... | {
"content_hash": "2728cce3452a81ce9079bf92b2b257a0",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 131,
"avg_line_length": 37.62889518413598,
"alnum_prop": 0.5281939320936535,
"repo_name": "ChugR/amqpnetlite",
"id": "00c86394d7c8f9356ad3ea784ea02af5ff63518f",
"size": "1... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18010
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | {
"content_hash": "c97152e773461a12cf0d97511abe36b0",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 198,
"avg_line_length": 46.75,
"alnum_prop": 0.6066176470588235,
"repo_name": "OBHITA/PROCenter",
"id": "9a03ca5c7c35e59274475c1587e494e40245f852",
"size": "2994",
"binar... |
package br.senac.tads.pi3.uriel.exercicio01;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDat... | {
"content_hash": "297c1be19a8c5c891ad174ac21ce8dec",
"timestamp": "",
"source": "github",
"line_count": 340,
"max_line_length": 142,
"avg_line_length": 33.088235294117645,
"alnum_prop": 0.44177777777777777,
"repo_name": "Morthanc/exercicio01",
"id": "42dc6df05fa83e83cbf24c51f01bf5b617f9d70c",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<hsdoc version="1.1.0">
<info cname="系统公用"/>
<extendMap>
<entity>
<key>CresModuleExtendProperty</key>
<value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<cresextend:CresMoudleExtendProperty xmlns:cresextend="http://www.hundsun.com/ares/studio/cres/extend/1... | {
"content_hash": "822a6518af79c2e7b636de05d82bae08",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 145,
"avg_line_length": 31.76923076923077,
"alnum_prop": 0.6585956416464891,
"repo_name": "hundsun/uf-base",
"id": "9691d431312e5dbab504921323cd778d25593378",
"size": "421"... |
import { HtmlAst } from './html_ast';
export declare class HtmlParser {
parse(template: string, sourceInfo: string): HtmlAst[];
unparse(nodes: HtmlAst[]): string;
}
| {
"content_hash": "4efc8c6a2b49f9c61b5d8cbbd831c6c2",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 59,
"avg_line_length": 35.6,
"alnum_prop": 0.6685393258426966,
"repo_name": "hilts-vaughan/webrtc-components",
"id": "62b1a37aa5e0a1e4cb0c0ee5ba8400ccbb6b15d7",
"size": "178... |
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.UI.Controls;
using SharpDX.XInput;
using System;
using Windows.UI.Xaml;
namespace XInputHelper
{
// Usage:
// Add namespace using
// xmlns:xinput="using:XInputHelper"
//
// Add inside SceneView:
// <xinput:XInputSceneController.Cont... | {
"content_hash": "4a7fed08065496ceebc3df8ed53d5913",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 203,
"avg_line_length": 39.60386473429951,
"alnum_prop": 0.5703830202488411,
"repo_name": "Esri/arcgis-runtime-demos-dotnet",
"id": "dc022f2fc6156d2e4ae0586645279515e2365667... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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 ... | {
"content_hash": "973a7697e44bd0cbf28e0bae1438e87e",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 204,
"avg_line_length": 43.16201117318436,
"alnum_prop": 0.5345586331866425,
"repo_name": "wso2/carbon-device-mgt-plugins",
"id": "0d8f8cbaac10a65c430dbb2a3a5084fc6fc2e230",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_31) on Fri Oct 05 17:19:53 PDT 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.examples.ExampleDriver (Hadoop 0.20.2-cdh3u5 API)
</TITLE>
<META NAM... | {
"content_hash": "dc146aa52b42f78bec6be8c4821e281c",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 223,
"avg_line_length": 41.875,
"alnum_prop": 0.618407960199005,
"repo_name": "baggioss/hadoop-cdh3u5",
"id": "ab0b105bf41c38fe6071b7862e86fabead8828d4",
"size": "6030",
... |
import unittest
from nova import crypto
from nova import exception
from nova import flags
from nova import log as logging
from nova import test
from nova.auth import manager
from nova.api.ec2 import cloud
from nova.auth import fakeldap
FLAGS = flags.FLAGS
LOG = logging.getLogger(__name__)
class user_generator(objec... | {
"content_hash": "cbd30d1f193582f166c846ba87e63196",
"timestamp": "",
"source": "github",
"line_count": 406,
"max_line_length": 79,
"avg_line_length": 46.73645320197044,
"alnum_prop": 0.5951515151515151,
"repo_name": "anbangr/trusted-nova",
"id": "6549d6e96cd5776be9e4d2c8f73dbbf81973fffc",
"size": ... |
static HWND g_hWnd = NULL;
static INT64 g_Time = 0;
static INT64 g_TicksPerSecond = 0;
static ImGuiMouseCursor g_LastMouseCursor = ImGuiMouseCursor_COUNT;
static bool g_HasGamepad = false;
static bool g_WantUpdateHasGamepad = true;
static... | {
"content_hash": "64b46cd4eddc9344b47570d3ed7e81d2",
"timestamp": "",
"source": "github",
"line_count": 820,
"max_line_length": 203,
"avg_line_length": 46.50365853658536,
"alnum_prop": 0.6702069074030368,
"repo_name": "aliascc/Arenal-Engine",
"id": "207e54fe25029e9354d81498269a6aa36fcf5e7b",
"size"... |
'use strict';
const gulp = require('gulp');
const path = require('path');
const tools = require('urbanjs-tools');
tools.tasks.tslint.register(gulp, 'tslint', {
configFile: path.join(__dirname, '../../tslint.json'),
extensions: ['.ts', '.tsx'],
files: 'index.ts'
});
| {
"content_hash": "7bced011cf00f24a563a4b5afade9e37",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 56,
"avg_line_length": 24.90909090909091,
"alnum_prop": 0.635036496350365,
"repo_name": "urbanjs/urbanjs-tools",
"id": "2ec69ada9160f0bd1dcaf0dd6ee0eda0ebbb1b62",
"size": "... |
CREATE OR REPLACE VIEW vacuum_progress AS
SELECT
p.pid,
clock_timestamp() - a.xact_start AS duration,
coalesce(wait_event_type ||'.'|| wait_event, 'f') AS waiting,
(CASE
WHEN a.query ~ '^autovacuum.*to prevent wraparound' THEN 'wraparound'
WHEN a.query ~ '^vacuum' THEN 'user'
EL... | {
"content_hash": "31006aa65b0b9496b2cafa00270b52e3",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 78,
"avg_line_length": 41,
"alnum_prop": 0.6371951219512195,
"repo_name": "bricklen/pg-scripts",
"id": "b32e5b2b0b8673adb316c3103705204e22e03d36",
"size": "1655",
"binary... |
/**
* Sugar method for returning the desired object at the end of a promise chain
* @param {any} object the item with which to resolve the promise chain
* @returns {function}
* @example
* var item = {
* prop: 2
* };
* Promise
* .resolve(item.prop)
* .then(resolveWith(item))
* .then(function(res) {
* ... | {
"content_hash": "42fd10e61e661475f56ec1b35feb5ac5",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 78,
"avg_line_length": 21.68,
"alnum_prop": 0.6309963099630996,
"repo_name": "ianwremmel/spark-js-sdk",
"id": "4d439dc9a2c2731acd7db45993cb6e0085be1b1d",
"size": "614",
"... |
<?php
namespace Produce\SitradocBundle\Util;
class consultas {
public static function comboTrabajador($cn, $filtro) {
$sql = "SELECT top 30 CODIGO_TRABAJADOR,(LTRIM(RTRIM(NOMBRES_TRABAJADOR))+' '+LTRIM(RTRIM(APELLIDOS_TRABAJADOR)))as TRABAJADOR, LTRIM(RTRIM(EMAIL))";
$sql.=" FROM db_general.jcar... | {
"content_hash": "986c4d5a217e2cecb1cfd623ca317cd3",
"timestamp": "",
"source": "github",
"line_count": 459,
"max_line_length": 324,
"avg_line_length": 49.40958605664488,
"alnum_prop": 0.6106089333744874,
"repo_name": "georgeunix/as",
"id": "3e8bf159c8db5f502c62226e15ae97a935d7888b",
"size": "22679... |
package com.hazelcast.client.impl.protocol.task.map;
import com.hazelcast.client.impl.protocol.ClientMessage;
import com.hazelcast.client.impl.protocol.codec.MapValuesWithPagingPredicateCodec;
import com.hazelcast.instance.Node;
import com.hazelcast.map.impl.query.QueryResultRow;
import com.hazelcast.nio.Connection;... | {
"content_hash": "73b9e7a358c50cf5700132a93f3b3b93",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 116,
"avg_line_length": 30.17142857142857,
"alnum_prop": 0.740530303030303,
"repo_name": "lmjacksoniii/hazelcast",
"id": "0d31e6a0fdbd8bb384bb7165fc1de48531bfa509",
"size":... |
package com.hyh.plg.activity;
import java.lang.ref.WeakReference;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* Created by tangdongwei on 2018/5/21.
*/
public class ActivityCachePool implements Map<Integer, IActivity> {
private static volatile Activit... | {
"content_hash": "1165fe040d79fda9355a3ca02e7951bc",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 85,
"avg_line_length": 23.824742268041238,
"alnum_prop": 0.61964517524881,
"repo_name": "EricHyh/FileDownloader",
"id": "88f253f26af0acb081d8788523d6909873c266f9",
"size": ... |
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Update password</div>
<div class="panel-body">
@if (session('update_password.status'))
<div class="alert alert-success">
<i class="fa fa-btn fa-check-ci... | {
"content_hash": "3f01602fb58653d15c5ab4a65a5cf444",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 120,
"avg_line_length": 46.59701492537314,
"alnum_prop": 0.44650864830237025,
"repo_name": "Letersecure/leter",
"id": "9d18b16a5091a3543ebb0e0bd6c49afe5074a4b1",
"size": "3... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.buffsftw.skatespots">
<!-- To auto-complete the email text field in the login form with the user's emails -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
... | {
"content_hash": "4fdaeb721cc6cfdb74506b942780171a",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 108,
"avg_line_length": 45.75925925925926,
"alnum_prop": 0.6543909348441926,
"repo_name": "AdamMarcus/SkateSpots",
"id": "97a9f28612c798aee00356d1005d0f168d08c5f8",
"size":... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reactive.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Refit; // InterfaceStubGenerator looks... | {
"content_hash": "8b94142304bfe66c590cc01ce282c13c",
"timestamp": "",
"source": "github",
"line_count": 2169,
"max_line_length": 695,
"avg_line_length": 36.10096818810512,
"alnum_prop": 0.574486290435871,
"repo_name": "PKRoma/refit",
"id": "bcf391f89ab1d7d30663e4a3acdef05c010eddaf",
"size": "78305"... |
package com.google.errorprone.bugpatterns.testdata;
import static com.google.common.util.concurrent.Futures.getChecked;
import static java.util.concurrent.TimeUnit.SECONDS;
import java.util.concurrent.Future;
/** Positive cases for {@link FuturesGetCheckedIllegalExceptionType}. */
public class FuturesGetCheckedIll... | {
"content_hash": "afa9093defc755ba3fd138e06084baf2",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 95,
"avg_line_length": 38.984848484848484,
"alnum_prop": 0.7749708511465215,
"repo_name": "google/error-prone",
"id": "3a8cd33365476b46b071fcd648ed31e86cfd2a33",
"size": "3... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Umbraco.Core.Macros
{
/// <summary>
/// Parses the macro syntax in a string and renders out it's contents
/// </summary>
internal class MacroTagParser
{
/// <summary>
/// This will accept a text block and seach/parse it f... | {
"content_hash": "d23daa52e76f2f21f08ad1df2421ecf1",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 111,
"avg_line_length": 37.10344827586207,
"alnum_prop": 0.6425030978934325,
"repo_name": "Myster/Umbraco-CMS",
"id": "ad4b18052857e251f1846c20506e85988ea5c4b3",
"size": "3... |
""" Manages the user oauth tokens for you.
This goes one level higher than the :mod:`oauth_helper` by taking care of the management. It will
track access tokens and refresh tokens for users and refresh the access tokens as needed for you.
It will handle all storage and retrieval work for you. The only task it can't do... | {
"content_hash": "770689d62dcfe305d034612d0b59110c",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 138,
"avg_line_length": 34.844086021505376,
"alnum_prop": 0.7167103841999691,
"repo_name": "beeftornado/google-oauth2-wrapper",
"id": "2b4ddd9d5518ebad683b0e6ea38de8e0bad9dd... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>rational: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "8f9ece62f0f96900790806c0c7bd1531",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 227,
"avg_line_length": 43.101190476190474,
"alnum_prop": 0.5608341389310869,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "e98d0e3bcc4f83c2214a9e3ef6e76203bc3a9bb1",... |
package com.alicode.game.dogedash.worlds;
import java.util.Iterator;
import com.alicode.game.dogedash.Assets;
import com.alicode.game.dogedash.DogeDashCore;
import com.alicode.game.dogedash.GamePoints;
import com.alicode.game.dogedash.Statics;
import com.alicode.game.dogedash.models.Background;
import com.alicode.gam... | {
"content_hash": "95fc067a8baf1af25c25661463f2e079",
"timestamp": "",
"source": "github",
"line_count": 594,
"max_line_length": 170,
"avg_line_length": 27.252525252525253,
"alnum_prop": 0.7007659995058068,
"repo_name": "Mazinkam/DogeDash",
"id": "f29a4e7bcda65048c79420a6764754aa2fe8ba09",
"size": "... |
"""OLECF plugin related functions and classes for testing."""
import pyolecf
from plaso.containers import sessions
from plaso.storage import fake_storage
from tests.parsers import test_lib
class OleCfPluginTestCase(test_lib.ParserTestCase):
"""The unit test case for OLE CF based plugins."""
def _ParseOleCfFil... | {
"content_hash": "a58bca5925e4af3d65f0ad096619d903",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 78,
"avg_line_length": 31.385964912280702,
"alnum_prop": 0.6970374510899944,
"repo_name": "dc3-plaso/plaso",
"id": "948b0afe27a7ca7519f399c967a7cc767a066a74",
"size": "1813... |
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spr... | {
"content_hash": "1164e1d566e669dd69cee507bfa3f003",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 339,
"avg_line_length": 54.47457627118644,
"alnum_prop": 0.7230864965774736,
"repo_name": "vivantech/kc_fixes",
"id": "d4c98cc46bab5b0aeb9d46c8026600413535b68e",
"size": "3... |
#include <AVSCommon/Utils/Logger/Logger.h>
#include "BlueZ/BlueZConstants.h"
#include "BlueZ/MediaEndpoint.h"
// https://github.com/Arkq/bluez-alsa
// Version 1.2.0
#include <bluez-alsa/a2dp-rtp.h>
#include <poll.h>
namespace alexaClientSDK {
namespace bluetoothImplementations {
namespace blueZ {
/**
* General e... | {
"content_hash": "bf860bcbd1dd0b4830293a19a112e017",
"timestamp": "",
"source": "github",
"line_count": 593,
"max_line_length": 120,
"avg_line_length": 39.67116357504216,
"alnum_prop": 0.6100743889479278,
"repo_name": "alexa/avs-device-sdk",
"id": "bdbf127699dde6ebf099dfd82570e25070ed0cab",
"size":... |
package org.ripple.bouncycastle.math.ec.custom.sec;
import java.math.BigInteger;
import org.ripple.bouncycastle.math.ec.ECCurve;
import org.ripple.bouncycastle.math.ec.ECFieldElement;
import org.ripple.bouncycastle.math.ec.ECPoint;
import org.ripple.bouncycastle.util.encoders.Hex;
public class SecP256R1Curve extends... | {
"content_hash": "21184fc1afb3984039ea926b20af6878",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 119,
"avg_line_length": 27.675,
"alnum_prop": 0.6869918699186992,
"repo_name": "cping/RipplePower",
"id": "ffbafaa770b7912a24e486cb065dc2abc097eaa4",
"size": "2214",
"bin... |
class CefRequestHandlerCToCpp
: public CefCToCpp<CefRequestHandlerCToCpp, CefRequestHandler,
cef_request_handler_t> {
public:
explicit CefRequestHandlerCToCpp(cef_request_handler_t* str)
: CefCToCpp<CefRequestHandlerCToCpp, CefRequestHandler,
cef_request_handler_t>(str) {}
virtual ~CefR... | {
"content_hash": "0c37f0eb9bda727cc89c2c52945dc2e2",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 78,
"avg_line_length": 49.63157894736842,
"alnum_prop": 0.7661717921527041,
"repo_name": "hernad/CEF1",
"id": "e67127e5415ebcef599125aa07719646e28cd56e",
"size": "2896",
... |
{% extends "layout.html" %}
{% block page_title %}
Apprenticeships
{% endblock %}
{% block content %}
<style>
.people-nav a {
{% include "includes/nav-on-state-css.html" %}
}
</style>
<main id="content" role="main">
{% include "includes/phase_banner_beta.html" %}
{% include "includes/secondary-nav-provid... | {
"content_hash": "31397c5e5ee26d32d2bd065eaf9c17f6",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 182,
"avg_line_length": 29.159235668789808,
"alnum_prop": 0.581039755351682,
"repo_name": "SkillsFundingAgency/das-alpha-ui",
"id": "53f7012153b39e1aa1eaf85bc3ac8768c2e4de0c... |
var fs = require('fs-extra');
var when = require('when');
var nodeFn = require('when/node/function');
var keys = require('when/keys');
var fspath = require("path");
var mkdirp = fs.mkdirs;
var log = require("../log");
var promiseDir = nodeFn.lift(mkdirp);
var initialFlowLoadComplete = false;
var settings;
var flow... | {
"content_hash": "52ae5cc27616b58ba72eb913f0430a95",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 157,
"avg_line_length": 32.28045325779037,
"alnum_prop": 0.48793330408073715,
"repo_name": "redconnect-io/node-red",
"id": "08dda1b4bca432d32d031f0a82e3b43b85333941",
"siz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.