text
stringlengths
2
1.04M
meta
dict
package models; /** * Defines all of the JSON views. * This is basically just a list. * @author mattwigway * */ public class JsonViews { /** * Data that is exposed to the UI via the API. */ public static class UserInterface {}; /** * Data that should be included in a database dump....
{ "content_hash": "bbd4507f8d2c9d3dc4677cd6331db46f", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 55, "avg_line_length": 19.36842105263158, "alnum_prop": 0.6086956521739131, "repo_name": "conveyal/gtfs-data-manager", "id": "f0efa5fdcf24f6f401d2a8c17e5be8906088db81", "si...
ACCEPTED #### According to Index Fungorum #### Published in Beih. Nova Hedwigia 44: 511 (1973) #### Original name Micromphale fulvifibrillosa Murrill ### Remarks null
{ "content_hash": "c3fc08ca4a1886f0031455239eedba2e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 35, "avg_line_length": 13.076923076923077, "alnum_prop": 0.7294117647058823, "repo_name": "mdoering/backbone", "id": "bc29621f17d516567b7041279bf86c33267ab25d", "size": "23...
namespace dart { struct FinalizableData { void* data; void* peer; Dart_WeakPersistentHandleFinalizer callback; Dart_WeakPersistentHandleFinalizer successful_write_callback; }; class MessageFinalizableData { public: MessageFinalizableData() : records_(0), get_position_(0), take_position_(0), external_...
{ "content_hash": "0d578e6fe553ff0db6643ad73c73b189", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 79, "avg_line_length": 29.746666666666666, "alnum_prop": 0.6736889287315105, "repo_name": "dartino/dart-sdk", "id": "acea96cf459c9a9807257243ba82589dff5a0001", "size": "261...
namespace glsp { class GlspMaterials { public: GlspMaterials(GLenum TextureTarget, const std::string& FileName); bool Load(); void Bind(GLenum TextureUnit); private: std::string m_fileName; GLenum m_textureTarget; GLuint m_textureObj; Magick::Image* m_pImage; Magick::Blob m_blob; }; st...
{ "content_hash": "9dea00cd3e6c6ec7e610a69318ca86da", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 83, "avg_line_length": 20.56338028169014, "alnum_prop": 0.6356164383561644, "repo_name": "Rasterer/glSoftPipe", "id": "1c2a3e92703a2131ce662e5febbc0a6f8fb9ea90", "size": "1...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "701c248aad849d2aa07277edfe78f46f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "d7f700fdaa57c59d5d3c54972353208b8fa91ad8", "size": "186...
<a href='https://github.com/angular/angular.js/edit/v1.3.x/docs/content/error/$compile/multidir.ngdoc?message=docs(error%2Fmultidir)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <h1>Error: $compile:multidir <div><span class...
{ "content_hash": "86871668c99f1a40ee89e82504b2d353", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 270, "avg_line_length": 48.7037037037037, "alnum_prop": 0.7429657794676806, "repo_name": "viral810/ngSimpleCMS", "id": "77ae86b5bafd87c1e5c2f66fe21fd34585c5e361", "size": "...
using System.Threading.Tasks; using Nest; using Tests.Framework.MockData; namespace Profiling.Async { public class IndexAsyncOperation : AsyncProfiledOperationBase { private readonly int _iterations; public IndexAsyncOperation(int iterations = 1000) { _iterations = iterations; } public override async ...
{ "content_hash": "f3db1b39c511114b349bdc1cc5369f66", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 117, "avg_line_length": 26.392857142857142, "alnum_prop": 0.7334235453315291, "repo_name": "cstlaurent/elasticsearch-net", "id": "8f41bfd3863db760a8a41ae948b70c7b4a896ce7", ...
c----------------------------------------------------------------------- c\BeginDoc c c\Name: dsgets c c\Description: c Given the eigenvalues of the symmetric tridiagonal matrix H, c computes the NP shifts AMU that are zeros of the polynomial of c degree NP which filters out components of the unwanted eigenv...
{ "content_hash": "bc259ed7bf49614fa872f1588dc712a7", "timestamp": "", "source": "github", "line_count": 217, "max_line_length": 72, "avg_line_length": 34.617511520737324, "alnum_prop": 0.49400958466453676, "repo_name": "RayRuizhiLiao/ITK_4D", "id": "ba1d778d7d817192e7416631f2b894525bcec871", "size"...
import processing.core.*; import processing.data.*; import processing.event.*; import processing.opengl.*; import java.util.HashMap; import java.util.ArrayList; import java.io.File; import java.io.BufferedReader; import java.io.PrintWriter; import java.io.InputStream; import java.io.OutputStream; import jav...
{ "content_hash": "3e0e40ec22f5d082d5b8ce7b07255e90", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 120, "avg_line_length": 31.204301075268816, "alnum_prop": 0.6654031702274293, "repo_name": "robblack007/ejemplos-processing", "id": "3cc27ce5d5704a573ebf4f9b55131a1b0c61a1fa"...
using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices; using System.Threading; namespace System.Collections.Concurrent { /// <summary> /// Provides blocking and bounding capabilities for thread-safe collections that /// implement <see...
{ "content_hash": "968ba855361d7e387bb981d7c270015c", "timestamp": "", "source": "github", "line_count": 1807, "max_line_length": 197, "avg_line_length": 58.44936358605423, "alnum_prop": 0.6330455036073397, "repo_name": "kkurni/corefx", "id": "116a31045e7096dbfc6ed5afd9d7ab2bfde49f39", "size": "1062...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "42330b7b0aa361e0a8bb142f7353db80", "timestamp": "", "source": "github", "line_count": 285, "max_line_length": 403, "avg_line_length": 54.19298245614035, "alnum_prop": 0.6696018128844287, "repo_name": "v8-dox/v8-dox.github.io", "id": "1429a4c245287675c87667abeb34648be81b39f6", "siz...
namespace SharpZendeskApi.Test.Common.JsonObjects { using Ploeh.AutoFixture; using RestSharp; public class ViaJson : JsonTestObjectBase { public override JsonObject GetJsonObject(IFixture fixture) { return new JsonObject(); } } }
{ "content_hash": "d32ed430e3cc74b8befcbafa2d2edc80", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 66, "avg_line_length": 20.642857142857142, "alnum_prop": 0.6470588235294118, "repo_name": "ghostsquad/SharpZendeskApi", "id": "167bfe58f7f60369e20601d3c91f4ff3a6e7fc6c", "s...
Given(/^I am a user with an open web browser$/) do visit 'http://localhost:3000' #pending # Write code here that turns the phrase above into concrete actions end When(/^I navigate to the Calabacitas page URL$/) do pending # Write code here that turns the phrase above into concrete actions end Then(/^I see the h...
{ "content_hash": "a99b61519c59b967e56ce7217f7e7c2b", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 78, "avg_line_length": 34.75, "alnum_prop": 0.7458033573141487, "repo_name": "melonistic/calabacitas", "id": "45c006382ca23a2050c796851d96af45fbe77584", "size": "417", "b...
import React from 'react'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './ActiveOptTable.css'; // import Link from '../Link'; import ActiveOptRow from '../ActiveOptRow'; const activeOptList = [ { stock: 'TSLA', stockPrice: 167.45, optDetails: 'TSLA170217C00165000', optValue: 54.9...
{ "content_hash": "b23fa3490886f186e260f29ed464913b", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 107, "avg_line_length": 26.958904109589042, "alnum_prop": 0.5630081300813008, "repo_name": "globalART19/OrderedOptions", "id": "27758b07056bb82346da31808bb24430d4bd7854", "...
/* This file is a part of madfish-webtoolkit project. http://code.google.com/p/madfish-webtoolkit/ (c) 2009 Alexander "Mad Fish" Chehovsky See License.txt for licensing information. */ #pragma once #ifndef _MAIN_H #define _MAIN_H #include <Thread.h> #include <WebToolkit.h> #include <string> #include <vector> s...
{ "content_hash": "c0846890de2aced05fe43ed4ecbb02be", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 52, "avg_line_length": 17.425, "alnum_prop": 0.7431850789096126, "repo_name": "MadFishTheOne/madfish-webtoolkit", "id": "22edfe79ef1d044527239895205a0f25e705daae", "size": ...
package com.emmiasilk.urealms.client; import com.emmiasilk.urealms.api.logging.Logging; import com.emmiasilk.urealms.core.util.StepTimer; import com.emmiasilk.urealms.core.world.GameWorld; import org.lwjgl.opengl.GL11; /** * @deprecated */ public class ClientOutsourcing { private static long thisSecond = 0; ...
{ "content_hash": "c706fb9e98177ad9c61c8912dc7380a2", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 88, "avg_line_length": 26.846153846153847, "alnum_prop": 0.6339541547277937, "repo_name": "EmmiaSilk/psychic-couscous", "id": "79e7ccef01967eac8152fffdb854bd18c803340b", "s...
'use strict'; var net = require('net'); var tls = require('tls'); var fs = require('fs'); var URL = require('url'); var _ = require('lodash'); var debug = require('./debug'); var EventEmitter = require('events').EventEmitter; var util = require('util'); var serializer = require('./serializer'); var definitions = requir...
{ "content_hash": "23e21a7a99cac2949c4f2dc367c3e42f", "timestamp": "", "source": "github", "line_count": 885, "max_line_length": 118, "avg_line_length": 30.92090395480226, "alnum_prop": 0.6531335647725196, "repo_name": "zkochan/node-amqp", "id": "d14889b43b57a0864db512053766c3a6ee45b022", "size": "2...
/* e_chil_err.c */ /* ==================================================================== * Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
{ "content_hash": "32b7e44b7a9f4453f922ffbd0f14cd2d", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 89, "avg_line_length": 37.89375, "alnum_prop": 0.6853043047996041, "repo_name": "jiangzhu1212/oooii", "id": "4bde80d1797456ccd7e4012023243bd061ee2ed9", "size": "6063", "...
<?php namespace Magento\Framework\Backup\Filesystem; /** * Filesystem helper * * @author Magento Core Team <core@magentocommerce.com> */ class Helper { /** * Constant can be used in getInfo() function as second parameter. * Check whether directory and all files/sub directories are writable ...
{ "content_hash": "16bfc7f45ee2ac2d38d7057f3e90fe39", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 110, "avg_line_length": 27.153225806451612, "alnum_prop": 0.5595485595485595, "repo_name": "tarikgwa/test", "id": "7e48f22c9e5006ee1d3e7204c7dd4ef7c144ac83", "size": "3465...
from models.scf import Frame, database import warnings, MySQLdb warnings.filterwarnings("ignore", category=MySQLdb.Warning) ## This class calculates loglikelihodd for each frame # @author Adriano Zanette # @version 1.0 class LogLikelihood: ## Calculates loglikelihood for each frame # @author Adriano Zanette # ...
{ "content_hash": "cc35791bdbf5d67156d4a510a75cb647", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 176, "avg_line_length": 52.6875, "alnum_prop": 0.4665875840253064, "repo_name": "adzanette/scf-extractor", "id": "0b08661dbd6aaf939f9c2979f2061f990e687a37", "size": "2529",...
#include "../../SDL_internal.h" #if SDL_VIDEO_DRIVER_WINDOWS && SDL_VIDEO_OPENGL_EGL #include "SDL_windowsvideo.h" #include "SDL_windowsopengles.h" #include "SDL_windowsopengl.h" #include "SDL_log.h" /* EGL implementation of SDL OpenGL support */ int WIN_GLES_LoadLibrary(_THIS, const char *path) { /* If the p...
{ "content_hash": "435016379c7a9103f31e17fdc934b9e3", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 95, "avg_line_length": 31.5, "alnum_prop": 0.6530612244897959, "repo_name": "zq317157782/Narukami", "id": "879448cb64dc4ac243009e8d7e07057a7e37d738", "size": "4466", "bi...
@interface FLCropImageView : UIView { @private UIImageView* _imageView; } @property (readwrite, retain, nonatomic) UIImage* image; @end
{ "content_hash": "ffa8b6fde5943de4587cfc105d23a19c", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 56, "avg_line_length": 17.75, "alnum_prop": 0.7323943661971831, "repo_name": "fishlamp-obsolete-ignore-these-repos/FishLamp-iOS-Views", "id": "bca39ff601aeb994dbfc1220a71c29c9...
id: 612ea97df5742154772f312e title: Step 19 challengeType: 0 dashedName: step-19 --- # --description-- Give the `.key.black--key::after` a `position` property set to `absolute` and a `left` property set to `-18px`. # --hints-- Your `.key.black--key::after` selector should have a `position` property set to `absolute...
{ "content_hash": "9bc096ca18d1b65b5c5d18af2957cd19", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 111, "avg_line_length": 22.119266055045873, "alnum_prop": 0.5827457486520116, "repo_name": "FreeCodeCamp/FreeCodeCamp", "id": "b7e35999686d79ebf33a1667e88af4a781327d16", "...
package nl.nn.adapterframework.soap; import static nl.nn.adapterframework.testutil.MatchUtils.assertXmlEquals; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutput...
{ "content_hash": "6d946712a672b3cb72834554710e4950", "timestamp": "", "source": "github", "line_count": 283, "max_line_length": 153, "avg_line_length": 41.92579505300353, "alnum_prop": 0.7801095659502739, "repo_name": "ibissource/iaf", "id": "875af8e289aadf2b77b28e6ea827396573141847", "size": "1186...
package datadir_test import ( "testing" "github.com/stretchr/testify/assert" "go.etcd.io/etcd/server/v3/storage/datadir" ) func TestToBackendFileName(t *testing.T) { result := datadir.ToBackendFileName("/dir/data-dir") assert.Equal(t, "/dir/data-dir/member/snap/db", result) } func TestToMemberDir(t *testing.T)...
{ "content_hash": "f7c3b1ee9e785a11b3e83571cdc87264", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 56, "avg_line_length": 25.333333333333332, "alnum_prop": 0.7081339712918661, "repo_name": "etcd-io/etcd", "id": "623614351bd2a402b89537a9caa862023b5e7b18", "size": "1430", ...
doc: doxygen config.dxy coverage: python ex1.py ex1.dat. lcov --capture --directory ../ --output-file coverage.info genhtml coverage.info --output-directory out check: cppcheck ex1.py run: python ex1.py ex1.dat.
{ "content_hash": "12a970f3c4950f9e543e7ee3c4ebd9b1", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 59, "avg_line_length": 17.076923076923077, "alnum_prop": 0.7252252252252253, "repo_name": "appfs/appfs", "id": "60086d7cb3d462bb1b3a18274bf22d12143f053d", "size": "222", ...
STORAGE* storage_create(const STORAGE_DEVICE_DESCRIPTOR *device_descriptor, STORAGE_DRIVER_CB *driver_cb, void *driver_param) { STORAGE* storage = (STORAGE*)sys_alloc(sizeof(STORAGE)); if (storage) { storage->rx_event = event_create(); storage->tx_event = event_create(); storage->device_descriptor = dev...
{ "content_hash": "b1ac2e52849bb3345b661658b4e4909e", "timestamp": "", "source": "github", "line_count": 462, "max_line_length": 152, "avg_line_length": 32.29004329004329, "alnum_prop": 0.6647673950931761, "repo_name": "alexeyk13/mkernel", "id": "0488d886d53f699ab1e8e4b5713a2e3023646248", "size": "1...
package samefile // +build windows import ( "encoding/binary" "io" "syscall" ) // shamelessly cribbed from https://golang.org/src/os/types_windows.go func fsHash(path string, h io.Writer) error { pathp, err := syscall.UTF16PtrFromString(path) if err != nil { return err } handle, err := syscall.CreateFile(pa...
{ "content_hash": "85b7e1b6f1d2b09a7525b12b54236bcd", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 114, "avg_line_length": 22.457142857142856, "alnum_prop": 0.7302798982188295, "repo_name": "vektra/cypress", "id": "82ad88ccd0fbbdbf97978f98c9b689fbd5ffd05b", "size": "786"...
class CreateFieldsForUser < ActiveRecord::Migration def self.up create_table(:fields) do |t| t.string :name, :null => false, :limit => 63 t.string :style, :null => false, :limit => 15 t.string :kind t.integer :organization_id t.integer :user_id t.timestamps end cre...
{ "content_hash": "de4b22b57085af343934e03390869a2e", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 73, "avg_line_length": 30.547619047619047, "alnum_prop": 0.6305533904910366, "repo_name": "sandyw/has_custom_fields", "id": "fe032528f0ad246fff0effb7a23fc338249fe20a", "siz...
// Jim Park: Only those we use are listed here. #pragma once #ifdef _UNICODE #ifndef _T #define __T(x) L ## x #define _T(x) __T(x) #define _TEXT(x) __T(x) #endif #ifndef _TCHAR_DEFINED #define _TCHAR_DEFINED #if !defined(_NATIVE_WCHAR_T_DEFINED) && !defined(_WCHAR_T_DEFINED) typedef unsigned short TCHAR; #el...
{ "content_hash": "a6a9b519290a1006d0df7e0659fb6862", "timestamp": "", "source": "github", "line_count": 218, "max_line_length": 93, "avg_line_length": 20.972477064220183, "alnum_prop": 0.6778215223097113, "repo_name": "battjt/iumpr", "id": "fa215f09da003d5e527d75dc52882b54a1ffddf9", "size": "4825",...
@implementation TDBadgeView @synthesize width=__width, badgeString=__badgeString, parent=__parent, badgeColor=__badgeColor, badgeTextColor=__badgeTextColor, badgeColorHighlighted=__badgeColorHighlighted, boldFont=__boldFont, radius=__radius, badgeTextColorHighlighted = __badgeTextColorHighlighted; - (id) initWithFram...
{ "content_hash": "bca672443c8d6746e047b40da5a91ab9", "timestamp": "", "source": "github", "line_count": 294, "max_line_length": 270, "avg_line_length": 29.656462585034014, "alnum_prop": 0.6753068012386741, "repo_name": "Chasingdreamboy/XQDPlugin", "id": "1c5f5dacaf102b42397fb48611c07f30b2a51f40", "...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Kansas State Council - Council Details</title> <link rel="stylesheet" type="text/css" media="all" href="../../../index.php@css...
{ "content_hash": "397867d5c1f23976f35a130b7eaf656a", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 267, "avg_line_length": 38.7710843373494, "alnum_prop": 0.6336233685518956, "repo_name": "cork1719/KofC_KS", "id": "e1c9d4201229ee10842025e7c0fdb2e1644df9b6", "size": "3218...
using Boc.Commands; using System; using LaYumba.Functional; using static LaYumba.Functional.F; using Boc.Domain.Events; using AccountState = Boc.Chapter10.Domain.AccountState; using Boc.Chapter10.Domain; using Microsoft.AspNetCore.Mvc; using Boc.Domain; namespace Boc.Chapter10 { namespace Unsafe { public ...
{ "content_hash": "5b65cbfcb77278dce345625e53858212", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 88, "avg_line_length": 30.388235294117646, "alnum_prop": 0.5845915602013163, "repo_name": "la-yumba/functional-csharp-code", "id": "d070f2c7721af4ccdc57ef69ed96d6fd359096e0",...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "c03fc5d52a32798be29fc3a8a99d71aa", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "8c1531c28336b4f1e97cda990c5457b6da48f8e4", "size": "208...
<?php namespace app\modules\test\statistics; class Statistics extends \yii\base\Module { public $controllerNamespace = 'app\modules\test\statistics\controllers'; public function init() { parent::init(); // custom initialization code goes here } }
{ "content_hash": "fb9afceaed7a9e863ea51dd4a8e86be0", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 76, "avg_line_length": 18.866666666666667, "alnum_prop": 0.6749116607773852, "repo_name": "grey256/testbench", "id": "bae805293e06c7c3716c32c20e43b685af90cf78", "size": "28...
package io.quarkus.vertx; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; import io.vertx.core.eventbus.MessageCodec; import io.vertx.mutiny.core.eventbus.Message; /** * Mar...
{ "content_hash": "ccb0f1ecff95d1408c1570541548928f", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 124, "avg_line_length": 37.38931297709924, "alnum_prop": 0.6790526745610453, "repo_name": "quarkusio/quarkus", "id": "d49d1b17da340982d659d1f07b082e6040bfd3d5", "size": "4...
package com.badlogic.gdx.graphics.glutils; import java.nio.FloatBuffer; import com.badlogic.gdx.graphics.VertexAttributes; import com.badlogic.gdx.utils.Disposable; import com.badlogic.gdx.utils.IntIntMap; /** A VertexData instance holds vertices for rendering with OpenGL. It is implemented as either a {...
{ "content_hash": "a581713dfa33a34cf2565f4b13a90dc4", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 126, "avg_line_length": 40.28947368421053, "alnum_prop": 0.7145656433703462, "repo_name": "ryoenji/libgdx", "id": "f540e8d1995faceb3595644a5092d7489732c27c", "size": "3832"...
<?php namespace Tymon\JWTAuth\Commands; use Illuminate\Support\Str; use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; class JWTGenerateCommand extends Command { /** * The console command name. * * @var string */ protected $name = 'jwt:generate'; /** ...
{ "content_hash": "07e41d457542d5051a2f9e946472e473", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 119, "avg_line_length": 23.494505494505493, "alnum_prop": 0.568755846585594, "repo_name": "johnturingan/laravel-jwt-auth", "id": "a1485deb98cdfef425c3ab7b94ac14434fe4e23c", ...
$(function() { $('#assets-container').on('click', '.js_bookmark', function () { var elem = $(this); asset.process(elem.data('type'), elem.data('aid'), location.href, elem); }); });
{ "content_hash": "12cfa1628e46bdcd276540f4da7b83a5", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 80, "avg_line_length": 25.75, "alnum_prop": 0.5339805825242718, "repo_name": "charithag/carbon-store", "id": "be74086a87a76adb57593aa5e74ca6d9c2f93725", "size": "855", "bi...
// // WBPersonalCenterViewController.m // kedashixunDemo // // Created by wangbing on 16/5/10. // Copyright © 2016年 wangbing. All rights reserved. // #import "WBPersonalCenterViewController.h" #import "Const.h" #import "UIBarButtonItem+WBCustomButton.h" #import "UIColor+HexColor.h" #import "WBCustomBottomUpView.h"...
{ "content_hash": "83a263371d6d4e2e1dca2446d0db433b", "timestamp": "", "source": "github", "line_count": 552, "max_line_length": 233, "avg_line_length": 33.75, "alnum_prop": 0.5973161567364466, "repo_name": "wb708861178/kedashixun", "id": "09f982fdfe472fec6afaaba80f5f54763fde6d2f", "size": "18879", ...
var Level = require('../level'); var Game = function ( game ) { }; Game.prototype.create = function () { this.buildWorld(); }; Game.prototype.update = function () { // TODO }; Game.prototype.updateSeconds = function () { // TODO }; Game.prototype.buildWorld = function () { var seed = 1; // TODO // ...
{ "content_hash": "5de500a06cfb07e7e0d8d212b01925c8", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 44, "avg_line_length": 14.892857142857142, "alnum_prop": 0.6091127098321343, "repo_name": "MantarayAR/paugme-pack-circuits", "id": "7037ba0a27c866b03f2d9fd7546062c2fe3b86fd",...
<?php namespace Acme\FindMartialBundle\Form\Handler; use FOS\UserBundle\Form\Handler\RegistrationFormHandler; class ClientRegistrationFormHandler extends RegistrationFormHandler { /** * @param boolean $confirmation */ public function process($confirmation = false) { $user = $this->crea...
{ "content_hash": "0f4dc98d34530c8624ee2bd5e15eb1d4", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 67, "avg_line_length": 20.166666666666668, "alnum_prop": 0.5743801652892562, "repo_name": "pashtetbet/findmartial", "id": "8fc421ce2e219f2f53df3e963226a1eb31df70c4", "size"...
package enumeratum import play.api.libs.json._ trait PlayInsensitiveJsonEnum[A <: EnumEntry] { self: Enum[A] => implicit val keyWrites: KeyWrites[A] = EnumFormats.keyWrites(this) implicit def contraKeyWrites[K <: A]: KeyWrites[K] = { val w = this.keyWrites new KeyWrites[K] { def writeKey(k: K) = w...
{ "content_hash": "2f4642296f95f6aa13252725741d46f7", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 98, "avg_line_length": 31, "alnum_prop": 0.6774193548387096, "repo_name": "lloydmeta/enumeratum", "id": "0d7034ce65a74a774c65de3f2d69ecfba72311d8", "size": "620", "binary...
package org.sleuthkit.autopsy.ingest; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import javax.swing.JMenuItem; import javax.swing.text.html.HTMLEditorKit; import javax.swing.text.html.Styl...
{ "content_hash": "97ca0ec6fddab1dd38baff1b8bb0f220", "timestamp": "", "source": "github", "line_count": 295, "max_line_length": 169, "avg_line_length": 47.47118644067797, "alnum_prop": 0.6665238503284776, "repo_name": "karlmortensen/autopsy", "id": "aca7541263f2aeda59f820f78139c20ec173a233", "size"...
module Construqt module Flavour module Nixian module Tastes module Systemd class IpAddr def render(iface, taste_type, taste) end def activate(ctx) @context = ctx self end end add(Entities::IpAdd...
{ "content_hash": "305d825e8b644334e923c95934b76475", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 48, "avg_line_length": 19.526315789473685, "alnum_prop": 0.48247978436657685, "repo_name": "mabels/construqt", "id": "c9845cc025ca91eddefd3b61a7cc0b6c0e9b207a", "size": "37...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>Lighthouse: lapack/...
{ "content_hash": "60bc55e1ea0700d4c51814437ed031ee", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 322, "avg_line_length": 49.58951965065502, "alnum_prop": 0.5924621345544205, "repo_name": "LighthouseHPC/lighthouse", "id": "d2e428ae5eeb51dff6fa4ac3010e268c68e2b2f4", "si...
#include <assert.h> #include "squash-internal.h" #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #if !defined(_WIN32) #include <dlfcn.h> #else #include <windows.h> #endif /** * @defgroup SquashPlugin SquashPlugin * @brief A plugin. * * @{ */ /** * @struct SquashPlugin_ * @brie...
{ "content_hash": "bad35302fbdb3e8e14511ee634a00ca6", "timestamp": "", "source": "github", "line_count": 334, "max_line_length": 197, "avg_line_length": 26.03293413173653, "alnum_prop": 0.6640598044853364, "repo_name": "jibsen/squash", "id": "98dcc5ed208196bad6773b33f442f241b2baf1c3", "size": "9879"...
package io.jboot.objects.counter; /** * @author michael yang (fuhai999@gmail.com) * @Date: 2020/2/28 */ public interface JbootCounter { Long increment(); Long decrement(); Long get(); void set(long newValue); }
{ "content_hash": "881e12d93e475dc0672aa8414441725c", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 44, "avg_line_length": 13.166666666666666, "alnum_prop": 0.6371308016877637, "repo_name": "yangfuhai/jboot", "id": "f93da079bd2e6444030ddeb022032ec913c0a05f", "size": "883"...
#ifndef PARTNERMANAGER_H #define PARTNERMANAGER_H #include "AnimationManager.h" #include "SpriteManager.h" #include "../enums.h" #include "../Vector2.h" #include <map> class Partner; class Condition; class Encounter; class XmlReader; class XmlWriter; class PartnerManager { public: PartnerManager(); ~Partn...
{ "content_hash": "0231e4b3c234e907416831da724de276", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 143, "avg_line_length": 28.202312138728324, "alnum_prop": 0.7233039557286329, "repo_name": "MaddTheSane/my-little-investigations", "id": "b873aacff2d56925e1b1c6be99c666ac188...
package org.jdal.ui.bind; import java.io.Serializable; import org.springframework.beans.PropertyAccessException; import org.springframework.util.ObjectUtils; import org.springframework.util.StringUtils; import org.springframework.validation.BindingResult; import org.springframework.validation.DefaultBindingErrorProc...
{ "content_hash": "7862f85aa8b0730c9c9d3e4b36bbe67e", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 101, "avg_line_length": 36.048780487804876, "alnum_prop": 0.7780784844384303, "repo_name": "chelu/jdal", "id": "917af1450eed9b5c078c6c42affc88330500bfd4", "size": "2098", ...
Update the on-disk dependencies to mirror the requirements.yaml file. This command verifies that the required charts, as expressed in ‘requirements.yaml’, are present in ‘charts/’ and are at an acceptable version. It will pull down the latest charts that satisfy the dependencies, and clean up old dependencies. On suc...
{ "content_hash": "5a4ef1619eaaed559128015d33a09d37", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 241, "avg_line_length": 51.36842105263158, "alnum_prop": 0.7438524590163934, "repo_name": "doitanyway/notes-everthing", "id": "11fd3080198e6f710057db1bed8c089cdd777ae3", "s...
<?xml version='1.0' encoding='UTF-8'?> <!-- Copyright 2016 - 2021 Acosix GmbH 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 a...
{ "content_hash": "4717d6b532135614897f7acac2237691", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 121, "avg_line_length": 35.40350877192982, "alnum_prop": 0.5401387512388504, "repo_name": "Acosix/alfresco-utility", "id": "4c86c6ff4af518d775dcf23bdf65e1872d741377", "siz...
import net from "net"; import { getLogger } from "../logging"; const log = getLogger("irc-ident"); interface IdentConfig { port: number; address: string; } const DEFAULT_CONFIG = { port: 113, address: "0.0.0.0" }; const CLIENT_CONNECTION_TIMEOUT_MS = 120000; /** * Runs an ident server to auth a ...
{ "content_hash": "4c63984c79bd13bdf4a7be3a14c982ef", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 85, "avg_line_length": 31.21917808219178, "alnum_prop": 0.53247038174638, "repo_name": "matrix-org/matrix-appservice-irc", "id": "62858e56c91dd6d57fa6c048f5ea3ed9a12d50ce", ...
import { HandlerMetadata } from "./HandlerMetadata"; import { Reflection } from "../core/Reflection"; import { HandlerParamMetadata } from "./HandlerParamMetadata"; import { convertArrayToMap } from '../util'; import { ParamType } from "./enum/ParamType"; import { HandlerParamOptions } from "./HandlerParamOptions"; imp...
{ "content_hash": "42f54e7c74440e70ae11c8ac5b4a15ce", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 135, "avg_line_length": 34.85294117647059, "alnum_prop": 0.620253164556962, "repo_name": "loon-project/loon", "id": "da12d200560a93f3f0d31735939e894c0be0df7e", "size": "237...
<?php namespace Sonata\PageBundle\Controller; use Sonata\AdminBundle\Controller\CRUDController as Controller; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Exception\NotFoundHttpExc...
{ "content_hash": "e572458053d14725d66ed518933255c1", "timestamp": "", "source": "github", "line_count": 259, "max_line_length": 112, "avg_line_length": 32.42857142857143, "alnum_prop": 0.5261340635789975, "repo_name": "davask/exim", "id": "86892ffc8ed8c20e3fa2664599cd553747933454", "size": "8646", ...
function show_supervoxel_counts(fn, attr) gt = h5read(fn, attr) id = [] for i = 1:size(gt, 3) push!(id, unique(gt[:,:,i])) end num_id = map(length, id) delta_num_id = [] for i = 2:length(id) push!(delta_num_id, length(setdiff(id[i-1], id[i]))) end x = [] y = [] for i = 1:length(id) append!(x, on...
{ "content_hash": "dfd288f1df653dedbe06d5c6dc90b6d8", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 163, "avg_line_length": 29.403225806451612, "alnum_prop": 0.7109160724081185, "repo_name": "seung-lab/Julimaps", "id": "2d1af2eaa17381ac05321d2d944b92f343b2e6a7", "size": "...
use anyhow::{Context, Result}; use safe_ftdi as ftdi; use std::cell::RefCell; use std::cmp; use std::thread; use std::time::{Duration, Instant}; use crate::io::uart::Uart; use crate::transport::ultradebug::Ultradebug; pub struct Inner { device: ftdi::Device, baudrate: u32, } /// Represents the Ultradebug UAR...
{ "content_hash": "ad82acce4900e8accb994729694e1479", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 96, "avg_line_length": 28.934782608695652, "alnum_prop": 0.5443275732531931, "repo_name": "lowRISC/opentitan", "id": "38d6537f025889f18f3a8ec12bbca6905c9c399b", "size": "28...
import UI from "ui"; import Request from "./Request"; import Menu from "./Menu"; import NoConfig from "./NoConfig"; import Store from "./Store"; class App extends UI.Card { constructor(definition) { super(definition); this.title = 'PebbleBee3'; this.icon ...
{ "content_hash": "81c298393aa0138f1454288d3507bdde", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 59, "avg_line_length": 19.867924528301888, "alnum_prop": 0.5052231718898386, "repo_name": "kinncj/PebbleBee3", "id": "c18a6c696645c82f23e520ba60804106454c7503", "size": "10...
require 'bundler' require 'bundler/setup' # force some environment variables ENV['HOMEBREW_NO_EMOJI']='1' # set some Homebrew constants used in our code HOMEBREW_BREW_FILE = '/usr/local/bin/brew' # add cask lib to load path brew_cask_path = Pathname.new(File.expand_path(__FILE__+'/../../')) casks_path = brew_cask_pa...
{ "content_hash": "aa229697303814402563511014b22d56", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 94, "avg_line_length": 27.557971014492754, "alnum_prop": 0.7199579279516172, "repo_name": "diimdeep/homebrew-cask", "id": "8fa1f4d03658954aed597fecc7f9da042b3dd098", "size...
<?php namespace spec\Sylius\Behat\Context\Ui; use Behat\Behat\Context\Context; use PhpSpec\ObjectBehavior; use Sylius\Behat\Page\External\PaypalExpressCheckoutPageInterface; /** * @author Arkadiusz Krakowiak <arkadiusz.krakowiak@lakion.com> */ class PaypalContextSpec extends ObjectBehavior { function let(P...
{ "content_hash": "45372062c2e4ed6b8ec7f927a7736d97", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 91, "avg_line_length": 26.942307692307693, "alnum_prop": 0.7080656673804425, "repo_name": "sjonkeesse/Sylius", "id": "bfc33895c8e4ef2ded5469fe366b22245eb9147e", "size": "16...
import os import webapp2 import jinja2 import config from app.utils.compressor import WEBASSETS_ENV JINJA_ENV = jinja2.Environment( autoescape=lambda x: True, extensions=['jinja2.ext.autoescape', 'webassets.ext.jinja2.AssetsExtension'], loader=jinja2.FileSystemLoader( os.path.joi...
{ "content_hash": "d277049cb87f8d25862156972dc54ebd", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 56, "avg_line_length": 23.1, "alnum_prop": 0.7229437229437229, "repo_name": "ronbeltran/webapp2-bedrock", "id": "1486390989e81040ce5dfa57404584bdd0aad30e", "size": "462", ...
ACCEPTED #### According to Paleobiology Database #### Published in null #### Original name null ### Remarks null
{ "content_hash": "e81596ed6186699f9ef4fd544c07a775", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 21, "avg_line_length": 8.923076923076923, "alnum_prop": 0.6982758620689655, "repo_name": "mdoering/backbone", "id": "c75798e1056d2eadef508dab66ab61e88e41c5d2", "size": "149...
set -e echo "Converting htaccess file..." docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp python:2 python 301-converter.py echo "Running test environment..." docker-compose rm -f docker-compose build docker-compose up --abort-on-container-exit
{ "content_hash": "4c895b4f2a6e610b5a05cb2d45df0e56", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 95, "avg_line_length": 36.857142857142854, "alnum_prop": 0.7441860465116279, "repo_name": "hypergig/301-httpd-to-nginx", "id": "403941d7da5adf664ed07b1f38cb8c4e1eabebdb", "s...
/** * Facilities for creating chart models of data for the GUI. */ package org.onosproject.ui.chart;
{ "content_hash": "c9761588e4de5aed54e1da10c3343645", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 60, "avg_line_length": 17.333333333333332, "alnum_prop": 0.7211538461538461, "repo_name": "lsinfo3/onos", "id": "5f85e036f3cfed51ec4ddff364b0fd181c5565ce", "size": "721", ...
using System; using HappyMapper.Tests.Tools; using NUnit.Framework; namespace HappyMapper.Tests.PublicAPI { public class HappyConfig_Tests { } }
{ "content_hash": "266f2f9250839d9d269e61bdfe147b6f", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 37, "avg_line_length": 14.545454545454545, "alnum_prop": 0.73125, "repo_name": "chumakov-ilya/HappyMapper", "id": "582286df8d55db8cfacfb2cfa243496562ac0d8c", "size": "162",...
layout: post title: Querying the Space categories: XAP97NET parent: the-space-api.html weight: 500 --- {%children%}
{ "content_hash": "d77c192681023e7db502d7de915745cc", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 26, "avg_line_length": 14.625, "alnum_prop": 0.7435897435897436, "repo_name": "aharonmoll/gigaspaces-wiki-jekyll", "id": "f9379a017ff2f5e8b845a2b027afc50ba046dd7f", "size": ...
Mutt **** Contents .. toctree:: :maxdepth: 1 getting-started
{ "content_hash": "dde423ae1a39819e2c46c4d50e15c6fe", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 18, "avg_line_length": 7.1, "alnum_prop": 0.5915492957746479, "repo_name": "pkimber/my-memory", "id": "9a97ed503e36f4898e4363ccfa111b54d328962f", "size": "71", "binary": ...
// // Copyright 2017 The Abseil Authors. // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
{ "content_hash": "f8b047418e210e92841be43420271ba2", "timestamp": "", "source": "github", "line_count": 931, "max_line_length": 97, "avg_line_length": 39.525241675617615, "alnum_prop": 0.6902005543779554, "repo_name": "abseil/abseil-cpp", "id": "1058ce74b797ca5e11929330a8f8a4751dd10e89", "size": "3...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <button class="surveybutton" onclick="Start()"> Start</button> <div id="result" class="result"> </div> <script> var mScore = 0; var mQuestions = [ ['How many cats are there in the world?', 1000], ['...
{ "content_hash": "be1f8597377d3956b61705bed0034b47", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 90, "avg_line_length": 17.08695652173913, "alnum_prop": 0.5597964376590331, "repo_name": "doubleoseven/doubleOseven.github.io", "id": "f90378f51890f9c02415a36d1551e7dd1a00950...
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> <head> <!-...
{ "content_hash": "6b6d10b08df2fd8d9cc9198b561ba778", "timestamp": "", "source": "github", "line_count": 208, "max_line_length": 395, "avg_line_length": 49.34615384615385, "alnum_prop": 0.5562159002338269, "repo_name": "arroyolabs-blog/roll-dice", "id": "83bb8455e1052b30986c64339fd1666e992986bf", "s...
'use strict'; // MODULES // var bench = require( '@stdlib/bench' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var fromCodePoint = require( '@stdlib/string/from-code-point' ); var pkg = require( './../package.json' ).name; var reUtf16SurrogatePair = require( './../lib' ); // MAIN // benc...
{ "content_hash": "5815214567d87c126e641e550f1dc65a", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 67, "avg_line_length": 21.82857142857143, "alnum_prop": 0.6034031413612565, "repo_name": "stdlib-js/stdlib", "id": "26d1ba35479d601c903e1f1c02a7f5a7b2b556cc", "size": "1380...
@charset "UTF-8"; /*! * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) */ @font-face{font-family:'FontAwesome';src:url(/static/fonts/fontawesome-webfont.eot?v=4.7.0);src:url(/static/fonts/fontawesome-webfont.eo...
{ "content_hash": "3b0dd97843f1191b328dc2364e687e37", "timestamp": "", "source": "github", "line_count": 724, "max_line_length": 506, "avg_line_length": 40.05801104972376, "alnum_prop": 0.7055375491345425, "repo_name": "marlass/architect", "id": "a43400866ff19fb6afba7c6a5d3b3167f9821f6b", "size": "3...
package org.locationtech.geomesa.utils.io import java.io.Flushable import org.locationtech.geomesa.utils.io.IsFlushableImplicits.{ArrayIsFlushable, IterableIsFlushable, OptionIsFlushable} import scala.util.{Failure, Success, Try} /** * Flushes anything with a 'flush' method without throwing an exception */ trai...
{ "content_hash": "7f20ce8693649769c76f2637837d8761", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 120, "avg_line_length": 29.68888888888889, "alnum_prop": 0.6579341317365269, "repo_name": "aheyne/geomesa", "id": "f05f911b416a95b4dcd23b8dcea698122c48dcb5", "size": "3135"...
import unittest import re from unittest.mock import patch from flask import current_app, url_for, g from flask_login import current_user from webapp import dbsql, mail from webapp.utils import create_user from webapp.admin import forms from webapp.controllers import get_user_by_email from webapp.notifications import se...
{ "content_hash": "4276b53e5a0c10e522d2d27dc706e9cf", "timestamp": "", "source": "github", "line_count": 4778, "max_line_length": 173, "avg_line_length": 42.16366680619506, "alnum_prop": 0.5333171182082618, "repo_name": "scieloorg/opac", "id": "5f27f0c85f60a7eea4480fb4b989dc2dc19c3219", "size": "202...
package org.ops4j.pax.logging.log4jv2; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Marker; import org.apache.logging.log4j.message.Message; import org.apache.logging.log4j.message.MessageFactory; import org.apache.logging.log4j.spi.AbstractLogger; imp...
{ "content_hash": "7427016c882c1e2909bb3ce900ceda3f", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 184, "avg_line_length": 43.532751091703055, "alnum_prop": 0.6230313973317284, "repo_name": "ops4j/org.ops4j.pax.logging", "id": "a430f3c04bb6a60dffc5deb4186469e844b45f6b", ...
@echo off rem Copyright (c) 2002-2004 by The Web Services-Interoperability Organization (WS-I) and rem Certain of its Members. All Rights Reserved. rem rem Notice rem The material contained herein is not a license, either expressly or impliedly, to any rem intellectual property owned or controlled by any of the...
{ "content_hash": "bcfc76326b5d027b2bd10f8a8e8236fd", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 111, "avg_line_length": 55.05555555555556, "alnum_prop": 0.762058526740666, "repo_name": "pfrandsen/wsi-checker", "id": "2831a4d4fa4f72d33edef016a29bcb7f784e2fac", "size": ...
from django.contrib import admin from models import Book admin.site.register(Book) class BookAdmin(admin.ModelAdmin): fields = ('title', 'price') # Register your models here.
{ "content_hash": "d87c2a3662ba060664ee957294b5ec99", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 34, "avg_line_length": 20.22222222222222, "alnum_prop": 0.7472527472527473, "repo_name": "tlycken/whatiscode", "id": "cb2089c09fc85d345a5cee5b80afaf48fd27f331", "size": "182...
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResu...
{ "content_hash": "afee8b8bb47e689479a2eebe01efa82d", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 100, "avg_line_length": 25.595092024539877, "alnum_prop": 0.7346596356663471, "repo_name": "rajeevanv89/developer-studio", "id": "33497f730da2495712450a2d42d41de9b8d2d7bc", ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // Don't override IsAlwaysNormalized because it is just a Unicode Transformation and could be confused. // names...
{ "content_hash": "34d83d8d488cabf9f71e583cb3d3126e", "timestamp": "", "source": "github", "line_count": 1258, "max_line_length": 149, "avg_line_length": 42.430842607313195, "alnum_prop": 0.5146502304320132, "repo_name": "schellap/coreclr", "id": "e32bdcb1f5f8b686dbf8771dca8abae76ef638ea", "size": "...
// Offering a Custom Alias suport - More info: http://docs.jquery.com/Plugins/Authoring#Custom_Alias (function($) { /** * $ is an alias to jQuery object * */ $.fn.lightBox = function(settings) { // Settings to configure the jQuery lightBox plugin how you like settings = jQuery.extend({ // Configuration...
{ "content_hash": "3ded8284c62e34555f3706e98a5ca404", "timestamp": "", "source": "github", "line_count": 460, "max_line_length": 797, "avg_line_length": 41.143478260869564, "alnum_prop": 0.6551305082954666, "repo_name": "janwerkhoven/amemiya-daiku", "id": "c84cdc637c593e2e52a917b4bdb7b5b9a3d6dd49", ...
/* $Id$ */ /********************************************************** * * OS Test - Silicon Graphics, Inc. * * TEST IDENTIFIER : open03 * * EXECUTED BY : anyone * * TEST TITLE : Basic test for open(2) * * PARENT DOCUMENT : xxxtds01 * * TEST CASE TOTAL : 1 * * WALL CLOCK TIME ...
{ "content_hash": "283bd0d5fc352aef5f2cda06a8d9fa48", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 81, "avg_line_length": 25.669811320754718, "alnum_prop": 0.48401323042998895, "repo_name": "jinankjain/barrelfish", "id": "6a699bad186145ebaeb8f939046457f1dcd5158a", "size...
'use strict'; angular.module('jhipstersampleApp') .config(function ($stateProvider) { $stateProvider .state('register', { parent: 'account', url: '/register', data: { authorities: [], pageTitle: 'register.ti...
{ "content_hash": "51b9bfa2960ffa418f51bc209865bf22", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 134, "avg_line_length": 35.88461538461539, "alnum_prop": 0.42765273311897106, "repo_name": "marhan/jhipstersample", "id": "3e64d1b0e1df7864fb09a526c29f14579b38287b", "size"...
readonly GCE_MAX_LOCAL_SSD=8 KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../.. source "${KUBE_ROOT}/cluster/gce/${KUBE_CONFIG_FILE-"config-default.sh"}" source "${KUBE_ROOT}/cluster/common.sh" source "${KUBE_ROOT}/hack/lib/util.sh" if [[ "${NODE_OS_DISTRIBUTION}" == "gci" || "${NODE_OS_DISTRIBUTION}" == "ubuntu" || "${N...
{ "content_hash": "b2abedc814f3276743a95348e10c0deb", "timestamp": "", "source": "github", "line_count": 3982, "max_line_length": 338, "avg_line_length": 38.511803114013055, "alnum_prop": 0.6520990649086428, "repo_name": "tomerf/kubernetes", "id": "aff2fbe25d1664f146d6ea4ce79b177866ab2369", "size": ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_free_struct_09.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_free.label.xml Template File: sources-sinks-09.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Manag...
{ "content_hash": "8bbf6f805f9311a7ceb767f76d234aca", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 132, "avg_line_length": 28.625730994152047, "alnum_prop": 0.6189989785495403, "repo_name": "JianpingZeng/xcc", "id": "a2c31ff1df16e18ec60b3781be499cca669272d1", "size": "4...
package sysinfo_test import ( "code.cloudfoundry.org/guardian/sysinfo" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) var _ = Describe("UidCanMapRange", func() { Context("when the uid can map the exact provided range", func() { It("returns true", func() { subidFileContents := "1000:0:10\n" Expect...
{ "content_hash": "6054bf969f167afaff2bdd2579498f6c", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 93, "avg_line_length": 31.204545454545453, "alnum_prop": 0.6722505462490895, "repo_name": "williammartin/guardian", "id": "479b19c8b8d3964e0baa0ddf97f3cefc89ef00b9", "size"...
package pl.rtprog.smtptransport.delivery; import javax.mail.Address; import java.nio.file.Path; /** * Interface for delivery services. * * @author Ryszard Trojnacki */ public interface DeliveryService { /** * Method for deliver data. * @param to recipient to deliver data to. * @param name file...
{ "content_hash": "51fe68929c23c9e97062252b63cd33ed", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 53, "avg_line_length": 22.42105263157895, "alnum_prop": 0.6690140845070423, "repo_name": "Ryszard-Trojnacki/smtp-transport", "id": "014cec2d68ea0112da26ca7018d35883a49ba92f",...
'use strict'; app.controller('SearchController', ['$scope', '$http', '$filter', '$routeParams', 'SearchTerm', function( $scope, $http, $filter, $routeParams, SearchTerm) { $scope.companies = []; $scope.searchTerm = SearchTerm; $scope.searchResult = []; $scope.$watch('...
{ "content_hash": "730b89309e9967ad39ef57c8b7c59a7f", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 73, "avg_line_length": 20.01923076923077, "alnum_prop": 0.5686839577329491, "repo_name": "AugustoRasec/ourikas", "id": "1f00fae0d2abdfa0f661d9f17ce9c1fb5b08e7c7", "size": "...
<!doctype html> <script src="../../resources/testharness.js"></script> <script src="../../resources/testharnessreport.js"></script> <script src="../assert_selection.js"></script> <script> // Crash test for replaceTextInNodePreservingMarkers. // Atempt to delete " efg" by hitting [Backspace] key four times const samples...
{ "content_hash": "1d325e85d5802fbf34d7c2debf1ec96d", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 79, "avg_line_length": 31.40909090909091, "alnum_prop": 0.6410998552821997, "repo_name": "ric2b/Vivaldi-browser", "id": "2ca2300771b2242ec9f8fee5a634f11586aa9046", "size": ...
(function($) { /** * * RoyalSlider active class module * @version 1.0.1: * * 1.0.1 * - Simplified code * - Fixed bug when slide with activeClass is removed */ $.rsProto._initActiveClass = function() { var updClassTimeout, self = this, aSlideClass = 'rsActiveSlide'; if(self.st.addActiveClas...
{ "content_hash": "6fbcd78b92835cacb70674e853f1907f", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 66, "avg_line_length": 24.3, "alnum_prop": 0.6584362139917695, "repo_name": "codyevans/SkamaniaLodgeZipTour", "id": "163fd8ca1e7aef5ab2a944298304f2edede5ac34", "size": "729...
// I worked on this challenge with: // This challenge took me [#] hours. // These are the votes cast by each student. Do not alter these objects here. var votes = { "Alex": { president: "Bob", vicePresident: "Devin", secretary: "Gail", treasurer: "Kerry" }, "Bob": { president: "Ma...
{ "content_hash": "81e8d90f65c756c20f72e7a187ae0d2e", "timestamp": "", "source": "github", "line_count": 309, "max_line_length": 138, "avg_line_length": 29.588996763754047, "alnum_prop": 0.5501476539429071, "repo_name": "amblount/phase-0", "id": "698f4bca51a9158f78125f836ed648dd51826f1e", "size": "9...
_homebrew-installed() { type brew &> /dev/null } _pyenv-from-homebrew-installed() { brew --prefix pyenv &> /dev/null } FOUND_PYENV=0 pyenvdirs=("$HOME/.pyenv" "/usr/local/pyenv" "/opt/pyenv") if _homebrew-installed && _pyenv-from-homebrew-installed ; then pyenvdirs=($(brew --prefix pyenv) "${pyenvdirs[@]}...
{ "content_hash": "e5aa5ddeb47c4649c8f0638b46813e26", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 87, "avg_line_length": 26.46875, "alnum_prop": 0.5926800472255017, "repo_name": "markstgodard/oh-my-zsh", "id": "b06507b62f9e397ef35680e90987566ec498b58f", "size": "847", ...
import { Button, Classes, Dialog, Intent } from '@blueprintjs/core'; import React, { useState } from 'react'; import AceEditor from 'react-ace'; import { validJson } from '../../utils'; import './spec-dialog.scss'; export interface SpecDialogProps { onSubmit: (spec: JSON) => void; onClose: () => void; title:...
{ "content_hash": "ea8c45b907f817a67666cc1a0d4c2ddc", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 100, "avg_line_length": 24.59090909090909, "alnum_prop": 0.5730129390018485, "repo_name": "pjain1/druid", "id": "19632dd535f29323b4e3394a9698adfac6e3af34", "size": "2428", ...
package org.apache.sling.api.resource; import java.io.Closeable; import java.util.Iterator; import java.util.Map; import javax.annotation.CheckForNull; import javax.annotation.Nonnull; import javax.servlet.http.HttpServletRequest; import org.apache.sling.api.adapter.Adaptable; import aQute.bnd.annotation.ProviderT...
{ "content_hash": "301549b7aaa334de590321248ae543c9", "timestamp": "", "source": "github", "line_count": 742, "max_line_length": 108, "avg_line_length": 48.44743935309973, "alnum_prop": 0.6644875931901636, "repo_name": "ffromm/sling", "id": "4c2877da039814f494730ad362a73e62ee627780", "size": "36755"...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <RelativeLayout android:layout_width="match_parent" android:layout_height="50dp" android:bac...
{ "content_hash": "69da796ce5255848e5d9b3d3b50ebbc8", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 72, "avg_line_length": 37.983050847457626, "alnum_prop": 0.5191878625613565, "repo_name": "374901588/coolweather", "id": "042564a2275aee858b00fc192089475c42c183d6", "size"...
var myApp; (function (myApp) { 'use-strict'; var EventCtrl = (function () { function EventCtrl($http, $scope, $location, BlogResource, $stateParams, media, Toast, $state, _, event, FighterResource) { this.$http = $http; this.$scope = $scope; this.$location = $location...
{ "content_hash": "3340abbd5034fac4120bf69a557f47ff", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 142, "avg_line_length": 42.98076923076923, "alnum_prop": 0.5167785234899329, "repo_name": "LukaszK88/AngularJsApp", "id": "8749e08efd3c4f64091f58ab41d99e148ea98e33", "size...
<?php final class PhabricatorWorkerTestCase extends PhabricatorTestCase { protected function getPhabricatorTestCaseConfiguration() { return array( self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true, ); } public function testLeaseTask() { // Leasing should work. $task = $this->sc...
{ "content_hash": "0ad24d21c183425e5e6dbef92c8438f9", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 79, "avg_line_length": 27.204301075268816, "alnum_prop": 0.6258893280632412, "repo_name": "telerik/phabricator", "id": "e58650371f1acca189b88a39efe819ffbfd959f9", "size": ...
// Karma configuration // Generated on Tue Jul 15 2014 02:19:18 GMT+0100 (GMT Daylight Time) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/br...
{ "content_hash": "e3fc8b95b0b436398e1fb86c0b2386cc", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 120, "avg_line_length": 24.651515151515152, "alnum_prop": 0.6508912108174555, "repo_name": "hellsgate1001/bookit", "id": "9c2f9397947b99b57f91b14ac80f078358f38a1a", "size":...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Öst. bot. Z. 66: (1916) #### Original name Amerosporiella tristis Höhn., 1916 ### Remarks null
{ "content_hash": "610ff278f0111c27e1afb9da838e76f8", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 14.076923076923077, "alnum_prop": 0.6939890710382514, "repo_name": "mdoering/backbone", "id": "fe5a7ccb5410a71093cf1eeaa0610e3cecf147cf", "size": "24...
create table user_seq ( id int default 0, next_id bigint default null, cache bigint default null, primary key (id) ) comment 'vitess_sequence' Engine = InnoDB; create table auto_seq ( id int default 0, next_id bigint default null, cache bigint default null, primary k...
{ "content_hash": "8e66c4227c15ae883f94350b017b38a9", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 44, "avg_line_length": 22, "alnum_prop": 0.6464646464646465, "repo_name": "vitessio/vitess", "id": "3a3d1f53602fbcc7379164d2354879bb894ac390", "size": "594", "binary": fa...
package org.gradle.test.performance.mediummonolithicjavaproject.p237; import org.junit.Test; import static org.junit.Assert.*; public class Test4749 { Production4749 objectUnderTest = new Production4749(); @Test public void testProperty0() { Production4740 value = new Production4740(); ...
{ "content_hash": "8cf2fd70329e6a8ff86c146b15319a34", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 69, "avg_line_length": 27.518987341772153, "alnum_prop": 0.6536338546458141, "repo_name": "oehme/analysing-gradle-performance", "id": "813111911d5aa25fe106aeae50b4e920221a374...