text stringlengths 2 1.04M | meta dict |
|---|---|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SimpleUrlShortener with custom alias</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<... | {
"content_hash": "f511d9482c23021a1a66f0a7e469bca4",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 108,
"avg_line_length": 40.525,
"alnum_prop": 0.5582973473164713,
"repo_name": "WindSekirun/SimpleUrlShortener",
"id": "5696f8e6adfd1759009d9c28f17b54b08e51e7b3",
"size": "... |
using namespace llvm;
using namespace llvm::object;
using namespace lld::coff;
namespace lld {
static_assert(sizeof(SymbolUnion) <= 48,
"symbols should be optimized for memory usage");
// Returns a symbol name for an error message.
static std::string maybeDemangleSymbol(StringRef symName) {
if (conf... | {
"content_hash": "bc8ef85226c417617a4fc88570457cad",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 80,
"avg_line_length": 33.171875,
"alnum_prop": 0.6912388130004711,
"repo_name": "llvm-mirror/lld",
"id": "938c9c527ffa8c868dc0f7215a21085f09cec088",
"size": "4900",
"bi... |
package types
import (
"github.com/plandem/xlsx/internal/ml/primitives"
)
//CellType is alias of original primitives.CellType type to:
// 1) make it public
// 2) forbid usage of integers directly
type CellType = primitives.CellType
//List of all possible values for CellType
const (
CellTypeGeneral CellType = iota
... | {
"content_hash": "d0937a554eceebc23dff40be5a82ee62",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 80,
"avg_line_length": 22.666666666666668,
"alnum_prop": 0.7262443438914027,
"repo_name": "plandem/xlsx",
"id": "1e34e2a1317ce067cca74dc708eee6e81570c4f1",
"size": "1050",
... |
cwt.Map = cwt.Class({
eventTypes: null,
listeners: null,
initialize: function () {
eventTypes = [cwt.Map.MOUSE_OVER, cwt.Map.MOUSE_OUT, cwt.Map.MOUSE_MOVE, cwt.Map.MOUSE_DOWN, cwt.Map.MOUSE_UP, cwt.Map.CLICK, cwt.Map.DBLCLICK, cwt.Map.RESIZE, cwt.Map.MOVE_START, cwt.Map.MOVE, cwt.Map.MOVE_END, cwt.Map.ZOO... | {
"content_hash": "ea6c98a100ccac80f32a66e5be4fe445",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 365,
"avg_line_length": 32.54597701149425,
"alnum_prop": 0.595797280593325,
"repo_name": "baby-plan/common-website",
"id": "a835f3f8d5466e0713a7f4920d6f09367fd47804",
"siz... |
package org.puma.analyzer
import scala.io.Source
import scala.xml.pull._
import scala.xml.pull.EvElemStart
import scala.xml.pull.EvText
import scala.collection.mutable
import org.puma.analyzer.filter.ExtractorFilter
import com.typesafe.scalalogging.slf4j.LazyLogging
import org.puma.configuration.ConfigurationUtil
/**... | {
"content_hash": "2729c3b11a78fcfe14e36885a3fd8325",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 110,
"avg_line_length": 31.848837209302324,
"alnum_prop": 0.6783497626871121,
"repo_name": "sergioalvz/puma",
"id": "d876629a8ffc21fda537e634a8378e19c3a18719",
"size": "274... |
import { NgModule } from '@angular/core'
import { SharedModule } from '../shared/shared.module'
import { Lazyload2Component } from './lazyload2.component'
import { LazyLoad2RoutingModule }from './lazyload2-routing.module'
@NgModule({
declarations:[
Lazyload2Component
],
imports:[
LazyLoad2... | {
"content_hash": "20445cf3232341947beb63f36ab59e38",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 66,
"avg_line_length": 23.11111111111111,
"alnum_prop": 0.6850961538461539,
"repo_name": "wuzhouyang/angular2-webpack-aot-lazyload-starter",
"id": "101d0d6e862070fd89acbeb94f... |
package org.openxava.actions;
import java.io.*;
import java.sql.*;
import java.text.*;
import java.util.*;
import java.util.Date;
import javax.servlet.*;
import net.sf.jasperreports.engine.*;
import org.openxava.jpa.*;
import org.openxava.util.*;
/**
* To generate your custom Jasper Report. <p>
*
* You only ne... | {
"content_hash": "8f65880d029b92d4267d166956c44896",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 110,
"avg_line_length": 29.227848101265824,
"alnum_prop": 0.6931572109138155,
"repo_name": "jecuendet/maven4openxava",
"id": "c3f905e436ddf4e58512538a34844520b52cfbec",
"s... |
@charset "utf-8";
/* CSS Document */
.font{font-family:'Microsoft Yahei',"\5FAE\8F6F\96C5\9ED1";}
.scrollbar{height:35px;line-height:35px;background:#f6f6f6;z-index:1000; border-bottom:1px solid #dcdadc;}
.List_box_Z{ width:1000px; margin:0 auto; zoom:1;}
.List_box_L{ float:left;}
.List_box_L1{ float:left; margin-righ... | {
"content_hash": "c5636785b8336e2d38c43560d590ad34",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 339,
"avg_line_length": 61.625,
"alnum_prop": 0.7401515960286111,
"repo_name": "VampireMe/admin-9939-com",
"id": "57eb2fa7f2acc449e8780a4851f6954a929905ad",
"size": "9411"... |
package com.scalacraft.domain.v2.binary
import com.scalacraft.domain.v2.internal.Information
import com.scalacraft.domain.v2.binary.unconstrained.{OctetPair => Unconstrained}
/**
* An `OctetPair` represents two [[Octet]]s.
*
* The following constraints hold for instances of this class,
*
* - `hi` is not null
... | {
"content_hash": "05d2a225fae51d3d43cc68f0852a29f1",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 115,
"avg_line_length": 31.826923076923077,
"alnum_prop": 0.6352467270896274,
"repo_name": "janekdb/scalacraft-domain",
"id": "3bc74fe6a765f5bf34be25899d6b47bb397e4315",
"... |
/*************************************************************************/
/* translation.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "965b972744e298ec68c74a251b5fd77d",
"timestamp": "",
"source": "github",
"line_count": 1173,
"max_line_length": 159,
"avg_line_length": 26.41687979539642,
"alnum_prop": 0.6065124084293413,
"repo_name": "ageazrael/godot",
"id": "058db956e51be0b6da1ee88c3414f766484dbe9b",
"size": "30... |
require 'spec_helper'
describe Relationship do
let(:follower) { FactoryGirl.create(:user) }
let(:followed) { FactoryGirl.create(:user) }
let(:relationship) { follower.relationships.build(followed_id: followed.id) }
subject { relationship }
it { should be_valid }
describe "follower methods" do
it ... | {
"content_hash": "b0783acca6c2faec34b862c16dc0a9c5",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 79,
"avg_line_length": 25.93103448275862,
"alnum_prop": 0.6768617021276596,
"repo_name": "yoshuawuyts/rails-uva",
"id": "6ddf20606a540ce98e6b8c06dfe3690b075b449a",
"size": ... |
<div id="__html_block_list_id__" class="adm-bp-blocks">
<bx_include_auto:bp_blocks.html />
<script language="javascript">
$(document).ready(function () {
$('.adm-bp-block .adm-bpb-icon, .adm-bp-block .adm-bpb-info').bind('click', function() {
var oCheckbox = $(this).pare... | {
"content_hash": "6595bcdd6e69ac24318caf5ba59ee7cd",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 100,
"avg_line_length": 47,
"alnum_prop": 0.539651837524178,
"repo_name": "boonex/trident",
"id": "99953021286ac4bd4bdb73b6d6f24aa1347c40d0",
"size": "517",
"binary": fal... |
const accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
const authToken = 'your_auth_token';
const client = require('twilio')(accountSid, authToken);
client.sip
.ipAccessControlLists('AL32a3c49700934481addd5ce1659f04d2')
.ipAddresses('IP32a3c49700934481addd5ce1659f04d2')
.get((err, ipAddress) => {
console.l... | {
"content_hash": "60f969c994b852f5a303d9d49715a137",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 61,
"avg_line_length": 35.1,
"alnum_prop": 0.7692307692307693,
"repo_name": "teoreteetik/api-snippets",
"id": "7ddd351907cdaacb503f18c9b82f97e79c0e0c8a",
"size": "498",
"... |
package net.minepass.api.gameserver.embed.solidtx.embed.json.parser;
/**
* ParseException explains why and where the error occurs in source JSON text.
*
* @author FangYidong<fangyidong@yahoo.com.cn>
*
*/
public class ParseException extends Exception {
private static final long serialVersionUID = -78806989681877... | {
"content_hash": "b4e9e331c558d88c531047d072854554",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 118,
"avg_line_length": 29.2,
"alnum_prop": 0.7336377473363774,
"repo_name": "minepass/gameserver-core",
"id": "111d8b1796d265a962f821e589f49c133821fe6f",
"size": "2628",
... |
title: createWebsite.ps1 - AddDefaultDocument
linkText: AddDefaultDocument
description: Details about the AddDefaultDocument function in createWebsite.ps1 helper script
---
# AddDefaultDocument
```PowerShell
{% raw %}
AddDefaultDocument
[-websiteName] <String>
[-defaultDocumentName] <String>
{% endraw %}
```
... | {
"content_hash": "088324286841a01aff0f1df3d253b9e9",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 93,
"avg_line_length": 19.692307692307693,
"alnum_prop": 0.74609375,
"repo_name": "15below/Ensconce",
"id": "56ae9f2e0944178fb00561d361fdf5ab79e8c9fd",
"size": "516",
"bi... |
import sys
import jinja2
import json
def jinja2_render(config, input, output):
with open(input, 'r') as f:
template = jinja2.Template(f.read(), undefined=jinja2.StrictUndefined, trim_blocks=True, lstrip_blocks=True)
with open(output, 'w') as f:
f.write(template.render(**config))
def usage():
... | {
"content_hash": "655ae71bfc89e2a265ce84195313340e",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 116,
"avg_line_length": 28.571428571428573,
"alnum_prop": 0.6316666666666667,
"repo_name": "danking/hail",
"id": "7562fc33b02e3796275ca5ad8b88cbada044d68e",
"size": "600",
... |
FROM dockerfile/nodejs
MAINTAINER Matthias Luebken, matthias@catalyst-zero.com
# Mongo install and run
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN groupadd -r mongodb && useradd -r -g mongodb mongodb
RUN apt-get update \
&& apt-... | {
"content_hash": "789d07ef253955926c5955b2ea6e2d8b",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 134,
"avg_line_length": 30.7027027027027,
"alnum_prop": 0.7407570422535211,
"repo_name": "rdesmedt/pictorious",
"id": "fb2418d5f805f2628008fd6caac9af81d3f6c7e5",
"size": "2... |
import React from 'react'
import findIndex from 'lodash.findindex'
import { Link } from 'react-router-dom'
import { Route, Index, Link as ILink } from '../../../../types'
const current = (route: Route, index: Index) => {
const module = findIndex(index, { id: route.module })
const article = findIndex(index[module].... | {
"content_hash": "649685c5cacd6401f01a9241ff081019",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 80,
"avg_line_length": 31.563636363636363,
"alnum_prop": 0.6595622119815668,
"repo_name": "dempfi/xene-docs",
"id": "02847c39372c074cb802b750c2a7927e2a13acb3",
"size": "173... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Termin hinzufügen</div>
<div class="panel-body">
<form method="POST" action="{{ url('/events', $event->id) }}" class="form-horizont... | {
"content_hash": "11c5a78d9c76172db54e6b9cc2e75ccc",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 152,
"avg_line_length": 41.67567567567568,
"alnum_prop": 0.5073497622135754,
"repo_name": "jensdoecke/bwf",
"id": "d0fe3904da843eb69659f6983bc3582f02768419",
"size": "4627... |
package com.indoqa.cycle.plugin;
public class Connection<T> {
private final T start;
private final T end;
public Connection(T start, T end) {
super();
this.start = start;
this.end = end;
}
public T getEnd() {
return this.end;
}
public T getStart() {
... | {
"content_hash": "49494007539c4324beb8b3e7c5d2b2b6",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 39,
"avg_line_length": 15.954545454545455,
"alnum_prop": 0.5527065527065527,
"repo_name": "Indoqa/cycle-maven-plugin",
"id": "51839b80a716cd2f9b2bcdb5bcd0929cb7f80b30",
"si... |
/*
This excellent error creator concept was borrowed from Mark Cavage
https://github.com/mcavage/node-ldapjs/blob/master/lib/errors/index.js
*/
var util = require('util');
var CODES = {
DNS_NO_ERROR: 0,
DNS_PROTOCOL_ERROR: 1,
DNS_CANNOT_PROCESS: 2,
DNS_NO_... | {
"content_hash": "2b1a7dc9cef8c74ba72408f102e4cfcd",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 79,
"avg_line_length": 23.426666666666666,
"alnum_prop": 0.5150825270347182,
"repo_name": "dnsanalytics/scripts",
"id": "dd2b4c4b53d4dc31c625db7585c8bd56ca8f1c75",
"size": ... |
import { createIterator } from '../helpers/helpers';
import { STRICT_THIS } from '../helpers/constants';
import Iterator from 'core-js-pure/full/iterator';
QUnit.test('Iterator#some', assert => {
const { some } = Iterator.prototype;
assert.isFunction(some);
assert.arity(some, 1);
assert.nonEnumerable(Iterato... | {
"content_hash": "6e24945021924069e8c6acf5563b56eb",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 108,
"avg_line_length": 45.172413793103445,
"alnum_prop": 0.6290076335877862,
"repo_name": "zloirock/core-js",
"id": "724c7c5d014202b62c69e2992738e25c1d9d3780",
"size": "13... |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TupleSections #-}
-- | Construct a @Plan@ for how to build
module Stack.Build.ConstructPlan
( constr... | {
"content_hash": "411a07b619f8f804e6c29e3f0459610f",
"timestamp": "",
"source": "github",
"line_count": 495,
"max_line_length": 138,
"avg_line_length": 40.6949494949495,
"alnum_prop": 0.6050933280381255,
"repo_name": "duplode/stack",
"id": "6a62b33b70fc49a0910a25eb048fb72839fbe8ea",
"size": "20144"... |
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
namespace Smellyriver.TankInspector.Pro.GameClientExplorer
{
class BoolToFontWeightConverter : MarkupExtension, IValueConverter
{
public object Convert(object value, Type targetType,... | {
"content_hash": "5af7e3b79fe436738dd1ec516175189a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 103,
"avg_line_length": 27.233333333333334,
"alnum_prop": 0.653610771113831,
"repo_name": "smellyriver/tank-inspector-pro",
"id": "0ab3f1b84fee0567c79494543445dcc8df57868c",
... |
import type Context from '../../BlockContext';
export default {
name: 'subtraction',
inputs: [
{
name: 'minuend',
type: 'number'
},
{
name: 'subtrahend',
type: 'number'
}
],
outputs: [
{
name: 'subtracti... | {
"content_hash": "60b500b3392cec2fbb714be7847f7458",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 62,
"avg_line_length": 22.653846153846153,
"alnum_prop": 0.4702886247877759,
"repo_name": "neptunejs/larissa",
"id": "73be7f604384affdce53cbf28ad0595b4effaf41",
"size": "59... |
import { expect, it } from 'vitest'
import factory from '@/__tests__/factory'
import UnitTestCase from '@/__tests__/UnitTestCase'
import { mediaInfoService } from '@/services/mediaInfoService'
import { commonStore, songStore } from '@/stores'
import { fireEvent } from '@testing-library/vue'
import { playbackService } f... | {
"content_hash": "c37ca4642abc4e1761ac993fb75adda4",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 98,
"avg_line_length": 31.48780487804878,
"alnum_prop": 0.6549186676994578,
"repo_name": "phanan/koel",
"id": "b0156777abf922b90154810ee004d40547985f67",
"size": "2582",
... |
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body id="page-top">
{% include nav.html %}
{% include header.html %}
{% include about.html %}
{% include features.html %}
{% include exchanges.html %}
{% include partners.html %}
{% include community.html %}
{% include aside.html %}
{% includ... | {
"content_hash": "1f6bf731966fa2daa53ed921e5aeb8f4",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 30,
"avg_line_length": 20.210526315789473,
"alnum_prop": 0.6119791666666666,
"repo_name": "42-coin/42-coin.github.io",
"id": "7a2664ca334d0f1b3c4a5d53ba2efbf0b71f3320",
"si... |
$:.unshift "#{File.dirname(__FILE__)}/../vendor/tinder/lib"
require "rubygems"
require "tinder"
class Campfire
class Bot
attr_accessor :campfire, :room, :domain, :token, :name, :ssl, :debug
def initialize(params = {})
self.debug = params[:debug]
self.ssl = params[:ssl]
self.domain = params... | {
"content_hash": "78de7aa46dbbe3f90f9bf7b3324749ad",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 119,
"avg_line_length": 28.232558139534884,
"alnum_prop": 0.6235584843492586,
"repo_name": "wesabe/wesabot",
"id": "05b40dba320f6ec836a4cc049f3f6e8a779ab54c",
"size": "1214... |
SYNONYM
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "73f3d0be6ee2cdd2a71805cc9d9d5b89",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 10.846153846153847,
"alnum_prop": 0.7163120567375887,
"repo_name": "mdoering/backbone",
"id": "d7cd4f983549058aedb01349a7207a2e115fde72",
"size": "18... |
package main
import (
"github.com/google/wire"
)
func injectFooer() Fooer {
// wrong: arg0 must be a pointer to an interface.
wire.Build(wire.Bind("foo", "bar"))
return nil
}
| {
"content_hash": "196503fc480ea9b24f650b22d1a8e2bf",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 50,
"avg_line_length": 16.454545454545453,
"alnum_prop": 0.6850828729281768,
"repo_name": "google/wire",
"id": "8ce49b6460e0ddfbbfe2671b7e39e9106558b914",
"size": "797",
... |
from __future__ import with_statement
from flask_security.utils import capture_registrations, \
capture_reset_password_requests, capture_signals
from flask_security.signals import user_registered, user_confirmed, \
confirm_instructions_sent, login_instructions_sent, \
password_reset, password_changed, rese... | {
"content_hash": "9f4c3167aab2d654e2e177025294af98",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 87,
"avg_line_length": 40.559322033898304,
"alnum_prop": 0.5908900961136648,
"repo_name": "maxcountryman/flask-security",
"id": "386f05dd5f7366e70e4e88c4c52efb46992efb76",
... |
module Linkage
# A {ResultSet} is a convenience class for wrapping a {ScoreSet} and a
# {MatchSet}. Most of the time, you'll want to use the same storage format for
# both scores and matches. {ResultSet} provides a way to group both sets
# together.
#
# The default implementation of {ResultSet} merely retur... | {
"content_hash": "3b44c80df1f86eefa60a588dfac26413",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 80,
"avg_line_length": 31.756410256410255,
"alnum_prop": 0.6289866774323779,
"repo_name": "coupler/linkage",
"id": "fb020c0d87a28a7db824e6de63d491f96a005bda",
"size": "2477... |
#include "config.h"
#include "bindings/core/v8/V8Window.h"
#include "bindings/core/v8/BindingSecurity.h"
#include "bindings/core/v8/ExceptionMessages.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/ScriptController.h"
#include "bindings/core/v8/ScriptSourceCode.h"
#include "bindings/core/v... | {
"content_hash": "169d90144a3b34ff874078185e905f0d",
"timestamp": "",
"source": "github",
"line_count": 383,
"max_line_length": 196,
"avg_line_length": 41.765013054830284,
"alnum_prop": 0.7056764191047762,
"repo_name": "crosswalk-project/blink-crosswalk",
"id": "18fa0f9846b509a19ce6d5f54c0e2cd3282e84... |
// Copyright 2022 Google LLC
//
// 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 writi... | {
"content_hash": "ba5626e70a899e629b92c83eab42a327",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 128,
"avg_line_length": 27.109756097560975,
"alnum_prop": 0.6603688708951867,
"repo_name": "googleads/googleads-java-lib",
"id": "4afca5fc0226986df706aa8b560083638ed2c8b3",
... |
package com.devicehive.model.rpc;
import com.devicehive.shim.api.Action;
import com.devicehive.shim.api.Body;
public class CountResponse extends Body {
private long count;
public CountResponse(long count) {
super(Action.COUNT_RESPONSE);
this.count = count;
}
public long getCount()... | {
"content_hash": "598d6a00d4325743d528bc2a22013681",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 41,
"avg_line_length": 17.791666666666668,
"alnum_prop": 0.6487119437939111,
"repo_name": "devicehive/devicehive-java-server",
"id": "f0418c198c69eb227cb930f7d8a45383f6e71b58... |
package com.innovaee.eorder.dao.hibernate;
import com.innovaee.eorder.dao.MemberShipDao;
import com.innovaee.eorder.entity.MemberShip;
/**
* @Title: MemberShipDao
* @Description: 用户会员数据库访问接口Hibernate实现
*
* @version V1.0
*/
public class HibernateMemberShipDao extends HibernateBaseDao<MemberShip>
imple... | {
"content_hash": "db92ca65599866b74865d4fd537d7d6c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 72,
"avg_line_length": 19.166666666666668,
"alnum_prop": 0.7652173913043478,
"repo_name": "aaronluo/cuoxiazi",
"id": "6246a8f76b36a2cabe5d8a721d433b2c0530f755",
"size": "61... |
<!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_45) on Sat Apr 09 10:10:56 EDT 2016 -->
<title>StreamHook (apache-cassandra API)</title>
<meta name="date" content="2016-04-09">
<link rel="sty... | {
"content_hash": "e6646d8b8e0d699747322e474785785a",
"timestamp": "",
"source": "github",
"line_count": 309,
"max_line_length": 659,
"avg_line_length": 48.773462783171524,
"alnum_prop": 0.6626633932718466,
"repo_name": "jasonwee/videoOnCloud",
"id": "d9939a4f563489ad92461fb7781cd60f1f6b284a",
"size... |
GitHub Issue Reporter Module for XBMC
=====================================
This addon provides an exported module to report issues in your addon to GitHub.
Usage
-----
* Add `<import addon="script.module.githubissuereporter"/>` in the `<requires>` section of your addon's addon XML file
* Wrap your addon code withi... | {
"content_hash": "437b9dba368f0d3f7c04d4ed2e440a86",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 193,
"avg_line_length": 39.357142857142854,
"alnum_prop": 0.6978221415607986,
"repo_name": "xbmc-catchuptv-au/script.module.githubissuereporter",
"id": "23c2632c4fd6f3a9493a6... |
The MIT License (MIT)
Copyright (c) [2014] [Wasim Halani 'washal']
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... | {
"content_hash": "70fe571fa1c8a1055565cbea34e88be4",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 78,
"avg_line_length": 51.95238095238095,
"alnum_prop": 0.8001833180568286,
"repo_name": "washal/etcpasswd",
"id": "a0b3cc15690bc9466f9cb3c1218433f39b218d29",
"size": "1091... |
/**
* @requires OpenLayers/Marker.js
*/
/**
* Class: OpenLayers.Marker.Box
*
* Inherits from:
* - <OpenLayers.Marker>
*/
OpenLayers.Marker.Box = OpenLayers.Class(OpenLayers.Marker, {
/**
* Property: bounds
* {<OpenLayers.Bounds>}
*/
bounds: null,
/**
* Property: div
* ... | {
"content_hash": "db56b9e7bd157327e13cbd132f974d87",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 76,
"avg_line_length": 21.45299145299145,
"alnum_prop": 0.5310756972111553,
"repo_name": "girc/dmis",
"id": "510320cd565ea00d016109b69c527c82766e0d35",
"size": "2761",
"... |
package ca.uhn.fhir.rest.api.server;
import org.hl7.fhir.instance.model.api.IBaseResource;
/**
* This object is an abstraction for a server response that is going to
* return one or more resources to the user. This can be used by interceptors
* to make decisions about whether a resource should be visible or not
... | {
"content_hash": "389838241ef96747675dd82009ebad3a",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 77,
"avg_line_length": 24.523809523809526,
"alnum_prop": 0.7689320388349514,
"repo_name": "SingingTree/hapi-fhir",
"id": "8d53d02068de6312d90d7f3c0220947ccfddfa28",
"size":... |
namespace helene
{
namespace static_json
{
namespace detail
{
template <class...>
struct type_list
{
};
////////////////////////////////////////////////////////////////////////////////
// get first type of a type_list
template <class TypeList>
struct head;
template <class First, class... Rest>
struct head<type_list<... | {
"content_hash": "a5626e0108b8c12dc2d2710657f18ca8",
"timestamp": "",
"source": "github",
"line_count": 326,
"max_line_length": 80,
"avg_line_length": 22.447852760736197,
"alnum_prop": 0.57310740639519,
"repo_name": "bergesenha/helene",
"id": "6a59161bdf902fd1a13d00ab21be1605f09d5562",
"size": "737... |
package net.eusashead.bjugquerydsl.controller;
import static net.eusashead.hateoas.converter.hal.HalHttpMessageConverter.HAL_JSON;
import static net.eusashead.hateoas.converter.hal.HalHttpMessageConverter.HAL_XML;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.... | {
"content_hash": "a27ee38e687ca56fa339c42b7e18bfee",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 124,
"avg_line_length": 33.707692307692305,
"alnum_prop": 0.7676859881332725,
"repo_name": "patrickvankann/bjug-querydsl",
"id": "b1c073fcf0937399ba9790a298347cb2237fde3b",
... |
<?php
include('rjvheader.php');
include('rjvfooter.php');
?>
<html>
<?php
head();
?>
<script type='text/javascript'>
jQuery.noConflict();//it Works :D harus semua file pake jquery
var site = "<?php echo site_url();?>";
jQuery(function(){
jQuery('.auto_search_poli').autocomplete({
... | {
"content_hash": "47237fdbb1a32bedd47e93c787c6cb4d",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 124,
"avg_line_length": 29.786666666666665,
"alnum_prop": 0.5608773500447628,
"repo_name": "asepmulyadi011/SistemRumahSakit",
"id": "b424d612d71690d05301ec8c78078ccdce5d5cee"... |
This list is sorted in an alphabetically order.
* [Alexey Kuzmin](https://github.com/alexeykuzmin)
* Grunt 0.4 support
* Made `update_url` optional
* [Bryan Ehrlich](https://github.com/adotout)
* Windows compatibility
* [Changwoo Park](https://github.com/pismute)
* Various bugfixes
* [Patrick Williams](https://git... | {
"content_hash": "943ee74523aa674c8d332ccac08d7c4f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 50,
"avg_line_length": 34.81818181818182,
"alnum_prop": 0.7389033942558747,
"repo_name": "graydon/stxt",
"id": "3b97740bb10e24e6bfeea11b06fac41c2f1e2fbe",
"size": "409",
... |
<!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": "9d7f9d9ee4901e92585f4cd45ea08d76",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 391,
"avg_line_length": 55.873873873873876,
"alnum_prop": 0.6623669783940664,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "902387fa2b0766fe16728771fe19a5ab8a28dbf8",
"si... |
<!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_45) on Sat Apr 09 10:11:04 EDT 2016 -->
<title>org.apache.cassandra.index.internal (apache-cassandra API)</title>
<meta name="date" content="20... | {
"content_hash": "080e61f912eeb07a71ee34d1ca29acd7",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 187,
"avg_line_length": 59,
"alnum_prop": 0.7175141242937854,
"repo_name": "jasonwee/videoOnCloud",
"id": "10e28691d9a154dfc063d5418a43c5a3c8200a3f",
"size": "1593",
"bin... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Cubits</source>
<translation>Σχετικά με το Cubits</translation>
... | {
"content_hash": "7a8bb439f5d06e17ca7fafb0c3776f4a",
"timestamp": "",
"source": "github",
"line_count": 2941,
"max_line_length": 428,
"avg_line_length": 40.48112886773206,
"alnum_prop": 0.6392927638486414,
"repo_name": "scificrypto/CubitsV3",
"id": "ef62627717a7125bbebdc80a4207ab74da665487",
"size"... |
package by.istin.android.xcore.processor;
import android.content.Context;
import by.istin.android.xcore.XCoreHelper.IAppServiceKey;
import by.istin.android.xcore.source.DataSourceRequest;
import by.istin.android.xcore.source.IDataSource;
public interface IProcessor<Result, DataSourceResult> extends IAppServiceKey {
... | {
"content_hash": "4c2927ecd23550b253e8cbfca4792c0d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 154,
"avg_line_length": 39.2,
"alnum_prop": 0.8452380952380952,
"repo_name": "IstiN/android_xcore",
"id": "431270fe8db52de7422dd6f4e238e377e48f8ed3",
"size": "588",
"bina... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package practica3.medicos;
import java.util.concurrent.Semaphore;
/**
*
* @author joseangel
*/
public class Practica3Medicos {
... | {
"content_hash": "4a148b68c274d543b587eb72b7611169",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 80,
"avg_line_length": 25.525,
"alnum_prop": 0.5837414299706171,
"repo_name": "josegury/Concurrencia-en-Java",
"id": "4c2b3ae21d0bdb81657adcf50509c61b242855ab",
"size": "10... |
<?php
/*
Safe sample
input : backticks interpretation, reading the file /tmp/tainted.txt
sanitize : check if there is only letters and/or numbers
construction : use of sprintf via a %s with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, t... | {
"content_hash": "686cf1254f848f5646995ff828620290",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 75,
"avg_line_length": 22.1,
"alnum_prop": 0.7496229260935143,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "61ca2bd79446076bc2c9169a372ae336d4ce2478",
"size... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... | {
"content_hash": "12e09a64ff101c2ba4813bf1b847e472",
"timestamp": "",
"source": "github",
"line_count": 513,
"max_line_length": 83,
"avg_line_length": 35.40350877192982,
"alnum_prop": 0.5453694527034467,
"repo_name": "barbarybaer/LampBeltExam",
"id": "e8654dbf1a660bfc7c123e6f9aa43d39742ad148",
"siz... |
module JmPlayer
module Resources
VERSION = 10022014
end
end
| {
"content_hash": "3bd4dce0ad708ac286f92530c86fbcc3",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 22,
"avg_line_length": 13.6,
"alnum_prop": 0.7352941176470589,
"repo_name": "gregory/jm_player",
"id": "777c983963b83ae78f7785dae29f15313ba27825",
"size": "68",
"binary": ... |
--------------------------------
-- set the impulse that break the constraint
-- @function [parent=#Physics3DConstraint] setBreakingImpulse
-- @param self
-- @param #float impulse
-- @return Physics3DConstraint#Physics3DConstraint self (return value: cc.Physics3DConstraint)
--------------------------... | {
"content_hash": "8dcd0c59d66c222dd26992f147311981",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 174,
"avg_line_length": 36.74647887323944,
"alnum_prop": 0.6331927941740131,
"repo_name": "oregamikiller/cocos2dPod",
"id": "379d08b92a7bb787254b2bb06264de5ddd041639",
"siz... |
package org.apache.geode.cache;
import static org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.getInstance;
import static org.apache.geode.test.dunit.Assert.assertEquals;
import static org.apache.geode.test.dunit.Assert.assertFalse;
import static org.apache.geode.test.dunit.Assert.assertNotNull;
impor... | {
"content_hash": "711cd7c6dd2ec6a3998652f459a15211",
"timestamp": "",
"source": "github",
"line_count": 5855,
"max_line_length": 113,
"avg_line_length": 36.55815542271563,
"alnum_prop": 0.6332738451188519,
"repo_name": "pdxrunner/geode",
"id": "beab93201db0a94d625b36a61720afe6b5d71050",
"size": "21... |
//
// GDataEntryYouTubeUpload.m
//
// This entry is used to upload to YouTube.
//
#import "GDataEntryYouTubeUpload.h"
#import "GDataEntryYouTubeVideo.h"
#import "GDataYouTubeElements.h"
@implementation GDataEntryYouTubeUpload
+ (GDataEntryYouTubeUpload *)uploadEntryWithMediaGroup:(GDataYouTubeMediaGroup *)mediaG... | {
"content_hash": "012a7cc7ba65355a7eaf198fbb58583b",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 93,
"avg_line_length": 24.450704225352112,
"alnum_prop": 0.6768433179723502,
"repo_name": "number7/budgetminder",
"id": "9065bb9fabc83ec7b049ce0bcfaa2865f80854ba",
"size": ... |
var Index = function () {
return {
//main function to initiate the module
init: function () {
}
};
}(); | {
"content_hash": "0efb90d3e4e998e2820c621770a995f2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 46,
"avg_line_length": 10.846153846153847,
"alnum_prop": 0.46099290780141844,
"repo_name": "dshibko/clear",
"id": "42731fcf74f9ded7e349f6a856c61c00c6d88288",
"size": "141",... |
Task 'store-api-key' -requiredVariables SettingsPath {
$promptForKeyCredParams = @{
DestinationPath = $SettingsPath
Message = 'Enter your NuGet API key in the password field'
Key = 'NuGetApiKey'
}
PromptUserForCredentialAndStorePassword @promptForKeyCredParams
... | {
"content_hash": "71bf2421b72cf368c170053485dee90f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 74,
"avg_line_length": 37.4,
"alnum_prop": 0.679144385026738,
"repo_name": "Cobster/psst",
"id": "040d1c13f66dfadc82b340dd8e4337cd2dd7878b",
"size": "374",
"binary": fals... |
using System.Linq;
using Sprache;
namespace SharpFlame.Core.Parsers.Lev2
{
public class Lev2Grammar
{
public static readonly Parser<string> MultiLineComment =
Parse.AnyChar.Except(Parse.String("*/")).AtLeastOnce().Text()
.Contained(Parse.String("/*"), Parse.String(... | {
"content_hash": "4df70dd41ce6488611ae1a8709230dff",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 86,
"avg_line_length": 37.42675159235669,
"alnum_prop": 0.5175289312457454,
"repo_name": "bchavez/SharpFlame",
"id": "4a0119cb8107c3d41b8ce28e0bd3d84c21dc504a",
"size": "5... |
#ifndef LALRGRAM_HPP
#define LALRGRAM_HPP
#include "gram.hpp"
#include "lalrparsingtable.hpp"
#include <deque>
#include <utility>
/// @todo: consider priorities for productions, additional to ignore
/// @todo: consider moving ignore flag from Information to ItemCore,
/// since ignore items and non-igno... | {
"content_hash": "69b79a9d8cffad4a507e8ac219fa30fd",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 113,
"avg_line_length": 32.42483660130719,
"alnum_prop": 0.7083249344890143,
"repo_name": "jackscan/parlucid",
"id": "6c9b83774e0d96538339fc28715315a76479e26f",
"size": "6... |
/* $NetBSD: ppp-comp.h,v 1.4 1998/05/02 14:34:25 christos Exp $ */
/*
* ppp-comp.h - Definitions for doing PPP packet compression.
*
* Copyright (c) 1994 The Australian National University.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation is hereby... | {
"content_hash": "bf058d4a41d0f1654c63d3e0e4c2fd45",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 76,
"avg_line_length": 34.357142857142854,
"alnum_prop": 0.6961191961191961,
"repo_name": "MarginC/kame",
"id": "5adc3f0f19f72ef3eab217695830c7def1656edf",
"size": "5772",... |
import { Fixture } from "../../utils/fixture";
import { normalizeEnvironment } from "../../utils/snapshot-serializer-utils";
expect.addSnapshotSerializer({
serialize(str: string) {
return normalizeEnvironment(str);
},
test(val: string) {
return val != null && typeof val === "string";
},
});
describe("... | {
"content_hash": "6db56c6a77ebc81fac7bfd0ff7b1b120",
"timestamp": "",
"source": "github",
"line_count": 280,
"max_line_length": 136,
"avg_line_length": 30.889285714285716,
"alnum_prop": 0.5892010637067869,
"repo_name": "lerna/lerna",
"id": "9e389b67601eddf520b0b866655a8b19edcf92f8",
"size": "8649",... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may specify which one you'... | {
"content_hash": "c7417efe75f50cb1b556a2b8153f8b0c",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 76,
"avg_line_length": 33.33064516129032,
"alnum_prop": 0.45947253810791194,
"repo_name": "nurbulatuly/ideab1nk",
"id": "7c0cae22bdd6c581fb72d46b1ec32a973118c9a5",
"size":... |
var assert = require('assert');
var async = require('async');
var domain = require('domain');
var helper = require('../../test-helper');
var Client = require('../../../lib/client');
var Host = require('../../../lib/host').Host;
var clientOptions = require('../../../lib/client-options');
var utils = require('../../../l... | {
"content_hash": "ffdbe3b8e6bd5428acec9bf20116ff3c",
"timestamp": "",
"source": "github",
"line_count": 811,
"max_line_length": 148,
"avg_line_length": 38.99876695437731,
"alnum_prop": 0.5679145061338055,
"repo_name": "connor4312/nodejs-driver",
"id": "a0e63811a8df2e1836f97c8022bc3250ccffbaa8",
"si... |
require('coffee-script/register');
require('./command-precompile.coffee');
| {
"content_hash": "bbb3b5bcd4f0e8ab0feaed0ac64b4a9e",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 39,
"avg_line_length": 37.5,
"alnum_prop": 0.76,
"repo_name": "octoblu/node-pre-compile-to-s3",
"id": "41f6b68f8beebd371e18d7125b2c548f121abc1a",
"size": "96",
"binary": f... |
<!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_43) on Wed May 22 21:49:23 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.apache.hadoop.hbase.io.hfile.... | {
"content_hash": "a7e90e01123c5f3fd64d22f9940fe655",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 583,
"avg_line_length": 49.23076923076923,
"alnum_prop": 0.61640625,
"repo_name": "algarecu/hbase-0.94.8-qod",
"id": "693db635ef80dc174eec19b38978448c7ec60346",
"size": "7... |
//CHECKSTYLE:FileLength:OFF
package org.pentaho.di.core.row.value;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.EOFException;
import java.io.IOException;
import java.io.StringReader;
import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;
import java.net.InetAddre... | {
"content_hash": "f3ce786c75bb4ae3f632bc29e8dca946",
"timestamp": "",
"source": "github",
"line_count": 4911,
"max_line_length": 136,
"avg_line_length": 34.80370596619833,
"alnum_prop": 0.5988614623129984,
"repo_name": "IvanNikolaychuk/pentaho-kettle",
"id": "6ee1f535fc56b7bf504bc7c3ab7df490d403e4f6"... |
module.exports = {
/**
* Find the first element (partially) matches text from an array
*/
findFirstElement: function(arr, text, caseSensitive) {
if (!arr || arr.length == 0 || !text || text === '') {
return -1;
}
var compareLength = text.length;
for (var arrIter = 0; arrIter < arr.length... | {
"content_hash": "99859cac4b4822363e96e2b07a64d600",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 80,
"avg_line_length": 35.19230769230769,
"alnum_prop": 0.5972677595628415,
"repo_name": "ajhsu/autocomplete",
"id": "71e1678ecf528f41223154e0d3b21caba7b53d16",
"size": "18... |
module.exports = require('./lib/rpc')
| {
"content_hash": "7490f0812e23ce94a6bf5e02dd91d167",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 37,
"avg_line_length": 38,
"alnum_prop": 0.6842105263157895,
"repo_name": "xmpp-ftw/xmpp-ftw-rpc",
"id": "57780a6485c4cd7ad23d4ecc5cf59da8f95e495a",
"size": "38",
"binary"... |
require 'set'
class String
LETTERS = ('a'..'z').to_a
# Finds and returns an array that links the current word to _dest_word_,
# where each link in the chain is a word that differs from the previous
# only by a single character.
#
# The _visitation_map_ parameter is a hash containing all legal w... | {
"content_hash": "62c4b431a4da26619a90f7a9f358fe1a",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 86,
"avg_line_length": 35.28155339805825,
"alnum_prop": 0.5528343423225096,
"repo_name": "J-Y/RubyQuiz",
"id": "380e250c810dd6993646862eaa64ae7cf2d10b5a",
"size": "3656",
... |
Transmission
============
This part of the tutorial will demonstrate how to install and configure an existing web application.
Using Ansible Roles
-------------------
Unlike with the webserver from the previous example we *will* create a custom configuration, so instead of littering our top level directory with yet... | {
"content_hash": "843e944541f2540e85768317c1f3b9a8",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 224,
"avg_line_length": 34.135416666666664,
"alnum_prop": 0.6765334147085749,
"repo_name": "ployground/bsdploy",
"id": "a48d1d8d86bb6bb147e21a7d50b6d25b07f3a774",
"size": "... |
function GameManager(size, InputManager, Actuator, ScoreManager) {
this.size = size; // Size of the grid
this.inputManager = new InputManager;
this.scoreManager = new ScoreManager;
this.actuator = new Actuator;
this.startTiles = 1;
this.inputManager.on("move", this.move.bind(this));
this.i... | {
"content_hash": "da72cb07397499fbfa459dc4c136d1ed",
"timestamp": "",
"source": "github",
"line_count": 267,
"max_line_length": 78,
"avg_line_length": 25.228464419475657,
"alnum_prop": 0.6177256532066508,
"repo_name": "JeffreyWest/exploring_ninja",
"id": "7ffbdedc83ae1614a9b6f05e94fa63be957b5778",
... |
var OverlayBackground = function(cell)
{
this.init(cell);
};
var OverlayBackgroundPrototype = function()
{
this.type = "overlay-background";
this.height = 0;
this.width = 0;
this.top = 0;
this.left = 0;
this.is_dirty = true;
this.setDimensions = function(force_redraw)
{
if (!this.horizontal_bor... | {
"content_hash": "248f755fb37728c0cd2998daeaeea460",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 78,
"avg_line_length": 21.567901234567902,
"alnum_prop": 0.5867200915855753,
"repo_name": "operasoftware/dragonfly",
"id": "084e275a382f4f8eb574e32e2a86ec9f3daa28e9",
"size... |
@interface NSArray (PIXCategory)
- (NSArray *)PIXArrayByReplacingNullsWithBlanks;
@end
| {
"content_hash": "6f983fba8ec1ff7101f0921ee60b997c",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 48,
"avg_line_length": 29,
"alnum_prop": 0.8160919540229885,
"repo_name": "pixnet/pixnet-ios-sdk",
"id": "e3a9a42a659d612bb570d464488692d0c8aabd0d",
"size": "271",
"binary... |
package net.bytebuddy.implementation.attribute;
import net.bytebuddy.build.HashCodeAndEqualsPlugin;
import net.bytebuddy.description.annotation.AnnotationDescription;
import net.bytebuddy.description.enumeration.EnumerationDescription;
import net.bytebuddy.description.method.MethodDescription;
import net.bytebuddy.des... | {
"content_hash": "d4595ea0af28a444927844557082b966",
"timestamp": "",
"source": "github",
"line_count": 645,
"max_line_length": 172,
"avg_line_length": 50.31782945736434,
"alnum_prop": 0.6227391773224464,
"repo_name": "CodingFabian/byte-buddy",
"id": "00edf5baf5fcdba11a5a3a92b9c375d2cd161bda",
"siz... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Play! 2.x Provider for Play! 2.1.x 1.0.0-alpha8 Reference</title>
<link rel=... | {
"content_hash": "3a31c885f787f55af6a748a20bf1ba96",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 134,
"avg_line_length": 29.5,
"alnum_prop": 0.6567796610169492,
"repo_name": "play2-maven-plugin/play2-maven-plugin.github.io",
"id": "8b214141af5db01352041945429fbe2e78b0fcb... |
Service Catalog maintains metrics through the Prometheus client library and
exposes them through the Prometheus http adapter at the Controller's /metrics
endpoint. These metrics can be accessed directly via HTTP GET or more commonly
scraped by the Prometheus monitoring application which persists metrics and
facilitates... | {
"content_hash": "d5e8bea692223665d6970c4a11cbed4a",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 186,
"avg_line_length": 51.88505747126437,
"alnum_prop": 0.7893221089942402,
"repo_name": "staebler/service-catalog",
"id": "07b1e51f5cbb14a1777fbb3d18e714cfc366be55",
"siz... |
package org.amv.access.client.android.model;
public class AccessCertificateDto {
public String id;
public String device_access_certificate;
public String vehicle_access_certificate;
public String name;
}
| {
"content_hash": "5a5e675997d78213560caf7cbfce38e1",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 45,
"avg_line_length": 27.625,
"alnum_prop": 0.7647058823529411,
"repo_name": "amvnetworks/amv-access-api-poc",
"id": "b459fb59a2b80c7a0e2bc8a3996bc3f1ee50d151",
"size": "22... |
Filter
======
[](https://travis-ci.org/SugiPHP/Filter)
[](https://scrutinizer-ci.com/g/SugiPHP/Filter/?branch=master)
Simple filter helper functions.
Int... | {
"content_hash": "fbd6999678c3633a9f357f043b9e6916",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 168,
"avg_line_length": 33.46052631578947,
"alnum_prop": 0.6600471883602045,
"repo_name": "SugiPHP/Filter",
"id": "468e84260bff703e2316834c0af30e1022977631",
"size": "5086... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-257
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016... | {
"content_hash": "146883e2e2dfd23e60c8e675ef2a2e45",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 168,
"avg_line_length": 37.532710280373834,
"alnum_prop": 0.6755478087649402,
"repo_name": "dvbu-test/PDTool",
"id": "6e569e16dbda46a7b86e7e2637722b1b64a8f317",
"size": "4... |
module ElectricSheep
module Metadata
class Job < Base
include Pipe
include Monitor
option :id, required: true
option :description
option :private_key
attr_reader :schedule, :starts_with
def start_with!(resource)
@starts_with = resource
end
def noti... | {
"content_hash": "e40497c24e6e76e7e37977b59c45da25",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 71,
"avg_line_length": 19.058823529411764,
"alnum_prop": 0.5390946502057613,
"repo_name": "benitoDeLaCasita/electric_sheep",
"id": "981edd55eece1eb53cb0847cb79df0dcac9280a4",... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "aaecda85e27a2437ba07679fac32bc91",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "3fe645011889ac030d94696a11b5dea75f4209ef",
"size": "18... |
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for VmUuidConflictEvent complex type.
*
* <p>The following schema fra... | {
"content_hash": "40b9d9356ae31f1a9bbbdd95b154011a",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 95,
"avg_line_length": 23.77173913043478,
"alnum_prop": 0.5743026977594878,
"repo_name": "jdgwartney/vsphere-ws",
"id": "cacb6fb8946330ae21718bcc109951687bc4c642",
"size": ... |
layout: page
title: Vision Global Award Ceremony
date: 2016-05-24
author: Dorothy Chang
tags: weekly links, java
status: published
summary: Praesent ex arcu, ornare et quam.
banner: images/banner/leisure-02.jpg
booking:
startDate: 02/18/2016
endDate: 02/19/2016
ctyhocn: PIEFLHX
groupCode: VGAC
published: true
-... | {
"content_hash": "96a4f8b05817af1bfdb83760f0ae50d1",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 535,
"avg_line_length": 66.75,
"alnum_prop": 0.80374531835206,
"repo_name": "KlishGroup/prose-pogs",
"id": "61cba53add4dc74671152cfa9247ab0a3a870a45",
"size": "1339",
"bi... |
<?php
namespace common\models;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
/**
* This is the model class for table "codes".
*
* @property integer $id
* @property string $code
* @property integer $used
* @property string $created_at
* @property string $updated_at
*/
class Codes extend... | {
"content_hash": "8076fda14abfb5fc3f8d45dd5d203792",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 58,
"avg_line_length": 22.685714285714287,
"alnum_prop": 0.4628463476070529,
"repo_name": "djrosl/lkpro_back",
"id": "d3d12484581fb0fc8fef21df77919416d0a30050",
"size": "15... |
package org.spongepowered.server.launch.transformer.deobf;
public interface SrgRemapper {
SrgRemapper NONE = new SrgRemapper(){};
default String mapSrgField(String name) {
return name;
}
default String mapSrgMethod(String name) {
return name;
}
// Method name + descriptor
... | {
"content_hash": "1cc8780ac6f45869b16c18bdde28c939",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 92,
"avg_line_length": 23.954545454545453,
"alnum_prop": 0.6793168880455408,
"repo_name": "SpongePowered/SpongeVanilla",
"id": "b6a4ed4231c2964b053aaba4f980e6298bae8b61",
"... |
<cs-parameters-pair
[name]="'VM_PAGE.NETWORK_DETAILS.ipAddress'"
[value]="ipWithSuffix | translate"
></cs-parameters-pair>
<cs-parameters-pair
*ngIf="nic.macaddress"
[name]="'VM_PAGE.NETWORK_DETAILS.macAddress'"
[value]="nic.macaddress"
></cs-parameters-pair>
<cs-parameters-pair
*ngIf="nic.gateway"
[name]... | {
"content_hash": "d1800a7934a9a81172e814224915881d",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 47,
"avg_line_length": 27.142857142857142,
"alnum_prop": 0.6957894736842105,
"repo_name": "bwsw/cloudstack-ui",
"id": "56356b18a0d9ec1863f807ea444ea601e9ef6c66",
"size": "9... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... | {
"content_hash": "748ff7c4bf7e8a6da6745800f09b5170",
"timestamp": "",
"source": "github",
"line_count": 523,
"max_line_length": 83,
"avg_line_length": 35.31548757170172,
"alnum_prop": 0.542609637249594,
"repo_name": "RedNova007/CodeIgniter-Vakantiehuis",
"id": "89f1c605e59aa6ad95b9e46bd4fca6d6596f552... |
import { handleActions } from 'redux-actions'
import {
ITEM_DELETE,
ITEM_COMMIT,
ITEM_BEGIN_LOADING,
ITEM_END_LOADING,
ITEM_BEGIN_SAVING,
ITEM_END_SAVING,
ITEM_META_SET,
ITEM_META_TOGGLE,
ITEM_META_DELETE
} from '../../constants/item'
import {
ITEM_ATTRIBUTES_SET_OBJECT,
ITEM_ATTRIBUTE_SET,
ITE... | {
"content_hash": "447a04496352dd6b7889a0518a8146b3",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 86,
"avg_line_length": 31.769736842105264,
"alnum_prop": 0.6775729964796025,
"repo_name": "heygrady/redux-data-collections",
"id": "ec265a0c818a0d7fb872dc3b335558e9438532e2"... |
using Smart.Core.Configuration;
using Smart.Core.Dependency;
using Smart.Core.Infrastructure;
using System.Runtime.CompilerServices;
namespace Smart.Core
{
/// <summary>
/// 上下文访问对象(IOC容器,日志工具等)
/// </summary>
public class SmartContext
{
#region 属性
/// <summary>
/// 默认的缓存键
... | {
"content_hash": "b1075b33c09dda87e1788971781d8e14",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 105,
"avg_line_length": 28.63888888888889,
"alnum_prop": 0.537827352085354,
"repo_name": "SmallAnts/Smart",
"id": "3ef27cee0a06264107a00cae6fb2464e669aab8f",
"size": "2242"... |
<?php
namespace Matisse\Properties\Base;
use Matisse\Exceptions\ComponentException;
use Matisse\Properties\TypeSystem\type;
/**
* Properties of a Metadata component.
*/
class MetadataProperties extends AbstractProperties
{
/**
* Dynamic set of attributes, as specified on the source markup.
*
* @var arra... | {
"content_hash": "8867ab770bae852eac5ca4b0cabae8a0",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 82,
"avg_line_length": 19.396946564885496,
"alnum_prop": 0.6025186934277843,
"repo_name": "electro-modules/matisse",
"id": "156968d1f052b88daf4ec3dac5936373878196bb",
"siz... |
"""List package items."""
# :license: MIT, see LICENSE for more details.
import click
from SoftLayer.CLI import environment
from SoftLayer.CLI import formatting
from SoftLayer.managers import ordering
from SoftLayer.utils import lookup
COLUMNS = ['category', 'keyName', 'description']
@click.command()
@click.argumen... | {
"content_hash": "c8382306977fb8ab17969c5182868588",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 92,
"avg_line_length": 31.935064935064936,
"alnum_prop": 0.6726311508743391,
"repo_name": "nanjj/softlayer-python",
"id": "74f8fd4e74a828f084a48bdec383e06cb76a7d53",
"size"... |
'use strict';
angular.module('app').controller('TestController', TestController);
TestController.$inject = [];
function TestController() {
var vm = this;
vm.getText = getText;
function getText() {
return 'some text';
}
} | {
"content_hash": "8f5525d56c1ff13d6283da97a917e3be",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 67,
"avg_line_length": 16.6,
"alnum_prop": 0.6385542168674698,
"repo_name": "TheOneYouDontLike/AngularSandbox",
"id": "baaa8417e8d74886a84f9d9f8e19e4957d5fbb04",
"size": "2... |
package dcraft.io;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
public class ByteBufferInputStream extends InputStream {
protected ByteBuffer buf = null;
/**
* be aware this resets the position to 0
*
* @param buf source for the stream
*/
public Byte... | {
"content_hash": "7f371db97c7222623f5d74ea4363dd34",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 82,
"avg_line_length": 21.36111111111111,
"alnum_prop": 0.6527958387516255,
"repo_name": "Gadreel/dcraft",
"id": "f6f7b1120eccfd5f719177758f6e0c8d77a9132e",
"size": "1184",... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"content_hash": "d58e56ee73bbee0ae290a030d71ba437",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 182,
"avg_line_length": 45.07734806629834,
"alnum_prop": 0.7351391101850717,
"repo_name": "googleapis/google-api-java-client-services",
"id": "d44df3890ee540652598252fdf4f10... |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta charset="utf-8">
<base href="https://wordbit.com">
<title> Welcome to Wordpspace </title>
<link rel="canonical" href="https://wordbit.com/posts/welcome-to-wordpspace/">
<link rel="stylesheet" href="/css/pool... | {
"content_hash": "5225103a0770367fc0094c6dacbd7c21",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 700,
"avg_line_length": 26.42105263157895,
"alnum_prop": 0.649070385126162,
"repo_name": "wordbit/wordbit",
"id": "5d99956ee568e415f901b5947edbfae2c7068f6b",
"size": "3025... |
<!DOCTYPE html>
<html>
<head>
<title>Web Builder</title>
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/dragula.min.css" />
<script src="js/jquery.js"></script>
<script src="js/dragula.min.js"></script>
</head>
<body>
</body>
<sc... | {
"content_hash": "d5a53a369a902efa28f2fcf1af6f365f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 60,
"avg_line_length": 27,
"alnum_prop": 0.5679012345679012,
"repo_name": "celie56/webBuilder",
"id": "60e8d282026855842c74d445b0d36c3c0869259e",
"size": "405",
"binary":... |
package httpclient
import (
"bytes"
"context"
"crypto/rand"
"crypto/tls"
"encoding/base64"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/http/httputil"
"net/url"
"os"
"strings"
"time"
"github.com/rightscale/rsc/log"
"github.com/rightscale/rsc/recording"
)
const (
// NoDump is the default v... | {
"content_hash": "fde10c007def1e08c8e3b7257a733944",
"timestamp": "",
"source": "github",
"line_count": 570,
"max_line_length": 106,
"avg_line_length": 30.391228070175437,
"alnum_prop": 0.7126941061017145,
"repo_name": "rgeyer/rsc",
"id": "295251c6fba64f37384e5f94c0e5746bf6f75dfc",
"size": "17323",... |
<?php
namespace esperanto\NewsletterBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class NewsletterType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, arr... | {
"content_hash": "4b2cdbe00e681c80c495311be576cad4",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 76,
"avg_line_length": 24.194444444444443,
"alnum_prop": 0.6590126291618829,
"repo_name": "jennyhelbing/esperanto-cms",
"id": "df6cf9a05a44ae998b5683d88e587fa44ac5f233",
"s... |
/** @file CompareDump.cpp
* @brief Implementation of the 'assimp cmpdmp', which compares
* two model dumps for equality. It plays an important role
* in the regression test suite.
*/
#include "Main.h"
const char* AICMD_MSG_CMPDUMP_HELP =
"assimp cmpdump <actual> <expected>\n"
"\tCompare two short dumps p... | {
"content_hash": "7b200ffc27d2ef22f7908bcda4460672",
"timestamp": "",
"source": "github",
"line_count": 909,
"max_line_length": 117,
"avg_line_length": 30.84928492849285,
"alnum_prop": 0.5074174452606804,
"repo_name": "leyyin/university",
"id": "8739c9364d4a18d2b09a6d789aef782d51a849bc",
"size": "2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.