text stringlengths 2 1.04M | meta dict |
|---|---|
import java.util.Queue;
import java.util.LinkedList;
public class IsSubsequence {
public boolean isSubsequence(String s, String t) {
Queue<Character> queue = new LinkedList<>();
for(char x : s.toCharArray()) {
queue.offer(x);
}
for(char x : t.toCharArray()) {
... | {
"content_hash": "90d206dae023a4d0dd1f8ebb87ee2670",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 101,
"avg_line_length": 27.75862068965517,
"alnum_prop": 0.5316770186335403,
"repo_name": "dantin/leetcode-solutions",
"id": "432f40e1a9325db8c9b42d9e63ffc8b564790765",
"si... |
#import "ImportMenuDelegate.h"
#import "ImportPluginInterface.h"
@implementation ImportMenuDelegate
- (void) findPlugins
{
NSString * appSupport = @"Library/Application Support/Books/Plugins/";
NSString * appPath = [[[NSBundle mainBundle] bundlePath] stringByAppendingString:@"/Contents/Resources/"];
NSString ... | {
"content_hash": "0a1ddd9dca7b47977380171f6bcf91bd",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 119,
"avg_line_length": 26.988636363636363,
"alnum_prop": 0.7267368421052631,
"repo_name": "audaciouscode/Books-Mac-OS-X",
"id": "c0921789a5af26aa5d8de97b2f176208715956ed",
... |
'use strict';
const babel = require('babel-core');
const babylon = require('babylon');
/**
* Extracts dependencies (module IDs imported with the `require` function) from
* a string containing code. This walks the full AST for correctness (versus
* using, for example, regular expressions, that would be faster but... | {
"content_hash": "d79e718a40598cf80d0508d978742ee2",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 110,
"avg_line_length": 30.736842105263158,
"alnum_prop": 0.6875,
"repo_name": "CodeLinkIO/react-native",
"id": "d88407f11650e4b492fb1b80be0ca5ac754cfec5",
"size": "1488",
... |
/**
*
*/
package com.evolveum.midpoint.provisioning.impl;
import com.evolveum.midpoint.prism.PrismContext;
import com.evolveum.midpoint.prism.PrismObject;
import com.evolveum.midpoint.prism.util.PrismAsserts;
import com.evolveum.midpoint.prism.util.PrismTestUtil;
import com.evolveum.midpoint.provisioning.api.Prov... | {
"content_hash": "34b4ad4d7b70fb3af419b3c651885817",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 140,
"avg_line_length": 42.71304347826087,
"alnum_prop": 0.7618078175895765,
"repo_name": "Pardus-Engerek/engerek",
"id": "7d5e4829f965c410de1675b82b49552fdf282067",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>ActiveRecord::Railtie::Rails</title>
<meta http-equiv="Content-Ty... | {
"content_hash": "6d05edca5f54516642b13572b3ed0ba5",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 262,
"avg_line_length": 24.541666666666668,
"alnum_prop": 0.5529145444255801,
"repo_name": "SeanYamaguchi/circle",
"id": "fe039dd28a698cdb3823b27639807a44da695881",
"size":... |
Particle Photon Prototyping board on a USB Stick
## Currently untested (11 July 2015). PCBs ordered for testing.
## Use Case
* Prototype post breadboard.
* Connection of sensors, LEDs, SparkFun style breakout boards etc.
* Deployed Thing on a Stick where the Photon may be used to make an internet connected sensor f... | {
"content_hash": "8ca62f7bdec0d87a871dfc73964e3906",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 177,
"avg_line_length": 50.506024096385545,
"alnum_prop": 0.7540553435114504,
"repo_name": "Tinamous/PhotonOnAStick",
"id": "7b364379a391eccc75f5a7c6aa3c857c9963501c",
"siz... |
SYNONYM
#### According to
Integrated Taxonomic Information System
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "05c69b1460c361ce6f7bf6632d3d8a2e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.7218045112781954,
"repo_name": "mdoering/backbone",
"id": "92d8a6e1199c81928ed8e26b9e69c54f92af61c9",
"size": "182... |
"""Support for Netgear Arlo IP cameras."""
from __future__ import annotations
from datetime import datetime, timedelta
import logging
from pyarlo import PyArlo
from requests.exceptions import ConnectTimeout, HTTPError
import voluptuous as vol
from homeassistant.components import persistent_notification
from homeassi... | {
"content_hash": "a609a08b99203d47f20520cc27f40322",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 88,
"avg_line_length": 32.064516129032256,
"alnum_prop": 0.6824279007377599,
"repo_name": "GenericStudent/home-assistant",
"id": "f7a368c7a4cc576366a644c5a37490c187084d5a",
... |
FROM balenalib/up-core-plus-fedora:32-run
ENV NODE_VERSION 12.21.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers.net... | {
"content_hash": "db60092058cb0875cd52775508a3d901",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 704,
"avg_line_length": 66.7560975609756,
"alnum_prop": 0.7066130800146145,
"repo_name": "nghiant2710/base-images",
"id": "3a31afba20958ef6d8bd85d4acf754c8307a436f",
"size"... |
Acceptance testing with cucumber.js
===================================
There are some acceptance tests for the demo application http://rest-bookmarks.herokuapp.com/.
The source code of the demo application is available in this [repo](https://github.com/spoonless/rest-bookmarks).
This project is based on cucumber-js.... | {
"content_hash": "62a338095fe325618a954346d483f926",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 113,
"avg_line_length": 32.833333333333336,
"alnum_prop": 0.7411167512690355,
"repo_name": "spoonless/rest-bookmarks-bdd",
"id": "d1ceab4405e6f5829c0199c22f3872422faa1507",
... |
var util = require('util');
var RedisPool = require('../index');
var LOG_MESSAGE = 'Available: %s, Pool Size: %s';
var redisSettings = {
// Use TCP connections for Redis clients.
host: '127.0.0.1',
port: 6379,
// Set a redis client option.
password: 'dingbats' // Authenticate using the password dingbats...
... | {
"content_hash": "1f893d89315885b6d1bb38b25a905366",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 91,
"avg_line_length": 28.089285714285715,
"alnum_prop": 0.6993006993006993,
"repo_name": "joshuah/sol-redis-pool",
"id": "e1e4591bbb2348d872e0b137bc952dbe3c122acb",
"size"... |
package com.intellij.ui;
import com.intellij.util.ui.UIUtil;
import javax.annotation.Nonnull;
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
public abstract class ClickListener {
private static final int EPS = 4;
private MouseAdapter myListener;
... | {
"content_hash": "8a389c8937aa824d0df6f133826568f6",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 152,
"avg_line_length": 29.2972972972973,
"alnum_prop": 0.6563653136531366,
"repo_name": "consulo/consulo",
"id": "3025ee8fc6c8805b5553ac4b28773b1a75447fff",
"size": "2309"... |
package com.github.dockerjava.core.command;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.dockerjava.api.command.CreateContaine... | {
"content_hash": "9790f38c178aa3b2284bd04d637d687f",
"timestamp": "",
"source": "github",
"line_count": 1007,
"max_line_length": 114,
"avg_line_length": 27.46573982125124,
"alnum_prop": 0.6676187721454914,
"repo_name": "llamahunter/docker-java",
"id": "0b6944b046dda52c3a58a35fa8bf03d30a6a0f5b",
"si... |
require 'abstract_unit'
require 'pp'
module ModuleWithMissing
mattr_accessor :missing_count
def self.const_missing(name)
self.missing_count += 1
name
end
end
module ModuleWithConstant
InheritedConstant = "Hello"
end
class DependenciesTest < Test::Unit::TestCase
def teardown
ActiveSupport::Depen... | {
"content_hash": "9d7741f2f4bdf24ba6a02451142923b2",
"timestamp": "",
"source": "github",
"line_count": 777,
"max_line_length": 133,
"avg_line_length": 35.34877734877735,
"alnum_prop": 0.7107696788757009,
"repo_name": "marten/opinionated-forum",
"id": "39c9c74c9467b4c07e1bb5821a415a027735b0bb",
"si... |
package Client; /**
* Created by zhaokuo on 2016/2/24.
*/
import ServerInterface.*;
import ServerInterface.TableInfo;
import javax.swing.*;
import javax.swing.text.html.Option;
import java.net.InetAddress;
public class PlayLogic extends OriginInterface{
/**
* 构造函数
*
* @param inetAddress 服务器地址
... | {
"content_hash": "b6feb9343ee794cb39b45409f94f9ee7",
"timestamp": "",
"source": "github",
"line_count": 304,
"max_line_length": 189,
"avg_line_length": 22.832236842105264,
"alnum_prop": 0.5660567641550209,
"repo_name": "JavaAndroidBigProject/WindowsClient",
"id": "1a2996988fc048401689cbb2b4193c8fff83... |
<?php
namespace App\Core\Request;
use App\Core\Request\RequestInterface;
class Post implements RequestInterface{
private $post ;
public function __construct(){
$this->post = $_POST;
}
public function get($key, $defaultValue = null, $deep = false){
return isset($this->p... | {
"content_hash": "fbf5d3585eec71e92683c18eae18b734",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 76,
"avg_line_length": 21.58695652173913,
"alnum_prop": 0.49244712990936557,
"repo_name": "ahmedali5530/core",
"id": "99085907049f721afac08b09942c8d6abdc74b30",
"size": "99... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa_IR" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Litecoin</source>
<translation>در مورد بیتکویین</translation>
... | {
"content_hash": "b351b01fb5db999d4a5cc0c12a49a91f",
"timestamp": "",
"source": "github",
"line_count": 2921,
"max_line_length": 395,
"avg_line_length": 35.04621704895584,
"alnum_prop": 0.6000683794080297,
"repo_name": "szenekonzept/QPSCoin-Source",
"id": "901e24419df3c146b5d34df0d3df35b264983e4f",
... |
<?xml version="1.0" encoding="UTF-8"?>
<mix:NoMixed xmlns:mix="http://openuri.org/test/MixedContent"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Your Order is being Shipped.
<mix:name>John Doe</mix:name>
<mix:orderid>1000</mix:orderid>
Your expected Ship-date is: <mix:shipdate>2004-12... | {
"content_hash": "5b038f3eb32ee6fbc38c4c7fb9689e82",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 71,
"avg_line_length": 42.44444444444444,
"alnum_prop": 0.6884816753926701,
"repo_name": "crow-misia/xmlbeans",
"id": "53be90766cc6deea9cf7e5f4828b68924fe43fef",
"size": "38... |
package com.amazonaws.services.chime.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTerminationCredentials"
* target="_top">AWS API Documentation</a>
*/
@Generated("com.amazonaws:aws-java-... | {
"content_hash": "81b17c0af28dbc671a8c3f9a468a283e",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 146,
"avg_line_length": 31.096774193548388,
"alnum_prop": 0.6664937759336099,
"repo_name": "aws/aws-sdk-java",
"id": "1c8deb6f635f172db06d1918a75f5c633f4ba788",
"size": "25... |
service 'openhab' do
supports restart: true, start: true, stop: true, reload: true
action :nothing
end
template 'openhab' do
path '/etc/init.d/openhab'
source 'openhab.erb'
owner 'root'
group 'root'
mode '0755'
notifies :enable, 'service[openhab]'
notifies :start, 'service[openhab]'
end
| {
"content_hash": "db236173ba5a3d31f5184f04d6bd5a39",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 63,
"avg_line_length": 22,
"alnum_prop": 0.6948051948051948,
"repo_name": "JustinAiken/openhab-cookbook",
"id": "e2af7abdc0cdb6145d8357c60592cb225d6eabff",
"size": "406",
... |
package com.amazonaws.services.clouddirectory.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListIndex" target="_top">AWS API
* Documentation</a>
*/
@Generated("com.amazonaws:aws-java-sdk-code-gen... | {
"content_hash": "8e39a923c8219e337d6b29fcfb038e60",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 142,
"avg_line_length": 29.624365482233504,
"alnum_prop": 0.6058944482522276,
"repo_name": "dagnir/aws-sdk-java",
"id": "e97b4f6e1b1226563181651947dee284eb3e3666",
"size":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "86caad002e6c83921bd4e0c30dd3351f",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 136,
"avg_line_length": 37.51327433628319,
"alnum_prop": 0.6803491389478651,
"repo_name": "Nocturnana/jpush-docs",
"id": "fff656fd26cadecf7b34b9df3e1c5d58bd357b8f",
"size"... |
//
// (C) Copyright 2005-2009 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limite... | {
"content_hash": "bfad5d97175975a5233062e55ed9c9f2",
"timestamp": "",
"source": "github",
"line_count": 1297,
"max_line_length": 91,
"avg_line_length": 32.28064764841943,
"alnum_prop": 0.6106573039075188,
"repo_name": "kevinzhwl/ObjectARXCore",
"id": "3216b3209549f9f7acc5e56c5654acbff177a6af",
"siz... |
'use strict'
const Entities = require('html-entities').AllHtmlEntities;
const entities = new Entities();
module.exports = {
decodeHtmlSymbols: s => {
return entities.decode(s)
},
parseLiUserTag: s => {
while (s.indexOf('<li-user') > -1) {
// Find user tag.
let liUserTag = s.replace(s.substri... | {
"content_hash": "602672fb8fec27d930844813521debc8",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 116,
"avg_line_length": 30.153846153846153,
"alnum_prop": 0.6096938775510204,
"repo_name": "vimla-se/lithium-nodebb-migrator",
"id": "eb789e2c9675d2c09ab5cffc9e90ec809deadee6... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/jonathan/Documents/cucei2016B/sbc/se-ov/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-eu-rES/values-eu-rES.xml -->
<eat-comment/>
<string msgid="4600421777120114993" name="abc_action_b... | {
"content_hash": "88c6cbeb855b291eccdad21d6ccc8bb7",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 191,
"avg_line_length": 96,
"alnum_prop": 0.7576992753623188,
"repo_name": "jonajgs/se-ov",
"id": "2f37762b2653387efbde968d5f6751fb565647b8",
"size": "2210",
"binary": fa... |
<?php
// Insert:: INSERT INTO `wrud`.`classlist` (`id`, `owner`, `created`, `classcode`) VALUES (NULL, 'aidancornelius@research.tfel.edu.au', '2014-07-15 12:15:00', '8883cc34');
// Insert User:: INSERT INTO `wrud`.`teachers` (`id`, `emailaddress`, `created`, `password`) VALUES (NULL, 'aidancornelius@research.tfel.edu... | {
"content_hash": "d71cfd19ba69376cc1c5483df92242b7",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 181,
"avg_line_length": 31.535714285714285,
"alnum_prop": 0.6727066817667045,
"repo_name": "TfEL/guru-reservations",
"id": "67f80208b95081dbb9ae83044a2c3a4508869bd4",
"size... |
Huffman
=======
Huffman Compression and Decompression
| {
"content_hash": "ca54cd796ab858aa249c23c0face97b9",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 37,
"avg_line_length": 13.75,
"alnum_prop": 0.7454545454545455,
"repo_name": "CKBird/Huffman",
"id": "d9f043691670f847beae31e88831d418a0cd1d9c",
"size": "55",
"binary": fa... |
"use strict";
var Tinkerforge = require('tinkerforge');
var devices = require('../lib/devices');
module.exports = function(RED) {
function tinkerForgeRotaryPoti(n) {
RED.nodes.createNode(this,n);
this.device = n.device;
this.sensor = n.sensor;
this.name = n.name;
this.topic ... | {
"content_hash": "0b29c1c79a4a59a97839384c2b09907f",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 90,
"avg_line_length": 30.70909090909091,
"alnum_prop": 0.5020722320899941,
"repo_name": "tyrrellsystems/node-red-contrib-tinkerforge",
"id": "f96a5fb96ed78757eb735f7be1c3e7f... |
module PlazrStore
class DiscountType < ActiveRecord::Base
# Overrides some basic methods for the current model so that calling #destroy sets a 'deleted_at' field to the current timestamp
include PZS::ParanoiaInterface
## Relations ##
has_many :promotions
has_many :promotional_codes
## Attribu... | {
"content_hash": "d08fb4061b458a676b455fa9825b6fb9",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 132,
"avg_line_length": 35.47826086956522,
"alnum_prop": 0.6899509803921569,
"repo_name": "Plazr/plazr_store",
"id": "54838fd2584e29c02206554b181a140d3c8c3372",
"size": "83... |
cask 'milanote' do
version '1.4.8'
sha256 '3455d4310937518feb8844831fd9c7adaed24f97b49d6ec1f7e2edc7b49ab7a7'
# milanote-app-releases.s3.amazonaws.com was verified as official when first introduced to the cask
url "https://milanote-app-releases.s3.amazonaws.com/Milanote-#{version}.dmg"
appcast 'https://www.mi... | {
"content_hash": "ee55e0fd049f7d1161b487fd3b389517",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 101,
"avg_line_length": 38.76190476190476,
"alnum_prop": 0.6609336609336609,
"repo_name": "scribblemaniac/homebrew-cask",
"id": "c9f235fd7747e482ceaea1621d96d08806f3c100",
... |
namespace Atata
{
/// <summary>
/// Represents the text select control (<c><select></c>).
/// Default search is performed by the label.
/// Selects an option using text.
/// Option selection is configured via <see cref="SelectOptionBehaviorAttribute"/>.
/// Possible selection behavio... | {
"content_hash": "6f045d136c1ea01caf84356d6f5143f9",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 113,
"avg_line_length": 48.333333333333336,
"alnum_prop": 0.6816091954022988,
"repo_name": "YevgeniyShunevych/Atata",
"id": "fb5c7c7f118e6dce08c104cab2dded0ef69b272e",
"siz... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6e37bc3243e4b1e73773f2f2689e4b20",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "cd82d0eab0a45f7f2a6d1d61a28e67b25bf8a4e8",
"size": "173... |
<sky-modal>
<sky-modal-header>{{ title }}</sky-modal-header>
<sky-modal-content>
<form [formGroup]="form" (submit)="modal.save()">
<ng-container *ngFor="let field of fields" class="row">
<ng-container [ngSwitch]="title">
<ng-container *ngSwitchDefault>
<sky-input-box>
... | {
"content_hash": "8c5071bd31745ff37639b00dfd127e9a",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 79,
"avg_line_length": 30.79245283018868,
"alnum_prop": 0.47058823529411764,
"repo_name": "blackbaud/skyux",
"id": "1804a704789a2ad92e71cbf8ba60d5247559e5f0",
"size": "1632... |
package org.keycloak.configuration;
import java.util.Map;
import java.util.TreeMap;
import org.eclipse.microprofile.config.spi.ConfigSource;
/**
* The only reason for this config source is to keep the Keycloak specific properties when configuring the server so that
* they are read again when running the server a... | {
"content_hash": "d299ff71d4a35e8a574edd4e80749245",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 121,
"avg_line_length": 28.657894736842106,
"alnum_prop": 0.6666666666666666,
"repo_name": "vmuzikar/keycloak",
"id": "cb798e5e8d2f9d5c2b5a8dd378dd2b58103a8df8",
"size": "1... |
<?php
namespace Black\Component\Page\Domain\Model;
/**
* Interface WebPageWriteRepository
*/
interface WebPageWriteRepository
{
public function add(WebPage $webPage);
public function remove(WebPage $webPage);
}
| {
"content_hash": "ff5c3abb65b187d4b45b0e12b7139495",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 45,
"avg_line_length": 17.23076923076923,
"alnum_prop": 0.75,
"repo_name": "black-project/page",
"id": "00f2c400d3945d1b89dc04b558cb3e94873a28d1",
"size": "443",
"binary"... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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 co... | {
"content_hash": "94585f33660a8eae63309fa73091884e",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 201,
"avg_line_length": 42.35,
"alnum_prop": 0.5608028335301063,
"repo_name": "cdwijayarathna/carbon-identity",
"id": "79178cc1b0b5bf6bff00eeb034e3ced799681a33",
"size": "3... |
package io.netty.channel;
import static org.junit.Assert.assertTrue;
import io.netty.bootstrap.Bootstrap;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.LoggingHandler.Event;
import io.netty.channel.local.LocalAddress;
import org.junit.Test;
public class ReentrantChannelTest extends BaseChannelT... | {
"content_hash": "01116dfeecc41bd06b35b315bbe66853",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 95,
"avg_line_length": 31.67058823529412,
"alnum_prop": 0.6367013372956909,
"repo_name": "kyle-liu/netty4study",
"id": "3f75017e3d6f8b62ddaa719949419f9d71068b2b",
"size": "... |
require 'set'
require 'jinx/helpers/inflector'
require 'jinx/helpers/validation'
module CaTissue
class AbstractSpecimen
# Sets the specimen type to the specified value. The value can be a permissible caTissue String value or
# the shortcut symbols :fresh, :fixed and +:frozen+.
#
# @param [String, Sym... | {
"content_hash": "7ffe6d0da7662ec73f7ec728ad1b811a",
"timestamp": "",
"source": "github",
"line_count": 336,
"max_line_length": 128,
"avg_line_length": 45.913690476190474,
"alnum_prop": 0.6953393401179749,
"repo_name": "caruby/tissue",
"id": "16faa621b3332881bae279061a1985df54b95596",
"size": "1542... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>W28602_text</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;">
... | {
"content_hash": "cdb2721fdcaf2046443223f1dd3441b1",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 352,
"avg_line_length": 55.084210526315786,
"alnum_prop": 0.712019873877317,
"repo_name": "datamade/elpc_bakken",
"id": "69a7b6ca4c030cf2436a685215ab2505a00e8221",
"size": ... |
package org.http4s
import java.util.Locale
import scalaz.scalacheck.ScalazProperties
import org.http4s.parser.Rfc2616BasicRules
import org.scalacheck.Prop.forAll
import Http4s._
class MethodSpec extends Http4sSpec {
import Method._
"parses own string rendering to equal value" in {
forAll(tokens) { token =... | {
"content_hash": "7ee67c216dc3e5d51ed6b85ec6e44b78",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 88,
"avg_line_length": 25.675,
"alnum_prop": 0.6777020447906524,
"repo_name": "hvesalai/http4s",
"id": "904a23ec1069a150bf2c12c494627940bb65d563",
"size": "1027",
"binary... |
@implementation XBMessage
@end
| {
"content_hash": "7328add19467a7459f3197d10783adc0",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 25,
"avg_line_length": 10.666666666666666,
"alnum_prop": 0.8125,
"repo_name": "EugeneNguyen/XBChatModule",
"id": "31a6aabf6d346c90e10466a99c8b3e8d61793010",
"size": "137",
... |
<?php
defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' );
/**
* Allow to purge the Varnish cache
*
* @since 2.6.8
*
* @param bool true will force the Varnish purge
*/
if ( apply_filters( 'do_rocket_varnish_http_purge', false ) || get_rocket_option( 'varnish_auto_purge', 0 ) ) :
/**
* Purge all the domain
*... | {
"content_hash": "fb93c6b9d08ce093f6fb7e4f59e7787c",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 111,
"avg_line_length": 29.537037037037038,
"alnum_prop": 0.6495297805642634,
"repo_name": "smile-monkey/xusah.boutique",
"id": "a7182e0a3d6afa774599d64f426333dccb577ffa",
... |
package io.openvidu.recording.java.test;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.junit.Assert;
impor... | {
"content_hash": "add6bdbdf68ef10f74a922ab104a95cb",
"timestamp": "",
"source": "github",
"line_count": 301,
"max_line_length": 131,
"avg_line_length": 34.475083056478404,
"alnum_prop": 0.7137901127493496,
"repo_name": "OpenVidu/openvidu-tutorials",
"id": "0ae058295456e7ca758a12f9abfbfcfc73963088",
... |
// RobotBuilder Version: 1.5
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the ... | {
"content_hash": "8a9716c63b7db53ee4f05903cfacfe40",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 81,
"avg_line_length": 36.379746835443036,
"alnum_prop": 0.6903270702853166,
"repo_name": "FRCTeam1073-TheForceTeam/SwerveBaseJ",
"id": "16a88fe11415d8b1d493551a0276e6d5f6010... |
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "fd0d2272aa8bd82ed8cf31a250526e41",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 23,
"avg_line_length": 9.076923076923077,
"alnum_prop": 0.6779661016949152,
"repo_name": "mdoering/backbone",
"id": "a419cbd4fd95ea6b3a3f81d0052d2a7af399d56a",
"size": "169... |
import { ReplaceCommand } from 'vs/editor/common/commands/replaceCommand';
import { CursorColumns, CursorConfiguration, ICursorSimpleModel, EditOperationResult, EditOperationType, isQuote } from 'vs/editor/common/controller/cursorCommon';
import { Range } from 'vs/editor/common/core/range';
import { Selection } from ... | {
"content_hash": "5e67336836e7754c5f5bc13faa956336",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 183,
"avg_line_length": 33.808035714285715,
"alnum_prop": 0.6949689687046084,
"repo_name": "0xmohit/vscode",
"id": "e1a7cf779d65577485e48306c412ea3645d8cec6",
"size": "792... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
Geologica romana 7: 150.
#### Original name
null
### Remarks
null | {
"content_hash": "dcf022485a0e00b85f697aaaf0e3582c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 12.461538461538462,
"alnum_prop": 0.7222222222222222,
"repo_name": "mdoering/backbone",
"id": "0b60413975094dabe45fdd3905015736c7da77c6",
"size": "23... |
require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the BuffersHelper. For example:
#
# describe BuffersHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# expect(helper.concat_strings("this","that")).to eq("this that")
# end
# en... | {
"content_hash": "59b8966dfb8bc8b3dee308660b3d3806",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 71,
"avg_line_length": 29.266666666666666,
"alnum_prop": 0.6902050113895216,
"repo_name": "buildmore/buffercaster",
"id": "023f3c599346caae529836985788136823547529",
"size"... |
using System;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace MachiningCloudManager
{
public class WebApiApplication : HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterA... | {
"content_hash": "1bdf56e2d6f2a97c4f3b84f57209965c",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 70,
"avg_line_length": 26.833333333333332,
"alnum_prop": 0.687888198757764,
"repo_name": "thomhong/MachiningCloudManager",
"id": "d798597f6662dcd14dce917cc7fe73261f42a013",
... |
package org.sagebionetworks.web.client.widget.table.modal.download;
import com.google.gwt.user.client.ui.IsWidget;
/**
* This view shows the options that for a table query download.
*
* @author John
*
*/
public interface CreateDownloadPageView extends IsWidget {
/**
* The type of file to create.
*
* @... | {
"content_hash": "211308bec01376aec013e91a4fdf4e6c",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 67,
"avg_line_length": 18.104477611940297,
"alnum_prop": 0.638911788953009,
"repo_name": "Sage-Bionetworks/SynapseWebClient",
"id": "7eb40214080f1a3f5dfea0517aed1f1b23ee982d"... |
using Umbraco.Core.Services;
using System;
using System.Linq;
using System.Web.UI.WebControls;
using Umbraco.Core;
using Umbraco.Core.IO;
namespace umbraco.presentation.umbraco.dialogs
{
public partial class insertMasterpageContent : Umbraco.Web.UI.Pages.UmbracoEnsuredPage
{
public insertMasterpageCon... | {
"content_hash": "76f7507cfd804db9c5f67a69726ae969",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 90,
"avg_line_length": 30.71153846153846,
"alnum_prop": 0.6073888541014402,
"repo_name": "lars-erik/Umbraco-CMS",
"id": "96b1006de549a3c7145d0a8dfd229d0108670fff",
"size": ... |
#ifndef __BTRFS_COMPRESSION_
#define __BTRFS_COMPRESSION_
void btrfs_init_compress(void);
void btrfs_exit_compress(void);
int btrfs_compress_pages(int type, struct address_space *mapping,
u64 start, unsigned long len,
struct page **pages,
unsigned long nr_dest_pages,
unsigned long *out_pages,
un... | {
"content_hash": "63ef68973160144f15edbd6141160753",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 78,
"avg_line_length": 30.710526315789473,
"alnum_prop": 0.681662382176521,
"repo_name": "AlbandeCrevoisier/ldd-athens",
"id": "f49d8b8c0f00cf6fb41a988681ec4c89615a9ae5",
"... |
// caffe2/caffe2/core/flags.cc
#include "platform/caffe2_flags.h"
#include <stdlib.h>
#include <sstream>
namespace bubblefs {
namespace mycaffe2 {
void SetUsageMessage(const std::string& str) {
if (UsageMessage() != nullptr) {
// Usage message has already been set, so we will simply return.
return;
}... | {
"content_hash": "3818a0bd5b2e1d9f9454876fefa660b2",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 78,
"avg_line_length": 21.714285714285715,
"alnum_prop": 0.7092105263157895,
"repo_name": "mengjiahao/bubblefs",
"id": "713d863761f1d56f618366ce14506e1040623027",
"size": "... |
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">8dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
</resources> | {
"content_hash": "12f61059ead7d98f51544f6088764704",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 71,
"avg_line_length": 41.8,
"alnum_prop": 0.7081339712918661,
"repo_name": "lulumeya/billiards",
"id": "e65e003ab64056dd6bcc4d2a232fab9e628e3bbc",
"size": "209",
"binary"... |
package org.elasticsearch.index.mapper;
import org.apache.lucene.document.DoubleRange;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.FloatRange;
import org.apache.lucene.document.InetAddressPoint;
import org.apache.lucene.document.InetAddressRange;
import org.apache.lucene.document.IntRan... | {
"content_hash": "a61665d7c5e429d32124468cc0e18aca",
"timestamp": "",
"source": "github",
"line_count": 966,
"max_line_length": 137,
"avg_line_length": 45.53623188405797,
"alnum_prop": 0.5817723015367827,
"repo_name": "brandonkearby/elasticsearch",
"id": "1f1cdd71e4b1141037767267eaee7386c276565f",
... |
/*----------------------
AUTHORS: Tuan Anh Nguyen
DESCRIPTION: system stuffs and declarations used by the runtime
Modified by L.Winkler (2008-2009) for Version 1.3
P.Kuonen February 2010 (GetHost, GetIP, add POPC_Host_Name,...)
for version 1.3m (see comments 1.3m)
----------------------*/
#inc... | {
"content_hash": "0fc0054310a67c4471932362e5e6f553",
"timestamp": "",
"source": "github",
"line_count": 509,
"max_line_length": 229,
"avg_line_length": 25.49901768172888,
"alnum_prop": 0.619693350797442,
"repo_name": "GaretJax/pop-analysis-suite",
"id": "388cce5bf8a689f90d331d23d61161bd0250367c",
"... |
package org.andengine.entity.primitive;
import java.util.ArrayList;
import java.util.List;
import org.andengine.opengl.vbo.DrawType;
import org.andengine.opengl.vbo.VertexBufferObjectManager;
import org.andengine.opengl.vbo.attribute.VertexBufferObjectAttribute;
import android.util.Log;
/**
*
* @author Rodrigo ... | {
"content_hash": "211b276514af286e123342251ebf74a3",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 203,
"avg_line_length": 33.23026315789474,
"alnum_prop": 0.6032468818055831,
"repo_name": "Ullauri/Armada",
"id": "f875e58045ca8be7c4b21493398df06a1fe1f6e2",
"size": "5051... |
package com.organic.maynard.outliner;
import com.organic.maynard.outliner.dom.Document;
import com.organic.maynard.outliner.guitree.*;
import com.organic.maynard.outliner.util.preferences.*;
import java.awt.*;
import javax.swing.*;
/**
* @author $Author: maynardd $
* @version $Revision: 1.22 $, $Date: 2004/01/3... | {
"content_hash": "a4168d271d4c5aeba644a96dd706c545",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 109,
"avg_line_length": 26.313868613138688,
"alnum_prop": 0.6941747572815534,
"repo_name": "hashrock/JOutliner",
"id": "74588a8613486eb544e709b59354e86e3ed6a31d",
"size": ... |
<div class="commune_descr limited">
<p>
Gujan-Mestras est
une ville géographiquement positionnée dans le département de Gironde en Aquitaine. Elle comptait 17 031 habitants en 2008.</p>
<p>À Gujan-Mestras, le prix moyen à la vente d'un appartement s'évalue à 2 983 € du m² en vente. Le prix moyen ... | {
"content_hash": "6fb066a363382a89ec0e65c190fb169f",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 250,
"avg_line_length": 95.4090909090909,
"alnum_prop": 0.7527393997141496,
"repo_name": "donaldinou/frontend",
"id": "b3f5a043efb4365e46543eefe29e8b982beaa3c4",
"size": "2... |
package com.arrow.acn.client.model;
import com.arrow.acs.client.model.AuditableDocumentModelAbstract;
public class GlobalTagModel extends AuditableDocumentModelAbstract<GlobalTagModel> {
private static final long serialVersionUID = -9212539571362347963L;
private String name;
private String tagType;
private Str... | {
"content_hash": "63b5a61be78f10059b4d1f54ed6c3ea1",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 84,
"avg_line_length": 18.452380952380953,
"alnum_prop": 0.7535483870967742,
"repo_name": "arrow-acs/acn-sdk-java",
"id": "8155fd5c92789a648667cdb0460a4396b6802390",
"size"... |
namespace Ness
{
namespace Gui
{
GuiManager::GuiManager(Renderer* renderer, const String& resources_path)
: m_renderer(renderer), m_resources_path(resources_path + "/")
{
// create the root container
m_root_container = ness_make_ptr<RootContainer>(this);
// set defaults
m_unit_size = Point(32, 32... | {
"content_hash": "89d1b3ad110f9b84aa1b2f7d4a210b4f",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 111,
"avg_line_length": 30.830065359477125,
"alnum_prop": 0.6404494382022472,
"repo_name": "aquafox/debuggame",
"id": "1272a80739a5099ca41d01f000c12434a78f844f",
"size": "... |
<div class="commune_descr limited">
<p>
Meljac est
un village
localisé dans le département de l'Aveyron en Midi-Pyrénées. On dénombrait 145 habitants en 2008.</p>
<p>Le parc de logements, à Meljac, se décomposait en 2011 en deux appartements et 98 maisons soit
un marché plutôt équilibré.</p>
<p>La comm... | {
"content_hash": "9f791abb4d5f756558d1d41dbc8061a5",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 127,
"avg_line_length": 73.77777777777777,
"alnum_prop": 0.7326807228915663,
"repo_name": "donaldinou/frontend",
"id": "bb24878e64601af5fb640073090f5fa2a112e2fd",
"size": "... |
<?php
namespace ZenAPI;
class WeiboClient extends BaseClient{
/**
*
* @var string
*/
public $access_token;
/**
* Set up the API root URL.
*
* @ignore
*/
public $host = "https://api.weibo.com/2/";
/**
*
* @var string
*/
public $remote_ip = null;
/**
*
* @var string
*/
public $f... | {
"content_hash": "dbaacebc572640fd1b7352f7f99f11e6",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 61,
"avg_line_length": 17.12121212121212,
"alnum_prop": 0.5876106194690266,
"repo_name": "libern/zenapi",
"id": "753da1be0310ab21d44e22be0086051870088bc2",
"size": "1130",
... |
package org.spongepowered.common.world.gen.builders;
import static com.google.common.base.Preconditions.checkNotNull;
import net.minecraft.block.BlockTallGrass;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import org.spongepowered.api.data.type.ShrubType;
import org.spongepowered.api.util.weighted.Varia... | {
"content_hash": "0ea3bf658744cb560d9811d2e244c6f5",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 87,
"avg_line_length": 29.477272727272727,
"alnum_prop": 0.6823438704703161,
"repo_name": "Grinch/SpongeCommon",
"id": "cd784fb180ecd7c1bf931a4f62da6f9cd7ee5383",
"size": "... |
FROM ubuntu:14.04
RUN apt-get update && \
apt-get -y install clamav-daemon && \
freshclam
RUN mkdir -p /var/run/clamav
ADD ./clamd.conf /etc/clamav/clamd.conf
CMD ["clamd", "--config-file=/etc/clamav/clamd.conf"]
| {
"content_hash": "4b955916efc3c7f63151763d218a7ced",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 53,
"avg_line_length": 20.181818181818183,
"alnum_prop": 0.6801801801801802,
"repo_name": "ukwa/docker-clamd",
"id": "041ab39ce785566ddc936062871ae1320e0114d8",
"size": "22... |
#include "omxtypes.h"
#include "armOMX.h"
#include "omxVC.h"
#include "armCOMM.h"
#include "armVC.h"
/**
* Function: omxVCM4P10_InterpolateHalfHor_Luma (6.3.5.5.1)
*
* Description:
* This function performs interpolation for two horizontal 1/2-pel positions
* (-1/2,0) and (1/2, 0) - around a full-pel positi... | {
"content_hash": "f75b7c5a80d8bf33e315380e4ef0ab8a",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 93,
"avg_line_length": 34.86486486486486,
"alnum_prop": 0.5604651162790698,
"repo_name": "AndroidOpenSourceProject/platform_frameworks_av",
"id": "ef0befac2d71676b4f095cb1bc... |
#include "taichi/codegen/cpu/codegen_cpu.h"
#include "taichi/runtime/program_impls/llvm/llvm_program.h"
#include "taichi/common/core.h"
#include "taichi/util/io.h"
#include "taichi/util/lang_util.h"
#include "taichi/program/program.h"
#include "taichi/ir/ir.h"
#include "taichi/ir/statements.h"
#include "taichi/util/st... | {
"content_hash": "9f3d97950062f2a36c484677d76db3df",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 152,
"avg_line_length": 35.8259385665529,
"alnum_prop": 0.6331332761741449,
"repo_name": "yuanming-hu/taichi",
"id": "b58b26cd5659babc8099bc025de73678cb464db8",
"size": "1... |
//===--- SwiftCompletion.cpp ----------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | {
"content_hash": "e61b2b8fb9521363b607192726bed4ac",
"timestamp": "",
"source": "github",
"line_count": 1315,
"max_line_length": 83,
"avg_line_length": 37.24638783269962,
"alnum_prop": 0.6807815594438433,
"repo_name": "jopamer/swift",
"id": "5b9907c0854f50a6e7e4e83499f1344b701baec5",
"size": "48979... |
<?xml version="1.0" encoding="UTF-8"?>
<rootTag>
<Award>
<AwardTitle>NSF East Asia Summer Institutes for US Graduate Students</AwardTitle>
<AwardEffectiveDate>06/01/2007</AwardEffectiveDate>
<AwardExpirationDate>05/31/2008</AwardExpirationDate>
<AwardAmount>4579</AwardAmount>
<AwardInstrument>
... | {
"content_hash": "31804d489655dc786cfc965d3f3e691d",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 668,
"avg_line_length": 42.94230769230769,
"alnum_prop": 0.7142857142857143,
"repo_name": "jallen2/Research-Trend",
"id": "821cd296894fc854d0a07041102488cb7c669fe0",
"size"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search... | {
"content_hash": "8d3ebf169cc55e0ad4b45022e5fc5964",
"timestamp": "",
"source": "github",
"line_count": 422,
"max_line_length": 337,
"avg_line_length": 70.08530805687204,
"alnum_prop": 0.73985664051934,
"repo_name": "wave2future/gdkit",
"id": "f1f1bc8c9ec03d4ee64b84d55e1573922c0ba872",
"size": "295... |
function title_underline {
local len=$1
while [[ $len -gt 0 ]]; do
printf "="
len=$(( len - 1))
done
printf " ===\n"
}
(
if [[ -r data/devstack-plugins-registry.header ]]; then
cat data/devstack-plugins-registry.header
fi
sorted_plugins=$(python3 tools/generate-devstack-plugins-lis... | {
"content_hash": "7fbd5dc0d7c00aa49a4d66c15ad59d07",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 79,
"avg_line_length": 25.224489795918366,
"alnum_prop": 0.5849514563106796,
"repo_name": "nawawi/openstack",
"id": "3307943df9b157c948ef2ad84834bc579c7af244",
"size": "293... |
from django.contrib.auth.models import AnonymousUser
from django.db import models
from django.template import Engine, RequestContext
from django.test import RequestFactory
from cms.toolbar.toolbar import CMSToolbar
from .conf import settings
from .utils import get_cleaned_text
def get_field_value(obj, name):
fie... | {
"content_hash": "b391a10e8723b7cf6db3c478b71b6f84",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 78,
"avg_line_length": 30.71212121212121,
"alnum_prop": 0.6748889985199803,
"repo_name": "AccentDesign/djangocms-site-search",
"id": "ec6fb49d2343018fa3a8090a77971ce7810332fc... |
namespace cc {
GeometryBinding::GeometryBinding(WebKit::WebGraphicsContext3D* context, const gfx::RectF& quadVertexRect)
: m_context(context)
, m_quadVerticesVbo(0)
, m_quadElementsVbo(0)
, m_initialized(false)
{
float vertices[] = { quadVertexRect.x(), quadVertexRect.bottom(), 0.0f, 0.0f, 1.0f,
... | {
"content_hash": "211c46cc57e440453942f99523823031",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 140,
"avg_line_length": 50.38235294117647,
"alnum_prop": 0.642148277875073,
"repo_name": "zcbenz/cefode-chromium",
"id": "e69e537dc72b19ff8cd901354053b6d214607312",
"size":... |
<?php
/**
* Class hello_world3
*
* Object-oriented plugin
*
* HTML for module can be found in /chmp/documentation/Example_modules.html
*
*/
class chmp_plugin_hello_world3 {
private $chmp_plugin_vars,$chmp_plugin_content;
/**
* @var array
*/
private $chmp_plugin_settings;
/**
* @param array $chmp_plug... | {
"content_hash": "2d2eb30a39ffb13348faa66cf9ac9555",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 97,
"avg_line_length": 18.972972972972972,
"alnum_prop": 0.5698005698005698,
"repo_name": "Krillko/chmp",
"id": "5986e4967d8a5fbcb5cbb54738e372643c39d12e",
"size": "1404",
... |
import { Injectable } from '@angular/core';
import { AbstractControl, FormArray, FormGroup } from '@angular/forms';
import { filter } from 'rxjs/operators/filter';
import { Subject } from 'rxjs/Subject';
import * as Ajv from 'ajv';
import * as _ from 'lodash';
import {
hasValue, isArray, isDefined, isEmpty, isObjec... | {
"content_hash": "78e8162564d198e0b740ad06b6219c4d",
"timestamp": "",
"source": "github",
"line_count": 675,
"max_line_length": 122,
"avg_line_length": 40.83111111111111,
"alnum_prop": 0.6566162330829796,
"repo_name": "dschnelldavis/angular2-json-schema-form",
"id": "372f51c2eae52441788770141913ec494... |
<?php
/**
* A view that accept themes system
*
* @package dinThemePlugin
* @subpackage lib.view
* @author Nicolay N. Zyk <relo.san@gmail.com>
*/
class dinThemeView extends dinHamlView
{
/**
* @var array Layout slots holder
*/
protected $slotHolder = null;
... | {
"content_hash": "d22a87ac5926f14d5cac8e368b26e842",
"timestamp": "",
"source": "github",
"line_count": 331,
"max_line_length": 103,
"avg_line_length": 31.522658610271904,
"alnum_prop": 0.5066129959746981,
"repo_name": "relo-san/dinThemePlugin",
"id": "74798ce884b859194f2adbfbb8e5f529e8ad967f",
"si... |
"use strict";
! function(root, factory) {
if ("function" === typeof define && define.amd) {
define(function(require) {
factory(require("devextreme/localization"))
})
} else {
if ("object" === typeof module && module.exports) {
factory(require("devextreme/... | {
"content_hash": "64752cd95c41c3fb79f7970b385f469e",
"timestamp": "",
"source": "github",
"line_count": 533,
"max_line_length": 263,
"avg_line_length": 66.2701688555347,
"alnum_prop": 0.6355246022309042,
"repo_name": "cdnjs/cdnjs",
"id": "bc14be05d5b50fed7f3403428084ed4ed35306f8",
"size": "35578",
... |
/*
Theme Name: HUT SCTV Underscore
Adding support for language written in a Right To Left (RTL) direction is easy -
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.
https://codex.wordpress.org/Right_to_Left_Language_Support... | {
"content_hash": "39a859a108a8c9625f02d669812011bc",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 80,
"avg_line_length": 22.294117647058822,
"alnum_prop": 0.7598944591029023,
"repo_name": "scmwebdev/hut.sctv.co.id",
"id": "195001c2a0c3862e5ed98955189e831eccb86586",
"siz... |
<?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 Lice... | {
"content_hash": "aa8234b487f583b323038c74a6b37b72",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 108,
"avg_line_length": 39.674157303370784,
"alnum_prop": 0.5553667516284339,
"repo_name": "wu-sheng/sky-walking",
"id": "4f963991e583e2d8ecae6c9a03b8c689b951902f",
"size":... |
package org.apache.kafka.streams.integration;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.common.serialization.Deserializer;
import org.apache.kafka.common.serialization.IntegerSerializer;
import org.apache.kafka.common.serialization.LongDeserializer;
import org.apache.kafka.commo... | {
"content_hash": "b26b36dfb223d98f8aa39eea98655f2c",
"timestamp": "",
"source": "github",
"line_count": 299,
"max_line_length": 113,
"avg_line_length": 39.23076923076923,
"alnum_prop": 0.6249786871270248,
"repo_name": "geeag/kafka",
"id": "d672fd06e020ae4536cd526ccc20e068c8c75a14",
"size": "12518",... |
'use strict';
/**
* @class
* Initializes a new instance of the ResourceUsageListResult class.
* @constructor
* Output of check resource usage API.
*
* @member {string} [nextLink] URL to get the next set of custom domain objects
* if there are any.
*
*/
class ResourceUsageListResult extends Array {
constru... | {
"content_hash": "3e665ec6dc57e70f24c19b0132711dba",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 79,
"avg_line_length": 21.967741935483872,
"alnum_prop": 0.5073421439060205,
"repo_name": "AuxMon/azure-sdk-for-node",
"id": "a3d7098658de95b2a779857061d9e14044479d7e",
"si... |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101... | {
"content_hash": "1750a5fc8120b184416f4b63ade7e73f",
"timestamp": "",
"source": "github",
"line_count": 292,
"max_line_length": 263,
"avg_line_length": 45.42465753424658,
"alnum_prop": 0.6596049457177322,
"repo_name": "aa6my/GRR",
"id": "0a2753280c4e195b16b6b1d7867d7f979be3050e",
"size": "13264",
... |
package net.kilger.mockins.instructor;
import net.kilger.mockins.Mockins;
/**
* <p>The "instructor" objects returned by {@link Mockins#instructor(Object)}
* implement this interface.
* (Currently only a marker interface, this will later be used
* for further control of the instructor.)</p>
*/
public interfa... | {
"content_hash": "e803175cc30e3964b9f32bdd87ec2704",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 78,
"avg_line_length": 26.928571428571427,
"alnum_prop": 0.7320954907161804,
"repo_name": "kilgerm/mockins",
"id": "189257f7dba6cea8261d2cbb9d3f1b539be27a1a",
"size": "377"... |
package com.hoserdude.toboot.service;
import com.hoserdude.toboot.domain.User;
import com.hoserdude.toboot.domainRepository.UserRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDe... | {
"content_hash": "53e6b892d2a2e7c55f9f0d91c3498598",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 106,
"avg_line_length": 38.311688311688314,
"alnum_prop": 0.5786440677966102,
"repo_name": "hoserdude/to-boot",
"id": "a8891584033ecb40076d13db683e87856282c275",
"size": "2... |
document.onkeypress=function(event){
console.log('mama mila ramu');
}; | {
"content_hash": "19f312786ed5f99ad96aaf08cede0a2f",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 36,
"avg_line_length": 24.666666666666668,
"alnum_prop": 0.7162162162162162,
"repo_name": "MaoCzedun/SearchWidget",
"id": "3f78f776fa6b9f3307f06db17c0f53cc7e5a404d",
"size":... |
/**
* www.TheAIGames.com
* Heads Up Omaha pokerbot
*
* Last update: May 07, 2014
*
* @author Jim van Eeden, Starapple
* @version 1.0
* @License MIT License (http://opensource.org/Licenses/MIT)
*/
package bot;
import java.util.HashMap;
import java.util.Map;
import poker.Card;
import poker.H... | {
"content_hash": "8f6f87628167a1ee97b17cd5d07e6922",
"timestamp": "",
"source": "github",
"line_count": 247,
"max_line_length": 101,
"avg_line_length": 27.125506072874494,
"alnum_prop": 0.6013432835820895,
"repo_name": "stilkin/ai-poker",
"id": "738410f83bb9847f60f1afe9cb57cdcfdedf3188",
"size": "6... |
<?php
declare(strict_types=1);
namespace OpenCFP;
final class WebPath implements PathInterface
{
public function basePath(): string
{
return '/';
}
public function uploadPath(): string
{
return '/uploads/';
}
public function assetsPath(): string
{
return '/... | {
"content_hash": "6119ff70df5f5e666462d47a6338c7da",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 44,
"avg_line_length": 13.52,
"alnum_prop": 0.5828402366863905,
"repo_name": "PHPBenelux/opencfp",
"id": "01646553feb9a8a7683e6a9dde52058b8d5b6e66",
"size": "556",
"binar... |
#ifndef __SCRIPT_INSTANCE_H__
#define __SCRIPT_INSTANCE_H__
#include "foundation/core/refcounted.h"
#include "foundation/util/scriptbind.h"
#include "foundation/util/monoapi.h"
#include "app/scriptfeature/inc/script_fwd_decl.h"
#include "appframework/app_fwd_decl.h"
//#include "app/physXfeature/PhysicsShapeComponent.... | {
"content_hash": "0aa459778d3bbab98f9f15224cbaeb38",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 124,
"avg_line_length": 32.23376623376623,
"alnum_prop": 0.6206688154713941,
"repo_name": "EngineDreamer/DreamEngine",
"id": "cf3f1a72701c03fde74bd66f2d2b1d3b4379a2d3",
"s... |
package com.capone.recordvalidation.csv;
import java.util.ArrayList;
import java.util.List;
import org.drools.KnowledgeBase;
import org.drools.runtime.StatefulKnowledgeSession;
import com.capone.processes.ManageDT;
import com.capone.recordvalidation.Record;
public class DataQualityTest {
public static void main(... | {
"content_hash": "377eaf7846968a4a291780aad5c728f3",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 70,
"avg_line_length": 25.363636363636363,
"alnum_prop": 0.7247311827956989,
"repo_name": "anurag-saran/BRMS-DataQuality",
"id": "14d7a54e0bdd6ace3f8fac7aa99e0fed4731bd4f",
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap... | {
"content_hash": "2ad02e6b5972eb7a5e6cd712e6d46202",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 72,
"avg_line_length": 34.666666666666664,
"alnum_prop": 0.6673076923076923,
"repo_name": "CAPS-Robotics/FRC-Scouting-app",
"id": "83b187803e5dc0a01a7b6253877b5b538f8957c2",
... |
layout: default
modal-id: 31
date: 2010-09-15
img: dylangatto.jpg
thumb: dylangatto.sm.jpg
alt: image-alt
project-date: 2017
client: Commission
category: Painting
description: Dylan Dog and Cagliostro the cat. Acrylic painting on board. Private collection.
---
| {
"content_hash": "8f064eb536d6f88ddb51c0391939add6",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 93,
"avg_line_length": 21.833333333333332,
"alnum_prop": 0.7824427480916031,
"repo_name": "AlessiaLenti/alessialenti.github.io",
"id": "86af77df6303936383df3d00d0c01b387a4e78... |
// Provides control sap.ui.commons.Callout.
sap.ui.define(['jquery.sap.global', './CalloutBase', './library', "./CalloutRenderer"],
function(jQuery, CalloutBase, library, CalloutRenderer) {
"use strict";
/**
* Constructor for a new Callout.
*
* @param {string} [sId] ID for the new control, generated autom... | {
"content_hash": "99d0ad16318899963c2eefc757e47314",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 153,
"avg_line_length": 30.382978723404257,
"alnum_prop": 0.680672268907563,
"repo_name": "cschuff/openui5",
"id": "54be8e06e3a95ee1242c38efa520423a30e31ccf",
"size": "1451... |
extern crate proc_macro;
use proc_macro::{TokenStream, TokenTree, Ident, Punct, Spacing, Span};
#[proc_macro]
pub fn make_struct(input: TokenStream) -> TokenStream {
match input.into_iter().next().unwrap() {
TokenTree::Ident(ident) => {
vec![
TokenTree::Ident(Ident::new("struct"... | {
"content_hash": "7e51148b2814e7aa52beec0e4a698747",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 88,
"avg_line_length": 35.2,
"alnum_prop": 0.5359848484848485,
"repo_name": "graydon/rust",
"id": "9daee21aa17d458aea9794d9eac5a09d57baadb0",
"size": "1123",
"binary": fa... |
package io.quarkus.hibernate.orm.panache.deployment.test;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import io.quarkus.test.QuarkusUnitTest;
public class NoConfigTest {
... | {
"content_hash": "fe7b238e945782057979973569c31929",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 88,
"avg_line_length": 31.1,
"alnum_prop": 0.7540192926045016,
"repo_name": "quarkusio/quarkus",
"id": "8c68c2e4aba8c4f35a4a6d1c604bf3eef6356135",
"size": "622",
"binary"... |
package com.pokevian.app.smartfleet.ui.version;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.graphics.drawable.Drawable;
import android.os.Bund... | {
"content_hash": "d128a85c91e7ff14a23a21148dfe6b7a",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 77,
"avg_line_length": 32.63636363636363,
"alnum_prop": 0.6635097493036212,
"repo_name": "Pokevian/caroolive-app",
"id": "06ab0cfe10dde7fb3eea80a856a6c1362d1ada18",
"size":... |
<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */
$this->title = 'Sign In';
$fieldOptions1 = [
'options' => ['class' => 'form-group has-feedback'],
'inputTemplate' => "{input... | {
"content_hash": "18867f19585149ef10aabc1f88a681ed",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 129,
"avg_line_length": 35.88235294117647,
"alnum_prop": 0.5131147540983606,
"repo_name": "budipratama/admin_lte",
"id": "fd35100b93e79d4ce5da49eabe63aa54b9ddcfc8",
"size":... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/devtools/artifactregistry/v1beta2/file.proto
package com.google.devtools.artifactregistry.v1beta2;
/**
*
*
* <pre>
* A hash of file content.
* </pre>
*
* Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash}
*/
public... | {
"content_hash": "66d9977b227137a8a3438d68c6f8fac2",
"timestamp": "",
"source": "github",
"line_count": 834,
"max_line_length": 100,
"avg_line_length": 29.92086330935252,
"alnum_prop": 0.6561673479201732,
"repo_name": "googleapis/google-cloud-java",
"id": "74c6813ac4a44b571e17f81f2ceaf01010050a47",
... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springfra... | {
"content_hash": "d7b8723c7e8898c0118c915decf68dde",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 133,
"avg_line_length": 53.62903225806452,
"alnum_prop": 0.726015037593985,
"repo_name": "xubaifu/zheng",
"id": "533efe41870d83f2146801342cfecdd0094271d6",
"size": "3393",
... |
import discord
from discord.ext import commands
from PIL import Image, ImageDraw, ImageFont
import pathvalidate
import requests
import os
class Welcome:
def __init__(self, bot):
self.bot = bot
async def on_member_join(self, member):
template = Image.open('extras/template.png')
draw = ImageDraw.Draw(... | {
"content_hash": "18e820f309df1fbef9b7ae380857fc01",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 78,
"avg_line_length": 38.013698630136986,
"alnum_prop": 0.6518918918918919,
"repo_name": "heyitswither/Alpha-Bot",
"id": "fbb502ad90f5d8a4a1230f1afac94cfece1ab232",
"size"... |
package gov.nasa.ensemble.common.ui.treemenu;
import gov.nasa.ensemble.common.logging.LogUtil;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runtime.IAdaptable;
public abstract class IntrospectiveContextualCommandContributor {
private final Object IN... | {
"content_hash": "6e799ae24191a63458f9933834176533",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 167,
"avg_line_length": 31.689655172413794,
"alnum_prop": 0.745012694958288,
"repo_name": "nasa/OpenSPIFe",
"id": "674857067d20d18bdfa0cb7189283c3d61e51717",
"size": "3637"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.