text
stringlengths
2
1.04M
meta
dict
- which of course have to be tested
{ "content_hash": "5c5747e59f1f9bd26c227eac8e90afdf", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 35, "avg_line_length": 36, "alnum_prop": 0.75, "repo_name": "DinisCruz/Book_Practical_AngularJS", "id": "3c53090479127d4ae0d9cc008a7794885750fd9a", "size": "67", "binary":...
package org.mindinformatics.gwt.framework.component.agents.src.defaults; import org.mindinformatics.gwt.framework.component.agents.model.MAgentSoftware; /** * @author Paolo Ciccarese <paolo.ciccarese@gmail.com> */ @SuppressWarnings("serial") public class DefaultSoftware extends MAgentSoftware { public DefaultSof...
{ "content_hash": "6efb9b9b382ddd3f67ea9930b699770c", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 91, "avg_line_length": 30.5, "alnum_prop": 0.765807962529274, "repo_name": "rkboyce/DomeoClient", "id": "85625c92a667fdcdbe63023b5194101968dd8c38", "size": "427", "binary...
<query-editor-row query-ctrl="ctrl" can-collapse="true"> <div style="margin-left: 2em;"> <div> <h4>Time Series</h4> <div>Name:</div> <div> <input type="text" class="input-xxlarge" ng-model="ctrl.target.name"...
{ "content_hash": "77618df7362f96c093a0de7ee74057d9", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 117, "avg_line_length": 40.64179104477612, "alnum_prop": 0.3929489533602644, "repo_name": "ChronixDB/chronix.grafana", "id": "46fa89e17da0581a4569e5e1f755b933eb87f49d", "s...
import {workerParamsDto} from './workerParamsDto'; import {ProcessControlModel} from '../../../tests/models/processControlModel'; import { IProcessControlParams } from './IProcessControlParams'; export interface IProcessControlService { initialize(serviceName: string, methodName: string, targetObjectId: any, proc...
{ "content_hash": "de8b7a002b8f808d1272a49c0d947a8d", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 170, "avg_line_length": 51.36842105263158, "alnum_prop": 0.7899590163934426, "repo_name": "ratneshsinghparihar/Node-Data", "id": "b2e2ede323b40dfc868bee256475cc66446b67ec", ...
<!DOCTYPE html> <html> <head> <title>Paper input example</title> <!-- 0. bower install; pub serve --> <!-- 1. Load platform.js for polyfill support. --> <script src="bower_components/platform/platform.js"></script> <!-- 2. Use an HTML Import to bring in the element. --> <link rel="import" ...
{ "content_hash": "8495feae2ddacb1707fe5a1f520c2761", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 82, "avg_line_length": 31.272727272727273, "alnum_prop": 0.6555232558139535, "repo_name": "trinarytree/angular.dart", "id": "5d871c4e51bc5b1e9202a437899f5708047adfe0", "siz...
/** * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package scribe; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; import org.apache.thrift.sch...
{ "content_hash": "9bfcb0c487f61daac45e5370ada994cf", "timestamp": "", "source": "github", "line_count": 503, "max_line_length": 180, "avg_line_length": 29.813121272365805, "alnum_prop": 0.6642437983462257, "repo_name": "circonus-labs/fq2scribe", "id": "e886d80b02ba0fa03880f6608b6b4b605a8e1ae6", "si...
.class public Lcom/android/settings/Settings$GeneralDeviceSettingsActivity; .super Lcom/samsung/android/settings/SettingsActivityWrapper; .source "Settings.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/android/settings/Settings; .end annotation .annotation system Ldalvik/...
{ "content_hash": "900b1fd6dd3301e5006e58991114949e", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 89, "avg_line_length": 25.583333333333332, "alnum_prop": 0.7817589576547231, "repo_name": "BatMan-Rom/ModdedFiles", "id": "8bd81caac28c99aafb34099bac1e23e8b406f26c", "size"...
<?php include __DIR__ . '/../vendor/autoload.php'; use alxmsl\Cli\CommandPosix; use alxmsl\Cli\Exception\RequiredOptionException; use alxmsl\Cli\Option; use alxmsl\Google\AndroidPublisher\Purchases\Subscriptions\SubscriptionsClient; $accessToken = ''; $packageName = ''; $subscriptionId = ''; $token =...
{ "content_hash": "cbaa7651f2db354ebb7df38a4e3045b8", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 103, "avg_line_length": 33.75, "alnum_prop": 0.6585858585858586, "repo_name": "alxmsl/GoogleClient", "id": "63b0e56a127d43db2bef9dca81898f4c2d7409fc", "size": "2166", "bi...
namespace Urho3D { extern const char* PHYSICS2D_CATEGORY; static const BodyType2D DEFAULT_BODYTYPE = BT_STATIC; static const char* bodyTypeNames[] = { "Static", "Kinematic", "Dynamic", nullptr }; RigidBody2D::RigidBody2D(Context* context) : Component(context), useFixtureMass_(true), body_...
{ "content_hash": "3399532a873379bc1c1eff90ac0b244b", "timestamp": "", "source": "github", "line_count": 579, "max_line_length": 131, "avg_line_length": 25.552677029360968, "alnum_prop": 0.6531936465021967, "repo_name": "bacsmar/Urho3D", "id": "921acde1cf2bfb5b5f402b6c11160719d2fb903f", "size": "151...
package fibre import ( "net/http" "sync" "time" ) type ( // Fibre represents an HTTP server Fibre struct { pool sync.Pool name string wait time.Duration itimeout time.Duration rtimeout time.Duration wtimeout time.Duration logger *Logger router *Rout...
{ "content_hash": "571a554fe13301fe2524538c6a5e6e9b", "timestamp": "", "source": "github", "line_count": 290, "max_line_length": 84, "avg_line_length": 25.32758620689655, "alnum_prop": 0.6742001361470388, "repo_name": "abcum/fibre", "id": "060fcd08c4076a5ab69d1c52c9af7d0ac5a89821", "size": "7935", ...
'use strict'; var WPTAggregator = require('../wptAggregator'); module.exports = new WPTAggregator('userTiming', 'userTiming', 'User Timing API metric', 'timing', 'milliseconds', 0, // special hack for telling the WPTAggregator to fetch // all the user timings 'USERTIMING' );
{ "content_hash": "31c9738bcf0fdc3e14232a3ba409b726", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 55, "avg_line_length": 25.454545454545453, "alnum_prop": 0.725, "repo_name": "andrebellafronte/sitespeed.io", "id": "2f85e1e57ac6da5c7fcd5a680ec47cef359c782d", "size": "474...
/* BASICS */ .CodeMirror { /* Set height, width, borders, and global font properties here */ font-family: monospace; height: 300px; } .CodeMirror-scroll { /* Set scrolling behaviour here */ overflow: auto; } /* PADDING */ .CodeMirror-lines { padding: 4px 0; /* Vertical padding around content */ } .CodeMi...
{ "content_hash": "7c8637af6b2a66c5d2eee07883cc5f3e", "timestamp": "", "source": "github", "line_count": 255, "max_line_length": 101, "avg_line_length": 24.2078431372549, "alnum_prop": 0.6925319941681516, "repo_name": "FooBarQuaxx/qalb", "id": "3196c52fef89a6517db167c82f94ba5b8dd7f95b", "size": "617...
class Experiment < ActiveRecord::Base end
{ "content_hash": "8775abb2b713e055be078e456815cf0d", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 37, "avg_line_length": 21, "alnum_prop": 0.8095238095238095, "repo_name": "mdiebolt/pixie.strd6.com", "id": "d66f0489bffe7aedfc7b70543fb926cfdaed2d51", "size": "42", "bina...
JSUTILS.namespace('BO.io.MagnetometerEvent'); BO.io.MagnetometerEvent = (function() { var MagnetometerEvent; // dependencies var Event = JSUTILS.Event; /** * An Event object to be dispatched (fired) by a Magnetometer * object. * @class MagnetometerEvent * @constructor * @extends JSUTILS.Eve...
{ "content_hash": "9e6fe796ff9bd08e986345119a90f0ed", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 65, "avg_line_length": 18.85, "alnum_prop": 0.6870026525198939, "repo_name": "soundanalogous/Breakout", "id": "c90e3c44dbddec0b42d238f5f057d4e3fe98d167", "size": "891", "...
package jToolkit4FixedPipeline.physics; import jToolkit4FixedPipeline.vector.Vector2f; /** * Created with IntelliJ IDEA. * User: Virus * Date: 24.02.13 * Time: 14:49 * To change this template use File | Settings | File Templates. */ public interface BoundingAABB2d<T> extends BoundingVolume<T> { ...
{ "content_hash": "7f2d47e25edbae469f02c3258179d8c3", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 64, "avg_line_length": 29.473684210526315, "alnum_prop": 0.7089285714285715, "repo_name": "jVirus/jToolkit", "id": "5593c541c7412f04339b6cc0e5720ed061f381f0", "size": "560"...
selenium.webdriver.chromium.options =================================== .. automodule:: selenium.webdriver.chromium.options
{ "content_hash": "085b26472b75193d7ff662ffe0697fc1", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 51, "avg_line_length": 31.25, "alnum_prop": 0.592, "repo_name": "Ardesco/selenium", "id": "b2e7b0c719916f6732bcbbd6b04e9e35a951aa82", "size": "125", "binary": false, "co...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> <uses-feature android:name="android.hardware.type.watch" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <application android:allowBackup="true" android:icon="@mipmap/ic_l...
{ "content_hash": "683e5aa946f44a6a0aa3a9c287d0b507", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 93, "avg_line_length": 31.25, "alnum_prop": 0.6688, "repo_name": "androidx/androidx", "id": "98b3075f5b3d08c4861d95d9c6dffbd09da51460", "size": "1250", "binary": false, ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>canon-bdds: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
{ "content_hash": "0248f649d31f9e8cd704635e9b766c74", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 353, "avg_line_length": 43.19277108433735, "alnum_prop": 0.5518828451882846, "repo_name": "coq-bench/coq-bench.github.io", "id": "d2672a653ca189ee50438aca9b2a9ebcb93d30b7", ...
package org.apache.wicket.velocity; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import javax.servlet.ServletContext; import org.apache.velocity.app.Velocity; import org.apache.wicket.Application; import org.apache.wicket.IInitializer; import org.apache.wicket.WicketRuntimeEx...
{ "content_hash": "466ac9c94e2107951238be4ef1870517", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 97, "avg_line_length": 24.237762237762237, "alnum_prop": 0.7054241200230814, "repo_name": "Servoy/wicket", "id": "d6fa1269d513e3c00e61cb9db141480d8b5ae7be", "size": "4268"...
============= emberjs-front ============= Emberjs project using embers app kit to show front to login and bring lead captures
{ "content_hash": "57c88109ce47bbb64c0c3b34be321487", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 83, "avg_line_length": 25.2, "alnum_prop": 0.6428571428571429, "repo_name": "joseperales/emberjs-front", "id": "6933eef946e716eeb707a7c34e73575ec934afb8", "size": "126", "...
function tf=wasSuccessful(obj) % Return whether running the tests were successful % % tf=wasSuccessful(obj) % % obj MOxUnitTestReport instance containg tests that have % been run. % tf true if there were no errors or failures; false % otherwise. % % Notes...
{ "content_hash": "7bc8b378a754968734a1aa3e17be2c8c", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 71, "avg_line_length": 24.125, "alnum_prop": 0.5924006908462867, "repo_name": "nno/MOxUnit", "id": "8276e82b9fb906219e3e73dc4b34e4a5116e05a0", "size": "579", "binary": fa...
@* * Copyright 2022 HM Revenue & Customs * * 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 a...
{ "content_hash": "7a995823ccbc38cd0525fa59390484f5", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 166, "avg_line_length": 40.09803921568628, "alnum_prop": 0.6899755501222494, "repo_name": "hmrc/amls-frontend", "id": "c16d6bc536d546a96c379ebbd24dcb984630edc0", "size": "2...
class A { val bippy = 123 def f = "Put the $bippy in the $bippy!" // warn 1 } class B { val dingus = 123 def f = "Put the $bippy in the $bippy!" // no warn } class C { def f = """Put the ${println("bippy")} in the bippy!""" // warn 2 } package object test { def aleppo = 9 def greppo(n: Int) = ??? d...
{ "content_hash": "e73b0ee047ac69a034d9cbd905b1ea5d", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 169, "avg_line_length": 28.956989247311828, "alnum_prop": 0.6034162643891571, "repo_name": "martijnhoekstra/scala", "id": "7ffc7eace4dcb0592cfb82cf7cc8a403d9640886", "size"...
using AgateLib.Display; using AgateLib.Mathematics; using AgateLib.Physics.TwoDimensions; using AgateLib.UserInterface; using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Text; namespace AgateLib.Demo.Physics { public class KinematicsInfoDisplay { private reado...
{ "content_hash": "b0f11d9d1177ff81331027b78fc9801f", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 124, "avg_line_length": 35.320388349514566, "alnum_prop": 0.5577240241891149, "repo_name": "eylvisaker/AgateLib", "id": "821433e32365602826341fa3557c42bca88fda69", "size":...
class UserAlreadyInChatRoomError < StandardError; end class ChatRoom < ApplicationRecord validates_uniqueness_of :name validates_presence_of :name has_many :messages, dependent: :destroy REDIS_USERS_HASH = 'chatroom:users_hash' def self.default_chat_room self.find_by_name('default') end def add_u...
{ "content_hash": "9bb6d5ddd80d1081f5d05812cb8f5666", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 63, "avg_line_length": 24.82608695652174, "alnum_prop": 0.6120840630472855, "repo_name": "felipenfranco/rails_chat_with_a_twist", "id": "6d8486aaf47a7266bfabd5bbb2a868606aea7...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>${package}</groupI...
{ "content_hash": "6d8f050d59dec72ba1a9454aea13c61b", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 104, "avg_line_length": 28.90909090909091, "alnum_prop": 0.6336477987421384, "repo_name": "martenscs/tycho-feature-set-archetype", "id": "7b25be2f24897010df23c6655c8f7ef85d51...
(function (angular) { // Create all modules and define dependencies to make sure they exist // and are loaded in the correct order to satisfy dependency injection // before all nested files are concatenated by Gulp // Config angular.module('ng-static-data.config', []) .value('ng-static-data.config', {...
{ "content_hash": "725dc9efe6ec03058535cd3a83140296", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 72, "avg_line_length": 21.73076923076923, "alnum_prop": 0.6159292035398231, "repo_name": "flowmatters/ng-static-data", "id": "ebaf330137582f89c1895917b6836a209a365aca", "si...
typedef struct PipeMemoryReader { int to_child[2]; int from_child[2]; } PipeMemoryReader; NORETURN static void errorAndExit(const char *message) { fprintf(stderr, "%s\n", message); abort(); } NORETURN static void errnoAndExit(const char *message) { fprintf(stderr, "%s: %s\n", message, strerror(errno)); a...
{ "content_hash": "1a71f6af27023bd29d9007c7839148c1", "timestamp": "", "source": "github", "line_count": 810, "max_line_length": 194, "avg_line_length": 33.73827160493827, "alnum_prop": 0.6550058548009368, "repo_name": "glessard/swift", "id": "40ac8fd2cf34279c27bf72156b1b7d743e2fc3cb", "size": "2892...
using LongListSelectorTest.Resources; namespace LongListSelectorTest { /// <summary> /// Provides access to string resources. /// </summary> public class LocalizedStrings { private static AppResources _localizedResources = new AppResources(); public AppResources LocalizedResources...
{ "content_hash": "c9a419525b23758c8e809209db2ef33c", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 86, "avg_line_length": 26.285714285714285, "alnum_prop": 0.6956521739130435, "repo_name": "EE590-Winter2015/Materials", "id": "0f8eee776ef9eb07455db6582ec6dff28c903a50", "s...
@implementation BCQueryRefundByIdResp - (instancetype)initWithReq:(BCQueryRefundByIdReq *)request { self = [super initWithReq:request]; if (self) { self.type = BCObjsTypeQueryRefundByIdResp; self.refund = nil; } return self; } @end
{ "content_hash": "ac04959e60e0be636768c5e30e540e7d", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 61, "avg_line_length": 22.166666666666668, "alnum_prop": 0.6804511278195489, "repo_name": "xueqiulou/Jianguo", "id": "3f11cfcaddd456365ffdcdea51ea495ee6056366", "size": "47...
using testing::Mock; using testing::_; namespace ui { namespace { class MockCompositorBeginFrameObserver : public CompositorBeginFrameObserver { public: MOCK_METHOD1(OnSendBeginFrame, void(const cc::BeginFrameArgs&)); }; // Test fixture for tests that require a ui::Compositor with a real task // runner. class Com...
{ "content_hash": "43e2d2a9cbc53e79e9046ae26a057f60", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 79, "avg_line_length": 34.39655172413793, "alnum_prop": 0.7263157894736842, "repo_name": "Chilledheart/chromium", "id": "e808b52ef8ccabc37189b53b97ac89c62c511a6d", "size":...
goog.provide('gmf.ThemeManager'); goog.require('gmf'); goog.require('gmf.Themes'); goog.require('gmf.TreeManager'); goog.require('ngeo.StateManager'); /** * The default value for `modeFlush` that `gmf.TreeManager` is initialized with. */ gmf.module.value('gmfTreeManagerModeFlush', true); /** * Manage a tree wit...
{ "content_hash": "15b06c228be815bae92033e50fc50730", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 99, "avg_line_length": 26.8989898989899, "alnum_prop": 0.6928276380022531, "repo_name": "Jenselme/ngeo", "id": "6d00339436c6713b3ddb0943efc5bf990becb145", "size": "2663", ...
// See LICENSE for license details. #pragma once class EWComboBox; typedef std::shared_ptr<EWComboBox> EWComboBoxPtr; class EWComboBoxMenu; typedef std::shared_ptr<EWComboBoxMenu> EWComboBoxMenuPtr; typedef std::vector<EGstring> EWComboBoxItemList; typedef std::vector<EGTextPtr> EWComboBoxItemTextList; /* EWComboBox...
{ "content_hash": "b9747108d379caf9fd41accaebe23547", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 75, "avg_line_length": 26.188034188034187, "alnum_prop": 0.7274804177545692, "repo_name": "graphstorm/graphstorm", "id": "514e0d1c70497c5f6dc07b613972d2d027b07ec4", "size"...
/* * Copyright (C) 2004, * * Arjuna Technologies Limited, * Newcastle upon Tyne, * Tyne and Wear, * UK. * * $Id: EmbeddedRecoveryTest.java 2342 2006-03-30 13:06:17Z $ */ package com.hp.mwtests.ts.arjuna.recovery; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import...
{ "content_hash": "747133f6f13b1be4f7934720d530d42c", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 93, "avg_line_length": 21.452830188679247, "alnum_prop": 0.6912928759894459, "repo_name": "nmcl/wfswarm-example-arjuna-old", "id": "360af41410b6ec22b376686a3d92df1effe7e833",...
<?php /* @WebProfiler/Profiler/toolbar_item.html.twig */ class __TwigTemplate_b5314da307451151bae57668225d23f7c53f5afff4bd363686a0255bf7afe361 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks =...
{ "content_hash": "7ebd42a2d3b744c15395f3607a6ff15a", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 327, "avg_line_length": 51.285714285714285, "alnum_prop": 0.596353507217017, "repo_name": "alvarobrm/PracticaSI", "id": "09601173ca13d88c3909f629a084c59b26c528ef", "size": ...
// Copyright (c) Arch team. All rights reserved. namespace Microsoft.AspNetCore.ApiHelp { /// <summary> /// Represents the all options will be used to configure Api help UI. /// </summary> public class ApiHelpUIOptions { /// <summary> /// Gets or sets the title. /// </summary> ...
{ "content_hash": "4d5fe4e1efd7fe1b886b582dcf6621c9", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 128, "avg_line_length": 37.205882352941174, "alnum_prop": 0.5446640316205533, "repo_name": "Arch/ApiHelp", "id": "793e93c004a7db4664ff5544ddbbe74b701646b3", "size": "1267",...
.clearfix::after { clear: both; display: block; content: ""; height: 0; } .hide-by-clipping { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .fr-element, .fr-element:focus { outline: 0 solid transparent; } .fr-...
{ "content_hash": "de3f1e8f7f944aabd14139e010ea88aa", "timestamp": "", "source": "github", "line_count": 1351, "max_line_length": 774, "avg_line_length": 36.02812731310141, "alnum_prop": 0.6351851090931504, "repo_name": "extend1994/cdnjs", "id": "abf450a3e3be606855b2c3aa9fd2582efd585001", "size": "4...
/// <reference path='fourslash.ts' /> ////function /*a*/foo<T>/*b*/() { //// return 1 as T; ////} goTo.select("a", "b"); edit.applyRefactor({ refactorName: "Infer function return type", actionName: "Infer function return type", actionDescription: "Infer function return type", newContent:...
{ "content_hash": "93c925b2dd812194dca1d25736bbc8b2", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 52, "avg_line_length": 23.5, "alnum_prop": 0.5797872340425532, "repo_name": "Microsoft/TypeScript", "id": "f5b2b32aad8c684fe8419597e37f6804b5198e79", "size": "376", "bina...
using System; namespace TranscendenceChat.Helpers { public class DisposableAction : IDisposable { private readonly Action action; public DisposableAction(Action action) { this.action = action; } public void Dispose() { if (action != nul...
{ "content_hash": "ec8d166b256adbda3ffdbd1c064bae8d", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 47, "avg_line_length": 18.35, "alnum_prop": 0.5286103542234333, "repo_name": "tamifist/Transcendence", "id": "28a45a13826aaa084e13c35b826b2119ddab2fb5", "size": "369", "b...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.compute.implementation; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.Delete; import com.azure.co...
{ "content_hash": "b2104cfaf01efb650b01d451af98969a", "timestamp": "", "source": "github", "line_count": 1548, "max_line_length": 120, "avg_line_length": 49.80361757105943, "alnum_prop": 0.6589187506485421, "repo_name": "Azure/azure-sdk-for-java", "id": "a6932b88c3608301d2c42e004368547805f5a04a", "s...
from bokeh.io import push_notebook, show, output_notebook import matplotlib.pyplot as plt import numpy as np from bokeh.io import push_notebook, show, output_notebook from bokeh.plotting import figure from pextant.lib.geoshapely import GeoPolygon class TriExpandViz(object): def __init__(self, env_model, start_poi...
{ "content_hash": "066edcee2223d62663a97ac10c6e9c9a", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 122, "avg_line_length": 34.707317073170735, "alnum_prop": 0.5921761536659639, "repo_name": "norheim/pextant", "id": "799e8c16f9f03ccc91502e546680f4a6f3ed567e", "size": "42...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>geocoq: 10 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="styl...
{ "content_hash": "0fc5b174f687655f174c30d43d1f80a3", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 159, "avg_line_length": 42.82022471910113, "alnum_prop": 0.5455261086329047, "repo_name": "coq-bench/coq-bench.github.io", "id": "655752286d1982282ab8f2cb56e7ee73395c7ec5", ...
using System; using System.Collections.Generic; using System.Linq; using Sitecore.Diagnostics; using Sitecore.Strategy.Contacts.Pipelines.GetFacetMemberValues; using Sitecore.Strategy.Contacts.DataProviders; using Sitecore.Strategy.Contacts.Sample.Model; namespace Sitecore.Strategy.Contacts.Sample.Pipelines.GetFacetM...
{ "content_hash": "9e14cfcc65e57acc8d9f41cdca981689", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 82, "avg_line_length": 33.65714285714286, "alnum_prop": 0.6018675721561969, "repo_name": "adamconn/sitecore-contact-utilities", "id": "6618db26b9512d86e02c6c68cbd2364d603a089...
#region File Description //----------------------------------------------------------------------------- // IDebugCommandHost.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #endr...
{ "content_hash": "b4394d4f6586d79ee72a4995f2e0d1eb", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 86, "avg_line_length": 29.704918032786885, "alnum_prop": 0.5422185430463576, "repo_name": "DDReaper/XNAGameStudio", "id": "bb0fcef293f17e15317677b3ddb74b3f94c20970", "size...
<app-header container="containerScrolling" > </app-header> <div #scrolling> <router-outlet (deactivate)="onDeactivate()"></router-outlet> </div> <app-footer> </app-footer>
{ "content_hash": "ad8e2cd0e892388312b29f98c2edfa1d", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 65, "avg_line_length": 22.125, "alnum_prop": 0.7005649717514124, "repo_name": "magic-software-lab/ngx-magic-table", "id": "e8fe86fb92e79b58178df91283e9f0d52c32152f", "size":...
<?php $kvstore_name = IXG_KV_STORAGE; require("helpers/keyval/$kvstore_name.php"); $kvstore_name .= '_driver'; $keyval = new $kvstore_name(); unset($kvstore_name);
{ "content_hash": "ff98efcf5fa9e7e4f82da2bae460a8c6", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 44, "avg_line_length": 18.444444444444443, "alnum_prop": 0.6807228915662651, "repo_name": "serverboy/Interchange", "id": "c9d40575c0db36720218201f27ade34f0afb7ff9", "size": ...
package samples.data; import java.util.Calendar; import javax.persistence.*; import org.hibernate.validator.constraints.NotEmpty; @Entity public class Message { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @NotEmpty(message = "Message is required.") private String text; @NotEmpty(m...
{ "content_hash": "7c6e80b6acd07340c3b580e251d45625", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 52, "avg_line_length": 14.940298507462687, "alnum_prop": 0.6973026973026973, "repo_name": "fhanik/spring-security", "id": "7c567e9c123ae88dfcca73e8b9d77c25a20913d8", "size"...
package co.mhdv.commons; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; @SuppressWarnings("WeakerAccess") public final class Message { private Message() { } public static String toColor(String string) { return ChatColor.translateAlternateColorCodes('&', string); } ...
{ "content_hash": "136e4457ee7ae2901504503262b5ebc2", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 87, "avg_line_length": 31.285714285714285, "alnum_prop": 0.622716894977169, "repo_name": "Mishyy/commons", "id": "a809cf2a49b1c1916e848de8a1da559ea697246b", "size": "1752",...
@interface RegistrationPreferencePane : MBLPreferencePane { IBOutlet NSTabView *tabView; IBOutlet NSImageView *userIcon; IBOutlet NSTextField *userFullnameField; IBOutlet NSTextField *licenseTypeField; IBOutlet NSTextField *licenseValidityField; IBOutlet NSTextField *userField; IBOutlet NSTextField *keyField;...
{ "content_hash": "7a2b9256ac56833bac60fe6a76566f00", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 57, "avg_line_length": 26.15, "alnum_prop": 0.8030592734225621, "repo_name": "emeraldion/minibatterylogger", "id": "e34e50aaee1a2eea046df381122f3debcde4a49f", "size": "816"...
package elegit.exceptions; /** * Exception thrown when trying to merge, but the local * branch is already up to date with the remote */ public class UpToDateException extends Exception { }
{ "content_hash": "8a572b6d81f7d4823fb6df51b6b0dbaf", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 55, "avg_line_length": 24.125, "alnum_prop": 0.7564766839378239, "repo_name": "dmusican/Elegit", "id": "8d0ff08e67cb0a649ff0ac5c008cf83423fb9edf", "size": "193", "binary":...
var startTime = function () { var today=new Date(); var h=today.getHours(); var m=today.getMinutes(); var s=today.getSeconds(); m = checkTime(m); s = checkTime(s); document.getElementById('time').innerHTML = h+":"+m+":"+s; var t = setTimeout(function(){startTime()},500); } var checkTime...
{ "content_hash": "6be361768ef1e5f48cf276d9d1d1a6fa", "timestamp": "", "source": "github", "line_count": 808, "max_line_length": 206, "avg_line_length": 38.272277227722775, "alnum_prop": 0.48506014745828485, "repo_name": "abhishek-kharche/BaithakAttendance", "id": "955504dddfa976f860d5acb49651409459bf...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "smallearth.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
{ "content_hash": "d1e6703e7cf0a18e1667a7c19ca4147d", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 74, "avg_line_length": 25.666666666666668, "alnum_prop": 0.7142857142857143, "repo_name": "robertwhaskell/smallearth", "id": "290508c26483236de9df425745ed64df9c9d6755", "siz...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-pcuic: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
{ "content_hash": "7b4510abc695f612bc76754cb1a2ece5", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 159, "avg_line_length": 42.77777777777778, "alnum_prop": 0.5574025974025975, "repo_name": "coq-bench/coq-bench.github.io", "id": "3638d21ced7533ced050502c0deb134e0376409d", ...
<a href='https://github.com/angular/angular.js/edit/v1.5.x/src/ng/directive/ngIf.js?message=docs(ngIf)%3A%20describe%20your%20change...#L3' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.5.0-beta.1/src/ng/...
{ "content_hash": "032ded4149197f14f930cdd92ce3899e", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 445, "avg_line_length": 38.07142857142857, "alnum_prop": 0.6783216783216783, "repo_name": "kinhluan/500CISAN", "id": "674ec4ac7ca4fdbc6ddb05bb889f56880708f43f", "size": "5...
module Heroes2.Kingdom where import Heroes2.Hero -- placeholders data Castle = Castle data Mine = Mine data Lighthouse = Lighthouse data Resources = Resources data Kingdom = Kingdom { player :: Player , heroes :: [Hero] , castles :: [Castle] ...
{ "content_hash": "5f7d17e7a1e2335e2a8aeb806e8675ce", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 58, "avg_line_length": 29.296296296296298, "alnum_prop": 0.5132743362831859, "repo_name": "predee/heroes2", "id": "803a4d9b2ef96d9289635b4287227e067519c5de", "size": "977",...
<!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 (1.8.0_144) on Mon Dec 04 23:07:13 MST 2017 --> <title>R.color</title> <meta name="date" content="2017-12-04"> <link rel="stylesheet" type="text/css" ...
{ "content_hash": "0db203b43157b6b5c98402c592e67eca", "timestamp": "", "source": "github", "line_count": 2266, "max_line_length": 250, "avg_line_length": 40.161076787290376, "alnum_prop": 0.6757760562606451, "repo_name": "CMPUT301F17T05/Habilect", "id": "b97cf8ac7e84e89c9cc71d573ea298669bc01e6d", "s...
<?php /** * EOpenIDService class file. * * @author Maxim Zemskov <nodge@yandex.ru> * @link http://github.com/Nodge/yii-eauth/ * @license http://www.opensource.org/licenses/bsd-license.php */ require_once 'EAuthServiceBase.php'; /** * EOpenIDService is a base class for all OpenID providers. * * @package appli...
{ "content_hash": "cf71f113fd57a20abd0d4cd5d280e276", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 185, "avg_line_length": 27.95945945945946, "alnum_prop": 0.6150314161430643, "repo_name": "trustporter/yii-eauth", "id": "707d20b6a89486c522d5382222a759bff96c603f", "size"...
from flask_assets import Bundle from flask_assets import Environment def init_app(app): assets = Environment(app) styles = Bundle( 'main.scss', filters='scss', output='main.css', depends='**/*.scss' ) scripts = Bundle( '*.js', filters=('slimit'), ...
{ "content_hash": "240286a02523b78a1fd41d67aa368c32", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 74, "avg_line_length": 23.535714285714285, "alnum_prop": 0.6084977238239757, "repo_name": "dallbee/Bytelog", "id": "18945ad63c4f4286186477bccdf234ec1fc16f60", "size": "659"...
.class Lcom/android/server/accessibility/TouchExplorer$ReceivedPointerTracker; .super Ljava/lang/Object; .source "TouchExplorer.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/android/server/accessibility/TouchExplorer; .end annotation .annotation system Ldalvik/annotation/...
{ "content_hash": "5450a6bba56201c891b5b40b90ce98e0", "timestamp": "", "source": "github", "line_count": 687, "max_line_length": 160, "avg_line_length": 26.61717612809316, "alnum_prop": 0.7224105873345729, "repo_name": "shumxin/FlymeOS_A5DUG", "id": "ac0e197ed05f3f2222cc8e49a38003ec92b72ecb", "size"...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!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/html; charset=UTF-8" /> <title>Using...
{ "content_hash": "5d09c7bcabca01cef4633d433e0c1f03", "timestamp": "", "source": "github", "line_count": 257, "max_line_length": 165, "avg_line_length": 44.39299610894942, "alnum_prop": 0.5415899728284688, "repo_name": "p4datasystems/CarnotDE", "id": "6744c4ccf2ad3f7016694bdd081966092e95d4b3", "size...
 #include <aws/robomaker/model/StartSimulationJobBatchRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::RoboMaker::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; StartSimulationJobBatchRequest::StartSimulationJobBatchRequest() : m_clientRe...
{ "content_hash": "845a9064275fbbfacad31bb6ee62e649", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 173, "avg_line_length": 26.53125, "alnum_prop": 0.7750294464075382, "repo_name": "awslabs/aws-sdk-cpp", "id": "a3f58a56084fa61132542297dd732dd7c07ccbdb", "size": "1817", ...
#ifdef _MSC_VER #include "stdafx.h" #else #include "config.h" #endif #include "FileLog.h" namespace FIX { Log* FileLogFactory::create() { m_globalLogCount++; if( m_globalLogCount > 1 ) return m_globalLog; try { if ( m_path.size() ) return new FileLog( m_path ); std::string path; std::string bac...
{ "content_hash": "17759d291eac42679e70fa1db5e7372f", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 106, "avg_line_length": 25.6775956284153, "alnum_prop": 0.641413066609917, "repo_name": "SoftFx/TTFixClient", "id": "ff9baebbe1e84d0c70d67849fd9cfa545242a721", "size": "54...
from telemetry.page import page as page_module from telemetry.page import page_set as page_set_module class GpuProcessTestsPage(page_module.Page): def __init__(self, url, name, page_set): super(GpuProcessTestsPage, self).__init__(url=url, page_set=page_set, name=nam...
{ "content_hash": "38e77e40b1605ab6c0d8b6095c16faf2", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 79, "avg_line_length": 36.70422535211268, "alnum_prop": 0.6761320030698388, "repo_name": "Fireblend/chromium-crosswalk", "id": "a93f1039accd793483c117701c587e2ba03debc9", "...
.colorpicker { width: 356px; height: 176px; overflow: hidden; position: absolute; background: url(../images/colorpicker_background.png); font-family: Arial, Helvetica, sans-serif; display: none; } .colorpicker_color { width: 150px; height: 150px; left: 14px; top: 13px; position: absolute; ba...
{ "content_hash": "37353d3209f6ccf33f74d0ba2857ddba", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 59, "avg_line_length": 19.796296296296298, "alnum_prop": 0.6641721234798877, "repo_name": "Dima007/nmkd", "id": "ca1ca50eeb3283ec06ac80f310fd712a39a0b074", "size": "3207",...
<?php namespace Windsurfdb\BaseBundle\Trans; class Test { private $_locale; public function __construct(\Symfony\Component\Translation\DataCollectorTranslator $translator, $localeDefault) { $this->_locale = $translator->getLocale(); var_dump($this->_locale); } public function t() { return false; } }
{ "content_hash": "6a810fc167bf39e4272e0a2a48e5b4f3", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 114, "avg_line_length": 22.5, "alnum_prop": 0.7206349206349206, "repo_name": "elfifou/windsurf-db", "id": "e260f3ecaa6adb44f19c4e17175f77461b49c1a0", "size": "315", "bina...
#ifndef TENSORFLOW_CORE_COMMON_RUNTIME_INLINE_FUNCTION_UTILS_H_ #define TENSORFLOW_CORE_COMMON_RUNTIME_INLINE_FUNCTION_UTILS_H_ #include <functional> #include <memory> #include "absl/types/optional.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/function_body.h" #inclu...
{ "content_hash": "446ad20abf4262c9deba763e58e93ce1", "timestamp": "", "source": "github", "line_count": 230, "max_line_length": 80, "avg_line_length": 48.130434782608695, "alnum_prop": 0.7425474254742548, "repo_name": "cxxgtxy/tensorflow", "id": "1469885ccdab2dcaa685611dfdee4af02c86ea03", "size": "...
package reconciler import ( "testing" "time" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" k8stypes "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/wait" utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/client-go/informers" "k8s.io/client-go/tools/record" featu...
{ "content_hash": "b47af8ffce476fc2703f3c0a1aaf5038", "timestamp": "", "source": "github", "line_count": 1635, "max_line_length": 172, "avg_line_length": 41.09602446483181, "alnum_prop": 0.7656863912370521, "repo_name": "dixudx/kubernetes", "id": "73b2f77be35dda8169b6105bd313929f779cad70", "size": "...
<ion-view view-title="" class="shop-view" cache-view="false"> <ion-tabs class="tabs-icon-top tabs-striped tabs-background-balanced tabs-color-light shop-tabs"> <ion-tab title="หน้าหลัก" icon-on="ion-ios-home" icon-off="ion-ios-home-outline" ui-sref="app.shop.home"> <ion-nav-view name="shop-home...
{ "content_hash": "cb265e6ab0024abb912efe88563627a4", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 162, "avg_line_length": 57.63636363636363, "alnum_prop": 0.6198738170347003, "repo_name": "secretmoo35/ThamApp", "id": "ab71de126a5922b19871c04bea12355d2581ea07", "size": "...
package org.mifos.application.customer.business; import org.mifos.framework.business.PersistentObject; public class CustomerPerformanceHistory extends PersistentObject { }
{ "content_hash": "44964d86ededd889e6a58cda0306372a", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 66, "avg_line_length": 19.666666666666668, "alnum_prop": 0.8418079096045198, "repo_name": "mifos/1.4.x", "id": "34f285e3df0dfd7dcd7e3c5039ee54acf6a2dc09", "size": "938", "...
(function () { var parse_date = function (text) { /* Parse an ISO 8601 date string. */ var m = /^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})Z$/.exec(text); return new Date(Date.UTC(+m[1], +m[2] - 1, +m[3], +m[4], +m[5], +m[6])); }; var format_date = function (d) { /* Format a da...
{ "content_hash": "b8d90405c10f444e4ba7c376fae82780", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 94, "avg_line_length": 36.473684210526315, "alnum_prop": 0.5182178932178932, "repo_name": "thuydang/djagazin", "id": "626c1a3f237d4175a607c21b3eeffc05051bd009", "size": "5...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "12a16416f5ec73ee04714167b9de11ea", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "a9ea870c781df5b6ebf04c9b7356a0586d6d2d5d", "size": "183...
var helper = require('./helper'); function coilsParser(request, response) { var result = []; var totalCount = 0; for (var i = 0; i < response.bufferDataLength; i++) { for (var e = 0; e < 8 && totalCount < request.length; e++) { result.push((response.bufferData[i] & (1 << e)) > 0); ...
{ "content_hash": "d601b6024ea17f42bd976150d81f9490", "timestamp": "", "source": "github", "line_count": 353, "max_line_length": 125, "avg_line_length": 38.22096317280453, "alnum_prop": 0.572932107915802, "repo_name": "razakj/modbusjs", "id": "e7518ccf7a387be134e15504cb34fa5e93c5d25f", "size": "1349...
<?php class Plugin_percentage extends Plugin { var $meta = array( 'name' => 'Percentage Calculator', 'version' => '1.0', 'author' => 'Luke Antins', 'author_url' => 'http://lividpenguin.com' ); public function index() { // get tag params. $params = array( 'given' =...
{ "content_hash": "cf0e5b29ee6c1c5f40a0aa7ca9252b4f", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 69, "avg_line_length": 26.93103448275862, "alnum_prop": 0.5467349551856594, "repo_name": "lantins/statamic-plugin-percentage", "id": "4188c303d9e39e674752a20f8d4b8008ff5aaf0c...
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script src="resources/SVGTestCase.js"></script> <script src="../../resources/js-test.js"></script> <script src="../../paint/invalidation/resources/text-based-repaint.js"></script> </head> <body onload="runRepaintTest()"> <h1>SVG 1.1 dynamic update tests</h1>...
{ "content_hash": "9a569ab107d4edd25c46556725a2ca4d", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 80, "avg_line_length": 32.714285714285715, "alnum_prop": 0.6855895196506551, "repo_name": "chromium/chromium", "id": "15715e0ba8fa819c4e53429720b0651851bc9402", "size": "45...
/* $Id$ */ /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); y...
{ "content_hash": "53b34b4fdd0cce7ab08342efc032c19e", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 95, "avg_line_length": 37.770270270270274, "alnum_prop": 0.7377459749552773, "repo_name": "gladyscarrizales/manifoldcf", "id": "47841a8befe53d775c03250514c98cd314a91329", "...
This lesson covers some topics related to strings in Python. In particular: encoding, string management, built-in methods, iterating over strings, substring search, and immutability (concept: immutable type). 1. ##### Today's deep dive: dissecting a string (10 minutes) ```python # Do this in the console so you...
{ "content_hash": "49fe252316b857b5e0dd4eb9f8ab4a69", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 208, "avg_line_length": 58.25, "alnum_prop": 0.6420210690596957, "repo_name": "PyClass/PyClassLessons", "id": "2e6d7e8b13c55728a4c10ea22b11b3a1f812fb11", "size": "5198", ...
SELECT m.content, m.sent_on FROM messages AS m WHERE m.sent_on > '2014-05-12' AND (SELECT LOCATE('just', m.content)) != 0 ORDER BY m.id DESC;
{ "content_hash": "7b3f97b190cc4b2fb6ae39c284af43cf", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 74, "avg_line_length": 35.75, "alnum_prop": 0.6853146853146853, "repo_name": "StoyanVitanov/SoftwareUniversity", "id": "b8abc42eae9f0ab73d2f779f7278113e1133ea50", "size": "1...
'use strict'; // MODULES // var round = require( '@stdlib/math/base/special/round' ); // MAIN // /** * Returns the time in seconds since the epoch. * * @private * @returns {integer32} time * * @example * var ts = now(); * // returns <number> */ function now() { var ts; var d; d = new Date(); ts = round( d.g...
{ "content_hash": "f035d298d9cbcd5b6d6bc9f30e3478a3", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 57, "avg_line_length": 12.264705882352942, "alnum_prop": 0.5947242206235012, "repo_name": "stdlib-js/stdlib", "id": "9a9f5bbffb18c0c8f1662501523559487fa2f3b0", "size": "103...
package examples.pokerhands.model; import static org.junit.Assert.*; import org.junit.Test; public class CardTest { public Card card = null; @Test public void testConstructorC2() { card = new Card("C2"); assertEquals(Suit.CLUBS, card.getSuit()); assertEquals(Value.TWO, card.getValue()); } @Test pu...
{ "content_hash": "8feed36e2504269f23986f0641599226", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 60, "avg_line_length": 22.867768595041323, "alnum_prop": 0.674376581134803, "repo_name": "c0d1ngm0nk3y/pokerhands", "id": "e223d47be19d62d694913a8a3930c24e479edc65", "size...
import {Location, LocationStrategy} from '@angular/common'; import {Provider} from '@angular/core'; import {SpyLocation} from './location_mock'; import {MockLocationStrategy} from './mock_location_strategy'; /** * Returns mock providers for the `Location` and `LocationStrategy` classes. * The mocks are helpful in...
{ "content_hash": "9111657ea25d26fb4f5b831425d0dbe2", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 76, "avg_line_length": 28.35, "alnum_prop": 0.7319223985890653, "repo_name": "angular-indonesia/angular", "id": "ae8c820982ffa74f87314f9db94a750b8836a261", "size": "768", ...
import React from 'react/addons'; let Viewport = React.createClass({ scrollable: true, componentDidMount() { console.info('Viewport.componentDidMount', this, this.props); }, componentWillUnmount() { console.info('Viewport.componentDidMount'); }, render() { consol...
{ "content_hash": "95fec015826c76349b431b0db9f86e38", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 69, "avg_line_length": 17.77777777777778, "alnum_prop": 0.540625, "repo_name": "tomkp/react-drag-scroll", "id": "3d50adc9e6b100bba4000d1062330e8066963dc9", "size": "640", ...
<?php Yii::import('application.modules.GradoMadurez.models._base.BaseResultadoCuestionario'); class ResultadoCuestionario extends BaseResultadoCuestionario { public static function model($className=__CLASS__) { return parent::model($className); } }
{ "content_hash": "dba251b278569334e8fbdb853384dbef", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 87, "avg_line_length": 25.4, "alnum_prop": 0.7874015748031497, "repo_name": "VrainSystem/Proyecto_PROFIT", "id": "93cb206f4fc857e86113b41db2e4894c76960701", "size": "254", ...
// Copyright 2016 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
{ "content_hash": "83fd701a8b319dd2abe2a92a28570b10", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 100, "avg_line_length": 37.945945945945944, "alnum_prop": 0.7371794871794872, "repo_name": "mikelalcon/bazel", "id": "6f25093e419e4808bf2a8cdb40b43263b8a30ba9", "size": "14...
package vektah.rust.psi.impl; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; import com.intellij.psi.util.PsiTreeUtil; import static vektah.rust.psi.RustTokens.*; import com.intellij.extapi.psi....
{ "content_hash": "138f36f342363b0efeba1b8384eaf88e", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 96, "avg_line_length": 26.65277777777778, "alnum_prop": 0.7686294945284002, "repo_name": "consulo/consulo-rust", "id": "4e0d3273f4e2a12d92f5b690a296e3653d8b0476", "size": "...
<template name="projectEdit"> {{errorMessage}} {{#autoForm id="projectEdit" collection=Collections.Projects doc=this class="main form project-detail"}} <h3>Edit Project</h3> {{> afQuickField name='_id' type="hidden"}} {{> afQuickField name='name'}} {{> afQuickField name='desc' ...
{ "content_hash": "55978c6775cc2309c2bc38c5f4d3381b", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 108, "avg_line_length": 31.45, "alnum_prop": 0.5802861685214626, "repo_name": "iascchen/mCotton", "id": "d580538c1c8d07bb61320950d9e16f0e11e5529b", "size": "629", "binary...
Facter.add(:mac_flash_version) do confine kernel: "Darwin" setcode do require "puppet/util/plist" begin Puppet::Util::Plist.read_plist_file("/Library/Internet Plug-Ins/Flash Player.plugin/Contents/Info.plist")["CFBundleVersion"] rescue Errno::ENOENT nil end end end
{ "content_hash": "70e75f13f3bd76302361cc41b516685a", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 130, "avg_line_length": 27.272727272727273, "alnum_prop": 0.6966666666666667, "repo_name": "grahamgilbert/grahamgilbert-mac_facts", "id": "68fb93fa5872c8121fade5b36c710648bd1...
namespace Spectra { /// This class handles the creation and manipulation of the search space /// for iterative eigensolvers such as Davidson, Jacobi-Davidson, etc. template <typename Scalar> class SearchSpace { private: using Index = Eigen::Index; using Matrix = Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dyn...
{ "content_hash": "4c0bf13024b94a4b1da295629d3e365f", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 97, "avg_line_length": 36.109756097560975, "alnum_prop": 0.6724079702803107, "repo_name": "kzampog/cilantro", "id": "2122c9f4467ae7a5fe1c4609638ff791ae5158af", "size": "338...
type: post110 title: Authorities categories: XAP110SEC parent: none weight: 300 --- {{% ssummary %}}{{% /ssummary %}} There are four categories of user authorities. These categories allow the flexibility of securing the different components of GigaSpaces. "**Authority**" refers to an abstraction given to a set of p...
{ "content_hash": "f3a8e2946c4116f6590e674e2dae2db7", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 487, "avg_line_length": 56.01162790697674, "alnum_prop": 0.735727631305792, "repo_name": "croffler/documentation", "id": "41f97fd3f829dc48deeeab6bc50199e3d6bad1a3", "size":...
namespace ppapi { class PepperFilePath; } namespace ppapi { namespace host { struct ReplyMessageContext; } } namespace content { class BrowserPpapiHost; class PepperFlashFileHost : public ppapi::host::ResourceHost { public: PepperFlashFileHost(BrowserPpapiHost* host, PP_Instance instance, ...
{ "content_hash": "586172125991550e1cd6c8db57254a2d", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 73, "avg_line_length": 20.866666666666667, "alnum_prop": 0.7220447284345048, "repo_name": "leiferikb/bitpop-private", "id": "6b45d983acc40edd95eaf1858e7fb35cae7e390a", "siz...
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_error, ) from azure.core.pipeline import PipelineResponse fr...
{ "content_hash": "b7bd042bf16aa587303c69cae2db99a5", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 122, "avg_line_length": 41.215, "alnum_prop": 0.6617736261069999, "repo_name": "Azure/azure-sdk-for-python", "id": "ac22a2f6b15884eccf44dc1552cc422f29e5587f", "size": "874...
class Control { private state: any; } interface SelectableControl extends Control { select(): void; } class Button extends Control { select() { } } class TextBox extends Control { select() { } } class Image extends Control { } class Location { select() { } } //// [interfaceExtendsClass1.js] var...
{ "content_hash": "778b8d6bc1ba46a707155282ca8379e2", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 58, "avg_line_length": 22.333333333333332, "alnum_prop": 0.5678749111584932, "repo_name": "fdecampredon/jsx-typescript", "id": "5903726c05d33502f5c9d6001e265ecfff544ff3", "...
package com.hazelcast.concurrent.lock.operations; import com.hazelcast.concurrent.lock.ConditionKey; import com.hazelcast.concurrent.lock.LockDataSerializerHook; import com.hazelcast.concurrent.lock.LockStoreImpl; import com.hazelcast.nio.ObjectDataInput; import com.hazelcast.nio.ObjectDataOutput; import com.hazelca...
{ "content_hash": "cf9b78de21b4ca4de19b27985b0d03bc", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 124, "avg_line_length": 33.032786885245905, "alnum_prop": 0.7270471464019851, "repo_name": "tombujok/hazelcast", "id": "5c535b29f604abec711ce74b3890346d2c295837", "size": "...
window.onload = function () { $("#accordion").accordion(); };
{ "content_hash": "8767a277170da062b76a3d0ac9ec1e02", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 31, "avg_line_length": 21.333333333333332, "alnum_prop": 0.59375, "repo_name": "SHoar/lynda_essentialJStraining", "id": "ce78b7193417debdaa8950bffa8341900520a596", "size": "...
 #pragma once #include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ApiGatewayV2 { namespace Model { /** * ...
{ "content_hash": "6e4b51b8bcaea116e92840e82e48d168", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 120, "avg_line_length": 27.584615384615386, "alnum_prop": 0.6461238148354713, "repo_name": "cedral/aws-sdk-cpp", "id": "6d9c77ead34bc85b020b56099e646b5bab0e86cf", "size": ...
<?php namespace Markup\Contentful; class ContentType implements ContentTypeInterface { use MetadataAccessTrait; /** * @var string */ private $name; /** * @var string */ private $description; /** * The fields, keyed by ID. * * @var ContentTypeField[] *...
{ "content_hash": "52211bf0aa3f271c1969e5ae77b067b8", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 112, "avg_line_length": 19.489795918367346, "alnum_prop": 0.5246073298429319, "repo_name": "gsdevme/contentful", "id": "b851e5948f1549d1fbfc5cb17675eeeefed7947e", "size": "...
'use strict'; const expect = require('chai').expect, Redis = require('ioredis'), RigidDB = require('../index'); let redisClient = new Redis({ db: 15 }); let store; describe('Create', function() { beforeEach(function() { store = new RigidDB('foo', 42, { db: 15 }, () => {}); return re...
{ "content_hash": "daaf270729782b6b20beadbe4103eef6", "timestamp": "", "source": "github", "line_count": 377, "max_line_length": 123, "avg_line_length": 33.318302387267906, "alnum_prop": 0.4459039885359446, "repo_name": "ilkkao/rigidDB", "id": "720baaee7c44b71f4c23f06a7dfeb304f7c95eb5", "size": "125...
/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ /*global define, window, $ */ /** * Manages layout of panels surrounding the editor area, and size of the editor area (but not its contents). * * Updates panel sizes when the window is resized. Maintains the max resizing limit...
{ "content_hash": "aac539cd553743d2141af6030f3740a1", "timestamp": "", "source": "github", "line_count": 263, "max_line_length": 133, "avg_line_length": 36.6425855513308, "alnum_prop": 0.6096295527653834, "repo_name": "No9/brackets", "id": "8ac05c41552449e4d87457192f2642ba7db6c2f2", "size": "10807",...
<!DOCTYPE html> <html ng-app="rzSliderDemo"> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>AngularJS Touch Slider</title> <link rel="stylesheet" href="demo.css"/> <link rel="stylesheet" href="../dist/rzslider.css"/> <link href='http:/...
{ "content_hash": "a98c8d78b7cf22fa92d17fa29c4e7229", "timestamp": "", "source": "github", "line_count": 182, "max_line_length": 111, "avg_line_length": 28.686813186813186, "alnum_prop": 0.5500861903849837, "repo_name": "karelcallens/angularjs-slider", "id": "ec846ebf4ca1f3f3236f93e05286dcba45de87ce",...
<!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 (1.8.0_60-ea) on Wed Jan 04 17:08:19 EST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wil...
{ "content_hash": "709cdccd4b26a0e542f8a4775fc76363", "timestamp": "", "source": "github", "line_count": 207, "max_line_length": 663, "avg_line_length": 57.11594202898551, "alnum_prop": 0.675378499534805, "repo_name": "wildfly-swarm/wildfly-swarm-javadocs", "id": "b1eedb3d2c0152d08f05b0b7338ec269724b0...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "46c8fe52709ed486aa19fadbca3ddb4d", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "3334a951bb2e5dc8a14bfb2d40e83ffb7ba98cc4", "size": "182...