text
stringlengths
2
1.04M
meta
dict
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RayTracer.Mathematics { public struct Coordinate { public readonly float X; public readonly float Y; public Coordinate(float x, float y) : this() { X = x; ...
{ "content_hash": "5fde449bdbca3d2a55861a734fdae785", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 43, "avg_line_length": 17.75, "alnum_prop": 0.5549295774647888, "repo_name": "MortenChristiansen/Rend-Studio", "id": "e4629f6d98ec7dc4b76a202bdc928eafe167fd5c", "size": "35...
<!DOCTYPE html> <html lang="en" dir='ltr'> <head> <meta charset="UTF-8"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes"> <meta name="msapplication-tap-highlight" ...
{ "content_hash": "68ba6f6a8286b646a34132ef4eac3f9c", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 100, "avg_line_length": 32.23076923076923, "alnum_prop": 0.5579952267303102, "repo_name": "chocolatechip-ui/chocolatechipui", "id": "dad3db076b5e4f73c127605d2c389b9f597282f3"...
// For reference see http://blog.selfshadow.com/publications/s2013-shading-course/karis/s2013_pbs_epic_notes_v2.pdf #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <vector> #include <chrono> #define GLM_FORCE_RADIANS #define GLM_FORCE_DEPTH_ZERO_TO_ONE #include <glm/glm.hpp> ...
{ "content_hash": "bc5adc6a125f12f5b36555c74dc2afd1", "timestamp": "", "source": "github", "line_count": 1572, "max_line_length": 192, "avg_line_length": 45.16412213740458, "alnum_prop": 0.7638525028874052, "repo_name": "SaschaWillems/vulkan_slim", "id": "14f764679ae73e209d2271aaa6282608eb08808b", "...
namespace std { namespace tr1 { typedef short test_type; template struct has_nothrow_assign<test_type>; } }
{ "content_hash": "55c18cddfafcf9bca0cc11b792911d2e", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 50, "avg_line_length": 15.25, "alnum_prop": 0.6721311475409836, "repo_name": "the-linix-project/linix-kernel-source", "id": "ee6140a8363416c422c751feeb78759c6d34aa6f", "size...
#ifndef __NATIVE_BASE_HPP__ #define __NATIVE_BASE_HPP__ #include "base/Stream.hpp" #include "base/base_utils.hpp" #endif /* __NATIVE_BASE_HPP__ */
{ "content_hash": "f71dc825b53393721947b4d6677063a1", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 32, "avg_line_length": 21.285714285714285, "alnum_prop": 0.6644295302013423, "repo_name": "nodenative/nodenative", "id": "346c521b11a8cb3be5590946e25d637ab6988b98", "size": ...
#include <stdio.h> #include <modbus.h> int main(void) { printf("Compiled with libmodbus version %s\n", LIBMODBUS_VERSION_STRING); printf("Linked with libmodbus version %d.%d.%d\n", libmodbus_version_major, libmodbus_version_minor, libmodbus_version_micro); if (LIBMODBUS_VERSION_CHECK(2, 1, 0)...
{ "content_hash": "ee143329b23de9bbd20304a79a9202e7", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 86, "avg_line_length": 25.523809523809526, "alnum_prop": 0.628731343283582, "repo_name": "truhoang/3d-coverage-solo", "id": "e0fc5697a7a5c33cadbafb0e4bb85c1c00806ab9", "siz...
package org.jkiss.dbeaver.model.impl.data.formatters; import org.jkiss.dbeaver.model.DBConstants; import org.jkiss.dbeaver.model.data.DBDDataFormatterSample; import java.util.Collections; import java.util.Date; import java.util.Locale; import java.util.Map; public class TimeFormatSample implements DBDDat...
{ "content_hash": "7fe7afdbd6ad3ad4c5da08f45b927cf5", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 98, "avg_line_length": 27.653846153846153, "alnum_prop": 0.7357440890125174, "repo_name": "Sargul/dbeaver", "id": "d026de25f143f80ae44566a60cff4a5081939a76", "size": "1389"...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyEvents.Models { public class Feedback : ModelBase { [JsonProperty("userId")] public string UserId { get; set; } [JsonProperty("rating"...
{ "content_hash": "0150900a1477e15b62d252abe4f7071c", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 45, "avg_line_length": 21.958333333333332, "alnum_prop": 0.6299810246679317, "repo_name": "nishanil/Dev-Days-HOL", "id": "6db7e647ac007dd73d69ce3a0ace8f8237ed0c7a", "size":...
// <autogenerated /> 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("DotSpatial.Plug...
{ "content_hash": "efce767f623bbdd197b9cd0086892dcd", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 84, "avg_line_length": 45.61904761904762, "alnum_prop": 0.7661795407098121, "repo_name": "CGX-GROUP/DotSpatial", "id": "b70337de10395f44af918d900aca02af17396bf6", "size": "...
'use strict'; // ========================================================================= // // Controller for projects // // ========================================================================= var path = require ('path'); var DBModel = require (path.resolve('./modules/core/server/cont...
{ "content_hash": "65e1c03f4b97ccbc5417d256412a1a99", "timestamp": "", "source": "github", "line_count": 1345, "max_line_length": 207, "avg_line_length": 33.11747211895911, "alnum_prop": 0.5938306804660665, "repo_name": "logancodes/esm-server", "id": "0bf69c305940e97e53578a6abb7e02b5f56aa881", "size...
#include <apr_pools.h> #include <apr_network_io.h> #include "serf.h" #include "serf_bucket_util.h" typedef struct { apr_socket_t *skt; serf_databuf_t databuf; /* Progress callback */ serf_progress_t progress_func; void *progress_baton; } socket_context_t; static apr_status_t socket_reader(v...
{ "content_hash": "a6f0762c1c7bb0e3d730899301a76f8c", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 78, "avg_line_length": 26.07920792079208, "alnum_prop": 0.60250569476082, "repo_name": "atkonn/mod_chxj", "id": "7dc1fd0ee07064fb9b7ae3d37b5015eaed0d290c", "size": "3251",...
<?php defined('COREPATH') or die('No direct script access.'); /** * Set the default time zone. * * @link http://www.php.net/manual/timezones */ date_default_timezone_set('Asia/Tehran'); /** * Set the default locale. * * @link http://www.php.net/manual/function.setlocale */ setlocale(LC_ALL, 'en_US.utf-8'); /...
{ "content_hash": "d7cc724c9710eca658602548bf9022e5", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 75, "avg_line_length": 20.307692307692307, "alnum_prop": 0.5814393939393939, "repo_name": "mehranhadidi/ecms", "id": "6a00dc4828c0d66dc47818e9c7f2d1fa0c25e4c9", "size": "10...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.sandbox.regression.gmm.IVRegressionResults.cov_HC0 &#8212; statsmodels v0.10.2 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesh...
{ "content_hash": "30cf4de18b7f547169077d28ce2246b7", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 317, "avg_line_length": 47.0609756097561, "alnum_prop": 0.6513345426276237, "repo_name": "statsmodels/statsmodels.github.io", "id": "ab0459d0e1ab2f45c4611e1cef95058d536daab4...
FROM ubuntu:14.04 RUN apt-get update && apt-get install -y nginx RUN rm /etc/nginx/sites-enabled/default RUN ln -s /etc/nginx/sites-available/mattermost /etc/nginx/sites-enabled/mattermost ADD mattermost /etc/nginx/sites-available/ ADD docker-entry.sh / RUN mkdir /cert ADD cert/cert.pem /cert/ ADD cert/private/key-...
{ "content_hash": "15a935b799f5e42da64ab0027e6a9be1", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 111, "avg_line_length": 24.44, "alnum_prop": 0.7446808510638298, "repo_name": "npcode/mattermost-docker", "id": "a8bdb916fa703382c3bb2debbfdbc70073d51c45", "size": "611", ...
// RobotBuilder Version: 0.0.2 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the bloc...
{ "content_hash": "ca30eeae49d1a473dcef1f4ee759dfbc", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 79, "avg_line_length": 36.92857142857143, "alnum_prop": 0.7117988394584139, "repo_name": "co1in/Nashoba-Robotics2013", "id": "71ac45bb3ef2a124b3d3d270c34b48c573f8858a", "si...
""" Unit tests for pyspark.sql; additional tests are implemented as doctests in individual modules. """ import os import sys import subprocess import pydoc import shutil import tempfile import pickle import functools import time import datetime import array import ctypes import warnings import py4j from contextlib impo...
{ "content_hash": "4ce96bed8cb6a687ff911d3c454407c2", "timestamp": "", "source": "github", "line_count": 6501, "max_line_length": 100, "avg_line_length": 42.64851561298262, "alnum_prop": 0.5775162484040136, "repo_name": "rekhajoshm/spark", "id": "8e5bc6729dfa44be94a978b9e8d0025d0a011ff0", "size": "2...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link href="http://gmpg.org/xfn/11" rel="profile"> <!-- Enable responsiveness on mobile devices--> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <title> About &middot; Programmer.new ...
{ "content_hash": "2adda2e4c2845cb86cb4858971727c8d", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 275, "avg_line_length": 32.44705882352941, "alnum_prop": 0.646120377084844, "repo_name": "strohy1210/strohy1210.github.io", "id": "6585b8d23fb9526dada191636109a3bae8dfe452", ...
/* * Creates the alerts you may see when clicking the Stuck button. */ function StuckAlert(alertHandler) { var that = this; var _recentPanos = []; function stuckClicked() { alertHandler.showAlert(i18next.t('popup.still-stuck'), 'stuck' , true); } function stuckSkippedStreet() { a...
{ "content_hash": "ad1ee520c16b163d377f5685c3c1d3ac", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 120, "avg_line_length": 35.61538461538461, "alnum_prop": 0.6666666666666666, "repo_name": "ProjectSidewalk/SidewalkWebpage", "id": "99db66cb2fe495fcf308b939a5ce5274adcf6fb5",...
import styled from 'styled-components' import css from '@/utils/css' import { CommonNavi, CommonHint, CommonCenterArrowIcon } from '../index' export const Wrapper = styled.div<{ disabled?: boolean }>` ${css.flex('align-center')}; color: #196780; opacity: ${({ disabled }) => (disabled ? '0.6' : '1')}; cursor...
{ "content_hash": "a239dbb456156eebee90715a91f16f42", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 72, "avg_line_length": 25.61111111111111, "alnum_prop": 0.6409978308026031, "repo_name": "mydearxym/mastani", "id": "ee89ea7c84911e5a758a34304329175f89685310", "size": "922...
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD //http://code.google.com/p/moq/ //All rights reserved. //Redistribution and use in source and binary forms, //with or without modification, are permitted provided //that the following conditions are met: // * Redistributions of source...
{ "content_hash": "5ed8fc6481e24fdb6194b179e402e08c", "timestamp": "", "source": "github", "line_count": 203, "max_line_length": 125, "avg_line_length": 33.566502463054185, "alnum_prop": 0.7440563545641327, "repo_name": "kolomanschaft/moq4", "id": "490dcb5574c638463d89dcb85993c1b317351c18", "size": ...
package com.xinqihd.sns.gameserver.admin.gui.ext; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import javax.swing.AbstractListModel; import javax.swing.JScrollPane; import javax.swing.JTextField; import javax.swing.ListModel; import net.miginfocom.swing.MigLayo...
{ "content_hash": "fecd78fa10c187332052d4b70b6eddd3", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 105, "avg_line_length": 30.157894736842106, "alnum_prop": 0.7218150087260035, "repo_name": "wangqi/gameserver", "id": "ae63809ff6fc545a8b45f701cb7bbab40e003743", "size": "2...
ReadyToRun File Format ====================== Revisions: * 1.1 - [Jan Kotas](https://github.com/jkotas) - 2015 * 3.1 - [Tomas Rylek](https://github.com/trylek) - 2019 # Introduction This document describes ReadyToRun format implemented in CoreCLR as of June 2019. # PE Headers and CLI Headers ReadyToRun images conf...
{ "content_hash": "0f8eaa002eaf314bcd90788c9c3a7880", "timestamp": "", "source": "github", "line_count": 609, "max_line_length": 561, "avg_line_length": 53.86699507389162, "alnum_prop": 0.6965706447187928, "repo_name": "krk/coreclr", "id": "cc4ab1d281b5c5967d4c76a53dfbcc89dc8b0953", "size": "32805",...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" conte...
{ "content_hash": "d5a91e6d09e7590af2d596e9d25ffb04", "timestamp": "", "source": "github", "line_count": 1058, "max_line_length": 999, "avg_line_length": 44.44234404536862, "alnum_prop": 0.6103998298596341, "repo_name": "statsmodels/statsmodels.github.io", "id": "da9c0e947ad66e88d758b40654597a2153f7d1...
@implementation DRNRoomStatusTitleView - (instancetype)init { return [self initWithTitle:@""]; } - (instancetype)initWithTitle:(NSString *)title { self = [super init]; if (self) { self.backgroundColor = [UIColor whiteColor]; _title = title; _containerView = [[UIView alloc] init]; ...
{ "content_hash": "c6043007f6def1dac39636c840286792", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 108, "avg_line_length": 29.1, "alnum_prop": 0.6516323024054983, "repo_name": "KimDarren/DonggukLibrary", "id": "7650d5b438e040d4be0f02d97b0e1e75783a98ea", "size": "2600", ...
<?php //---------------------------------------------------------------------- // Copyright (c) 2012-2017 Raytheon BBN Technologies // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and/or hardware specification (the "Work") to // deal in the Work without restriction...
{ "content_hash": "d77341aaa5a5ebbc49df58defa15c7b5", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 213, "avg_line_length": 49.029411764705884, "alnum_prop": 0.6628674265146971, "repo_name": "tcmitchell/geni-portal", "id": "47155ff526d57659ec94abe083e8e521d0c6e287", "size...
<!DOCTYPE html> <meta charset=utf-8> <title>invalid formaction: path-relative-square-brackets</title> <input type=submit formaction="[61:24:74]:98">
{ "content_hash": "93bb115f2e58b286a4ef2d6b93c2c7dc", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 64, "avg_line_length": 37.25, "alnum_prop": 0.7516778523489933, "repo_name": "youtube/cobalt", "id": "3bc8dbf2dc3bb001c1e5f256e0d1064385043a49", "size": "149", "binary": f...
#include "dev/ip.h" #include "lib/simEnvChange.h" #include "net/ip/uip.h" const struct simInterface ip_interface; // COOJA variables #if NETSTACK_CONF_WITH_IPV6 char simIPChanged; char simIP[16]; #endif /* NETSTACK_CONF_WITH_IPV6 */ #if NETSTACK_CONF_WITH_IPV4 char simIPChanged; char simIP[4]; #endif /* NETS...
{ "content_hash": "9fda523661790baaf54925894dcd1917", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 87, "avg_line_length": 20.593220338983052, "alnum_prop": 0.551440329218107, "repo_name": "MohamedSeliem/contiki", "id": "7a637c8ac258b110e52bae4cef9536003a52c085", "size": ...
Thie example demonstrates how to mock the helloworld service The generated protos create a `Service` interface used by the client. This can simply be mocked. ```go type GreeterService interface { Hello(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) } ``` Where the `GreeterService` i...
{ "content_hash": "0ea4c0fd814a98e12ae048bf5e424605", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 133, "avg_line_length": 22.676470588235293, "alnum_prop": 0.6699092088197146, "repo_name": "myodc/go-micro", "id": "67c2363c71b5984b7ac6a72f21fe095e280f6d80", "size": "1553...
"""Common classes and functions for zones.""" from googlecloudsdk.calliope import exceptions as calliope_exceptions from googlecloudsdk.compute.lib import request_helper from googlecloudsdk.compute.lib import utils from googlecloudsdk.core.util import console_io class ZoneResourceFetcher(object): """Mixin class for...
{ "content_hash": "634bb0700b6aaf245d177311c4e03781", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 80, "avg_line_length": 37.824742268041234, "alnum_prop": 0.6009811937857726, "repo_name": "ychen820/microblog", "id": "0143a807af7c28e2e5abdcfe78f8b34e8b1b34b7", "size": "3...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "18573ec9cbbe77fa3e6a9083c6bb6af0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "5cd8d5dd7befd3a6e3ceb49bc39688acc84f415e", "size": "19...
<?php /** * Class Hustle_Get_Response_Form_Hooks * Define the form hooks that are used by Get_Response * * @since 4.0 */ class Hustle_Get_Response_Form_Hooks extends Hustle_Provider_Form_Hooks_Abstract { /** * Add Get_Response data to entry. * * @since 4.0 * * @param array $submitted_data * @return...
{ "content_hash": "1776a98a55507805e8d6adb443f9582d", "timestamp": "", "source": "github", "line_count": 238, "max_line_length": 156, "avg_line_length": 29.42016806722689, "alnum_prop": 0.5655526992287918, "repo_name": "mandino/nu", "id": "e3138ef1ad4bdf5ddaf009a0a1b8b371a342f180", "size": "7002", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="robots" content="index, follow, all" /> <title>Thelia\Action\Address | </title> <link rel="stylesheet" type="text/css" href="../../stylesheet.css"> </head> <bo...
{ "content_hash": "5b38e8dc1d458c9a6f8f1b580d1292b5", "timestamp": "", "source": "github", "line_count": 370, "max_line_length": 242, "avg_line_length": 34.902702702702705, "alnum_prop": 0.4713489236487533, "repo_name": "bibich/thelia.github.io", "id": "930c1a2b400f9a050a107008e8cc091b9a41283a", "si...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.google.zxing.client.android; public final class R { public static final class attr { } public static final class ...
{ "content_hash": "81df8c5db2299663b37f3cd652793f8d", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 68, "avg_line_length": 40.3, "alnum_prop": 0.707196029776675, "repo_name": "darshanhs90/Android-Nexmo-Insight-app", "id": "45316b05ab30539996cb1011e648f0eaf41f0493", "size"...
package org.apache.spark.rdd import java.io.File import java.io.FilenameFilter import java.io.IOException import java.io.PrintWriter import java.util.StringTokenizer import scala.collection.JavaConversions._ import scala.collection.Map import scala.collection.mutable.ArrayBuffer import scala.io.Source import scala....
{ "content_hash": "cff44de586b4c53670f6ca0bf0365dec", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 97, "avg_line_length": 34.13793103448276, "alnum_prop": 0.6542087542087542, "repo_name": "trueyao/spark-lever", "id": "ed79032893d33768b867aa3957ed3f69fd894336", "size": "...
package com.google.api.codegen.java; import com.google.api.tools.framework.snippet.Doc; /** * Entry points for a Java snippet set. Generation is partitioned into a first phase which * generates the content of the class without package and imports header, and a second phase which * completes the class based on the...
{ "content_hash": "50b2ffc2b5a0174d47cd03e34e31fab7", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 98, "avg_line_length": 29.03030303030303, "alnum_prop": 0.7296450939457203, "repo_name": "tcoffee-google/toolkit", "id": "17e20dde7370eb8c63f1cc5dc350233b7d65fb62", "size":...
import { Meteor } from 'meteor/meteor'; import { Template } from 'meteor/templating'; import { Systems } from '../../api/systems/systems.js'; import { CharacterTemplates } from '../../api/templates/character.js'; import { BlazeLayout } from 'meteor/kadira:blaze-layout'; import { $ } from 'meteor/jquery' import './new_...
{ "content_hash": "4318064cb8413ba04f57768789285548", "timestamp": "", "source": "github", "line_count": 323, "max_line_length": 136, "avg_line_length": 33.43962848297214, "alnum_prop": 0.5582816405888343, "repo_name": "WumbleMinky/rpgcentre", "id": "7f548606d73363ec20d6f5665e5ac8bbc844ed1d", "size"...
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true"> <shape android:shape="rectangle"> <stroke android:width="1.0px" android:color="@android:color/darker_gray" /> <gradient android:angle="270...
{ "content_hash": "f440bdc6617a732b3cd3fc3abfc1977e", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 106, "avg_line_length": 42.5, "alnum_prop": 0.6205882352941177, "repo_name": "likeshu/OurFirstRss", "id": "b4da89ee32d60c13168432a2f00cfc72146820fb", "size": "1020", "bin...
package org.elasticsearch.percolator; import org.apache.lucene.index.LeafReaderContext; import org.apache.lucene.index.ReaderUtil; import org.apache.lucene.search.BooleanClause; import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.IndexSearcher; import org.apache.lucene.search.Query; import o...
{ "content_hash": "20a7afca10e76ae21b993167c18797c0", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 125, "avg_line_length": 47.33613445378151, "alnum_prop": 0.6729984022723238, "repo_name": "gingerwizard/elasticsearch", "id": "14c52ef52bc442eba86d410da86c62873ac1423f", "...
def login_with_oauth(service=:github) visit "/auth/#{service}" end # def sign_in(user) # visit root_path # click_link 'Sign in with GitHub' # # Sign in when not using Capybara as well. # post '/auth/github' # end def mock_file File.new(Rails.root + 'spec/fixtures/rails.png') end
{ "content_hash": "0d83f91171e6c7d4ad3eca7bf947d0e3", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 50, "avg_line_length": 19.6, "alnum_prop": 0.6768707482993197, "repo_name": "MAPC/grandvizauto", "id": "3218ab26dd8dc0c6924c5f1ffa0f56ba9f07b979", "size": "294", "binary"...
- This will print the total number of lines in the file 'filename' to the screen. ``` awk 'END {print NR}' filename ``` ### Print the 10th Line - This will print the 10th input line to the screen. ```bash awk 'NR == 10 {print}' filename ``` ### Print the First Field - This print only the first field ($1) of every ...
{ "content_hash": "39757283157f17c438e854a335193f07", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 120, "avg_line_length": 35.10526315789474, "alnum_prop": 0.690904547726137, "repo_name": "vikash-india/UnixNotes2Myself", "id": "4be33b690f17cf46644de484b6a12bbedf5e7644", ...
package com.dounine.clouddisk360.parser.deserializer.file.list; import com.dounine.clouddisk360.parser.FileListParser; import com.dounine.clouddisk360.parser.deserializer.BaseRequestInterceptor; import org.apache.http.HttpException; import org.apache.http.HttpRequest; import org.apache.http.HttpRequestInterceptor; imp...
{ "content_hash": "d9f36cda03bfacf71925a2128dc4aa27", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 110, "avg_line_length": 32.833333333333336, "alnum_prop": 0.8362944162436549, "repo_name": "dounine/clouddisk", "id": "0328b7b7fbbbbab644c2f9578b8d2c8ce6430df2", "size": "7...
from bitstream import * import types_python_primitives import types_numpy
{ "content_hash": "21e21693a959ad1b213f472aca151927", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 30, "avg_line_length": 24.666666666666668, "alnum_prop": 0.8378378378378378, "repo_name": "devast8a/bitstream_python", "id": "04cc1c4ea7eddf281db797b317f9a62bf677dac7", "siz...
module LtiGoogleDocs module LaunchHelper end end
{ "content_hash": "fcbc9c292d9b05570b67b941d17742fe", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 21, "avg_line_length": 13.25, "alnum_prop": 0.8113207547169812, "repo_name": "wbhumphrey/lti_google_docs", "id": "6be24b29a41b641138fa7cd80730ab1439a7f207", "size": "53", ...
'use strict'; function padWithZeros(vNumber, width) { var numAsString = vNumber.toString(); while (numAsString.length < width) { numAsString = '0' + numAsString; } return numAsString; } function addZero(vNumber) { return padWithZeros(vNumber, 2); } /** * Formats the TimeOffset * Thanks ...
{ "content_hash": "1440c7cff2af93fa37c12819bb528c59", "timestamp": "", "source": "github", "line_count": 139, "max_line_length": 104, "avg_line_length": 32.49640287769784, "alnum_prop": 0.6015054239539518, "repo_name": "AxelSparkster/axelsparkster.github.io", "id": "974c7a872f4f55f554d9483c71b5e9cb7d2...
/***************************************************************************//** * \file cy_ipc_sema.h * \version 1.30 * * \brief * Header file for IPC SEM functions * ******************************************************************************** * \copyright * Copyright 2016-2018, Cypress Semiconductor Corporation. ...
{ "content_hash": "4188fa465fdc920f5a35e3137d594161", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 99, "avg_line_length": 35.41880341880342, "alnum_prop": 0.5929054054054054, "repo_name": "punitvara/zephyr", "id": "b63d98e4563bc818474cc0515f96734636b742fc", "size": "414...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Table of Contents - documentation</title> <style type="text/css" media="screen"> @import "media/css/doc.css"; @import "media...
{ "content_hash": "f59e38f6be727a07ff4f9c7305451a96", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 128, "avg_line_length": 38.369565217391305, "alnum_prop": 0.6838526912181303, "repo_name": "kormoc/Query-Digest-UI", "id": "25f3a61e34c197a7c21da0cdf675fe5b2790593a", "size...
/** * Initialize translations */ 'use strict' var locator = require('node-service-locator'); module.exports = function () { var app = locator.get('app'); var config = locator.get('config'); var locales = []; locator.register('locale', config['lang']['default']); locator.register('globalize', f...
{ "content_hash": "47eec3162ea0af5f3df82b261eedf1d9", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 85, "avg_line_length": 34.06122448979592, "alnum_prop": 0.5281605751947274, "repo_name": "basarevych/express-lite", "id": "22939990ce24bf871dea40009966b42e13ea4d6b", "size"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_31) on Mon Jul 22 15:25:23 PDT 2013 --> <TITLE> Uses of Class org.apache.hadoop.metrics.util.MetricsIntValue (Hadoop 1.2.1 API) </TITLE> <META NAME=...
{ "content_hash": "69bd5ea46d9df9edb6dcdc8ed4cd183a", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 236, "avg_line_length": 42.53472222222222, "alnum_prop": 0.6146938775510205, "repo_name": "sfu-nml/hadoop-vlocality", "id": "927655f656ede77f804df45b3c46fdbe925c1235", "si...
<ul> <li>Each marker knows its location</li> <ul> <li><tt>GMarker.openInfoWindow</tt> uses marker location</li> </ul> </ul>
{ "content_hash": "94273b24567cbd241447f9f9e95ef092", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 65, "avg_line_length": 22.333333333333332, "alnum_prop": 0.6343283582089553, "repo_name": "alexander0205/js-v2-samples", "id": "285f9c9623cb18a6710ed6d4c9eedceea1a4959e", "s...
require File.dirname(__FILE__) + "/helper" class InNodeTest < NodeTestCase def test_to_sexp node = InNode.new(NumberNode.new(5), ResolveNode.new('foo')) assert_sexp([:in, [:lit, 5], [:resolve, 'foo']], node) end end
{ "content_hash": "5c664116fbf81e8aac25fb6bcfe02d02", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 64, "avg_line_length": 28.625, "alnum_prop": 0.6462882096069869, "repo_name": "mat-mo/arch-pkgs", "id": "7dc3e64efa873efc6a6a3077170212da279de904", "size": "229", "binary"...
const myApp = angular.module('testModule', ['ngMaterial']); interface TestScope extends ng.IScope { [index: string]: any; } myApp.config(( $mdAriaProvider: ng.material.IAriaProvider, $mdThemingProvider: ng.material.IThemingProvider, $mdIconProvider: ng.material.IIconProvider, $mdProgressCircularPr...
{ "content_hash": "0ca55eb5df43d0c9934826446c30723b", "timestamp": "", "source": "github", "line_count": 421, "max_line_length": 133, "avg_line_length": 37.211401425178146, "alnum_prop": 0.5822162645218946, "repo_name": "rolandzwaga/DefinitelyTyped", "id": "f29de4422211a15bdf6736160c28a31f389cc01b", ...
require 'rspec/fire' RSpec.configure do |config| config.include(RSpec::Fire) def fail_matching(*messages) raise_error(RSpec::Expectations::ExpectationNotMetError) {|error| messages.each {|message| error.message.should =~ /#{Regexp.escape(message.to_s)}/ } } end end
{ "content_hash": "e161bb6ab7587a2041c5827ac78de0b0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 69, "avg_line_length": 23.23076923076923, "alnum_prop": 0.6688741721854304, "repo_name": "xaviershay/rspec-fire", "id": "131157bfaccdf62001a31f966b2a9c11369ab9d2", "size": ...
<?php namespace GingerPayments\Payment\Tests\Order\Transaction\PaymentMethodDetails; use GingerPayments\Payment\Order\Transaction\PaymentMethodDetails\SofortPaymentMethodDetails; final class SofortPaymentMethodDetailsTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function itShould...
{ "content_hash": "eec644fb7b7833d4b36e819fcff1c3d6", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 103, "avg_line_length": 32.125, "alnum_prop": 0.6113813229571985, "repo_name": "gingerpayments/ginger-opencart", "id": "ffa8df78297daf12a8d20a20c47a3427c556ddba", "size": "...
List.create(:name => 'Inbox')
{ "content_hash": "adadc25ee41fcc4ccaa8a9f4558b604e", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 29, "avg_line_length": 30, "alnum_prop": 0.6333333333333333, "repo_name": "evanpbrown/Inventory-Tracker", "id": "7dc582cd411b5149660b14f086b4e5723871cf7a", "size": "384", ...
<?php namespace Oro\Bundle\ApiBundle\Tests\Unit\Filter; use Oro\Bundle\ApiBundle\Filter\FilterValue; class FilterValueTest extends \PHPUnit_Framework_TestCase { public function testGetSetPath() { $filterValue = new FilterValue('path', 'value', 'operator'); $this->assertSame('path', $filterVa...
{ "content_hash": "541fcb6dbecfd34327995910efad0f54", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 74, "avg_line_length": 29.672727272727272, "alnum_prop": 0.6274509803921569, "repo_name": "geoffroycochard/platform", "id": "9a8034b25c53c07c57f4a0e8064beb50a488e25a", "siz...
"""The test for light device automation.""" from datetime import timedelta import pytest import homeassistant.components.automation as automation from homeassistant.components.device_automation import DeviceAutomationType from homeassistant.components.light import DOMAIN from homeassistant.const import CONF_PLATFORM,...
{ "content_hash": "c5f088a25b25e88d8794e15053fbfcff", "timestamp": "", "source": "github", "line_count": 318, "max_line_length": 87, "avg_line_length": 35.204402515723274, "alnum_prop": 0.4884323358642251, "repo_name": "mezz64/home-assistant", "id": "6cedb51f661261673277b4024156808833359d16", "size"...
// Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bip38.h" #include "init.h"...
{ "content_hash": "8b106a8d938c170eb888522ae2e04157", "timestamp": "", "source": "github", "line_count": 491, "max_line_length": 173, "avg_line_length": 38.45621181262729, "alnum_prop": 0.6054972990149349, "repo_name": "Oxygencoin/oxygen", "id": "2356ebe6a5748c265a7b0ff18cdec686a94560ad", "size": "1...
using UnityEngine; using System.Collections; using System.Runtime.InteropServices; public class HealthPickUp : MonoBehaviour { SphereCollider myCol; //Inspector public float rotationSpeed = 0.85f; public float bounceSpeed = 0.75f; public float bounceDistance = 0.5f; //Internal private fl...
{ "content_hash": "fb3a3c3408e5b035148aa0eecd5815ff", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 135, "avg_line_length": 23.85, "alnum_prop": 0.5463312368972746, "repo_name": "d4rkz3r0/GPGamesPrototype", "id": "98a0165fbdbb8f93434606364a3abf4e7ca5aa26", "size": "2387"...
<?php require_once "Google/Api/Ads/Dfp/Lib/DfpSoapClient.php"; if (!class_exists("ApiError", false)) { /** * The API error base class that provides details about an error that occurred * while processing a service request. * * <p>The OGNL field path is provided for parsers to identify the request data ...
{ "content_hash": "48b567da65625fbd50383afbc07393fe", "timestamp": "", "source": "github", "line_count": 3392, "max_line_length": 128, "avg_line_length": 24.88826650943396, "alnum_prop": 0.623695525994717, "repo_name": "gamejolt/googleads-php-lib", "id": "bd5964052cac60ce0792185205dbfe7945d5221a", "...
<?php namespace Doctrine\DBAL\Logging; /** * A SQL logger that logs to the standard output using echo/var_dump. * * * @link www.doctrine-project.org * @since 2.0 * @version $Revision$ * @author Benjamin Eberlei <kontakt@beberlei.de> * @author Guilherme Blanco <guilhermeblanco@hotmail.com> * @author ...
{ "content_hash": "7617e19bb0cdb5a68ca8e3fb47a15935", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 79, "avg_line_length": 19.162790697674417, "alnum_prop": 0.5764563106796117, "repo_name": "arhframe/arhframe", "id": "6119d501bf164bfd06ee19797f0dfa6da29e807c", "size": "18...
layout: page title: Harold Simon's 55th Birthday date: 2016-05-24 author: Barbara Lutz tags: weekly links, java status: published summary: Nunc venenatis nulla nec magna. banner: images/banner/people.jpg booking: startDate: 11/03/2019 endDate: 11/05/2019 ctyhocn: CHIFPHX groupCode: HS5B published: true --- Done...
{ "content_hash": "3e995c286e1e00be471d34a6ca8360a1", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 653, "avg_line_length": 75, "alnum_prop": 0.8046376811594202, "repo_name": "KlishGroup/prose-pogs", "id": "4e6066a5e0492b2e2289d95c14f9c5f699de10f8", "size": "1729", "bin...
package com.wut.resources.common; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) public @interface Init { }
{ "content_hash": "40be590d67a20f6bcffdc06ec55eff82", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 44, "avg_line_length": 20.333333333333332, "alnum_prop": 0.819672131147541, "repo_name": "WebUtilityKit/api-server", "id": "740dca6e5672b2627573632f2f976113cbd0bb00", "size"...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Using WARPLab (SISO configuration) to Transmit Bits Over a Wireless % Channel . %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This matlab srcipt generates a bitstream, modulates the bitstream using % DQPSK, ...
{ "content_hash": "e1c37a0c57af448c3d6dee10a4f56cf9", "timestamp": "", "source": "github", "line_count": 429, "max_line_length": 107, "avg_line_length": 45.81818181818182, "alnum_prop": 0.6393467643467643, "repo_name": "shailcoolboy/Warp-Trinity", "id": "2de6361dbc35b145f1917cbed8bdf61917c0f7bb", "s...
require 'spec_helper' require 'active_record/connection_adapters/postgresql_adapter' require 'active_record/connection_adapters/abstract_mysql_adapter' describe BigintPk do describe '::setup' do def reset_connection_adapters! if defined? ::ActiveRecord::ConnectionAdapters [:PostgreSQLAdapter, :Abst...
{ "content_hash": "d61510c00727305ee8f7ff78515abd25", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 97, "avg_line_length": 35.59731543624161, "alnum_prop": 0.6082202111613876, "repo_name": "integrum/rails-bigint-pk", "id": "e27625b1a44af11f0b9da6a848485e18f2ca0a9c", "siz...
package com.intellij.internal.statistic.eventLog.connection; import com.intellij.internal.statistic.eventLog.*; import com.intellij.internal.statistic.eventLog.connection.StatisticsResult.ResultCode; import com.intellij.internal.statistic.eventLog.connection.request.StatsHttpRequests; import com.intellij.internal.stat...
{ "content_hash": "423387bc103adbbaa0aff88b3edcc135", "timestamp": "", "source": "github", "line_count": 301, "max_line_length": 139, "avg_line_length": 38.87043189368771, "alnum_prop": 0.6838461538461539, "repo_name": "allotria/intellij-community", "id": "ee2faf0b842c67f270b80bb2f88b89d8e71ec393", ...
using FileSpec; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace FileSpec { // trying to read lines as fast as streamreader technique // Goal: ...
{ "content_hash": "31281e7915da99465a7ece799589d749", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 76, "avg_line_length": 27.414285714285715, "alnum_prop": 0.4200104220948411, "repo_name": "mikehixson/FileSpec", "id": "f8dd3c4ffc6ab003f833da2b6815ee5b6e44094b", "size": "...
import { RelayProp } from 'react-relay'; import { DeleteAccount_view as ViewType } from '__generated__/DeleteAccount_view.graphql'; declare type Props = { relay: RelayProp; view: ViewType | undefined; }; declare const _default: import("react-relay").Container<Props>; export default _default;
{ "content_hash": "cd0baa08921b0e5cd973bebaf1a7bf3e", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 90, "avg_line_length": 37.625, "alnum_prop": 0.7275747508305648, "repo_name": "emwalker/digraffe", "id": "b0e0c203317d241baf6b2100a796f332b68bb789", "size": "301", "binary...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialWordpressOutline extends React.Component<IconBaseProps, any> { }
{ "content_hash": "0f9ff41087c668c45a2c92a9e3a44997", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 93, "avg_line_length": 58.333333333333336, "alnum_prop": 0.7828571428571428, "repo_name": "johan-gorter/DefinitelyTyped", "id": "fa0fb9655d9f7fa8ba65580507e9e536cbfe6a28", "...
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, national...
{ "content_hash": "f99847f0935db3df38344447bc9b14e1", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 87, "avg_line_length": 44.98550724637681, "alnum_prop": 0.8211984536082474, "repo_name": "swcraig/oxford-dictionary", "id": "3e0d4290da66f73f552162f985e7f76c94e37613", "siz...
<?php namespace Teknoo\East\CodeRunner\Service; /** * Class DatesService. * Service to manage the date to use during a request, to keep the same date, without second evolution and simplify * test. * * @copyright Copyright (c) 2009-2017 Richard Déloge (richarddeloge@gmail.com) * @license http://teknoo.so...
{ "content_hash": "5556e8b09c64806780b2e2945852aa0f", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 115, "avg_line_length": 22.458333333333332, "alnum_prop": 0.5807050092764379, "repo_name": "TeknooSoftware/east-code-runner", "id": "be1d859efb2ff4198e8bcdce051cf89eddf2757a"...
<?php //require_once'config.php'; $tokenIn = sha1(rand(0,999).rand(999,9999).rand(1,300)); $_SESSION['token_'] = $tokenIn; ?> <!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="Expires" content="0" /> <meta http-equiv="Pragma" content="no-cache" /> <title><?php //echo $tt; ?></ti...
{ "content_hash": "25fc248aeb6bb8b89e1b5577ff63d9fe", "timestamp": "", "source": "github", "line_count": 169, "max_line_length": 170, "avg_line_length": 42.34319526627219, "alnum_prop": 0.4480156512017887, "repo_name": "joseyanez91/biblioteca", "id": "23feade50f9910341d623480e068007b6f1afb58", "size...
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **current** | [**V2MetricValueStatus**](V2MetricValueStatus.md) | ...
{ "content_hash": "342e35cc8c14a2f5b6979ba4038a0f00", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 142, "avg_line_length": 44.63636363636363, "alnum_prop": 0.6476578411405295, "repo_name": "kubernetes-client/java", "id": "aa51ddc58fd20a8f156938bc07993916a0a770fe", "size"...
// Copyright 2019 Google 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 in ...
{ "content_hash": "5206d3caa0f4d06c3e3909c4a8e37ae6", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 111, "avg_line_length": 35.93706293706294, "alnum_prop": 0.6867094765518583, "repo_name": "google/wikiloop-doublecheck", "id": "aead0383a20ac3f67a602b549cd7cf4621ebe4fd", ...
package com.github.dm.jrt.android.v11.core; import android.annotation.TargetApi; import android.app.Activity; import android.app.Fragment; import android.app.LoaderManager; import android.app.LoaderManager.LoaderCallbacks; import android.content.Context; import android.content.ContextWrapper; import android.content....
{ "content_hash": "1dd85a6352970a624299a6fbed256379", "timestamp": "", "source": "github", "line_count": 1973, "max_line_length": 100, "avg_line_length": 38.265078560567666, "alnum_prop": 0.5128813065419818, "repo_name": "davide-maestroni/jroutine", "id": "f3cee42a2bbe330fbe88354f18029d531ae8c39d", ...
package com.microsoft.azure.management.network.v2020_03_01.implementation; import com.microsoft.azure.SubResource; import com.microsoft.azure.management.network.v2020_03_01.TransportProtocol; import com.microsoft.azure.management.network.v2020_03_01.LoadDistribution; import com.microsoft.azure.management.network.v20...
{ "content_hash": "cc3b49ba179675a65458b37ea8cd6f6d", "timestamp": "", "source": "github", "line_count": 392, "max_line_length": 287, "avg_line_length": 35.62244897959184, "alnum_prop": 0.6869091950730449, "repo_name": "selvasingh/azure-sdk-for-java", "id": "1f44c3ce6068127d96e323ae6cffd614d3faa9cd", ...
class RectCollision : public Collision { public: RectCollision(double* x, double* y, double* width, double* height) : x(x), y(y), width(width), height(height) {} virtual bool DoesCollide(const Collision* other) const { return other->DoesCollide(*x, *y, *width, *height); } virtual bool DoesCollide(double cx...
{ "content_hash": "ba18e214469f1476b4d855128c6a9c82", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 201, "avg_line_length": 58, "alnum_prop": 0.7004310344827587, "repo_name": "jjimenezg93/agarIO", "id": "dd7d8596a67456d480f8bc4f1b9fd2fc17819689", "size": "1043", "binary...
using NUnit.Framework; using Scripts.Game.Defined.Characters; using Scripts.Game.Defined.Serialized.Brains; using Scripts.Game.Defined.Serialized.Buffs; using Scripts.Game.Defined.Serialized.Items; using Scripts.Game.Defined.Serialized.Spells; using Scripts.Game.Defined.Serialized.Statistics; using Scripts.Model.Buffs...
{ "content_hash": "0de3946de5e2ba100dbb2dc405961b06", "timestamp": "", "source": "github", "line_count": 557, "max_line_length": 160, "avg_line_length": 39.63734290843806, "alnum_prop": 0.6129178367605761, "repo_name": "Cinnamon18/runityscape", "id": "60ddf1f115a117dc571c9baa284edf31e863ce61", "size...
package org.hisp.dhis.textpattern; /** * @author Stian Sandvold */ public interface MethodType { /** * Validates the pattern of the type against the string input * * @param raw the string to validate * @return true if raw matches pattern, false if not */ boolean validatePattern( St...
{ "content_hash": "ecee13092dbbe14377eb2b743e31c95f", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 78, "avg_line_length": 26.07547169811321, "alnum_prop": 0.6396526772793053, "repo_name": "msf-oca-his/dhis2-core", "id": "9e39df2b54cc758d4378fa7766431d0a67f99df5", "size":...
@interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; - (void)presentSWController; - (void)logOut; @end
{ "content_hash": "9cebb3874d70651a57f29ec483c0229c", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 60, "avg_line_length": 20.25, "alnum_prop": 0.7716049382716049, "repo_name": "hack4impact/busy-booth", "id": "08a00b3d100ea33d0a521e3d3070174b6e83bf77", "size": "337", "bi...
function sprintf(format, ...args) { let index = 0; return format.replace(/%s/g, () => args[index++]); } export default sprintf;
{ "content_hash": "b78e244405b2c1909c67f5962b97b2de", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 51, "avg_line_length": 16.625, "alnum_prop": 0.631578947368421, "repo_name": "teasim/teasim-helpers", "id": "763a661297946976490ed780f44e556b54b7ea11", "size": "330", "bin...
package org.apache.hadoop.hdfs.server.blockmanagement; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.hdfs.DFSConfigKeys; import org.apache.hadoop.hdfs.DFSTestUtil; import org.apache.hadoop.hdfs.HdfsConfiguration; import org.apache.hadoop.hdfs.TestBlockS...
{ "content_hash": "52a1cdc881d4a4980de7071ce44e26c3", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 133, "avg_line_length": 38.1869918699187, "alnum_prop": 0.6945922929529487, "repo_name": "apache/hadoop", "id": "7acf132be75eb3408e5f527322f64aac084f0f7d", "size": "10204"...
require 'vk/api/methods' module Vk module API class Video < Vk::Schema::Namespace module Methods # Adds a video to a user or community page. class Add < Schema::Method # @!group Properties self.open = false self.method = 'video.add' # @method initia...
{ "content_hash": "d5894e2dc2ebf3082ca2987fb94e860b", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 156, "avg_line_length": 41.27272727272727, "alnum_prop": 0.6262848751835536, "repo_name": "alsemyonov/vk", "id": "1c50a94bb683b4726eb0f1b39321aa5bf742ba3e", "size": "1392",...
var sig = require('sig-js'), ozrepl = require('oz-repl'), ozweb = require('oz-web'), babel = require('babel') var server = ozweb.server(2332) var out = sig() out .tap(compile) .catch(compileError) .to(server.out()) ozrepl({ in: server.in(), out: out }) function compile(req) { // we blackli...
{ "content_hash": "9d26effd887f898928a1c4c8c8fff0bc", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 78, "avg_line_length": 19.57894736842105, "alnum_prop": 0.646505376344086, "repo_name": "justinvdm/oz-browser-repl", "id": "a4663a9cd5de52d540e044cd73ab77ef5021034f", "size...
using namespace std; using namespace ::testing; namespace ar = boost::archive; namespace extractor { namespace { class TranslationTableTest : public Test { protected: virtual void SetUp() { vector<string> words = {"a", "b", "c"}; vector<int> source_data = {2, 3, 2, 3, 4, 0, 2, 3, 6, 0, 2, 3, 6, 0}; ve...
{ "content_hash": "6f41cf520c3379bbcbd163bf683229c2", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 79, "avg_line_length": 39.367816091954026, "alnum_prop": 0.6531386861313868, "repo_name": "pks/cdec-dtrain", "id": "3cfc001102426de2d4535f150886e7ddbf06a951", "size": "3717...
import json import sys class TwOrder: # Default Values conf = { 'user': '', 'query': '', 'since': '', 'until': '', 'max_tweets': 0, 'max_comments': 0, 'bufferlength': 0, 'near': '', 'within': '', 'lang': 'en' } @staticmet...
{ "content_hash": "ad00f121529c268dc9a4ff4011f7bd00", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 115, "avg_line_length": 34.09615384615385, "alnum_prop": 0.4873096446700508, "repo_name": "mutux/TwEater", "id": "3124715f9a5ae0d0c660b4edea2bf42b07ca7ee5", "size": "1797",...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>A note about optional&lt;bool&gt;</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../inde...
{ "content_hash": "3c7dfe190ebe9985b200af58f78d550d", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 569, "avg_line_length": 95.36111111111111, "alnum_prop": 0.6645305369453345, "repo_name": "MisterTea/HyperNEAT", "id": "ce79322ad44ac409f7bec1bc82d6547730921e27", "size": ...
<?php require_once dirname(__FILE__).'/../Type.class.php'; /** * A time. * * @package repository * @subpackage types */ class TimeType implements Type { const DefaultFormat = 'h:i:s'; private $value; function __construct($value=false) { if (!$value) { $this->value = new DateTime(); } else { $this...
{ "content_hash": "38f7ea14086092dbfdddea867df1e36f", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 72, "avg_line_length": 20.82857142857143, "alnum_prop": 0.6179698216735254, "repo_name": "maetl/floe", "id": "e45abcbfb788c82f8c77f15d7d1998ed18564aae", "size": "1872", "...
void RunPointers01(void); void RunPointers02(void); void RunPointers03(void); void RunPointers04(void); void RunPointers05(void);
{ "content_hash": "486367b0f60215c66ec2d4e9dabc28ed", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 25, "avg_line_length": 26, "alnum_prop": 0.8076923076923077, "repo_name": "AboutObjectsTraining/ios-objc-comp-reston-2016-03", "id": "a6f86a2eda8d8fb38b8c23167825da3a2e3de61f"...
/** * Created by alasd on 06/04/2016. */ var app = angular.module('MathsFunctionSonification') app.directive('radialGauge',function(){ return{ restrict : 'E', scope: { max :'=', min : '=', value : '=', label : '=' }, controller : 'g...
{ "content_hash": "3f2abf9ee4e128c4a246654f7749f9b4", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 90, "avg_line_length": 25.010416666666668, "alnum_prop": 0.5172844648063307, "repo_name": "Alasdair-Munday/Maths-Function-Sonification", "id": "1479cd0afcec5cbefb4aa4581e81ed...
import * as React from 'react'; import Box from '@mui/material/Box'; import Slider from '@mui/material/Slider'; export default function SliderSizes() { return ( <Box width={300}> <Slider size="small" defaultValue={70} aria-label="Small" valueLabelDisplay="auto" /> ...
{ "content_hash": "067e4cd8c2e1a8c99ab9c30f92864c1c", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 80, "avg_line_length": 24.41176470588235, "alnum_prop": 0.6144578313253012, "repo_name": "mui-org/material-ui", "id": "d714dc1784e25117fe80a491c6600d500ee9a360", "size": "4...
::: next-steps * [Integrate with Auth0 using one of our libraries](/libraries) * [Integrate with Auth0 using our Authentication API](/api/authentication) * [Read more about the authentication flow](/application-auth) * [Pass additional parameters to the Identity Provider](/connections/pass-parameters-to-idps) * [Re-pro...
{ "content_hash": "b45347998828746092b14b8473c85da0", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 93, "avg_line_length": 56.142857142857146, "alnum_prop": 0.7786259541984732, "repo_name": "auth0/docs", "id": "a85112173d4b9fac319dabe46e33b3c0caacc72e", "size": "408", "b...
package org.bitcoinj.core; import com.google.common.primitives.Ints; import java.io.IOException; import java.io.OutputStream; import java.util.Arrays; /** * Created by Hash Engineering on 2/20/2015. * * MasternodeSignature holds a signature and serializes it * to the wire protocol */ public class MasternodeSig...
{ "content_hash": "cf6ef07bd3955010e19c0884ba68c25b", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 111, "avg_line_length": 26.904761904761905, "alnum_prop": 0.65, "repo_name": "HashEngineering/dashj", "id": "12a5ff99607021dfb863c1191b3b5d1c84b49a9b", "size": "2868", "b...
'use strict'; describe('Controller: ServerReportCtrl', function () { beforeEach(module('fhirReader')); var ServerReportCtrl, mockFhirModel, location beforeEach (inject(function ($templateCache, $controller, $q, $location) { location = $location; var createPromise = function (returnDa...
{ "content_hash": "7a3a3bcba1c634dcd1b7cd4701eaf80e", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 256, "avg_line_length": 30.108695652173914, "alnum_prop": 0.6332129963898917, "repo_name": "NomanTrips/fhir-reader-dstu2", "id": "5084c174120bf10c4f03ad3608c56e6cbc373a63", ...
<script src="lib/qunit.js"></script> <link href="lib/qunit.css" rel="stylesheet"> <script src="lib/jquery.js"></script> <script src="../jquery-turtle.js"></script> <body> <div id="qunit"></div> <script> eval($.turtle()); module("Type and menu test."); asyncTest("Makes a simple adventure game and plays it.", function() ...
{ "content_hash": "544e7569aa1d6d2de515d3efd4035476", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 72, "avg_line_length": 36.46153846153846, "alnum_prop": 0.6276371308016878, "repo_name": "emoron/jquery-turtle", "id": "034089fb033903565d81f17466c768cdfc1eb0a8", "size": ...
'use strict'; var diff = require('arr-diff'); /** * Return the difference between the first array and * additional arrays. * * ```js * var a = ['a', 'b', 'c', 'd']; * var b = ['b', 'c']; * * diff(a, b); * //=> ['a', 'd'] * ``` * * @name .difference * @param {Array} `a` * @param {Array} `b` * @return ...
{ "content_hash": "633d3f53c91a877901cfb257ec661a31", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 70, "avg_line_length": 18.551724137931036, "alnum_prop": 0.5539033457249071, "repo_name": "jonschlinkert/utils", "id": "ef2f60deb9abbb992c7c70678e382a3fe7e6cc33", "size": "...
/* * (C) 2007-2012 Alibaba Group Holding Limited. * * 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 applic...
{ "content_hash": "da2c955bb3158538bd3b43e02dda6e59", "timestamp": "", "source": "github", "line_count": 1656, "max_line_length": 120, "avg_line_length": 28.239734299516908, "alnum_prop": 0.6094087458569443, "repo_name": "killme2008/gecko", "id": "53287776845e8155954003a2c5a3c9b86d94dcbf", "size": "...
/* Theme Name: Twenty Fourteen Theme URI: http://wordpress.org/themes/twentyfourteen Author: the WordPress team Author URI: http://wordpress.org/ Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or ...
{ "content_hash": "e4d43f16e1ec37444773d878d1dc64a1", "timestamp": "", "source": "github", "line_count": 2764, "max_line_length": 786, "avg_line_length": 27.85781476121563, "alnum_prop": 0.6517487240094028, "repo_name": "amannn/gulp-wordpress-template", "id": "4ead71e4676c0434a3f78443b13fdfd3fca2a903"...
@interface KIFUIViewTestActor (Composition) - (void)tapViewIfNotSelected:(NSString *)label; - (void)tapViewWithAccessibilityHint:(NSString *)hint; @end @implementation KIFUIViewTestActor (Composition) - (void)tapViewIfNotSelected:(NSString *)label { UIAccessibilityElement *element = [viewTester usingLabel:label...
{ "content_hash": "1388a4ebe621ea477352f93b4be3130b", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 187, "avg_line_length": 29.5, "alnum_prop": 0.7602905569007264, "repo_name": "atljeremy/JFMinimalNotifications", "id": "ce8364e08a151a507fcedf71219d5560402bca5c", "size": "...
/** Addons Display page */ /* general initialization */ $(document).ready(function() { // Personas are not impalacized yet! if ($("#persona[data-id]").length) { $(".addon .icon").click(function() { window.location.hash = "id=" + $("#persona").attr("data-id"); }) } $(".perf...
{ "content_hash": "3d7d3d6009a8256e718ce6b239b6924a", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 75, "avg_line_length": 32.24444444444445, "alnum_prop": 0.5596140592694693, "repo_name": "wagnerand/zamboni", "id": "3934e3bb38c3bbd632113274e19265e4ba37f744", "size": "145...
package org.sakaiproject.nakamura.captcha; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.when; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.sakaiproject.nakamura.ap...
{ "content_hash": "96844537312af4d39f60e158aaad11a9", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 79, "avg_line_length": 29.802197802197803, "alnum_prop": 0.7507374631268436, "repo_name": "dylanswartz/nakamura", "id": "23ec776cd74d064dfeed7f1c403e0d67257667ab", "size": ...