text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
class Verify extends Eloquent {
protected $table = 'verify';
protected $primaryKey = 'code';
public $timestamps = false;
protected $fillable = ['id', 'code'];
static public function doVerify($code){
$data = self::find($code);
if(!$data) return false;
$user ... | {
"content_hash": "a6df7d0e38d72fca6ee9d1c666f26ad6",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 43,
"avg_line_length": 25.72222222222222,
"alnum_prop": 0.5248380129589633,
"repo_name": "newcxs/Taurus",
"id": "f9e81b47b002929c709cf40c00ae986072c83aa5",
"size": "463",
... |
#include "libxml++/parsers/saxparser.h"
#include "libxml++/nodes/element.h"
#include "libxml++/keepblanks.h"
#include <libxml/parser.h>
#include <libxml/parserInternals.h> // for xmlCreateFileParserCtxt
#include <cstdarg> //For va_list.
#include <iostream>
namespace xmlpp {
struct SaxParserCallback
{
static xml... | {
"content_hash": "457659ed1eaccef9ec8a92cd852f05b6",
"timestamp": "",
"source": "github",
"line_count": 620,
"max_line_length": 176,
"avg_line_length": 27.13225806451613,
"alnum_prop": 0.6673998335513018,
"repo_name": "alexandrustaetu/natural_editor",
"id": "204dd7d461f1b408814ae6efb0f92d6fb1af80d4",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_242) on Tue Mar 03 01:19:56 NOVT 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.foxlabs.... | {
"content_hash": "53381a0872e72c8d730690a92dd365c3",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 400,
"avg_line_length": 48.314655172413794,
"alnum_prop": 0.6783834418770631,
"repo_name": "foxinboxx/foxlabs-validation",
"id": "e84fce69f5d72067533eb28dc9c364b25cd5edf9",
... |
namespace blink {
namespace cssvalue {
String CSSGridIntegerRepeatValue::CustomCSSText() const {
StringBuilder result;
result.Append("repeat(");
result.Append(String::Number(Repetitions()));
result.Append(", ");
result.Append(CSSValueList::CustomCSSText());
result.Append(')');
return result.ReleaseString... | {
"content_hash": "b82eda8729fcb6749482eb2f4f99e0f0",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 75,
"avg_line_length": 27.25,
"alnum_prop": 0.7339449541284404,
"repo_name": "chromium/chromium",
"id": "89088d975c51534b22d74e9b470a1b6714e7246c",
"size": "843",
"binary... |
package com.jy.common.utils.weixin.core;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.nutz.lang.Strings;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.ext.DefaultHandler2;
/**
* 采用驱动式处理微信消息
* ... | {
"content_hash": "651595706040e1473325e146eba0aadf",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 95,
"avg_line_length": 28.107142857142858,
"alnum_prop": 0.48974405518242875,
"repo_name": "futureskywei/whale",
"id": "6032c04ac7dbf4b4f26a9173a2cf515f26a89e84",
"size": ... |
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment ... | {
"content_hash": "0893756ff2749f1bece3b3e79061d8bb",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 141,
"avg_line_length": 36.88590604026846,
"alnum_prop": 0.7025109170305677,
"repo_name": "azaghal/zinnia-drupal",
"id": "471457b66250828695ea46ca118605cd2e9619db",
"size"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Form</title>
</head>
<body>
<form>
<select name="prefix">
<option value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Ms">Ms</option>
</select><br>
First name:<br>
<input type="text" name="firstname"><br>
Last name:<br>... | {
"content_hash": "eb66b5728f0883f6eca93f65c5be606e",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 76,
"avg_line_length": 25.394736842105264,
"alnum_prop": 0.6424870466321243,
"repo_name": "superdyzio/PWR-Stuff",
"id": "3ee829568e8b3dfde45148be785bd2b401ec57e1",
"size": ... |
const simctl = require('simctl'),
shell = require('shelljs')
module.exports = {
start: function(device_id) {
var result = simctl.extensions.start(device_id);
if (result.code === 0) {
return true;
}
return false;
},
list: function() {
var siminfo... | {
"content_hash": "d380172df0643557bf9cc892ac4e8c97",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 80,
"avg_line_length": 20.56923076923077,
"alnum_prop": 0.4981301421091997,
"repo_name": "bookjam/jamkit",
"id": "154f4fe888a65ed30781f65ebef1b2ceedb9df92",
"size": "1337",... |
import template from './album.html';
import controller from './album.controller';
import './album.scss';
let albumComponent = {
restrict: 'E',
bindings: {
id: "=",
title: "=",
description: "=",
image: "="
},
controllerAs: 'vm',
template,
controller
};
export default albumComponent;
| {
"content_hash": "994aa64707080eab50d9dd581bc89b15",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 44,
"avg_line_length": 17.38888888888889,
"alnum_prop": 0.6166134185303515,
"repo_name": "smirnoffnew/ANGULAR_TEST",
"id": "8f31d33f04295c380fc26915b1534e5796bebb04",
"size... |
package general;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
public class ClassSpy {
private Class<?> c;
public ClassSpy(Class<?> c) {
this.c = c;
}
public List<Field> getFields() {... | {
"content_hash": "cc83f54a2a7448f07fbd46904f0f46cb",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 69,
"avg_line_length": 22.397260273972602,
"alnum_prop": 0.5253822629969419,
"repo_name": "VIRTWO/java",
"id": "5aa8421a9543c305e9720a7ee17e125849465c27",
"size": "1635",
... |
/*!
* Generated using the Bootstrap Customizer (http://v3.bootcss.com/customize/?id=963984441ae57bd17cfe)
* Config saved to config.json and https://gist.github.com/963984441ae57bd17cfe
*/
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.co... | {
"content_hash": "a847f323e0beac0ce5a2d2d43cd46488",
"timestamp": "",
"source": "github",
"line_count": 592,
"max_line_length": 208,
"avg_line_length": 43.66554054054054,
"alnum_prop": 0.7258413926499033,
"repo_name": "MRdou325/lvyou",
"id": "5924828e5fe608cdc68231f2d2e896753a04180e",
"size": "2601... |
// Copyright 2014 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | {
"content_hash": "c8b894a0dfebf791660bb92af4a1f43a",
"timestamp": "",
"source": "github",
"line_count": 642,
"max_line_length": 80,
"avg_line_length": 36.0202492211838,
"alnum_prop": 0.6386594594594595,
"repo_name": "nbareil/stenographer",
"id": "cc2f80ecb99d3d864d351c6cc1c1df2ce9842fd3",
"size": "... |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0" />
<meta name="format-detection" content="telephone=no">
<title>DynamicApp Test Application.</title>
<link rel="stylesheet" href="css/smoothness/jqu... | {
"content_hash": "36ba0e9726d89d79ce57e71f8b240eb6",
"timestamp": "",
"source": "github",
"line_count": 2986,
"max_line_length": 473,
"avg_line_length": 40.99263228399196,
"alnum_prop": 0.46206006339662103,
"repo_name": "dynamicapp/dynamicapp",
"id": "b7aba27069ba5f03bcead4078739ae4379b255e2",
"siz... |
FROM balenalib/up-board-ubuntu:cosmic-run
ENV GO_VERSION 1.15.6
# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make \
pkg-config \
git \
&& rm -rf /var/lib/apt/lists/*
RUN set -x \
&& fetchDeps=' \
curl \
' \
&& apt-get update && apt-get ins... | {
"content_hash": "a434992295110e4dbac63513da493826",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 687,
"avg_line_length": 50.369565217391305,
"alnum_prop": 0.7043590850237376,
"repo_name": "nghiant2710/base-images",
"id": "8f93e470a78ae1a4c95b7c74e72f1fec880a7bce",
"siz... |
import { magenta } from 'chalk';
import { bot, Response, dataSources } from '../../config';
import '../../env';
// eslint-disable-next-line
const namespace = 'download';
/* istanbul ignore next */
/**
* Test
* @param {Object} vorpal - Vorpal instance
* @returns {Object} test
*/
export async function promptDataTy... | {
"content_hash": "e0c01da635b59369dc6d1de362859be9",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 68,
"avg_line_length": 25,
"alnum_prop": 0.6458536585365854,
"repo_name": "domjtalbot/heritagebot",
"id": "daad6d2846b06d5d0b6eeff3709a6de3d905d14b",
"size": "1025",
"bin... |
<!-- Stylish portfolio startbootstrap.com -->
<html lang="en">
<head>
<!--Calendar-->
<link href="https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<link href="demo/MonthPicker.min.css" rel="stylesheet" type="text/css" />
<script src="https://code.jquery.com/j... | {
"content_hash": "4d554057343509beedb5961e6b8e32da",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 196,
"avg_line_length": 38.38785046728972,
"alnum_prop": 0.5220937309799147,
"repo_name": "acesinc/asm-website",
"id": "bb56f6869f389acf1d6148528d650d49cdfe1478",
"size": ... |
package org.basex.util;
import java.util.*;
import org.basex.util.list.*;
/**
* Convenience functions for handling arrays; serves as an extension to Java's {@link Arrays} class.
*
* @author BaseX Team 2005-16, BSD License
* @author Christian Gruen
*/
public final class Array {
/** Initial default size for new... | {
"content_hash": "890a7f53ce485b076b0305b875a12cdc",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 100,
"avg_line_length": 29.839357429718877,
"alnum_prop": 0.6407806191117092,
"repo_name": "joansmith/basex",
"id": "847996623a623f2669583619af4fb0d1fc87ddee",
"size": "74... |
import lodash from 'lodash';
// fix for node.js <= 3, it throws TypeError when value type invalid in weak set
function hasVisited(ast, visited) {
try {
return visited.has(ast);
} catch (e) {
return false;
}
}
function recursive(ast, visited) {
if (!ast || hasVisited(ast, visited)) {
return [];
}... | {
"content_hash": "c6d266db0fa09f2d1448929402375e23",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 80,
"avg_line_length": 21.23076923076923,
"alnum_prop": 0.5809178743961353,
"repo_name": "depcheck/depcheck",
"id": "875c32414977a2baf574ecacc8b6ecc472956efc",
"size": "828... |
import cv2
import zbar
from math import sqrt
import numpy as np
# Size of qr
class QRCode(object):
""" Represents a QR code.
Locations are not accurate.
Useful properties:
self.value: the value of the code.
self.points: numpy
self.X: X value of center
self.Y: Y value of c... | {
"content_hash": "626aa237a89026e5f2a7f314ae3a078d",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 112,
"avg_line_length": 26.945945945945947,
"alnum_prop": 0.5155466399197592,
"repo_name": "IEEERobotics/bot",
"id": "113e284ddbc007aa54664e13f41a5928984be292",
"size": "19... |
#pragma once
#ifndef GEODE_DATASERIALIZABLEPRIMITIVE_H_
#define GEODE_DATASERIALIZABLEPRIMITIVE_H_
#include "../Serializable.hpp"
#include "DSCode.hpp"
namespace apache {
namespace geode {
namespace client {
class DataOutput;
class DataInput;
namespace internal {
class APACHE_GEODE_EXPORT DataSerializablePrimit... | {
"content_hash": "02c0927ea6f09a2a683e9d6f65778c74",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 59,
"avg_line_length": 21.205882352941178,
"alnum_prop": 0.7545076282940361,
"repo_name": "pivotal-jbarrett/geode-native",
"id": "8d6e82dfe50c81936582ebdbeeb17b00172e8183",
... |
package com.google.android.exoplayer2.offline;
import static androidx.test.core.app.ApplicationProvider.getApplicationContext;
import static com.google.common.truth.Truth.assertThat;
import static java.util.concurrent.TimeUnit.MILLISECONDS;
import static org.robolectric.shadows.ShadowLooper.shadowMainLooper;
import ... | {
"content_hash": "c7da0b7227c6427d28d4a4659e504a92",
"timestamp": "",
"source": "github",
"line_count": 527,
"max_line_length": 100,
"avg_line_length": 47.61290322580645,
"alnum_prop": 0.7281205164992827,
"repo_name": "google/ExoPlayer",
"id": "dab7fd1488aed410b0ba0df668fa95e27634bb09",
"size": "25... |
'''
Created on Aug 21, 2015
@author: David Zwicker <dzwicker@seas.harvard.edu>
'''
from __future__ import division
import collections
import functools
import logging
import sys
import unittest
import warnings
from contextlib import contextmanager
try:
collectionsAbc = collections.abc # python 3
except Attribut... | {
"content_hash": "3f419c09c4969494195cff7bec97bea2",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 101,
"avg_line_length": 29.737089201877936,
"alnum_prop": 0.5582570255762551,
"repo_name": "david-zwicker/py-utils",
"id": "72f86ea1953dd510c35d8558f32e38b177003fb1",
"siz... |

Program that tries to approximate picture (64x64 only) with various geometric shapes (circles or rectangles). You can download most recent build [here](https://akela.mendelu.cz/~xhnatek/PP/bin.zip) (Windows only).
It uses genetic algorithm... | {
"content_hash": "74941bc6acdde6814a87df8ec2c752c6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 214,
"avg_line_length": 49.38461538461539,
"alnum_prop": 0.7928348909657321,
"repo_name": "Hnatekmar/GeneticAlgorithm",
"id": "d5bf8aff5af1367c4899067e189070b3511a5607",
"s... |
#ifndef PLOTTER_H
#define PLOTTER_H
void hand_up(void);
void hand_down(void);
void set_xy(double x, double y);
void set_home_position(void);
void controlled_move(int x, int y);
#endif /* PLOTTER_H */
| {
"content_hash": "4dfeed8ba0baa46300b852f2e4533162",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 35,
"avg_line_length": 18.454545454545453,
"alnum_prop": 0.7044334975369458,
"repo_name": "gearchange/plotter",
"id": "4cfb06982439822705c8785fa8f7a05d53ab5620",
"size": "2... |
package com.flipkart.foxtrot.core.querystore.impl;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.flipkart.foxtrot.common.ActionResponse;
import com.flipkart.foxtrot.common.group.GroupResponse;
import com.flipkart.foxtrot.core.TestUtils;
impor... | {
"content_hash": "6d024e994f4f25951293b5508ca5f635",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 130,
"avg_line_length": 42.27927927927928,
"alnum_prop": 0.7430215214148732,
"repo_name": "santanusinha/foxtrot",
"id": "3fc768df99bd6cb2a7f77eff667603433c9d8e1a",
"size":... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="keyline_first">24dp</dimen>
</resources> | {
"content_hash": "64647419d0bb5edef04c122657942203",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 44,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.6545454545454545,
"repo_name": "MostafaGazar/tensorflow",
"id": "2389ad07f5cb40d3aea402d1c8e437db84c5638f",
"size"... |
<?php
namespace SellerLabs\Nucleus\Meditation\Interfaces;
use SellerLabs\Nucleus\Meditation\SpecResult;
/**
* Interface CheckableInterface.
*
* Describes an object that can be checked against a set of constraints (a
* specification) and return a result describing the result of the computation.
*
* @author Ed... | {
"content_hash": "27678eab40b0d8101ef08c34150571ec",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 79,
"avg_line_length": 23.035714285714285,
"alnum_prop": 0.7162790697674418,
"repo_name": "sellerlabs/nucleus",
"id": "6b7e1855e073aeadb1088e7b0ccd411d64e7017c",
"size": "8... |
// Copyright (C) 1999, 2000 Jaakko Järvi (jaakko.jarvi@cs.utu.fi)
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org
// ----------------------------... | {
"content_hash": "8dc8f0e9728fa5b0032e6dfb8e54e715",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 97,
"avg_line_length": 31.419708029197082,
"alnum_prop": 0.6028574747357417,
"repo_name": "foxostro/CheeseTesseract",
"id": "6ec5ec530517d765ad057db50a6d437bc7ac3443",
"si... |
int main (void)
{
int prog_state = 0, option = 0, N = 5, M = 2, nPower = 1, mPower = 1, numTests = 1, simOption = 0;
string outputFile = "output.txt";
while (prog_state > -1)
{
// loading?
if (prog_state == 0)
{
simOption = display_menu (1, 0, ':', 1, 2, ";", "Programming Assignment 1 - MyJosephus Problem... | {
"content_hash": "7fdb6240e5ba1fa87f9a187dd0e72ab5",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 256,
"avg_line_length": 27.126582278481013,
"alnum_prop": 0.5912272515165655,
"repo_name": "vonderborch/CS223",
"id": "7f12c29944c57c7344e34686ed596568c4ab82ad",
"size": "2... |
// ----------------------------------------------------------------------------------
// Copyright Microsoft Corporation
// 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.... | {
"content_hash": "50848a4bb7e74307091157c64138a5fe",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 87,
"avg_line_length": 36.73684210526316,
"alnum_prop": 0.5752148997134671,
"repo_name": "affandar/durabletask",
"id": "70278b18931c2d8ab0b80dd7168669c8dea0da4a",
"size": "... |
All you need to build your own (Big) Data & IOT oriented application
```
docker network create --attachable --driver overlay deetazilla
```
## Docker Compose File
* To create your `docker-compose-merge.yml` file thanks to [combine_services.sh](./dz_compose/scripts/combine_services.sh), which makes use of [yamlre... | {
"content_hash": "f5858f8c02d099693981f101f5c94315",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 226,
"avg_line_length": 44.46153846153846,
"alnum_prop": 0.6600346020761245,
"repo_name": "Logimethods/deetazilla",
"id": "22f0273a4e0800a46aa8fc25dfa5c4c62ac088a2",
"size"... |
/*
* winhelp.h - define Windows Help context names.
* Each definition has the form "winhelp-topic:halibut-topic", where:
* - "winhelp-topic" matches up with the \cfg{winhelp-topic} directives
* in the Halibut source, and is used for WinHelp;
* - "halibut-topic" matches up with the Halibut keywords in the sour... | {
"content_hash": "2d4eb6302483dc0c6f1b736c2dc1f948",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 115,
"avg_line_length": 67.38916256157636,
"alnum_prop": 0.8173976608187135,
"repo_name": "KasperDeng/putty",
"id": "6cbc0aae386ce9c358f89f6042042554417537a0",
"size": "13... |
package org.apache.shardingsphere.elasticjob.restful.serializer;
import java.text.MessageFormat;
/**
* {@link ResponseBodySerializer} not found for specific MIME type.
*/
public final class ResponseBodySerializerNotFoundException extends RuntimeException {
private static final long serialVersionUID = 320... | {
"content_hash": "0853b8f52f205d24133725fd0e655d1d",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 92,
"avg_line_length": 30.647058823529413,
"alnum_prop": 0.7735124760076776,
"repo_name": "elasticjob/elastic-job",
"id": "415c5e23e76abe6f51efd76f47fbf986495f9926",
"size"... |
import Joi = require('joi');
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
let x: any = null;
let value: any = null;
let num: number = 0;
let str: string = '';
let bool: boolean = false;
let exp: RegExp = null;
let obj: object = null;
let date: Date = null;
let... | {
"content_hash": "2f60b2a3d1eef8ce25f3e579298e18c4",
"timestamp": "",
"source": "github",
"line_count": 1129,
"max_line_length": 144,
"avg_line_length": 30.891939769707704,
"alnum_prop": 0.6038650113255154,
"repo_name": "rolandzwaga/DefinitelyTyped",
"id": "5ea9088a74eb24e9d56dbef179a800eae473c700",
... |
#region Apache License Version 2.0
#endregion Apache License Version 2.0
/*----------------------------------------------------------------
Copyright (C) 2022 Senparc
文件名:TenPay.cs
文件功能描述:微信支付接口
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
修改标识:Senparc - 201... | {
"content_hash": "987b10ab8455e27f6f5238e0d63cbace",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 270,
"avg_line_length": 38.48618784530387,
"alnum_prop": 0.5668963537180591,
"repo_name": "mc7246/WeiXinMPSDK",
"id": "20d26a17822817839bcee485a57aea80c02e40f0",
"size": "... |
<html lang="en">
<head>
<title>GDB/MI Command Description Format - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" hr... | {
"content_hash": "120d9b6280773b0266cbec8f20a0dfa0",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 144,
"avg_line_length": 42.40963855421687,
"alnum_prop": 0.7196022727272727,
"repo_name": "marduino/stm32Proj",
"id": "f693863e4a32ae3fe64aa2c942002f6298daf0c8",
"size": "3... |
{-
(c) The University of Glasgow 2006
(c) The GRASP Project, Glasgow University, 1992-2000
Defines basic functions for printing error messages.
It's hard to put these functions anywhere else without causing
some unnecessary loops in the module dependency graph.
-}
{-# LANGUAGE CPP, DeriveDataTypeable, ScopedTypeVari... | {
"content_hash": "bff4050825c3b03beac10109123ee344",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 103,
"avg_line_length": 34.343396226415095,
"alnum_prop": 0.6419074826942094,
"repo_name": "tjakway/ghcjvm",
"id": "b19c770718be0fc5f338b9e0f8de59f9181192b5",
"size": "910... |
<?php
namespace Symfony\Component\Validator\Mapping;
use Symfony\Component\Validator\MetadataFactoryInterface;
use Symfony\Component\Validator\Exception\NoSuchMetadataException;
use Symfony\Component\Validator\Mapping\Loader\LoaderInterface;
use Symfony\Component\Validator\Mapping\Cache\CacheInterface;
/**
* A fa... | {
"content_hash": "bb8c30a98b419af35cbe8ae86e35f4f4",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 113,
"avg_line_length": 28.810344827586206,
"alnum_prop": 0.5966487133453022,
"repo_name": "stloyd/symfony",
"id": "279d8334555bce5273815e5a88fe4cbbcda4a4a9",
"size": "357... |
/**
* Localization strings for the UI Multiselect widget
*
* @locale fr, fr-FR, fr-CA
*/
$.extend($.ui.multiselect.locale, {
addAll:'Ajouter tout',
removeAll:'Supprimer tout',
itemsCount:'#{count} items sélectionnés',
itemsTotal:'#{count} items total',
busy:'veuillez patienter...',
errorDataFormat:"Les donné... | {
"content_hash": "6200b52afd48cb4e3561e232d4aed55e",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 128,
"avg_line_length": 39.05882352941177,
"alnum_prop": 0.7108433734939759,
"repo_name": "kamarulismail/yii-multiselect",
"id": "cd11a8a9379eb110d75d8b501e27a921e9dd42ff",
... |
package io.druid.segment.realtime.plumber;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Function;
import com.google.common.base.Joiner;
import com.google.common.base.Preconditions;
import com.google.common.base.Stopwatch;
import com.google.common.base.Supplier;
import com.google.... | {
"content_hash": "442bd8598d820484a2c3a5c7a22d8b54",
"timestamp": "",
"source": "github",
"line_count": 1052,
"max_line_length": 161,
"avg_line_length": 37.17585551330799,
"alnum_prop": 0.5935206729908716,
"repo_name": "se7entyse7en/druid",
"id": "b9d49396682f864ed5fd0691d4becb65d8c28a7b",
"size": ... |
UP = 1
DOWN = 2
RIGHT = 3
LEFT = 4
def look(direction)
if direction == UP
puts "looking up"
elsif direction == DOWN
puts "looking down"
elsif direction == RIGHT or direction == LEFT
puts "looking sideways"
else
puts "Hey! what are you doing? LOOK AT ME!"
end
end
look(UP)
look(DOWN)
look(LEFT... | {
"content_hash": "3e2ed247d349f351c5a409c2c05b4eb5",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 47,
"avg_line_length": 16.428571428571427,
"alnum_prop": 0.6550724637681159,
"repo_name": "xarisd/ruby-basics",
"id": "f7ae590b74816e08094277dd6b571f9393925f76",
"size": "3... |
IMPLEMENT_CONOBJECT( GuiEditCtrl );
ConsoleDocClass( GuiEditCtrl,
"@brief Native side of the GUI editor.\n\n"
"Editor use only.\n\n"
"@internal"
);
IMPLEMENT_CALLBACK( GuiEditCtrl, onHierarchyChanged, void, (), (),
"" );
IMPLEMENT_CALLBACK( GuiEditCtrl, onDelete, void, (), (),
"" );
IMPLEMENT_CALLBACK(... | {
"content_hash": "e01d1b1b81908255975a505a3c0a33cc",
"timestamp": "",
"source": "github",
"line_count": 2932,
"max_line_length": 164,
"avg_line_length": 30.453274215552526,
"alnum_prop": 0.5249694811230947,
"repo_name": "mattparizeau/Marble-Blast-Clone",
"id": "584c9b9e27a30494977d8855f9b0684362c11fd... |
var config = require("./../../").config;
var pathSyntax = require("falcor-path-syntax");
var ModelResponse = require("./../ModelResponse");
var gets = require("./../../get");
var getWithPathsAsJSONGraph = gets.getWithPathsAsJSONGraph;
var getWithPathsAsPathMap = gets.getWithPathsAsPathMap;
var GET_VALID_INPUT = require... | {
"content_hash": "7d226e6ca1acd411f0fd8254708ff46b",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 77,
"avg_line_length": 33.5,
"alnum_prop": 0.5827384815055159,
"repo_name": "bigmeech/falcor",
"id": "36d7efd80d08ab3fece30c6fccdbd920f9f37f99",
"size": "3082",
"binary":... |
[](https://travis-ci.org/tknerr/vagrant-managed-servers)
This is a [Vagrant](http://www.vagrantup.com) 1.6+ plugin that adds a provider for "managed servers" to Vagrant, i.e. servers for which you have SSH access but no control over... | {
"content_hash": "858df1c78eaa128f27cfb794f6064b39",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 308,
"avg_line_length": 39.99004975124378,
"alnum_prop": 0.7516795222692212,
"repo_name": "ekaynar/Bigdata-deployment",
"id": "adb39bc4723e36d8132757f02563d0008662075b",
"... |
<!DOCTYPE html>
<!--[if IEMobile 7 ]> <html class="no-js iem7"> <![endif]-->
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="HandheldFriendly" content="T... | {
"content_hash": "5ee830c7de000278c76d136079d053ea",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 330,
"avg_line_length": 51.45762711864407,
"alnum_prop": 0.6159420289855072,
"repo_name": "stw66/HTML5APP_1",
"id": "abdbefe17490c81ea969b9260d1304159de720a8",
"size": "303... |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | {
"content_hash": "5ce55c1a645d720b9a800e1a53137951",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 80,
"avg_line_length": 31.4,
"alnum_prop": 0.49014255383682137,
"repo_name": "goberle/one",
"id": "41c8495fc6853348b212cd92146c5d053b891f78",
"size": "3297",
"binary": f... |
package me.rexim
class Mixer {
def whatItSays(): String = "waka-waka"
}
| {
"content_hash": "07d43fce48f46cafcf0cad3b0805d730",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 40,
"avg_line_length": 15,
"alnum_prop": 0.68,
"repo_name": "tsoding/Issuestant",
"id": "47a18eab17d9df8e89a8f3f3796034a35efc6c75",
"size": "75",
"binary": false,
"copie... |
package net.sf.jsqlparser.statement;
import net.sf.jsqlparser.statement.create.table.CreateTable;
import net.sf.jsqlparser.statement.delete.Delete;
import net.sf.jsqlparser.statement.drop.Drop;
import net.sf.jsqlparser.statement.insert.Insert;
import net.sf.jsqlparser.statement.replace.Replace;
import net.sf.jsqlpar... | {
"content_hash": "1472a8fe0a4381b5f75c48db6dc62a21",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 82,
"avg_line_length": 38.67567567567568,
"alnum_prop": 0.782669461914745,
"repo_name": "UBOdin/jsqlparser",
"id": "2cd7ecc3bd0a43a12459db0ededa651a868b955f",
"size": "2508... |
<?xml version="1.0" encoding="UTF-8"?>
<Context cachingAllowed="false">
<Environment name="PRODUCTION" type="java.lang.Boolean" value="false" />
<!-- Database -->
<Environment name="dari/defaultDatabase" type="java.lang.String" value="handlebarsTest.local" />
<Environment name="dari/database/handlebars... | {
"content_hash": "e7264b970d23f9db23b4abec91367a85",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 155,
"avg_line_length": 82.22222222222223,
"alnum_prop": 0.7319819819819819,
"repo_name": "wearefriday/brightspot-handlebars",
"id": "8539a4f95ffe7ef8d22fa503837f17a10f7e2b23... |
game.TitleScreen = me.ScreenObject.extend({
// constructor
init: function () {
this.parent(true);
// title screen image
this.title = null;
this.font = null;
this.scrollerfont = null;
this.scrollertween = null;
this.scroller = "A SMALL STEP BY STEP TUTO... | {
"content_hash": "13a7762c5b526b26b22a435e6e57f43c",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 94,
"avg_line_length": 28.5,
"alnum_prop": 0.5418735518040384,
"repo_name": "romansky/FreindsVsZombies",
"id": "004ddabf815ff260820d2a53fc1f3f08adf932b7",
"size": "3021",
... |
<a href='https://github.com/angular/angular.js/edit/master/docs/content/error/$injector/nomod.ngdoc' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this doc</a>
<h1>Error: error:nomod
<div><span class='hint'>Module Unavailable</span></div>
</h1>
<div>
<pre class="min... | {
"content_hash": "055c242851b55bfac40340acead5df02",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 412,
"avg_line_length": 59.333333333333336,
"alnum_prop": 0.7443820224719101,
"repo_name": "amscher/Lendeavor",
"id": "957112880c1c1a8ba988564038923cb6d91a2c71",
"size": "2... |
require 'singleton'
require 'active_support/core_ext/array/wrap'
require 'active_support/core_ext/module/aliasing'
require 'active_support/core_ext/module/remove_method'
require 'active_support/core_ext/string/inflections'
module ActiveModel
module Observing
extend ActiveSupport::Concern
module ClassMethods... | {
"content_hash": "4bb8e6dd26ab092302f30a0db3a88cc3",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 231,
"avg_line_length": 31.753488372093024,
"alnum_prop": 0.6481617108539622,
"repo_name": "hallelujah/db_sower",
"id": "62d2694da5e1fb16ffafd6d8737a8b7dd3d2106b",
"size":... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0... | {
"content_hash": "f13bae4f140ac0effadbb6bdb54a9c4f",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 99,
"avg_line_length": 41.10344827586207,
"alnum_prop": 0.7172818791946308,
"repo_name": "DSttr/SystemUI",
"id": "07ee10a2012f048f4ddd1fdc064dba3caa954dd1",
"size": "1192",... |
A Redis cluster proxy.
Build
===
Requirements:
* `make` and `cmake`
* UNIX-like system with `SO_REUSEPORT | SO_REUSEADDR` support
* `epoll` support
* pthread
* C++ compiler & lib with C++11 features, like g++ 4.8 or clang++ 3.2 (NOTE: install clang++ 3.2 on CentOS 6.5 won't compile because clang uses header files fr... | {
"content_hash": "73795f39072f39af88407c0ac888ba01",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 467,
"avg_line_length": 43.103092783505154,
"alnum_prop": 0.7086821334608945,
"repo_name": "TigerZhang/redis-cerberus",
"id": "fcffff42d47395920a6d91337a3afff3b0fd0014",
"s... |
'use strict';
angular.module('spedycjacentralaApp')
.provider('AlertService', function () {
this.toast = false;
this.$get = ['$timeout', '$sce', '$translate', function($timeout, $sce,$translate) {
var exports = {
factory: factory,
isToast: isToast,
... | {
"content_hash": "1026dfb35c647ca5af6c4a0f34317ead",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 116,
"avg_line_length": 32.22727272727273,
"alnum_prop": 0.4221908791725435,
"repo_name": "wyzellak/sandbox-internet-apps-design",
"id": "ce834d58c954a0888363d96d213c0742f9f... |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Support — sql2gee 0.0.6 documentation</t... | {
"content_hash": "06050b9760b3a640e2126711b496097c",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 192,
"avg_line_length": 23.507317073170732,
"alnum_prop": 0.5490765719028844,
"repo_name": "benlaken/sql2gee",
"id": "52e013056fe967421af559d4cd8e5deae7670f0c",
"size": "4... |
import React from 'react';
import Ul from './Ul';
import Wrapper from './Wrapper';
function List(props) {
const ComponentToRender = props.component;
let content = (<div></div>);
// If we have items, render them
if (props.items) {
content = props.items.map((item, index) => (
<ComponentToRender key={... | {
"content_hash": "f20740df4091d1e537bb003d0f7837bd",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 86,
"avg_line_length": 21.742857142857144,
"alnum_prop": 0.6320630749014454,
"repo_name": "kenzanboo/tumbler-blog-api",
"id": "e5da9d8f29ee755ce6080cf902af93bc04a7d5e2",
"s... |
module Kohawk
class Binding
attr_reader :context, :exchange
def initialize(context, exchange)
@context = context
@exchange = exchange
end
def bind(queue)
# logger.info("Binding queue #{queue_name} to #{binding} ...")
bindings.each do |binding|
x = exchange.create
... | {
"content_hash": "84247a3d9edf6b0de240778ae7c3f444",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 68,
"avg_line_length": 18,
"alnum_prop": 0.6018518518518519,
"repo_name": "jcarley/kohawk",
"id": "1b0afa513263d60743ec4e3bb4e9d0b10a09f9b5",
"size": "540",
"binary": fal... |
ml.module('three.extras.core.Gyroscope')
.requires('three.Three',
'three.core.Object3D',
'three.core.Quaternion',
'three.core.Vector3')
.defines(function(){
/**
* @author alteredq / http://alteredqualia.com/
*/
THREE.Gyroscope = function () {
THREE.Object3D.call( this );
};
... | {
"content_hash": "d76e88eabc94032c4e8f9bef1e8d1b3e",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 92,
"avg_line_length": 23.728571428571428,
"alnum_prop": 0.6893437688139675,
"repo_name": "zfedoran/modulite-three.js",
"id": "5fbb21b6dadcaf37e35e8fa295dd5e16e9b6121a",
"s... |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace SIT.Web.Areas.HelpPage.ModelDescriptions
{
internal static class ModelNameHelper
{
// Modify this to provide custom model name mapping.
public static string GetModelName(Type type)
{
... | {
"content_hash": "b73a264af258a1cfc26749fef2d88758",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 140,
"avg_line_length": 39.888888888888886,
"alnum_prop": 0.6344011142061281,
"repo_name": "llalov/Issue-Tracking-System",
"id": "bf76afeea242e65f478e23e2dea397e60230db2a",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5bd1cea375d9c076f3d1cfbc41053831",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "89bcbea18c2416a83f8fd93758d9f1dbb2823a65",
"size": "19... |
<button class="btn btn-success" (click)="startGame()">Start Game</button>
<button class="btn btn-danger" (click)="stopGame()">Stop Game</button> | {
"content_hash": "7c31d10b96c0ee7dd3bda9a8c8512a84",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 73,
"avg_line_length": 72,
"alnum_prop": 0.7152777777777778,
"repo_name": "piemasters/Angular-4-Training",
"id": "0ce317c6db1db672eebd7e5a36047a2b656652aa",
"size": "144",
... |
import unittest
from citest.base import (
ExecutionContext,
JsonSnapshotHelper)
import citest.json_contract as jc
import citest.json_predicate as jp
_called_verifiers = []
_TEST_FOUND_ERROR_COMMENT='Found error.'
class TestObsoleteObservationFailureVerifier(jc.ObservationFailureVerifier):
def __init__(self,... | {
"content_hash": "4b8f070597335d8a99aafd8eb72b59a5",
"timestamp": "",
"source": "github",
"line_count": 370,
"max_line_length": 83,
"avg_line_length": 36.394594594594594,
"alnum_prop": 0.6927075597801872,
"repo_name": "google/citest",
"id": "e9dc4e5ea94b132440049357463add9e36221921",
"size": "14132... |
layout: page
title: Virginia Jones's 94th Birthday
date: 2016-05-24
author: Walter Galvan
tags: weekly links, java
status: published
summary: Sed sit amet blandit diam, vitae hendrerit nibh. Mauris accumsan.
banner: images/banner/meeting-01.jpg
booking:
startDate: 11/21/2016
endDate: 11/26/2016
ctyhocn: MCOSWHX
... | {
"content_hash": "1874a46ad867c20b1f126419eb6509c4",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 881,
"avg_line_length": 93.4,
"alnum_prop": 0.811134903640257,
"repo_name": "KlishGroup/prose-pogs",
"id": "875c9d530abe7d5ec52fcfab287c6e37fa292a38",
"size": "2339",
"bi... |
using UIKit;
using RottenApi;
using CoreGraphics;
using Foundation;
using RottenTomatoes.TableCells;
using System;
namespace RottenTomatoes
{
public class MovieTableSource : UITableViewSource
{
private Movie _movie;
private MovieInfoView _mInfoView;
private MovieCast _cast;
priv... | {
"content_hash": "8c0e4b4350e0766fb335adf77a3c897f",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 127,
"avg_line_length": 30.696202531645568,
"alnum_prop": 0.4931958762886598,
"repo_name": "alekseevpg/RottenTomatoes",
"id": "1b0051f4ee989e1b7a51408ae6f53c2bd4508d44",
"... |
var _ = require('underscore');
var events = require('events');
var mobs = require('../config/mobs');
var Util = require('./util');
var config = require('../config/game');
module.exports = (function() {
var resolveBehaviors;
// Sequential static ID for uniqueness
var _id = 1;
var Enemy = function Enemy(type, wave... | {
"content_hash": "911ddcd405def39ddce1e3a9ea6ced04",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 78,
"avg_line_length": 22.203389830508474,
"alnum_prop": 0.6157760814249363,
"repo_name": "zumba/node-defender-game",
"id": "0dc008ff971a19a7fcf288f5d519d7b09f413f2a",
"si... |
namespace clover {
namespace gui {
util::PtrTable<Element> Element::elementTable;
Cursor *Element::guiCursor= 0;
audio::AudioSourceHandle Element::audioSource;
Element::Element(const util::Coord& offset_, const util::Coord& rad):
triggered(false),
errorVisuals(false),
elementType(None),
active(tru... | {
"content_hash": "7e262ed9b0c7c4d53da571c3d496701b",
"timestamp": "",
"source": "github",
"line_count": 595,
"max_line_length": 151,
"avg_line_length": 21.833613445378152,
"alnum_prop": 0.6887075667769995,
"repo_name": "crafn/clover",
"id": "936d833ee0f0980e6863f5f81d08d5e3addc34be",
"size": "13157... |
use shared::lmcons::{LMSTR, NET_API_STATUS};
use shared::minwindef::{DWORD, LPBYTE, LPDWORD, PBYTE, ULONG};
use um::winnt::LPWSTR;
extern "system" {
pub fn NetUseAdd(
servername: LPWSTR,
level: DWORD,
buf: LPBYTE,
parm_err: LPDWORD,
) -> NET_API_STATUS;
pub fn NetUseDel(
... | {
"content_hash": "941eb82d153307cdacfd47de57445477",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 62,
"avg_line_length": 29.073684210526316,
"alnum_prop": 0.6484431571325127,
"repo_name": "Osspial/winapi-rs",
"id": "98e56aac5a3e72914bda99992ae089c5d4b72ac0",
"size": "32... |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.0.4; es-es; GEM7008 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link... | {
"content_hash": "bf260e888fc35abd68a35858deb6ca22",
"timestamp": "",
"source": "github",
"line_count": 1144,
"max_line_length": 766,
"avg_line_length": 40.99650349650349,
"alnum_prop": 0.5364605543710022,
"repo_name": "ThaDafinser/UserAgentParserComparison",
"id": "a2f85323758248dd8e3d45e147c2b28694... |
'use strict';
module.exports = function (Logger, $rootScope, $state, $auth, $anchorScroll, UserService) {
$rootScope.$on("$stateChangeError", console.log.bind(console));
$rootScope.$on('$stateChangeStart', function (event, toState, toParams, fromState, fromParams) {
Logger.info("Change state from '"... | {
"content_hash": "4cc62f6c5b10222d20f2f59d1c1ce646",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 132,
"avg_line_length": 30.790697674418606,
"alnum_prop": 0.5185045317220544,
"repo_name": "e1528532/libelektra",
"id": "cfc0edb0dfada964d21af9e0197233778ccd79bb",
"size": ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("03... | {
"content_hash": "96cfd72016f560f46c132f0a2f2a3ec0",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.19444444444444,
"alnum_prop": 0.7462792345854005,
"repo_name": "yangra/SoftUni",
"id": "d79970f973ae0069a0ab59b6a88dacb442bfb445",
"size": "1414",... |
/**
* @fileOverview Frontpage tests
*/
var chai = require('chai');
var expect = chai.expect;
var req = require('request');
const test = require('ava');
test('Frontpage 200', t => {
var app = require('../back/app');
app.listen(3000);
return req.get('http://localhost:3000/', (err, res) => {
expect(res.stat... | {
"content_hash": "f9d27e1ede32cab0e4382d6cb94983f8",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 58,
"avg_line_length": 20.38888888888889,
"alnum_prop": 0.6021798365122616,
"repo_name": "sirodoht/muddles",
"id": "86569b00c89021e05647dbffc69209ec8bb9b800",
"size": "367"... |
package android.support.v17.leanback.supportleanbackshowcase.app.room.db.repo;
import android.arch.lifecycle.LiveData;
import android.arch.persistence.room.Room;
import android.os.AsyncTask;
import android.support.annotation.WorkerThread;
import android.support.v17.leanback.supportleanbackshowcase.R;
import android... | {
"content_hash": "570f5bfc7401bb8e45560f0cfeb2f080",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 153,
"avg_line_length": 37.01145038167939,
"alnum_prop": 0.6443229864906672,
"repo_name": "googlearchive/leanback-showcase",
"id": "00a1b59b60cb224cbc493561ec55f093c225ff90"... |
<html>
<head>
<title>Craig Chung's panel show appearances</title>
<script type="text/javascript" src="../common.js"></script>
<link rel="stylesheet" media="all" href="../style.css" type="text/css"/>
<script type="text/javascript" src="../people.js"></script>
<!--#include virtual="head.txt" -->
</head>
<body>
<!--#i... | {
"content_hash": "39a44423e3fbc24cdd11dcd1abce5301",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 191,
"avg_line_length": 37.666666666666664,
"alnum_prop": 0.6548672566371682,
"repo_name": "slowe/panelshows",
"id": "d4db6b37ba753c6fe31a20aef2d0a6384c913aaa",
"size": "12... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'landing',
templateUrl: './landing.html'
})
export class LandingComponent implements OnInit {
public isMobile: boolean;
public ngOnInit(): void {
this.isMobile = window.isMobile();
}
}
| {
"content_hash": "6b8e0563b3cba250b621738c4dec0d12",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 50,
"avg_line_length": 19.714285714285715,
"alnum_prop": 0.6884057971014492,
"repo_name": "VS-work/vs-website",
"id": "63ad8ced1790d3868ea50cb38c7cc513b9f1c6be",
"size": "2... |
package com.mocircle.flow.handler.node;
import com.mocircle.flow.BuildConfig;
import com.mocircle.flow.model.Token;
import com.mocircle.flow.model.action.SimpleActionNode;
import com.mocircle.flow.model.control.Fork;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.ru... | {
"content_hash": "850e44eaa58ef280c27711d1567189b5",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 61,
"avg_line_length": 27.672727272727272,
"alnum_prop": 0.7030223390275953,
"repo_name": "mocircle/circleflow-android",
"id": "8d66fb4228b4940b4bab5cce215cb27e95d2afb3",
"... |
<!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 Thu Mar 26 16:48:37 UTC 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.hazelcast.util.... | {
"content_hash": "99617e29889af4c19aca971ff07aba28",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 201,
"avg_line_length": 41.26896551724138,
"alnum_prop": 0.6191510695187166,
"repo_name": "akiskip/KoDeMat-Collaboration-Platform-Application",
"id": "14638bb60b1cafec2f4e9d... |
/*
Simple pthreads mutex and condition-variable wrappers
Ben Barsdell (2015)
BSD 3-Clause license
Note: Unlike the C++11 std::mutex, the pthreads-based mutex here supports
inter-process sharing.
Note: According to the docs, setting a mutex as recursive can lead to problems
with conditi... | {
"content_hash": "0d8c33f2ea9c7cc597c4a0981bb64ea3",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 84,
"avg_line_length": 28.923809523809524,
"alnum_prop": 0.6264405663483701,
"repo_name": "benbarsdell/bifrost",
"id": "6f2635730af3d4af4e7d049401e98a1d84ab798f",
"size": ... |
<?php
namespace PHPExiftool\Driver\Tag\XMPXmpMM;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class ManagedFromDocumentID extends AbstractTag
{
protected $Id = 'ManagedFromDocumentID';
protected $Name = 'ManagedFromDocumentID';
... | {
"content_hash": "b039d3a73ed68cd0f038edb1fb951826",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 56,
"avg_line_length": 17.13888888888889,
"alnum_prop": 0.6823338735818476,
"repo_name": "bburnichon/PHPExiftool",
"id": "e611c7fe502ab16b8cfcf25f0ccdc19e9ba2852d",
"size":... |
/**
* (created at 2011-1-19)
*/
package org.opencloudb.paser.ast.expression.function.string;
import org.opencloudb.paser.ast.expression.Expression;
import org.opencloudb.paser.ast.expression.TernaryOperatorExpression;
import org.opencloudb.paser.visitor.SQLASTVisitor;
/**
* <code>higherPreExpr 'NOT'? '... | {
"content_hash": "a2f16691f80f52ec4e32dfb13ff656e7",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 100,
"avg_line_length": 24.95,
"alnum_prop": 0.6583166332665331,
"repo_name": "xingh/opencloudb",
"id": "32e8c5cc6e6535f16ace03d527acf3948ed7c895",
"size": "1622",
"binar... |
/* Created by yegor on 7/6/16. */
package ws.epigraph.java
import java.io.{File, IOException, PrintWriter, StringWriter}
import java.nio.file.{FileAlreadyExistsException, Files, Path}
import java.util
import java.util.Collections
import java.util.concurrent._
import org.slf4s.LoggerFactory
import ws.epigraph.compil... | {
"content_hash": "bb18a541630c0d8670ec1f99685c2101",
"timestamp": "",
"source": "github",
"line_count": 416,
"max_line_length": 117,
"avg_line_length": 35.69711538461539,
"alnum_prop": 0.6511784511784512,
"repo_name": "SumoLogic/epigraph",
"id": "e549a5d0621d747d3cc6add408d87af4d996e273",
"size": "... |
package org.graphwalker.modelchecker;
import com.google.common.base.CharMatcher;
import org.graphwalker.core.model.Edge;
import java.util.ArrayList;
import java.util.List;
/**
* Created by krikar on 2015-11-08.
*/
public class EdgeChecker {
private EdgeChecker() {
}
/**
* Checks the edge for problems or... | {
"content_hash": "d6016f0487c79091b2c3777cc7d19d9e",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 138,
"avg_line_length": 27.452380952380953,
"alnum_prop": 0.6773633998265395,
"repo_name": "GraphWalker/graphwalker-project",
"id": "9420fab4addb3c98db2db3c989293427397973d0"... |
<!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": "f52f83f15cd37598c303aba57c8bc8be",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 409,
"avg_line_length": 48.907407407407405,
"alnum_prop": 0.6597879591063991,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "20ec90165d785631e46636f35b378e9b19a1db86",
"si... |
namespace lux {
namespace {
struct Level_list {
std::vector<std::string> levels;
};
sf2_structDef(Level_list,
levels
)
}
sf2_structDef(Level_info,
id,
name,
author,
description,
pack,
environment_id,
environment_brightness,
environment_light_color,
environment_light_direction,
am... | {
"content_hash": "7b03378c115099beee776dcbf7e5875b",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 129,
"avg_line_length": 29.448275862068964,
"alnum_prop": 0.6497365339578455,
"repo_name": "lowkey42/teamproject",
"id": "8504709e6caaff905e8c5c92ec662b784fb6387a",
"size"... |
<?php
namespace Chamilo\Application\Weblcms\Tool\Implementation\Teams\Exception;
use Chamilo\Application\Weblcms\Tool\Implementation\Teams\Manager;
use Chamilo\Libraries\Architecture\Exceptions\UserException;
use Chamilo\Libraries\Translation\Translation;
/***
* @package Chamilo\Application\Weblcms\Tool\Implementat... | {
"content_hash": "6a86daf7415a0b8d80be778c2c2aaf1f",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 107,
"avg_line_length": 28.875,
"alnum_prop": 0.733044733044733,
"repo_name": "cosnics/cosnics",
"id": "4e93747a63c573e93bf3a8d14129515855e622ff",
"size": "693",
"binary"... |
package com.aries.library.fast.demo.base;
import androidx.annotation.LayoutRes;
import androidx.annotation.Nullable;
import com.aries.library.fast.demo.touch.ItemTouchHelperAdapter;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import java.util... | {
"content_hash": "f3cc6fdf3b45b9f0e85734db2fbea680",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 143,
"avg_line_length": 29.74,
"alnum_prop": 0.6879623402824478,
"repo_name": "AriesHoo/FastLib",
"id": "eaa899286e4a27e0dd1bcde22b202b689753700e",
"size": "1503",
"binar... |
// 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 blocks... | {
"content_hash": "304cc69d289e7a24aad0b86701aa9a91",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 79,
"avg_line_length": 31.74137931034483,
"alnum_prop": 0.7159152634437805,
"repo_name": "Team2667/Team2667-2015",
"id": "df1dfd1e30b730cd77d44d97e0d62ba706ca2269",
"size":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0c17ba102cff72c81d3daf37566b6863",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "f68db2170e2f6ad40ae42dc49eed3667d0990089",
"size": "176... |
'use strict';
const connection = require('mongoose').connection;
const state = require('mongoose/lib/connectionstate');
const onOpen = (fn) => {
if(connection.readyState === state.connected) return fn();
else {
return new Promise((resolve, reject) => {
connection.once('open', () => fn().then(resolve, re... | {
"content_hash": "2aa2bd99880546fe232089e61758df48",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 66,
"avg_line_length": 22.896551724137932,
"alnum_prop": 0.5783132530120482,
"repo_name": "TheLunchBunch/lunch",
"id": "03c7d32cda09859369983b4179c60c6f8500e060",
"size": "... |
package limits
import (
"errors"
"fmt"
"github.com/m3db/m3/src/x/instrument"
)
type limitOpts struct {
iOpts instrument.Options
docsLimitOpts LookbackLimitOptions
bytesReadLimitOpts LookbackLimitOptions
diskSeriesReadLimitOpts LookbackLimitOptions
diskAggregateDoc... | {
"content_hash": "0d3f51753e2558b7bc29224e0873c0a9",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 84,
"avg_line_length": 27.292035398230087,
"alnum_prop": 0.7668612191958496,
"repo_name": "m3db/m3db",
"id": "ec19b8404cf83646604f357ff6ac5953b63a5995",
"size": "4206",
... |
/**
* @jsx React.DOM
*/
/* not used but thats how you can use touch events
* */
//React.initializeTouchEvents(true);
/* not used but thats how you can use animation and other transition goodies
* */
var ReactCSSTransitionGroup = React.addons.CSSTransitionGroup;
/**
* we will use yes for true
* we will use no f... | {
"content_hash": "623461ad170628796eeff280e7643cae",
"timestamp": "",
"source": "github",
"line_count": 449,
"max_line_length": 295,
"avg_line_length": 37.783964365256125,
"alnum_prop": 0.6391983495431771,
"repo_name": "inquisive/wallet-manager",
"id": "e73e1c37d2df1545f534c37b1412eaa731157df6",
"s... |
from utils import load_yaml_fixture, set_recent_dates, set_archive_dates, filter_by_tag, filter_by_expr, ModelTestCase
class RecentURLPatternTestCase(ModelTestCase):
fixtures = ['users.yaml', 'recent.yaml']
@classmethod
def setUpClass(cls):
set_recent_dates('reference.yaml')
... | {
"content_hash": "8dcbb5ad0a3147c5800c204b991953c1",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 118,
"avg_line_length": 41.11904761904762,
"alnum_prop": 0.6543138390272148,
"repo_name": "pombredanne/reed",
"id": "ba6ac7138c183f71b959aa38efed50a227c70ca3",
"size": "345... |
#if !defined(CETTY_CHANNEL_ABSTRACTCHANNELSINK_H)
#define CETTY_CHANNEL_ABSTRACTCHANNELSINK_H
/*
* Copyright (c) 2010-2011 frankee zhou (frankee.zhou at gmail dot com)
* Distributed under under the Apache License, version 2.0 (the "License").
*/
#include "cetty/channel/ChannelSink.h"
namespace cetty { namespace ... | {
"content_hash": "e31cfc4e506a238bcbdd7515e628de35",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 83,
"avg_line_length": 29.045454545454547,
"alnum_prop": 0.6643192488262911,
"repo_name": "frankee/Cetty",
"id": "6d62d725d6ff52c58f091df96d99b7202672f8b4",
"size": "1901",... |
/*
* File: PythonAPICache.cpp
* Author: alain
*
* Created on May 28, 2017, 10:49 PM
*/
#include <Surelog/API/PythonAPI.h>
#include <Surelog/Cache/Cache.h>
#include <Surelog/Cache/PythonAPICache.h>
#include <Surelog/Cache/python_api_generated.h>
#include <Surelog/CommandLine/CommandLineParser.h>
#include <Sure... | {
"content_hash": "ec97e3ee2e50939e88809db5e979d1d0",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 80,
"avg_line_length": 34.48823529411764,
"alnum_prop": 0.7187446699641822,
"repo_name": "chipsalliance/Surelog",
"id": "32158d97e1f69edca4232541a54a286cff1c505c",
"size":... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Fe... | {
"content_hash": "63584b28d3ad978ceddbe3a0b7de5277",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.02777777777778,
"alnum_prop": 0.7451957295373666,
"repo_name": "joseph-iussa/feed-reader",
"id": "e1874b1f6c5bb8c6d8066906e3ad966ecfcd05c4",
"size... |
<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.triplify</groupId>
<artifactId>br.com.triplify</artifactId... | {
"content_hash": "478b346f2962f7ac6ab12e2ae1855e92",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 204,
"avg_line_length": 26.89010989010989,
"alnum_prop": 0.6591744993870045,
"repo_name": "LucasBassetti/triplify",
"id": "cb60ef2b1e9f40be07fd8be5d5e5bf173a2c7eb5",
"size"... |
NS_ASSUME_NONNULL_BEGIN
@interface NSArray (SMFoundation)
- (nullable id)firstObject;
- (NSArray *)arrayWithObjectsPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate;
- (NSArray *)arrayByRemovingObjectsOfClass:(Class)aClass;
- (NSArray *)arrayByKeepingObjectsOfClass:(Class)aClass;
- (NSArray *)arrayB... | {
"content_hash": "2ad4a3d0ef70a4b893afe5ea2b031ee0",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 97,
"avg_line_length": 33.333333333333336,
"alnum_prop": 0.7516666666666667,
"repo_name": "s6530085/SMFoundation",
"id": "b99551ceb976e835e73c46bda01decc7fb259f1c",
"size":... |
title: "WebElement #11: Vladimír Kriška - Testovanie web aplikácií s CasperJS"
layout: event
hasVideo: false
facebookId: 183116585156588
---
Ku CasperJS som sa dostal keď som hľadal nástroj, ktorý by vedel simulovať browser a zároveň s týmto browserom pracovať
- či už s DOMom samotným alebo JavaScriptom. Narazil som ... | {
"content_hash": "2866420c67d40e208e31ccab90ebc413",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 119,
"avg_line_length": 39.9375,
"alnum_prop": 0.7902973395931142,
"repo_name": "newPOPE/webelement.sk",
"id": "3115283e5a025cb65d759304080c96f4cd40b9fe",
"size": "681",
... |
import unittest
from base64 import b64decode, b64encode
from collections import namedtuple
from unittest import mock
from google.api_core.gapic_v1.method import DEFAULT
from airflow.providers.google.cloud.hooks.kms import CloudKMSHook
from airflow.providers.google.common.consts import CLIENT_INFO
Response = namedtup... | {
"content_hash": "ef53a23cf2075e6562f741d786dfbd4d",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 109,
"avg_line_length": 36.36585365853659,
"alnum_prop": 0.6431924882629108,
"repo_name": "Acehaidrey/incubator-airflow",
"id": "0832a480b4656ee2ac1a924292e859aa37d85b86",
... |
<!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": "7139e7918777f2ea6acbaf4de30fc5a7",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 420,
"avg_line_length": 90.27067669172932,
"alnum_prop": 0.6799100449775113,
"repo_name": "enotio/Tempest",
"id": "dff110328b651c13f7c84150851cdd08b961bcde",
"size": "1200... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.