text stringlengths 2 1.04M | meta dict |
|---|---|
#import <Foundation/Foundation.h>
#import "VLCMediaList.h"
@class VLCLibrary;
@class VLCMediaList;
@class VLCMediaDiscoverer;
typedef NS_ENUM(unsigned, VLCMediaDiscovererCategoryType)
{
VLCMediaDiscovererCategoryTypeDevices = 0,
VLCMediaDiscovererCategoryTypeLAN,
VLCMediaDiscovererCategoryTypePodcasts,... | {
"content_hash": "ec208f8adbc9edbebe442549a21e4b4f",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 111,
"avg_line_length": 29.87912087912088,
"alnum_prop": 0.7723427730783377,
"repo_name": "lpniuniu/LifePlayer",
"id": "e4bf8ffa06449ad919eb47150e7dd977416d635f",
"size": "... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"content_hash": "8f4d0e6dfcb231d02b31c68f465ad209",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 182,
"avg_line_length": 44.2,
"alnum_prop": 0.7496229260935143,
"repo_name": "googleapis/google-api-java-client-services",
"id": "a53c041e95891b151961295c0972bd96e9ac6a1e",
... |
<?php
require_once 'bootstrap.inc';
$fixture = new Sync_Fixture();
$action_string = $argv[1];
if ($action_string) {
$actions = explode('+', $action_string);
foreach($actions as $action){
$fixture->{$action}();
}
}
print "\n"; | {
"content_hash": "96a1cfc261eeed3b9c136cab00fa6886",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 42,
"avg_line_length": 19.153846153846153,
"alnum_prop": 0.5823293172690763,
"repo_name": "silentorb/drupal-vineyard-sync-test",
"id": "25360f242ec1fe86675679249b7dd29208d4ee... |
disylee来翻译
How to Remove Music Players from Ubuntu Sound Menu
================================================================================

**Since its introduction back in 2010, the Ubuntu Sound Menu has proven to be one of the most popul... | {
"content_hash": "678803e25489aae2370032016b57e0c6",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 295,
"avg_line_length": 52.87692307692308,
"alnum_prop": 0.7235961594413733,
"repo_name": "leozhang2018/TranslateProject",
"id": "d42bd88065fc858794076475ec3da43c0d9683dd",
... |
from django.shortcuts import render
from datetime import date
from ticketing.models import Ticket, Performance
from django.contrib.auth.decorators import login_required, user_passes_test
from django.utils.translation import ugettext_lazy as _
from datetime import date, datetime
from pytz import utc
from pprint import p... | {
"content_hash": "0359cbe2d48a64a8348f37194be18bff",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 163,
"avg_line_length": 42.865591397849464,
"alnum_prop": 0.7327229399222376,
"repo_name": "tfiers/arenberg-online",
"id": "7d7d37fb60523d1c93ffaeed6c5b628b57c0b38e",
"siz... |
task main()
{
//Motor power level range -127 to 127 (Full Power)
// 3/4 Power - 96
// 1/2 Power - 63
// Full Power - 127
//Manual straightening for left motor. SLM (Straight Left Motor).
int SLM
void changeValue()
{
SLM = 60;
}
//Resetting encoder values.
SensorValue[rightEncoder] = 0;
SensorVal... | {
"content_hash": "47b53467f6950cac15b2f8457c34abf3",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 67,
"avg_line_length": 23.841666666666665,
"alnum_prop": 0.564138413142258,
"repo_name": "MarcWoodyard/Vex-Cortex-RobotC-Scripts",
"id": "6a2c57ec7d04b91ec42d4c5b95f637823d7... |
struct SampleKey
{
bool mEnabled;
const char* mName;
bool matchesPattern( const char* pattern )
{
U32 indexInName = 0;
U32 indexInPattern = 0;
while( mName[ indexInName ] != '\0' )
{
if( pattern[ indexInPattern ] == '\0' )
break;
else if( dToupper( mN... | {
"content_hash": "5fd921a4ffdb6ee9d0d60138a578d048",
"timestamp": "",
"source": "github",
"line_count": 391,
"max_line_length": 124,
"avg_line_length": 27.40920716112532,
"alnum_prop": 0.5221610525333582,
"repo_name": "chaigler/Torque3D",
"id": "405a8180046b283d4a53a3d9bc2895ec4563f5b6",
"size": "1... |
/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.outlook.impl;
import com.wilutions.com.*;
@SuppressWarnings("all")
@CoClass(guid="{C091A9ED-A463-DB41-5DAE-69E7A5F7FCBC}")
public class SyncObjectsImpl extends Dispatch implements com.wilutions.mslib.outlook.SyncObjects {
@DeclDISPID(6144... | {
"content_hash": "3e36f258fd531d7b6be1350b70065e7f",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 111,
"avg_line_length": 49.870370370370374,
"alnum_prop": 0.7148161901225399,
"repo_name": "wolfgangimig/joa",
"id": "1c1de4529f219167e34634bd941887f09a741ea2",
"size": "26... |
The MIT License (MIT)
Coptright (c) 2020 FriendOfFlarum
Copyright (c) Flagrow, Connor Davis (davis@produes.co), Matteo Pompili (matpompili@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softwa... | {
"content_hash": "28ef0f5d16bce9ae903d7626a313414a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 93,
"avg_line_length": 53.36363636363637,
"alnum_prop": 0.803236797274276,
"repo_name": "flagrow/flarum-ext-split",
"id": "e70eb3d76b15d9087af6361a1c1469ed90214233",
"size"... |
#pragma once
#if ENABLE(INTL)
#include "IntlNumberFormat.h"
#include "JSObject.h"
namespace JSC {
class IntlNumberFormatPrototype : public IntlNumberFormat {
public:
typedef IntlNumberFormat Base;
static const unsigned StructureFlags = Base::StructureFlags | HasStaticPropertyTable;
static IntlNumberFo... | {
"content_hash": "4333d4a9cade76d06febf559288d9595",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 89,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.7456,
"repo_name": "acton393/incubator-weex",
"id": "285aa86bc061581b9388a30157f54bb61872f3f3",
"size": "1433",
... |
using DragonSpark.Compose;
using DragonSpark.Model.Selection;
using DragonSpark.Model.Selection.Alterations;
using DragonSpark.Runtime.Execution;
namespace DragonSpark.Runtime.Objects;
sealed class OnlyOnceAlteration<TIn, TOut> : IAlteration<ISelect<TIn, TOut>>
{
public static OnlyOnceAlteration<TIn, TOut> Default ... | {
"content_hash": "296f8dfc6c9b40951d050aa25cbf54f4",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 100,
"avg_line_length": 27.954545454545453,
"alnum_prop": 0.7138211382113822,
"repo_name": "DragonSpark/Framework",
"id": "68be20a81669c119853042ac8748e21db8277f6a",
"size"... |
title: Sudo
group: applications
---
FreeAgent's internal management platform.
<div class="BlockGrid">
<div class="BlockGrid-item">
<img alt="One FreeAgent" src="{{ site.baseurl }}/assets/img/applications_sudo.png" />
</div>
</div>
## Overview
Brief summary of the product
## Target Audience
Who is the targe... | {
"content_hash": "30985041f4de41aeacf011b47b7bef66",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 89,
"avg_line_length": 20,
"alnum_prop": 0.7214285714285714,
"repo_name": "fac/origin",
"id": "b791f9cdb2ab207d10e792e93c58545dd791bc00",
"size": "424",
"binary": false,
... |
/*
* Changes for SnappyData data platform.
*
* Portions Copyright (c) 2017-2019 TIBCO Software Inc. 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://w... | {
"content_hash": "0620194ec865db388b9edaba0174f16c",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 77,
"avg_line_length": 27.141414141414142,
"alnum_prop": 0.7041310011164867,
"repo_name": "SnappyDataInc/snappy-store",
"id": "b7cbdb2f78f14e142b15c4dd52030cbfc075011b",
"s... |
/* Licensed under the BSD. See License.txt for full text. */
$(document).ready(function() {
// If Do later is ever pressed send to profile
$("#step_three_later_2").click(function() {
window.location.href = "profile.php";
});
$("#step_three_submit_2_2").click(function() {
$("#step_th... | {
"content_hash": "4aeb0039e533da96738ff40cb90c1327",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 114,
"avg_line_length": 29.346846846846848,
"alnum_prop": 0.44850345356868765,
"repo_name": "beloitcollegecomputerscience/SIGCSE-live",
"id": "75ce6b94d247a27a5a2b3b9a431a6c... |
'use strict';
const path = require('path');
const _ = require('lodash');
const logger = require('../utils/logger');
const parseOptions = require('./options');
const defaults = require('./defaults');
const BrowserConfig = require('./browser-config');
module.exports = class Config {
static create(config) {
... | {
"content_hash": "523b064c44080464eb32b9c31e4bcdfd",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 100,
"avg_line_length": 26.376470588235293,
"alnum_prop": 0.5214094558429974,
"repo_name": "gemini-testing/hermione",
"id": "5fb45820a3b00142baee21a61b7f269dce8341c8",
"siz... |
package com.google.android.exoplayer2.source.smoothstreaming.manifest;
import android.net.Uri;
import android.text.TextUtils;
import android.util.Base64;
import android.util.Pair;
import androidx.annotation.Nullable;
import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.Format;
import com.googl... | {
"content_hash": "8f28fe819b90cad423311ba19a7b396d",
"timestamp": "",
"source": "github",
"line_count": 780,
"max_line_length": 100,
"avg_line_length": 36.77820512820513,
"alnum_prop": 0.6518632133021927,
"repo_name": "amzn/exoplayer-amazon-port",
"id": "b26e2d41d8d1789cbdea43b16ede37191c59e33f",
"... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<!--apply button background transparent, full opacity-->
<solid android:color="#00ffffff"/>
<!--make button border solid ... | {
"content_hash": "a28c403e6bde594f3d05a587dd436dfa",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 69,
"avg_line_length": 35.5,
"alnum_prop": 0.5955734406438632,
"repo_name": "neeharmb/Twitter_App",
"id": "8847eb91ddede504bea0061eaca273aebef24f1d",
"size": "497",
"bina... |
<?xml version="1.0" encoding="UTF-8"?>
<ServiceConfiguration xmlns="http://www.cagrid.org/1/grape-service-configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ServiceGroupDescription>Dorian</ServiceGroupDescription>
<Services>
<ServiceDescriptor>
<DisplayName>Trai... | {
"content_hash": "2b9f627b8ced945e703342fc213cdacf",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 119,
"avg_line_length": 53.25,
"alnum_prop": 0.702660406885759,
"repo_name": "NCIP/cagrid",
"id": "1b56e467601850840c4650cd402b5af855c71680",
"size": "639",
"binary": fal... |
using System;
namespace DataGenerator.Commands.IntegrationTest.DbContextAssembly
{
public class DataGenerator
{
public void Generate(AppDbContext dbContext, string argument)
{
Console.WriteLine("DataGenerator.Commands.IntegrationTest.DbContextAssembly.DataGenerator.Generate... | {
"content_hash": "00dc90240d5c5f14884ddbfcdef93b26",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 118,
"avg_line_length": 40.294117647058826,
"alnum_prop": 0.6598540145985401,
"repo_name": "ST-Software/DataGenerator.Commands",
"id": "dfbd32042cfabc1f33c369b219c9042bc2274c... |
require 'test_helper'
require_relative 'thing'
require_relative 'foo/bar'
module Dibber
class SeederTest < Minitest::Test
def setup
Seeder.seeds_path = File.join(File.dirname(__FILE__), 'seeds')
end
def teardown
Thing.clear_all
Foo::Bar.clear_all
end
def test_process_log
... | {
"content_hash": "c6f6f98e96a7317a39c6c6722f187e49",
"timestamp": "",
"source": "github",
"line_count": 284,
"max_line_length": 97,
"avg_line_length": 30.552816901408452,
"alnum_prop": 0.6332833928777227,
"repo_name": "reggieb/Dibber",
"id": "6bfcd6ed15309c97c4b80748259860f542a60fdd",
"size": "8677... |
/**
*
*/
package ca.eandb.jmist.framework.geometry.mesh;
import ca.eandb.jmist.math.Point2;
public enum Point2Format {
DOUBLE_XY(new DoublePoint2Reader());
private final MeshElementReader<Point2> reader;
private Point2Format(MeshElementReader<Point2> reader) {
this.reader = reader;
}
public MeshEle... | {
"content_hash": "2ccd59d0d8149a7ff53b3b9a74dd97a0",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 65,
"avg_line_length": 21.952380952380953,
"alnum_prop": 0.7180043383947939,
"repo_name": "bwkimmel/jmist",
"id": "ac38cc5c1fb9570462cc3868e2be084f19fa9a81",
"size": "461",... |
rem do the call in one place
call %~dp0pdf_envcall.bat
@echo on
rem otherwise do it here
rem call ....\WPy64-...\scripts\env.bat
%python% %~dp0pdf_concat.py %*
| {
"content_hash": "804c6640c68f487817d9596763d7813e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 39,
"avg_line_length": 18.11111111111111,
"alnum_prop": 0.6932515337423313,
"repo_name": "winpython/winpython_afterdoc",
"id": "0a9bbb5e21652977023f276a02e1fb5fbd7c974e",
"s... |
package org.apache.tez.dag.api.client;
import javax.annotation.Nullable;
import java.io.IOException;
import java.text.DecimalFormat;
import java.util.Collections;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import com.google.... | {
"content_hash": "08f77df06efb614e913fc8f7a82cb020",
"timestamp": "",
"source": "github",
"line_count": 674,
"max_line_length": 156,
"avg_line_length": 38.311572700296736,
"alnum_prop": 0.6774843156997908,
"repo_name": "apache/tez",
"id": "95dd85f3888905ec336320ed476dff7b2c441b8d",
"size": "26628",... |
package com.texttalk.distrib.storm;
import backtype.storm.task.OutputCollector;
import backtype.storm.task.TopologyContext;
import backtype.storm.topology.OutputFieldsDeclarer;
import backtype.storm.topology.base.BaseRichBolt;
import backtype.storm.tuple.Fields;
import backtype.storm.tuple.Tuple;
import backtype.storm... | {
"content_hash": "28e36fd7d11509af50aef3d71300df6a",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 99,
"avg_line_length": 34.70886075949367,
"alnum_prop": 0.6907366885485048,
"repo_name": "andrewboss/texttalk-backend",
"id": "b89a65424eaa6d6d397661757fcaccf93fdae02d",
"s... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_32) on Tue Jun 18 11:08:54 PDT 2013 -->
<TITLE>
DescribeWorkflowTypeRequest (AWS SDK for Java - 1.4.7)
</TITLE>
<META NAME="date" CONTENT="2013-06-1... | {
"content_hash": "86204ef2dbf099f366ff975039407469",
"timestamp": "",
"source": "github",
"line_count": 563,
"max_line_length": 931,
"avg_line_length": 51.53285968028419,
"alnum_prop": 0.6643573570468411,
"repo_name": "hobinyoon/aws-java-sdk-1.4.7",
"id": "1014f2998f6a4d4441ecad1699a628880374f5f6",
... |
@interface EXGLGPUImageObject () <GPUImageTextureOutputDelegate>
@property (nonatomic, strong) GPUImageOutput *gpuImageOutput;
@property (nonatomic, strong) GPUImageTextureOutput *gpuImageTextureOutput;
@end
@implementation EXGLGPUImageObject
- (instancetype)initWithConfig:(NSDictionary *)config
{
if ((self = [su... | {
"content_hash": "796cf0462d77d05aebdcc5dc9bf9f36f",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 128,
"avg_line_length": 39.490566037735846,
"alnum_prop": 0.6975633062589585,
"repo_name": "NewSpring/Apollos",
"id": "29d3fbfd7c6995e45d7754bfeed0f70039438d8a",
"size": "2... |
[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [SpinnerPopupMatcher](index.md) / [describeTo](./describe-to.md)
# describeTo
`fun describeTo(description: Description?): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | {
"content_hash": "b48970a0b83b8d5d27fee39744a6540e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 139,
"avg_line_length": 55.6,
"alnum_prop": 0.7122302158273381,
"repo_name": "agoda-com/Kakao",
"id": "77d5680bba4cfaedb7da8670aa003c968e232eca",
"size": "278",
"binary": ... |
#ifndef _CRAM_STRUCTS_H_
#define _CRAM_STRUCTS_H_
/*
* Defines in-memory structs for the basic file-format objects in the
* CRAM format.
*
* The basic file format is:
* File-def SAM-hdr Container Container ...
*
* Container:
* Service-block data-block data-block ...
*
* Multiple blocks in a contain... | {
"content_hash": "58f6dccfa0800a65cba01f5727a2c80c",
"timestamp": "",
"source": "github",
"line_count": 791,
"max_line_length": 79,
"avg_line_length": 26.943109987357776,
"alnum_prop": 0.5862424924924925,
"repo_name": "hillerlab/GenomeAlignmentTools",
"id": "7c52deb5411fe960b95fddf959de76717b365128",... |
<?php
namespace Admin\Service;
use DateTime;
use Core\Test\ServiceTestCase;
use Admin\Model\User;
use Core\Model\EntityException;
use Zend\Authentication\AuthenticationService;
/**
* Testes do serviço Auth
* @category Admin
* @package Service
* @author Elton Minetto<eminetto@coderockr.com>
*/
... | {
"content_hash": "e30a48c42009f7f052ae3424e322ac9d",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 99,
"avg_line_length": 28.87730061349693,
"alnum_prop": 0.5770129594221373,
"repo_name": "Echenique/zf2-project",
"id": "abc24ed8f6ae418055c454d47eba95497fa6c2b9",
"size":... |
<?php
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection;
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
use Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension;
use Symfony\Component\Cache\Adapter\ApcuAdapter;
use Symfony\Component\Cache\Adapter\ChainAdapter;
use Symfony\Compo... | {
"content_hash": "e319bcb8b337d1c25c6d1aacd8668aaa",
"timestamp": "",
"source": "github",
"line_count": 739,
"max_line_length": 234,
"avg_line_length": 46.54127198917456,
"alnum_prop": 0.6736930860033726,
"repo_name": "ngantran1991/quanlycafe",
"id": "4e93a0e4f424ce85a2c57c61d8776c3cb675b846",
"siz... |
/* Lzma86.h -- LZMA + x86 (BCJ) Filter
2013-01-18 : Igor Pavlov : Public domain */
#ifndef __LZMA86_H
#define __LZMA86_H
#include <LZMA/7zTypes.h>
EXTERN_C_BEGIN
#define LZMA86_SIZE_OFFSET (1 + 5)
#define LZMA86_HEADER_SIZE (LZMA86_SIZE_OFFSET + 8)
/*
It's an example for LZMA + x86 Filter use.
You can use .lzma86 ... | {
"content_hash": "635e156028b25ea59034239095638ccb",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 80,
"avg_line_length": 28.46846846846847,
"alnum_prop": 0.6496835443037975,
"repo_name": "NeroReflex/SeaDragon",
"id": "c934eb33d1d0deeb5343fac4295613d0c6f1432a",
"size": ... |
package org.axonframework.integrationtests.utils;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
/**
* Stub Domain Event, used for testing purposes.
*
* @author Allard Buijze
*/
public class StubDomainEvent implements Seri... | {
"content_hash": "e301933969bff02bc88ced04c2012b43",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 69,
"avg_line_length": 19.842105263157894,
"alnum_prop": 0.6896551724137931,
"repo_name": "krosenvold/AxonFramework",
"id": "e068e0a6b2322f0e35a33e6ceb913cd8f1843076",
"siz... |
var Fluxer = require('fluxerjs');
var EndpointStore = module.exports = Fluxer.createStore('Endpoint');
Fluxer.on('Endpoint.New', function() {
EndpointStore.emit('OpenNewModal');
});
Fluxer.on('Endpoint.Open', function(endpoint) {
EndpointStore.emit('OpenEditModal', endpoint);
});
Fluxer.on('Endpoint.Updated', fun... | {
"content_hash": "121289c7d5a8f5583cda307dfdfc5a8d",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 68,
"avg_line_length": 24.608695652173914,
"alnum_prop": 0.726148409893993,
"repo_name": "cfsghost/DarkNight",
"id": "190065e6f0d1377ce7eb458bc8737102847d6145",
"size": "56... |
1. php composer.phar self-update
2. php composer.phar update
3. init.bat
4. common\config\main.php - прписать подключение к БД
5. yii.bat migrate - выполнить все миграции | {
"content_hash": "3d22a7050161b2b64a3d5f7cbd8b4e8b",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 53,
"avg_line_length": 34.2,
"alnum_prop": 0.7719298245614035,
"repo_name": "DarkAngel36/testtask",
"id": "8e5f8fdc60af6f0efa449156df04a0f42edbe47b",
"size": "215",
"binar... |
#ifndef ROPUFU_SETTLERS_ONLINE_BATTLE_SKILL_HPP_INCLUDED
#define ROPUFU_SETTLERS_ONLINE_BATTLE_SKILL_HPP_INCLUDED
#include <ropufu/enum_array.hpp>
#include <cstddef> // std::size_t
#include <string> // std::string, std::to_string
#include <type_traits> // std::underlying_type_t
namespace ropufu::settlers_o... | {
"content_hash": "4d4eb56b3addf17934b1f2967c39053a",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 187,
"avg_line_length": 57.22680412371134,
"alnum_prop": 0.6350207169879301,
"repo_name": "ropufu/settlers_online",
"id": "25f1c519048800cf32ab6ca05dcc6b6f6555e7f7",
"size"... |
%% test_surrogate
% lf_file = '/home-new/chrapkpk/Documents/projects/brain-modelling/analysis/pdc-analysis/output/std-s03-10/aal-coarse-19-outer-nocer-plus2/lf-sources-ch12-trials100-samplesall-normallchannels-envno/MCMTLOCCD_TWL4-T60-C12-P3-lambda=0.9900-gamma=1.000e-03.mat';
nchannels = 12;
norder = 3;
order_est = ... | {
"content_hash": "9d5da27005250adcd2e1af4f85617745",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 259,
"avg_line_length": 26.813793103448276,
"alnum_prop": 0.5938786008230452,
"repo_name": "pchrapka/brain-modelling",
"id": "f203163c326303e821a19a8203261f6ba64bdd13",
"s... |
package com.datastax.oss.driver.core.cql;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.timeout;
import static org.mockito.Mockito.verify;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ... | {
"content_hash": "9af1a37c5ab2e72d240e5a07dfa2f65f",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 102,
"avg_line_length": 41.07486631016043,
"alnum_prop": 0.6795990105455019,
"repo_name": "datastax/java-driver",
"id": "e3648c93424639f688b5b830f4bda7c2547ca8de",
"size":... |
<header class="banner navbar" role="banner">
<div class="wrapper wrapper--wide">
<div class="banner__inner">
<div class="navbar__header">
<label class="navbar__toggle" for="nav__toggle"><i class="ion ion-navicon"></i></label>
<a class="navbar__brand" href="<?php e... | {
"content_hash": "785b287e4571bbc67b15716a8936bbb9",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 140,
"avg_line_length": 44.57142857142857,
"alnum_prop": 0.5032051282051282,
"repo_name": "ceto/nielstorp",
"id": "862c34fb0f5d0ce403cbb230f9a9750feda198b3",
"size": "936",... |
package org.spdx.rdfparser.model;
import java.util.List;
import java.util.Map;
import com.google.common.collect.ImmutableMap;
import org.spdx.rdfparser.IModelContainer;
import org.spdx.rdfparser.InvalidSPDXAnalysisException;
import org.spdx.rdfparser.SpdxRdfConstants;
import org.spdx.rdfparser.SpdxVerificationHelper... | {
"content_hash": "350a23c61dfd8115cf328081287157bb",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 120,
"avg_line_length": 30.358381502890172,
"alnum_prop": 0.7351485148514851,
"repo_name": "spdx/tools",
"id": "aae69d1cadca101e22b9df81e43e94bf65a66e17",
"size": "11131",... |
<!doctype html>
<html ng-app="cjd-countries">
<head>
<title>Countries</title>
<link href="app.css" rel="stylesheet">
</head>
<body>
<div ng-controller="CountryController as country">
<header>
<h1>List of Countries</h1>
<label class="filter-country"><input ng-model="searchText.name.common... | {
"content_hash": "0ae335fe4eef20d3648b78a02dee2022",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 149,
"avg_line_length": 36.61538461538461,
"alnum_prop": 0.6334033613445378,
"repo_name": "cdaley78/countries-angular-demo",
"id": "242cacdb5cc0a6e245a2c3509b770b2972fdc82e",... |
<!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 (version 1.7.0_72) on Wed May 13 11:47:54 EDT 2015 -->
<title>Uses of Class org.apache.cassandra.db.AtomicSortedColumns (apache-cassandra API)</title>... | {
"content_hash": "4baf69574222c1ab0b9088495981c963",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 395,
"avg_line_length": 47.6764705882353,
"alnum_prop": 0.6521900061690314,
"repo_name": "anuragkapur/cassandra-2.1.2-ak-skynet",
"id": "804850a618f8c0748844da35c5d02021d766... |
using System.Collections;
using System.Collections.Specialized;
using System.Windows.Input;
using Xamarin.Forms;
namespace XFExtensions.Controls.Abstractions
{
public class SimpleList : StackLayout
{
public SimpleList()
{
// default values
TextColor = Color.... | {
"content_hash": "b8bd17e3975dc01b9f642e8c185511cd",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 123,
"avg_line_length": 36.622950819672134,
"alnum_prop": 0.5593106535362579,
"repo_name": "JC-Chris/XFExtensions",
"id": "cbce94835ba77be63d848d1ae5941eac7b73c0f3",
"size... |
package org.dita.dost.writer;
import org.dita.dost.TestUtils;
import org.dita.dost.util.XMLUtils;
import org.junit.Test;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import static javax.xml.XMLConstants.NULL_NS_URI;
import static org.dita.dost.util.Consta... | {
"content_hash": "3b12f3bda648ea49ecbd5c0dc06fa856",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 246,
"avg_line_length": 48.41346153846154,
"alnum_prop": 0.5835153922542204,
"repo_name": "drmacro/dita-ot",
"id": "af092752c935a1452f69be4cf6c46c5130bdb7b2",
"size": "519... |
<div class="container" role="presentation" data-ng-cloak >
<div class="row">
<section data-ng-controller="UserLoggingCtrl" class="signInSection">
<h2>Admin Portal Login</h2>
<a class="btn btn-primary" ng-click="login()">Sign In.</a>
</section>
</div>
</div>
| {
"content_hash": "c281058afcc622e0cef3fa7d50e7dbef",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 70,
"avg_line_length": 31.444444444444443,
"alnum_prop": 0.6431095406360424,
"repo_name": "mb4ms/event-site",
"id": "6fe884b8621d9263b2ba52dd910eb55d9ffd2689",
"size": "283"... |
require 'compass/import-once/activate'
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "test/"
sass_dir = "_sass/"
images_dir = "images"
javascripts_dir = "javascripts"
# You can select your preferred output style here (can be overridden v... | {
"content_hash": "f001382c44d50032c54200a845d5015b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 96,
"avg_line_length": 35.84,
"alnum_prop": 0.7421875,
"repo_name": "osmlab/basket",
"id": "bf9f5024ad919e484999478cbca3f821275f3fb1",
"size": "896",
"binary": false,
"... |
package com.makotokw.android.circularlistviewsample;
import android.os.Build;
import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.view.Display;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widge... | {
"content_hash": "2261019df8690dc0c853cf8296355957",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 149,
"avg_line_length": 36.32608695652174,
"alnum_prop": 0.6744464392579294,
"repo_name": "makotokw/AndroidWZCircularListView",
"id": "2cd0f51065a100297ad5774ffee655717f51d85... |
<?php namespace Rtbs\ApiHelper\Exceptions;
class PromoNotFoundException extends \Exception
{
} | {
"content_hash": "505f50c231f084822991662a46c7c057",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 47,
"avg_line_length": 16,
"alnum_prop": 0.8125,
"repo_name": "whytewaters/api-helper-library",
"id": "c7069ce360ff7104d01327b046147cacd8d81dbe",
"size": "96",
"binary": f... |
package com.druid.demo.controller;
import com.druid.demo.model.User;
import com.druid.demo.server.UserServer;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.... | {
"content_hash": "a61868642f18349423d8f893fd1387b3",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 101,
"avg_line_length": 32.644444444444446,
"alnum_prop": 0.7692307692307693,
"repo_name": "blueroc2003/ali-druid-demo",
"id": "24fe6d5e156fe7335e5140532baeb737d8a57263",
"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5ab226c8bd08e1367cf9a37ca55cb3f8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "e29e84f10eb7f7f2a94764e39cbefc2005553da9",
"size": "182... |
using System.IO;
using System.Runtime.Serialization.Json;
using System.Text;
namespace DEG.ServiceCore.Helpers
{
public class JsonHelper
{
public static string Stringify(object toSerialize)
{
var serializer = new DataContractJsonSerializer(toSerialize.GetType());
... | {
"content_hash": "d1bada9872917132b610bedde522570d",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 84,
"avg_line_length": 28.711111111111112,
"alnum_prop": 0.5046439628482973,
"repo_name": "degdigital/DEG.Social",
"id": "410cba2728eefbc17d4429e2534d4032d488e7e5",
"size":... |
import sqlite3
import os
class PysqliteError(Exception):
def __init__(self, value):
self.value = value
def __str__(self):
return repr(self.value)
class Pysqlite:
def __init__(self, database_name='', database_file=''):
self.dbname = database_name
if os.path.isfile(databas... | {
"content_hash": "3421ea95720a44be2a2307dcd65ff151",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 118,
"avg_line_length": 36.541666666666664,
"alnum_prop": 0.5980615735461802,
"repo_name": "purrcat259/sockbot",
"id": "0b374b8373822f86a79ea6e08da2f17a6dce7800",
"size": "... |
<?php
namespace Geekhub\UserBundle\Controller;
use HWI\Bundle\OAuthBundle\Controller\ConnectController as BaseConnectController;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
class ConnectController extends BaseConnectController
{
/**
* @param Request $... | {
"content_hash": "1fa06b85776008034f1c1a0c37fa199e",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 134,
"avg_line_length": 34.8,
"alnum_prop": 0.6819923371647509,
"repo_name": "geekhub-php/CheDream2",
"id": "db86174aae520b9de9120d8d5bde68d7538e583c",
"size": "1044",
"b... |
using namespace arangodb::basics;
Utf8Helper Utf8Helper::DefaultUtf8Helper;
Utf8Helper::Utf8Helper(std::string const& lang) : _coll(nullptr) {
setCollatorLanguage(lang);
}
Utf8Helper::Utf8Helper() : Utf8Helper("") {}
Utf8Helper::~Utf8Helper() {
if (_coll) {
delete _coll;
if (this == &DefaultUtf8Helper) ... | {
"content_hash": "cfa6aa855dca644aa75214f5e3134d55",
"timestamp": "",
"source": "github",
"line_count": 743,
"max_line_length": 88,
"avg_line_length": 29.10228802153432,
"alnum_prop": 0.5483512926050964,
"repo_name": "m0ppers/arangodb",
"id": "28a0844c8b5655e7e626bb01a019b42e5454efdb",
"size": "229... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2... | {
"content_hash": "61da2126b3b306a4daa4c6b1b1572b7b",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 113,
"avg_line_length": 41.15686274509804,
"alnum_prop": 0.690328727965698,
"repo_name": "khmarbaise/maven-plugins",
"id": "1ec15b50c7b3a4e0b570bb19af2277eddfb2938c",
"size... |
<?php
require_once("core/ui/UIComponent.php");
abstract class UIControl extends UIComponent {
/**
* Tip text or message for the control.
*
* @var string
*/
protected $tip = "";
/**
* Set if control is scrollable or not.
*
* @var boolean
*/
protected $scrollabl... | {
"content_hash": "feccd60e883f269ae31f1f432f780846",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 46,
"avg_line_length": 16.727272727272727,
"alnum_prop": 0.5706521739130435,
"repo_name": "pomed/Framework",
"id": "9c53435561b5d2cb46dd0b73106207bda867c011",
"size": "642"... |
<!DOCTYPE html>
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Foundation 4</title>
<link rel="stylesheet" href="../stylesheets/app... | {
"content_hash": "0055aadfb87fa8d476df12b85a9f5ddb",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 106,
"avg_line_length": 31.85589519650655,
"alnum_prop": 0.5610692254969157,
"repo_name": "acandael/HSE.TV",
"id": "1f8c5dfa80cdf4338f87af6b6e0f67fd012266d8",
"size": "729... |
require 'rubygems' if RUBY_VERSION < '1.9.0'
require 'sensu-plugin/check/cli'
class CheckDirSize < Sensu::Plugin::Check::CLI
option :directory,
description: 'Directory to stat (full path not including trailing slash)',
short: '-d /path/to/directory',
long: '--directory /path/to/directory',... | {
"content_hash": "4b5832b2ccf6bce3c650edced2a513f8",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 159,
"avg_line_length": 34.1948051948052,
"alnum_prop": 0.6156475503228257,
"repo_name": "sensu-plugins/sensu-plugins-filesystem-checks",
"id": "35d34b77039e5dcbc040af0e91c70... |
@implementation HTTPSValidityTestCase
- (void)onWillSendRequest:(NSMutableURLRequest*)request
{
NSURL* url = [NSURL URLWithString:@"https://github.com/"];
[request setURL:url];
}
@end
| {
"content_hash": "601505b49bce65dd94fc759e71e74495",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 62,
"avg_line_length": 21.555555555555557,
"alnum_prop": 0.7268041237113402,
"repo_name": "zqxiaojin/JCFConnection",
"id": "e43fa1100105ca2820f936ebb6c1f5805611fced",
"size"... |
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'has_offers'
require 'spec'
require 'spec/autorun'
Spec::Runner.configure do |config|
end
| {
"content_hash": "78bcc7bcb8513c37e0167c9ccd520737",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 66,
"avg_line_length": 23.555555555555557,
"alnum_prop": 0.6886792452830188,
"repo_name": "Sentia/has_offers",
"id": "ee79298eb7ae92fa57cf99cd99f19ec50a4a6594",
"size": "212... |
import path from 'node:path';
import {findUp, findUpSync} from 'find-up';
import {readPackage, readPackageSync} from 'read-pkg';
export async function readPackageUp(options) {
const filePath = await findUp('package.json', options);
if (!filePath) {
return;
}
return {
packageJson: await readPackage({...options... | {
"content_hash": "352e1f5076b98d7a655421c9a2a26528",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 76,
"avg_line_length": 22.925925925925927,
"alnum_prop": 0.7043618739903069,
"repo_name": "sindresorhus/read-pkg-up",
"id": "4e3a231f243ada5f0684a62d11e6e4a4f8785f8e",
"siz... |
package terminal
import (
"bufio"
"errors"
"fmt"
"go/parser"
"go/scanner"
"io"
"math"
"os"
"os/exec"
"path/filepath"
"reflect"
"regexp"
"sort"
"strconv"
"strings"
"text/tabwriter"
"github.com/cosiner/argv"
"github.com/go-delve/delve/service"
"github.com/go-delve/delve/service/api"
"github.com/go-d... | {
"content_hash": "27fa590334bb2b90c925fd9094fb87a4",
"timestamp": "",
"source": "github",
"line_count": 2165,
"max_line_length": 240,
"avg_line_length": 26.88498845265589,
"alnum_prop": 0.6660481737277943,
"repo_name": "dr2chase/delve",
"id": "f3eb87010c30b395ca7f6eaddfcf6f8f2f788515",
"size": "583... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2015 Evolveum
~
~ 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... | {
"content_hash": "633031be903c1638e48a11b421cf43f6",
"timestamp": "",
"source": "github",
"line_count": 419,
"max_line_length": 173,
"avg_line_length": 35.556085918854414,
"alnum_prop": 0.6055175191300846,
"repo_name": "PetrGasparik/midpoint",
"id": "130fa814b3b01ca5db760430f9e9d93c1d64c432",
"size... |
package org.apache.tajo.scheduler;
import java.util.Comparator;
/**
* Utility class containing scheduling algorithms used in the scheduler.
*/
public class SchedulingAlgorithms {
/**
* Compare Schedulables in order of priority and then submission time, as in
* the default FIFO scheduler in Tajo.
*/
... | {
"content_hash": "c39a2f2661fe48c3e34dc3b74b3e6ded",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 91,
"avg_line_length": 30.129032258064516,
"alnum_prop": 0.6680942184154176,
"repo_name": "yeeunshim/tajo_test",
"id": "9c9b16df5538e3c809071f05f06f91db2e53805f",
"size": "... |
package ch.unibas.fittingwizard.application.tools;
import java.io.File;
import java.io.IOException;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.apache.log4j.Logger;
/**
*
* User: mhelmer
* Date: 16.12.13
* Time: 10:30
*/
public class GaussianLogModifier {
private static final ... | {
"content_hash": "ed25b841f65bedd09511b1282da66aea",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 120,
"avg_line_length": 33.177215189873415,
"alnum_prop": 0.6497520030522701,
"repo_name": "MMunibas/FittingWizard",
"id": "856f5bdf1028e171ab1db679dc224985ad215273",
"size... |
package org.apache.hadoop.hive.common;
import org.junit.Assert;
import org.junit.Test;
public class TestLogUtils {
@Test
public void testMaskIfPassword() {
Assert.assertNull(LogUtils.maskIfPassword("",null));
Assert.assertNull(LogUtils.maskIfPassword(null,null));
Assert.assertEquals("test", LogUtils.m... | {
"content_hash": "9345b69508dbed3b15994c73ec7a96f1",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 91,
"avg_line_length": 43.833333333333336,
"alnum_prop": 0.7072243346007605,
"repo_name": "BUPTAnderson/apache-hive-2.1.1-src",
"id": "923ac2d6280b084ec8a172ad9f13118d28bb9e9... |
package org.springframework.samples.petclinic.graphql.types;
import java.util.List;
import java.util.Optional;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author Xiangbin HAN (hanxb2001@163.com)
*
*/
public class OwnerOrder {
private OrderField field;
private OrderType order;
... | {
"content_hash": "cd519c4b2f4c760128eee618dfdaa162",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 107,
"avg_line_length": 27.61904761904762,
"alnum_prop": 0.5568965517241379,
"repo_name": "EMResearch/EMB",
"id": "3f3d957ede8553a4d3886f760b948f4879b60b4f",
"size": "2320"... |
/** \file MachOBinaryFile.h
* \brief This file contains the definition of the class MachOBinaryFile.
*/
#ifndef __MACHOBINARYFILE_H__
#define __MACHOBINARYFILE_H__
#include "BinaryFile.h"
#include <string>
#include <vector>
/**
* This file contains the definition of the MachOBinaryFile class, and some
* other d... | {
"content_hash": "fb95cf7c61dfb646b07edf56bf1a400e",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 120,
"avg_line_length": 38.66326530612245,
"alnum_prop": 0.5774610715228292,
"repo_name": "nemerle/boomerang",
"id": "9ddecab57ba9270724e487fcc8712d33f2a6d626",
"size": "40... |
package ru.job4j.collections.map;
import org.hamcrest.Matchers;
import org.junit.Test;
import javax.swing.text.html.HTMLDocument;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.NoSuchElementException;
import static org.hamcrest.MatcherAssert.assertThat;
import static o... | {
"content_hash": "cb7ca6e0ed2dbb855c999b17941e32a5",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 71,
"avg_line_length": 38.03703703703704,
"alnum_prop": 0.6488153197013956,
"repo_name": "Mrsananabos/ashveytser",
"id": "30e1a9ce422759cead4268d155d29cebb2b40f6d",
"size":... |
from __future__ import unicode_literals, print_function, division
__author__ = "mozman <mozman@gmx.at>"
import copy
from .compatibility import is_string
from .xmlns import register_class, CN, wrap, etree
from . import wrapcache
from .base import GenericWrapper
from .protection import random_protection_key
f... | {
"content_hash": "fe1d11f2bca9786708082e0dd1a79ce4",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 81,
"avg_line_length": 34.728205128205126,
"alnum_prop": 0.6101594802126403,
"repo_name": "iwschris/ezodf2",
"id": "eaf885152c0e3dc7253b19c4ea18ea148483abb5",
"size": "691... |
<?php
/**
* Ajax calls
* $.ajax({
* 'url' : 'xhr/sites/[id]/sync
* });
*/
Route::group(['prefix' => '/xhr'], function () {
/**
* List all themes
*/
Route::match(['GET'], '/themes', [
'uses' => 'App\Controller\Ajax\ThemeController@all'
]);
/**
* List all theme categorie... | {
"content_hash": "0648d17ac7860ae6b587d48fa76d7c32",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 70,
"avg_line_length": 25.85217391304348,
"alnum_prop": 0.5079044735956946,
"repo_name": "asm-products/pageweb",
"id": "f57d3f40fb78ad1831168dc3021c6f8bba732233",
"size": ... |
import unittest
import frappe
class TestClient(unittest.TestCase):
def test_set_value(self):
todo = frappe.get_doc(dict(doctype="ToDo", description="test")).insert()
frappe.set_value("ToDo", todo.name, "description", "test 1")
self.assertEqual(frappe.get_value("ToDo", todo.name, "description"), "test 1")
f... | {
"content_hash": "d59b43c9bb0467019865fb7f131048ea",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 96,
"avg_line_length": 27.604444444444443,
"alnum_prop": 0.6631782321687328,
"repo_name": "yashodhank/frappe",
"id": "1a1c4f3232e124362ec6b57e63c9d550abf38f22",
"size": "6... |
import { Component, Host, h, Prop } from '@stencil/core';
import { ItemsClient } from '../../../services/ItemsClient';
import state from "../../../store/store";
@Component({
tag: 'dnn-action-create-folder',
styleUrl: '../dnn-action.scss',
shadow: true,
})
export class DnnActionCreateFolder {
@Prop() parentFol... | {
"content_hash": "2ab9be294111959b6a2e680dc99cf1d2",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 303,
"avg_line_length": 29.01851851851852,
"alnum_prop": 0.6292278238672623,
"repo_name": "valadas/Dnn.Platform",
"id": "956cae8d6bd2c23c6762a121cf56daacc2e9d7fa",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PriceChangeAlert
{
class Program
{
static void Main(string[] args)
{
int numberOfPrices = int.Parse(Console.ReadLine());
double significanceThr... | {
"content_hash": "d8e3cc411a302bef2f3cb61b526c72f0",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 113,
"avg_line_length": 29.22222222222222,
"alnum_prop": 0.5522813688212928,
"repo_name": "MinorGlitch/Programming-Fundamentals",
"id": "ef1e367b7641e74526f95925761a049184b2f... |
Angular touch-enabled option selector. [Live Demo](http://kzf.github.io/AngularTouchSelect)
# Usage
For Usage instructions refer to the [Live Demo](http://kzf.github.io/AngularTouchSelect).
| {
"content_hash": "4c86de4cb38baf235ae98b8d899a7a81",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 91,
"avg_line_length": 47.75,
"alnum_prop": 0.7853403141361257,
"repo_name": "kzf/AngularTouchSelect",
"id": "26c0656a275b51a552469f1202f1c41f6fbdf9f6",
"size": "213",
"bi... |
@implementation XCJoinLinesAction
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
- (instancetype)init
{
if((self = [super init])) {
self.title = NSLocalizedString(@"Joins the selection'... | {
"content_hash": "bda7c475ec2f74d4b61a8ea300ddfe5c",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 131,
"avg_line_length": 42.46987951807229,
"alnum_prop": 0.47716312056737586,
"repo_name": "pdcgomes/XCActionBar",
"id": "aebfe732f7edddec6b94b030986ac8b91b860a90",
"size":... |
@class DataItemView;
@interface NumberWrappingLayoutCalculator : NSObject
@property (nonatomic, strong) NSArray *dataItems;
- (void)calculateLayoutSizesForDataItems:(NSArray *)items inSize:(CGSize)size;
- (DataItemView *)dataItemViewNearestLocationNearLocation:(CGPoint)location;
@end
| {
"content_hash": "6ab873abe85d83edb38be44364c9e993",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 78,
"avg_line_length": 28.9,
"alnum_prop": 0.8166089965397924,
"repo_name": "jdunwoody/DateMaths",
"id": "ef515f93df405604f63e19a102f102fdc39ae467",
"size": "490",
"binar... |
class Logistician
module HTTPError
attr_reader :http_status, :http_block
attr_writer :http_status, :http_block
def self.annote( exception, http_status = nil, &http_block )
exception.extend( self )
exception.http_status = http_status
exception.http_block = http_block
end
def s... | {
"content_hash": "ee8f82bfe7dfb3f2a360cb7469250fcf",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 160,
"avg_line_length": 24.89189189189189,
"alnum_prop": 0.6731813246471227,
"repo_name": "xing/racktables_api",
"id": "a71c44782b98b5a4d59cb00a46c5b9960648f96c",
"size": "... |
package com.vaadin.data.provider;
import com.vaadin.shared.data.sort.SortDirection;
import com.vaadin.ui.Grid.Column;
/**
* Sorting information for {@link Grid}.
*
* @param <T>
* the grid type
*/
public class GridSortOrder<T> extends SortOrder<Column<T, ?>> {
/**
* Construct sorting informa... | {
"content_hash": "9ca0818895bec914e04bbeb5f3118d16",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 79,
"avg_line_length": 24.848484848484848,
"alnum_prop": 0.5701219512195121,
"repo_name": "Legioth/vaadin",
"id": "ffb17d301d7a9bec3aa54187bf3799f5afddc0da",
"size": "2235"... |
/*----------------------------------------------------------------------
Global/Adaptive Image Binarization
based on Discriminant Criterion (Otsu's method) otsubin.h
(C) 2000-2009 Hideaki Goto (see accompanying LICENSE file)
Written by H.Goto, Apr 2000
Revised by H.Goto, Sep 2003
... | {
"content_hash": "5d07afe21fd9afb53d0020683129c04e",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 81,
"avg_line_length": 29.433333333333334,
"alnum_prop": 0.5673839184597962,
"repo_name": "el-hoshino/HandwrAIter",
"id": "8e82a94dea5438835b46f14534eea432374180e5",
"size"... |
<mods xmlns="http://www.loc.gov/mods/v3" xmlns:exslt="http://exslt.org/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd" version="3.3" ID="P0b002ee180e7ba18">
<name ty... | {
"content_hash": "02aed7928706b3708953b6012a0e2d41",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 311,
"avg_line_length": 46.7112676056338,
"alnum_prop": 0.761797075229911,
"repo_name": "m4h7/juriscraper",
"id": "cb44b43b4d199c58a972bcd76ebe6ace5778b517",
"size": "6633... |
package org.ripple.bouncycastle.asn1.cryptopro;
import org.ripple.bouncycastle.asn1.ASN1EncodableVector;
import org.ripple.bouncycastle.asn1.ASN1Object;
import org.ripple.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.ripple.bouncycastle.asn1.ASN1Primitive;
import org.ripple.bouncycastle.asn1.ASN1Sequence;
import ... | {
"content_hash": "8b0d2f5a86440364931cc850ede1ce63",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 85,
"avg_line_length": 28.221153846153847,
"alnum_prop": 0.6844974446337309,
"repo_name": "cping/RipplePower",
"id": "573e29ce27d04423fabc70749ecd07a9decbdef8",
"size": "2... |
(function ($, document, window, undefined) {
'use strict';
$.fn.pagepiling = function (custom) {
var PP = $.fn.pagepiling;
var container = $(this);
var lastScrolledDestiny;
var lastAnimation = 0;
var isTouch = (('ontouchstart' in window) || (navigator.msMaxTouc... | {
"content_hash": "9824006a01b84fdb0eacc10840fbddc9",
"timestamp": "",
"source": "github",
"line_count": 969,
"max_line_length": 172,
"avg_line_length": 36.4984520123839,
"alnum_prop": 0.48664008821783017,
"repo_name": "cdnjs/cdnjs",
"id": "37908e28d54f42af09bcda9bb7a518c17847a9b3",
"size": "35549",... |
using System;
namespace Free.Core.Extensions.CharExtensions
{
/// <summary>
/// Added methods to the <see cref="Char"/> class.
/// </summary>
/// <threadsafety static="true" instance="true"/>
[CLSCompliant(false)]
public static class CharExtensions
{
/// <summary>
/// The minimum allowed radix value as arg... | {
"content_hash": "16233cd4e1abef991c99f184030b7757",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 145,
"avg_line_length": 34.76190476190476,
"alnum_prop": 0.6146118721461187,
"repo_name": "shintadono/Free.Core",
"id": "c462ae066f99c899140898ab5b2725e754cb1489",
"size": ... |
.. currentmodule:: altair
.. _user-guide-encoding:
Encodings
---------
The key to creating meaningful visualizations is to map *properties of the data*
to *visual properties* in order to effectively communicate information.
In Alair, this mapping of visual properties to data columns is referred to
as an **encoding**... | {
"content_hash": "84e24260e25e7a23e8198f75a116c3cc",
"timestamp": "",
"source": "github",
"line_count": 474,
"max_line_length": 216,
"avg_line_length": 41.30168776371308,
"alnum_prop": 0.557542013587373,
"repo_name": "ellisonbg/altair",
"id": "424b1ee9e862e400e5c4a3b1dd5f5cb44a065fd1",
"size": "195... |
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<string name="low_memory_error">"Tidak dapat menyelesaikan operasi sebelumnya karena sisa memori sedikit"</string>
<string name="opening_file_error">"Gagal membuka file terpilih"</string>
<string name="color_pi... | {
"content_hash": "3e648e6bc9002c37e9e72a61ec35a99f",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 114,
"avg_line_length": 64.74468085106383,
"alnum_prop": 0.7578047978968123,
"repo_name": "judax/OculusMobileSDKHeadTrackingXWalkViewExtension",
"id": "8a395040709ac24e0041f2... |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.android_webview.test;
import android.util.Pair;
import androidx.test.filters.SmallTest;
import org.junit.Assert;
import org.junit.... | {
"content_hash": "60f9e042705f594772ae8440bf566fd2",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 99,
"avg_line_length": 38.515151515151516,
"alnum_prop": 0.6677157094151587,
"repo_name": "ric2b/Vivaldi-browser",
"id": "f10350a4e968417b110c4882895fe0d5834eb9d8",
"size":... |
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">
<channel>
<title>Comments for page "Black Market"</title>
<link>http://bvs.wikidot.com/forum/t-114433/black-market</link>
<descripti... | {
"content_hash": "f4adccb27b2c50cf20684ae7602c5eb7",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 148,
"avg_line_length": 49.130434782608695,
"alnum_prop": 0.6884955752212389,
"repo_name": "tn5421/tn5421.github.io",
"id": "fb138806a56b2e345dab0645e2252915bc3735d8",
"siz... |
package net.violet.platform.message.application.factories;
import java.util.HashMap;
import java.util.Map;
import net.violet.platform.applications.WeatherHandler;
import net.violet.platform.daemons.schedulers.AbstractScheduler.MessageProcessUnit;
import net.violet.platform.datamodel.Files;
import net.violet.platform.... | {
"content_hash": "e5dff569bee4b03f1553a78b51801264",
"timestamp": "",
"source": "github",
"line_count": 419,
"max_line_length": 175,
"avg_line_length": 47.105011933174225,
"alnum_prop": 0.7906470081572681,
"repo_name": "sebastienhouzet/nabaztag-source-code",
"id": "a0d3ff2bd2b44a049e17378822aaa67070b... |
# Makefile.in generated by automake 1.9.6 from Makefile.am.
# config/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unl... | {
"content_hash": "6cb673e701a19a0399541018bba7c697",
"timestamp": "",
"source": "github",
"line_count": 417,
"max_line_length": 560,
"avg_line_length": 29.40767386091127,
"alnum_prop": 0.6717768898311995,
"repo_name": "jjenki11/blaze-chem-rendering",
"id": "194c7b8af91e90a85b48f31f3608d72aac01aafe",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f5e84065df0c11f279a513846855e10d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "3519d9c3c420d89892d8d0c277d8044cbf94dc2d",
"size": "200... |
package sockslib.server.io;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.Nullable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import stati... | {
"content_hash": "7722af25492b6fc3780e272c710b1f80",
"timestamp": "",
"source": "github",
"line_count": 280,
"max_line_length": 91,
"avg_line_length": 21.07857142857143,
"alnum_prop": 0.6326668925787868,
"repo_name": "fengyouchao/fucksocks",
"id": "08a011e59958c6a18e631f8909e2b3095e7a8e40",
"size":... |
#include "platform/CCGLView.h"
#include "base/CCTouch.h"
#include "base/CCDirector.h"
#include "base/CCEventDispatcher.h"
NS_CC_BEGIN
namespace {
static Touch* g_touches[EventTouch::MAX_TOUCHES] = { nullptr };
static unsigned int g_indexBitsUsed = 0;
// System touch pointer ID (It may not be ascen... | {
"content_hash": "3e1c681736691763fb5475dcb421ee97",
"timestamp": "",
"source": "github",
"line_count": 433,
"max_line_length": 127,
"avg_line_length": 25.803695150115473,
"alnum_prop": 0.575404994182404,
"repo_name": "tangyiyang/v3quick-classic",
"id": "f5c0f622f7ac202e9c5ed622066e196b9a16e8bf",
"... |
<?php
namespace MySimpleORM\Mapper;
class Database
{
/**
* Variables
*
* @var [string] $Host
* @var [string] $Database
* @var [string] $User
* @var [string] $Password
* @var [mysqli] $Instance
*/
protected $Host;
protected $MysqlPort;
protected $Database;
pro... | {
"content_hash": "007bcdd7d49f732d20d860b3bf7484ae",
"timestamp": "",
"source": "github",
"line_count": 461,
"max_line_length": 231,
"avg_line_length": 33.420824295010846,
"alnum_prop": 0.4057895761666775,
"repo_name": "delirius325/MySimpleORM",
"id": "977c7613613cc8897780acc9662ffcef1a4f9728",
"si... |
using Medallion.Threading.Postgres;
using NUnit.Framework;
using System.Data;
namespace Medallion.Threading.Tests.Postgres;
public class PostgresDistributedReaderWriterLockTest
{
[Test]
public void TestValidatesConstructorArguments()
{
Assert.Throws<ArgumentNullException>(() => new PostgresDistri... | {
"content_hash": "5f1ba870f40ae3a18d942b16822339fe",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 125,
"avg_line_length": 33.6,
"alnum_prop": 0.7638888888888888,
"repo_name": "madelson/DistributedLock",
"id": "de544b94db9cd166bda2bbc78e1b5cf411769f54",
"size": "506",
... |
package com.example.fw;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.F... | {
"content_hash": "664413d04631d38dedf98e320e57037f",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 92,
"avg_line_length": 30.529411764705884,
"alnum_prop": 0.7112235067437379,
"repo_name": "makarkina/JavaForTesters",
"id": "b528e402c77ca4c5df9020d1ebacd8d9d4d2e783",
"si... |
<?php
namespace DTS\eBaySDK\Trading\Types\Test;
use DTS\eBaySDK\Trading\Types\StoreCustomListingHeaderLinkType;
class StoreCustomListingHeaderLinkTypeTest extends \PHPUnit_Framework_TestCase
{
private $obj;
protected function setUp()
{
$this->obj = new StoreCustomListingHeaderLinkType();
}
... | {
"content_hash": "a9ea97dcb393707c019a15595f162cc7",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 107,
"avg_line_length": 23.576923076923077,
"alnum_prop": 0.7096247960848288,
"repo_name": "michabbb-backup/ebay-sdk-trading",
"id": "d8465cd22ea156018b3d05255f2d4973d5008129... |
using JustLogic.Core;
using System.Collections.Generic;
using UnityEngine;
[UnitMenu("Physics/Settings/Get Solver Iteration Count")]
[UnitFriendlyName("Physics.Get Solver Iteration Count")]
[UnitUsage(typeof(System.Int32), HideExpressionInActionsList = true)]
public class JLPhysicsGetSolverIterationCount : JLExpre... | {
"content_hash": "eec0b65d1dc22a543f173b29af328791",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 69,
"avg_line_length": 28.375,
"alnum_prop": 0.7841409691629956,
"repo_name": "AqlaSolutions/JustLogic",
"id": "84bbab190b5dd39c5d2ecadae677a0996f708b34",
"size": "2102",
... |
<?php
namespace Mailgun\Api;
use Http\Client\Exception as HttplugException;
use Http\Client\HttpClient;
use Mailgun\Exception\UnknownErrorException;
use Mailgun\Hydrator\Hydrator;
use Mailgun\Hydrator\NoopHydrator;
use Mailgun\Exception\HttpClientException;
use Mailgun\Exception\HttpServerException;
use Mailgun\Req... | {
"content_hash": "6ef2dbf7cce4346da1e4e08f60b66b04",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 118,
"avg_line_length": 28.551724137931036,
"alnum_prop": 0.5677838164251208,
"repo_name": "brideout/gen2",
"id": "b612addcdf1880460177c98c8d130864fe2c3bda",
"size": "6785... |
"""
:mod:`run`
==================
.. module:: run
:platform: Unix, Windows
:synopsis:
.. moduleauthor:: hbldh <henrik.blidh@nedomkull.com>
Created on 2014-09-09, 16:12
"""
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import abso... | {
"content_hash": "974ad48d48f244e602148c4f4a2a0efb",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 52,
"avg_line_length": 19.652173913043477,
"alnum_prop": 0.6769911504424779,
"repo_name": "hbldh/pybankid-example-app",
"id": "1dadd40ac15426940a8fd412152401c89d02f8d7",
"s... |
/**
* ReportPage constructor
*
* @param kwArgs.id [String] DOM node id
* @param kwArgs.bgColor [String] Background color of the page
* @param kwArgs.width [Int] Page content's width in pixels
* @param kwArgs.height [Int] Page content's height in pixels
* @param kwArgs.topMargin [Int]... | {
"content_hash": "ea982655ea4b97e41067cd9b49c56b33",
"timestamp": "",
"source": "github",
"line_count": 280,
"max_line_length": 161,
"avg_line_length": 34.63928571428571,
"alnum_prop": 0.5266522321888855,
"repo_name": "manuelstuner/SSPES",
"id": "e5b0f46e16fa00e19f92592bde91017bb670bab6",
"size": "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.