text stringlengths 2 1.04M | meta dict |
|---|---|
require('medium-editor/dist/css/medium-editor.css');
require('medium-editor/dist/css/themes/default.css');
require('./app.css');
var React = require('react');
var Editor = require('../lib/editor');
var App = React.createClass({
getInitialState() {
return {text: 'Fusce dapibus, tellus ac cursus commodo'}
},
... | {
"content_hash": "577f8d58fd5e0986ebcacd2a01364cc3",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 62,
"avg_line_length": 23.804878048780488,
"alnum_prop": 0.5594262295081968,
"repo_name": "idream3/react-medium-editor",
"id": "2bfcd7082ab9c76cf9dc66ba67cc3874982ddb1d",
"... |
import React from 'react';
import PropTypes from 'prop-types';
// Components
import Wysiwyg from 'components/shared/Wysiwyg';
import Dashboard from 'components/shared/Dashboard';
class EditDashboard extends React.Component {
constructor(props) {
super(props);
this.state = {
topContent: props.topConten... | {
"content_hash": "4b731131b6bc3882aef5876fd63e923c",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 143,
"avg_line_length": 31.962962962962962,
"alnum_prop": 0.6645422943221321,
"repo_name": "Vizzuality/forest-atlas-landscape-cms",
"id": "95bc11040cf8fcf20c0539eb6a77ae8301a... |
package org.rioproject.bean;
import java.lang.annotation.*;
/**
* The SetConfiguration annotation is used on a method in a bean to have it's
* configured parameters injected. The method on which the
* SetConfiguration annotation is applied MUST fulfill the following requirements:
*
* <ul>
* <li>The method must... | {
"content_hash": "620d03e408e84f91a4936dcb5c93dcaa",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 98,
"avg_line_length": 30.12,
"alnum_prop": 0.7436918990703851,
"repo_name": "khartig/assimilator",
"id": "a675437d9a7b3a76aa192a1454e4aa9d0ec08548",
"size": "1368",
"bin... |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace HarshPoint.Tests.Provisioning.Implementation
{
public class NestedResultsProofOfConcept
{
[Fact]
public void Inner_grouping()
{
/*
Step1: G... | {
"content_hash": "0e93455c29d155f20576085eb3554d35",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 121,
"avg_line_length": 39.97260273972603,
"alnum_prop": 0.4671007539410555,
"repo_name": "HarshPoint/HarshPoint",
"id": "cbf6bdf13439e1496c0bb87c9d9043b7307d9abf",
"size":... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.storage.blob.implementation.util;
import com.azure.core.credential.TokenCredential;
import com.azure.core.http.HttpClient;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineB... | {
"content_hash": "f83a9651b9aeee78382f97b1fec3d790",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 119,
"avg_line_length": 44.88068181818182,
"alnum_prop": 0.7249018863147234,
"repo_name": "navalev/azure-sdk-for-java",
"id": "31bcf0dc84ec5ed8dd4fd892f3ca7b4608e497a4",
"... |
using System;
namespace Microsoft.Scripting.Runtime {
/// <summary>
/// This attribute marks a parameter that is not allowed to be null.
/// It is used by the method binding infrastructure to generate better error
/// messages and method selection.
/// </summary>
[AttributeUsage(AttributeTarge... | {
"content_hash": "634fcb6d9b611a7d71fb886d4ef717c3",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 103,
"avg_line_length": 40.95238095238095,
"alnum_prop": 0.7058139534883721,
"repo_name": "IronLanguages/dlr",
"id": "9401b741149cce947a49b8767fd8804824233970",
"size": "10... |
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <upm_utilities.h>
#include <guvas12d.h>
bool shouldRun = true;
// analog voltage, usually 3.3 or 5.0
#define GUVAS12D_AREF 5.0
void sig_handler(int signo)
{
if (signo == SIGINT)
shouldRun = false;
}
int main()
{
signal(SIGINT, ... | {
"content_hash": "ba9039bacd5637299fb3c99b479d0c9b",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 69,
"avg_line_length": 19.940298507462686,
"alnum_prop": 0.5763473053892215,
"repo_name": "g-vidal/upm",
"id": "9c984f43395294c93548ecf303d2ae7e8178e51b",
"size": "2503",
... |
<html>
<head>
<title>Samling</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="public/css/bootstrap.css" rel="stylesheet">
<link href="public/css/samling.css" rel="stylesheet">
<script src... | {
"content_hash": "ab851660a269be1703c93e7f8a78088e",
"timestamp": "",
"source": "github",
"line_count": 322,
"max_line_length": 178,
"avg_line_length": 49.06832298136646,
"alnum_prop": 0.5401898734177215,
"repo_name": "capriza/samling",
"id": "e1160f0a7988764a3438e83450455672b96fd536",
"size": "158... |
package com.xjy.op.service;
import com.xjy.op.dao.SlideDao;
import com.xjy.op.dto.SlideDto;
import com.xjy.op.dto.SlidePartDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class SlideService {
@Autowired
private Sli... | {
"content_hash": "d95aef1ec0daea7accf3aed231ad1ed2",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 62,
"avg_line_length": 26.533333333333335,
"alnum_prop": 0.7035175879396985,
"repo_name": "xjyaikj/OnlinePreparation",
"id": "65ca8c21eab0c25a5205e196a416677489a1b09e",
"si... |
<?php
namespace Nietonfir\Google\ReCaptcha;
use Nietonfir\Google\ReCaptcha\Api\RequestDataInterface;
interface ReCaptchaInterface
{
/**
* Perform the reCAPTCHA validation with the supplied request data
* and return a response object for further processing.
*
* @param RequestDataInterface $re... | {
"content_hash": "de2826197060f4fd8aa01958a032d202",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 75,
"avg_line_length": 26.296296296296298,
"alnum_prop": 0.6985915492957746,
"repo_name": "nietonfir/GoogleReCaptcha",
"id": "9bebe31fefb8d236f15a7bbaec4ce582c3e426b2",
"si... |
package reactor.rabbitmq;
/**
*
*/
public class ReactorRabbitMqException extends RuntimeException {
public ReactorRabbitMqException() {
}
public ReactorRabbitMqException(String message) {
super(message);
}
public ReactorRabbitMqException(String message, Throwable cause) {
sup... | {
"content_hash": "84a3d998266c22f7f8115e6bc32c92aa",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 125,
"avg_line_length": 22.678571428571427,
"alnum_prop": 0.710236220472441,
"repo_name": "mailtous/reactor-rabbitmq",
"id": "4e9fc4a441f221be0b74be132c1a70faed8809d6",
"si... |
from wires import *
from models.post import Post
from models.user import User
from models.comment import Comment
from pdb import set_trace as debug
def index(parameters):
template = open('./templates/posts/index.html').read()
posts = Post.all(Post.cxn, "posts")
post_template = open('./templates/posts/sho... | {
"content_hash": "0cf7837dd7205daccc950dd69cad7bb5",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 261,
"avg_line_length": 47.80882352941177,
"alnum_prop": 0.6748692709935404,
"repo_name": "zackmdavis/Wires",
"id": "d6510d865568a586caac0046dd29735e2680f74f",
"size": "325... |
package com.helion3.prism.configuration;
import com.helion3.prism.configuration.category.DefaultCategory;
import com.helion3.prism.configuration.category.EventCategory;
import com.helion3.prism.configuration.category.GeneralCategory;
import com.helion3.prism.configuration.category.LimitCategory;
import com.helion3.p... | {
"content_hash": "46b0ad9c5d0e6edbc0a367339f7a2799",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 76,
"avg_line_length": 29.38,
"alnum_prop": 0.7562968005445881,
"repo_name": "prism/Prism",
"id": "dfbec9220a2f807fc5c78595cf9592cf0064a70c",
"size": "2672",
"binary": fa... |
#import "RCTImageDownloader.h"
#import "RCTImageLoader.h"
#import "RCTImageUtils.h"
#import "RCTLog.h"
#import "RCTNetworking.h"
#import "RCTUtils.h"
@implementation RCTImageDownloader
{
NSURLCache *_cache;
dispatch_queue_t _processingQueue;
}
@synthesize bridge = _bridge;
RCT_EXPORT_MODULE()
- (instancetype... | {
"content_hash": "e2fbd837ab9204020504a3b6e8e586e9",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 175,
"avg_line_length": 34.920212765957444,
"alnum_prop": 0.6591012947448591,
"repo_name": "yimouleng/react-native",
"id": "f110bd628cdb0e99fdcf15e0ffe09fc799ea4aa8",
"siz... |
from django.db.backends import BaseDatabaseIntrospection
import pyodbc as Database
SQL_AUTOFIELD = -777555
class DatabaseIntrospection(BaseDatabaseIntrospection):
# Map type codes to Django Field types.
data_types_reverse = {
SQL_AUTOFIELD: 'AutoField',
Database.SQL_BIGINT: ... | {
"content_hash": "b2622595ce33b48d92147e0efe70ffee",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 124,
"avg_line_length": 45.26923076923077,
"alnum_prop": 0.6302949387061536,
"repo_name": "chuck211991/django-pyodbc",
"id": "128a77cd44b2983e50b4ce0ab16790b9b73abfae",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<g:element xmlns:g="http://www.esri.com/geoportal/gxe"
xmlns:h="http://www.esri.com/geoportal/gxe/html"
g:extends="$base/schema/gco/xtn/Wrapped_BasicPropertyType.xml">
<g:body>
<g:element g:minOccurs="1" g:maxOccurs="1"
g:extends="$base/x... | {
"content_hash": "80012000f5cc20635a1f803055b3f5e4",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 81,
"avg_line_length": 43.55555555555556,
"alnum_prop": 0.6377551020408163,
"repo_name": "Esri/geoportal-server",
"id": "7e6fa4f43918b3b35d13f61ed19a63fa2c9c6261",
"size": "... |
#import "MSGraphODataEntities.h"
@implementation MSGraphUserOwnedObjectsCollectionWithReferencesRequestBuilder : MSCollectionRequestBuilder
- (MSGraphUserOwnedObjectsCollectionWithReferencesRequest*) request
{
return [self requestWithOptions:nil];
}
- (MSGraphUserOwnedObjectsCollectionWithReferenc... | {
"content_hash": "4b3ffefb10d63a13cd78dfad3b6d3ff2",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 164,
"avg_line_length": 39.7037037037037,
"alnum_prop": 0.7826492537313433,
"repo_name": "shridharmalimca/Shridhar.github.io",
"id": "aea37f3e0a06c29cb4ab29405eee3ef62f0b9b8c... |
<?php namespace Database\Tester\Models;
use Model;
class Post extends Model
{
/**
* @var string The database table used by the model.
*/
public $table = 'database_tester_posts';
/**
* @var array Guarded fields
*/
protected $guarded = ['*'];
/**
* @var array Fillable fie... | {
"content_hash": "9af8e76b05f5c92c59c5b7a233306eb8",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 120,
"avg_line_length": 19.274193548387096,
"alnum_prop": 0.5497907949790795,
"repo_name": "wintersunsunsun/yamada",
"id": "f583f303ff5c260f27c6a47aaa7d8860a72e23c2",
"siz... |
class Mysql # :nodoc: all
class Result # :nodoc: all
def blank?
0 == num_rows
end
alias_method :next, :fetch_row
def each_row
each do |row|
yield(row, 0)
end
end
def first_value
val = fetch_row[0]
free
return val
end
alias_method :close, :free
def fields
fetch... | {
"content_hash": "cb03856f41136e664dd33fa15bef1758",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 39,
"avg_line_length": 12.620689655172415,
"alnum_prop": 0.5901639344262295,
"repo_name": "oxywtf/og",
"id": "8331f99060d2a55b05eb8e2f4ed80cfc35c48cde",
"size": "456",
"b... |
package unit.com.bitdubai.fermat_dmp_plugin.layer.transaction.outgoing_extra_user.developer.bitdubai.version_1.structure.OutgoingExtraUserTransactionProcessorAgent;
import com.bitdubai.fermat_api.layer.dmp_basic_wallet.bitcoin_wallet.interfaces.BitcoinWalletManager;
import com.bitdubai.fermat_pip_api.layer.pip_platfor... | {
"content_hash": "66d24d508ebc3c715cece4ca355ba400",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 164,
"avg_line_length": 32.935483870967744,
"alnum_prop": 0.7928501469147894,
"repo_name": "fvasquezjatar/fermat-unused",
"id": "c44dc52c624bf5ac899b36ada9edac34857e2e1d",
... |
package roachpb
import (
"bytes"
"encoding/binary"
"encoding/hex"
"fmt"
"hash"
"hash/crc32"
"math"
"math/rand"
"sort"
"strconv"
"sync"
"time"
"unicode"
"github.com/biogo/store/interval"
"github.com/gogo/protobuf/proto"
"github.com/pkg/errors"
"gopkg.in/inf.v0"
"github.com/cockroachdb/cockroach/stor... | {
"content_hash": "20de9ae89ada282fb36e82a5df919f74",
"timestamp": "",
"source": "github",
"line_count": 1036,
"max_line_length": 106,
"avg_line_length": 32.197876447876446,
"alnum_prop": 0.6969151902149474,
"repo_name": "arjun4084346/cockroach",
"id": "c24719e3d3b2712173502f70dc55202cc50aa168",
"si... |
package peas_test
import (
"errors"
"io/ioutil"
"os"
"code.cloudfoundry.org/guardian/gardener"
"code.cloudfoundry.org/guardian/rundmc/peas"
"code.cloudfoundry.org/guardian/rundmc/peas/peasfakes"
"code.cloudfoundry.org/guardian/rundmc/peas/processwaiter/processwaiterfakes"
"code.cloudfoundry.org/lager/lagertes... | {
"content_hash": "2f54fc401f297ab063e4c6cbd66ce466",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 87,
"avg_line_length": 29.32286995515695,
"alnum_prop": 0.6968955497782535,
"repo_name": "cloudfoundry-incubator/guardian",
"id": "768a84ac42c910a713a4f5eb33c6054eeedaf099",... |
using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
using DocStore.Business.Util;
namespace DocStore.Business
{
/// <summary>
/// Active document types (name value list).<br/>
/// This is a generated <see cref="DocTypeNVL"/> business object.
/// </... | {
"content_hash": "cbda3892195e72b1333c3fb0b5411711",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 97,
"avg_line_length": 29.71345029239766,
"alnum_prop": 0.503247392245621,
"repo_name": "CslaGenFork/CslaGenFork",
"id": "5bf45a99c9304c765b5b20a61f74e5e65e761f57",
"size"... |
package org.springframework.security.web.server.authentication.logout;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import reactor.core.publisher.Mono;
import org.springframework.core.log.LogMessage;
import org.springframework.http.HttpMethod;
import org.springframework.secur... | {
"content_hash": "8bf15bd21a7a63c1fb977383e7d9e187",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 114,
"avg_line_length": 42.84615384615385,
"alnum_prop": 0.8153372659656322,
"repo_name": "djechelon/spring-security",
"id": "5f888db0f9417d65e80be1e480658f0dd634378f",
"si... |
$('#form_presupuestos').validate({
errorElement: 'span', //default input error message container
errorClass: 'help-inline', // default input error message class
focusInvalid: false, // do not focus the last invalid input
ignore: "",
rules: {
presupuesto_id: {
required: true
... | {
"content_hash": "2380cec1af8b24f5f9905137164fa372",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 126,
"avg_line_length": 33.074074074074076,
"alnum_prop": 0.5615901455767077,
"repo_name": "zentraedi/vialda-ci3",
"id": "57dbb830499d6fefe638e70f51bf4cbbd903454c",
"size":... |
.custom-navbar {
border-radius: 0 !important;
border: none !important;
margin-bottom: 0 !important;
position: absolute !important;
width: 100% !important;
z-index: 10 !important;
}
.custom-navbar ul{
text-align: right;
margin-right: -6vw;
float: right;
}
.custom-navbar ul li{
display: inlin... | {
"content_hash": "7cfe7d585e2197195f5927122cfaa917",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 48,
"avg_line_length": 19.510204081632654,
"alnum_prop": 0.647489539748954,
"repo_name": "ahsan-virani/react-gcd-portal",
"id": "0602a55c82656d34469427556750fe4cc88cea6e",
... |
require 'spec_helper'
describe Eve::API::Services::Eve do
context "#conquerable_station_list" do
subject { mock_service(:eve, :conquerable_station_list).outposts }
it "follows expected structure" do
subject.should behave_like_rowset("stationID,stationName,stationTypeID,solarSystemID,corporationID,corp... | {
"content_hash": "b027e7e93080b40269f78a29f71dff4f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 122,
"avg_line_length": 32,
"alnum_prop": 0.7556818181818182,
"repo_name": "sinisterchipmunk/eve",
"id": "8f546ee5cb6c957a8bdf030af5b7e18639cbd7ac",
"size": "352",
"binar... |
class Room < ActiveRecord::Base
end
| {
"content_hash": "d29b8c377ebf6b47b34dd27cdc80c123",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 31,
"avg_line_length": 18,
"alnum_prop": 0.7777777777777778,
"repo_name": "joshjeong/playlist.en-sinatra",
"id": "b9632b1cb7b9fa88777972e4e1c7ca26e6fdc72d",
"size": "36",
... |
/*
* Maps (thread-safe).
*
* Maps do not allow duplicate items in the domain. Adding a mapping for an
* item already in the domain overwrites the old mapping for that item.
*/
#ifndef COLLECTIONS__MAP_HH
#define COLLECTIONS__MAP_HH
#include "collections/abstract/collection.hh"
#include "collections/abstract/map.... | {
"content_hash": "263b991fdfc1bd071af843a2c7d9863f",
"timestamp": "",
"source": "github",
"line_count": 769,
"max_line_length": 98,
"avg_line_length": 25.94408322496749,
"alnum_prop": 0.6013733647436219,
"repo_name": "CVML/rcnn-depth",
"id": "12b3c6cc38985fde679fdaf198bac15aa21bcbd3",
"size": "1995... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.Identity
{
internal interface IFileSystemService
{
bool FileExists(string path);
string ReadAllText(string path);
}
}
| {
"content_hash": "452a7aa1d5e5b346b634d63937fbd4d7",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 61,
"avg_line_length": 23.636363636363637,
"alnum_prop": 0.6961538461538461,
"repo_name": "hyonholee/azure-sdk-for-net",
"id": "a6b2366cd9d7f079f0b8abba516c1cc987e6b730",
"... |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples uri="http://www.lds.org/vrl/specific-people/latter-day-figures/brimhall-preston" xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/vrl/specific-people/latter-day-figures/brimhall-preston</sem:subject>
<sem:predicate>htt... | {
"content_hash": "94627e886243cdcf13242f3ce57e22d0",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 137,
"avg_line_length": 60,
"alnum_prop": 0.7222222222222222,
"repo_name": "freshie/ml-taxonomies",
"id": "9771dbf308b97d6cdfad84fd366adc35100b1b55",
"size": "1080",
"bin... |
<APIManager>
<!-- JNDI name of the data source to be used by the API publisher, API store and API
key manager. This data source should be defined in the master-datasources.xml file
in conf/datasources directory. -->
<DataSourceName>jdbc/WSO2AM_DB</DataSourceName>
<!-- This parameter is us... | {
"content_hash": "ca3b09765842168dfc5c085e150d128e",
"timestamp": "",
"source": "github",
"line_count": 443,
"max_line_length": 158,
"avg_line_length": 56.207674943566595,
"alnum_prop": 0.6552610441767068,
"repo_name": "thilinicooray/product-apim",
"id": "b5ad9446322f4bd9a0b118b74981932046a6e34f",
... |
<?php
namespace Traction\Test\Request;
use Traction\Request\PromotionGroupReport;
class PromotionGroupReportTest extends \PHPUnit_Framework_TestCase
{
public function testPackable()
{
$this->assertInstanceOf('Traction\Request\PackableInterface', new PromotionGroupReport);
}
public function t... | {
"content_hash": "a8ab75e4ec613dd61bb0cb402eeddc9d",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 99,
"avg_line_length": 25.26923076923077,
"alnum_prop": 0.6971080669710806,
"repo_name": "noetix/traction-php",
"id": "b6c1447244801b9f73127f1ea914df04b35c7d53",
"size": "6... |
<bill session="110" type="h" number="3795" updated="2009-01-09T00:48:43-05:00">
<status><introduced date="1191988800" datetime="2007-10-10"/></status>
<introduced date="1191988800" datetime="2007-10-10"/>
<titles>
<title type="short" as="introduced">You Were There, You Get Care Act of 2007</title>
<title type="... | {
"content_hash": "69dbea9329da02e8667ca7297f88446e",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 832,
"avg_line_length": 64.91176470588235,
"alnum_prop": 0.7680108744902583,
"repo_name": "hashrocket/localpolitics.in",
"id": "9692e59150f9104f22b823b2c2c6ad4b7d95e85c",
"... |
module MnAuthorizers
class TestAuthorizer
def self.for_create
'Create Authorizer in Engine. '
end
def test_method
'instance method in engine. '
end
end
end
| {
"content_hash": "775f5a5b59ce014f0ae424837d5fb071",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 39,
"avg_line_length": 17.363636363636363,
"alnum_prop": 0.6544502617801047,
"repo_name": "shobhit-m/meta_notification",
"id": "88f35bb47aaa6c92f83531ca8d1b9651c7b99ebf",
"... |
package com.example.friendlybeijing.Utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Bitmap.CompressFormat;
import android.os.Environment;
p... | {
"content_hash": "dfadaf8193950222315cc2cbe7c9f301",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 101,
"avg_line_length": 29.235294117647058,
"alnum_prop": 0.7565392354124748,
"repo_name": "lsmtty/FriendlyBeijing",
"id": "f50f07a7e31588764f44457ff477f6559208fc54",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentAssertions;
using Newtonsoft.Json.Linq;
namespace CSharpLiteWriterUnitTests
{
public static class ObjectExtensions
{
public static JObject ToJObject(this object @object)
{
return... | {
"content_hash": "f6f5e620e304c8b803f7e79d78e4f839",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 145,
"avg_line_length": 35.94174757281554,
"alnum_prop": 0.6121015667206915,
"repo_name": "v-am/Vipr",
"id": "f77f6d8cbc513592aebad6c3f55c117c50a3f88a",
"size": "3704",
... |
<?php
defined('_JEXEC') or die;
// Include the component HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.formvalidation');
// Load chosen.css
JHtml::_('formbehavior.chosen', 'select');
// Get the form fieldsets.
$fieldsets = $this->form->getFieldsets();
?>
<script type="t... | {
"content_hash": "3eeb854fb8b0773a784ce40ce8bd3571",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 232,
"avg_line_length": 33.96923076923077,
"alnum_prop": 0.6259057971014492,
"repo_name": "OscarMesa/ascolsa",
"id": "afe7d95599c80969db495c859a9685d760c26796",
"size": "24... |
<?php
namespace Tests\AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/fr/');
$container = $client->getCon... | {
"content_hash": "6d2c3f6fb4aa876b483175c7ab85ca1b",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 129,
"avg_line_length": 34.11764705882353,
"alnum_prop": 0.646551724137931,
"repo_name": "jpitard/my_first_symfony",
"id": "f0405d0b37a80accc682745880acd7f0db947a91",
"size... |
import List from "src/dataTypes/lists/List";
Polygon3D.prototype = new List();
Polygon3D.prototype.constructor = Polygon3D;
/**
* @classdesc Polygon3D brings the {@link Polygon} concept into three
* dimensions through the use of {@link Point3D}.
*
* @description Creates a new Polygon3D.
* @constructor
* @catego... | {
"content_hash": "73b305399eff82a6ad4e3e21be5699db",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 69,
"avg_line_length": 23.06896551724138,
"alnum_prop": 0.7115097159940209,
"repo_name": "fmacias64/moebio_framework",
"id": "5a478629368b596aeccdd48cdd5663cbbccedb6c",
"si... |
<?php
/* @WebProfiler/Profiler/toolbar_item.html.twig */
class __TwigTemplate_1c73766759537d650dd26c477bda6731e6ec9f9b41b3ac48a5306d9f9900374b extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks =... | {
"content_hash": "2ec3e67703d5b25363c5d7b962a3b8e4",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 366,
"avg_line_length": 58.79381443298969,
"alnum_prop": 0.6379098719971945,
"repo_name": "Salimghb/Symfony_OC",
"id": "749e42386b16457d69274308904296e1a8ef9550",
"size": "... |
<?php
class frameworkError
{
private $error_types =
array(
1 => array('name' => 'Database Connection Error', 'report' => true),
2 => array('name' => 'Framework Usage Error', 'report' => false),
3 => array('name' => 'MySQL Error', 'report' => true)
);
protecte... | {
"content_hash": "f3f1d977c14a62b5197952975b0d1d47",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 202,
"avg_line_length": 37.42574257425743,
"alnum_prop": 0.5264550264550265,
"repo_name": "imphatic/webapplight",
"id": "d335a6f3be921b840c2efed1b8b4d323d37654de",
"size":... |
<?php
class Google_Service_Vault_DriveOptions extends Google_Model
{
public $includeTeamDrives;
public $versionDate;
public function setIncludeTeamDrives($includeTeamDrives)
{
$this->includeTeamDrives = $includeTeamDrives;
}
public function getIncludeTeamDrives()
{
return $this->includeTeamDriv... | {
"content_hash": "c2b656fe9b2d097914caf3e4ed8ff83e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 60,
"avg_line_length": 19.92,
"alnum_prop": 0.7228915662650602,
"repo_name": "philnewman/scoutbook",
"id": "43a489284bf2be6ac2c100e7458b0e7c01102094",
"size": "1088",
"bi... |
<?php
/**
* Afrikaans language file
*
* @author Shaun Adlam <ashaun@vodamail.co.za>
*/
$this->language = array(
'clear_date' => 'Maak datum skoon',
'csrf_detected' => 'Daar was "n probleem met jou voorlegging ! <br> Moontlike oorsake kan wees dat die voorlegging te lank geneem het , of dit word dubb... | {
"content_hash": "2240224b7638d0ad1699f26376aa3e1e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 199,
"avg_line_length": 41.84,
"alnum_prop": 0.6080305927342257,
"repo_name": "marti3961/cwa",
"id": "6be35adc1d27b876175598907fe26c829586a345",
"size": "1046",
"binary":... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="dpl-info" content="status=complete">
<title>手风琴</title>
<link href="../../Controls/Core/assets/styles/Base.css" rel="stylesheet" type="text/css">
<link href="../../Controls/Tab/assets/styles/Accordion.css" rel="stylesheet" typ... | {
"content_hash": "51a8a7d34d75d942f797ecc0191c4842",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 199,
"avg_line_length": 44.8,
"alnum_prop": 0.5357142857142857,
"repo_name": "jplusui/jplusui.github.com",
"id": "2b712bd6d6d4271a3d82152a8c2d52567ba5ff14",
"size": "4344",... |
namespace sdm {
class Subgrad_method : virtual public PrimalSolver {
public:
Subgrad_method(const std::string &train_libsvm_format, const double &c = 1.0,
const double &stpctr = 1e-128,
const unsigned int &max_iter = 100);
Subgrad_method(const std::string &train_libsvm_format,
... | {
"content_hash": "d9dde95244a173b7cfa61321c865e5d5",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 79,
"avg_line_length": 33.32692307692308,
"alnum_prop": 0.5891517599538373,
"repo_name": "takeuchi-lab/RPCVELB",
"id": "ba2c1a8d811587697f2553cb79853f63326d5472",
"size": "... |
package com.amazonaws.services.kms.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.kms.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import static com.fasterxml.jackson.core.JsonToken.*;
/**
* RetireG... | {
"content_hash": "f65cb1216abb13c27bb20a2d64d989f5",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 116,
"avg_line_length": 30.03030303030303,
"alnum_prop": 0.7739656912209889,
"repo_name": "dagnir/aws-sdk-java",
"id": "342f6dcbe7be906d044a0ede1bc54ea0f1658d88",
"size": "... |
/*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is distributed in the... | {
"content_hash": "d3383c5eba667da4c139e5d2e1f74041",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 104,
"avg_line_length": 39.5792349726776,
"alnum_prop": 0.7646003037415435,
"repo_name": "xeddmc/cpp-ethereum",
"id": "f6c43c57a800d4ea1aeb4d14e46113e77c9d713d",
"size": "... |
.class Lcom/android/internal/policy/impl/sec/TickerWidget$9;
.super Ljava/lang/Object;
.source "TickerWidget.java"
# interfaces
.implements Lcom/android/internal/policy/impl/sec/TickerSlidingDrawer$OnDrawerCloseListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/android/in... | {
"content_hash": "ece3ac7c425646a0ae154e02a2a48b61",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 304,
"avg_line_length": 46.78395061728395,
"alnum_prop": 0.7755640585829265,
"repo_name": "baidurom/devices-n7108",
"id": "d414d7983d0f8d7c99bb0e4399fe8b27b35876ff",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Tue Nov 06 09:34:23 CST 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.e... | {
"content_hash": "a4dda2fcb5da144fdb39d8e038a55177",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 173,
"avg_line_length": 40.23931623931624,
"alnum_prop": 0.6265930331350892,
"repo_name": "yayaratta/TP6_MVC",
"id": "b0f31f4a2c2f1dce15172d60cb41f975ac0a5657",
"size": "4... |
package mblog.core.persist.dao;
import java.util.Collection;
import java.util.List;
import mblog.base.lang.EnumPrivacy;
import mblog.core.data.Post;
import mblog.core.persist.entity.PostPO;
import mtons.modules.persist.BaseRepository;
import mtons.modules.pojos.Paging;
/**
* @author langhsu
*
*/
public interface... | {
"content_hash": "826381826fcdbcc30561025719987369",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 80,
"avg_line_length": 21.10909090909091,
"alnum_prop": 0.7131782945736435,
"repo_name": "alsolang/mblog",
"id": "d59aefd27c1d75459efd05eff882db87d614d0f6",
"size": "1505",... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | {
"content_hash": "454279b01f617422363e1ddb2c0e83da",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 87,
"avg_line_length": 28.833333333333332,
"alnum_prop": 0.7167630057803468,
"repo_name": "mbrookes/material-ui",
"id": "f86c93b66552cffafb7698e8e5109da2db9a3611",
"size": ... |
ennaji
| {
"content_hash": "8622fef75eb55266d8d99ed496c6cb30",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 6,
"avg_line_length": 7,
"alnum_prop": 0.8571428571428571,
"repo_name": "ENNAJI12/ennaji",
"id": "4a2866143475b4e9256c49e4fd7a2e934964d8fc",
"size": "16",
"binary": false,... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis
{
internal partial struct SymbolKey
{
private static class Prope... | {
"content_hash": "9707f49e380d29f240b52f152dfbc98a",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 161,
"avg_line_length": 44.827586206896555,
"alnum_prop": 0.5842307692307692,
"repo_name": "natidea/roslyn",
"id": "d4a2dc1091188a3f89cd37940e802b48f7be6547",
"size": "2602... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_27) on Thu Jan 23 20:13:24 EST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Message (Lucene 4.6... | {
"content_hash": "20e2d888e00eaef27bcbe6779582ea6c",
"timestamp": "",
"source": "github",
"line_count": 267,
"max_line_length": 369,
"avg_line_length": 38.46441947565543,
"alnum_prop": 0.6337877312560857,
"repo_name": "OrlandoLee/ForYou",
"id": "0f2e75f2a7dbb9ca4ea50c0000294a0f0358604a",
"size": "1... |
package com.zimbra.client;
import com.zimbra.common.service.ServiceException;
import com.zimbra.common.soap.Element;
import com.zimbra.common.soap.MailConstants;
import com.zimbra.common.soap.VoiceConstants;
import com.zimbra.client.event.ZModifyEvent;
import org.json.JSONException;
public class ZCallHit implements ... | {
"content_hash": "78520f542270545f9e8a7c3bb365db26",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 133,
"avg_line_length": 30.634146341463413,
"alnum_prop": 0.6636146496815286,
"repo_name": "nico01f/z-pec",
"id": "0726dcf240c0de949a0fb6e4f9102a5910490e01",
"size": "3067"... |
import React from 'react';
import {
Page,
Toolbar,
ToolbarButton,
BackButton,
Input
} from '../../src/index.js';
import MyToolbar from './MyToolbar';
export default class extends React.Component {
constructor(props) {
super(props);
this.state = {
text: 'text',
selected: [1],
se... | {
"content_hash": "327f37ec2d34be67cf7d593ba5d67a08",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 108,
"avg_line_length": 24.01851851851852,
"alnum_prop": 0.4865073245952197,
"repo_name": "OnsenUI/react-onsenui",
"id": "d32d4a2cc76a96d188651128c91ace62218c3e8c",
"size"... |
package org.apache.derbyTesting.functionTests.tests.lang;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.util.Properties;
import junit.framework.Test;
import junit.framework.Tes... | {
"content_hash": "cb690ec2db2260a1bdce3501f073cc1d",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 107,
"avg_line_length": 30.83939393939394,
"alnum_prop": 0.6453768301071042,
"repo_name": "kavin256/Derby",
"id": "6294403ce3dbcc63a19f6f9a58f9b6ae46e1c4d5",
"size": "1107... |
"""Test Home Assistant package util methods."""
import asyncio
import logging
import os
from subprocess import PIPE
import sys
from unittest.mock import MagicMock, call, patch
import pkg_resources
import pytest
import homeassistant.util.package as package
RESOURCE_DIR = os.path.abspath(
os.path.join(os.path.dirn... | {
"content_hash": "4a21a0e1de3b6b4096b2dc7d0c18ca27",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 80,
"avg_line_length": 28.68951612903226,
"alnum_prop": 0.6143359100491919,
"repo_name": "partofthething/home-assistant",
"id": "0c25166244440670fefe784071ab1971906c64ba",
... |
[blog.web1992.cn](https://blog.web1992.cn)
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator. | {
"content_hash": "f566485edd5fc2c2b129e65ae9c8fcc0",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 105,
"avg_line_length": 49.666666666666664,
"alnum_prop": 0.7583892617449665,
"repo_name": "web1992/jekyll_blog",
"id": "08db19991554f387009611dc66d5ece0a44be83a",
"size": "... |
title: Pathfinder
author: Nicholas Lore
date: 2011-08-12 19:49:23
categories: non-fiction
rating: 4/5
---
This is a phenomenal book on how to choose a career. It is extremely detailed, giving you every step you need to take to find your passion, discover how to get paid to do it, qualify yourself for it, and then lan... | {
"content_hash": "178dd3b4659bd6c120cb2ce7af5cf646",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 615,
"avg_line_length": 90.5,
"alnum_prop": 0.7679558011049724,
"repo_name": "bryanbraun/bryanbraun.github.io",
"id": "42eeb3b371b4841e2b87af99422d3634ce983503",
"size": "72... |
<?php
namespace TypiCMS\Modules\Pages\Facades;
use Illuminate\Support\Facades\Facade;
class Pages extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'Pages';
}
}
| {
"content_hash": "ad0bc39f81e50b39f7db85c8dac154db",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 49,
"avg_line_length": 16.666666666666668,
"alnum_prop": 0.6366666666666667,
"repo_name": "TypiCMS/Pages",
"id": "b32b88a8efcc53ce61f3737abb8dcb9159fc7e57",
"size": "300",
... |
package Zonemaster::Util v1.1.1;
use 5.014002;
use parent 'Exporter';
use strict;
use warnings;
use Zonemaster;
use Zonemaster::DNSName;
use Pod::Simple::SimpleTree;
## no critic (Modules::ProhibitAutomaticExportation)
our @EXPORT = qw[ ns info name pod_extract_for scramble_case ];
our @EXPORT_OK = qw[ ns i... | {
"content_hash": "cbf522920cd7d95436da456ed6eaa05f",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 107,
"avg_line_length": 22.67914438502674,
"alnum_prop": 0.5802876680028295,
"repo_name": "jelu/zonemaster-engine",
"id": "d1fac5c859071ff1558c35d6b8a500ef8ab17cf2",
"size... |
package com.jonathancolt.nicity.view.event;
/*
* #%L
* nicity-view
* %%
* Copyright (C) 2013 Jonathan Colt
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.... | {
"content_hash": "87d9d67b40c5555863a572f8625c2a8e",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 75,
"avg_line_length": 24.50793650793651,
"alnum_prop": 0.5854922279792746,
"repo_name": "jnthnclt/nicity",
"id": "9875516482417f2c821dc60fbcb5c1c85e6aea9b",
"size": "2205"... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.navercorp.pinpoint</groupId>
<art... | {
"content_hash": "f5d31f2fbaf6f5089016adc8c4386fe9",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 104,
"avg_line_length": 34.1,
"alnum_prop": 0.6217008797653959,
"repo_name": "wziyong/pinpoint",
"id": "1cc77f6b9be2babbd918dac6942d5cea3a6b3fa5",
"size": "1023",
"binary... |
/*
* kmp_import.cpp
*/
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.txt for details.
//
//===-------------... | {
"content_hash": "acfe9b62e375540e402ff420f26f11fd",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 101,
"avg_line_length": 30.428571428571427,
"alnum_prop": 0.4953051643192488,
"repo_name": "ensemblr/llvm-project-boilerplate",
"id": "fc4bdae9dbe31903cc2bcfe607275505a4d17ba... |
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class Ref<T>
</title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class Ref<T>
">
<meta ... | {
"content_hash": "a8a6748e81e489030129059d3b6b5116",
"timestamp": "",
"source": "github",
"line_count": 610,
"max_line_length": 526,
"avg_line_length": 47.43606557377049,
"alnum_prop": 0.6616671274536909,
"repo_name": "quartz-software/kephas",
"id": "5e24aee5a3b592b082be768eb7743ca493d482b8",
"size... |
NS_ASSUME_NONNULL_BEGIN
@class UIViewController;
NS_CLASS_AVAILABLE_IOS(5_0) @interface UIStoryboardSegue : NSObject
// Convenience constructor for returning a segue that performs a handler block in its -perform method.
+ (instancetype)segueWithIdentifier:(nullable NSString *)identifier source:(UIViewController *)so... | {
"content_hash": "e2fae5502f83d78f6b4bdf86ce5922d4",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 328,
"avg_line_length": 59.82857142857143,
"alnum_prop": 0.8147086914995224,
"repo_name": "caolonghan/First",
"id": "35bec67175fe380c42e74669fd06dd0c328427a6",
"size": "226... |
package org.apache.avro.tool;
import java.io.File;
import java.io.InputStream;
import java.io.PrintStream;
import java.util.List;
import org.apache.avro.Schema;
import org.apache.avro.util.RandomData;
import org.apache.trevni.ColumnFileMetaData;
import org.apache.trevni.avro.AvroColumnWriter;
/** Tool to create ran... | {
"content_hash": "1d87bcf9d6beac83af1793fc14bf8a81",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 107,
"avg_line_length": 26.448979591836736,
"alnum_prop": 0.7160493827160493,
"repo_name": "apache/avro",
"id": "6c88956e9b7d5a0ddc413e4cdfbc3762d92b5166",
"size": "2102",
... |
package it.reply.orchestrator.dto.messaging.rucio;
interface EventPayload {
}
| {
"content_hash": "328a49df4496b3929984f69a47bc7316",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 50,
"avg_line_length": 11.714285714285714,
"alnum_prop": 0.7804878048780488,
"repo_name": "indigo-dc/orchestrator",
"id": "49fb7e11440be9bd6afcc54d6bcf74e53b017f26",
"size":... |
* [Create a Kubernetes Cluster](kubernetes/deploy.md) - Create a your first Kubernetes cluster. Start here!
* [Kubernetes Next Steps](kubernetes/walkthrough.md) - You have successfully deployed a Kubernetes cluster, now what?
* [Troubleshooting](kubernetes/troubleshooting.md) - Running into issues? Start here to ... | {
"content_hash": "b7f91d83aed25ce62076ac4a3ab005f8",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 173,
"avg_line_length": 66.56521739130434,
"alnum_prop": 0.7811887655127367,
"repo_name": "lachie83/acs-engine",
"id": "6f9c931ea587b4a492d1059d28ec29a58b16d304",
"size": "... |
from google.net.proto import ProtocolBuffer
import array
import dummy_thread as thread
__pychecker__ = """maxreturns=0 maxbranches=0 no-callinit
unusednames=printElemNumber,debug_strs no-special"""
if hasattr(ProtocolBuffer, 'ExtendableProtocolMessage'):
_extension_runtime = True
_ExtendablePro... | {
"content_hash": "676eb7de346701ec4080787c36ddc779",
"timestamp": "",
"source": "github",
"line_count": 3221,
"max_line_length": 281,
"avg_line_length": 29.480596088171374,
"alnum_prop": 0.6338342618237729,
"repo_name": "adviti/melange",
"id": "274b04995f9a42ef58999b97a0cb61b047806113",
"size": "95... |
Please use the [issue tracker](https://github.com/acch/scrollpos-styler/issues) to ask questions, report bugs and request features.
## Contributing new content and updates
- Fork the [code](https://github.com/acch/scrollpos-styler) to your own Git repository
- Make changes in your forked repository
- When you are hap... | {
"content_hash": "4e8cd712e3a2a5557f3d2a574e5355f3",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 134,
"avg_line_length": 51.8,
"alnum_prop": 0.7812097812097812,
"repo_name": "acch/scrollpos-styler",
"id": "2d9e2d0b98d78e7d2259be3f4d91255c7271b977",
"size": "813",
"bi... |
<div id="push"></div>
</div> <!-- #wrap in moduel/navbar.html -->
<div id="footer">
<div class="container">
<p class="muted credit">
© 1998-<%= (new Date).getFullYear() %> Dyn −
<i class="glyph-inbox glyph-small"></i> <a href="/legal">Legal Notices</a> −
<i cl... | {
"content_hash": "869063ecc78c0377fdb2defc1b00a866",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 114,
"avg_line_length": 44.125,
"alnum_prop": 0.6317280453257791,
"repo_name": "Hackademy2013/showcase",
"id": "2b6c46f12785aaed78f59e3f8d9615217ddf95d6",
"size": "706",
... |
<!DOCTYPE html>
<!--
Copyright (c) 2014, tibbitts
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and t... | {
"content_hash": "a9edf2f0956970ae94226675a40ea60b",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 408,
"avg_line_length": 46.0873786407767,
"alnum_prop": 0.6509374341689488,
"repo_name": "PuyallupStakeFamilyHistoryCenter/familyhistoryservice",
"id": "a2f661d3689ba8d021bc... |
package org.olat.modules.wiki.restapi.vo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.X... | {
"content_hash": "809a0682d8fc22276bb3fb7123c7bdb8",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 73,
"avg_line_length": 22.29787234042553,
"alnum_prop": 0.7452290076335878,
"repo_name": "stevenhva/InfoLearn_OpenOLAT",
"id": "03c07ee32177fdd7e88eb0c9ecd252dcace5aad2",
"... |
import React from 'react';
import clazz from 'classnames';
import PropTypes from 'prop-types';
import override from 'core-decorators/lib/override';
import View from './View';
import * as componentStyles from '../styles/core/collectionView.sass';
const noop = arg => arg;
class CollectionView extends View {
static... | {
"content_hash": "589d65637a33564a666660df906ed624",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 82,
"avg_line_length": 24.833333333333332,
"alnum_prop": 0.6308724832214765,
"repo_name": "WellerQu/rongcapital-ui",
"id": "7aef0f6c108d816a617070f25f3c1f118a202c52",
"size... |
@media screen and (max-width:480px) {
.wp2, .wp5 { margin-bottom: 30px; }
.supplemental { text-align: center; margin: 0; padding: 0; }
.credit { text-align: center; }
}
@media screen and (max-width:768px) {
nav,.header-inner nav{position:fixed;background:#242830;z-index:2}
nav ul li a{color:#fff}
nav ul li a:hove... | {
"content_hash": "5698efdb98ed45e746f8a9babc7c3578",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 67,
"avg_line_length": 34.54545454545455,
"alnum_prop": 0.6789473684210526,
"repo_name": "anythingcodes/anythingcodes.github.io",
"id": "d6d5d189328f40b947b20127d29e2370ab3e6... |
package async
import (
"context"
"github.com/skygeario/skygear-server/pkg/core/config"
"github.com/skygeario/skygear-server/pkg/core/db"
"github.com/skygeario/skygear-server/pkg/core/logging"
"github.com/skygeario/skygear-server/pkg/core/sentry"
)
type Executor struct {
tasks map[string]Task
pool db.Pool
}
... | {
"content_hash": "8678d67e1407646e1ccbe25083464069",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 77,
"avg_line_length": 24.875,
"alnum_prop": 0.6927494615936827,
"repo_name": "SkygearIO/skygear-server",
"id": "1991d5d4966ba828c30c47cb1236740034329fe3",
"size": "1393",
... |
package com.meisterschueler.ognviewer.common;
import org.ogn.commons.beacon.ReceiverBeacon;
import java.util.ArrayList;
import java.util.List;
public class ReceiverBundle {
public ReceiverBeacon receiverBeacon;
public int beaconCount;
static public int maxBeaconCounter;
public List<String> aircrafts;... | {
"content_hash": "587f7f4c19c9ebd4278e612ac4b4730f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 58,
"avg_line_length": 26.238095238095237,
"alnum_prop": 0.7422867513611615,
"repo_name": "Meisterschueler/ogn-viewer-android",
"id": "c050cdce567b961e127dc139a27c1ba4c3a8bc0... |
{% extends "base.html" %}
{% load thumbnail %}
{% block content %}
<div class="container">
<div class="row products-row">
<ul class="product-list">
{% for object in object_list %}
<li class="product-list__item col-xs-6 col-md-4">
<a href="{% url "products:detail" object.slug %... | {
"content_hash": "ea308bf073a0cdc6931438ef67871577",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 101,
"avg_line_length": 35.52,
"alnum_prop": 0.49324324324324326,
"repo_name": "martinstastny/django-simple-ecommerce",
"id": "ce7f379d5e0a51ba73d2f25eb07597cb2f37f4a6",
"s... |
// Copyright 2015 Google Inc. 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 copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | {
"content_hash": "ceeff18c663d893b3818c3f48466f52f",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 99,
"avg_line_length": 41.993197278911566,
"alnum_prop": 0.7061396403693504,
"repo_name": "googleads/googleads-java-lib",
"id": "5a6393aeaea840b6b48503bfb170ec43a1ea36ab",
... |
package com.instaclustr.cassandra.backup.impl.restore;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.atomic.AtomicL... | {
"content_hash": "6a62a8f94fda07854a71be28fa59ef72",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 138,
"avg_line_length": 44.66901408450704,
"alnum_prop": 0.6478007252088916,
"repo_name": "benbromhead/cassandra-operator",
"id": "34f502107d3d27ae0942164ed264133361f72818",... |
This folder contains the extension implementation for the
[Google](https://www.google.com).
## Data Supported
- Blogger Import of Social Posts.
- Calendar Import & Export
- Contacts Import & Export
- G+ export of posts
- Mail Import & Export
- Photos Import & Export
- Tasks Import & Export
- Social Posts Expo... | {
"content_hash": "06393561d8f9f0b65a2d4c194057351b",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 390,
"avg_line_length": 72.20289855072464,
"alnum_prop": 0.7858289843436371,
"repo_name": "google/data-transfer-project",
"id": "458dfc3c98d34380f91633eb7eaf09ec77a55cfa",
... |
@interface PodsDummy_Pods_iTunesRSSObjc_iTunesRSSObjc : NSObject
@end
@implementation PodsDummy_Pods_iTunesRSSObjc_iTunesRSSObjc
@end
| {
"content_hash": "3bcc29e146b6a61530e7dcee9dcad2ed",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 64,
"avg_line_length": 33.5,
"alnum_prop": 0.8582089552238806,
"repo_name": "robmaceachern/iTunesRSSObjc",
"id": "49ea6884d854c8c8274f8fcf2701c99c2dc6660a",
"size": "168",
... |
using NMF.Collections.Generic;
using NMF.Collections.ObjectModel;
using NMF.Expressions;
using NMF.Expressions.Linq;
using NMF.Models;
using NMF.Models.Collections;
using NMF.Models.Expressions;
using NMF.Models.Repository;
using NMF.Serialization;
using NMF.Utilities;
using System;
using System.Collections;
using Syst... | {
"content_hash": "5d560b04a887f00a8a4f00f9ec206e7b",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 92,
"avg_line_length": 21.235294117647058,
"alnum_prop": 0.7202216066481995,
"repo_name": "mlessmann/NMF",
"id": "da149b3388462dc1295d89473dbb7a980f74cadc",
"size": "1157",... |
<?php
include_once(dirname(__FILE__).'/../db_connect.php');
$file = $DB->Select("notepad",array('id' => $id)); | {
"content_hash": "502c158ff411021135806877b3210bb9",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 53,
"avg_line_length": 36.666666666666664,
"alnum_prop": 0.5909090909090909,
"repo_name": "licson0729/Ltayer",
"id": "f95c0a9862e52c3566d8e74081b6055f6fa16b2c",
"size": "110... |
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here.
// For the complete reference:
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
// The toolbar groups arrangement, optimized for two toolbar rows.
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboar... | {
"content_hash": "058fe8251b6a4650c59549dcc0f601f1",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 83,
"avg_line_length": 32.76470588235294,
"alnum_prop": 0.6238779174147218,
"repo_name": "blale-zhang/codegen",
"id": "98f8ab6cfcb339c723d37260e840260cb83285c7",
"size": "1... |
FROM python:3.6
ADD yamltools/ /home/armory/yamltools
ADD setup.py /home/armory
WORKDIR /home/armory
RUN python3 setup.py install
ENTRYPOINT deck-configure
| {
"content_hash": "730360697902f940bc3b31d4ac677170",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 37,
"avg_line_length": 14.636363636363637,
"alnum_prop": 0.7888198757763976,
"repo_name": "armory-io/yaml-tools",
"id": "cc595f16e9d07e51d528d17f55c146ef33d11200",
"size": ... |
package com.siyeh.ig.migration;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.openapi.project.Project;
import com.intellij.psi.*;
import com.intellij.psi.util.PsiUtil;
import com.intellij.psi.util.PsiUtilCore;
import com.siyeh.InspectionGadgetsBundle;
import com.siyeh.ig.BaseInspection;
im... | {
"content_hash": "58aeea6a3e79dcc120ffc994cc99d5e4",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 121,
"avg_line_length": 36.20805369127517,
"alnum_prop": 0.7171455050973123,
"repo_name": "ThiagoGarciaAlves/intellij-community",
"id": "7830774e9a99af0aa05737d2fb9daa018540... |
/**
* efeito alert para dar um fadein e fadeout na mensagem
*/
$(function () {
// pegar elemente com corpo da mensagem
var corpo_alert = $("#alert-message");
// verificar se o elemente esta presente na pagina
if (corpo_alert.length)
// gerar efeito para o elemento encontrado na pagina
... | {
"content_hash": "ff03311175a2673872a8f28a2a84913d",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 94,
"avg_line_length": 25.825,
"alnum_prop": 0.5992255566311714,
"repo_name": "Diego-Brocanelli/AgendaDeContatos",
"id": "56336f0204ffb3bfbbe06980e2d630ad6d4e62f5",
"size":... |
#ifndef _CONN_BLE_GAP_SEC_KEYS_H
#define _CONN_BLE_GAP_SEC_KEYS_H
/**
* @addtogroup ser_codecs Serialization codecs
* @ingroup ble_sdk_lib_serialization
*/
/**
* @addtogroup ser_conn_s110_codecs Connectivity s110 codecs
* @ingroup ser_codecs
*/
/**@file
*
* @defgroup conn_ble_gap_sec_keys G... | {
"content_hash": "6d4fbb2c2dfb4ad868155e3ac67cc1d0",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 151,
"avg_line_length": 41.5945945945946,
"alnum_prop": 0.6468486029889539,
"repo_name": "Jewelbots/gcc-nordic-toolchain",
"id": "1495b4c1da7ea806b107f7d0a2bb8f18c0e608ca",
... |
// TODO(DEVELOPER): Change the values below using values from the initialization snippet: Firebase Console > Overview > Add Firebase to your web app.
// Initialize Firebase
var config = {
apiKey: "<YOUR_API_KEY>",
databaseURL: "<YOUR_DATABASE_URL>",
storageBucket: "<YOUR_STORAGE_BUCKET_NAME>"
};
firebase.initiali... | {
"content_hash": "344baf5c893277069294c1522103be71",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 149,
"avg_line_length": 37.16161616161616,
"alnum_prop": 0.6901331883664039,
"repo_name": "jmarantz/soccersub",
"id": "dbdab81689292fd7a45edaae2d042e219066ca45",
"size": "3... |
FIR Filter Box Instrument
============================
The FIR Filter Box implements finite impulse response (FIR) filters at up to 15 MS/s and with over 14,000 coefficients at 244 kS/s. The instrument has two independent filter chains, a control matrix to combine signals from both ADCs, input/output scaling and offse... | {
"content_hash": "bd454daf472d140fa3f571d19d2a1f7c",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 354,
"avg_line_length": 39.666666666666664,
"alnum_prop": 0.7274909963985594,
"repo_name": "liquidinstruments/pymoku",
"id": "4bfcca3a63f44150ae5855a77d7fc14f979d116b",
"si... |
namespace blink {
// Represents the key ID and associated status.
class MediaKeyStatusMap::MapEntry final
: public GarbageCollected<MediaKeyStatusMap::MapEntry> {
public:
MapEntry(WebData key_id, const String& status)
: key_id_(DOMArrayBuffer::Create(scoped_refptr<SharedBuffer>(key_id))),
status_(... | {
"content_hash": "5d2c7258adee67678458c34f30d9cf88",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 80,
"avg_line_length": 32.01360544217687,
"alnum_prop": 0.642583935401615,
"repo_name": "chromium/chromium",
"id": "f615475309125ee6a5481f220417f9948fb8edd0",
"size": "541... |
<!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-beta2) on Mon Mar 19 19:31:57 CST 2007 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
类 javax.xml.soap.AttachmentPar... | {
"content_hash": "aa4828d2f86500b4faa88491f2be87d0",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 441,
"avg_line_length": 51.17937219730942,
"alnum_prop": 0.6412862525190572,
"repo_name": "piterlin/piterlin.github.io",
"id": "b53d26959d5477f09c98e391a4f8222a5ce08010",
... |
export PIPENV_VENV_IN_PROJECT=1
| {
"content_hash": "36d204a2d319f2b6eb233fac1c7fa455",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 31,
"avg_line_length": 32,
"alnum_prop": 0.8125,
"repo_name": "thecodesmith/dotfiles",
"id": "64c275b45e307556edbf977edac04ee83413eaf3",
"size": "32",
"binary": false,
"... |
package calc
import (
"context"
calcsvc "goa.design/plugins/v3/zaplogger/examples/calc/gen/calc"
log "goa.design/plugins/v3/zaplogger/examples/calc/gen/log"
)
// calc service example implementation.
// The example methods log the requests and return zero values.
type calcSvc struct {
logger *log.Logger
}
// New... | {
"content_hash": "dc5c329eaa1143a6fee8014ad89cbcbb",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 88,
"avg_line_length": 23.76,
"alnum_prop": 0.7474747474747475,
"repo_name": "goadesign/plugins",
"id": "25e221a56ae5b8064268ff7acfb148659a406804",
"size": "594",
"binary... |
package com.mossle.security.client;
import com.mossle.api.userauth.UserAuthConnector;
import com.mossle.api.userauth.UserAuthDTO;
import com.mossle.core.mapper.BeanMapper;
import com.mossle.security.impl.SpringSecurityUserAuth;
import com.mossle.security.util.SpringSecurityUtils;
import org.springframework.security... | {
"content_hash": "a87a1f2c6e7e76e18d58c7d1c22fc82f",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 85,
"avg_line_length": 32.109375,
"alnum_prop": 0.7187347931873479,
"repo_name": "vigosser/lemon",
"id": "ecd006c95512f67b8809c2db6954d54b8e984bc0",
"size": "2055",
"bina... |
// Copyright (c) 2021 Alachisoft
//
// 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": "ba08abf8b726e402ccd6c481ee4c6d75",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 87,
"avg_line_length": 38.291666666666664,
"alnum_prop": 0.7442872687704026,
"repo_name": "Alachisoft/NCache",
"id": "94613e5e254e1d5819859f0fa28af9ede83af40b",
"size": "92... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.