text
stringlengths
2
1.04M
meta
dict
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) WSO2 Inc. (http://wso2.com) 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....
{ "content_hash": "24fba5b988d4fde22c0fcad94a461a49", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 114, "avg_line_length": 41.1437125748503, "alnum_prop": 0.4961432105952554, "repo_name": "liurl3/developer_studio", "id": "2d29040938f300b17fe9d9b1fb67e128105652ce", "size...
var module1 = require("./Package1/Module1"); var module2 = require("./Package2/Module2"); exports.NAME = "Library"; function read() { var instance1 = new module1.Class1(); var instance2 = new module2.Class2(); return instance1 + "\n" + instance2; } exports.read = read; //@ sourceMappingURL=Library.js.map...
{ "content_hash": "a0adac067b012dff187d5ccbf416c0ac", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 44, "avg_line_length": 24.692307692307693, "alnum_prop": 0.6791277258566978, "repo_name": "billyzkid/typescript-modules", "id": "76cd0c20b002a27e7c9af9a4c8af58789387899b", ...
=begin Copyright 2012 Shared Learning Collaborative, LLC 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 ...
{ "content_hash": "8041cc80b72240feeecc44c8e39b662e", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 80, "avg_line_length": 29.82051282051282, "alnum_prop": 0.7205503009458297, "repo_name": "jeffreyhill/databrowser", "id": "b9a31543adf8c44ba008da8e568fdf0433e4b6ed", "size"...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace MessageProcessorService { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resou...
{ "content_hash": "9a9a04363d8dec14177f3095fd519d0d", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 102, "avg_line_length": 25.782608695652176, "alnum_prop": 0.5986509274873525, "repo_name": "DaFrik/MessageProcessorService", "id": "eeeb3d11d76dfc7cb112a51ec11baa1afae7900f",...
<?php /** * @see Zend_Service_Amazon_Abstract */ #require_once 'Zend/Service/Amazon/Abstract.php'; /** * @see Zend_Service_Amazon_Ec2_Response */ #require_once 'Zend/Service/Amazon/Ec2/Response.php'; /** * @see Zend_Service_Amazon_Ec2_Exception */ #require_once 'Zend/Service/Amazon/Ec2/Exception.php'; /** *...
{ "content_hash": "e7443a03d4c72ad3c1be5b0552016b34", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 107, "avg_line_length": 30.63953488372093, "alnum_prop": 0.5797596457938013, "repo_name": "5452/durex", "id": "d1077b0fe3647a535f3947a06805586f82866278", "size": "8674", ...
<?php /** * Wishlist Data Helper * * @category Mage * @package Mage_Wishlist * @author Magento Core Team <core@magentocommerce.com> */ class Mage_Wishlist_Helper_Data extends Mage_Core_Helper_Abstract { /** * Config key 'Display Wishlist Summary' */ const XML_PATH_WISHLIST_LINK_USE_Q...
{ "content_hash": "79aed09dca813a0489f5ff2f9d2b052c", "timestamp": "", "source": "github", "line_count": 569, "max_line_length": 116, "avg_line_length": 27.567662565905096, "alnum_prop": 0.5678311870457733, "repo_name": "garasiya/magento1910", "id": "a811da95c27945bd82a57166ff3faceb47c1f961", "size"...
using Esprima.Ast.Jsx; namespace Esprima.Utils.Jsx; public class JsxAstVisitorEventSource : AstVisitorEventSource, IJsxAstVisitor { public event EventHandler<JsxAttribute>? VisitingJsxAttribute; public event EventHandler<JsxAttribute>? VisitedJsxAttribute; public event EventHandler<JsxClosingElement>? Vi...
{ "content_hash": "d4718d250fa80b1d9332596cca8ae60b", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 101, "avg_line_length": 44.34027777777778, "alnum_prop": 0.7644479248238057, "repo_name": "sebastienros/esprima-dotnet", "id": "1dd38a20e2c9d66be81b994f7364ba0b14ad265d", ...
<?php namespace DvsaCommonTest\Date; use DvsaCommon\Date\DateTimeHolder; use DvsaCommon\Date\DateTimeHolderInterface; use DvsaCommon\Date\FinancialYear; use DvsaCommonTest\TestUtils\XMock; class FinancialYearTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider validFakeUserCurrentDateForCurrentFin...
{ "content_hash": "752bec591fbf38165b28064750d7666f", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 127, "avg_line_length": 44.14492753623188, "alnum_prop": 0.6726854891661195, "repo_name": "dvsa/mot", "id": "3d15ff6849bc2a455c111749bcc1cc5857564a1d", "size": "3046", "b...
class Object def self.const_missing(c) return nil if @calling_const_missing class_name = c @calling_const_missing = true require Rulers.to_underscore(c.to_s) klass = Object.const_get(c) if klass.name.to_s == class_name.to_s puts "loaded correct class" else puts "didn't find i...
{ "content_hash": "de4ce145ec2390a929da6635cafa4821", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 41, "avg_line_length": 20.526315789473685, "alnum_prop": 0.6358974358974359, "repo_name": "liln/rulers", "id": "76c0425db218a9fbdb563635675689e81d4ebc71", "size": "390", ...
local K, C, L = unpack(select(2, ...)) if C["ActionBar"].Enable ~= true then return end -- Lua API local _G = _G local string_gsub = string.gsub -- Wow API local GetFlyoutID = _G.GetFlyoutID local GetFlyoutInfo = _G.GetFlyoutInfo local GetNumFlyouts = _G.GetNumFlyouts local hooksecurefunc = _G.hooksecurefunc local In...
{ "content_hash": "4f6f717aae3e0489042b7830b61d1e01", "timestamp": "", "source": "github", "line_count": 310, "max_line_length": 166, "avg_line_length": 30.587096774193547, "alnum_prop": 0.7126133727061801, "repo_name": "Kkthnx-WoW/KkthnxUI", "id": "99c0669c3e8094c86a8a1610e1b01fb0a6b67f21", "size":...
<?php use_helper('I18N') ?> <?php use_javascript("/sfMultipleAjaxUploadGalleryPlugin/js/jquery.blockUI.js") ?> <style type="text/css"> fieldset.optdual { width: 500px; } .optdual { position: relative; } .optdual .offset { position: absolute; left: 18em; } .optlist label { width: 16em; d...
{ "content_hash": "bf26489eb1f381bf868a6ed355b18cc5", "timestamp": "", "source": "github", "line_count": 208, "max_line_length": 430, "avg_line_length": 52.84134615384615, "alnum_prop": 0.35119643344554635, "repo_name": "nlkhagva/educenter.mn", "id": "32d2d89a238f697033147b34a9dc593980652074", "size...
// Copyright 2012 James Cooper. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. // Package gorp provides a simple way to marshal Go structs to and from // SQL databases. It uses the database/sql package, and should work with any // compliant...
{ "content_hash": "fda162d5f47185546ac191baea5b42d3", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 112, "avg_line_length": 24.350877192982455, "alnum_prop": 0.6993275696445725, "repo_name": "mousesun/gorp", "id": "3d7d3402763d5467f08ebcbd413db3cb67672b71", "size": "4164...
package Concurrency; /** * Created by hadoop on 17-2-21. * Java多线程,简单的使用wait和notify示例 */ public class SimpleWN { final static Object object = new Object(); public static class T1 extends Thread { @Override public void run() { synchronized (object) { System.out...
{ "content_hash": "4ed297e5d7ef678d9c887f7d30cd1a75", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 96, "avg_line_length": 27.53846153846154, "alnum_prop": 0.49162011173184356, "repo_name": "science09/DesignPattern", "id": "ec12ac1673b19d4acf555e3f00e7257f83612991", "size...
from typing import Optional, Text from zerver.lib.test_classes import WebhookTestCase class GoogleCodeInTests(WebhookTestCase): STREAM_NAME = 'gci' URL_TEMPLATE = "/api/v1/external/gci?&api_key={api_key}&stream={stream}" FIXTURE_DIR_NAME = 'gci' def test_abandon_event_message(self) -> None: e...
{ "content_hash": "aa04ae8d1510716fdeec5135638ac678", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 191, "avg_line_length": 64.45454545454545, "alnum_prop": 0.6650211565585331, "repo_name": "mahim97/zulip", "id": "22495da90dd79599fc06e41a5afe48ad3a188f50", "size": "2860",...
# Copyright 2014 Lukas Kemmer # # 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 wr...
{ "content_hash": "e8f083af5bc201dc118c8df613ce073c", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 71, "avg_line_length": 27.52980132450331, "alnum_prop": 0.6006735626653837, "repo_name": "lukas-ke/faint-graphics-editor", "id": "cb258401bd08c892842145bddda724982d8203fb", ...
PDOMy ===== helper class for common PHP MySQL PDO tasks Where functions ask for $data (addRow, updateRow) the structure is: $data = array ( columnName=>value, columnName2=>value2 ); On updateRow() only the columns you are updating need to be included. When using addRow() all columns defined as 'not null' a...
{ "content_hash": "fd2f3962e3f8ff4c66f5ec0cf413fd15", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 69, "avg_line_length": 18.77777777777778, "alnum_prop": 0.7159763313609467, "repo_name": "mhendershott/PDOMy", "id": "aff7fe0bb66454c00db1a2dfc0a7a297e81a4922", "size": "33...
A wrapper on Apache PDFBox to provide simple println() interface for text output in PDF document [![Build Status](https://travis-ci.org/momogentoo/PDFBoxPrintln.svg?branch=master)](https://travis-ci.org/momogentoo/PDFBoxPrintln) Purpose ============= Provide a simple interface to create PDF document quickly License ...
{ "content_hash": "999494cd4e772396f3f7b2e3a6737b08", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 131, "avg_line_length": 25.142857142857142, "alnum_prop": 0.7178030303030303, "repo_name": "momogentoo/PDFBoxPrintln", "id": "f944873786c1ba5b19531eed780f983d28e395d5", "si...
"""Here's our handy setup script for the ipviking django authentication""" from setuptools import setup, find_packages setup( name = 'ipviking_django', version = '0.1', description = 'An example of using the IPViking API as authentication in a Django app.', author = 'Marcus Hoffman', url...
{ "content_hash": "37c736496876a55ef9ff0f2f0484cbe9", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 94, "avg_line_length": 44, "alnum_prop": 0.5634469696969697, "repo_name": "norsecorp/ipviking-django", "id": "b0ff503f1143360a87b016e31cfc31cfd8181f44", "size": "1056", "...
// // This file was auto-generated using the ChilliConnect SDK Generator. // // The MIT License (MIT) // // Copyright (c) 2015 Tag Games Ltd // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the...
{ "content_hash": "2840cd1cb195a3a6508fb279c0ba15a1", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 88, "avg_line_length": 32.2, "alnum_prop": 0.7531055900621118, "repo_name": "ChilliConnect/Samples", "id": "a32f5c49ad52dd1cd8b6922348743445e9a47084", "size": "2576", "bi...
function clearData() { localStorage.removeItem('trello_token'); localStorage.removeItem('trello_orgs'); } function $show(element_id) { document.getElementById(element_id).style.display = ''; } function $hide(element_id) { document.getElementById(element_id).style.display = 'none'; } function $click(element_id, f...
{ "content_hash": "ae4d70dfb3b97b8cc6d5aa0c4a86e7c9", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 69, "avg_line_length": 23.06382978723404, "alnum_prop": 0.6780442804428044, "repo_name": "nick-nz/trademe-to-trello", "id": "d77bf0af5e3b8da8ff8dc3f3efef75448875d8b6", "siz...
/* eslint-env mocha */ let attributesForFormSubmissionFeature = require('../../src/html/features/attributesForFormSubmission.js') let featureTest = require('./featureTest.js') describe('Attributes for form submission', function () { it('should find form using action attribute', function () { let html = `<form ac...
{ "content_hash": "cb26c3329ce9a5f699f92482801edc9c", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 106, "avg_line_length": 37.111111111111114, "alnum_prop": 0.7125748502994012, "repo_name": "jgardella/compat", "id": "c27be7c9ad507a45db0493c68f43e9d48ff048af", "size": "33...
#import "ATMProgressLayer.h" @implementation ATMProgressLayer @synthesize theProgress, progressBorderWidth, progressBorderRadius, progressBarRadius, progressBarInset; - (void)drawInContext:(CGContextRef)ctx { UIGraphicsPushContext(ctx); if (theProgress > 0) { CGRect rrect = CGRectInset(self.bounds, progressBord...
{ "content_hash": "ebc9c4c77b36cf7eba4db03e410be328", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 104, "avg_line_length": 41.40909090909091, "alnum_prop": 0.7607025246981339, "repo_name": "pheiniz/LoveMatch", "id": "5ea684d6ac887eb28b0ec069b81193d5da3453e0", "size": "20...
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyrigh...
{ "content_hash": "22dd369aef97fdbaf9f8c39ef7c1ca9f", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 95, "avg_line_length": 34.36842105263158, "alnum_prop": 0.5352220520673813, "repo_name": "mbrowne/typescript-dci", "id": "b867c929a14c943697924bf194e00a6cd565e33a", "size":...
Hippocrates is a server monitoring system <img src="https://github.com/tommyp1ckles/hippocrates/blob/master/monitor/templates/monitor/Hippocrates.jpg?raw=true" width=100></img> # Instructions set HIPPOCRATES_CONFIG env variable to the directory of your config.yaml and users.yaml files. Install redis and run `redis-s...
{ "content_hash": "7bb816108df5210ed2548027ecc9e3c1", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 134, "avg_line_length": 28.46153846153846, "alnum_prop": 0.8, "repo_name": "tommyp1ckles/hippocrates", "id": "9859615a6e1e8f95a1b239ce156aca188c7b204f", "size": "384", "b...
package org.jfree.data.xy; /** * An extension of the {@link XYDataset} interface that allows a vector to be * defined at a specific (x, y) location. * * @since 1.0.6 */ public interface VectorXYDataset extends XYDataset { /** * Returns the x-component of the vector for an item in a series. * ...
{ "content_hash": "36e54e02ec1a8954365f57e086a996a1", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 79, "avg_line_length": 28.76595744680851, "alnum_prop": 0.6316568047337278, "repo_name": "vaisaghvt/gameAnalyzer", "id": "ae74db319e4fc42943c9d7666c434ee851c6fec9", "size":...
<?php /** * Show statistics from the cache. * * 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; either version 2 of the License, or * (at your option) any later version. * * This program i...
{ "content_hash": "6128dbe812cc06531681a579e37049c4", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 97, "avg_line_length": 34.18260869565217, "alnum_prop": 0.5983210379038413, "repo_name": "spicy-tmw/wiki-raw", "id": "3d16af141d366183532a58cdfd9e568d96c29db6", "size": "3...
from pyxb.bundles.opengis.gml_3_3.raw.ce import *
{ "content_hash": "f80dcd927249cef47563504bfe5ecea2", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 49, "avg_line_length": 50, "alnum_prop": 0.76, "repo_name": "jonfoster/pyxb2", "id": "f4a66a8111072dafd7db2c79e0732b4d4797cde7", "size": "50", "binary": false, "copies":...
/** * Unit.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.owera.xapsws; public class Unit implements java.io.Serializable { private java.lang.String unitId; private java.lang.String serialNumber; private com.ow...
{ "content_hash": "6b38604311aec80417807cb822a99994", "timestamp": "", "source": "github", "line_count": 268, "max_line_length": 106, "avg_line_length": 30.563432835820894, "alnum_prop": 0.5962641924062996, "repo_name": "freeacs/wstc", "id": "7b249632e0d0b654b6d309863f3335f29ac2cf93", "size": "8191"...
package org.elasticsearch.index.mapper.attachment; import org.apache.lucene.document.Field; import org.apache.lucene.index.IndexOptions; import org.apache.lucene.util.Constants; import org.apache.tika.Tika; import org.apache.tika.language.LanguageIdentifier; import org.apache.tika.metadata.Metadata; import org.elast...
{ "content_hash": "3a4112760671426fca41547c333a150d", "timestamp": "", "source": "github", "line_count": 658, "max_line_length": 179, "avg_line_length": 42.036474164133736, "alnum_prop": 0.5777295733911786, "repo_name": "bjorn-ali-goransson/elasticsearch-mapper-attachments", "id": "c892924dffa2b86537e...
function [allClust_uncor, sigClust_stat, sigClust_ind, sigClust_pVal, strOut] = getSigClustA_mainROIs(truedata,permdata,adj,sigThresh,lumpPosNeg,minClustSize) % function getSigClustA_mainROIs -- execute cluster correction. multiple options for cluster statistic and analysis % % INPUTS: % truedata (ROI x 1) % permd...
{ "content_hash": "643f63ba08ba95fc38a065cf5adce586", "timestamp": "", "source": "github", "line_count": 392, "max_line_length": 218, "avg_line_length": 57.5, "alnum_prop": 0.65377107364685, "repo_name": "adam2392/paremap", "id": "83ab26c6751439cc82d76a8ce9af764ebfdc5f53", "size": "22540", "binary...
using System.Linq.Expressions; using System.Reflection; namespace AldursLab.WurmApi.Extensions.DotNet.Reflection { static class MemberInfoExtensions { /// <summary> /// Converts an expression into a <see cref="MemberInfo"/>. /// </summary> /// <param name="expression">The expre...
{ "content_hash": "d06cb6783579721327bda28e9c117667", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 78, "avg_line_length": 31.0625, "alnum_prop": 0.5814889336016097, "repo_name": "mdsolver/WurmAssistant3", "id": "3160b7f47664eb8ae7ec5c348a55fe4fe25bd10e", "size": "996", ...
namespace { const int kMinUploadDelayMs = 60 * 1000; // 60 seconds } // namespace namespace policy { const int64_t StatusUploader::kDefaultUploadDelayMs = 3 * 60 * 60 * 1000; // 3 hours StatusUploader::StatusUploader( CloudPolicyClient* client, std::unique_ptr<DeviceStatusCollector> collector, con...
{ "content_hash": "245d87524e853d7e1b1d0c62f2cf4121", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 80, "avg_line_length": 40.993975903614455, "alnum_prop": 0.6972814107274063, "repo_name": "was4444/chromium.src", "id": "83f7cc9740d22ee25100f49a9e849320fbdb4c0b", "size":...
title: "linux peek programı" code: "linux-peek-programi" ---
{ "content_hash": "85b0c2e7d7a29ffb49c715cae609c51d", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 28, "avg_line_length": 20, "alnum_prop": 0.7166666666666667, "repo_name": "ubuntu-tr/ubuntu-tr.github.io", "id": "ffa700867fbf53bb7e77987f5f823b21236dea97", "size": "65", ...
package org.apache.activemq.artemis.core.server; import javax.json.JsonArrayBuilder; import javax.transaction.xa.Xid; import java.util.List; import java.util.Set; import org.apache.activemq.artemis.api.core.Pair; import org.apache.activemq.artemis.api.core.SimpleString; import org.apache.activemq.artemis.core.messag...
{ "content_hash": "debac6fec826be35d65b765025b5d838", "timestamp": "", "source": "github", "line_count": 271, "max_line_length": 123, "avg_line_length": 35.67158671586716, "alnum_prop": 0.6763215061549602, "repo_name": "johnament/activemq-artemis", "id": "fb3bd22af1f3b82dd28638527079ddbe600685ee", "...
from flamebroiler import Trie import resource import timeit def find_words(): letters = [chr(i) for i in range(97,123)] for first in letters: for second in letters: print first + second matches = words.suffixes(first + second) print resource.getrusage(resource.RUSAGE_SELF).ru_m...
{ "content_hash": "eb23f9b90cfd32b6b02cfe92f9a8a060", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 96, "avg_line_length": 29.40909090909091, "alnum_prop": 0.6893353941267388, "repo_name": "apendleton/flamebroiler", "id": "d9dbef429a36593f6997d747725c5f8abf8c60cd", "size"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>multiplier: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
{ "content_hash": "8a4243ad37cb6ba7176d911922aaf96a", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 197, "avg_line_length": 41.920245398773005, "alnum_prop": 0.5398799941460559, "repo_name": "coq-bench/coq-bench.github.io", "id": "b2d435895c7966d109ee3520f5f0bac620409fbc",...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "948ef77f249882e337732acb109dd2e3", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "cf32ee32cdc2c3069d48ac7b93dc162172044c4c", "size": "21...
using System; using System.Windows.Forms; using WhiteCrow.Logic; using WhiteCrow.Models; namespace WhiteCrow.Windows { public partial class AddStudent : Form { private readonly Student editedStudent; public AddStudent() { InitializeComponent(); } public Ad...
{ "content_hash": "685c2ce0085048a36ce89e273f524df5", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 65, "avg_line_length": 24.55, "alnum_prop": 0.5349626612355737, "repo_name": "Purely-Imaginary/WhiteCrow", "id": "2cdfcaea2fa3371f9744eec800dfb91725c667c0", "size": "1475",...
require "spec_helper" describe DateTime do it_behaves_like "a class which converts to Time" describe "#to_bson" do context "when the date time is post epoch" do let(:obj) { DateTime.new(2012, 1, 1, 0, 0, 0) } let(:bson) { [ (obj.to_time.to_f * 1000).to_i ].pack(BSON::Int64::PACK) } it_b...
{ "content_hash": "9d2688a96f3183788f1d411364a2f8db", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 79, "avg_line_length": 25.08, "alnum_prop": 0.6092503987240829, "repo_name": "hudon/bson-ruby", "id": "4fbd42cb687b3d2f811d3666de775573077e795a", "size": "1211", "binary"...
<?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/title" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_vertical"/>
{ "content_hash": "eb966c432e80385b63085a567191fca7", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 62, "avg_line_length": 37.142857142857146, "alnum_prop": 0.6961538461538461, "repo_name": "alessandrogurgel/pedefacil", "id": "8b99b70b99388d5aa8dea5a6869da2042411b824", "si...
{{{ "title": "Getting Started with A10 vThunder Appliance - Partner Template", "date": "6-18-2015", "author": "Bob Stolzberg", "attachments": [], "contentIsHTML": false }}} ![logo](http://www.a10networks.com/images/logo_s.png) ### Partner Profile A10 Networks - An industry leader in data security and cloud ...
{ "content_hash": "b41788edbecc1d65eb93b270da096392", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 829, "avg_line_length": 68.94805194805195, "alnum_prop": 0.7840459596910906, "repo_name": "bburge/PublicKB", "id": "8492a1e61cab632bb300333eb7797b88e5737aed", "size": "106...
 #pragma once #include <aws/appstream/AppStream_EXPORTS.h> #include <aws/appstream/AppStreamRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/appstream/model/S3Location.h> #include <aws/appstream/model/ScriptDetails.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> namespace...
{ "content_hash": "59d42f32e2f53b09115642dfa32d1c04", "timestamp": "", "source": "github", "line_count": 310, "max_line_length": 174, "avg_line_length": 34.89032258064516, "alnum_prop": 0.653383875739645, "repo_name": "cedral/aws-sdk-cpp", "id": "6a4c91469ee88eb44994f6cdfe64c66989de42f1", "size": "1...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </meta> <meta content="width=device-width, initial-scale=1" name="viewport"> </meta> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"> </link> <link href="../../resources/stof-style.css" rel="stylesheet"> </link> <s...
{ "content_hash": "3005393428c7d250272122cb2c06c47d", "timestamp": "", "source": "github", "line_count": 516, "max_line_length": 143, "avg_line_length": 25.075581395348838, "alnum_prop": 0.5759332251333179, "repo_name": "mulhod/bob_dylan_lyrics", "id": "9e0a0d41cd8a8d4493fa7e75e58c9e251f1699df", "si...
#ifndef Fennel_NullMutex_Included #define Fennel_NullMutex_Included #include <boost/utility.hpp> FENNEL_BEGIN_NAMESPACE /** * A NullMutex is a dummy class for use in cases where the need for * synchronization is parameterized. */ class FENNEL_SYNCH_EXPORT NullMutex { public: NullMutex() { } ~Nu...
{ "content_hash": "57154db10d62498e24cdc31449f90a02", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 68, "avg_line_length": 13.265625, "alnum_prop": 0.6171967020023557, "repo_name": "LucidDB/luciddb", "id": "d0dc64b6874fbf771bd27983cdcb62bd2e4e771c", "size": "1647", "bin...
"""awscfncli2 version.""" import pkg_resources __version__ = pkg_resources.require('awscfncli2')[0].version
{ "content_hash": "c1a4abacf566ad497a699650ca218e0d", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 60, "avg_line_length": 22, "alnum_prop": 0.7181818181818181, "repo_name": "Kotaimen/awscfncli", "id": "36e7b2d7e1d97976f11774c07aab93576adacf7a", "size": "110", "binary": ...
using System; namespace X3Code.Infrastructure.UnitsOfWork { public interface IEntity { Guid EntityId { get; set; } } }
{ "content_hash": "4b3f58ab0f299028e0bcf5b1c3d22214", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 43, "avg_line_length": 15.666666666666666, "alnum_prop": 0.6453900709219859, "repo_name": "Cantaria/X3Code-Lib", "id": "51fb184b4bcac523375df447767a892881bdda81", "size": "1...
import { render, screen } from "@testing-library/react"; import { DetailColumn } from "."; test("", () => { render(<DetailColumn>foo</DetailColumn>); const text = screen.getByText("foo"); expect(text).toBeInTheDocument(); });
{ "content_hash": "2475d7ade918f50c4ab64242deecccb8", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 56, "avg_line_length": 26, "alnum_prop": 0.6581196581196581, "repo_name": "jamband/plusarchive.com", "id": "99604a971f5b98e314d8000516bde0bc2794d596", "size": "234", "bina...
package uk.co.icvan.icvan; import android.app.Fragment; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v13.app.FragmentCompat; import android.support.v4.app.Activit...
{ "content_hash": "03f58e27b81e5341d850acebea3bb9d2", "timestamp": "", "source": "github", "line_count": 343, "max_line_length": 188, "avg_line_length": 39.075801749271136, "alnum_prop": 0.6291128851749608, "repo_name": "geraldoav/icvan", "id": "6b667bb30e8b7724a2f13862132e75e3fba06c84", "size": "13...
[![Build Status](https://travis-ci.org/singaurav/fast-sudoku-solver.svg?branch=master)](https://travis-ci.org/singaurav/fast-sudoku-solver) A fast __Sudoku__ solver written in __C++__ that uses a simple and efficient non-traditional backtracking approach to solve the popular logic puzzle. Given a puzzle, the solver c...
{ "content_hash": "213445bc7724eda7b61e48f034499ad3", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 270, "avg_line_length": 24.90277777777778, "alnum_prop": 0.6659230340211936, "repo_name": "singaurav/fast-sudoku-solver", "id": "93c554e465a0f6e4c9cdf368003f938d5b6ff6e6", ...
#include "tensorflow/compiler/xla/service/gpu/all_reduce_blueconnect.h" #include <algorithm> #include <iterator> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/btree_map.h" #include "absl/types/optional.h" #include "absl/types/span.h" #include "tensorflow/compiler/xla/service/hlo_c...
{ "content_hash": "91a6e7ca08f92bd4423a6d5a6ee2e96d", "timestamp": "", "source": "github", "line_count": 293, "max_line_length": 80, "avg_line_length": 38.37542662116041, "alnum_prop": 0.6870330843116329, "repo_name": "Intel-Corporation/tensorflow", "id": "337257274c47f87ff7a7c8b0849fa7941c8abef3", ...
<?php namespace Symfony\Bridge\Doctrine\Messenger; use Doctrine\Common\Persistence\ManagerRegistry; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\Messenger\Middleware\MiddlewareInterface; /** * Wraps all handlers in a single doctrine transaction. * * @author Tobias Nyholm <tobias.nyholm@gmail.c...
{ "content_hash": "919983fcf8831fa87fa19471c1e94cdc", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 165, "avg_line_length": 30.020833333333332, "alnum_prop": 0.6842470506592644, "repo_name": "Einenlum/symfony", "id": "da092061841948f184f8b639b19a72f9f1cf77cd", "size": "16...
package org.apache.hadoop.hive.ql.ddl.table.partition.exchange; import java.util.List; import java.util.Map; import org.apache.hadoop.hive.ql.ddl.DDLOperation; import org.apache.hadoop.hive.ql.ddl.DDLOperationContext; import org.apache.hadoop.hive.ql.ddl.DDLUtils; import org.apache.hadoop.hive.ql.hooks.ReadEntity; ...
{ "content_hash": "e4253f48080a5ee2f9b136f94cca8f89", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 116, "avg_line_length": 40.54347826086956, "alnum_prop": 0.7710455764075067, "repo_name": "jcamachor/hive", "id": "52890952cb08ae9f5b7e525b9fe5aac0238b8e88", "size": "2670"...
package org.springframework.boot.diagnostics.analyzer; import java.util.ArrayList; import java.util.List; import org.springframework.beans.BeansException; import org.springframework.beans.factory.BeanCreationException; import org.springframework.beans.factory.BeanCurrentlyInCreationException; import org.springframe...
{ "content_hash": "b3f86fb27b5bfc946f8c484a8e02109d", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 110, "avg_line_length": 31.70899470899471, "alnum_prop": 0.732521274820624, "repo_name": "Buzzardo/spring-boot", "id": "aa97860230666fbf742f8d4459d94cc805f91aaf", "size": ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Da...
{ "content_hash": "3feddab19c67f658892a38dffce66305", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.69444444444444, "alnum_prop": 0.7444364680545585, "repo_name": "eranbo/angmonet", "id": "46cc948a4e8fdb4af7298edaf420478f25ae8347", "size": "1396"...
@implementation FFActionSheet @end
{ "content_hash": "869aaf61344c09cdec83f8002421748b", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 29, "avg_line_length": 12, "alnum_prop": 0.8333333333333334, "repo_name": "hsponberg/fluid-framework", "id": "3f4c90b6c28eb2fa9b0534c97bf0ab1400a487bf", "size": "218", "bi...
pip install virtualenv virtualenv .venv source .venv/bin/activate pip install redis
{ "content_hash": "0789472ba6e8434c2d0a7a15b910629f", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 25, "avg_line_length": 21, "alnum_prop": 0.8333333333333334, "repo_name": "ruebenramirez/RedisMaxOut", "id": "05fd7e34eeef852fe759e0d62148d8ecfbfba5ea", "size": "97", "bin...
package com.yuzhi.back; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @EnableAutoConfiguration @ComponentScan public class ApplicationTest { }
{ "content_hash": "fe593ccd4f1e7d47769a4af844dc55e1", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 70, "avg_line_length": 25.666666666666668, "alnum_prop": 0.8636363636363636, "repo_name": "tianshaojie/jee-universal-bms", "id": "d2bdf1847d746c6b863e3b8ad8383a19d3823615", ...
import toDate from '../toDate/index.js' /** * @name getSeconds * @category Second Helpers * @summary Get the seconds of the given date. * * @description * Get the seconds of the given date. * * @param {Date|String|Number} date - the given date * @param {Options} [options] - the object with options. See [Optio...
{ "content_hash": "816647aedc2ecd2be3cfd0372d277eb4", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 121, "avg_line_length": 34.483870967741936, "alnum_prop": 0.6847521047708138, "repo_name": "lucionei/chamadotecnico", "id": "dd38d8c844821592ba753fb7e06dab34495fb0cb", "siz...
{% extends "account/base.html" %} {% load i18n %} {% load url from future %} {% block head_title %}{% trans "Associations" %}{% endblock %} {% block body %} <h1 class="account-heading">{% trans "Associations" %}</h1> <div class="row"> <div class="span10"> <table class="table table-striped"> {% f...
{ "content_hash": "543e26d225c51cda03a0817296edd941", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 188, "avg_line_length": 33.310344827586206, "alnum_prop": 0.5295031055900621, "repo_name": "eldarion/pycon", "id": "0ea2440bc7fb3b693e1dc58f3db6b61dc772758c", "size": "1932...
<!DOCTYPE html> <html> <head> <style> body > span { border: 3px solid blue } .notstart { border-left: none; } .notend { border-right: none; } </style> </head> <body> <span class="notend"> <span>One</span><span>Two</span><span>Three</span> </span> <div>Four</div> <span class="notstart notend"...
{ "content_hash": "ce5225913baf1314cd982f207f7c2af3", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 54, "avg_line_length": 21.48148148148148, "alnum_prop": 0.596551724137931, "repo_name": "sergecodd/FireFox-OS", "id": "adcb6bc4ff3b7acc2f2ca0f136665272c0e2beb0", "size": "5...
<section *ngIf="exists()" class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp"> <div class="mdl-card__title mdl-card--expand"> <h2 class="mdl-card__title-text">{{ team.name }}の編集</h2> </div> <div class="mdl-card__actions"> <form (ngSubmit)="onSubmit()" #teamForm="ngForm"> <div clas...
{ "content_hash": "015a5780ea7a8ffebdf7f4c9c6c23088", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 125, "avg_line_length": 45.75342465753425, "alnum_prop": 0.6374251497005988, "repo_name": "nin-gen-sei/yisucon", "id": "b6c35dc0bcf9074a8b20be2ccd2f6a1c011d9a7d", "size": "...
/* 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, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ...
{ "content_hash": "f12b62a2a7f7770f1e2a4e7861b04980", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 69, "avg_line_length": 28.5625, "alnum_prop": 0.6684901531728665, "repo_name": "gzeronet/teensy-trackpoint-tmk-keyboard", "id": "0f79aa9ccc88380e094615746f345019d3cc0c48", ...
RSpec.describe HTTP::FormData::File do let(:opts) { nil } describe "#size" do subject { described_class.new(file, opts).size } context "when file given as a String" do let(:file) { fixture("the-http-gem.info").to_s } it { is_expected.to eq fixture("the-http-gem.info").size } end conte...
{ "content_hash": "2b8adbda32ef43bb69f4de21d64ee12c", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 65, "avg_line_length": 28.706521739130434, "alnum_prop": 0.599394168875426, "repo_name": "rosberglinhares/IISLogMonitor", "id": "37dfe1ea4cac3037541bb4f355f1ecca6c075b1b", ...
#include <string.h> #include <apr_md5.h> #include <apr_sha1.h> #include "svn_error.h" #include "svn_string.h" #include "svn_types.h" #include "svn_time.h" #include "private/svn_skel.h" #include "private/svn_dep_compat.h" #include "svn_checksum.h" #include "fs_skels.h" #include "../id.h" static svn_error_t * sk...
{ "content_hash": "70bcc7aa3603ba32d4b9b49666669171", "timestamp": "", "source": "github", "line_count": 1498, "max_line_length": 79, "avg_line_length": 30.077436582109478, "alnum_prop": 0.5415926846590909, "repo_name": "tux-mind/platform_external_subversion", "id": "9ea2167d99c43f388608f0f9c46bb9d534...
using System.Reflection; 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("ArtTrail.Data")] [assembly: AssemblyDescr...
{ "content_hash": "b80bf3a1b44cdd15c9042d915c2bcd8d", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 84, "avg_line_length": 41, "alnum_prop": 0.7442719881744272, "repo_name": "zebslc/ArtTrail", "id": "ea3d4dd390e280154d4a9a765e2657fdd5f4ce02", "size": "1356", "binary": f...
class UsersController < ApplicationController def index @filtered = User.filtered(params[:filters]).all end end
{ "content_hash": "204938b3e4086ed7068cbba90e5dd25f", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 51, "avg_line_length": 23.8, "alnum_prop": 0.7647058823529411, "repo_name": "modsognir/filtrate", "id": "580c5846279d732df4556775b2b8996e6c9e4b9c", "size": "119", "binary"...
<!DOCTYPE html> <html> <head> <title>Kubernetes</title> <meta charset="utf-8"> <link rel="icon" href="favicon.png" sizes="16x16" type="image/png"> <link rel="icon" href="favicon.png" sizes="32x32" type="image/png"> <link rel="icon" href="favicon.png" sizes="48x48" type="image/png"> <link rel="...
{ "content_hash": "c734179ab429a055e8a74801999b310a", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 104, "avg_line_length": 29.34285714285714, "alnum_prop": 0.5555014605647517, "repo_name": "zoidbergwill/presentations", "id": "76bf212f3671ed3c912d385381c4e28244452eaa", "s...
package pl.edu.agh.awi.downloader.flights.airline.client; import org.junit.Test; import pl.edu.agh.awi.downloader.flights.airline.data.AirlineResponse; import static org.junit.Assert.assertNotNull; public class AirlineClientTest { @Test public void downloadTest() { AirlineClient client = new Airline...
{ "content_hash": "ae917f4b87e1ef5c7ed64511e13ad054", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 70, "avg_line_length": 27.61111111111111, "alnum_prop": 0.7404426559356136, "repo_name": "franc90/aviation-weather-integrator", "id": "41a8db9f38e17e7d4d492cadfae5142c2f79b9d...
/*global QUnit, test, equal, ok*/ (function(undefined) { "use strict"; var data = {name: "Jo"}; //var jsrender = require('jsrender')(); // Not passing in jQuery, so returns the jsrender namespace var jsrender = require('./../../')(); // Use require to get server template, thanks to Browserify bundle that used jsrender...
{ "content_hash": "f1f5dbcacb538c2fe17ac3771f234c1b", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 103, "avg_line_length": 41, "alnum_prop": 0.7003484320557491, "repo_name": "xiajian/jsrender", "id": "ba0724dd92939771fc3e0aaee83dbc1ef07541b0", "size": "574", "binary": ...
require 'active_support/concern' require 'support/integration/jobs_manager' module TestCaseHelpers extend ActiveSupport::Concern included do self.use_transactional_fixtures = false setup do clear_jobs @id = "AJ-#{SecureRandom.uuid}" end teardown do clear_jobs end end p...
{ "content_hash": "a90a07330364aa29cbca8a290d024513", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 103, "avg_line_length": 19.354166666666668, "alnum_prop": 0.620021528525296, "repo_name": "idolweb/activejob-lock", "id": "20faf42a1f7d2badaa44767e712ba32294a62bd1", "size"...
package org.wildfly.extras.creaper.commands.elytron.mapper; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOException; import java.util.Arrays; import java.util.List; import org.jboss.arquillian.junit.Arquillian; import org.junit.After; import org.junit.Test; import o...
{ "content_hash": "c4672b82f7f158fc0a6dbc3474cd05a4", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 150, "avg_line_length": 47.801169590643276, "alnum_prop": 0.7139711279667238, "repo_name": "mchoma/creaper", "id": "7a2d782fbbe9a2739d9617424136cad22474b3dc", "size": "817...
<?php namespace Czim\CmsModels\Support\Enums; use MyCLabs\Enum\Enum; class ListDisplayStrategy extends Enum { const CHECK = 'check'; const CHECK_NULLABLE = 'check-nullable'; const DATE = 'date'; const TIME = 'time'; const DATETIME = 'datetime'; const TAGS = 'tags'; c...
{ "content_hash": "c1d5a16ddc32fbb394bc8e3f87760d4e", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 62, "avg_line_length": 26.48148148148148, "alnum_prop": 0.6461538461538462, "repo_name": "czim/laravel-cms-models", "id": "a0fef5c3410e4dbd2c6fb6d975029fc88af3a7a5", "size"...
import errno import logging import os import uuid import struct import time import base64 import socket from ceph_deploy.cliutil import priority from ceph_deploy import conf, hosts, exc from ceph_deploy.util import arg_validators, ssh, net from ceph_deploy.misc import mon_hosts from ceph_deploy.lib import remoto from ...
{ "content_hash": "b630fdaaddd8575c87fe06550dbdee92", "timestamp": "", "source": "github", "line_count": 276, "max_line_length": 110, "avg_line_length": 31.1268115942029, "alnum_prop": 0.5860784541962519, "repo_name": "codenrhoden/ceph-deploy", "id": "842117bdbc310139ae2f42c4b01cb6af4d02a494", "size...
package org.apache.geode.internal.cache; import static org.apache.geode.cache.Region.SEPARATOR; import static org.apache.geode.cache.RegionShortcut.PARTITION; import static org.apache.geode.cache.RegionShortcut.PARTITION_PROXY; import static org.apache.geode.test.dunit.VM.getVM; import static org.assertj.core.api.Ass...
{ "content_hash": "87f766d4dadef8ec5906ae4cb57c0ef1", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 98, "avg_line_length": 31.849397590361445, "alnum_prop": 0.7350104028749763, "repo_name": "jdeppe-pivotal/geode", "id": "474719c6a602887aa139d29ffe46b6ccae01fc63", "size":...
package com.theodinspire.codeadvent.WeekOne.RoomKeys; /** * Created by ecormack on 12/15/2016. */ public interface KeyChecker { boolean validate(RoomKey key); }
{ "content_hash": "d6ad11f2187cef8fe6eb53bec89cc8ab", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 53, "avg_line_length": 21, "alnum_prop": 0.7380952380952381, "repo_name": "theodinspire/code-advent-2016", "id": "3b5b8f2fc50ea799394887e374daf3d5940e3014", "size": "168", ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v12/enums/app_campaign_app_store.proto namespace Google\Ads\GoogleAds\V12\Enums; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * The applicati...
{ "content_hash": "dc1bc181cddc82844b97674dd000e4c2", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 102, "avg_line_length": 26.636363636363637, "alnum_prop": 0.7076222980659841, "repo_name": "googleads/google-ads-php", "id": "4dfe05de3ee37457e4d362c51ac232cb1feec18b", "si...
package org.neo4j.legacy.consistency.checking.labelscan; import org.neo4j.kernel.api.direct.NodeLabelRange; import org.neo4j.legacy.consistency.checking.full.RecordProcessor; import org.neo4j.legacy.consistency.report.ConsistencyReporter; import org.neo4j.legacy.consistency.store.synthetic.LabelScanDocument; public ...
{ "content_hash": "e7fcf369f664f401067fa733a613bf41", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 100, "avg_line_length": 30.666666666666668, "alnum_prop": 0.7717391304347826, "repo_name": "HuangLS/neo4j", "id": "f8c4014e6e8d0df67d4e259bc0ec7ce0bdf28d97", "size": "1715"...
<ion-view> <ion-nav-title>{{title}}</ion-nav-title> <ion-content padding="true"> <mm-loading hide-until="userLoaded"> <div class="list" ng-if="user"> <div class="item item-avatar"> <img ng-if="user.profileimageurl" ng-src="{{user.profileimageurl}}" mm-exte...
{ "content_hash": "b8a2a5d5a6e07b7a5133af7b427b7fae", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 117, "avg_line_length": 49.89320388349515, "alnum_prop": 0.4136991632613349, "repo_name": "crisleo15/moodlemobile2", "id": "a5075e143b44df8a37ebbe29253aab25ee5be620", "siz...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>all caps</title> <link rel="stylesheet" type="text/css" href="css/furtive.min.css"> <link rel="stylesheet" type="text/css" href="css/style.css"> </head> <body> <div class="measure...
{ "content_hash": "112e9593de55b7cf21f42992d9e58ad7", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 69, "avg_line_length": 27.545454545454547, "alnum_prop": 0.6518151815181518, "repo_name": "jkeat/all-caps", "id": "aa24abfaf2ffba3afbf71c3568198a81b246ec9d", "size": "606",...
class User < ActiveRecord::Base has_many :events has_one :identity devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :omniauthable delegate :facebook?, to: :identity def self.find_for_oauth(auth, signed_in_resource = nil) identity = Identity...
{ "content_hash": "1d0d3d731ee80490e5f592e48b1fd1db", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 77, "avg_line_length": 26.4375, "alnum_prop": 0.6300236406619385, "repo_name": "alissonbrunosa/events", "id": "2e02a1b2a3ccb0501d5387ec3fe632e051588dc4", "size": "846", "...
import os from oslo_config import cfg CONF = cfg.CONF CONF.import_opt('policy_file', 'cinder.policy', group='oslo_policy') CONF.import_opt('volume_driver', 'cinder.volume.manager') CONF.import_opt('backup_driver', 'cinder.backup.manager') CONF.import_opt('api_class', 'cinder.keymgr', group='key_manager') CONF.impor...
{ "content_hash": "50ef5442d09726fcb287ee386944799b", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 79, "avg_line_length": 44.775, "alnum_prop": 0.6610831937465104, "repo_name": "cloudbase/cinder", "id": "e442bb8e68e42739c5eb359adffdafd08ac011c6", "size": "2523", "binar...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright © 2019 CDAP ~ ~ 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...
{ "content_hash": "a3a27a35493f5bf6ddb47aa8b0c712d2", "timestamp": "", "source": "github", "line_count": 384, "max_line_length": 229, "avg_line_length": 33.278645833333336, "alnum_prop": 0.5844745285233587, "repo_name": "data-integrations/file", "id": "5263f098dfe6aaf3bc74d1f0abb7fb21e65d9c9c", "siz...
#include "defs.h" #include "target-dcache.h" #include "gdbcmd.h" #include "progspace.h" /* The target dcache is kept per-address-space. This key lets us associate the cache with the address space. */ static const struct address_space_data *target_dcache_aspace_key; /* Clean up dcache, represented by ARG, whic...
{ "content_hash": "414c663836490c20cd11c8dd8f51923e", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 79, "avg_line_length": 26.222826086956523, "alnum_prop": 0.6907772020725389, "repo_name": "execunix/vinos", "id": "591d5aa1bf86e59bf6617380d85f97cfa11bda1f", "size": "5559...
from ggrc import db from sqlalchemy.ext.associationproxy import association_proxy from sqlalchemy.ext.declarative import declared_attr from ggrc.models.mixins import deferred, Base from ggrc.models.reflection import PublishOnly class ObjectFile(Base, db.Model): __tablename__ = 'object_files' file_id = db.Column(d...
{ "content_hash": "6621afd2d3b004deb17a1be54db3280a", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 72, "avg_line_length": 28.493506493506494, "alnum_prop": 0.6572470373746582, "repo_name": "NejcZupec/ggrc-core", "id": "e79217d575a93ca26bd033ff780def021b89f8c4", "size": "...
using Akka.Cluster.SplitBrainResolver; using System; using System.Collections.Generic; using System.Text; using Akka.Cluster; using System.Linq; using Akka.Actor; using Akka.Configuration; namespace CustomDowningProvider { public class MyDowningProvider : StrategizedDowningProvider { //The parent Stra...
{ "content_hash": "0b24d06ef24e562418ca571d352eff21", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 80, "avg_line_length": 26.633333333333333, "alnum_prop": 0.6983729662077597, "repo_name": "kennethito/Akka.Cluster.SplitBrainResolver", "id": "19ee54c4f250dc027d3c2916ee5c8e5...
package org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiType; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor; import org.jetbrains.pl...
{ "content_hash": "7705d2ff1aa9fedc656f073a8845d93f", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 114, "avg_line_length": 32.473684210526315, "alnum_prop": 0.8022690437601296, "repo_name": "joewalnes/idea-community", "id": "2ae9adb60c94314a4cefe6f20b4a16047475d28c", "si...
require "gypsy/version" module Gypsy module Readers autoload :Base, "gypsy/readers/base" autoload :Json, "gypsy/readers/json" autoload :Csv, "gypsy/readers/csv" end end
{ "content_hash": "6ac00490a4f8908edb7b2e06fc83f6d1", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 40, "avg_line_length": 20.666666666666668, "alnum_prop": 0.7043010752688172, "repo_name": "bigjason/gypsy", "id": "e1ca5ef26bde7f0e49787da0c5211723e8961bf1", "size": "186", ...
<?php require_once (dirname(dirname(__FILE__)).'/create.class.php'); /** * Create a Template Variable. * * @param string $name The name of the TV * @param string $caption (optional) A short caption for the TV. * @param string $description (optional) A brief description. * @param integer $category (optional) The c...
{ "content_hash": "7162c7b19e2b99f8729e5a2965fce777", "timestamp": "", "source": "github", "line_count": 206, "max_line_length": 115, "avg_line_length": 39.90291262135922, "alnum_prop": 0.5318734793187347, "repo_name": "yenbekbay/clinic", "id": "a11b07f7a88bd3b8cd4126b54e49297992631071", "size": "82...
What is this? ------------- ``django-session-csrf`` is an alternative implementation of Django's CSRF protection that does not use cookies. Instead, it maintains the CSRF token on the server using Django's session backend. The csrf token must still be included in all POST requests (either with `csrfmiddlewaretoken` in...
{ "content_hash": "9dce45be2cd599e3f67ead30bd0ae3b5", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 79, "avg_line_length": 27.254777070063696, "alnum_prop": 0.6994624912362701, "repo_name": "nvbn/django-session-csrf", "id": "d6f17f1b022f178a86af1da968bff2c4effdb737", "si...
package kafka.server.metadata import kafka.network.ConnectionQuotas import kafka.server.ConfigEntityName import kafka.server.QuotaFactory.QuotaManagers import kafka.utils.Logging import org.apache.kafka.common.config.internals.QuotaConfigs import org.apache.kafka.common.metrics.Quota import org.apache.kafka.common.q...
{ "content_hash": "6e39ed0a5e02d198d9750588a1e587e2", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 133, "avg_line_length": 44.67948717948718, "alnum_prop": 0.71506456241033, "repo_name": "apache/kafka", "id": "3f4b136fb990cbd8ed727ab4908ae1f35cb250db", "size": "7771", ...
package com.example.client.view.myGameStruct; import java.util.Vector; import com.example.client.R; import com.example.client.view.myThread.ManFootThread; import com.example.client.view.myView.GameActivity; import com.example.client.view.others.Constant; import com.example.client.view.others.PicLoadUtil; import andr...
{ "content_hash": "e33020c14a9c0dae8f0142f61f74fca3", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 83, "avg_line_length": 27.96031746031746, "alnum_prop": 0.6426341186488788, "repo_name": "Piasy/QQTang", "id": "885b0cf52b0411d8289e1d77043b75537e2cef93", "size": "3523", ...
import numpy as np def softmax(df): if len(df.shape) == 1: df[df > 20] = 20 df[df < -20] = -20 ppositive = 1 / (1 + np.exp(-df)) ppositive[ppositive > 0.999999] = 1 ppositive[ppositive < 0.0000001] = 0 return np.transpose(np.array((1 - ppositive, ppositive))) el...
{ "content_hash": "15bf276d01c856d87145eea95b8faf57", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 74, "avg_line_length": 40.0625, "alnum_prop": 0.5904836193447738, "repo_name": "hmendozap/auto-sklearn", "id": "d0b2dbf47a65c78218af877a63de3b6e22d0382b", "size": "1282", ...
namespace stratum { namespace hal { namespace bcm { // This struct encapsulates all the egress info for a non-multipath nexthop that // has been already programmed on the specific node/ASIC managed by the // BcmTableManager class. struct BcmNonMultipathNexthopInfo { // Egress intf ID for the nexthop as given by the ...
{ "content_hash": "abe97879d187e51b4a30a89c4e00e004", "timestamp": "", "source": "github", "line_count": 524, "max_line_length": 80, "avg_line_length": 47.528625954198475, "alnum_prop": 0.709937763501305, "repo_name": "stratum/stratum", "id": "6577ff191b3559ba6a844cf254c4d531497efb08", "size": "2592...
<?xml version="1.0" encoding="UTF-8"?> <documenttype key="xltx"> <type>document</type> <titles> <title lang="de">OpenXML Arbeitsmappe Vorlage</title> <title lang="en">OpenXML Spreadsheet Template</title> </titles> <mimetypes> <mimetype>application/vnd.openxmlformats-officedocumen...
{ "content_hash": "446600c8d3f5a249a53a4d836042e781", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 97, "avg_line_length": 46.8235294117647, "alnum_prop": 0.7035175879396985, "repo_name": "phlexible/phlexible", "id": "28d2bba6f1b06118d63d22a8d41cfc50c6f2570b", "size": "79...
package local import ( "os" "os/exec" "github.com/xor-gate/cicd/log" "github.com/xor-gate/cicd/task/shelltask" ) // Compile time check to ensure the Agent implements the shelltask.Runner interface var _ shelltask.Runner = &Agent{} // ShellTaskIsRunnable for allowance of running ShellTask on the local agent func...
{ "content_hash": "4b21f09116e5929d40bf4c581bc26421", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 83, "avg_line_length": 21.166666666666668, "alnum_prop": 0.6850393700787402, "repo_name": "xor-gate/cicd", "id": "b74a626aafecf2ffbae2e82d9aae27b0650c6ee5", "size": "762", ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Uses of Class org.myrobotlab.opencv.OpenCVFilterLKOpticalTrack</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <b...
{ "content_hash": "eae03c9f7497cdeddbc022197189d927", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 159, "avg_line_length": 36.34513274336283, "alnum_prop": 0.6320915510104699, "repo_name": "sujitbehera27/MyRoboticsProjects-Arduino", "id": "db2d48940641414ea2534fe55c363476...
package org.springframework.data.jpa.repository.cdi; import javax.enterprise.inject.Disposes; import javax.enterprise.inject.Produces; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; class UnqualifiedEntityManagerProducer { @Produces public EntityManager createEntityManager(...
{ "content_hash": "49648eb56bd446800af9abf5001640ac", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 86, "avg_line_length": 26.94736842105263, "alnum_prop": 0.833984375, "repo_name": "sdw2330976/Research-spring-data-jpa", "id": "b7ef58996c7473877d06e6dfb7af2d4d73fefa60", "...
package org.apache.drill.exec.vector; import io.netty.buffer.DrillBuf; import java.util.Iterator; import com.google.common.base.Preconditions; import com.google.common.collect.Iterators; import org.apache.drill.exec.memory.BufferAllocator; import org.apache.drill.exec.proto.UserBitShared.SerializedField; import or...
{ "content_hash": "5c8d4e8328ac6e53c6e515e14c4318e7", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 88, "avg_line_length": 25.446428571428573, "alnum_prop": 0.723859649122807, "repo_name": "rchallapalli/drill", "id": "0321fa8ddc3c81452bbf4086693ff3dae7ac9bf6", "size": "3...
package com.meltmedia.cadmium.core.messaging; public final class ProtocolMessage { private ProtocolMessage() {} public static String UPDATE = "UPDATE"; public static String UPDATE_DONE = "UPDATE_DONE"; public static String UPDATE_FAILED = "UPDATE_FAILED"; public static String CONFIG_UPDATE = "CONFIG_UPDATE...
{ "content_hash": "a4847fa3aed7206063d32d18a74b10a4", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 73, "avg_line_length": 38.827586206896555, "alnum_prop": 0.7460035523978685, "repo_name": "meltmedia/cadmium", "id": "10ddc065f58c624ab1cfc1cbcbe743fbcaf495a3", "size": "17...
#include <QDebug> #include <QtCore> #include <QDateTime> #include <QTextDocument> #include <QtConcurrent/QtConcurrent> #include "evernotesession.h" const std::string EvernoteSession::CONSUMER_KEY = "everel"; const std::string EvernoteSession::CONSUMER_SECRET = "201d20eb3ee1f74d"; EvernoteSession* EvernoteSession::m_i...
{ "content_hash": "b081b27ff6f35f273db11ece4011e227", "timestamp": "", "source": "github", "line_count": 593, "max_line_length": 254, "avg_line_length": 41.15345699831366, "alnum_prop": 0.5688001966890673, "repo_name": "locusf/bluewhale", "id": "2ae6bc8e899c5d18df6c0ab993868b8a2d4a02d6", "size": "24...