text stringlengths 2 1.04M | meta dict |
|---|---|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FST - Alice Lemoigne</title>
<meta name="description" content="Keep track of the statistics from Alice Lemoi... | {
"content_hash": "9c3c42d8c7bc45edfccd74004dd158d0",
"timestamp": "",
"source": "github",
"line_count": 286,
"max_line_length": 295,
"avg_line_length": 39.61188811188811,
"alnum_prop": 0.6303292435342925,
"repo_name": "chicofilho/fst",
"id": "6ec4e424c509e302eec35a8ebede55834505d231",
"size": "1132... |
package net.datenstrudel.bulbs.core.infrastructure.monitoring;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.actuate.endpoint.MetricReaderPublicMetrics;
import org.springframework.boot.actuate.endpoint.PublicMetrics;
import org.springframework.boot.actuate.metrics.repos... | {
"content_hash": "9aabb4b2b9cd89ce5d30b0ed733bd104",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 84,
"avg_line_length": 36.64705882352941,
"alnum_prop": 0.7929373996789727,
"repo_name": "datenstrudel/bulbs-core",
"id": "b05f34b1fe18c234d9bdc237f2fb3b77d6111c44",
"size"... |
require File.expand_path('../../test_helper', File.dirname(__FILE__))
class PageDateTimeTest < ActiveSupport::TestCase
def test_initialize_tag
assert tag = CmsTag::PageDateTime.initialize_tag(cms_pages(:default), '{{ cms:page:content:datetime }}')
assert_equal 'content', tag.label
assert tag = CmsTag:... | {
"content_hash": "3217883760f8a5daf03a0140d99926bb",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 111,
"avg_line_length": 35.26470588235294,
"alnum_prop": 0.6738949124270225,
"repo_name": "lucysoft/lucy_cms",
"id": "3046e1471b2bec848291e3516a77edb78ea67d6c",
"size": "11... |
package com.github.hi_fi.remotesikulilibrary.utils;
public class SikuliLogger {
public static void logImage(String imagePath) {
logHTML("<a href='"+imagePath+"' target='_blank'><img src='"+imagePath+"' style='width:80%; height: auto;'/></a>");
}
public static void logHTML(Object log) {
System.out.p... | {
"content_hash": "3932d57bf813e134b5bb83152d596a74",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 117,
"avg_line_length": 24.09375,
"alnum_prop": 0.6264591439688716,
"repo_name": "Hi-Fi/remotesikulilibrary",
"id": "72c3fdb9066006e83f9dc581c194515ddb2ee6bc",
"size": "771... |
import {BaseContract} from "./BaseContract";
import {BaseConnection} from "./BaseConnection";
export class ForeignKey<T extends BaseContract> {
constructor(
private contract: BaseContract,
private connection: BaseConnection<BaseContract>,
private field: string,
private destType: new (...args: any[]) => T
) {... | {
"content_hash": "8d731b911dfcb7483b89d58756b44863",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 84,
"avg_line_length": 28.91304347826087,
"alnum_prop": 0.7172932330827068,
"repo_name": "tanjentjs/ts-orm",
"id": "113f81191be7330def9ff9d407bba0b0ff24538d",
"size": "665"... |
using testing::_;
using testing::Invoke;
namespace Router {
TEST(ShadowWriterImplTest, All) {
Upstream::MockClusterManager cm;
ShadowWriterImpl writer(cm);
// Success case
Http::MessagePtr message(new Http::RequestMessageImpl());
message->headers().insertHost().value(std::string("cluster1"));
EXPECT_CALL... | {
"content_hash": "e6485c839f2ad6e5421430d87014ce59",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 97,
"avg_line_length": 44.10204081632653,
"alnum_prop": 0.6524757056918093,
"repo_name": "timperrett/envoy",
"id": "4c4fd353ba925ee7810d6bdd28cb3dd943489066",
"size": "2319... |
require 'spec_helper'
describe OneOne do
it 'has a version number' do
expect(OneOne::VERSION).not_to be nil
end
end
| {
"content_hash": "2346664ea93cd2522d091ca11eb917f1",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 41,
"avg_line_length": 17.857142857142858,
"alnum_prop": 0.712,
"repo_name": "ConnorAtherton/one_one",
"id": "fd2eab218b7984394190b0a5a30da539f398ab6a",
"size": "125",
"bi... |
package io.datarouter.util;
import org.testng.Assert;
import org.testng.annotations.Test;
public class BooleanToolTests{
@Test
public void testNullSafeSame(){
Assert.assertEquals(BooleanTool.nullSafeSame(null, null), true);
Assert.assertEquals(BooleanTool.nullSafeSame(true, true), true);
Assert.assertEquals... | {
"content_hash": "48e961a199126acff0155b5551ed4a8a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 68,
"avg_line_length": 32.4,
"alnum_prop": 0.7870370370370371,
"repo_name": "hotpads/datarouter",
"id": "f01c2c609f0c8aa07028df0ef7c0747fdad25c51",
"size": "1261",
"binar... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="UK Train Departure Boards"/>
<meta name="author" content="Peter Mount"/>
<link rel=canonical href=”https://departureboards.mobi/”/>
... | {
"content_hash": "0f1a96179a9db33fa1931379de4828b3",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 76,
"avg_line_length": 31.31578947368421,
"alnum_prop": 0.653781512605042,
"repo_name": "peter-mount/departureboards",
"id": "b2801f20a397c8498e4f77bd866204fb47b9d2e3",
"si... |
namespace ui {
class ListSelectionModel;
}
namespace views {
class View;
class ViewTracker;
}
class Browser;
class KeyEventTracker;
class Tab;
class TabDragControllerTest;
class TabDragContext;
class TabSlotView;
class TabStripModel;
class WindowFinder;
// TabDragController is responsible for managing the tab dragging... | {
"content_hash": "47fceb37facc79fb60d0db1522f44b05",
"timestamp": "",
"source": "github",
"line_count": 658,
"max_line_length": 80,
"avg_line_length": 40.5531914893617,
"alnum_prop": 0.7157847399190527,
"repo_name": "ric2b/Vivaldi-browser",
"id": "c9a3eebc5a7cbe54a8e63797390b20796f236bf0",
"size": ... |
using ComputerAlgebra;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Circuit
{
public class UnitCastException : InvalidCastException
{
public UnitCastException(Units From, Units To)
:... | {
"content_hash": "bd3abcfb361e3d62e31233301d0609f1",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 132,
"avg_line_length": 35.494623655913976,
"alnum_prop": 0.5130263556498031,
"repo_name": "dsharlet/LiveSPICE",
"id": "5f5a2e0041c02323560702227b1a2d85a77fd95e",
"size": ... |
using Amazon.DynamoDBv2.DataModel;
using AspNetCore.Identity.DynamoDB.Converters;
using OpenIddict.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace AspNetCore.Identity.DynamoDB.OpenIddict.Models
{
[DynamoDBTable(Constants.DefaultTokenTableName)]
public class DynamoIdentityT... | {
"content_hash": "355fcbe8de7b770fc649f8213d2e0bde",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 68,
"avg_line_length": 29.63888888888889,
"alnum_prop": 0.6710402999062793,
"repo_name": "cmsd2/oidc",
"id": "dd52f24898aa6855ff2ee330665e89619756aa20",
"size": "1069",
"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-odd-order: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | {
"content_hash": "f5762dd7b30fdaf5f4297a25594efcca",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 554,
"avg_line_length": 45.854838709677416,
"alnum_prop": 0.5619650603822254,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "bd5cb156ff621900a6d43fcb7f1f5001296d41ed",... |
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs emacs"
version IO.read(File.join(File.dirname(__FILE__), 'VERSION'))
recipe "emacs", "Installs Emacs"
%w{ ubuntu debian redhat centos scientific fedora freebsd }.each do |os|... | {
"content_hash": "230fa4b494d03833a0bfbb6bb1927664",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 72,
"avg_line_length": 30.818181818181817,
"alnum_prop": 0.6755162241887905,
"repo_name": "yieldbot/ironfan-pantry",
"id": "1e5663152568ea02c2f338e23387b0bde4f57923",
"size... |
//
// select_reactor.hpp
// ~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_ASIO_DETAIL_SELEC... | {
"content_hash": "b272b2f7d1c2b5f4a61176c843273734",
"timestamp": "",
"source": "github",
"line_count": 543,
"max_line_length": 80,
"avg_line_length": 32.24309392265194,
"alnum_prop": 0.6675234178661184,
"repo_name": "shoerob/BumbleTales",
"id": "ba8b5d3ba568efe569b7b1b3b5a13592122fa181",
"size": "... |
<?php //print_r($purchase);die(); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header"><h1>Purchase</h1></section>
<!-- Main content -->
<section class="content">
<!-- Default box -->
<div class="box">
... | {
"content_hash": "76433c694997037fbc1e865b48d1ad11",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 279,
"avg_line_length": 55.766666666666666,
"alnum_prop": 0.49348475791990437,
"repo_name": "archaeophoenix/purchase",
"id": "618f53e99eb1c2021eb0614415416721f06d43e9",
"s... |
import sun.rmi.runtime.Log;
import java.io.*;
import java.net.Socket;
import java.util.Scanner;
import java.util.Stack;
import java.util.logging.Logger;
/**
* Created by jsybrand on 6/25/15.
*/
public class Worker extends Thread {
private int numAvalibleProcs;
ObjectInputStream in;
ObjectOutputStream ... | {
"content_hash": "9810409b90fbbb2bae6ef26d8ad2fe97",
"timestamp": "",
"source": "github",
"line_count": 364,
"max_line_length": 147,
"avg_line_length": 34.434065934065934,
"alnum_prop": 0.4757459709589915,
"repo_name": "JSybrandt/Distributed_Copy",
"id": "7e7f79ba475d3ecfb806f4fb8649319be1d59fd3",
... |
/* global define, module, require, exports */
/* requires modal, combo, qtip, and nfeditor plugins to be loaded first*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery',
'Slick',
'nf.Common',
'nf.UniversalCaptu... | {
"content_hash": "ced1edb0508c276727e01b71362806c5",
"timestamp": "",
"source": "github",
"line_count": 2422,
"max_line_length": 219,
"avg_line_length": 44.679190751445084,
"alnum_prop": 0.4498812527145537,
"repo_name": "pvillard31/nifi",
"id": "17db5f12ea0672956401298ad3b2880a805da9d6",
"size": "1... |
require 'rspec/expectations'
RSpec::Matchers.define :be_a_url do |expected|
match do |actual|
URI.parse(actual) rescue false
end
end
| {
"content_hash": "ddc0e4a1aaa343ec38c000b734ea4457",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 46,
"avg_line_length": 20.285714285714285,
"alnum_prop": 0.7253521126760564,
"repo_name": "duncanjbrown/wp-api-client",
"id": "b36455dc4087fe942df760605f8333fe8d8e9c6c",
"si... |
<ng2v-tabset>
<ng2v-tab title="One">
<ng-template ng2vTabContent>
<p>These tabs are displayed as pills...</p>
</ng-template>
</ng2v-tab>
<ng2v-tab title="Two">
<ng-template ng2vTabContent>
<p>Because default values have been customized.</p>
</ng-template>
</ng2v-tab>
</ng2v-tabset>
| {
"content_hash": "af0a85b02e5241c9c4696e95aecf1a74",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 57,
"avg_line_length": 26.583333333333332,
"alnum_prop": 0.6332288401253918,
"repo_name": "rajkeshwar/ng2v",
"id": "2ec39a8fc3ab77c1ae67907d0ce23894be3cb57d",
"size": "319"... |
<?php
/**
* Includes Smarty engine class.
*/
require_once getShopBasePath() . "core/smarty/Smarty.class.php";
/**
* General utils class
*
*/
class oxUtils extends oxSuperCfg
{
/**
* Cached currency precision
*
* @var int
*/
protected $_iCurPrecision = null;
/**
* Some file... | {
"content_hash": "9b8108f9786d5555efc957084aee23f9",
"timestamp": "",
"source": "github",
"line_count": 1468,
"max_line_length": 191,
"avg_line_length": 30.486376021798364,
"alnum_prop": 0.5151047951021138,
"repo_name": "EllisV/oxid-standard",
"id": "6d0c6af056d2aad676422c286305ce931342f873",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Demonstratie: import multiple methods.
namespace InterfaceDemoLibrary
{
interface IGroteInterface
{
void method1()
{
}
void method2()
{
}
... | {
"content_hash": "ee7606238d1b33d3ca8f439a5182ce62",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 41,
"avg_line_length": 13.114285714285714,
"alnum_prop": 0.514161220043573,
"repo_name": "T4wb/UCMeldenChatbericht",
"id": "f936aacbddc46c533347c7954a2dc4b7b5792064",
"size... |
from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union, cast
from azure.core.exceptions import (
ClientAuthenticationError,
HttpResponseError,
ResourceExistsError,
ResourceNotFoundError,
ResourceNotModifiedError,
map_error,
)
from azure.core.paging import ItemPaged
from azur... | {
"content_hash": "f3f3e8b4ea7bf5ec05f184691e232936",
"timestamp": "",
"source": "github",
"line_count": 711,
"max_line_length": 120,
"avg_line_length": 43.748241912798875,
"alnum_prop": 0.6167818678669025,
"repo_name": "Azure/azure-sdk-for-python",
"id": "8da08e7e90a7451757c3b493191434d1ce1d5ec5",
... |
require "google/cloud/asset/v1"
##
# Example demonstrating basic usage of
# Google::Cloud::Asset::V1::AssetService::Client#delete_saved_query
#
def delete_saved_query
# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::Asset::V1::AssetService::Client.new
# Create a req... | {
"content_hash": "da0870ff0333988afb8380aa4e05347d",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 72,
"avg_line_length": 33.55,
"alnum_prop": 0.7555886736214605,
"repo_name": "googleapis/google-cloud-ruby",
"id": "8826018a4983a70f617edaa005aa4537d88d2998",
"size": "1403... |
var lift = require('lift-result/cps')
var ghtag = lift(require('github-latest'))
var Result = require('result')
var log = require('./logger')
var fs = require('fs')
exports.parseKeyValue = function(dep){
// github shorthand
var m = /^([-.\w]+)\/([-.\w]+)(?:@([-.\w]+|\d+\.\d+\.\d+))?$/.exec(dep)
if (m) {
var key ... | {
"content_hash": "4efacb44672163a96f6ac93e395e2d1f",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 72,
"avg_line_length": 24.15686274509804,
"alnum_prop": 0.6258116883116883,
"repo_name": "jkroso/component-set",
"id": "5be899dbec99be950a822862cb1f0f68613a1fd3",
"size": "... |
<?php
namespace Venus\lib\Cache;
/**
* This class manage the Cache by Apc
*
* @category lib
* @package lib\Cache
* @author Judicaël Paquet <judicael.paquet@gmail.com>
* @copyright Copyright (c) 2013-2014 PAQUET Judicaël FR Inc. (https://github.com/las93)
* @license https://github.com/las93/venus/b... | {
"content_hash": "4fe280eaef1d43010ad5463c6a55415c",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 105,
"avg_line_length": 19.39240506329114,
"alnum_prop": 0.6344647519582245,
"repo_name": "las93/venus_website",
"id": "3147d6d46e411fa79858858cddfc303e4fb36cd1",
"size": "... |
package com.bazaarvoice.emodb.common.cassandra.test;
import com.bazaarvoice.emodb.common.cassandra.CassandraKeyspace;
import com.bazaarvoice.emodb.common.cassandra.health.CassandraHealthCheck;
import com.codahale.metrics.health.HealthCheck;
import com.datastax.driver.core.ExecutionInfo;
import com.datastax.driver.core... | {
"content_hash": "4597bd0d16c7f7f55a0d37632152f172",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 119,
"avg_line_length": 45.82380952380952,
"alnum_prop": 0.6984308427725242,
"repo_name": "bazaarvoice/emodb",
"id": "f7c672754918f44b05d2bb627766d237d41609f3",
"size": "9... |
package com.intellij.codeInspection.ui.actions.suppress;
import com.intellij.codeInspection.*;
import com.intellij.codeInspection.ex.GlobalInspectionContextImpl;
import com.intellij.codeInspection.ex.InspectionManagerEx;
import com.intellij.codeInspection.ex.InspectionToolWrapper;
import com.intellij.codeInspection.r... | {
"content_hash": "314587ad8ffdf6f69e38b79013fc779b",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 126,
"avg_line_length": 39.60126582278481,
"alnum_prop": 0.7075275691225827,
"repo_name": "asedunov/intellij-community",
"id": "09d48b33596d0b29d4251d19adb08e9e904401df",
... |
package com.kzmen.sczxjf.bean.kzbean;
import java.io.Serializable;
import java.util.List;
/**
* Created by pjj18 on 2017/9/9.
*/
public class KnowageIndexItem implements Serializable{
/**
* id : 1
* title : 信用知识,快速问专家
* image : http://api.kzmen.cn/Uploads/Picture/2017-09-09/59b39b8df376b.png
... | {
"content_hash": "7c5340dcbc358acc5c67c69062876fbb",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 85,
"avg_line_length": 21.535714285714285,
"alnum_prop": 0.6011608623548922,
"repo_name": "18380460383/eshare",
"id": "a3558f9df02bc173bb305e13763b6451e11db32d",
"size": "... |
/***************************************************************************/
/* */
/* ftccback.h */
/* */
/* Ca... | {
"content_hash": "43c4d4e8b55106ba6d5ee2d5b5145786",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 77,
"avg_line_length": 31.747252747252748,
"alnum_prop": 0.4250605745932849,
"repo_name": "paintdream/PaintsNow",
"id": "e33f8248aabdd2a79c465fc0c70dffd5341ed95d",
"size": ... |
(function () {
'use strict';
/**
* The component representing latest build for given Build Configuration or Build Group Configuration
*/
angular.module('pnc.common.components').component('pncLatestBuild', {
bindings: {
/**
* Object: The configuration representing Build Configuration
... | {
"content_hash": "cb40b785387cc1bfef4c6458bd77d24c",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 159,
"avg_line_length": 28.983333333333334,
"alnum_prop": 0.6377228292121909,
"repo_name": "matedo1/pnc",
"id": "57f978774032f459476d3622fa1689432344d3e3",
"size": "2446",
... |
import { Commander } from "./Commander/Commander";
var program = require('commander');
class Packages extends Commander{
public VERSION = "0.0.1";
private program;
constructor(program){
this.program = program;
}
public setProcess(process)
{
this.setOptions(process);
}
... | {
"content_hash": "8141389a70b6e56758e71c7aaad58771",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 124,
"avg_line_length": 20.08823529411765,
"alnum_prop": 0.636896046852123,
"repo_name": "michaeldouglas/listpackages-nodejs",
"id": "fc2ee2a9d058f49e4af3c0867d713d996b4fc6f1... |
<a name="toaster"></a>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<div class="page-header">
<h1>Soc Alerts <small>Information blocks or disaster announcements
<span class="label label-success">Continue grid</span>
... | {
"content_hash": "1805f6afe59df889f59ee1ae1da1f8d2",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 235,
"avg_line_length": 52.964285714285715,
"alnum_prop": 0.5249494268374916,
"repo_name": "svennoreillie/soc-core",
"id": "3aeddfdf2e8540b87dc0a1501916c10d89a6937f",
"size... |
LSFEventScraper is a multithreaded Python scraper, that extracts all events of the current semster from HTW-Berlin.de
# How it works
Currently, HTW-Berlin.de has an semester-overview page, from where the crawler can reach a page for every day of the current semster.
These day-overview pages are the source, from where ... | {
"content_hash": "139ad4c30679a52945fbe5d06c948ce8",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 155,
"avg_line_length": 36.243589743589745,
"alnum_prop": 0.7576936681995048,
"repo_name": "pascalweiss/LSFEventScraper",
"id": "60db2950e65be5efcd35ff4248867454c85ad358",
... |
NOTICE
======
moodle-tools is no longer under active development. Deployment strategies are easier than ever with Git; I may, however, go back sometime and look at backup/restore functionality via the command line.
moodle-tools
============

... | {
"content_hash": "8ec9e0d5e3c8c30d6a7e8b356f5f26f1",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 200,
"avg_line_length": 38.34117647058824,
"alnum_prop": 0.7356551089291193,
"repo_name": "BinaryMuse/moodle-tools",
"id": "980077014a1d4692298f4065ca28b57d36dfdcb1",
"siz... |
Originally published: 2012-02-19 00:16:08
Last updated: 2012-02-19 00:17:07
Author: FB36
I found this equation in Wikipedia page for "List of fractals by Hausdorff dimension".
The problem is how to calculate the scaling coefficients for any given IFS fractal.
You can see the heuristic I used in the code.
I... | {
"content_hash": "71289cda15330ccc23cb609d7e60301d",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 87,
"avg_line_length": 52.44444444444444,
"alnum_prop": 0.7669491525423728,
"repo_name": "ActiveState/code",
"id": "68744c9d220e3c88289df57be39dbe655848df68",
"size": "511",... |
#pragma once
#include "maxheap.h"
#include "iFnPub.h"
#include "units.h"
#include "BuildWarnings.h"
#include "assetmanagement\assetUser.h"
#include "object.h"
#include "quat.h"
#include "control.h"
#include "ipoint3.h"
//----------------------------------------------------------------
// The following are parameter... | {
"content_hash": "8575a8b0dd54b5109c95304e0967f256",
"timestamp": "",
"source": "github",
"line_count": 4652,
"max_line_length": 196,
"avg_line_length": 38.740326741186585,
"alnum_prop": 0.7169958939074464,
"repo_name": "LiangYue1981816/CrossEngine",
"id": "68d3c22ed008156d097c60a64dec839161f405ea",
... |
class Irwi::Comparators::Spans::ChangedSpan
attr_accessor :action, :old_value, :new_value
def initialize( act, ov, nv )
@action = act
@old_value = ov
@new_value = nv
end
def to_s
s = ''
s << "<span class=\"removed\">#{@old_value}</span>" if @old_value
s << "<span class=\"added\">#{@ne... | {
"content_hash": "517727706ddf03b74ac5b8ef4431278b",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 69,
"avg_line_length": 20.444444444444443,
"alnum_prop": 0.5760869565217391,
"repo_name": "fractaldirk/custom_wiki",
"id": "6c3cb416d70249a8a1bc4429c45f87a2cd5a07d7",
"size... |
using base::android::AttachCurrentThread;
using base::android::ScopedJavaLocalRef;
namespace content {
namespace {
const char kObjectIsGone[] = "Java object is gone";
const char kMethodNotFound[] = "Method not found";
const char kAccessToObjectGetClassIsBlocked[] =
"Access to java.lang.Object.getClass is blocked... | {
"content_hash": "2d28fe83d6dcd7623a86f6647d3ac168",
"timestamp": "",
"source": "github",
"line_count": 323,
"max_line_length": 80,
"avg_line_length": 36.303405572755416,
"alnum_prop": 0.6679174484052532,
"repo_name": "andykimpe/chromium-test-npapi",
"id": "d3fb138654424771076277aa52edf517c2dbf8f1",
... |
[PostCSS]: https://github.com/postcss/postcss
[ci-img]: https://travis-ci.org/markgoodyear/postcss-pointer.svg?branch=master
[ci]: https://travis-ci.org/markgoodyear/postcss-pointer
A [PostCSS] plugin to replace `pointer: cursor` with `cursor: pointer`.
## Why?
Because of this Tweet: https://twitter.com/_dte/st... | {
"content_hash": "147bfe66421bfbe778faa1813d1cc730",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 79,
"avg_line_length": 18.025641025641026,
"alnum_prop": 0.6984352773826458,
"repo_name": "markgoodyear/postcss-pointer",
"id": "6b5a715e0f4fd276cd0871e83561116853ea3c16",
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WA... | {
"content_hash": "a31ab255c81ceaae79ef8426d7b04678",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.916666666666664,
"alnum_prop": 0.7444682369735903,
"repo_name": "matvelloso/AADNodeJWT",
"id": "9e6d346e34e7be68025e39c9752e3639e2c2d199",
"size":... |
class A {async foo(await) { }}; | {
"content_hash": "6b8f3e606a39510723be7c2c155fce30",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 31,
"avg_line_length": 31,
"alnum_prop": 0.6129032258064516,
"repo_name": "eslint/espree",
"id": "dac6531dbad4610f578a66475a94e07f81740ab5",
"size": "31",
"binary": false,... |
package li.strolch.utils.collections;
import static li.strolch.utils.collections.SynchronizedCollections.synchronizedMapOfMaps;
import static org.junit.Assert.*;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicBoolean;
import ... | {
"content_hash": "58a79c619c047e0e1dda36996d5f643e",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 111,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.6953216374269006,
"repo_name": "4treesCH/strolch",
"id": "13e3dee950e7bc16f1137149bdcb6efc7e79c503",
"size": "5... |
package com.amazonaws.services.apigateway.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.apigateway.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import sta... | {
"content_hash": "f97f798023afc0a50ca27dbb864d4ea9",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 156,
"avg_line_length": 50.2,
"alnum_prop": 0.6089488201041986,
"repo_name": "aws/aws-sdk-java",
"id": "4f1a0a44e13203e5be0de3ceb2b05fd4b28293f0",
"size": "7106",
"binar... |
REGION = 'eu-west-1'
PROFILE_NAME = 'InstanceLister'
TERMINAL = 'xfce4-terminal -H'
SSH_CERTIFICATE = ['/home/lorenzo/.certificates/david-1.pem', '/home/lorenzo/.certificates/david-1-pocket-sell-app.pem']
UPDATE_COMMAND = ' && '.join([
'sudo apt-get update',
'sudo apt-get upgrade',
'sudo apt-get clean',
'sudo apt-g... | {
"content_hash": "693c0a09526c968519a1488ef48c2068",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 204,
"avg_line_length": 43.07843137254902,
"alnum_prop": 0.6718252162039144,
"repo_name": "lorenzos/AWSInteractiveUtils",
"id": "7c410f1fa3c2068ef09df6b3df6884a5ac390eaf",
... |
package com.tesshu.subsonic.client.fx.command.logic;
import com.tesshu.subsonic.client.fx.command.InitializeComponentWithParamLogic;
import com.tesshu.subsonic.client.fx.command.param.SimpleObjectParam;
import com.tesshu.subsonic.client.fx.view.annotation.ChronoContainer;
import com.tesshu.subsonic.client.model.Musi... | {
"content_hash": "9f1e7e17c09845c855fb9bd4f43209f3",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 96,
"avg_line_length": 39.75,
"alnum_prop": 0.8553459119496856,
"repo_name": "tesshucom/subsonic-fx-player",
"id": "ae828675fb3f282efdb1801b9e518bd4b9aad009",
"size": "1097... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to CodeIgniter</title>
<style type="text/css">
::selection { background-color: #E13300; color: white; }
::-moz-selection { background-color: #E13300; color: white;... | {
"content_hash": "471021bc057057e14e3a00fcaffd4b7f",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 193,
"avg_line_length": 23.078651685393258,
"alnum_prop": 0.6699123661148978,
"repo_name": "pniebla/test-repo-console",
"id": "faff3d32d49382a617c4939df69febb6dfcdb102",
"s... |
"""Contains utilities for downloading and converting datasets."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import sys
import tarfile
from six.moves import urllib
import tensorflow as tf
LABELS_FILENAME = 'labels.txt'
def int64_feature(va... | {
"content_hash": "f648c0dc464f44909fc8d4cf2437717d",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 80,
"avg_line_length": 35.08771929824562,
"alnum_prop": 0.67625,
"repo_name": "nghiattran/self-steering",
"id": "79ad75196c97f6a8398426a06528cd8ed14f51b7",
"size": "4689",... |
<?php
declare(strict_types=1);
namespace Sonata\Component\Product;
interface DeliveryInterface
{
/**
* Set product.
*/
public function setProduct(ProductInterface $product);
/**
* Get product.
*
* @return ProductInterface
*/
public function getProduct();
/**
... | {
"content_hash": "8014503294a247ac2478a850e7e27a09",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 63,
"avg_line_length": 16.425373134328357,
"alnum_prop": 0.5238527941844616,
"repo_name": "sonata-project/ecommerce",
"id": "5414653d2307bc4ad0e71dbc6690a14839e49b4f",
"si... |
package org.softuni;
import java.util.Arrays;
import java.util.Scanner;
public class _01_SortArrayNumbers {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int numberCount = in.nextInt();
int[] numberArray = new int[numberCount];
for (int i = 0; i <... | {
"content_hash": "251a17b5091728b8d2458c8102af6f06",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 94,
"avg_line_length": 26.55,
"alnum_prop": 0.6139359698681732,
"repo_name": "sholev/SoftUni",
"id": "4d2ea7a935585f6ac63ae5265bf0f63917cf8939",
"size": "531",
"binary": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Mascagnia amazonica Nied.
### Remarks
null | {
"content_hash": "a88778efa5669daa42abf44e866d893e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 11.307692307692308,
"alnum_prop": 0.7278911564625851,
"repo_name": "mdoering/backbone",
"id": "95c0c9086f636edc4dd36784ad6627bbd0db9f68",
"size": "21... |
\pageId{usecases}
There are a healthy number of tools which have functionality related to SnuggleTeX,
which can make it hard to decide which tool bits fits your given requirements.
Like all tools, SnuggleTeX has its relative strengths and weaknesses that you
should consider:
\begin{itemize}
\item
SnuggleTeX was or... | {
"content_hash": "299f951788f79075c4ab2a5c38f8a27a",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 135,
"avg_line_length": 46.04477611940298,
"alnum_prop": 0.7834683954619125,
"repo_name": "kduske-n4/snuggletex",
"id": "68795a05240cae2510129e98183877af5c94feff",
"size": ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ngClassifieds</title>
<link rel="stylesheet" href="node_modules/angular-material/angular-material.css">
<link rel="stylesheet" href="node_modules/mdi/css/materialdesignicons.min.css" media="all" type="text/css">
<link rel="stylesheet" href="css/style... | {
"content_hash": "be82aced86ef964ffc8804d38cc76f38",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 109,
"avg_line_length": 37.640776699029125,
"alnum_prop": 0.6615940159917462,
"repo_name": "yoavgecht/yoavgecht.github.io",
"id": "e7ac54587cb100fee2bc31c046b06d95a20f64f7",... |
<aside class="menu" *ngIf="menu" style="height: 100%; overflow-y: auto">
<div *ngFor="let item of menu.items">
<div class="menu-label">{{item.name}}</div>
<ul class="menu-list">
<li *ngFor="let child of item.items">
<a [routerLink]="child.url" routerLinkActive="is-active">{{child.name}}<... | {
"content_hash": "4fe71154dedfde2ed051596f144cd524",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 85,
"avg_line_length": 36.7,
"alnum_prop": 0.5694822888283378,
"repo_name": "akhellas/iris2",
"id": "727acd45a4612ee8ce5d03689ff26e43076b91c7",
"size": "367",
"binary": f... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content="Copy to clipboard">
<meta name="lang... | {
"content_hash": "02372655a4cc0c43cc5eb1726c675d49",
"timestamp": "",
"source": "github",
"line_count": 442,
"max_line_length": 999,
"avg_line_length": 41.01809954751131,
"alnum_prop": 0.6011583011583012,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "077e19d96886672aed04e8c63cc07b49ab33dd7... |
<?php
namespace tests\TestCases;
use tests\Model\UserModel;
use tests\Model\PostModel;
/**
* SQL查询条件测试
*
* @author Lumeng <zhengb302@163.com>
*/
class SQLConditionTest extends BaseDatabaseTestCase {
protected function getDataSet() {
$xmlFileArray = array(
TEST_ROOT . '/resources/sql-cond... | {
"content_hash": "572d904d568c83932bf22a4de08bc792",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 84,
"avg_line_length": 25.71034482758621,
"alnum_prop": 0.5209227467811158,
"repo_name": "zhengb302/LumengPHP-Db",
"id": "c155ea9ebed67b870f94340d1b8d993654241f0e",
"size"... |
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe "AddressableRecord" do
describe "having ActiveRecord extensions" do
it "should respond to address" do
ActiveRecord::Base.respond_to?( :address ).should be_true
end
it "should respond to addresses" do
ActiveRecord::Bas... | {
"content_hash": "56c978a451c7fe6f4a4ee2e40b7521a0",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 133,
"avg_line_length": 32.904761904761905,
"alnum_prop": 0.6360347322720694,
"repo_name": "midas/addressable_record",
"id": "45ae878fcd1f9e9fa226f28845627a57556c7b81",
"s... |
/********************** tine translations of ActiveSync**********************/
Locale.Gettext.prototype._msgs['./LC_MESSAGES/ActiveSync'] = new Locale.Gettext.PO(({
""
: "Project-Id-Version: Tine 2.0\nPOT-Creation-Date: 2008-05-17 22:12+0100\nPO-Revision-Date: 2012-10-08 15:55+0000\nLast-Translator: Gurney <inscriptio... | {
"content_hash": "5b756cf30a97e522d8250393e95bdbc9",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 476,
"avg_line_length": 29.958333333333332,
"alnum_prop": 0.7070004636068614,
"repo_name": "jodier/tmpdddf",
"id": "2d88533a666f62c14462a53e85aaf0393189a9a1",
"size": "2192... |
package loader
import (
"context"
"fmt"
"os"
"time"
"github.com/cilium/cilium/pkg/datapath/linux/config"
"github.com/cilium/cilium/pkg/testutils"
. "gopkg.in/check.v1"
)
func (s *LoaderTestSuite) TestobjectCache(c *C) {
tmpDir, err := os.MkdirTemp("", "cilium_test")
c.Assert(err, IsNil)
defer os.RemoveAll... | {
"content_hash": "98b20e9d4608532551d76b3b5cc163ba",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 74,
"avg_line_length": 25.44055944055944,
"alnum_prop": 0.6610775151181968,
"repo_name": "tklauser/cilium",
"id": "48717630d83f8e6432fbc7a9fbf1450b1ae802a8",
"size": "3770... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Database;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
... | {
"content_hash": "510ee368ebca857265c58b1b08fe766d",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 124,
"avg_line_length": 41.24409448818898,
"alnum_prop": 0.5874379534173348,
"repo_name": "bd-king/E-notice",
"id": "d0404cfe170f0a8eec467962c9ee6b75448cbe3a",
"size": "52... |
interface IMenuHeader {
TextColor: string;
BackgroundColor: string;
} | {
"content_hash": "53de4464ff3b6049dcbffb9a0ece9e92",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 28,
"avg_line_length": 19.5,
"alnum_prop": 0.717948717948718,
"repo_name": "ImAliveApp/HumanoidCharacter",
"id": "06f5e97560389e4bf30e53bc412db673c72ee448",
"size": "80",
... |
<component name="libraryTable">
<library name="support-annotations-22.2.0">
<CLASSES>
<root url="jar://$USER_HOME$/Desktop/android/extras/android/m2repository/com/android/support/support-annotations/22.2.0/support-annotations-22.2.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar... | {
"content_hash": "39f42029c099e9d3cd324dd041c9bea5",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 170,
"avg_line_length": 46.45454545454545,
"alnum_prop": 0.700587084148728,
"repo_name": "shwetaagrawal15/AssignmentReminder",
"id": "16078ef532858d8cabd6fcdb48e8b3015c2ad5b8... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const catchError = (matcher) => (e) => matcher.test(e.message) ? undefined :
assert.fail(e.message, matcher.toString(), `Invalid error: ${e.message}`);
exports.catchInvalidOpcode = catchError(/invalid opcode/);
const catchOutOfGas = catchE... | {
"content_hash": "c087ef00374b0c44b398714e412541b0",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 90,
"avg_line_length": 61.36363636363637,
"alnum_prop": 0.7274074074074074,
"repo_name": "ProBonoPublicoWorld/ico-contracts",
"id": "8f8171dcfc915c41daaa069ffeaf77aca5a51e6a"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "febe5dbd48558ee4a539c68273c5eacd",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 401,
"avg_line_length": 62.1651376146789,
"alnum_prop": 0.6508264462809917,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "fa09ae95d03fc507e6aafda41d311ba76eee12fe",
"size... |
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.1.xsd">
<bean id="webAppDispatcherServlet" class="you... | {
"content_hash": "e6d8dbf5c7781edea6dbe11910dbcda8",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 100,
"avg_line_length": 42.333333333333336,
"alnum_prop": 0.7349081364829396,
"repo_name": "ykameshrao/spring-angularjs-hibernate-twitter-bootstrap-java-single-page-webapp-with-... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2013 Illuminati developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "db.h"
#include "net.h"
#incl... | {
"content_hash": "b4b8910dbb46e7ee4716da32c8444ef0",
"timestamp": "",
"source": "github",
"line_count": 1881,
"max_line_length": 196,
"avg_line_length": 30.045720361509836,
"alnum_prop": 0.5448014721494798,
"repo_name": "illuminaticorporation/ICR",
"id": "0491d9f087ff79965bb344b98bb326f468af661d",
... |
using System;
namespace PizzaCalories
{
public class Dough
{
private string flourType;
private string bakingTechnique;
private double weight;
private double calories;
public Dough(string flourType, string bakingTechnique, double weight)
{
this.Flour... | {
"content_hash": "d024a952ac90804309555ecbd15aec91",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 99,
"avg_line_length": 29.737864077669904,
"alnum_prop": 0.41266731962128633,
"repo_name": "George221b/SoftUni-Tasks",
"id": "1e2bba1710323649465221692f84fa61385bd556",
"s... |
package org.apache.avro.mapred;
import java.io.IOException;
import org.apache.hadoop.mapred.Reporter;
import org.apache.hadoop.conf.Configured;
/** A reducer for Avro data.
*
* <p>Applications should subclass this class and pass their subclass to {@link
* AvroJob#setReducerClass} and perhaps {@link AvroJob#setC... | {
"content_hash": "4fd8f9a18e883b728b4f566e43cc19fd",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 79,
"avg_line_length": 29.114285714285714,
"alnum_prop": 0.6859666339548577,
"repo_name": "pwendell/Avro",
"id": "12585909c340470ddda685edb8cf76a55523b9d9",
"size": "1825",... |
define(function(require, exports){
var trackingServiceUrl = 'http://online-dnbard.rhcloud.com/',
// http://online-dnbard.rhcloud.com/ is an address of default tracking service
// Change it if you use self-hosting instance of online tracking service
appToken = <PLACE APPLICATION TOKEN HERE>,
... | {
"content_hash": "b6da965b22b855c4262ca1fbfc7c4be5",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 120,
"avg_line_length": 36.13793103448276,
"alnum_prop": 0.558206106870229,
"repo_name": "dnbard/brackets-extension-rating",
"id": "0465a554f21e42ef141be9605c2d74fb0d1b9249",... |
#include "codegen/llvm/Codegen.hpp"
#ifdef HAVE_LLVM
namespace codegen { namespace llvm_ {
Codegen::Codegen ()
{
_cur_bb = NULL;
_cur_func = NULL;
_exit_block = NULL;
_module = NULL;
_st = NULL;
llvm::InitializeNativeTarget();
}
llvm::Value*
Codegen::_castLlvmValue (llvm::Value* val, mem::st::Ty... | {
"content_hash": "6f75ad1394297b6549e4008cc239e454",
"timestamp": "",
"source": "github",
"line_count": 1501,
"max_line_length": 110,
"avg_line_length": 27.007994670219855,
"alnum_prop": 0.5847702212684082,
"repo_name": "ThQ/memc",
"id": "58224cfaa840026e595d0e5d0f6d5a6e0c89fbd9",
"size": "40539",
... |
namespace RestaurantProject
{
partial class Form5
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | {
"content_hash": "016c9b6ef102c0e2efde53c45cb3f7e2",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 159,
"avg_line_length": 51.2967032967033,
"alnum_prop": 0.6066838046272494,
"repo_name": "pablokintopp/Restaurant",
"id": "a3fffd42540e0da44729024c31d52e955407099a",
"size... |
<?php
declare(strict_types=1);
namespace Artisanry\Database\Traits\Repositories\Decorators\Cache;
trait AggregateTrait
{
public function count()
{
$key = $this->buildCacheKey(['count']);
if ($records = $this->getFromCache($key)) {
return $records;
}
$records = ... | {
"content_hash": "e90333023087d4b0f7ffc821305c17bf",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 66,
"avg_line_length": 20.8,
"alnum_prop": 0.5243589743589744,
"repo_name": "DraperStudio/Laravel-Database",
"id": "d99762e8d762eed0c18a038cd45de2ecf07fc7c6",
"size": "1780... |
struct sys_var {
unsigned name_length;
bool no_support_one_shot;
sys_var() {}
};
struct sys_var_thd : public sys_var {
};
extern sys_var_thd sys_auto_is_null;
sys_var *getsys_variables() {
return &sys_auto_is_null;
}
sys_var *sys_variables = &sys_auto_is_null;
| {
"content_hash": "e5b54f178d7746c87f5a6e390cc1b068",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 43,
"avg_line_length": 11.708333333333334,
"alnum_prop": 0.6476868327402135,
"repo_name": "wrmsr/lljvm",
"id": "365c8e80fbf5f9fe2e7ebaadb4a4530a64fa0262",
"size": "331",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__char_file_ifstream_18.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-18.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: file Read input from a file
* Goo... | {
"content_hash": "41a9585c9def9c07d1eaf769a5f21582",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 114,
"avg_line_length": 25.807407407407407,
"alnum_prop": 0.5898392652123995,
"repo_name": "JianpingZeng/xcc",
"id": "e887559bd065c9d6a4f7f07ac45af0c8ef273d7d",
"size": "3... |
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
include KeywordExtractorAnalyzer
describe KeywordExtractor do
context 'uninitialize' do
describe '#initialize' do
context 'when call' do
it 'CountAnalyzer' do
extractor = KeywordExtractor.new
analyzer = extractor... | {
"content_hash": "d54d1c0130d3ea7631b34bb6c71ffaf0",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 65,
"avg_line_length": 27.5,
"alnum_prop": 0.6116883116883117,
"repo_name": "yukihir0/keyword_extractor",
"id": "23f79838b03c5ad45faa9100df8a343cca2d0b40",
"size": "1556",
... |
package com.mbrlabs.mundus.commons.g3d;
import com.badlogic.gdx.assets.loaders.FileHandleResolver;
import com.badlogic.gdx.assets.loaders.ModelLoader;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.VertexAttrib... | {
"content_hash": "187efbb84d8bac311371169021fbd7b6",
"timestamp": "",
"source": "github",
"line_count": 475,
"max_line_length": 120,
"avg_line_length": 49.03578947368421,
"alnum_prop": 0.5609651382448909,
"repo_name": "mbrlabs/Mundus",
"id": "87ecd4a42a52383375af27bbf31eb4efd4ff4022",
"size": "2389... |
require 'test/unit'
# Require and include test helpers
#
Dir[File.join(File.dirname(__FILE__), 'helpers', '*_test_helper.rb')].each do |helper|
require helper
/(.*?)_test_helper\.rb/.match File.basename(helper)
class_name = $1.split('_').collect{ |name| name.downcase.capitalize }.join('') + 'TestHelper'
Test::... | {
"content_hash": "6e427d6d2bdd94f7ea60307c1c900dfe",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 103,
"avg_line_length": 26.79032258064516,
"alnum_prop": 0.7013847080072245,
"repo_name": "shuber/subdomain_account",
"id": "b819681d6db01b5352bee1547e64bbad27bc7f6e",
"siz... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "300bffd8c19f51a65e8794a9460e4d32",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "3bd4a789074c62cb4bce6c6dd8e8fbbb1829626c",
"size": "188... |
import urllib
import urllib2
class Pushco(object):
def __init__(self, api_key, api_secret, message, url=None, latitude=None, longitude=None, view_type = None):
self.api_key = api_key
self.api_secret = api_secret
self.message = message
self.url = url
self.latitude =... | {
"content_hash": "55bc1e656cf97130b317713ae3febeec",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 112,
"avg_line_length": 31.695652173913043,
"alnum_prop": 0.49588477366255146,
"repo_name": "obrasco/pushco",
"id": "2c3c5f59b30c0beca07b7c355920117349fdfe7c",
"size": "145... |
module.exports = function(exports) {
// ************************
// Request Methods
// ************************
var vars = exports.vars;
/**
* Request funds from a source user for the user associated with the authorized access token.
* https://www.dwolla.com/developers/endpoints/t... | {
"content_hash": "bdd9bb1411344db199ed1dcba8f3aeb7",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 125,
"avg_line_length": 32.96923076923077,
"alnum_prop": 0.5242650489967335,
"repo_name": "Dwolla/dwolla-node",
"id": "8eaf078c7062b4440402ddbd14781cd83580cc42",
"size": "... |
set -o errexit
set -o nounset
set -o pipefail
# Avalanchego root folder
AVALANCHE_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd )
# Load the versions
source "$AVALANCHE_PATH"/scripts/versions.sh
# Load the constants
source "$AVALANCHE_PATH"/scripts/constants.sh
# Download dependencies
echo "Downloading ... | {
"content_hash": "9bd8e832485708ca73499563b866efb8",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 71,
"avg_line_length": 23.82758620689655,
"alnum_prop": 0.6931982633863966,
"repo_name": "ava-labs/avalanchego",
"id": "a427058c3424ee3725e2609ae3821f8b1e51601f",
"size": "... |
require 'spec_helper'
require "amatista.rb"
describe Amatista do
before(:all) do
@fraccion1 = Amatista::Fraccion.new(-50,60)
@fraccion2 = Amatista::Fraccion.new(2,7)
puts @fraccion1.to_s << " + " << @fraccion2.to_s << " == (" << (@fraccion1 + @fraccion2).to_s << ")"
puts @fraccion1.to_s << " - " ... | {
"content_hash": "fd8ccfa192810d3948ef6c94766a5b42",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 105,
"avg_line_length": 33.81666666666667,
"alnum_prop": 0.6372597338590439,
"repo_name": "alu0100721805/prct05",
"id": "709816a35ebc1c476b80a490d7c3becdf777aaac",
"size": ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use CivilServices;
use MetaTag;
use Bugsnag;
class MyElectedOfficialsController extends Controller
{
/**
* @return mixed
*/
public function index()
{
// Setup Meta Tags
MetaTag:... | {
"content_hash": "a0521ebc28db85c8c195684eab5c8345",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 148,
"avg_line_length": 36.37623762376238,
"alnum_prop": 0.5459989112683723,
"repo_name": "CivilServiceUSA/website",
"id": "5d2803b0c8a064c40806d5d75685ab30a2cd5683",
"siz... |
# Copyright (C) 2008-2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# This program 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; version 2 of the License.
#
# This prog... | {
"content_hash": "f45c87969120b1df375469909f7df8f6",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 120,
"avg_line_length": 33.66867469879518,
"alnum_prop": 0.7058507783145465,
"repo_name": "jonzobrist/Percona-Server-5.1",
"id": "1319676ba58bf81d0abb85c9de3668748ede2701",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Copyright (C) 1988-2017 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later... | {
"content_hash": "ed1a61a65f6b105ff5856eb08e40f5ae",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 419,
"avg_line_length": 43.846846846846844,
"alnum_prop": 0.735771522498459,
"repo_name": "ATM-HSW/mbed_target",
"id": "571d90acc0a90aac53341cfa2b2a7158d858e732",
"size": ... |
{
var listeners = listenersTable.get(currentTarget);
if (!listeners) return true;
var target = overrideTarget || eventRetargetting(eventPath, currentTarget);
if (target === currentTarget) {
if (phase === CAPTURING_PHASE) return true;
if (phase === BUBBLING_PHASE) phase = AT_TARGET;
} else if (phase =... | {
"content_hash": "aee27e1dbd7730506c9ecd6c587f38a4",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 77,
"avg_line_length": 26.01219512195122,
"alnum_prop": 0.6188466947960619,
"repo_name": "stas-vilchik/bdd-ml",
"id": "695b7e34e213b8ff307da2961827be1cb1113e38",
"size": "2... |
Interact with the Assembla API
## Installation
In hubot project repo, run:
`npm install hubot-assembla --save`
Then add **hubot-assembla** to your `external-scripts.json`:
```json
["hubot-assembla"]
```
## Config
HUBOT_ASSEMBLA_API_APP_ID - Create @ https://www.assembla.com/user/edit/manage_clients (leave we... | {
"content_hash": "5e04d9ac6dfe70b2d7b909962f0629fb",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 130,
"avg_line_length": 42.525,
"alnum_prop": 0.7272192827748384,
"repo_name": "benwtr/hubot-assembla",
"id": "eaca1dd559a7240d051213417a514744fbeb82d3",
"size": "1719",
... |
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [WebAudio](./puppeteer.protocol.webaudio.md) > [ContextCreatedEvent](./puppeteer.protocol.webaudio.contextcreatedevent.md) > [contex... | {
"content_hash": "2126baa18c6a78b6abb254957641385f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 300,
"avg_line_length": 47.09090909090909,
"alnum_prop": 0.7335907335907336,
"repo_name": "GoogleChrome/puppeteer",
"id": "4e740dfbf88943579aaa36e84b2a5b0c1505ba25",
"size"... |
import sys
import os
# If extensions (or modules to document with autodoc) are in another
# directory, add these directories to sys.path here. If the directory is
# relative to the documentation root, use os.path.abspath to make it
# absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
# Get the proje... | {
"content_hash": "142fa797c447a173ff812e2ad47421aa",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 76,
"avg_line_length": 30.93846153846154,
"alnum_prop": 0.7042516161113874,
"repo_name": "audreyr/jinja2_pluralize",
"id": "040346e957da9566b42492e84f96cf0e919f12f5",
"siz... |
foam.CLASS({
package: 'foam.dao',
name: 'StoreAndForwardDAO',
extends: 'foam.dao.ProxyDAO',
documentation: `Store-and-forward (i.e., store-and-retry) failed DAO
operations. Useful for DAOs that may flake, but eventually succeed.`,
requires: [ 'foam.dao.InternalException' ],
classes: [
{
... | {
"content_hash": "3e102c351b77ac8bd5a469d80e02f4df",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 93,
"avg_line_length": 29.144329896907216,
"alnum_prop": 0.5550053059780686,
"repo_name": "foam-framework/foam2",
"id": "44863583542370eb803b345c0ccad1d67b05926d",
"size":... |
package Google::Ads::AdWords::v201406::PlaceHolder;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use Clas... | {
"content_hash": "e031bbd639dea851c4ac6b070c36f19f",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 81,
"avg_line_length": 12.366666666666667,
"alnum_prop": 0.6864330637915543,
"repo_name": "gitpan/Google-Ads-AdWords-Client",
"id": "93e0bb318918b18beeb6fbdfe624e67b1750a8fd"... |
homebrew-bbsite
===============
install emacs
-------------
brew install --with-cocoa --japanese smiyabe/bbsite/emacs
| {
"content_hash": "f2aa2b5496629f96dcd0c4229f213767",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 57,
"avg_line_length": 13.555555555555555,
"alnum_prop": 0.5901639344262295,
"repo_name": "smiyabe/homebrew-bbsite",
"id": "6488397f24964003ad3b87bb72a6da0aceadc937",
"size"... |
package vista.paneles.org;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
public ... | {
"content_hash": "bd6bd508cfd2221580b2a07013b1883f",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 98,
"avg_line_length": 34.236111111111114,
"alnum_prop": 0.7369844489519946,
"repo_name": "usainzg/RaceManager",
"id": "ea834b6e499fd800747eb20c71f8df7d41f8afd5",
"size": ... |
using log4net;
using Mono.Addins;
using Nini.Config;
using OpenSim.Framework;
using OpenSim.Region.Framework.Interfaces;
using OpenSim.Region.Framework.Scenes;
using System;
using System.Reflection;
namespace OpenSim.Region.CoreModules.Asset
{
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule"... | {
"content_hash": "19a7a1e22f8b6453450368f11cb2ffe1",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 110,
"avg_line_length": 25.982456140350877,
"alnum_prop": 0.5060769750168805,
"repo_name": "ft-/opensim-optimizations-wip",
"id": "a479e8f645c9f61d04c37e7bd9194face34bd5a0",... |
<!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 -->
<title>com.centurylink.mdw.request (MDW 6 API JavaDocs)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="St... | {
"content_hash": "a391697fac2918dbd96135a1834f8b52",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 161,
"avg_line_length": 45.888888888888886,
"alnum_prop": 0.7005649717514124,
"repo_name": "CenturyLinkCloud/mdw",
"id": "4a62a8af675312e21456ec172994360ff6e183dd",
"size":... |
<?php
namespace Backend\Modules\Location\Actions;
use Backend\Core\Engine\Authentication as BackendAuthentication;
use Backend\Core\Engine\Base\ActionEdit as BackendBaseActionEdit;
use Backend\Core\Engine\Form as BackendForm;
use Backend\Core\Language\Language as BL;
use Backend\Core\Engine\Model as BackendModel;
u... | {
"content_hash": "962c9d870af26c7b9759c9222acce9d8",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 307,
"avg_line_length": 39.587982832618025,
"alnum_prop": 0.5357762359063313,
"repo_name": "dmoerman/forkcms",
"id": "9a2346266566974b3ae9e89a52abcbddd6c6191b",
"size": "9... |
import React from 'react'
import PropTypes from 'prop-types'
import {PatchEvent, set} from 'part:@sanity/form-builder/patch-event'
import styles from './CustomFontStringInput.module.css'
export default class CustomStringInput extends React.Component {
static propTypes = {
value: PropTypes.string,
type: PropT... | {
"content_hash": "41515cf605833ae46e6e4d8ba4969d4b",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 69,
"avg_line_length": 25.59375,
"alnum_prop": 0.6227106227106227,
"repo_name": "sanity-io/sanity",
"id": "e3eebdc375a3f7f36d38bcf2094b90950f51c3c7",
"size": "819",
"bina... |
#ifndef API_MANAGER_AUTH_LIB_AUTH_TOKEN_H_
#define API_MANAGER_AUTH_LIB_AUTH_TOKEN_H_
#include <stddef.h>
namespace google {
namespace api_manager {
namespace auth {
// Parse a json secret and generate auth_token
// Returned pointer need to be freed by esp_grpc_free
char *esp_get_auth_token(const char *json_secret,... | {
"content_hash": "316854fafcf6d5ded63684273f6f5504",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 79,
"avg_line_length": 31.41176470588235,
"alnum_prop": 0.6825842696629213,
"repo_name": "FirebasePrivate/proxy",
"id": "f17358d96b8bfa99dacf9d1663a5e2d26964b46a",
"size": ... |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Game.Rulesets.RP.Objects.Interface
{
public interface IHasRotation
{
float Rotation { get; set; }
}
}
| {
"content_hash": "847aea9d84aa7e5e86d7ae6752e3cea7",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 102,
"avg_line_length": 30.8,
"alnum_prop": 0.6785714285714286,
"repo_name": "osu-RP/osu-RP",
"id": "d19acc38cc7a61ea7ad7c1d255fd07a9c9fb89a6",
"size": "310",
"binary": f... |
"""Provides a simple private telegram bot example.
Provides an example telegram-bot using
ownbot's authentication decorators.
"""
from telegram.ext import Updater, CommandHandler
from ownbot.auth import requires_usergroup, assign_first_to
from ownbot.admincommands import AdminCommands
TOKEN = open("token.tx... | {
"content_hash": "2bed426d2acd6ba5f18c3de1c42b180a",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 71,
"avg_line_length": 27.403846153846153,
"alnum_prop": 0.6877192982456141,
"repo_name": "michaelimfeld/ownbot",
"id": "b81a4874879a38d5b5a693bdf540f2ced02899e5",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.