text stringlengths 2 1.04M | meta dict |
|---|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>compcert: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "9a2fb8a650f8910fbffaf12aad76d4d0",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 157,
"avg_line_length": 40.2375,
"alnum_prop": 0.5295122708915813,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "c4a9994530434e07ce8a6b2ed0344859b6b2052a",
"size": ... |
/**
* Appcache Loader
*
* After gaining the user's permission to make the app word offline,
* load a page with an manifest in its HTML tag in an iframe
*
* @author Matt Andrews <code@mattandre.ws>
*/
/*global window, APP, APP_ROOT, confirm, console, document, localStorage*/
APP.appcache = (function () {
'use st... | {
"content_hash": "40120928b119bea6b42232c202eeaab9",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 107,
"avg_line_length": 28.30263157894737,
"alnum_prop": 0.6620176662017666,
"repo_name": "matthew-andrews/ft-style-offline-web-app-part-4",
"id": "9bde1504a64e9f20b8b909eb66... |
var createCallback = require('../functions/createCallback'),
slice = require('../internals/slice');
/* Native method shortcuts for methods with the same name as other `lodash` methods */
var nativeMax = Math.max;
/**
* Gets the last element or last `n` elements of an array. If a callback is
* provided elements... | {
"content_hash": "4ebe347702df21f4a3dce11cfacac71b",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 86,
"avg_line_length": 32.22077922077922,
"alnum_prop": 0.6142684401451027,
"repo_name": "stanxii/ngb",
"id": "d80605d7deab3bbbbac46668af7c8104cfe311be",
"size": "2888",
... |
package com.ibm.watson.text_to_speech.v1.model;
import static org.testng.Assert.*;
import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
import com.ibm.watson.text_to_speech.v1.utils.TestUtilities;
import java.io.InputStream;
import java.util.HashMap;
import java.util.List;
import org.testng.annotations.Tes... | {
"content_hash": "f01b5e45b26a7183f67a7b88c59503d9",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 89,
"avg_line_length": 36.34285714285714,
"alnum_prop": 0.7751572327044025,
"repo_name": "watson-developer-cloud/java-sdk",
"id": "dc646b8f6c69d01bf2d58b254cb2fdaa1ba8889c",
... |
var Sails = require('sails').Sails;
var _ = require('lodash');
// Use a weird port to avoid tests failing if we
// forget to shut down another Sails app
var TEST_SERVER_PORT = 1337;
module.exports = {
TEST_PORT: TEST_SERVER_PORT,
/**
* Get default config for lifting
*/
getAppConfig: function() ... | {
"content_hash": "c364f69ff6f75cbea6bbb1ff533a525f",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 85,
"avg_line_length": 27.791666666666668,
"alnum_prop": 0.48800599700149927,
"repo_name": "funluiji/sails-hook-adminpanel",
"id": "763f7c2b575c646a7536bb6f519478ea20b302b4",... |
require File.expand_path("test/test_helper")
describe Samlr::Tools::Timestamp do
before { Samlr.jitter = nil }
after { Samlr.jitter = nil }
describe "::parse" do
before { @time = ::Time.now }
it "turns an iso8601 string into a time instance" do
iso8601 = @time.utc.iso8601
assert_equal @time... | {
"content_hash": "37e9935e8d3563324d266ab8df43c3a7",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 93,
"avg_line_length": 28.53448275862069,
"alnum_prop": 0.6404833836858006,
"repo_name": "zendesk/samlr",
"id": "ab02b9290a57410d8bfb0869209e00b44894c9ee",
"size": "1655",
... |
var express = require('express');
var router = express.Router();
var http = require('http');
var common = require('../utils/common.js');
var config = require('../config.js');
var tbSignUtil = require('../utils/taobaoSign.js');
var MySQLClient = require('../utils/MySQLClient.js');
var mysqlClientInstance = new MySQLCl... | {
"content_hash": "a4e47aa0ccb5d9201608273c76483be0",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 159,
"avg_line_length": 30.390862944162436,
"alnum_prop": 0.4579923166861533,
"repo_name": "leleliu008/Order_NodeJS",
"id": "2af64fa8a20970a580d9fdc6a6e9357b009787d8",
"si... |
<resources>
<!--
TODO: Before you run your application, you need a Google Maps API key.
To get one, follow this link, follow the directions and press "Create" at the end:
https://console.developers.google.com/flows/enableapi?apiid=maps_android_backend&keyType=CLIENT_SIDE_ANDROID&r=B5:53:FD:C5:E8:22:AC:03:... | {
"content_hash": "a2f89b9953dc167a06c9dd5529a4a64b",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 212,
"avg_line_length": 47.72222222222222,
"alnum_prop": 0.7229336437718277,
"repo_name": "stakkato95/Test-task",
"id": "3718417e0f08d2f09f845772acd93f03bd7f2c9c",
"size": ... |
package org.cqframework.cql.cql2elm.model.invocation;
import org.hl7.elm.r1.Expression;
import org.hl7.elm.r1.Slice;
import java.util.ArrayList;
import java.util.Collections;
/**
* Created by Bryn on 5/17/2017.
*/
public class TailInvocation extends OperatorExpressionInvocation {
public TailInvocation(Slice ex... | {
"content_hash": "5ead2d19810416ebc4095f2dc1462a4b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 76,
"avg_line_length": 25.807692307692307,
"alnum_prop": 0.7213114754098361,
"repo_name": "cqframework/clinical_quality_language",
"id": "34c2923be3a937b4e2192309c48e9435335d... |
package io.airlift.node;
import com.google.inject.Binder;
import com.google.inject.Module;
import com.google.inject.Scopes;
import io.airlift.configuration.ConfigurationModule;
import org.weakref.jmx.guice.MBeanModule;
public class NodeModule
implements Module
{
@Override
public void configure(Binder... | {
"content_hash": "74b3d7e3a463b284e5ce001d0b8aded7",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 83,
"avg_line_length": 27.73913043478261,
"alnum_prop": 0.7398119122257053,
"repo_name": "erichwang/airlift",
"id": "4908f83aaf571c6e378b9ff6194523bfc00af91f",
"size": "123... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
}
- (void)applicationDidEnterBackground:(UIApplication *)ap... | {
"content_hash": "f13c5d569bfc6be546b11ffadd6e63ae",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 110,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.7814207650273224,
"repo_name": "bitpay/ios-sdk",
"id": "38aced598eec913cabf346597057ad2f47652091",
"size": "742"... |
package com.yumo.common.android;
import android.content.Context;
/**
* Created by yumodev on 17/2/24.
* 资源相关的工具类
*/
public class YmResUtil {
/**
* dip to px
*
* @param context
* @param dip
* @return
*/
public static float dipToPx(Context context, float dip) {
if (con... | {
"content_hash": "f2974ac454c44befd1c2dba6d54ddcb9",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 93,
"avg_line_length": 21.613333333333333,
"alnum_prop": 0.5422578655151141,
"repo_name": "YumoDevTest/AndroidOpenTest",
"id": "8772f4c8025743d44be92c6b55eecd624a9e4f13",
"... |
#pragma once
#include "JSFunction.h"
namespace JSC {
class JSGlobalObject;
class NativeStdFunctionCell;
typedef std::function<EncodedJSValue (ExecState*)> NativeStdFunction;
class JSNativeStdFunction : public JSFunction {
public:
typedef JSFunction Base;
const static unsigned StructureFlags = Base::Struc... | {
"content_hash": "b5a61afa9012d5140009a385db81bb88",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 223,
"avg_line_length": 29.5,
"alnum_prop": 0.7602905569007264,
"repo_name": "acton393/incubator-weex",
"id": "2da0c0eb063d331db4761cdc10a69cafb7a8fb76",
"size": "2047",
... |
<?php
namespace hipanel\modules\domain\grid;
use hipanel\grid\BoxedGridView;
use hipanel\grid\MainColumn;
use hipanel\modules\domain\models\Secdns;
use hipanel\modules\domain\controllers\DomainController;
use hiqdev\combo\StaticCombo;
use Yii;
use yii\helpers\Html;
use yii\helpers\Url;
class SecdnsGridView extends ... | {
"content_hash": "950096b4e3c03852dd5af1e5b42e0272",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 124,
"avg_line_length": 34.861111111111114,
"alnum_prop": 0.43545816733067727,
"repo_name": "hiqdev/hipanel-module-domain",
"id": "40eb30d902f7573f30c53d024e468b9975c130f7",
... |
Vendoring
=========
The Go code in this repo depends on a number of Go libraries.
These are vendored in to the `src/cmd/linuxkit/vendor` directory using [go modules](https://golang.org/ref/mod)
## Updating dependencies
Go modules should install any required dependencies to `go.mod` and `go.sum` when running normal g... | {
"content_hash": "fed34a3695b280b6f30ec61a3c8658f5",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 128,
"avg_line_length": 31.314285714285713,
"alnum_prop": 0.7527372262773723,
"repo_name": "djs55/linuxkit",
"id": "5fbd637ec9d32e7ebe115d507ac2bc3bb9387837",
"size": "1096... |
<?php
error_reporting(E_STRICT | E_ALL);
// You can set the include path to src directory or reference
// DfpUser.php directly via require_once.
// $path = '/path/to/dfp_api_php_lib/src';
$path = dirname(__FILE__) . '/../../../../src';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
require_once 'Goog... | {
"content_hash": "88cb01d468de3d8b96ac34a17437f3d0",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 69,
"avg_line_length": 27.196428571428573,
"alnum_prop": 0.6080105055810899,
"repo_name": "egregorius/googleads-php-lib",
"id": "bb407362faba679bda0101a2ae70d2dac44efe90",
... |
<?xml version="1.0" encoding="utf-8"?>
<Monster xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Name>paper golem</Name>
<Attack1>Claw: 1d3</Attack1>
<Difficulty>4</Difficulty>
<BaseLevel>3</BaseLevel>
<BaseExperience>31</BaseExperience>
<Speed>12</Speed>
... | {
"content_hash": "64da207eba999ceacc3b7580870cb3d7",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 108,
"avg_line_length": 37.03703703703704,
"alnum_prop": 0.701,
"repo_name": "DualBrain/VbRogue",
"id": "f351e63f7dfff355f7734c32dbd8408fd332c845",
"size": "1000",
"binar... |
<?= "<?php\n" ?>
namespace App\Containers\{{ $crud->containerName() }}\Tasks{{ $crud->solveGroupClasses() }};
use App\Containers\{{ $crud->containerName() }}\Data\Repositories\{{ $repoClass = $crud->entityName().'Repository' }};
use App\Containers\{{ $crud->containerName() }}\Exceptions\{{ $crud->entityName() }}Creat... | {
"content_hash": "9f2b69cdee7e2d093d5dfb3494c9080c",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 118,
"avg_line_length": 34.08,
"alnum_prop": 0.602112676056338,
"repo_name": "llstarscreamll/Crud",
"id": "0cdfd51bfd8f1d5550fc238b41eaeb3afeee3e27",
"size": "852",
"bina... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Can. J. Bot. 67(5): 1573 (1989)
#### Original name
Leptosphaeria spartinae Ellis & Everh., 1885
### Remarks
null | {
"content_hash": "3aa5d8abcea1b1e7b93a6c6954a59966",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 44,
"avg_line_length": 15.461538461538462,
"alnum_prop": 0.6915422885572139,
"repo_name": "mdoering/backbone",
"id": "cb0dc5a43c9e5fab86a59a1418d6e7a7d62f4121",
"size": "29... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_72-internal) on Mon Mar 14 13:22:17 GMT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.a... | {
"content_hash": "3adea944b2f2305489de1ee2c57c93e5",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 353,
"avg_line_length": 43.208333333333336,
"alnum_prop": 0.626119300179088,
"repo_name": "apache/incubator-taverna-site",
"id": "02061b88483297bbffceb2cb72872267a9e77f14",
... |
namespace System.IO
{
internal abstract class FileInfo2
: IFileInfo
{
private readonly IFilesystem _filesystem;
private readonly string _name;
private readonly string _fullPath;
private readonly string _directoryPath;
protected FileInfo2(IFilesystem filesystem,
string fullPath)
{... | {
"content_hash": "a4de9eb35d748d14efdc25b5bc4d0b77",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 83,
"avg_line_length": 17.313725490196077,
"alnum_prop": 0.6653454133635334,
"repo_name": "Kittyfisto/System.Extensions",
"id": "1193625273cd9e0349308f5dc1a1789c3e1e80c8",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title></title>
<link rel="stylesheet" href="../fpdoc.css" type="text/css">
</head>
<body>
<table cellpadding="0" cellspacing="0">
<tr... | {
"content_hash": "e7320f77f1637f910f02d05772b173af",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 452,
"avg_line_length": 65.57142857142857,
"alnum_prop": 0.7440087145969498,
"repo_name": "gcarreno/laz-qBitTorrent-WebUI",
"id": "6ba465a0dff0965e69405461aeec2ea00362343a",
... |
package aws
import (
"fmt"
"log"
"reflect"
"regexp"
"sort"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/elasticbeanstalk"
"github.com/hashicorp/terraform/helper/acctest"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hash... | {
"content_hash": "e7fde310cafa20e73a268f3a476159ec",
"timestamp": "",
"source": "github",
"line_count": 991,
"max_line_length": 213,
"avg_line_length": 29.376387487386477,
"alnum_prop": 0.7017037647705413,
"repo_name": "stardog-union/stardog-graviton",
"id": "2a3b1e7629807e5542ce98d92966a96d097a3413"... |
import datetime
import tzlocal
def now_tz():
"""Get the current local time as a time zone aware datetime."""
now = datetime.datetime.now(datetime.timezone.utc)
return now.astimezone()
def start_of_day_tz():
"""Get the start of the current day as a time zone aware datetime."""
now = now_tz()
... | {
"content_hash": "d03515cbb9d79fbaa588e5a8a8dd962c",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 74,
"avg_line_length": 28.70967741935484,
"alnum_prop": 0.6786516853932584,
"repo_name": "genericmoniker/mirror",
"id": "3aae291621ab952beb7c8700d2d4ac1e436929a2",
"size": ... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Hugo 0.16-DEV" />
<meta name="viewport" content="width=devi... | {
"content_hash": "8041337a9956a1bfd2930d539f82675d",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 175,
"avg_line_length": 31.471337579617835,
"alnum_prop": 0.6292248532685691,
"repo_name": "qianguozheng/qianguozheng.github.io",
"id": "6cfb7a11680880845f8fa0fdcd838340cb06... |
package org.uberfire.ext.wires.core.api.events;
import org.uberfire.ext.wires.core.api.shapes.WiresBaseShape;
public class ShapeDeletedEvent {
private WiresBaseShape shape;
public ShapeDeletedEvent( final WiresBaseShape shape ) {
this.shape = shape;
}
public WiresBaseShape getShape() {
... | {
"content_hash": "5080a574190875b8ecf9156e5085686b",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 61,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.7040229885057471,
"repo_name": "wmedvede/uberfire-extensions",
"id": "47cae56eb16b7cd5ef6ea7b25d28205ba2250ed9",
... |
require 'test_helper'
class Api::ApidocsControllerTest < ActionController::TestCase
test 'should get index' do
get :index
assert_response :success
assert_template :index
assert_equal 'Unipept API', assigns(:title)
assert_equal 'Overview', assigns(:sidebar_name)
assert_not_nil assigns(:sidebar... | {
"content_hash": "b63ec072b2c383c38b63dd14df6b72b8",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 61,
"avg_line_length": 29.77777777777778,
"alnum_prop": 0.7073560767590619,
"repo_name": "bmesuere/uni-test",
"id": "3661e0862ca853e58e14ebab8958ec6b3202d7c4",
"size": "187... |
<?php
namespace Magento\Downloadable\Controller\Adminhtml\Downloadable\Product\Edit;
class Upsell extends \Magento\Catalog\Controller\Adminhtml\Product\Upsell
{
}
| {
"content_hash": "b4028ae69fb0c1811838df6a5d2c5bdc",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 78,
"avg_line_length": 23.571428571428573,
"alnum_prop": 0.8303030303030303,
"repo_name": "j-froehlich/magento2_wk",
"id": "569c83e9a2b281504dd421ebcb0259865a93c577",
"size"... |
namespace AForge.Robotics.Lego.Internals
{
using System;
using System.IO;
using System.IO.Ports;
/// <summary>
/// Implementation of serial communication interface with LEGO Mindstorm NXT brick.
/// </summary>
///
internal class SerialCommunication : INXTCommunicationInterf... | {
"content_hash": "0ca52549e985b0e79dd80ab34d86e896",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 114,
"avg_line_length": 34.597744360902254,
"alnum_prop": 0.483537976746713,
"repo_name": "lyuboasenov/scheduler",
"id": "8205de3ff3d5a92ff7666a50b55fb304b495c8d3",
"size"... |
namespace UniversityStudentSystem.Common
{
public class CoursersConstants
{
/* Software */
//// Module 1
public const string CSharp = "C# Basics";
public const string CPlusPlus = "C++";
public const string OOP = "Object oriented programming";
//// Module 2
... | {
"content_hash": "7f57eaaa3a81ef3e7e2ca3f731a08072",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 96,
"avg_line_length": 50.95,
"alnum_prop": 0.6967615309126595,
"repo_name": "M-Yankov/UniversityStudentSystem",
"id": "9c8ed9ad2005e5e592259091abcbd8169af73843",
"size": "... |
/**
* @author Azaroth
*/
var SvgStar = new Class({
Extends: SvgMapItem,
initialize: function(id, star){
this.parent('star'+id);
this.star = star;
this.cssClassPrefix = "star";
},
star : {},
$svgIcon : {},
$svgNameplate : {},
isStatic : function() {
return true;
},
buildBackground : function(t) {
... | {
"content_hash": "23f649b6b6f35cbcd2300eae16be58bf",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 135,
"avg_line_length": 27.25,
"alnum_prop": 0.6434250764525994,
"repo_name": "SpaceTrafficDevelopers/SpaceTraffic",
"id": "4cb68286cab6015c942784e5e6e1b78bc38cfa18",
"size... |
package models.db;
import com.fasterxml.jackson.annotation.*;
import com.google.gson.annotations.Expose;
import lombok.Getter;
import lombok.Setter;
import models.db.acentera.impl.ProjectProvidersImpl;
import org.hibernate.annotations.Where;
import play.Logger;
import utils.security.TagArrayBasePermission;
import u... | {
"content_hash": "47746bc7d5be19033efc8528f1ac1d4d",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 114,
"avg_line_length": 31.847457627118644,
"alnum_prop": 0.6492815327301756,
"repo_name": "ACenterAInc/acentera",
"id": "d94a76a0958fa53300e4597d7be6ad97c8f173b0",
"size"... |
"""Helper classes for Google Assistant integration."""
from __future__ import annotations
from abc import ABC, abstractmethod
from asyncio import gather
from collections.abc import Mapping
from http import HTTPStatus
import logging
import pprint
from aiohttp.web import json_response
from homeassistant.components imp... | {
"content_hash": "57039adf7250ebfdbaf8d124c684c2ee",
"timestamp": "",
"source": "github",
"line_count": 608,
"max_line_length": 87,
"avg_line_length": 31.43421052631579,
"alnum_prop": 0.6095646714106321,
"repo_name": "home-assistant/home-assistant",
"id": "238ee8d957648b1b3fee274e83c4327ea2667522",
... |
/* lp_solve.cpp : Defines the entry point for the DLL. */
#include "lp_solveDLL.h"
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
| {
"content_hash": "765b0c7702286c0eca2ae2a7327a5904",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 57,
"avg_line_length": 18,
"alnum_prop": 0.5357142857142857,
"repo_name": "mattkrick/node-lp_solve",
"id": "598a3241f2b5f8beaf70dfd863a54332e09720cb",
"size": "252",
"bin... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { LayoutWithDirectionComponent } from './layout-with-direction.component';
describe('LayoutWithDirectionComponent', () => {
let component: LayoutWithDirectionComponent;
let fixture: ComponentFixture<LayoutWithDirectionComponent>;
... | {
"content_hash": "159d5ff3e1be6f9a54640044311cca1b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 81,
"avg_line_length": 28.84,
"alnum_prop": 0.710124826629681,
"repo_name": "angular/flex-layout",
"id": "b7dc381d9a2792aa489a3171bd285a380530360d",
"size": "721",
"binar... |
<?php
namespace App\Http\Controllers\Product;
use Illuminate\Http\Request;
use AvoRed\Framework\Database\Contracts\ProductModelInterface;
use AvoRed\Review\Database\Contracts\ProductReviewModelInterface;
use App\Http\Controllers\Controller;
class ProductController extends Controller
{
/**
* @var \AvoRed\Fra... | {
"content_hash": "46c0c94f873a8e7d393051412dc44e48",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 90,
"avg_line_length": 28.711111111111112,
"alnum_prop": 0.6919504643962848,
"repo_name": "mage2/laravel-ecommerce",
"id": "994d497b60db673d127f7a1dc1035007bbbcd600",
"size... |
oppia.directive('imageWithRegionsEditor', [
'$sce', 'UrlInterpolationService', 'AlertsService', '$document',
'ContextService', 'AssetsBackendApiService',
'OBJECT_EDITOR_URL_PREFIX',
function($sce, UrlInterpolationService, AlertsService, $document,
ContextService, AssetsBackendApiService,
OBJECT_EDIT... | {
"content_hash": "7e3fb4bc57cc5c992a446c7a4d048fa1",
"timestamp": "",
"source": "github",
"line_count": 514,
"max_line_length": 80,
"avg_line_length": 42.66147859922179,
"alnum_prop": 0.5093031740240788,
"repo_name": "AllanYangZhou/oppia",
"id": "58261fa702ca592562142916a0e01ce6348a210b",
"size": "... |
interface AutoNumericOptions {
aSep?: string
dGroup?: number
aDec?: string
altDec?: string
aSign?: string
pSign?: "p" | "s"
vMin?: number
vMax?: number
mDec?: number
mRound?: "S" | "A" | "s" | "a" | "B" | "U" | "D" | "C" | "F" | "CHF"
aPad?: boolean
nBracket?: string
wEmpty?: "empty" | "zero" ... | {
"content_hash": "43022480e3f44678888d3def60ff043e",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 78,
"avg_line_length": 29.75609756097561,
"alnum_prop": 0.6745901639344263,
"repo_name": "xhrist14n/admin_libs",
"id": "2ee5b38f8a783ecdbc3635b622b41864b13ee2d0",
"size": "... |
package com.bhatt.ramani.svnitevents;
import android.content.Context;
import android.database.DataSetObserver;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ListAdapter;
import and... | {
"content_hash": "ab4d8304b14d8500fef07fd71c19f85e",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 101,
"avg_line_length": 30.21978021978022,
"alnum_prop": 0.612909090909091,
"repo_name": "jdramani/SVNIT_events_app",
"id": "99f124c5e75cafe7d96642936cb8cf58c9cea76d",
"si... |
<!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": "62723319e443a829373baf6a2d488a79",
"timestamp": "",
"source": "github",
"line_count": 340,
"max_line_length": 364,
"avg_line_length": 51.15882352941176,
"alnum_prop": 0.5873864550994596,
"repo_name": "LighthouseHPC/lighthouse",
"id": "ee05cbae4b0c20a84c069dee0b786136cc25c58d",
"si... |
Enables two-way synchronization with remote database.
**NOTE: This addon is still in alpha development**
### Install
```
npm install dexie --save
npm install dexie-observable --save
npm install dexie-syncable --save
```
### Use
```js
import Dexie from 'dexie';
import 'dexie-syncable'; // will import dexie-observable... | {
"content_hash": "f1feffe8674b807e3de1c8923b9bea1f",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 744,
"avg_line_length": 53.6796875,
"alnum_prop": 0.7512734681996798,
"repo_name": "intermittent-fasting/intermittent-fasting",
"id": "b50282b0fc4d89e347eacd159df170c89372e3... |
from odoo import api, models
from odoo.tools.translate import _
PARAMS = [
("web_debranding.new_name", _("Software")),
("web_debranding.new_title", _("Software")),
("web_debranding.new_website", "example.com"),
("web_debranding.new_documentation_website", ""),
("web_debranding.favicon_url", ""),
... | {
"content_hash": "1d572db3a5b57ab6f5d8abcdba43dd20",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 87,
"avg_line_length": 32.285714285714285,
"alnum_prop": 0.6389380530973451,
"repo_name": "it-projects-llc/misc-addons",
"id": "50e1ba9f1e278b0224cdf58e7ab1207c822baea0",
"... |
from __future__ import unicode_literals
from django import forms
from django.contrib import admin
from django.contrib.auth import get_user_model
from django.db.models import Q
from django.utils.translation import ugettext_lazy as _
from reviewers import review_group_name
from reviewers.models import Review, Reviewer
... | {
"content_hash": "6b8376410b797a5b94250e3adf571ab3",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 116,
"avg_line_length": 29.115942028985508,
"alnum_prop": 0.6122448979591837,
"repo_name": "olea/PyConES-2016",
"id": "97b079425220fd30d9ad23ffd4f5b0af07b3ef95",
"size": "2... |
In this folder, we keep our _fuzzers_ (bits of code that takes a randomized input and executes code
randomly, focusing on specific APIs). For example, we have a codec fuzzer which takes a mutated
png/jpeg or similar file and attempts to turn it into an `SkImage`. We also have a canvas fuzzer
which takes in a random set... | {
"content_hash": "ce526409fa799dd3a5e7ba7ee34f7dcd",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 214,
"avg_line_length": 68.13432835820896,
"alnum_prop": 0.7743702081051479,
"repo_name": "aosp-mirror/platform_external_skia",
"id": "43a9234533d9661afa88893f7205441c1709037... |
{% extends "base.html" %}
{% load centinela_column %}
{% load centinela_socialshare %}
{% load staticfiles %}
{% load addclass %}
{% block title %}
Artist - {{ block.super }}
{% endblock %}
{% block content %}
<div class="banner container-fluid col-md-10 col-md-offset-1" style="">
{% include "centinela/banner... | {
"content_hash": "76844a2e3a650f8c3c9d1c13bdf8d9c6",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 109,
"avg_line_length": 30.677419354838708,
"alnum_prop": 0.5862250262881178,
"repo_name": "esbozos/megax",
"id": "7d6cfc902874ae1cdb048efcadeaa2594471ac67",
"size": "1902"... |
<?php
namespace Eliurkis\Crud\FieldTypes;
class Foreign
{
public static function prepare($name, $options = [], $value = null, $properties = [])
{
// Define the total of columns
$colsSize = 12 / $properties['config']['cols'];
$html = '<div class="row i-checks">';
foreach ($opti... | {
"content_hash": "1c02eef8a00dce254916b55aa53ef041",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 103,
"avg_line_length": 29.84,
"alnum_prop": 0.48525469168900803,
"repo_name": "eliurkis/crud",
"id": "aa026dafd4ba9198db6ec300a8465a703f07d9f4",
"size": "746",
"binary":... |
package org.springframework.security.config.http;
import java.util.*;
import javax.servlet.Filter;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.security.access.ConfigAttribute;
import... | {
"content_hash": "79cb08d0d08ee3c4c77ce1e9637400e1",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 160,
"avg_line_length": 40.79904306220096,
"alnum_prop": 0.757945350064501,
"repo_name": "kazuki43zoo/spring-security",
"id": "4442b39728365fa047faa42e50341cc68d8e3da7",
"... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... | {
"content_hash": "8e46bf14e212a4880390fd20d160a170",
"timestamp": "",
"source": "github",
"line_count": 1271,
"max_line_length": 212,
"avg_line_length": 43.597954366640444,
"alnum_prop": 0.5919730027249923,
"repo_name": "jeremyepling/TypeScript",
"id": "a3b99f81158c9c83d1046fc72f7a43c3fa5deecf",
"s... |
<?xml version="1.0" encoding="utf-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="../../vendor/autoload.php"
>
<php>
<ini name="erro... | {
"content_hash": "6787120c3dee73c6200da6c657d4c6b7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 81,
"avg_line_length": 28.541666666666668,
"alnum_prop": 0.5795620437956205,
"repo_name": "AlexDpy/dbal",
"id": "6c22315150c83c04d26ba33e19e92c9d526db923",
"size": "685",
... |
<?php
$this->breadcrumbs=array(
'Banner Categories'=>array('manage'),
'Create',
);
?>
<div class="form">
<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>
</div>
| {
"content_hash": "48c0d6af67d97efcee872523e9c7a5d4",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 69,
"avg_line_length": 15.916666666666666,
"alnum_prop": 0.5968586387434555,
"repo_name": "oMMuCo/HPTT-FT-UGM-Official-Website",
"id": "ce90332ae10d399892d16923df74278e9d5683... |
set -e
# This script is the entrypoint to the libbeat Docker container. This will
# verify that the Elasticsearch and Redis environment variables are set
# and that Elasticsearch is running before executing the command provided
# to the docker container.
# Read parameters from the environment and validate them.
check... | {
"content_hash": "e33c68fd452179f641411a46372e389f",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 109,
"avg_line_length": 23.341666666666665,
"alnum_prop": 0.5512317029632274,
"repo_name": "ninjasftw/libertyproxybeat",
"id": "ed51711e86a40acc90da245ae9839d85ff41955f",
... |
A simple threading library for JavaScript.
Provides a simple API enabling concurrent execution of tasks in a separate threads, and allowing easy management of these threads.
Please see the main `README.md` file for example of basic usage.
### Overview
#### thread (namespace)
The thread namespace holds the other ob... | {
"content_hash": "832636907ba87039d99c53dc5469032e",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 199,
"avg_line_length": 42.285714285714285,
"alnum_prop": 0.7797297297297298,
"repo_name": "dpeykov/thread.js",
"id": "89689fe1a3aeeb2726085030d82fd54b6f7dff0b",
"size": "1... |
require File.dirname(__FILE__) + '/../test_helper'
context "Existing Theme Resources" do
fixtures :sites
def setup
prepare_theme_fixtures
end
specify "should count correct assets" do
assert_equal 3, sites(:first).resources.size
assert_equal 0, sites(:hostess).resources.size
end
specify "shou... | {
"content_hash": "92628d05ab80f041b492ee7b5027c4db",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 112,
"avg_line_length": 30.2,
"alnum_prop": 0.6688741721854304,
"repo_name": "port49/dialogues.port49.com",
"id": "173271ae5d1a5899c6c81f0296446cea9a4e8f8b",
"size": "1661"... |
<?php
/**
* @package A simple ORM that performs basic CRUD operations
* @author Surajudeen AKANDE <surajudeen.akande@andela.com>
* @license MIT <https://opensource.org/licenses/MIT>
* @link http://www.github.com/andela-sakande
* */
namespace Sirolad\Entities;
use Sirolad\Potato;
/**
* Extends the main class a... | {
"content_hash": "60fdc7bcade011efe6807d98b724b1d4",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 60,
"avg_line_length": 18.6,
"alnum_prop": 0.7096774193548387,
"repo_name": "andela-sakande/potatoORM",
"id": "23b196c65138b42e66742f2e91f97d792f44413e",
"size": "372",
"... |
This directory provides examples for the SWI-Prolog built-in predicates
as well as the library. Examples are [PlDoc](https://www.swi-prolog.org/pldoc/doc_for?object=section(%27packages/pldoc.html%27))
([markdown](https://www.markdownguide.org/basic-syntax/)) files with the
following properties:
- The file extension ... | {
"content_hash": "e262048bbc9a01588a5e76efa512d67c",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 128,
"avg_line_length": 38.32203389830509,
"alnum_prop": 0.7266696152145069,
"repo_name": "TeamSPoon/logicmoo_workspace",
"id": "8e01a320c6a3140f16c41ff1b0c0fa05ffd1402e",
... |
from __future__ import print_function
import time
import re
import sys
from google.appengine.ext import db
def iterate(query, callback=lambda x: x, batch_size=1000, verbose=True):
"""Utility for iterating over a query, applying the callback to each row."""
start = time.time()
count = 0
results = query.... | {
"content_hash": "bc20b0d1787d6d065a8b60b3bc244218",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 80,
"avg_line_length": 31.864864864864863,
"alnum_prop": 0.6030534351145038,
"repo_name": "gimite/personfinder",
"id": "8e8655181f8d21549fe42fb78f00ae2504851933",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>Pages</title>
<meta property="og:title" content="Pages" />
<meta name="twitter:title" con... | {
"content_hash": "afe71d2754aaed4276528597fab25edb",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 289,
"avg_line_length": 39.42279411764706,
"alnum_prop": 0.5965681245919985,
"repo_name": "davorbadrov/davorbadrov.github.io",
"id": "91639acbba1e1b21785846a1a2ff71a2a810a7e... |
package org.spongepowered.api.block.tile.data;
/**
* An enumeration of all possible {@link BannerPatternShape}s in vanilla minecraft.
*/
public final class BannerPatternShapes {
public static final BannerPatternShape BASE = null;
public static final BannerPatternShape SQUARE_BOTTOM_LEFT = null;
public... | {
"content_hash": "6d14ae7ad33121617da280a4b6f35244",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 83,
"avg_line_length": 47.967213114754095,
"alnum_prop": 0.7648667122351333,
"repo_name": "SpongeHistory/SpongeAPI-History",
"id": "0d605722ddc5e0c211fb6fc710a5363bb5940a2d",... |
<?php
/**
* @see Zend_Feed_Writer_Renderer_RendererAbstract
*/
#require_once 'Zend/Feed/Writer/Renderer/RendererAbstract.php';
#require_once 'Zend/Feed/Writer/Renderer/Feed/Atom/Source.php';
/** @see Zend_Xml_Security */
#require_once 'Zend/Xml/Security.php';
/**
* @category Zend
* @package Zend_Feed_Writ... | {
"content_hash": "fd98f2be04963b4a660c49cd0bb9db5e",
"timestamp": "",
"source": "github",
"line_count": 430,
"max_line_length": 119,
"avg_line_length": 33.509302325581395,
"alnum_prop": 0.5211326254424318,
"repo_name": "tagalpha/library",
"id": "ee4ce524e0065fee58588858b8884e0429369f04",
"size": "1... |
mach_port_name_t ___lastRecievedPort;
static CFRunLoopSourceRef ___signalRunLoopSource;
CFRunLoopRef ___eventRunLoop;
static dispatch_queue_t ___eventDeliveryQueue;
void (^___eventCallBack)(GSEventRef);
static void _ReceiveEvent(CFMachPortRef port, void *msg, CFIndex size, void *info);
static void _PurpleEventSignalCa... | {
"content_hash": "62c8915dad35a859d72231064f5cef59",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 119,
"avg_line_length": 28.781512605042018,
"alnum_prop": 0.7232116788321168,
"repo_name": "NUIKit/GraphicsServices",
"id": "2c76d8ec83795c95736026a71cba94e33efc841e",
"si... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "b6c1264e388da405e565666e1647160e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 90,
"avg_line_length": 31.6,
"alnum_prop": 0.6582278481012658,
"repo_name": "TelerikAcademy/Mobile-Applications-with-iOS",
"id": "076ba9902a557f3746b1067ce1975da3e0fb3bcc",
... |
package de.unistuttgart.ipvs.as.flexmash.servlet.engine;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.nio.file.Files;
import java.nio.file.Path;
import java.... | {
"content_hash": "4222b3bf1a6ed7b00005f11f04b513d7",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 110,
"avg_line_length": 30.35483870967742,
"alnum_prop": 0.702577045696068,
"repo_name": "hirmerpl/FlexMash",
"id": "2e94645755e93660a6f14e3ace704f719db649a8",
"size": "75... |
<?php
declare(strict_types=1);
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Test... | {
"content_hash": "0c4f8f67dae22f5844a7e0b642c3c460",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 155,
"avg_line_length": 33.93370165745856,
"alnum_prop": 0.5244220123738196,
"repo_name": "Slamdunk/PHP-CS-Fixer",
"id": "21b88a7e75ee35add3708d758fe4cc305e5027f5",
"size"... |
yanmori2
========
An editor for the Yanmori 2.fus file shipped with the Starship Corporation 0.15 alpha
License
=======
MIT license
| {
"content_hash": "fca32f97c536a076cddee13a0eb92dc2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 85,
"avg_line_length": 15,
"alnum_prop": 0.7037037037037037,
"repo_name": "j6cubic/yanmori2",
"id": "fbe5b43d85b562bb61843ad23b29f13d53e33fd2",
"size": "135",
"binary": fa... |
// A good bit of this code was derived from the Three20 project
// and was customized to work inside testandroidmap
//
// All modifications by testandroidmap are licensed under
// the Apache License, Version 2.0
//
//
// Copyright 2009 Facebook
//
// Licensed under the Apache License, Version 2.0 (the "License");
/... | {
"content_hash": "c4927f713921dd9f1a297e64792b784e",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 79,
"avg_line_length": 27.255102040816325,
"alnum_prop": 0.7798577311868214,
"repo_name": "aaronksaunders/tidrop_commonjs",
"id": "843d88f3c504216bc4912be6adf78cf25e636eff",
... |
# Copyright 2009, Jean-Michel Sizun
# Copyright 2009 Frank Scholz <coherence@beebits.net>
import os.path
import time
from twisted.internet import threads
from twisted.web import server, static
from twisted.web.error import PageRedirect
from coherence.upnp.core.utils import ReverseProxyUriResource
from t... | {
"content_hash": "e0cecfa306be90b5bcec2b1408ecb009",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 186,
"avg_line_length": 40.61,
"alnum_prop": 0.5886481162275302,
"repo_name": "coherence-project/Coherence",
"id": "ef2e903d16775a55ddacf749e27432d44eb04d62",
"size": "820... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright ${year} Open Networking Foundation
~
~ 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... | {
"content_hash": "05bb6ae9091462324716d186b8867a28",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 204,
"avg_line_length": 37.15277777777778,
"alnum_prop": 0.5134579439252337,
"repo_name": "osinstom/onos",
"id": "370ec4fac46a2bc030486f14c31a187750d8f162",
"size": "5618"... |
package trashday.ui.requests;
import static org.junit.Assert.*;
import java.time.LocalTime;
import java.util.HashMap;
import java.util.Map;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.amazon.speech.slu.Intent;
impo... | {
"content_hash": "6383986d149bc2cdb942ad3017ff97e0",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 96,
"avg_line_length": 34.12307692307692,
"alnum_prop": 0.7421100090171325,
"repo_name": "jtbaldwin/Alexa-Trash-Day",
"id": "5855b357e32d824cf02eec65fc268250299c75fc",
"si... |
import { ColumnOptions } from "../options/ColumnOptions";
/**
* Special type of column that is available only for MongoDB database.
* Marks your entity's column to be an object id.
*/
export declare function ObjectIdColumn(options?: ColumnOptions): Function;
| {
"content_hash": "6896b88d1c14481ae2720ff75d85b5dd",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 74,
"avg_line_length": 43.666666666666664,
"alnum_prop": 0.7557251908396947,
"repo_name": "JacksonLee2019/CS341-VolunteerSchedule",
"id": "a2fe093772081c1332a12a9c0b64dc648af1... |
require File.dirname(__FILE__) + '/../../test_helper'
require 'admin/users_controller'
# Re-raise errors caught by the controller.
class Admin::UsersController; def rescue_action(e) raise e end; end
class Admin::UsersControllerTest < Test::Unit::TestCase
fixtures :users, :sites, :memberships
def setup
@contro... | {
"content_hash": "a3104fef106dbe7152aec6f6f0acc7f4",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 152,
"avg_line_length": 36.08252427184466,
"alnum_prop": 0.6541100497780169,
"repo_name": "vaudoc/jk",
"id": "2bf0a66f2ed9780568f8cb716b6a1a6100e61c99",
"size": "7433",
... |
package org.oep.ssomgt.action;
public class UserSyncKeys {
public class SearchAttributes extends BaseUserSyncAttributes {
public static final String APPLICATION_ID = "searchApplicationId";
public static final String IS_SYNC = "searchIsSync";
public static final String USER_SEARCH = "userSearch";
}
public cl... | {
"content_hash": "06ac8d7705dff5933fcfe171ff38d65f",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 69,
"avg_line_length": 32.3448275862069,
"alnum_prop": 0.7750533049040512,
"repo_name": "openegovplatform/OEPv2",
"id": "474d68e4495a7222829872f19788c1011410df46",
"size": ... |
package com.cbh.mongo;
import org.springframework.data.mongodb.core.mapping.Document;
/**
* Created by Tommy on 2017/5/8.
*/
@Document(collection="lineHospitalMessagesLog")
public class LineHospitalMessage extends Message{
private String userLineId;
public String getUserLineId() {
return userLineI... | {
"content_hash": "39966c0a1dd302ca5a0974c13ebc37fd",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 62,
"avg_line_length": 21.35,
"alnum_prop": 0.7166276346604216,
"repo_name": "OpenHCOS/HCOS",
"id": "855814fe447a2308a74eb53782a3e3d60e8fcfd0",
"size": "427",
"binary": f... |
package com.azure.resourcemanager.synapse.implementation;
import com.azure.core.util.Context;
import com.azure.resourcemanager.synapse.fluent.models.WorkloadGroupInner;
import com.azure.resourcemanager.synapse.models.WorkloadGroup;
public final class WorkloadGroupImpl implements WorkloadGroup, WorkloadGroup.Definitio... | {
"content_hash": "1a23646993b3f85fe73baef3321fbb88",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 120,
"avg_line_length": 34.03351955307262,
"alnum_prop": 0.6759684832567301,
"repo_name": "Azure/azure-sdk-for-java",
"id": "99099f1b0766aedb5f04dec53b04257965f04cef",
"si... |
import Observable from './helpers/observable';
class HeaderView {
constructor({ view, sortAscendingButton, sortDescendingButton, addCityButton }) {
this.view = view;
this.sortAscendingClicked = new Observable();
this.sortDescendingClicked = new Observable();
this.addCityClicked = new Observable();
... | {
"content_hash": "ab986a40b2905f3745cc1bc97886ae32",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 83,
"avg_line_length": 25.5,
"alnum_prop": 0.6801470588235294,
"repo_name": "jsperts/workshop_unterlagen",
"id": "b6bcb149a81110afadda2b1cb203344e2e7b5ff1",
"size": "816",
... |
<?php
if (!defined('_PS_VERSION_'))
exit;
class BlockFacebook extends Module
{
public function __construct()
{
$this->name = 'blockfacebook';
$this->tab = 'front_office_features';
$this->version = '1.3';
$this->author = 'PrestaShop';
$this->bootstrap = true;
parent::__construct();
$this->displayNam... | {
"content_hash": "9ffdbc95d5705fe685bb519e0f18cf71",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 164,
"avg_line_length": 32.4,
"alnum_prop": 0.6547958214624882,
"repo_name": "tuyto/715_ps_temp",
"id": "161601cf73aa43a369c16841cf30e4146bb9b54e",
"size": "5180",
"bina... |
Simple and responsive website for remote work in Japan in Japanese and English.
# Install & Run
1. Git clone repo
2. ```
cd docs
bundle install
bundle exec jekyll serve
```
## Languages
- Japanese
- English
## Categories
1. Fully remote jobs: `full_remote`
2. Japanese required remote jobs: `ja_require... | {
"content_hash": "ccebebf5676ae35efa81082c8fa6e0a0",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 112,
"avg_line_length": 20.483870967741936,
"alnum_prop": 0.7338582677165354,
"repo_name": "uiureo/remote-in-japan",
"id": "bbe5ae3147230032c43348480531830b4db38fe9",
"size... |
package org.ofbiz.webapp.renderer;
import java.io.IOException;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.RandomStringUtils;
import org.ofbiz.base.util... | {
"content_hash": "86b0a26f5a1fa16b9ddb001303c0d519",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 190,
"avg_line_length": 46.108870967741936,
"alnum_prop": 0.6694359422824662,
"repo_name": "ilscipio/scipio-erp",
"id": "6daf46fd031fd299a41609c10639beb7ff3209c6",
"size":... |
class AddDestroyedAtToAlerts < ActiveRecord::Migration
def change
add_column :alerts, :destroyed_at, :timestamp, null: true
end
end
| {
"content_hash": "1109f929826af7100069f3b83841ac97",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 61,
"avg_line_length": 28,
"alnum_prop": 0.7571428571428571,
"repo_name": "houston/houston-alerts",
"id": "66e0e47a9ca26a3324da0cb868ae0beff86a43a5",
"size": "140",
"binar... |
typedef void (^gouwucheBlock)(NSInteger index);//定义block
@interface ClassCustomTableViewCell : UITableViewCell
@property(nonatomic,copy)gouwucheBlock gouwucheBlock;
@property(nonatomic,strong)NSString *type;
-(CGFloat)loadCustomViewWithModel:(ProductModel*)model index:(NSIndexPath*)theIndexPath;
-(void)setGouw... | {
"content_hash": "c92f2aa22c969e7825c51089acf94ee0",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 88,
"avg_line_length": 21.529411764705884,
"alnum_prop": 0.8169398907103825,
"repo_name": "TeamOfFBAuto/WJXC",
"id": "84fff110e2085f01a2c6834e17ead0fc4092e0f4",
"size": "58... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | {
"content_hash": "965ffa9988281ddd60220189ef068c34",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 151,
"avg_line_length": 35.63333333333333,
"alnum_prop": 0.5827876520112254,
"repo_name": "Brevering/Databases_2017_Teamwork",
"id": "bb3a6965259d326b6b6f3008b59f5f129a85f030... |
import {docsUrl} from "gen/gocd_version";
import _ from "lodash";
import m from "mithril";
import {TemplateSummary} from "models/admin_templates/templates";
import {PipelineStructure} from "models/internal_pipeline_structure/pipeline_structure";
import {ScrollManager} from "views/components/anchor/anchor";
import {st... | {
"content_hash": "992c82d603aa7c96a5bd065b24717a02",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 149,
"avg_line_length": 45.73134328358209,
"alnum_prop": 0.6024804177545692,
"repo_name": "marques-work/gocd",
"id": "916cef161924cc25a9e3c1ffe8123bbcc92cda92",
"size": "36... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ploeh.Samples.Commerce.Domain;
namespace Ploeh.Samples.CommerceService
{
public interface IContractMapper
{
MoneyContract Map(Money money);
Money Map(MoneyContract moneyContract);
ProductContr... | {
"content_hash": "4a3b8bcd65f5064531d33641fa3bd786",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 23,
"alnum_prop": 0.7329192546583851,
"repo_name": "owolp/Telerik-Academy",
"id": "8b2cded82650d4990665333ec5db4277bda73b3a",
"size": "485",
"binar... |
package org.apache.rya.indexing.pcj.storage.accumulo;
import static org.junit.Assert.assertEquals;
import org.apache.rya.indexing.pcj.storage.accumulo.AccumuloPcjSerializer;
import org.apache.rya.indexing.pcj.storage.accumulo.BindingSetConverter;
import org.apache.rya.indexing.pcj.storage.accumulo.BindingSetConverter... | {
"content_hash": "6c5876f698c4f7418725c60af55b70cf",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 118,
"avg_line_length": 44.037974683544306,
"alnum_prop": 0.7266455878125898,
"repo_name": "isper3at/incubator-rya",
"id": "5011adf15eddb742d616d7c096dea111dd96660c",
"siz... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/texttospeech/v1beta1/cloud_tts.proto
package com.google.cloud.texttospeech.v1beta1;
public interface AudioConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.texttospeech.v1beta1.AudioConfig)
... | {
"content_hash": "a4c81a01e6a5b4cd744e5d378ad7a6bd",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 129,
"avg_line_length": 32.77948717948718,
"alnum_prop": 0.659261576971214,
"repo_name": "googleapis/java-texttospeech",
"id": "3825c9ff6646a5713a57c8c8b87e57c4f7f56cae",
... |
BASE_DIR=`dirname $0`
echo ""
echo "Starting Karma Server (http://karma-runner.github.io)"
echo "-------------------------------------------------------------------"
karma start $BASE_DIR/../config/karma.conf.js $*
echo ""
echo "Running jasmine-node (https://github.com/mhevery/jasmine-node)"
echo "------------------... | {
"content_hash": "839c3289d802eab06d6a534aa97f1597",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 74,
"avg_line_length": 30.57894736842105,
"alnum_prop": 0.43717728055077454,
"repo_name": "simoneb/ja.di",
"id": "431aeb0d896d6954744f3b9ce02e64301efc69b8",
"size": "594",
... |
/* Without this pragma, gcc 4.7.0 20111124 mistakenly suggests that
the proper_name function might be candidate for attribute 'const' */
#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__
# pragma GCC diagnostic ignored "-Wsuggest-attribute=const"
#endif
#include <config.h>
/* Specification. */
#includ... | {
"content_hash": "8eb808094861f1a44b8bb0a608194b4f",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 84,
"avg_line_length": 30.455445544554454,
"alnum_prop": 0.5458387516254877,
"repo_name": "google/qpp",
"id": "79c6b08e45ea135bd96369f74ee624781dae963e",
"size": "10017",
... |
<?php
/**
* Class Admin_model
*/
class Admin_model extends MY_Model
{
/**
* add 添加管理员
*
* @param array $admin_info 管理员信息
* @return mixed
*/
public function add($admin_info)
{
if(empty($admin_info['login_name']) || empty($admin_info['password'])) {
return false;... | {
"content_hash": "1934af68ec2c7307b1d4c0189990ea66",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 129,
"avg_line_length": 29.79591836734694,
"alnum_prop": 0.5184931506849315,
"repo_name": "jadesouth/xy001",
"id": "640f0f7b2443f1bbc9dc7a9fc39712ef65c814ea",
"size": "1536... |
/**
* This class is generated by jOOQ
*/
package edu.kit.ipd.crowdcontrol.objectservice.database.model.tables.records;
import edu.kit.ipd.crowdcontrol.objectservice.database.model.enums.ExperimentsPlatformModeMode;
import edu.kit.ipd.crowdcontrol.objectservice.database.model.tables.ExperimentsPlatformMode;
import ... | {
"content_hash": "316d3a4f283fb51cfe6176ca28f8a57b",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 180,
"avg_line_length": 22.875968992248062,
"alnum_prop": 0.6684174855981023,
"repo_name": "coolcrowd/object-service",
"id": "08ab70517fa82ab2a8c2909992bbbbf986d80782",
"s... |
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="org.hisp.dhis.trackedentitydatavalue.TrackedEntityDataValueAudit" table="trackedentitydatavalueaudit">
<id ... | {
"content_hash": "5fe0d40ac1157c394b9cdcfaeee0ca46",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 117,
"avg_line_length": 37.48571428571429,
"alnum_prop": 0.6852134146341463,
"repo_name": "minagri-rwanda/DHIS2-Agriculture",
"id": "3df2d8aa883b247a5d40913e580ad483f90cd6d9"... |
package edu.sampleu.admin;
import org.junit.Test;
import org.kuali.rice.testtools.selenium.AutomatedFunctionalTestUtils;
import org.kuali.rice.testtools.selenium.WebDriverLegacyITBase;
import org.kuali.rice.testtools.selenium.WebDriverUtils;
/**
* Tests the Component section in Rice.
*
* @author Kuali Rice Team (... | {
"content_hash": "8515705781dd5aa97017a5722263e554",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 183,
"avg_line_length": 33.964285714285715,
"alnum_prop": 0.6985629162285314,
"repo_name": "ewestfal/rice-svn2git-test",
"id": "66e71be2d68ba4f9e7627703c8560fccc32b267b",
"... |
<!--
~ Copyright (C) 2017 The Android Open Source Project
~
~ 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 requ... | {
"content_hash": "bb004a5fcaf02d7c40073aa96ed6917e",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 82,
"avg_line_length": 37.3125,
"alnum_prop": 0.6633165829145728,
"repo_name": "aosp-mirror/platform_frameworks_support",
"id": "0cc38cb2da0037222c20fd9755a62b279b33580f",
... |
<?php declare(strict_types=1);
namespace Propel\Generator\Behavior\Archivable\Component\ActiveRecordTrait;
use Propel\Generator\Behavior\Archivable\ArchivableBehavior;
use Propel\Generator\Builder\Om\Component\BuildComponent;
/**
*
* @author Marc J. Schmidt <marc@marcjschmidt.de>
*/
class DeleteWithoutArchiveMet... | {
"content_hash": "2d8b3f49babbb1384cb518ee065ef8a1",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 88,
"avg_line_length": 27.17241379310345,
"alnum_prop": 0.6928934010152284,
"repo_name": "propelorm/Propel3",
"id": "4cc1357790a304a129dfd6d03ffd18b70c1d2e15",
"size": "996... |
//// [server.ts]
export var a = 10;
//// [client.ts]
export import defaultBinding, * as nameSpaceBinding from "./server";
export var x: number = nameSpaceBinding.a;
//// [server.js]
"use strict";
exports.__esModule = true;
exports.a = void 0;
exports.a = 10;
//// [client.js]
"use strict";
exports.__esM... | {
"content_hash": "98e5e2609aed96bb917ab409b1cb955b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 69,
"avg_line_length": 21.6,
"alnum_prop": 0.6370370370370371,
"repo_name": "weswigham/TypeScript",
"id": "4b8c46e904156f07a652d487bd8f7ccb1440ebfd",
"size": "639",
"bina... |
package org.apache.lucene.index;
import org.apache.lucene.util.LuceneTestCase;
import org.apache.lucene.util.TestUtil;
import org.apache.lucene.util.TestUtil;
import org.apache.lucene.store.BufferedIndexInput;
import org.apache.lucene.store.ByteArrayDataInput;
import org.apache.lucene.store.ByteArrayDataOutput;
impo... | {
"content_hash": "9b84cc18ab1ed502a20548d5d354dbe4",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 120,
"avg_line_length": 34.43617021276596,
"alnum_prop": 0.6261970960766141,
"repo_name": "markjin1990/solr",
"id": "4acc566b69d0d54ccb78b6d28f34923f4ed8d70e",
"size": "72... |
package slib.platform.android.ui.helper;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.webkit.ValueCallback;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import slib.platform.a... | {
"content_hash": "2d148f4b1048f152853642dc5e83ff75",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 127,
"avg_line_length": 30.202614379084967,
"alnum_prop": 0.6970352737502705,
"repo_name": "SLIBIO/SLib",
"id": "30ecdf77835a9b5c53680d756786a159663cd96b",
"size": "5796",... |
<?php
namespace Magento\Framework\Search\Request\Config;
class FileResolverStub implements \Magento\Framework\Config\FileResolverInterface
{
/**
* {@inheritdoc}
*/
public function get($filename, $scope)
{
$path = realpath(__DIR__ . '/../../_files/etc');
$paths = [$path . '/search... | {
"content_hash": "008db1b018bc5f89e2462f6a7112aee1",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 109,
"avg_line_length": 30.42105263157895,
"alnum_prop": 0.6262975778546713,
"repo_name": "tarikgwa/test",
"id": "7af408c73d09562f26e65f72949c9b995f9342bf",
"size": "715",
... |
#error This file is now obsolete. Instead include stlsoft/collections/util/collections.hpp
/* Compatibility
[<[STLSOFT-AUTO:NO-DOCFILELABEL]>]
[<[STLSOFT-AUTO:NO-UNITTEST]>]
*/
/* ///////////////////////////// end of file //////////////////////////// */ | {
"content_hash": "3f2bf488ff5c36b0fdc8e9e5d8dc26a2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 90,
"avg_line_length": 28.444444444444443,
"alnum_prop": 0.5625,
"repo_name": "RichieSams/thehalflingproject",
"id": "66c34ed9aea0d62c252eea7da9cabeab99f57883",
"size": "256... |
package org.lambda3.indra;
public class AnalyzedTranslatedPair extends AnalyzedPair {
public AnalyzedTranslatedPair(TextPair pair) {
super(pair);
}
public void setTranslatedTerm1(MutableTranslatedTerm t1) {
this.t1 = t1;
}
public void setTranslatedTerm2(MutableTranslatedTerm t2)... | {
"content_hash": "22c12018d07c095a62d877b100453358",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 62,
"avg_line_length": 21.655172413793103,
"alnum_prop": 0.6719745222929936,
"repo_name": "julsal/indra",
"id": "0490c4867e0727c62bfa78942128aedf47077a23",
"size": "2056",
... |
<?php
namespace qtil\Tests {
use qtil\Identifier;
/**
* Base qtil test case class
* Class qtilTestCase
* @package qtil
*/
abstract class qtilTestCase extends \PHPUnit_Framework_TestCase {
/**
* Perform setUp tasks
*/
protected function setUp()
{
... | {
"content_hash": "cb5fd19348be0f1dbcbe1c7e7be55e43",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 69,
"avg_line_length": 20,
"alnum_prop": 0.512,
"repo_name": "jgswift/qtil",
"id": "c86fe536f9f327739c2d1d63d1e47180b0b4efc5",
"size": "500",
"binary": false,
"copies":... |
srt2vtt
=======
Refer: https://github.com/aki159/srt2vtt. I want to make simple interface to be easy to use
| {
"content_hash": "3e34bf1a4c423fa05addcaa09b797e21",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 91,
"avg_line_length": 27.25,
"alnum_prop": 0.7155963302752294,
"repo_name": "anbinhtrong/srt2vtt",
"id": "5d73364993976c4acadf312c86cf5bb352de6fd9",
"size": "109",
"binar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.