text stringlengths 2 1.04M | meta dict |
|---|---|
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.download.home.list.mutator;
import org.chromium.chrome.browser.download.home.DownloadManagerUiConfig;
import org.chromium.chrome.browser.do... | {
"content_hash": "6f432256a3f53ff41003a0b00a9728e5",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 99,
"avg_line_length": 39.8955223880597,
"alnum_prop": 0.6965955854844744,
"repo_name": "chromium/chromium",
"id": "50f8cb59e3d62d5a970d93e0f15de84f9bca10a2",
"size": "2673... |
import animator from './core.animator';
import defaults, {overrides} from './core.defaults';
import Interaction from './core.interaction';
import layouts from './core.layouts';
import {_detectPlatform} from '../platform';
import PluginService from './core.plugins';
import registry from './core.registry';
import Config,... | {
"content_hash": "29e1760f97c336b1e77d238dada63267",
"timestamp": "",
"source": "github",
"line_count": 1266,
"max_line_length": 170,
"avg_line_length": 28.199842022116904,
"alnum_prop": 0.6275454469062491,
"repo_name": "touletan/Chart.js",
"id": "17394c9335d4bfd9b84946ae111aaa7af852ff67",
"size": ... |
import {map, Width, Height, MapWidth, MapHeight, BlockSize} from "./global.js";
import {game, scene, camera, display, input, layerLand, layerAnimals, Global} from "./global.js";
import { Block, initMap } from "./map.js";
import { Animal } from "./animal.js";
import { Deer, DeerControl } from "./deer.js";
import { Sound... | {
"content_hash": "771c91eccab6fe684ab89a1f768f0a1f",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 130,
"avg_line_length": 31.52212389380531,
"alnum_prop": 0.592363840539023,
"repo_name": "SardineFish/SarEngine2D",
"id": "0d558d438047820a29d95f06b025e92d3c8ee430",
"size... |
package com.kodcu.logging;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
/**
* Created by usta on 04.06.2015.
*/
public class MyLog {
private StringProperty level = new SimpleStringProperty();
private StringProperty message = new SimpleStringProperty();
... | {
"content_hash": "67b1f14af4fa77c7a8fa3b6ab846e7a6",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 64,
"avg_line_length": 21.5,
"alnum_prop": 0.655592469545958,
"repo_name": "lefou/AsciidocFX",
"id": "ff9cf1ac93bf4aef0841b39b32324079d8d630f7",
"size": "903",
"binary": ... |
"""An implementation of the Zephyr Abstract Syntax Definition Language.
See http://asdl.sourceforge.net/ and
http://www.cs.princeton.edu/research/techreps/TR-554-97
Only supports top level module decl, not view. I'm guessing that view
is intended to support the browser and I'm not interested in the
browser.
Changes... | {
"content_hash": "6e37e10bee26e62d84361cbee1cd5e47",
"timestamp": "",
"source": "github",
"line_count": 436,
"max_line_length": 79,
"avg_line_length": 26.96330275229358,
"alnum_prop": 0.5340251786321878,
"repo_name": "OptimusGitEtna/RestSymf",
"id": "fc1b16c668153f630234377d9b33e2059750ceee",
"size... |
@interface LaboratorioProtocoloTests : XCTestCase
@end
@implementation LaboratorioProtocoloTests
- (void)setUp
{
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown
{
// Put teardown code here. This method is called afte... | {
"content_hash": "54996ec3825fd95b24ecc353f7754bd5",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 107,
"avg_line_length": 20.541666666666668,
"alnum_prop": 0.7079107505070994,
"repo_name": "montselozanod/iOS",
"id": "8e6a6430c61f2019dde7d6f79519b8c788e251dc",
"size": "6... |
name: Question
about: Ask for help or start a discussion
title: 'Question: '
labels: question
---
<!--
1. Make sure your question hasn't been asked before.
2. Please only ask questions that are related to this project.
3. Don't give away secrets, your issue will be public.
-->
| {
"content_hash": "b9d6204136e7855e73b6db472c545d74",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 62,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.7285714285714285,
"repo_name": "cryptii/cryptii",
"id": "f7106852bc3eefd06c09edecafc753dc51a6901b",
"size": "284"... |
import psycopg2 as db
import sys
import os
from flask import Flask, request, Response, render_template, session, redirect, json
from twilio import twiml
from twilio.rest import TwilioRestClient
import imp
#loads account_sid and auth_token from private space
config = imp.load_source('config', '../sensitive_data/config... | {
"content_hash": "a2d7efffd093beab510edc1277b23f2b",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 138,
"avg_line_length": 38.355555555555554,
"alnum_prop": 0.6235998455001931,
"repo_name": "danielseetoh/twilio185",
"id": "43ef0c0cd78ef4efbf7b32bf35b8172c36574a86",
"siz... |
package io.gatling.http.check.async
import io.gatling.core.check.extractor.jsonpath._
import io.gatling.core.check.{ Extender, DefaultMultipleFindCheckBuilder, Preparer }
import io.gatling.core.json.JsonParsers
import io.gatling.core.session.Expression
import io.gatling.http.check.body.HttpBodyJsonpJsonPathCheckBuild... | {
"content_hash": "96a9131fd6430a7d196929a532d42f20",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 166,
"avg_line_length": 45.24324324324324,
"alnum_prop": 0.8148148148148148,
"repo_name": "GabrielPlassard/gatling",
"id": "24cdb66894b99672f49ce0e5754aa431381036e9",
"size... |
import { encode as base64url } from '../../runtime/base64url.js';
import encrypt from '../../runtime/encrypt.js';
import { deflate } from '../../runtime/zlib.js';
import generateIv from '../../lib/iv.js';
import encryptKeyManagement from '../../lib/encrypt_key_management.js';
import { JOSENotSupported, JWEInvalid } fro... | {
"content_hash": "70aa6a43a5165c5035c874402370f1d9",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 145,
"avg_line_length": 40.18072289156626,
"alnum_prop": 0.5835082458770615,
"repo_name": "cdnjs/cdnjs",
"id": "287856d3d3d38348160fdd10ac87744065a6678b",
"size": "6670",
... |
package executable
import (
"errors"
"testing"
"gitlab.com/gitlab-org/gitlab-shell/v14/internal/testhelper"
"github.com/stretchr/testify/require"
)
type fakeOs struct {
OldExecutable func() (string, error)
Path string
Error error
}
func (f *fakeOs) Executable() (string, error) {
return f.P... | {
"content_hash": "db3decab8772e8ad6ee6bc6efdbfa1fc",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 62,
"avg_line_length": 20.817307692307693,
"alnum_prop": 0.6300230946882217,
"repo_name": "gitlabhq/gitlab-shell",
"id": "498f728e4a4a46bacdc6beed54ba26446e1c9e61",
"size"... |
<?php
namespace Symfony\Tests\Bridge\Doctrine\Form\Fixtures;
/** @Entity */
class SingleIdentEntity
{
/** @Id @Column(type="integer") */
protected $id;
/** @Column(type="string") */
public $name;
public function __construct($id, $name) {
$this->id = $id;
$this->name = $name;
... | {
"content_hash": "e0c1ccdffaf48450e7aa2b938f92e5bb",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 54,
"avg_line_length": 17.944444444444443,
"alnum_prop": 0.56656346749226,
"repo_name": "who/symfony",
"id": "8f5e9a57ca17c7f3e2895e00c05df77604814f91",
"size": "323",
"b... |
static const int arr_size = 1024;
static const int iterations = 1000;
int count_if(int limit, int* array){
int temp = 0;
for (int i = 0; i < arr_size; ++i){
temp += (array[i] < limit)? 1 : 0;
}
return temp;
}
void measure_branch_predictions(){
std::cout << "Branch prediction benchmark.\n";... | {
"content_hash": "2c68e4cfa2e6a5919b4e84241048a149",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 79,
"avg_line_length": 24.894736842105264,
"alnum_prop": 0.5211416490486258,
"repo_name": "horenmar/cache-effect-benchmarks",
"id": "cde21e163e6caef0fcfb5eb1a07522a568d2c09a"... |
/* Parser needs these defines always, even if USE_RAID is not defined */
#define RAID_TYPE_0 1 /* Striping */
#define RAID_TYPE_x 2 /* Some new modes */
#define RAID_TYPE_y 3
#define RAID_DEFAULT_CHUNKS 4
#define RAID_DEFAULT_CHUNKSIZE 256*1024 /* 256kB */
C_MODE_START
#define my_raid_type(raid_type) ... | {
"content_hash": "fd619936eb55c8ae265a9450246a547d",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 88,
"avg_line_length": 35.186206896551724,
"alnum_prop": 0.6454331634653078,
"repo_name": "Gamesjiazhi/rwproject",
"id": "9d098305d149ea23ff2100d3258dcd0bf65cc542",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-finmap: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "e974d46c89baa91b66b138ce5b7a061c",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 157,
"avg_line_length": 41.325581395348834,
"alnum_prop": 0.5507878446820484,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "dbdb43bd51b513c5ec1abd51e9a0c6af42a7c2b1",... |
package sun.jvmstat.monitor.remote;
import sun.jvmstat.monitor.*;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.io.IOException;
/**
* Remote Interface for discovering and attaching to remote
* monitorable Java Virtual Machines.
*
* @author Brian Doherty
* @since 1.5
*/
public interface ... | {
"content_hash": "7877ccfd2683fd6f46f911e30ede47ff",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 75,
"avg_line_length": 34.403225806451616,
"alnum_prop": 0.612751992498828,
"repo_name": "rokn/Count_Words_2015",
"id": "45d087e203f979a9b5d0b98b825ff296b087e0b8",
"size": ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.apimanagement.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The Te... | {
"content_hash": "5a7c65234e89175ec7860ef29abdf53d",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 76,
"avg_line_length": 25,
"alnum_prop": 0.6573913043478261,
"repo_name": "Azure/azure-sdk-for-java",
"id": "bcdcee1e0f9fd3b4dba3f49f72da88a6b1945ad1",
"size": "1150",
"b... |
@implementation PCSAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
MyController *controller = [[MyController alloc] init];
UINavigationController *nav =... | {
"content_hash": "525e4c33cc2abc5b3af297fb204674b9",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 280,
"avg_line_length": 50.34090909090909,
"alnum_prop": 0.7869074492099323,
"repo_name": "pchensoftware/PCSTableViewPeekaboo",
"id": "368f233f13c3591052763e83a2a506f5b605623... |
import sys
import unittest
import libsbml
class TestModel_newSetters(unittest.TestCase):
global M
M = None
def setUp(self):
self.M = libsbml.Model(2,4)
if (self.M == None):
pass
pass
def tearDown(self):
_dummyList = [ self.M ]; _dummyList[:] = []; del _dummyList
pass
de... | {
"content_hash": "09d8a164ba13c6091411c7ab6e08fe1b",
"timestamp": "",
"source": "github",
"line_count": 991,
"max_line_length": 72,
"avg_line_length": 34.36629667003027,
"alnum_prop": 0.6057785477288076,
"repo_name": "TheCoSMoCompany/biopredyn",
"id": "52bfb95b8653fb8680e5455898da00c99e95fdd0",
"si... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="c... | {
"content_hash": "de73c4d91419e4ce51d08e9776e66961",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 74,
"avg_line_length": 39.07692307692308,
"alnum_prop": 0.6633858267716536,
"repo_name": "HsingPeng/FireTanksMonitoringSystem",
"id": "0b1b39cb7f4d01f1930904dc00d75a45f0cf3cc... |
layout: default
title: Search | Suriyaa Kudo
permalink: /search/
lang: en_US
---
<script>
(function() {
var cx = '018379229459056173049:ybssuaca-l8';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ?... | {
"content_hash": "b986c634b233bca2b99ee0cacfe8a5b3",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 78,
"avg_line_length": 27.842105263157894,
"alnum_prop": 0.6351606805293005,
"repo_name": "iSC-Host/suriyaa.me",
"id": "7601c1ea830a2723572c8f00267af33b0f42744b",
"size": "... |
/* icons */
[class^="cus-"],
[class*=" cus-"] {
display: inline-block;
width: 17px;
height: 16px;
*margin-right: .3em;
line-height: 14px;
vertical-align: text-top;
background-image: url("../img/fan-icons.png");
background-position: 14px 14px;
background-repeat: no-repeat;
}
[class^="cus-"]:last-child,... | {
"content_hash": "a3c02e2ac492b1992a82caf4c2e6bcb4",
"timestamp": "",
"source": "github",
"line_count": 1018,
"max_line_length": 73,
"avg_line_length": 57.524557956778,
"alnum_prop": 0.7077868852459016,
"repo_name": "selboo/starl-mangle",
"id": "516bffe4c670a648a2b89d5351abedd9492163f1",
"size": "5... |
package org.interledger.ilp;
import org.interledger.InterledgerAddress;
import org.interledger.InterledgerPacket;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Objects;
/**
* <p>Interledger Payments moves assets of one party to another that consists of one or more ledger
* transfers, poten... | {
"content_hash": "73408f216505c7898eaebebdfc92acc9",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 99,
"avg_line_length": 33.915,
"alnum_prop": 0.6777237210673743,
"repo_name": "rizwantanoli/quilt",
"id": "9f88ee121c5274bc5cdf6a2f172ccc3aa9980ba5",
"size": "6783",
"bi... |
<?xml version="1.0" encoding="UTF-8"?>
<container>
<alias id="alias_1" service="service_1" public="true"/>
<alias id="alias_2" service="service_2" public="false"/>
<definition id="definition_1" class="Full\Qualified\Class1" scope="container" public="true" synthetic="false" lazy="true" shared="true" synchroniz... | {
"content_hash": "3e2f25382caffe64dd2a69b842f4fdc3",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 216,
"avg_line_length": 51.81818181818182,
"alnum_prop": 0.6622807017543859,
"repo_name": "Condors/TunisiaMall",
"id": "0dc252d1dadc6dc3fb189ea812a9a41ce7e47f33",
"size": "... |
package com.triangleleft.flashcards.di.main;
import com.triangleleft.flashcards.di.ApplicationComponent;
import com.triangleleft.flashcards.di.scope.ActivityScope;
import com.triangleleft.flashcards.ui.main.DrawerPresenter;
import com.triangleleft.flashcards.ui.main.MainActivity;
import com.triangleleft.flashcards.ui.... | {
"content_hash": "5b914f9c0082b64a53cbe0dc07133449",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 85,
"avg_line_length": 34.925925925925924,
"alnum_prop": 0.8356309650053022,
"repo_name": "TriangleLeft/Flashcards",
"id": "51b363549469717caf6eb5acfe2fd1c40d4b64db",
"size... |
<?php declare(strict_types=1);
namespace Monolog\Handler;
use Gelf\Message;
use Monolog\Test\TestCase;
use Monolog\Level;
use Monolog\Formatter\GelfMessageFormatter;
class GelfHandlerTest extends TestCase
{
public function setUp(): void
{
if (!class_exists('Gelf\Publisher') || !class_exists('Gelf\M... | {
"content_hash": "9aeca2604a4f1c712d1a95b8fa3f8246",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 83,
"avg_line_length": 28.655172413793103,
"alnum_prop": 0.5764139590854392,
"repo_name": "Seldaek/monolog",
"id": "e96f116608ea282c51ba252fd1666c401ff685ed",
"size": "355... |
8.12 Logs are stored differently and rotated
============================================
Verify that the logs are stored on a different partition than the application is running with proper log rotation.
Levels: 3
| {
"content_hash": "9131f90bddae1386f79b9802b7c89731",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 114,
"avg_line_length": 31.142857142857142,
"alnum_prop": 0.6376146788990825,
"repo_name": "ibuildingsnl/owasp-aasvs",
"id": "8d0789da2f3ec574df64838e93cf978de53d5b10",
"siz... |
FROM balenalib/kitra520-debian:bullseye-build
ENV NODE_VERSION 15.7.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --batch --keyserver... | {
"content_hash": "a514411ee61262ffd0877f736d83c8fb",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 695,
"avg_line_length": 67.46341463414635,
"alnum_prop": 0.7096890817064353,
"repo_name": "nghiant2710/base-images",
"id": "0b794ba6a7f46e25b02966b92e86beb57128c51d",
"size... |
using Avalonia.Controls.Metadata;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Shapes;
using Avalonia.Controls.Templates;
using Avalonia.Interactivity;
using System;
using System.Collections.Generic;
using System.Globalization;
namespace Avalonia.Controls
{
/// <summary>
/// A control to allow ... | {
"content_hash": "40e19da7aa278b3696f91d8d66b6dcc9",
"timestamp": "",
"source": "github",
"line_count": 418,
"max_line_length": 123,
"avg_line_length": 36.81818181818182,
"alnum_prop": 0.563417803768681,
"repo_name": "akrisiun/Perspex",
"id": "8d893154eb886e74d26ddf66fc4aecd6398f1a09",
"size": "153... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.CompilerServices;
namespace Microsoft.CodeAnalysis.CodeGeneration
{
internal class CodeGe... | {
"content_hash": "f46b3b1477bb55eb9c08fa3a5de75513",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 110,
"avg_line_length": 34.58064516129032,
"alnum_prop": 0.6539179104477612,
"repo_name": "jmarolf/roslyn",
"id": "6e335b7b069a24164dcc204eec057d42eddb4e9f",
"size": "2146"... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comments', fun... | {
"content_hash": "6137705805bbd8b8a6adc94b7e48dc5d",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 72,
"avg_line_length": 25.973684210526315,
"alnum_prop": 0.5663627152988855,
"repo_name": "Leocher/col-xs-learning-notes",
"id": "73151970b78effa1c81c01a52747d34b9ae518eb",
... |
layout: contributor-profile
credit-name: Amber Bird
first-name: Amber
last-name: Bird
file-as: b
role: Author
role-2:
role-3:
title: Amber Bird — Work in Fireside
description:
twitter-handle:
profile-pic: amber-bird.jpg
website-url:
short-name: amber-bird
permalink: amber-bird
bio-spanish:
---
Amber Bird is a writer, a... | {
"content_hash": "a8df00e843d4582cd06c40c06ebe856e",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 554,
"avg_line_length": 47.22222222222222,
"alnum_prop": 0.7788235294117647,
"repo_name": "firesidefiction/magazine",
"id": "1e4053549fb9f9027ed04c96d7af35e1655fd8a7",
"siz... |
package org.apache.hadoop.yarn.server.resourcemanager;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsPublisher;
import org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl;
import static org.mo... | {
"content_hash": "51f0f795febaf0a2c3f9709365ce6341",
"timestamp": "",
"source": "github",
"line_count": 607,
"max_line_length": 95,
"avg_line_length": 41.15815485996705,
"alnum_prop": 0.7300964655966057,
"repo_name": "Wajihulhassan/Hadoop-2.7.0",
"id": "d2ac4efb9572b24f94c99801628d1e08bcdc063f",
"s... |
/* Includes ------------------------------------------------------------------*/
#include "usbd_core.h"
#include "usbd_req.h"
#include "usbd_ioreq.h"
#include "usb_dcd_int.h"
#include "usb_bsp.h"
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
* @{
*/
/** @defgroup USBD_CORE
* @brief usbd core module
* @{
*/
/** ... | {
"content_hash": "ed2399269fe60231b714961af442f81d",
"timestamp": "",
"source": "github",
"line_count": 483,
"max_line_length": 80,
"avg_line_length": 21.908902691511386,
"alnum_prop": 0.5986580986580986,
"repo_name": "linuxfans/escX4",
"id": "13f5bcef71d0904613dbf277b8a5f5d877b2c3ba",
"size": "116... |
ActiveRecord::Schema.define(version: 20160615090320) do
create_table "options", force: :cascade do |t|
t.integer "poll_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "content"
end
add_index "options", ["id"], name: "index_options_on_id"
create_table ... | {
"content_hash": "e93da771e4d68b34139496170e30f569",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 70,
"avg_line_length": 30.32,
"alnum_prop": 0.5949868073878628,
"repo_name": "tungbt94/ladder-poll",
"id": "17a944a481e4c51ecc0c29f7e9ad8d38d8f1b4ba",
"size": "2257",
"bi... |
namespace iControl {
using System.Xml.Serialization;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Diagnostics;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepTh... | {
"content_hash": "b95f3ad81d1bf8f6e2a7afc18bc3487f",
"timestamp": "",
"source": "github",
"line_count": 849,
"max_line_length": 223,
"avg_line_length": 48.111896348645466,
"alnum_prop": 0.6712365657208608,
"repo_name": "F5Networks/f5-icontrol-library-dotnet",
"id": "fa3906e66931e5b438dd74c04f49010af0... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="alexclin.httplite.MainActivity" >
<item android:id="@+id/action_settings"
android:title="@string/action_settings"
... | {
"content_hash": "52ae4526ad81a286e7c4cc7af164a0f3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 64,
"avg_line_length": 44.333333333333336,
"alnum_prop": 0.6892230576441103,
"repo_name": "alexclin0188/httplite",
"id": "a8171c7c4ee0116ca618651c23079bf08b8cbb54",
"size": ... |
"use strict";
require('../configure');
const opsgenie = require('../../');
let identifier = {
identifier: "686db572-d4de-4950-90d3-1a43e8969b29", // should be custom to your created incident
identifierType: "id"
};
let body = {
note: "testing note",
};
opsgenie.incident.addNote(identifier, body, functio... | {
"content_hash": "825576fa85ac4e07027937562cf596b8",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 100,
"avg_line_length": 22.40909090909091,
"alnum_prop": 0.6288032454361054,
"repo_name": "opsgenie/opsgenie-nodejs-sdk",
"id": "cd3f86a3739de44890e41c87a837979fda628131",
... |
package io.bootique.command;
import java.util.Objects;
/**
* A wrapper around the command instance that provides contextual attributes for that command within Bootique.
*
* @since 0.25
*/
public class ManagedCommand {
private boolean hidden;
private boolean _default;
private boolean help;
priv... | {
"content_hash": "d47df87cbb6f1eeb3706538658167bda",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 110,
"avg_line_length": 21.06578947368421,
"alnum_prop": 0.6021236727045597,
"repo_name": "ebondareva/bootique",
"id": "1d28c76a42bd4297d9ab334e7ff0814e200b1594",
"size": "... |
package net.sf.mmm.util.lang.api.attribute;
/**
* This interface gives read and write access to the {@link #isDisposed() disposed} attribute of an object. It is
* extended or implemented by objects that can be {@link #dispose() disposed}.
*
* @author Joerg Hohwiller (hohwille at users.sourceforge.net)
* @since 3... | {
"content_hash": "1cb9c76579d893d8ec105748ee00a5a5",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 116,
"avg_line_length": 33.94736842105263,
"alnum_prop": 0.7302325581395349,
"repo_name": "m-m-m/util",
"id": "174561b16a09f9ce585fcd94d3483dd86e3a61f6",
"size": "773",
"... |
package org.teavm.metaprogramming.impl;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.teavm.dependency.AbstractDependencyListener;
import org.teavm.dependency.DependencyAgent;
import org.teavm.dependency.MethodDependency;
import org.teavm.dependency.MethodDependencyInfo;
import org.... | {
"content_hash": "aa2bd12e835670991ace65d563d124bd",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 113,
"avg_line_length": 44.5609756097561,
"alnum_prop": 0.6445904032110928,
"repo_name": "jtulach/teavm",
"id": "359a305d65f2a5ade71f8bbcbe8df1d2b406eed2",
"size": "6090",... |
<!doctype html>
<html class="no-js" lang="">
<head>
<title>Zabuun - Learn Egyptian Arabic for English speakers</title>
<meta name="description" content="">
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/head.php';?>
</head>
<body>
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/ie8.php';?>
<?php inc... | {
"content_hash": "7a8afec531f8cee149d767d331c97958",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 460,
"avg_line_length": 47.758620689655174,
"alnum_prop": 0.6534296028880866,
"repo_name": "javanigus/zabuun",
"id": "3e4e9e41f2a0855048027fd9c4321e9af6e3e6cf",
"size": "13... |
module.exports = function(sails) {
/**
* Module dependencies.
*/
var async = require('async'),
util = require('sails-util'),
Err = require('../../../errors');
/**
* Expose `policies` hook definition
*/
var policyHookDef = {
defaults: {
// Default policy mappings (allow all)
policies: { ... | {
"content_hash": "0606e3c51a474079f339066e6dc04ab7",
"timestamp": "",
"source": "github",
"line_count": 341,
"max_line_length": 125,
"avg_line_length": 26.759530791788855,
"alnum_prop": 0.647013698630137,
"repo_name": "harindaka/node-mvc-starter",
"id": "9eb3f081c732254426c12d186651f90fa6c19f71",
"... |
/* Derived from Lucene.Net.Util.PriorityQueue of March 2005 */
using System;
using Lucene.Net.Support;
using DocIdSetIterator = Lucene.Net.Search.DocIdSetIterator;
using Scorer = Lucene.Net.Search.Scorer;
namespace Lucene.Net.Util
{
/// <summary>A ScorerDocQueue maintains a partial ordering of its Scorers ... | {
"content_hash": "073c5badcd8e61486c5b5707a6467ee2",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 118,
"avg_line_length": 31.176923076923078,
"alnum_prop": 0.461386627189736,
"repo_name": "antiufo/lucenenet",
"id": "02e83bd1d76d3689321a137d268744e3a7b66a36",
"size": "8... |
from mlscripts.ml.som.classes import *
from mlscripts.ml.som.flatten import *
import scipy as scipy
import mlscripts.ml.som.functions as fn
import re
from collections import Counter
def word_plot(matrix):
matrix = scipy.transpose(matrix)
nrows = len(matrix)
for i in range(nrows):
i = nrows - 1 - i
... | {
"content_hash": "dd6d1794e32f047d26e924240f7a415f",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 171,
"avg_line_length": 28.957943925233646,
"alnum_prop": 0.5460706793609811,
"repo_name": "IAS-ZHAW/machine_learning_scripts",
"id": "bd2e831585476cf37fde297aa5636db0b86a44... |
///
/// Bro script compiler providing the main entry point to compiling a
/// complete Bro configuration into HILTI.
///
#ifndef BRO_PLUGIN_HILTI_COMPILER_COMPILER_H
#define BRO_PLUGIN_HILTI_COMPILER_COMPILER_H
#include <list>
#include <vector>
#include <set>
#include <memory>
class Func;
class ID;
namespace hilti ... | {
"content_hash": "6dff0e8bab6fab507d3a3cab8ee6a82e",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 174,
"avg_line_length": 27.92831541218638,
"alnum_prop": 0.7008470225872689,
"repo_name": "FrozenCaribou/hilti",
"id": "8ad6eb50a90a9017180cc6e024c7b5073289b018",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-safechecker: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boots... | {
"content_hash": "d6191bab36e108f5c522ac122bb7fe39",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 159,
"avg_line_length": 43.11666666666667,
"alnum_prop": 0.5565004509728128,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "3f9b573e0d921e7bb0eb9804253c68926b0c5c0e",
... |
module ShopqiAPI
class SmartCollection < Base
include Events
include Metafields
def products
Product.find(:all, :params => {:collection_id => self.id})
end
end
end
| {
"content_hash": "00e1c0b05d2966f1d57339acbc3e29ef",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 64,
"avg_line_length": 19.1,
"alnum_prop": 0.6649214659685864,
"repo_name": "nolimit163/shopqi",
"id": "2a0305fb1ffda3d9801f75f16afc0ed96da92aee",
"size": "191",
"binary"... |
@implementation NSString (path)
-(NSString *)appendcatch
{
NSString *path = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES).lastObject;
NSString *name = [self lastPathComponent];
NSString *namepath = [path stringByAppendingString:name];
return namepath;
}... | {
"content_hash": "94a003da82170090cbd9c3db965cb3b3",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 110,
"avg_line_length": 20.375,
"alnum_prop": 0.7208588957055214,
"repo_name": "tuyongjiang/DSBWebImage",
"id": "1f81dbe3d7c34bcbbe8c4ed9fe9913298fb21f09",
"size": "494",
... |
package org.hibernate.validator.referenceguide.chapter12.booleancomposition;
//end::include[]
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import jakarta.validation.Constraint;
import jakarta.validation.Payload;
import jakarta.validation.ReportAsSingleViolation;
import jakarta.validation... | {
"content_hash": "27f6e4769977519f5d821d6dfeff3218",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 80,
"avg_line_length": 31.314285714285713,
"alnum_prop": 0.7883211678832117,
"repo_name": "hibernate/hibernate-validator",
"id": "2d37a988ec301c695fe8696eaca9bd4d25a9d2fc",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "611c14e75f1518976c507de7122be836",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "116246411e4195bf6bf382824b9d18b246ef0097",
"size": "180... |
package org.assertj.core.presentation;
import static java.lang.Integer.toHexString;
import static java.lang.reflect.Array.getLength;
import static org.assertj.core.util.Arrays.isArray;
import static org.assertj.core.util.Arrays.isArrayTypePrimitive;
import static org.assertj.core.util.Arrays.isObjectArray;
import sta... | {
"content_hash": "7a80fe28755652f00ee9bceb21700e9d",
"timestamp": "",
"source": "github",
"line_count": 506,
"max_line_length": 127,
"avg_line_length": 41.47430830039526,
"alnum_prop": 0.712332030877728,
"repo_name": "ChrisA89/assertj-core",
"id": "cd25b40363b1c05947e76355b7a2905d7cd56895",
"size":... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.MemoryMappedFiles;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Altus.Suffūz.Collections.IO;
using Altus.Suffūz.Serialization;
using Altus.Suffūz.Serialization.Binary;
namespace Altu... | {
"content_hash": "3a002d9d323704401aadc5edb49da08d",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 107,
"avg_line_length": 23.48587570621469,
"alnum_prop": 0.44984363723839305,
"repo_name": "odinhaus/Suffuz",
"id": "47d84f1a91124d39a1608126d795f759aeb773f5",
"size": "41... |
namespace blink {
// Suppress warning: global constructors, because struct WrapperTypeInfo is trivial
// and does not depend on another global objects.
#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wglobal-constructors"
#endif
const W... | {
"content_hash": "a0b69643c7d54ab4956bf46a391f1e55",
"timestamp": "",
"source": "github",
"line_count": 384,
"max_line_length": 494,
"avg_line_length": 47.364583333333336,
"alnum_prop": 0.7093688146030349,
"repo_name": "axinging/chromium-crosswalk",
"id": "14443d05878d6c90a998d40896275d89203128f0",
... |
import copy
import itertools
import json
import logging
import math
import os
import socket
import traceback
from collections import defaultdict
from datetime import timedelta
import markdown
import nvd3
import pendulum
import sqlalchemy as sqla
from flask import (
redirect, request, Markup, Response, render_temp... | {
"content_hash": "ed9d6e11892303e7d3827618d746c8fd",
"timestamp": "",
"source": "github",
"line_count": 2411,
"max_line_length": 90,
"avg_line_length": 36.950642886768975,
"alnum_prop": 0.5419809626436781,
"repo_name": "malmiron/incubator-airflow",
"id": "49a9a734cc483ccb381ec2c3c9c35754262929a4",
... |
#ifndef MYTH_WORKER_PROTO_H_
#define MYTH_WORKER_PROTO_H_
#include "myth_desc.h"
static void myth_sched_loop(void);
static inline void myth_env_init(void);
static inline void myth_env_fini(void);
static inline void myth_set_current_env(myth_running_env_t e);
static inline myth_running_env_t myth_get_current_env(void... | {
"content_hash": "c70446790d3fcb88abc2dceabf6f9c1a",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 79,
"avg_line_length": 34.78947368421053,
"alnum_prop": 0.7609682299546142,
"repo_name": "CoryMcCartan/chapel",
"id": "170d79af8b27f048a5b9b77681d62a931e42b652",
"size": "6... |
Instructions
Clone the repository locally
```
$ git clone git@github.com:blalab/csv2mr.git
```
Install "requests" module
```
$ pip install requests
```
Access the repository folder
```
$ cd csv2mr
```
Place the CSV you want to import in the same folder
Run the script
```
$ python CSV2MR.py
```
Follow the instructions... | {
"content_hash": "45f68e565d69519da286acf7d64f7eff",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 70,
"avg_line_length": 17.814814814814813,
"alnum_prop": 0.7338877338877339,
"repo_name": "blalab/csv2mr",
"id": "2654a2a07da5a77c4e449f12473bc9815319c8e8",
"size": "499",
... |
using LiveSplit.Model.Comparisons;
using LiveSplit.Model.RunFactories;
using LiveSplit.Options;
using LiveSplit.UI;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Windows.Forms;
namespace LiveSplit.Model.RunImporters
{
public c... | {
"content_hash": "15228f566b4f5b47b2193a08de478a0a",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 161,
"avg_line_length": 35.880434782608695,
"alnum_prop": 0.4968191457134202,
"repo_name": "CryZe/LiveSplit",
"id": "108a3da377f7c359a256b696faf5a202495061fa",
"size": "330... |
#include "tensorflow/lite/core/c/c_api.h"
#include <memory>
#include <mutex> // NOLINT
#include <utility>
#include <vector>
#include "tensorflow/lite/builtin_ops.h"
#include "tensorflow/lite/c/c_api_internal.h"
#include "tensorflow/lite/c/common_internal.h"
#include "tensorflow/lite/core/interpreter.h"
#include "te... | {
"content_hash": "9203c8a717c9915e7866721a61235ee2",
"timestamp": "",
"source": "github",
"line_count": 504,
"max_line_length": 135,
"avg_line_length": 38.0218253968254,
"alnum_prop": 0.7056306423837604,
"repo_name": "Intel-tensorflow/tensorflow",
"id": "4847034c38e6b3c0f94af0a35580cbde55d8aa4b",
"... |
-fx-background-image: url('/images/toolbar/create.png');
-fx-background-size: 30 30;
-fx-background-repeat: no-repeat;
-fx-background-position: center;
}
#searchBtn {
-fx-background-image: url('/images/toolbar/search.png');
-fx-background-size: 30 30;
-fx-background-repeat: no-repeat;
-... | {
"content_hash": "8b69e13288359046223ff8f6454110c7",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 72,
"avg_line_length": 26.379310344827587,
"alnum_prop": 0.6725490196078432,
"repo_name": "Kynarth/ryrycipe",
"id": "3affccc55dca481d585b5fb6f3b68d00088dda35",
"size": "157... |
from django.conf import settings
from django.contrib import admin
from django.contrib.sitemaps.views import sitemap
from django.urls import include, path
from core import views as core_views
from api.resources import OrderableResource, PostResource, SearchResource
from core.sitemap import IndexSitemap, BlogSitemap, St... | {
"content_hash": "62b903b50c3bf178f5778567cd813176",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 86,
"avg_line_length": 35.26923076923077,
"alnum_prop": 0.678298800436205,
"repo_name": "manti-by/M2MICRO",
"id": "712ba01a9ca4656d0141cd1ddd49f41e6c08d480",
"size": "1834"... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "request".
*
* @property integer $req_id
* @property integer $user1_id
* @property integer $user2_id
* @property string $req_type
* @property string $date
*
* @property User $user1
* @property User $user2
*/
class Request extends... | {
"content_hash": "a52346f6addd7e5786b8b031876b9c83",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 71,
"avg_line_length": 19.9375,
"alnum_prop": 0.4946708463949843,
"repo_name": "Lupi-Stole-My-Code/NZI-Project",
"id": "8f327974c54069e540722498cdbbdf8fb43c55ea",
"size": "... |
/**
* Licensed under the CC-GNU Lesser General Public License, Version 2.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://creativecommons.org/licenses/LGPL/2.1/
*
* Unless required by applicable law or agreed to in writ... | {
"content_hash": "f398cada7693477f210c3c7e82fc96a7",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 94,
"avg_line_length": 37.15,
"alnum_prop": 0.5745476297293256,
"repo_name": "Elbisopmi/Wannatalk",
"id": "86e432b031d61cb216b890a54b403655f994e7fa",
"size": "6743",
"bi... |
#ifndef JAPA_ONE_SENT_PER_LINE_H
#define JAPA_ONE_SENT_PER_LINE_H
#include "textparser.h"
namespace japa
{
/**
* \french
* Compile un texte donc chaque phrase tient sur une ligne et chaque mot est
* s�par� par un espace.
* \endfrench
*
* \english
* Parse a text in where sentences are delimited by new line... | {
"content_hash": "f49184e4099cac80d1ac999f780515e8",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 76,
"avg_line_length": 15.636363636363637,
"alnum_prop": 0.5941860465116279,
"repo_name": "rali-udem/yasa",
"id": "248fadd83c4b72de32129eb2ae987a0dca1cf061",
"size": "1416"... |
namespace Tests.Unit.Lender.Slos.Financial
{
using System;
using MbUnit.Framework;
[TestFixture]
public class FixtureTests
{
[FixtureSetUp]
public void FixtureSetup()
{
Console.WriteLine("Fixture setup");
}
[FixtureTearDown]
public void... | {
"content_hash": "139eac807aec58f19f0cfcc2a5b803ec",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 82,
"avg_line_length": 21.06122448979592,
"alnum_prop": 0.5193798449612403,
"repo_name": "ruthlesshelp/prodotnetbestpractices",
"id": "ee47e4c9cac690d1c2ca9c07945fbfdebf0e2dc... |
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace POGOProtos.Networking.Responses {
/// <summary>Holder for reflection information generated from POGOProtos/Networking/Response... | {
"content_hash": "d771b32cabeadb9afb8838acc7dda522",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 318,
"avg_line_length": 36.97674418604651,
"alnum_prop": 0.7004716981132075,
"repo_name": "PoGo-Devs/PoGo",
"id": "a44d0c923d51f22e51065a1e22002c6cc32ccc30",
"size": "6569... |
<?php
namespace Im0rtality\TaskSchedulerBundle\Command;
use Im0rtality\TaskSchedulerBundle\Core\MongoDbBackendInterface;
use Im0rtality\TaskSchedulerBundle\SchedulerInterface;
use Psr\Log\LoggerInterface;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputInterf... | {
"content_hash": "863ebdc9e0315d6c3676ddee53b4ee43",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 95,
"avg_line_length": 35.98076923076923,
"alnum_prop": 0.5221806520577231,
"repo_name": "Im0rtality/task-scheduler",
"id": "14933939a8d54c751c4f3f4689b0229b450a20cc",
"siz... |
package com.amazonaws.services.backup.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultAccessPolicy"
* target="_top">AWS API Documentation</a>
... | {
"content_hash": "f9df92d8ab359f36e65364f9c5d340b4",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 132,
"avg_line_length": 38.00787401574803,
"alnum_prop": 0.6679096747462192,
"repo_name": "jentfoo/aws-sdk-java",
"id": "156a2829fe91d0f9b1a0d135f0340c4260eaf37b",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zfc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "c571aaa0fca835cb98abd6ae1a75f5e8",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 159,
"avg_line_length": 41.57608695652174,
"alnum_prop": 0.5682352941176471,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "3702148e41f1dc645a52789b806123901cf4dc68",
... |
body {
background: #2196f3; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #2196f3 , #f44336); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #2196f3 , #f44336); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
color: #ffffff;
... | {
"content_hash": "4b32b015c77b76902181491339914dad",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 133,
"avg_line_length": 18.572222222222223,
"alnum_prop": 0.6308704756207,
"repo_name": "srujant/MLNews",
"id": "2b5292c3a970631ee4bc31ead771d3e058c19f83",
"size": "3343",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_31) on Fri Apr 24 10:58:25 CEST 2015 -->
<title>Uses of Package fr.fablabmars.model.dao</title>
<meta name="date" content="2015-04-24">
... | {
"content_hash": "61f714c52729c4511969d1ca71f1fa0c",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 296,
"avg_line_length": 37.507936507936506,
"alnum_prop": 0.6277331076315418,
"repo_name": "gperouffe/FabLabUsers",
"id": "7bc0e5a06f7d958ef6f085c08ad8bbe4a1913fdb",
"size... |
.class public abstract Landroid/media/projection/IMediaProjectionWatcherCallback$Stub;
.super Landroid/os/Binder;
.source "IMediaProjectionWatcherCallback.java"
# interfaces
.implements Landroid/media/projection/IMediaProjectionWatcherCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
... | {
"content_hash": "bac7a61370918a61e3e80b1c77e63101",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 157,
"avg_line_length": 27.075555555555557,
"alnum_prop": 0.7094550229809586,
"repo_name": "Liberations/Flyme5_devices_base_cm",
"id": "d99cec0ffc02caf1c32667bb266c8762e72c0... |
package com.dihanov.musiq.ui.detail;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentStatePagerAdapter;
import com.dihanov.musiq.ui.detail.detailfragments.ArtistSpecificsAlbum;
import com.dihanov.musiq.ui.detail.detailfragments.ArtistSpecificsB... | {
"content_hash": "443dec9cbe58f453ee53d41a163b03f3",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 101,
"avg_line_length": 28.62264150943396,
"alnum_prop": 0.6671061305207646,
"repo_name": "DDihanov/musiQ",
"id": "2a537bc7fd658026a23d209888f1a98ef87775be",
"size": "1517"... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "a38d09f457d92ac28ab484f3b4de89fe",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 105,
"avg_line_length": 32.714285714285715,
"alnum_prop": 0.7592014971927635,
"repo_name": "smartnews/presto",
"id": "8737945d4568e674fff2ce71d1e1cb6527507e95",
"size": "16... |
const rx = require('rx');
const request = require('request');
let wrapMethodInRx = (method) => {
return function (...args) {
return rx.Observable.create((subj) => {
// Push the callback as the last parameter
args.push((err, resp, body) => {
if (err) {
... | {
"content_hash": "cc2b62c6dd1197908e1bce92a92b0b23",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 91,
"avg_line_length": 28.566037735849058,
"alnum_prop": 0.49933949801849403,
"repo_name": "lockerfish/mini-hacks",
"id": "ed459ba1623fe5ec8b918ae37f58c304b0c338a6",
"size"... |
package org.jivesoftware.openfire.plugin.service;
import javax.annotation.PostConstruct;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
... | {
"content_hash": "1f1f188e7e40ddb63e23beb276988bbe",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 115,
"avg_line_length": 34.30434782608695,
"alnum_prop": 0.7572877059569075,
"repo_name": "Gugli/Openfire",
"id": "e09372f08f5e85bbe285d8ab1d2c956b3903e42a",
"size": "1578"... |
require "rails_helper"
RSpec.describe TimeslotMailer, type: :mailer do
describe "tutor_scheduled" do
let!(:timeslot) { FactoryGirl.create(:booked_timeslot)}
let!(:mail) { TimeslotMailer.tutor_scheduled(timeslot) }
it "renders the headers" do
expect(mail.subject).to eq("there's a board Scheduling N... | {
"content_hash": "e2e2880e298cecc26957c8c7a3104a5f",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 77,
"avg_line_length": 32.38461538461539,
"alnum_prop": 0.6852731591448931,
"repo_name": "theresaboard/theres-a-board",
"id": "00730bc45601fbbe1d6444ad0f0079348dbf8f39",
"s... |
package org.apache.ignite.ml.nn.updaters;
import org.apache.ignite.ml.math.Matrix;
import org.apache.ignite.ml.math.Vector;
import org.apache.ignite.ml.math.functions.IgniteDifferentiableVectorToDoubleFunction;
import org.apache.ignite.ml.math.functions.IgniteFunction;
/**
* Interface for classes encapsulating par... | {
"content_hash": "6f1e379bcd33cd8651c0835bd04557e4",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 97,
"avg_line_length": 31.86111111111111,
"alnum_prop": 0.7131647776809067,
"repo_name": "wmz7year/ignite",
"id": "e8e28fdec1b7687318885120754b61223af9dc4a",
"size": "1949"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "24ca457f01e21f7109f4e5ba575373d5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "a432868ef35d9a93172ae508410f6598ee95966a",
"size": "18... |
#nullable enable
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Proto.Cluster.Identity.Tests
{
public sealed class FailureInjectionStorage : IIdentityStorage
{
private const double SuccessRate = 0.8;
private static readonly Random Mayhem = new();
private ... | {
"content_hash": "e8af0c906169c860c7025a16129d6280",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 133,
"avg_line_length": 38.55072463768116,
"alnum_prop": 0.6695488721804511,
"repo_name": "AsynkronIT/protoactor-dotnet",
"id": "57b2984365e2dc88d8e46cc2ee90b91e81377b8f",
... |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.gradle.service.project.wizard;
import com.intellij.framework.addSupport.FrameworkSupportInModuleProvider;
import com.intellij.ide.util.newProjectWiz... | {
"content_hash": "1037f5f3d675f66dae8031e0a48ddfc9",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 140,
"avg_line_length": 40.0431654676259,
"alnum_prop": 0.8020122170319799,
"repo_name": "allotria/intellij-community",
"id": "6467877b5ec4c2e82bec3a60cdc677325fb63bd8",
"... |
class Gear
attr_reader :chainring, :cog
def initialize(chainring, cog)
@chainring = chainring
@cog = cog
end
def ratio
chainring / cog.to_f
end
end
puts Gear.new(52, 11).ratio
puts Gear.new(30, 27).ratio
| {
"content_hash": "abc69198a161a877b751dda35e8850e6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 32,
"avg_line_length": 16.285714285714285,
"alnum_prop": 0.6666666666666666,
"repo_name": "etdev/ruby_notes",
"id": "b33da610d908c36cf83aa1ffe840c7572f71c736",
"size": "228... |
{% extends "photoshare/base.html" %}
{% load bootstrap3 %}
{% bootstrap_css %}
{% bootstrap_javascript %}
{% block content %}
<div style="max-width:250px;margin-left:auto;margin-right:auto;">
Your account is now activated
</div>
{% endblock %} | {
"content_hash": "ba95dfa4af42c7b6c8734224c18fc126",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 65,
"avg_line_length": 16.6,
"alnum_prop": 0.6746987951807228,
"repo_name": "sbabineau/django-intro",
"id": "e63af7104134cd767d5e668f4cb92df1696cacca",
"size": "249",
"bi... |
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="deploy" name="jse_adig">
<import file="${user.home}/conf/adligo/builds/jse-build.xml"/>
</project> | {
"content_hash": "37ae0b7cbc849bf5b9a289fc024509c5",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 63,
"avg_line_length": 42,
"alnum_prop": 0.6785714285714286,
"repo_name": "adligo/jse_adig.adligo.org",
"id": "5434ba3363ecdd1b9aeac2beea3181aa8fe870db",
"size": "168",
"b... |
//
// SFInjectionsNotificationsCenter.m
// dyci-framework
//
// Created by Paul Taykalo on 6/1/13.
// Copyright (c) 2013 Stanfy. All rights reserved.
//
#import "SFInjectionsNotificationsCenter.h"
#if TARGET_IPHONE_SIMULATOR
/*
notification.object will be the class that was injected
This notification is privat... | {
"content_hash": "63de7452314b18c3bd33a1305f818d62",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 130,
"avg_line_length": 30.544117647058822,
"alnum_prop": 0.6668271545498314,
"repo_name": "DyCI/dyci-main",
"id": "bdba8fc86a7b38b94dad9981e7d0c3313d9eb9c4",
"size": "415... |
using Bagombo.Models.ViewModels.Home;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bagombo.Data.Query.Queries
{
public class GetAllPostsByDateViewModelQuery : IQuery<AllPostsViewModel>
{
}
}
| {
"content_hash": "56d16cea01ac08aab39e8954268bf7ce",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 74,
"avg_line_length": 21,
"alnum_prop": 0.7965367965367965,
"repo_name": "tylerlrhodes/bagombo",
"id": "fa83445d07e188c35c9139e43ef600786a3eaf5b",
"size": "233",
"binary... |
<?php
/*
Safe sample
input : get the field userData from the variable $_GET via an object
Uses a special_chars_filter via filter_var function
construction : concatenation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, ... | {
"content_hash": "66080c1731f8ee272723c6f9366acdb3",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 78,
"avg_line_length": 23.3,
"alnum_prop": 0.73635806253832,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "aab8209eb5ba176307590f5c87f0e7a1c015940f",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dictionaries: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "c94ba788d3ab7a6f136bfb3030f41fba",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 159,
"avg_line_length": 41.57222222222222,
"alnum_prop": 0.5594013096351731,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6c92de82ed4751a8c9b04881688e4beba2bc06fd",
... |
/*global module:false*/
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
eslint: {
target: ['SizeConstraint.js'],
options: {
config: '.eslintrc'
}
},
jscs: {
src: ['SizeConstraint.js'],
options: {
config: '.jscsrc'
... | {
"content_hash": "393c52116d859e9d9bd4a63fbb8d9933",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 72,
"avg_line_length": 22,
"alnum_prop": 0.5454545454545454,
"repo_name": "IjzerenHein/famous-sizeconstraint",
"id": "b566c2c751b2c7f2519fe735235c9d05513f3006",
"size": "81... |
package main
import (
"context"
cx "cloud.google.com/go/dialogflow/cx/apiv3beta1"
cxpb "cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modification... | {
"content_hash": "cb4c18b42badd347d32cf8b5a064aefb",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 99,
"avg_line_length": 27.45,
"alnum_prop": 0.7040072859744991,
"repo_name": "googleapis/google-cloud-go",
"id": "fcaf861bf110a5b2787612a7304894df957c0b5d",
"size": "1842",... |
// Copyright 2016 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 applicabl... | {
"content_hash": "32babc22497d9809991c7a81b415b7e3",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 119,
"avg_line_length": 37.14,
"alnum_prop": 0.6591276252019386,
"repo_name": "ctaggart/google-cloud-dotnet",
"id": "babb00694f41714e7b0a20c61e695d80a8a814e2",
"size": "185... |
using Aqla.DtoHelpers;
namespace DtoHelpers.Example
{
class Container
{
// structs read-only controlled via get-set
public DtoExamplePlayerStruct StructWritable { get; set; } = new DtoExamplePlayerStruct();
public DtoExamplePlayerStruct StructReadOnly { get; } = new DtoExamplePlayerStr... | {
"content_hash": "f8fe47a9a468bc80848258a2e5a33f3d",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 100,
"avg_line_length": 42.05,
"alnum_prop": 0.7074910820451843,
"repo_name": "AqlaSolutions/Aqla.DtoHelpers",
"id": "1aa56e7e7fae53fc47bc1fe7ccd2ae0cf4fe9bb3",
"size": "84... |
<configurations>
<configuration name="Test test_foo" class="CargoCommandConfiguration" show_console_on_std_err="false" show_console_on_std_out="false">
<parameters>
<option name="additionalArguments">
<list>
<option value="--package" />
<option value="test-package" />
<... | {
"content_hash": "9b68bfd9b73ece7245342fb704c10796",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 136,
"avg_line_length": 34.333333333333336,
"alnum_prop": 0.5776699029126213,
"repo_name": "himikof/intellij-rust",
"id": "ce48ace0cd79904a17bdd6a51a5a37eb9197c9f8",
"size"... |
{
expect(response.data.foo).toEqual("bar");
expect(response.status).toEqual(200);
expect(response.statusText).toEqual("OK");
expect(response.headers["content-type"]).toEqual("application/json");
done();
}
| {
"content_hash": "f34e7cf32102bd040af5dee83db82781",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 71,
"avg_line_length": 30.714285714285715,
"alnum_prop": 0.7069767441860465,
"repo_name": "stas-vilchik/bdd-ml",
"id": "12581d9f333db6a4640217faa0ae75920496ee44",
"size": "2... |
.class Lcom/android/internal/widget/multiwaveview/GlowPadView$5;
.super Landroid/animation/AnimatorListenerAdapter;
.source "GlowPadView.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/android/internal/widget/multiwaveview/GlowPadView;->startWaveAnimation()V
.end annotation... | {
"content_hash": "42dce5277dc1db3c3b1469fb046bc68c",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 203,
"avg_line_length": 39.41428571428571,
"alnum_prop": 0.7879666545849946,
"repo_name": "baidurom/devices-base_cm",
"id": "bd0ecb5f0737c7dcfd52ca10852486b556ab6fd5",
"siz... |
package com.desno365.mods.Tabs;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.desno365.mods.DesnoUtils;
import com.desno365.mods.R;
public class FragmentTab1 ... | {
"content_hash": "c565f307e8aba51c9b17fbd30b646bd7",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 100,
"avg_line_length": 26.25,
"alnum_prop": 0.7777777777777778,
"repo_name": "Desno365/Desno365sMods",
"id": "e88f057890bbb6886211b6eb567fc081710726bc",
"size": "1543",
... |
function EEG = re_ref(EEG, ref_type)
if ischar(ref_type) && strcmpi(ref_type, 'average')
EEG = pop_reref(EEG, []);
EEG = eeg_checkset(EEG);
else
if iscellstr(ref_type)
ref_ind = lix_elecfind(EEG.chanlocs, ref_type);
EEG = pop_reref(EEG, ref_ind);
EEG = eeg_checkset(EEG);
else
disp('ref_type must be string ... | {
"content_hash": "2afa0dae3ea1be9d04525559f813eece",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 54,
"avg_line_length": 24,
"alnum_prop": 0.675,
"repo_name": "lix90/eeglab_pipeline",
"id": "95c03a228fe5ad54ac7cb314bd556b38c877d2e9",
"size": "360",
"binary": false,
... |
/*eslint-env mocha*/
/*global BOOMR_test,assert*/
describe("e2e/11-restiming/06-type-filter", function() {
var t = BOOMR_test;
var tf = BOOMR.plugins.TestFramework;
it("Should pass basic beacon validation", function(done) {
t.validateBeaconWasSent(done);
});
it("Should only have the one IMG in the filter (if ... | {
"content_hash": "e060fbd74410c335d4df3eb2f37c0aea",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 95,
"avg_line_length": 26.88888888888889,
"alnum_prop": 0.6914600550964187,
"repo_name": "lognormal/boomerang",
"id": "12a42aab876ebcbd5bb7549bb7b5a9e477ede2fd",
"size": "7... |
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>ru.job4j</groupId>
<artifactId>junior</artifactId>
<packaging>pom</packaging>
<version>2.0</version>
<name>junior</name>
<url>http://job4j.ru/</url>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<mav... | {
"content_hash": "1e9fafa64836a5a6df8546207731a8d4",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 89,
"avg_line_length": 33.63157894736842,
"alnum_prop": 0.5271629778672032,
"repo_name": "GitKashis/mkubar",
"id": "9ad86275c6a71ec9fc2239e5cb2e3cde33e0d44b",
"size": "447... |
var child_process = require('child_process');
module.exports = function () {
return function (request, response, next) {
// Does the client even support gzip awesomeness?
if (!request.headers['accept-encoding'] ||
(request.headers['accept-encoding'] &&
request.headers['accept-encoding'].inde... | {
"content_hash": "9df1e654c90dfd89247e7009d64d7e40",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 69,
"avg_line_length": 26.4,
"alnum_prop": 0.564935064935065,
"repo_name": "roselleebarle04/eac",
"id": "369a56f3469d9fd988ea2b04bb86333c0cd03ec4",
"size": "1985",
"binar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.