text stringlengths 2 1.04M | meta dict |
|---|---|
@interface UIView (Util)
- (UILabel *) labelWithTag:(NSInteger) tag;
- (UIButton *) buttonWithTag:(NSInteger) tag;
- (UIImageView *) imageViewWithTag:(NSInteger) tag;
- (void) setText:(NSString *) text toLabelWithTag:(NSInteger) tag;
- (CGFloat)x;
- (void)setX:(CGFloat)x;
- (CGFloat)y;
- (void)setY:(CGFloat)y;
- (C... | {
"content_hash": "43de6f037e812416e8e39af9dbefb813",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 66,
"avg_line_length": 21.4,
"alnum_prop": 0.6939252336448598,
"repo_name": "YiQieSuiYuan/HealthMenu",
"id": "758b63801fb9837655c950260388a5a944b8fafe",
"size": "586",
"b... |
set -e
set -o pipefail
# Hack to make the Passenger RPM packaging tests on our Jenkins infrastructure work. Jenkins has UID 999 and GID 998.
# There is a user saslauth and group ssh_keys in the CentOS 7 container with these UID/GID, but we don't need them so we just delete them.
if grep -q 'release 7' /etc/redhat-rel... | {
"content_hash": "e829d3f7a6dc010fa9e826b3a0143784",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 167,
"avg_line_length": 36.27272727272727,
"alnum_prop": 0.7011278195488722,
"repo_name": "phusion/passenger_rpm_automation",
"id": "ec16905689dc93eb939ecd4d0f98ae0b6fe83c79"... |
<?php
namespace Jmondi\Gut\DomainModel\Entity\DTO;
class CertKeyDTO
{
/** @var resource */
private $publicKey;
/** @var resource */
private $privateKey;
public function __construct(
string $privateKey,
string $publicKey
) {
$this->publicKey = $publicKey;
$this->... | {
"content_hash": "8b88cb35ec79a6821f776913ae961f5e",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 44,
"avg_line_length": 19.071428571428573,
"alnum_prop": 0.5898876404494382,
"repo_name": "jasonraimondi/command-query",
"id": "ad844958f4fa9a6fcf116c39a51f217baa611747",
"... |
<!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_45) on Fri Jan 10 21:37:07 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | {
"content_hash": "d2a3df8e7fc6373ab20b8823049e59c1",
"timestamp": "",
"source": "github",
"line_count": 362,
"max_line_length": 592,
"avg_line_length": 75.61878453038673,
"alnum_prop": 0.7065463578578213,
"repo_name": "wanhao/IRIndex",
"id": "b4c8458409e4e9ad52274dc6262b7f7624eaaddf",
"size": "2737... |
package main
import (
"context"
"flag"
"fmt"
"io"
"os"
"time"
"github.com/jinzhu/gorm"
"github.com/oinume/lekcije/server/cli"
"github.com/oinume/lekcije/server/config"
"github.com/oinume/lekcije/server/crawler"
"github.com/oinume/lekcije/server/fetcher"
"github.com/oinume/lekcije/server/logger"
"github.c... | {
"content_hash": "b9bb24e8b6e094a57badd48b5825f861",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 109,
"avg_line_length": 27.273333333333333,
"alnum_prop": 0.6810070887313615,
"repo_name": "oinume/dmm-eikaiwa-fft",
"id": "1fd69ce84cc149f05dd79aead47972d398b37974",
"siz... |
package options
import (
"fmt"
"io"
"os"
"strings"
"time"
"github.com/spf13/pflag"
"gopkg.in/natefinch/lumberjack.v2"
"k8s.io/klog"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
auditv1 "k8s.io/apiserver/pkg/apis/audit/v1"
auditv1alpha1 "k8s.io/apiserver/pkg/apis/audit/v1alpha1"
... | {
"content_hash": "62b140874df6018011a1bd3323e2f3aa",
"timestamp": "",
"source": "github",
"line_count": 647,
"max_line_length": 153,
"avg_line_length": 34.106646058732615,
"alnum_prop": 0.7435084062174288,
"repo_name": "ateleshev/kubernetes",
"id": "240f0a7cbf749d2cd3d16e93c1c504594c773451",
"size"... |
use exonum_merkledb::{
access::{CopyAccessExt, RawAccess},
proof_map::{Hashed, ToProofPath},
BinaryKey, BinaryValue, Database, MapProof, ObjectHash, ProofMapIndex, TemporaryDB,
};
use proptest::{
prelude::prop::{
array,
collection::{btree_map, vec},
},
prelude::*,
test_runner... | {
"content_hash": "47458caa06e54f4fa756ee339501e4fe",
"timestamp": "",
"source": "github",
"line_count": 396,
"max_line_length": 88,
"avg_line_length": 26.636363636363637,
"alnum_prop": 0.5628555176336746,
"repo_name": "alekseysidorov/exonum",
"id": "2c591dc3f0e5dd486d8a43dbe570ac18d7630c46",
"size"... |
package net.bytebuddy.test.utility;
import org.junit.rules.MethodRule;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.Statement;
import org.newsclub.net.unix.AFUNIXSocket;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Retent... | {
"content_hash": "f2e27fcde227274ed271d74fa876d82d",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 101,
"avg_line_length": 27.58,
"alnum_prop": 0.6765772298767223,
"repo_name": "CodingFabian/byte-buddy",
"id": "6f44d5c86e239161683a9df9aec7a89799ce507c",
"size": "1379",
... |
"use strict";
module.exports = require("./is-implemented")() ? globalThis : require("./implementation");
| {
"content_hash": "7da7fd05643c6a85ab66dd4d15eed884",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 90,
"avg_line_length": 35.333333333333336,
"alnum_prop": 0.6886792452830188,
"repo_name": "arvenil/resume",
"id": "8a99c25e50590dbdb29be27abae46818d8da01c3",
"size": "106",
... |
package technology.tikal.gae.system.security.dao;
import org.springframework.security.core.userdetails.UserDetailsService;
import technology.tikal.gae.dao.template.EntityDAO;
import technology.tikal.gae.dao.template.FiltroBusqueda;
import technology.tikal.gae.pagination.model.PaginationData;
import technology.... | {
"content_hash": "e18862473871e3ec177ae086f80a75dd",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 132,
"avg_line_length": 42.25,
"alnum_prop": 0.8303747534516766,
"repo_name": "Nekorp/Tikal-Technology",
"id": "efc6e914f64ea8a4e49fb145b08d9e3af01f5adb",
"size": "507",
... |
@interface YKCastsCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *castsImage;
@property (weak, nonatomic) IBOutlet UILabel *castsLabel;
@property (weak, nonatomic) IBOutlet UILabel *characterLabel;
@end
| {
"content_hash": "c19baddf7c086292e1e947c2d8382494",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 61,
"avg_line_length": 38.166666666666664,
"alnum_prop": 0.8034934497816594,
"repo_name": "wyk111wyk/AmosMovie",
"id": "853a385184ab95fe93baab6352a6a43890f27ca7",
"size": "3... |
const mysql = require('mysql');
const config = require('./config')();
exports.query = function (sql) {
let connection;
function connect() {
connection = mysql.createConnection(config);
connection.connect(errorHandle);
connection.on('error', errorHandle)
}
function errorHandle(e... | {
"content_hash": "370acacb71d50f769fdaf840af2dfbb8",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 58,
"avg_line_length": 23,
"alnum_prop": 0.48695652173913045,
"repo_name": "newsolice/chefafa-library",
"id": "def89cfd58aa944bc2a8f397ed52fdee655ae049",
"size": "805",
"... |
python convnet.py --load-file "$1" \
--multiview-test 0 --test-only 1 --logreg-name logprob --test-range 6
python convnet.py --load-file "$1" \
--multiview-test 1 --test-only 1 --logreg-name logprob --test-range 6
| {
"content_hash": "b7bda8a00ce72a14962072397e4eabae",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 73,
"avg_line_length": 55.5,
"alnum_prop": 0.6666666666666666,
"repo_name": "hunse/cuda-convnet2",
"id": "3ac66bdcd77eef85edac9e24e1b3ab79c6ab7b60",
"size": "222",
"binary... |
<div class="col-md-12">
<section class="panel panel-featured panel-featured-primary">
<header class="panel-heading">
<h2 class="panel-title">Modificar Usuario</h2>
</header>
<ng-form id="Form" name="Form" ng-submit="submit()">
... | {
"content_hash": "531068e0b956ff909c4bcabb7229f776",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 203,
"avg_line_length": 80.16981132075472,
"alnum_prop": 0.5071781595669569,
"repo_name": "iglesiasdan/SAO",
"id": "c4f93b49b94a2b1999dbe1da5a8680a271f051c2",
"size": "4255... |
<?php declare(strict_types=1);
namespace Shale\Test\Support\Mock\Model;
use Shale\Annotation;
use Shale\Traits\Accessors;
/**
* @Annotation\Model(name="banner")
*/
class BannerModel
{
use Accessors;
/**
* @Annotation\Property(name="imageUrl", type="string")
*/
protected $imageUrl;
/**... | {
"content_hash": "48930f34cac08787bbdaa4174e82b836",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 71,
"avg_line_length": 17.708333333333332,
"alnum_prop": 0.6352941176470588,
"repo_name": "studionone/shale",
"id": "9d89f392e47890c4c41c5a726d519ae395379f7c",
"size": "425... |
// Github: https://github.com/shdwjk/Roll20API/blob/master/UniversalVTTImporter/UniversalVTTImporter.js
// By: The Aaron, Arcane Scriptomancer
// Contact: https://app.roll20.net/users/104025/the-aaron
const UniversalVTTImporter = (() => { // eslint-disable-line no-unused-vars
const scriptName = 'UniversalV... | {
"content_hash": "9a4ccde0db6c490a624e1ab712412720",
"timestamp": "",
"source": "github",
"line_count": 671,
"max_line_length": 260,
"avg_line_length": 35.47242921013413,
"alnum_prop": 0.5186959079068986,
"repo_name": "Roll20/roll20-api-scripts",
"id": "e627979d62ec42d4892fadfa5d956740c5d0e11b",
"s... |
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.kaaproject.kaa.server.common.thrift.gen.operations;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.sche... | {
"content_hash": "dbe65bc22a2d64651f844c517f35bfdb",
"timestamp": "",
"source": "github",
"line_count": 952,
"max_line_length": 193,
"avg_line_length": 32.59348739495798,
"alnum_prop": 0.6632827355054949,
"repo_name": "vzhukovskyi/kaa",
"id": "2734e4fe6af143f75e25ca987e4d2421132b6962",
"size": "310... |
namespace msgpack {
/// @cond
MSGPACK_API_VERSION_NAMESPACE(v1) {
/// @endcond
namespace adaptor {
template <typename K, typename V, typename Hash, typename Compare, typename Alloc>
struct as<
std::unordered_map<K, V, Hash, Compare, Alloc>,
typename std::enable_if<msgpack::has_as<K>::value && msgpack::has_as... | {
"content_hash": "d102e805d31fc7cf2156b0f650e7edfb",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 141,
"avg_line_length": 40.72560975609756,
"alnum_prop": 0.5759844288067076,
"repo_name": "Kronuz/Xapiand",
"id": "24ea17b9c0a747a9c1c91f5f824353cef05291a3",
"size": "7156... |
<?php
/**
* @namespace
*/
namespace ZendTest\XmlRpc\Server;
use Zend\XmlRpc\Server;
/**
* Test case for Zend\XmlRpc\Server\Cache
*
* @category Zend
* @package Zend_XmlRpc
* @subpackage UnitTests
* @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://... | {
"content_hash": "56e9140e450da577d71dc1eaa731838b",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 87,
"avg_line_length": 24.5625,
"alnum_prop": 0.5602205258693809,
"repo_name": "whitefire/zf2",
"id": "cce71875a59113f1b2b6897486ce78bfd8937dea",
"size": "3055",
"binary"... |
<?php
$factory->define(App\User::class, function (Faker\Generator $faker) {
return [
'first_name' => $faker->firstName,
'last_name' => $faker->lastName,
'email' => $faker->email,
'is_admin' => false,
'password' => str_random(10),
'rememb... | {
"content_hash": "e5369d119dd1324e2153fb05f21acd7f",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 112,
"avg_line_length": 28.307692307692307,
"alnum_prop": 0.5510869565217391,
"repo_name": "rmariuzzo/Pitimi",
"id": "19256e684d1fb5fe2797ef57c84d11f78908876e",
"size": "18... |
layout: kanji
v4: 465
v6: 504
kanji: 複
keyword: duplicate
elements: duplicate, cloak, fold back, double back, reclining, lying down, sun, day, walking legs
strokes: 14
image: E8A487
on-yomi: フク
permalink: /rtk/複/
prev: 腹
next: 欠
---
1) [<a href="http://kanji.koohii.com/profile/akimoto">akimoto</a>] 14-3-2007(238): My ... | {
"content_hash": "4bdff7c82a6deb5bc41fc2f0f0247c62",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 486,
"avg_line_length": 78.41666666666667,
"alnum_prop": 0.7364505844845909,
"repo_name": "hochanh/hochanh.github.io",
"id": "d4b8b572d318d450dc937f638ae6af8779dbba70",
"si... |
<!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"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<link rel="stylesheet" type="text/css" href="searc... | {
"content_hash": "2746f97e71bb12ff000a012263ab87e2",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 121,
"avg_line_length": 39.53846153846154,
"alnum_prop": 0.708171206225681,
"repo_name": "ggamelas/it2-komtuve",
"id": "c0dfa9d6b7b6d65bfe95269def215e9a93c24799",
"size": "... |
/**
*
*/
package com.jarp.tutorials.bigranchprohects.ch9;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import com.jarp.tutorials.bigranchprohects.R;
/**
* @author JARP
*
*/
public class Crim... | {
"content_hash": "9ee1958095e28c61bf9944963cd0356f",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 70,
"avg_line_length": 16.45,
"alnum_prop": 0.7193515704154002,
"repo_name": "imjarp/big-ranch-examples",
"id": "e9ed063b2541aa4c80fca0dd3fd6cd01e4318d77",
"size": "987",
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace VR
{
public class CameraFollowYRotation : MonoBehaviour {
public Camera cam;
public GameObject canvasParent;
public float timeMultiplier = 0.05f;
// Update is called once... | {
"content_hash": "944f76afcc1892d2a3383d84085abaf2",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 86,
"avg_line_length": 28.44,
"alnum_prop": 0.6258790436005626,
"repo_name": "schoffi92/Unity3D-Scripts",
"id": "20dfc6339ef5f6e6c99f51e4c8a4dd40d5005ef2",
"size": "711",
... |
import React, { Component } from 'react';
import { Button } from 'primereact/button';
import { ObjectUtils, DomHandler, classNames } from 'primereact/utils';
import { Ripple } from 'primereact/ripple';
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, ar... | {
"content_hash": "6c3b67dff65a1b2496003cf0b19264ff",
"timestamp": "",
"source": "github",
"line_count": 696,
"max_line_length": 429,
"avg_line_length": 33.49856321839081,
"alnum_prop": 0.6051469011366073,
"repo_name": "cdnjs/cdnjs",
"id": "2fe7f8a4fb16dd6ad9f3baab8040c7bcb298de5c",
"size": "23315",... |
<?php
class Dlayer_DesignerTool_ContentManager_Html_SubTool_Typography_Ribbon extends Dlayer_Ribbon_Content
{
/**
* Fetch the view data for the current tool tab, typically the returned array will have at least two indexes,
* one for the form and another with the data required by the preview functions
... | {
"content_hash": "397ddcc51b03b69d169cc9ecee38a273",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 119,
"avg_line_length": 30.25,
"alnum_prop": 0.5054724145633237,
"repo_name": "Dlayer/dlayer",
"id": "5e862ee2ae434544b68cc20a828da7ed01407637",
"size": "4678",
"binary"... |
package com.netflix.raigad.objectmapper;
import org.codehaus.jackson.JsonFactory;
import org.codehaus.jackson.Version;
import org.codehaus.jackson.map.DeserializationConfig;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.SerializationConfig;
import org.codehaus.jackson.map.module.Simple... | {
"content_hash": "3d60ae6bf4c6b79a79f996c14b6dffdc",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 108,
"avg_line_length": 34.72,
"alnum_prop": 0.7707373271889401,
"repo_name": "Netflix/Raigad",
"id": "d07be4e29e12781233b1b9e0f07d7f1ac26fa724",
"size": "1465",
"binary"... |
import { EventEmitter } from 'events';
import { Meteor } from 'meteor/meteor';
import { Random } from 'meteor/random';
import { EJSON } from 'meteor/ejson';
import { Log } from 'meteor/logging';
import { settings } from '../../settings';
import notifications from '../../notifications/server/lib/Notifications';
expor... | {
"content_hash": "b45ce02576330270fe2f10532f9cc3e4",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 101,
"avg_line_length": 24.970588235294116,
"alnum_prop": 0.6336866902237926,
"repo_name": "VoiSmart/Rocket.Chat",
"id": "3bff9032aafbe039cc9dffa9100b3f45d345a69e",
"size":... |
<?php
?>
<?php include("includes/header.php"); ?>
<div id="content">
<h6 class="clear">Diary</h6>
<div class="thumbnail"><a href="images/yoga.png" rel="lightbox[diary]" title="Yoga"><img src="images/yoga_thumb.png" height="46px" width="42px" alt="Yoga" /></a></div>
<div class="thumbnail"><a href="image... | {
"content_hash": "df913f531dedc7223606b1c880f6a023",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 232,
"avg_line_length": 84.78571428571429,
"alnum_prop": 0.6798652064026959,
"repo_name": "donnasaur/portfolio",
"id": "bc4060ee2c7eda84d62c14f025cd357b1b498b7d",
"size": "... |
Convolve
========
.. automodule:: sdf.convolve
:members: | {
"content_hash": "2fa304ff3937089397622f2bc1c6440a",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 28,
"avg_line_length": 12,
"alnum_prop": 0.6,
"repo_name": "drgmk/sdf",
"id": "837bce221fb3484004c8de139b8e2cbce8e7015b",
"size": "60",
"binary": false,
"copies": "1",
... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Attribute542643598.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic igno... | {
"content_hash": "cadc45b07977593a19455166649a5833",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 67,
"avg_line_length": 15.485714285714286,
"alnum_prop": 0.7546125461254612,
"repo_name": "WestlakeAPC/unity-game",
"id": "1643507d96560064ec6d111db26eb7f8242e4c20",
"size"... |
def allLongestStrings(in_array):
# Given an array of strings, return another containing only
# the longest strings (all strings with longest length equal).
lengths = [(len(str), str) for str in in_array]
max_len = max(lengths)
# Filter only lengths of strings with same length as max.
# These tup... | {
"content_hash": "0a54281006b176221ec8fae9ca5691cf",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 66,
"avg_line_length": 47.166666666666664,
"alnum_prop": 0.6908127208480566,
"repo_name": "Zubieta/CPP",
"id": "5eb1108fab75a71f9204b17a3582bc357cbe4cd1",
"size": "634",
... |
<?xml version="1.0" encoding="UTF-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#656666" android:endColor="#dbdedf" android:angle="270... | {
"content_hash": "ae2f11bd1fba4c835123a969299f6921",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 158,
"avg_line_length": 39.7037037037037,
"alnum_prop": 0.566231343283582,
"repo_name": "zoozooll/MyExercise",
"id": "a15404f97a47e7dc106c1334fed132e7f45d3ea4",
"size": "10... |
package eais
//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
//distribu... | {
"content_hash": "f4b71a15a33e823310a9f414f0d7d984",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 84,
"avg_line_length": 38.904761904761905,
"alnum_prop": 0.7600979192166463,
"repo_name": "aliyun/alibaba-cloud-sdk-go",
"id": "94ad6017e2fb929fc00063bf7256fd1d03e83358",
"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Cylindrocolla tenuis P. Karst.
### Remarks
null | {
"content_hash": "e4882129f8d3fb1d256b4b6e1edd56a7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 30,
"avg_line_length": 10.384615384615385,
"alnum_prop": 0.7037037037037037,
"repo_name": "mdoering/backbone",
"id": "0d18fe70e6dddeac5f7973d3a9d17363f38a96c1",
"size": "18... |
package org.apache.directory.server.core.partition.impl.btree.jdbm;
import java.io.IOException;
import jdbm.helper.Serializer;
import org.apache.directory.api.util.Strings;
/**
* A custom String serializer to [de]serialize Strings.
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project... | {
"content_hash": "cf16fbce8c1abdad7a31e296ad5fbfdd",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 110,
"avg_line_length": 23.7012987012987,
"alnum_prop": 0.5621917808219178,
"repo_name": "drankye/directory-server",
"id": "67853b17e32a054fcddc4a27520d01f889f2903d",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>sniffy-parent</artifactId... | {
"content_hash": "15c77266fb8fe1df1ae91c73d8a30e7a",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 131,
"avg_line_length": 35.1764705882353,
"alnum_prop": 0.5179765886287625,
"repo_name": "bedrin/jdbc-sniffer",
"id": "685e5a78b95c6f40525da39c78608fd8042a899b",
"size": "2... |
using System;
using Microsoft.Data.Entity;
using Microsoft.Data.Entity.Infrastructure;
namespace Pyrotech.IdentityServer3.AspNetIdentity3.EntityFramework7.DbContexts
{
public abstract class BaseDbContext : DbContext
{
protected BaseDbContext(DbContextOptions options)
: base(options)
... | {
"content_hash": "ea04728060237d85ffdc44b3fe511c04",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 84,
"avg_line_length": 24.708333333333332,
"alnum_prop": 0.6559865092748736,
"repo_name": "Bartthefish/PyrotechIdsrv3",
"id": "f2c643ad23d0ff8e0ff96243d810a799e50f61e0",
"s... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.casadocodigo</groupId>
<artifactId>casadocodigo</artifactId>... | {
"content_hash": "4ba90e48bea2162416216a5446a98d51",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 104,
"avg_line_length": 25.16593886462882,
"alnum_prop": 0.6906125281971196,
"repo_name": "tuliof/fj-27",
"id": "1f52ec251038b39b90db19497d65804d45dc71f5",
"size": "5763",... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/docnet.iml" filepath="$PROJECT_DIR$/.idea/docnet.iml" />
</modules>
</component>
</project>
| {
"content_hash": "257e130a026eb6fc44bd4d1afa29d0d1",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 106,
"avg_line_length": 29.555555555555557,
"alnum_prop": 0.650375939849624,
"repo_name": "kevstessens/docnetrails",
"id": "27555400445f47d3fd67f9d7e3b0f254ef6114a4",
"size"... |
namespace Network_Manager.Gadget.ControlPanel.InterfacePerformance
{
partial class InterfacePerformanceForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Cle... | {
"content_hash": "efb49d9a2f0b4332249cb56efc0ce57b",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 156,
"avg_line_length": 40.723684210526315,
"alnum_prop": 0.5751211631663974,
"repo_name": "SortByte/Network-Manager",
"id": "983664675cd4b5db0c5393d9fa692745cc791c49",
"si... |
declare namespace __React {
//
// React Elements
// ----------------------------------------------------------------------
type ReactType = ComponentClass<any> | string;
interface ReactElement<P> {
type: string | ComponentClass<P>;
props: P;
key: string | number;
re... | {
"content_hash": "52628ef6d684e2332424956c59d4523f",
"timestamp": "",
"source": "github",
"line_count": 2033,
"max_line_length": 103,
"avg_line_length": 30.73290703393999,
"alnum_prop": 0.576056338028169,
"repo_name": "JoshuaKGoldberg/Todo-Backbone-React-TypeScript",
"id": "428a8fea414eb6bebb665266e2... |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2016, 2013, Oracle and/or its affiliates. All rights reserved.
-->
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<task-flow-definition id="WelcomeToTheRDKFlow">
<default-activity id="__1">WelcomeToTheRDK</default-activity>
... | {
"content_hash": "364ee5134f54df5b5c0f516b9f0e244e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 76,
"avg_line_length": 37.84615384615385,
"alnum_prop": 0.6910569105691057,
"repo_name": "oracle-adf/apps-cloud-ui-kit",
"id": "1d50ce9634edc118a6d3c54c23c4496d42e729ae",
"... |
"""Command line tool help you debug your event definitions.
Feed it a list of test notifications in json format, and it will show
you what events will be generated.
"""
import json
import sys
from oslo.config import cfg
from stevedore import extension
from ceilometer.event import converter
from ceilometer import se... | {
"content_hash": "06d5f62889b234b65958a6dccfeccd9f",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 72,
"avg_line_length": 27.426470588235293,
"alnum_prop": 0.6375335120643432,
"repo_name": "lexxito/monitoring",
"id": "d9b6d70bfcc170fe6b78a4f351094d48e8b9a6f4",
"size": "2... |
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install -y python python-dev python-pip
sudo apt-get install -y libblas-dev liblapack-dev libatlas-base-dev gfortran
sudo pip install numpy==1.12.1
sudo pip install scipy==0.19.0
sudo pip install pyamg==3.2.1
sudo pip install psutil
sudo apt-get install -y... | {
"content_hash": "e5cff026ffee472dd31945817faf1f70",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 76,
"avg_line_length": 25.75,
"alnum_prop": 0.7718446601941747,
"repo_name": "clemsonciti/singularity-images",
"id": "abcddc152fdc83c7a7b01d57eae80152d0ab577a",
"size": "41... |
module Servant
module Mixin
class Trigger
def has_config
return @has
end
def get_poll
@poll
end
def get_periodical
@periodical
end
def initialize
@has = false
@poll
@periodical
end
... | {
"content_hash": "27aca7a6d934210ca6121ca280a7a1b4",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 27,
"avg_line_length": 14.588235294117647,
"alnum_prop": 0.4576612903225806,
"repo_name": "chobie/Servant",
"id": "9b8a1c20d1b3f66a998c2ebb90bc8e912549f80e",
"size": "496",... |
/**
*
*/
package com.jettmarks.clue.server.service;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import com.jettmarks.clue.client.service.RevealLevelService;
import com.jettmarks.clue.server.domain.Group;
/**
* @author jett
*
*/
public class RevealLevelServiceImpl extends RemoteServi... | {
"content_hash": "67f5ebae6b2cc600896a52029c27ed39",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 78,
"avg_line_length": 25.64,
"alnum_prop": 0.7215288611544461,
"repo_name": "jettmarks/clueRide",
"id": "3d7fabc7104ec257c7a43ebe4e4d00b1c7883fb6",
"size": "1282",
"bina... |
<?php
namespace Crmp\AccountingBundle\CoreDomain\DeliveryTicket;
use Crmp\AcquisitionBundle\Entity\Contract;
/**
* Delivery tickets
*
* Delivery tickets are the sum up of what has been delivered
* and will be part of an invoice.
* The delivery ticket helps keeping track of the work,
* what has been finished
... | {
"content_hash": "5c7016277e0f0db1631fd713189748af",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 76,
"avg_line_length": 20.52173913043478,
"alnum_prop": 0.5792372881355933,
"repo_name": "sourcerer-mike/crmp",
"id": "1aabdb8bee974ac1fee96c03009a7b5d79b35b0c",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a42aa818b5f9eae8f7a8107a7c0c6d46",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "b35d1ddf80db456dcdb818da284491159960baae",
"size": "194... |
require 'test_helper'
class UsersProjectTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
| {
"content_hash": "75b779de6ac1e6dc7007ae38a10335d0",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 48,
"avg_line_length": 18,
"alnum_prop": 0.7063492063492064,
"repo_name": "GDG-Regensburg/campusasyl_projectsdb",
"id": "70b97f0adffc93f89fe0478a981c4531df12f7a6",
"size": "... |
package com.github.eventasia.eventstore.event;
public interface EventasiaMessageConverter {
public byte[] serialize(EventasiaMessage message);
public EventasiaMessage deserialize(byte[] message);
}
| {
"content_hash": "3fc983a3c7a2a7bdb84506a372bf8ffd",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 56,
"avg_line_length": 26.125,
"alnum_prop": 0.7942583732057417,
"repo_name": "Eventasia/eventasia",
"id": "73938574fdcb660518d16839a985f71c231da5d6",
"size": "209",
"bina... |
package co.mewf.minirs.servlet;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import co.mewf.minirs.internal.javax.ws.rs.WebApplicationException;
import co.mewf.minirs.internal.javax.ws.rs.core.MediaType;
import co.mewf.minirs.internal.... | {
"content_hash": "757e02892960b4359d0476565dace8e9",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 123,
"avg_line_length": 35.93103448275862,
"alnum_prop": 0.7869481765834933,
"repo_name": "mewf/minirs-core",
"id": "4866b5d4fcfbab763bd20596a6d6f934d7cb5689",
"size": "104... |
<?php
class Tritac_ChannelEngine_Model_Carrier_Channelengine
extends Mage_Shipping_Model_Carrier_Abstract
implements Mage_Shipping_Model_Carrier_Interface
{
/** @var string Shipping method system code */
protected $_code = 'channelengine';
protected $_isFixed = true;
/**
* Collect and g... | {
"content_hash": "c6891cab34d8859d75b7dfeb213a1f7e",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 87,
"avg_line_length": 26.279411764705884,
"alnum_prop": 0.6245103525461667,
"repo_name": "channelengine/magento",
"id": "bb735aa46bcca6265b7331ab43999f65e476521a",
"size":... |
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the ... | {
"content_hash": "2822c24e48595f4840ae8f69d5457335",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 281,
"avg_line_length": 51.27777777777778,
"alnum_prop": 0.7849404117009751,
"repo_name": "yuyedaidao/AmazingButton",
"id": "cb8ea34f887e4dff2a1838c358d54884f8af560b",
"siz... |
<!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": "d578693537d88d2a4ea417274161ffe3",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 168,
"avg_line_length": 45.97714285714286,
"alnum_prop": 0.6400695998011434,
"repo_name": "XLabs/xlabs.github.io",
"id": "e08a9eedf0d19794faa3cd4f3c3b730629a3de6a",
"size"... |
<?php
namespace Floppy\Server\FileHandler;
use Symfony\Component\HttpFoundation\Response;
use Floppy\Common\FileHandler\PathMatcher;
use Floppy\Common\FileId;
use Floppy\Common\FileSource;
use Floppy\Common\FileType;
abstract class AbstractFileHandler implements FileHandler
{
private $pathMatcher;
private $r... | {
"content_hash": "3bffc4cf6fcdb4879013cdfd5993adb3",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 142,
"avg_line_length": 26.767123287671232,
"alnum_prop": 0.6622313203684749,
"repo_name": "zineinc/floppy-server",
"id": "a6e0134663db1e67f3499e0bc4cddefba6f8ab54",
"size"... |
package apps::antivirus::kaspersky::snmp::mode::logicalnetwork;
use base qw(centreon::plugins::templates::counter);
use strict;
use warnings;
my $instance_mode;
sub custom_status_threshold {
my ($self, %options) = @_;
my $status = 'ok';
my $message;
eval {
local $SIG{__WARN__} = sub { $mess... | {
"content_hash": "a9d741f2cc371fb6dcb7c8257a50530c",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 139,
"avg_line_length": 32.56410256410256,
"alnum_prop": 0.512755905511811,
"repo_name": "wilfriedcomte/centreon-plugins",
"id": "ba5743ff2fbe919555a9fa63e714c2a089a8a47a",
... |
MySafenet is complementary to the [SAFE Demo App](https://maidsafe.readme.io/docs/demo-app) and aims to help you explore
the capabilities of the SAFE Network and serve as a sample of a non trivial application built on it.
Once given authorization the main screen shows most of what is offered. You can manage Pub... | {
"content_hash": "76a4cb67fcf30c01ca81a57758003c01",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 122,
"avg_line_length": 41.94444444444444,
"alnum_prop": 0.7390728476821192,
"repo_name": "drunkcod/Safenet",
"id": "ddc3f7b96388670fa63da1112ea42d5d99df669f",
"size": "777... |
/* **********************************************
Begin TL.js
********************************************** */
/*!
TL
*/
(function (root) {
root.TL = {
VERSION: '0.1',
_originalL: root.TL
};
}(this));
/* TL.Debug
Debug mode
================================================== */
TL.debug = false;
/*... | {
"content_hash": "0b9fe2917b04521ceb82269ec6d3bc5a",
"timestamp": "",
"source": "github",
"line_count": 13386,
"max_line_length": 363,
"avg_line_length": 28.888017331540414,
"alnum_prop": 0.5645431153751664,
"repo_name": "dxa4481/dxa4481.github.io",
"id": "41d6212db80123c83489808dba321d07e7696815",
... |
<?php
namespace backend\models;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
use yii\behaviors\BlameableBehavior;
/**
* This is the model class for table "tb_satker_pic".
*
* @property integer $id
* @property integer $ref_satker_id
* @property string $code
* @property stri... | {
"content_hash": "60feb3ac9fd1af3453d2bebda188e3d6",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 102,
"avg_line_length": 25.934579439252335,
"alnum_prop": 0.4875675675675676,
"repo_name": "hscstudio/syawwal",
"id": "0534c32a32f00cf9a8123d2ab796d98502e28bd9",
"size": "... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class template null_index</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name... | {
"content_hash": "d71ebdc311b6fb663ae6d6b635ab0e49",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 488,
"avg_line_length": 87.81818181818181,
"alnum_prop": 0.6850701633310329,
"repo_name": "hsu1994/Terminator",
"id": "470efb4e41487c62ae9f5eb4afb9cfbebac71fa2",
"size": "8... |
/*
* Copyright (c) 2011-2015 Spotify AB
*
* 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 ... | {
"content_hash": "2f26f76cf2b87320ea0244637fb2ab4b",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 118,
"avg_line_length": 26.93577981651376,
"alnum_prop": 0.7125340599455041,
"repo_name": "spotify/async-google-pubsub-client",
"id": "4c325abb7d8ccbe7afdb1871b9bf59155b0452... |
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
... | {
"content_hash": "bbca2d2033fa1b2c1b17d1e844f79e88",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 383,
"avg_line_length": 55.03846153846154,
"alnum_prop": 0.7547169811320755,
"repo_name": "jmgomezvarela/AndroidQRIceBox",
"id": "5d7fd9fa515742c8509c5eb2086ee729e45e7197",
... |
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<!-- hack iOS CSS :active style -->
<body ontouchstart="">
{% include nav.html %}
{{ content }}
{% include footer.html %}
<!-- Image to hack wechat -->
<!-- <img src="/img/apple-touch-icon.png" width="0" height="0" /> -->
<!-- Migrate from head... | {
"content_hash": "741025d819c9cce8b22455fcb947814a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 75,
"avg_line_length": 17.818181818181817,
"alnum_prop": 0.5841836734693877,
"repo_name": "hb1love/hb1love.github.io",
"id": "a346bb20c019676abab6fff5c9d4a795d19fb342",
"si... |
<?php
session_start();
if (!isset($_SESSION['loggedin'])||($_SESSION['loggedin']==false))
header("location:./");
//if ((!isset($_POST['cluster'])) || (!isset($_POST[''])))
// header("location:./");
//if ((!isset($_POST['listCluster'])) || (!isset($_POST['nameCluster'])))
// header("location:./");
$host="lo... | {
"content_hash": "53097823475b4cb88f2800880cd9526b",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 82,
"avg_line_length": 28.513157894736842,
"alnum_prop": 0.6349792339640056,
"repo_name": "gfvillorente/ProjectiLaw",
"id": "c69c16a9bb7c9a63478988488107149f007d00d2",
"siz... |
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<set>
<objectAnimator android:propertyName="translationZ"
android:duration="@android:integer/config_shortAnimTime"
android:valueTo="4dp"
andro... | {
"content_hash": "01eef92ce70b71351f34ff355854f2f5",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 72,
"avg_line_length": 36.666666666666664,
"alnum_prop": 0.5803030303030303,
"repo_name": "smanikandan14/LollipopExperiments",
"id": "0395dc9b50d6aa604415829604217b3f08f5e5ce... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Database Type
| -------------------------------------------------------------------------
| If set to TRUE, Ion Auth will use MongoDB as its database backend.
|
|... | {
"content_hash": "14cc9a03d2a68de957a0517dd47cfbf0",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 177,
"avg_line_length": 44.31791907514451,
"alnum_prop": 0.5188470066518847,
"repo_name": "mandress64/cordova",
"id": "96f7806664e176e162c32ce493bd9df58c08b24a",
"size": "... |
import { Matrix } from '../../../math';
/*
* Calculates the mapped matrix
* @param filterArea {Rectangle} The filter area
* @param sprite {Sprite} the target sprite
* @param outputMatrix {Matrix} @alvin
*/
// TODO playing around here.. this is temporary - (will end up in the shader)
// thia returns a matrix that ... | {
"content_hash": "7a3c70d32cac8e8e60378a7f0dd2b30e",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 98,
"avg_line_length": 34.44736842105263,
"alnum_prop": 0.7383498854087089,
"repo_name": "leonardo-silva/pixi.js",
"id": "d27d8156caa3449b136867aef52db7380ebe2fc4",
"size":... |
package com.customweb.sass.testcases.css;
import java.io.IOException;
import java.net.URISyntaxException;
import org.junit.Test;
import org.w3c.css.sac.CSSException;
import com.customweb.sass.AbstractTestBase;
public class Properties extends AbstractTestBase {
String css = "/basic/properties.css";
@Test... | {
"content_hash": "941cddad63335f15b38ce19eb7385b4d",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 69,
"avg_line_length": 20.454545454545453,
"alnum_prop": 0.7333333333333333,
"repo_name": "customweb/sass-compiler",
"id": "f2e63cd854d1376208663674b2000a9728ad5e63",
"size... |
import demistomock as demisto
from CommonServerPython import *
import nltk
import re
from html.parser import HTMLParser
from html import unescape
html_parser = HTMLParser()
CLEAN_HTML = (demisto.args().get('cleanHtml', 'yes') == 'yes')
REMOVE_LINE_BREAKS = (demisto.args().get('removeLineBreaks', 'yes') == 'yes')
TOKEN... | {
"content_hash": "757a08124a988a9891ce2dd05b7cf306",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 88,
"avg_line_length": 27.12987012987013,
"alnum_prop": 0.6069889899473432,
"repo_name": "VirusTotal/content",
"id": "28d6ee737a55190e9582fcaa25ba594225964b49",
"size": "20... |
package server
import (
"errors"
"fmt"
"os"
"os/user"
"path/filepath"
"reflect"
"strconv"
"strings"
"time"
"github.com/influxdata/kapacitor/services/alerta"
"github.com/influxdata/kapacitor/services/config"
"github.com/influxdata/kapacitor/services/deadman"
"github.com/influxdata/kapacitor/services/hipch... | {
"content_hash": "8653b7e43deb24693ec91f0983e07a7a",
"timestamp": "",
"source": "github",
"line_count": 341,
"max_line_length": 123,
"avg_line_length": 30.193548387096776,
"alnum_prop": 0.679972804972805,
"repo_name": "titilambert/kapacitor",
"id": "770aa7fb83ee6231c894312653b7334e32a63dce",
"size"... |
package org.kuali.rice.krad.data.provider.annotation;
import com.google.common.annotations.Beta;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Represents ... | {
"content_hash": "1f99b8204e9a755de81b2646aa172c44",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 111,
"avg_line_length": 28.711111111111112,
"alnum_prop": 0.7151702786377709,
"repo_name": "mztaylor/rice-git",
"id": "6c36977509b730cdec068d6d98249452b5b2661c",
"size": "1... |
==========
Cl.Uniform
==========
1.2.3
-----
- added ``checked`` class option
1.2.2
-----
- fixed issue with uniform triggering extra change events on radio/checkboxes
1.2.1
-----
- fixed issue with uniform unchecking all the radios with same name in the document, now relies on browser behaviour
- explicitly hide kn... | {
"content_hash": "3befee5b0da6d315c7ceb5652c69ef23",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 116,
"avg_line_length": 22.83076923076923,
"alnum_prop": 0.7149595687331537,
"repo_name": "FinalAngel/classjs-plugins",
"id": "0067688579ec1ae4552c6710a8cc71165a1b7419",
"s... |
class image_draw_area : public Fl_Gl_Window
{
public:
image_draw_area( int x, int y, int w, int h, const char *l );
image_draw_area( int x, int y, int w, int h );
virtual ~image_draw_area(){ }
private:
bool interpolate_;
public:
void draw();
bool interpolate( bool b )
{
return( interpolate_ = b );
}
};
voi... | {
"content_hash": "6c6425ddf3d56913611ef438197ccebb",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 62,
"avg_line_length": 20.033333333333335,
"alnum_prop": 0.6930116472545758,
"repo_name": "yuugata/MIST",
"id": "ef971b24c065a14bcdf1b9bf836448f2caf45b34",
"size": "2887",
... |
const specifications = {
strict: false,
fields: {
license: {
mandatory: true,
type: 'string'
}
}
};
try {
const result = await kuzzle.collection.updateSpecifications('nyc-open-data', 'yellow-taxi', specifications);
console.log(result);
/*
{ strict: false,
fields: {
lic... | {
"content_hash": "31d62e2f202fe683ea6d57747128d0bd",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 110,
"avg_line_length": 18.8,
"alnum_prop": 0.574468085106383,
"repo_name": "kuzzleio/sdk-javascript",
"id": "af495e99a99132a3d4dbe9c18054d535c6a3cae2",
"size": "470",
"b... |
namespace swift {
namespace Mangle {
enum class SpecializationKind : uint8_t {
Generic,
NotReAbstractedGeneric,
FunctionSignature,
};
/// Inject SpecializationPass into the Mangle namespace.
using SpecializationPass = Demangle::SpecializationPass;
/// The base class for specialization mangles.
class Speciali... | {
"content_hash": "1e3084e8c0c1725346a9c5ee4cafc8e4",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 79,
"avg_line_length": 33.3051948051948,
"alnum_prop": 0.7161240007798791,
"repo_name": "karwa/swift",
"id": "a280c3f1d14de134a23cb8110abf476885f93740",
"size": "5945",
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eu_ES" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Nestorcoin</source>
<translation>Nestorcoin-i buruz</translation>... | {
"content_hash": "b2efd6c83d01f761a307bd28b803fa1a",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 394,
"avg_line_length": 34.32053479602331,
"alnum_prop": 0.5975148082666587,
"repo_name": "Nestorcoin/nestorcoin",
"id": "d2546528cceaecbb83a56355da30de8fe7138167",
"size... |
using NBitcoin;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Consensus.Rules;
namespace Stratis.Bitcoin.Features.Consensus.Rules.CommonRules
{
/// <summary>
/// Check that the block signature for a POS block is in the canonical format.
/// </summary>
/// <remarks>This rule can only be an int... | {
"content_hash": "e71623573c64145b72fd95cfb1b9edc4",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 127,
"avg_line_length": 42,
"alnum_prop": 0.6868131868131868,
"repo_name": "fassadlr/StratisBitcoinFullNode",
"id": "a21a15a8fc87219af822c9ebaea5dc2002d760d3",
"size": "109... |
package fema.edu.json.annotation;
import fema.edu.json.converter.JsonConverter;
/**
* Created by joao on 04/06/17.
*/
public @interface ElementConverter {
Class<? extends JsonConverter> converter();
}
| {
"content_hash": "954727f4d8579a82ae69fd15c09538fa",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 47,
"avg_line_length": 20.9,
"alnum_prop": 0.7320574162679426,
"repo_name": "jpsacheti/json-serializador",
"id": "5f7bd36aa71ad0bc608df6086773a4fbf27dae8d",
"size": "209",
... |
import React from 'react';
import { Link } from 'react-router-dom';
import {
familyLink,
seriesLink,
operationLink,
} from 'components/operations/routes';
import D from 'i18n';
export default ({ target }) => {
if (!target) return null;
const { target: targetURI } = target;
let link;
try {
link = familyLink(ta... | {
"content_hash": "fc5d16f142bc459194581b071678c774",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 63,
"avg_line_length": 18.194444444444443,
"alnum_prop": 0.6229007633587786,
"repo_name": "FranckCo/Operation-Explorer",
"id": "6a3fd0f3f3cd0451a5bad6f2de3df89c8704dc41",
"... |
using blink::WebString;
using blink::WebURL;
using blink::WebURLError;
using blink::WebURLLoader;
using blink::WebURLRequest;
using blink::WebURLResponse;
namespace {
class CefWebURLLoaderClient : public blink::WebURLLoaderClient {
public:
CefWebURLLoaderClient(CefRenderURLRequest::Context* context,
... | {
"content_hash": "04a0471ca19cf6b8b77c935f4d780f68",
"timestamp": "",
"source": "github",
"line_count": 360,
"max_line_length": 79,
"avg_line_length": 29.663888888888888,
"alnum_prop": 0.6482816743140744,
"repo_name": "bkeiren/cef",
"id": "8f537a7ae879ba720691ccce8dcf77725a318baa",
"size": "11556",... |
/*
* ModeShape (http://www.modeshape.org)
*
* 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 o... | {
"content_hash": "02facc135da92d94abf49187bb79b895",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 171,
"avg_line_length": 45.08695652173913,
"alnum_prop": 0.7502410800385728,
"repo_name": "flownclouds/modeshape",
"id": "11872086241ba64512889cc798c6470f40fe76b5",
"size":... |
<?php
namespace Pingpong\Admin\Controllers;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Support\Facades\Input;
use Pingpong\Admin\Entities\Role;
use Pingpong\Admin\Repositories\Roles\RoleRepository;
use Pingpong\Admin\Validation\Role\Create;
use Pingpong\Admin\Validation\Role\Update;
clas... | {
"content_hash": "23d50a80b511692ea4c5c8cc4e10e96f",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 92,
"avg_line_length": 22.903846153846153,
"alnum_prop": 0.5379233137419536,
"repo_name": "pingpong-labs/admin",
"id": "1c65e8acee22e4a74258cce568c2a6d9fedcc219",
"size": ... |
layout: documentation
title: Extensions examples
---
# Extensions examples
## <a name="macro"></a>Macro creating a rule
An example of a macro creating a rule.
`empty.bzl`:
```python
def _impl(ctx):
print("This rule does nothing")
empty = rule(implementation=_impl)
```
`extension.bzl`:
```python
# Loading the r... | {
"content_hash": "e8759c742cce73f48f4a4157b319b383",
"timestamp": "",
"source": "github",
"line_count": 942,
"max_line_length": 89,
"avg_line_length": 22.671974522292995,
"alnum_prop": 0.6475628599522405,
"repo_name": "LuminateWireless/bazel",
"id": "b011eee1eaa6b9e020b7b04beebd3fefb787c58d",
"size... |
<div class="container">
<div id="konga-nav-tabs" class="container-fluid">
<!--<div bs-tabs="tabs" ng-model="tabs.activeTab"></div>-->
<tabset>
<tab ng-repeat="tab in tabs" active="tab.active" select="operations.redirectTo(tab)">
<tab-heading>
<i ng-class="tab.type"></i></span>
... | {
"content_hash": "7470ebc15fbef5dafd00807c39ff3a7a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 139,
"avg_line_length": 37.1,
"alnum_prop": 0.5943396226415094,
"repo_name": "pritok/konga",
"id": "aa165dab7f1cf38ec29c01e2bb22c747de9c8f72",
"size": "742",
"binary": fa... |
package org.luizricardo.warppipe.pipeline;
import org.luizricardo.warppipe.api.Step;
import org.luizricardo.warppipe.api.StepContext;
import org.luizricardo.warppipe.api.StepData;
import org.luizricardo.warppipe.api.StepManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Optional;
/**
... | {
"content_hash": "6dfeedfaf09cef8bc0e3682f359aed17",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 120,
"avg_line_length": 32.82142857142857,
"alnum_prop": 0.6806311207834603,
"repo_name": "utluiz/warp-pipe",
"id": "36398a2a36f814a819976a3f7812f71f2b254550",
"size": "183... |
<!DOCTYPE HTML>
<!--
Arcana by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Angus Pollmann Portfolio</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" ... | {
"content_hash": "c8f20484e0842853deb501c116b15c44",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 250,
"avg_line_length": 33.51376146788991,
"alnum_prop": 0.5973172734738571,
"repo_name": "KuroFye/kurofye.github.io",
"id": "c8f22f88da90530e496e7c06dfbee2fa6b78806e",
"s... |
package com.google.api.ads.adwords.jaxws.v201506.cm;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* The result of a call to {@link CampaignFeedServic... | {
"content_hash": "488d0f433dabc78271dc2af0acf99b34",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 146,
"avg_line_length": 27.716216216216218,
"alnum_prop": 0.6357874207703559,
"repo_name": "andyj24/googleads-java-lib",
"id": "4249f5a2cee8c872c2b40cc30e2acf7e1f0172e7",
"... |
package de.mirkosertic.bytecoder.ssa;
import de.mirkosertic.bytecoder.core.BytecodeOpcodeAddress;
public class SuperTypeOfExpression extends Expression {
public SuperTypeOfExpression(final Program aProgram, final BytecodeOpcodeAddress aAddress, final Value aTarget) {
super(aProgram, aAddress);
r... | {
"content_hash": "f7cc96188a99f8939845eba038ab4fff",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 117,
"avg_line_length": 26.470588235294116,
"alnum_prop": 0.7466666666666667,
"repo_name": "mirkosertic/Bytecoder",
"id": "9b84f30429e88753eaaaf200ac85a4d5fa077708",
"size"... |
export default from 'redux-thunk';
| {
"content_hash": "26239dc4686e9773eb64d78ed5616ef5",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 34,
"avg_line_length": 35,
"alnum_prop": 0.7714285714285715,
"repo_name": "jfairbank/redux-resource",
"id": "ddef213d4d9feec4f880eca468a2ada2e8d312bd",
"size": "35",
"bina... |
<Page loaded="loaded">
<Page.actionBar>
<ActionBar title="Sign up"></ActionBar>
</Page.actionBar>
<StackLayout>
<Image src="res://logo" stretch="none" horizontalAlignment="center"/>
<TextField text="{{ email }}" id="email" hint="Email Address" keyboardType="email" autocorrect="false... | {
"content_hash": "06ab5c2a6fb0acaf5d31637863779f68",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 142,
"avg_line_length": 38.69230769230769,
"alnum_prop": 0.6322067594433399,
"repo_name": "dersteppenwolf/nativescript_examples",
"id": "0416054e4f062a8ed272f38bc405c39044916... |
package oauth
import (
"crypto/hmac"
"crypto/sha1"
"encoding/base64"
"errors"
"fmt"
"io/ioutil"
"math/rand"
"net/http"
"net/url"
"sort"
"strconv"
"strings"
"time"
)
const (
OAUTH_VERSION = "1.0"
SIGNATURE_METHOD = "HMAC-SHA1"
CALLBACK_PARAM = "oauth_callback"
CONSUMER_KEY_PARAM = "oau... | {
"content_hash": "a8dafa54e5c84c5431a086aeeeadd178",
"timestamp": "",
"source": "github",
"line_count": 744,
"max_line_length": 192,
"avg_line_length": 31.177419354838708,
"alnum_prop": 0.6848163476461459,
"repo_name": "dmnlk/gomadare",
"id": "0af8243834ce8c7fc70d13c9d32244a55289f8ba",
"size": "251... |
require 'sitehub/memoize'
class SiteHub
describe Memoize do
context :module_spec
let(:test_class) do
Class.new do
extend Memoize
def helper(*args)
result = block_given? ? yield : nil
[args, result].flatten.compact
end
memoize :helper
end
en... | {
"content_hash": "371880e2001c366be06caaf216eaa421",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 68,
"avg_line_length": 22.910714285714285,
"alnum_prop": 0.5502727981293842,
"repo_name": "lashd/site-hub",
"id": "f8698e2e7dd80249fff13c4e264416447c353a2a",
"size": "1283"... |
import { noop } from "lodash";
export = noop;
| {
"content_hash": "05936e62989d527451398a10214c677a",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 30,
"avg_line_length": 23,
"alnum_prop": 0.6521739130434783,
"repo_name": "micurs/DefinitelyTyped",
"id": "04e6cacbb37a0ae218bfe3469795bf0b8e812968",
"size": "369",
"binar... |
title: 'Family Support Services'
display_title: 'Family Support Services and Counselling'
visible: true
find_out_more:
contact: 'Salma El Rakhawy (Counsellor)'
phone: '<a href="tel:=0893455755">08 9345 5755</a>'
email: '<a href="mailto:=admin@mmrc.wa.gov.au">admin@mmrcwa.org.au</a>'
body_classes: text-cente... | {
"content_hash": "9c918223abfcf7653e8d5d4f86512027",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 300,
"avg_line_length": 67.55102040816327,
"alnum_prop": 0.7120845921450151,
"repo_name": "nicolasconnault/mmrcwa-grav",
"id": "773f44e2c578d18e1d8a2ed26e516574174bc66d",
"... |
/** @constructor */
ScalaJS.c.scala_languageFeature$implicitConversions$ = (function() {
ScalaJS.c.java_lang_Object.call(this)
});
ScalaJS.c.scala_languageFeature$implicitConversions$.prototype = new ScalaJS.inheritable.java_lang_Object();
ScalaJS.c.scala_languageFeature$implicitConversions$.prototype.constructor = S... | {
"content_hash": "d387fb5cb923a5cb7e6f7044e2ff1686",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 164,
"avg_line_length": 56.851063829787236,
"alnum_prop": 0.7829341317365269,
"repo_name": "ignaciocases/hermeneumatics",
"id": "1d464578d4074d9f4474ed2638321f8ac72ec3f1",
... |
/*Author:Martin.Holzherr;Date:20080922;Context:"PEG Support for C#";Licence:CPOL
* <<History>>
* 20080922;V1.0 created
* 20080929;SEMBLOCK_INDENTATION;improved indentation of local classes assocated to semantic blocks
* 20081001;//NOTIN_MISSING_PAREN;corrected code template for NotIn(...) where an opening pare... | {
"content_hash": "6390e704e5149ff6c13c5da7967ab0a9",
"timestamp": "",
"source": "github",
"line_count": 2366,
"max_line_length": 186,
"avg_line_length": 48.60735418427726,
"alnum_prop": 0.46843180731272555,
"repo_name": "rytmis/dotless",
"id": "bebcdbd7d4dd1f415086ae6e6d7ff7912b0df6a1",
"size": "11... |
use std::collections::{HashMap, HashSet, BinaryHeap, VecDeque};
use std::cmp::Ordering;
#[derive(Eq, PartialEq, PartialOrd, Debug, Copy, Clone)]
pub struct WeightedEdge {
v: usize,
w: usize,
weight: usize
}
impl WeightedEdge {
pub fn new(v: usize, w: usize, weight: usize) -> WeightedEdge {
We... | {
"content_hash": "2c2a56623a68d40e2bab29b729ac81f9",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 76,
"avg_line_length": 24.647058823529413,
"alnum_prop": 0.49134844868735084,
"repo_name": "Alex-Diez/Rust-TDD-Katas",
"id": "106febbb5138301ab8e9220196f60a3604124c7a",
"s... |
package edu.ucsb.cs56.w14.drawings.wjli;
import javax.swing.*;
/** SimpleGui1 comes from Head First Java 2nd Edition p. 355.
It illustrates a simple GUI with a Button that doesn't do anything yet.
@author Head First Java, 2nd Edition p. 355
@author P. Conrad (who only typed it in and added the Javadoc... | {
"content_hash": "468686fd74271e5025526e9c51e6729b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 77,
"avg_line_length": 31.636363636363637,
"alnum_prop": 0.6618773946360154,
"repo_name": "UCSB-CS56-W14/CS56-W14-lab06",
"id": "050da56bc518b8a0e4d95314d664ed826cfb728d",
... |
/**
* <!-- Package description. -->
* Demonstrates usage of cron-based scheduler.
*/
package org.apache.ignite.examples.misc.schedule;
| {
"content_hash": "23f011f971a00dc3faa6f97fe63b9303",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 49,
"avg_line_length": 20,
"alnum_prop": 0.6928571428571428,
"repo_name": "NSAmelchev/ignite",
"id": "5888bc2111726031a39b6a413a738fe8313fc8ec",
"size": "942",
"binary": f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.