text stringlengths 2 1.04M | meta dict |
|---|---|
package com.thinkgem.jeesite.modules.sys.web;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.shiro.authz.UnauthorizedException;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.apache.shiro.web.util.WebUtil... | {
"content_hash": "b3422773ea43da6611d7e009c2fcc176",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 118,
"avg_line_length": 35.236111111111114,
"alnum_prop": 0.7280252266456445,
"repo_name": "micklai/site",
"id": "c4a2eb398f82b078f602833463bf51d8a36d2fe8",
"size": "8179"... |
#ifndef COIN_SOSHADOWDIRECTIONALLIGHT_H
#define COIN_SOSHADOWDIRECTIONALLIGHT_H
#include <Inventor/nodes/SoSubNode.h>
#include <Inventor/nodes/SoDirectionalLight.h>
#include <Inventor/fields/SoSFNode.h>
#include <Inventor/fields/SoSFFloat.h>
#include <Inventor/fields/SoSFVec3f.h>
class COIN_DLL_API SoShadowDirectio... | {
"content_hash": "45429185a60a331b2b07da403bb82fb4",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 73,
"avg_line_length": 24.1875,
"alnum_prop": 0.8010335917312662,
"repo_name": "Alexpux/Coin3D",
"id": "237707578a0605135d1e678614e40a15caad1d2e",
"size": "2505",
"binary... |
package com.amazonaws.services.inspector.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.inspector.model.*;
import com.amazonaws.transform.Marshaller;
import com.amazon... | {
"content_hash": "02266dfedbd75ca30ec3a6735c05a3ca",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 157,
"avg_line_length": 42.19607843137255,
"alnum_prop": 0.7699814126394052,
"repo_name": "dagnir/aws-sdk-java",
"id": "a8fec0669aa1ae53cffc4279e9add80873a16058",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">大胆天气</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
</resources>
| {
"content_hash": "321a604a568442ff6917e813e8b622ae",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 52,
"avg_line_length": 26.75,
"alnum_prop": 0.6682242990654206,
"repo_name": "seujzhang/coolweather",
"id": "ad6a7e3f9034d475169ec76b5778a9159308c7b0",
"size": "222",
"bin... |
/* *****************************************************************************
* SystemProp.java
* ****************************************************************************/
/* J_LZ_COPYRIGHT_BEGIN *******************************************************
* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Rese... | {
"content_hash": "4eafaa064306b4025e2ed756b964046f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 80,
"avg_line_length": 35.5,
"alnum_prop": 0.3333333333333333,
"repo_name": "pkang/leftplayer",
"id": "35d807f959c1830ffc060352e2cdeff9cb80475c",
"size": "639",
"binary":... |
<?php
namespace App\Test\Fixture;
use Cake\TestSuite\Fixture\TestFixture;
/**
* ReceivedMessagesFixture
*
*/
class ReceivedMessagesFixture extends TestFixture
{
/**
* Fields
*
* @var array
*/
// @codingStandardsIgnoreStart
public $fields = [
'id' => ['type' => 'integer', 'l... | {
"content_hash": "5b06fb4bb7e375ffa62177fd9851ddb6",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 178,
"avg_line_length": 35,
"alnum_prop": 0.5098412698412699,
"repo_name": "ashleyhindle/mysmsisonfire",
"id": "6782f6404a28767a29a6e25fba9508e60170d6d9",
"size": "1575",
... |
<bill session="110" type="h" number="3940" updated="2009-01-09T01:05:55-05:00">
<status><introduced date="1193112000" datetime="2007-10-23"/></status>
<introduced date="1193112000" datetime="2007-10-23"/>
<titles>
<title type="official" as="introduced">To amend the Deficit Reduction Act of 2005.</title>
</titles... | {
"content_hash": "9e98426dea86fc7426f5e8fed78210ae",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 911,
"avg_line_length": 55.55882352941177,
"alnum_prop": 0.7527792482795129,
"repo_name": "hashrocket/localpolitics.in",
"id": "7f82cbf2cb99977aabe5c5475eafabc3c99c7c4f",
"... |
var _ = require('lodash'),
config = require('../../config'),
nodeEnv = process.env.NODE_ENV || 'development',
dbEnv,
Bookshelf;
dbEnv = config.get(nodeEnv).database;
var knex = require('knex')(dbEnv);
Bookshelf = require('bookshelf')(knex);
// Load the bookshelf registry plugin, which help... | {
"content_hash": "f6bb46562482abc4c51db2c116b1212e",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 25.88235294117647,
"alnum_prop": 0.6727272727272727,
"repo_name": "qimuyunduan/blogme",
"id": "1a97f06abde97af8efbc6f61631f4c20176b83ec",
"size": "47... |
/* 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
* distribut... | {
"content_hash": "8787ab32ae14c285d3e2d202171751b6",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 132,
"avg_line_length": 43.836363636363636,
"alnum_prop": 0.7498963085856492,
"repo_name": "gro-mar/flowable-engine",
"id": "030047ff150d986df39a52d103717fdeab626dbb",
"siz... |
<?php
namespace MainBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* WebsiteRapport
*
* @ORM\Table(name="websiteRapport", uniqueConstraints={@ORM\UniqueConstraint(name="type_rapport", columns={"type_rapport"})})
* @ORM\Entity
*/
class WebsiteRapport
{
/**
* @var integer
*
* @ORM\Column(n... | {
"content_hash": "d7e8b563ccd563a3cd08c52f7a96fc3b",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 126,
"avg_line_length": 18.037037037037038,
"alnum_prop": 0.5431211498973306,
"repo_name": "mounissa/RembWebSite",
"id": "192fb3aa0e0d9ac4effbf6ba5732cbb6ccd6bb3c",
"size"... |
package org.robolectric.internal.dependency;
import static java.nio.charset.StandardCharsets.UTF_8;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import... | {
"content_hash": "45233917a035afdf4092325255e2e91e",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 177,
"avg_line_length": 30.70921985815603,
"alnum_prop": 0.6863741339491917,
"repo_name": "ocadotechnology/robolectric",
"id": "4a846c5e570fed323e45885f3827eba572404e27",
... |
using System.Collections.Generic;
namespace StockportContentApi.Config
{
public class RedirectBusinessIds
{
public List<string> BusinessIds { get; }
public RedirectBusinessIds(List<string> businessIds)
{
BusinessIds = businessIds;
}
}
}
| {
"content_hash": "3ade380774c6b5e4a8941ab2d90ca71f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 60,
"avg_line_length": 21.142857142857142,
"alnum_prop": 0.6452702702702703,
"repo_name": "smbc-digital/iag-contentapi",
"id": "fabc0af07811379349c70268ea988f5eed87bd34",
"... |
class Sereth::Templates < ApplicationController
# Run user-configured access controls to check the template is accessible from this context
before_filter do
@templates = params['templates']
@templates = [templates] if !templates.is_a?(Array)
return if !TemplateManager.access?
return TemplateManager.... | {
"content_hash": "2b7b00e6ece906e6cb511b0f7af148e9",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 94,
"avg_line_length": 37.142857142857146,
"alnum_prop": 0.7423076923076923,
"repo_name": "TikiTDO/sereth_rtm",
"id": "fb517bd81563b21a3a89be3c967ac23217104601",
"size": "6... |
package com.adaptris.core;
import static com.adaptris.core.util.LoggingHelper.friendlyName;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* <p>
* Default implementation of <code>ComponentState</code>. Each default method
* implementation does nothing other than request the same operation on any
... | {
"content_hash": "0d4b0fdf9be9e04050a9b5243eed1eb1",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 124,
"avg_line_length": 31.489583333333332,
"alnum_prop": 0.727423089646047,
"repo_name": "adaptris/interlok",
"id": "65aa16dbf2c99587fa2b3fb18b7b505066564080",
"size": "36... |
package edu.uib.info310.model.factory;
import org.springframework.stereotype.Controller;
import edu.uib.info310.model.Artist;
import edu.uib.info310.model.Event;
import edu.uib.info310.model.Record;
import edu.uib.info310.model.Track;
import edu.uib.info310.model.imp.ArtistImpl;
import edu.uib.info310.model.imp.Event... | {
"content_hash": "e84e68df523f6cfc90ff623d00e6e178",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 55,
"avg_line_length": 20.675675675675677,
"alnum_prop": 0.7620915032679738,
"repo_name": "EivindEE/SemFM",
"id": "b2ecfdcb93cd510976e278601734f8751ee83fd0",
"size": "765",... |
// nodejs base
var os = require("os");
var fs = require("fs");
var util = require('util');
var path = require('path');
var url = require("url");
// requires npm install
var express = require('express');
var uuid = require('node-uuid');
var bodyParser = require('body-parser');
exports.start = function (port, dbManager... | {
"content_hash": "1b7475e3740ad799ce0131bff5a977a9",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 119,
"avg_line_length": 31.602649006622517,
"alnum_prop": 0.5666387259010897,
"repo_name": "osslidou/ldb",
"id": "f547d0f3e66187d8495ba2da5e908f4b4b0e0044",
"size": "4772"... |
package com.dinglian.server.chuqulang.dao;
import java.util.List;
import com.dinglian.server.chuqulang.model.Tag;
public interface TagDao extends GenericDao<Tag> {
List<Tag> getTagListByTypeName(String typeName);
} | {
"content_hash": "e5c3d4a194be0a466f04109789633f5d",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 49,
"avg_line_length": 21,
"alnum_prop": 0.7619047619047619,
"repo_name": "fyunxu/chuqulang",
"id": "81a7789817c775059fee57d6c1290ddc8f6d1efb",
"size": "231",
"binary": f... |
init sync | {
"content_hash": "3ef27c11d9257e771b8f23162fbfba78",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 9,
"avg_line_length": 9,
"alnum_prop": 0.8888888888888888,
"repo_name": "tinganho/l10ns",
"id": "c0e8e6f6debbacac97fa5067c725c26800283650",
"size": "9",
"binary": false,
... |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of cond... | {
"content_hash": "7c5dc1809fefbae676356b2b5a8f1784",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 93,
"avg_line_length": 43.90298507462686,
"alnum_prop": 0.6447390787013428,
"repo_name": "msbahrul/EventStore",
"id": "6d50a4cc225c56e7eaaa8b21f67b9d0d00bf2fcb",
"size": "... |
function setCookie(obj, days)
{
var date=new Date();
var exdays = days*24*60*60*1000;
date.setDate(date.getDate() + exdays);
for (var key in obj) {
if (obj.hasOwnProperty(key)) {
var value = obj[key];
var c_value=escape(value) + ((days==nul... | {
"content_hash": "6d286940629089893a13a953b972fe5c",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 96,
"avg_line_length": 30.238095238095237,
"alnum_prop": 0.5015748031496063,
"repo_name": "Siphon880gh/rapid-tools-suite",
"id": "8b4994df5880c5e62e19049edd7a086f3443385d",
... |
require 'spec_helper'
require 'erb'
# This feature spec is intended to be a comprehensive exercising of all of
# GitLab's non-standard Markdown parsing and the integration thereof.
#
# These tests should be very high-level. Anything low-level belongs in the specs
# for the corresponding HTML::Pipeline filter or helper... | {
"content_hash": "45c906a302df332f1fb34f2b8320b22e",
"timestamp": "",
"source": "github",
"line_count": 426,
"max_line_length": 88,
"avg_line_length": 29.859154929577464,
"alnum_prop": 0.6175314465408805,
"repo_name": "ayufan/gitlabhq",
"id": "902968cebcb6924bec6ced442c707f7840281942",
"size": "127... |
package fixtures.http;
import com.microsoft.rest.ServiceCall;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceException;
import com.microsoft.rest.ServiceResponse;
import fixtures.http.models.A;
import fixtures.http.models.ErrorException;
import fixtures.http.models.MyException;
import ja... | {
"content_hash": "f74f4f77963308dfb15f7ee44c6eb63d",
"timestamp": "",
"source": "github",
"line_count": 836,
"max_line_length": 133,
"avg_line_length": 40.09928229665072,
"alnum_prop": 0.7044118963099961,
"repo_name": "haocs/autorest",
"id": "5ca705a2987e9f5d15ad26c79468b23840c5a0a6",
"size": "3384... |
layout: bidder
title: Nasmedia Admixer
description: Prebid Nasmedia Admixer Bidder Adapter
pbjs: true
biddercode: nasmediaAdmixer
enable_download: false
pbjs_version_notes: not ported to 5.x
---
### Note:
The Nasmedia Admixer Bidder Adapter requires setup and approval from the Nasmedia Admixer team.
Please reach out... | {
"content_hash": "04621e03602b6304b327f9cea7d536f7",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 97,
"avg_line_length": 37.36363636363637,
"alnum_prop": 0.6021897810218978,
"repo_name": "prebid/prebid.github.io",
"id": "a9910a1a0a6d3286e880539a7c456dc354018619",
"size"... |
<?php
class Onxshop_Controller_Bo_Component_Ecommerce_Product_List extends Onxshop_Controller {
/**
* main action
*/
public function mainAction() {
/**
* Get input variables
*/
if ($_POST['product-list-filter']) $filter = $_POST['product-list-filter'];
else $filter = $_SESSION['bo']['produ... | {
"content_hash": "08b7a34249114e670831efa2732a5be1",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 172,
"avg_line_length": 27.895522388059703,
"alnum_prop": 0.5894417692170502,
"repo_name": "chrisblackni/onxshop",
"id": "bfd31051929dc38e471454e05c8bb15b4f89ec6e",
"size"... |
package org.apache.hadoop.mapred;
import java.io.IOException;
import org.apache.hadoop.ipc.VersionedProtocol;
import org.apache.hadoop.mapreduce.JobContext;
import org.apache.hadoop.security.KerberosInfo;
/**
* Protocol that a TaskTracker and the central JobTracker use to communicate.
* The JobTracker is the Se... | {
"content_hash": "a4518b71fb5abe0660816016ded8227a",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 89,
"avg_line_length": 45.94326241134752,
"alnum_prop": 0.6979005866008027,
"repo_name": "gndpig/hadoop",
"id": "96749e38cf9f58feb5e2bd2dad8b057d12dbb1db",
"size": "7284",... |
import numpy as np
''' Look up: https://docs.scipy.org/doc/numpy/reference/routines.random.html '''
def random_integer_array():
x = np.random.normal(0, 2, size = (2, 3)) # integers in [low, high) as 2D array
print('Original array: ')
print(x)
return x
def replace_one_element(array, row, column, number):
arra... | {
"content_hash": "3751cd2c849fcfad449bebf783c15d55",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 80,
"avg_line_length": 21.125,
"alnum_prop": 0.6587771203155819,
"repo_name": "arcyfelix/Courses",
"id": "e5c01bdc990a8ac9d92af148b4eba230568be796",
"size": "507",
"binar... |
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure=... | {
"content_hash": "469b65900e3b1f52c724dc202e01f856",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 52,
"avg_line_length": 25.794871794871796,
"alnum_prop": 0.547713717693837,
"repo_name": "mmucklo/email-parse",
"id": "c366ba6935ff496432330a62c00ae0cad90098d1",
"size": "1... |
package elasticsearch
//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
/... | {
"content_hash": "aba62dcf064324232de71acada4b0368",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 90,
"avg_line_length": 43.476190476190474,
"alnum_prop": 0.7853231106243155,
"repo_name": "aliyun/alibaba-cloud-sdk-go",
"id": "2a7e50a7c3b0ba8373b969a3afd77834c5fa55fe",
"... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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/html; charset=UTF-8" />
<title>Selec... | {
"content_hash": "fda3409ecb14ada7c48dda7dc2daee9e",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 121,
"avg_line_length": 46.55,
"alnum_prop": 0.6085929108485499,
"repo_name": "iadix/iadixcoin",
"id": "e60da97f962aa1e9f453e8981f6cb3be9f56847d",
"size": "4669",
"binar... |
<?php
namespace AppBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
class DefaultController extends Controller
{
/**
* @Route("/", name="homepage")
*/
public functio... | {
"content_hash": "5c1f00a8377f7ef8daad7144ac7ccf53",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 66,
"avg_line_length": 24.055555555555557,
"alnum_prop": 0.7274826789838337,
"repo_name": "spritex123/symfony-products",
"id": "056bf60bdb02dd65ba4c1927e494df6fc2dfb984",
"... |
package com.ticketmaster.discovery.model;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonInclude;
@ToString(callSuper = true)
@Getter
@Setter
@EqualsAnd... | {
"content_hash": "55e4cbb0780cfa9668c5f9a2d61f8e7b",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 52,
"avg_line_length": 21.417910447761194,
"alnum_prop": 0.7693379790940766,
"repo_name": "ticketmaster-api/sdk-java",
"id": "1b8968e027b12ab16330c0254f8ce86aaa6e9ff1",
"si... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<link rel="Stylesheet" href="../css/analysis.css" />
<script type="text/javascript">
function init() {
if (window.location.hash) {
var parentDiv, nodes, ... | {
"content_hash": "de05bbd8cb6391dbc339d04e9d213819",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 792,
"avg_line_length": 81.6510067114094,
"alnum_prop": 0.6597073812263685,
"repo_name": "wanglongbiao/webapp-tools",
"id": "35a111931344092236ece17250043a123ae2e956",
"si... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d5b469171fbb9021de05db5666f05ba1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "98a56c948ad8bb3f5cfb455b96d3c115cfb6dad4",
"size": "186... |
package org.apache.jena.sparql.core.mem;
import static java.util.stream.Stream.empty;
import static java.util.stream.Stream.of;
import static org.slf4j.LoggerFactory.getLogger;
import java.util.stream.Stream;
import org.apache.jena.atlas.lib.persistent.PMap;
import org.apache.jena.atlas.lib.persistent.PersistentSet... | {
"content_hash": "39ad9109b6643a86988c2009e1f19580",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 120,
"avg_line_length": 43.21290322580645,
"alnum_prop": 0.5915198566736339,
"repo_name": "CesarPantoja/jena",
"id": "8a31f2e48e24e264105aea1475b5cda7e0a03aef",
"size": "7... |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE Typ... | {
"content_hash": "16c05b9a0590ad448df1d0b38ace4856",
"timestamp": "",
"source": "github",
"line_count": 356,
"max_line_length": 174,
"avg_line_length": 39.853932584269664,
"alnum_prop": 0.6399069636312377,
"repo_name": "Garygunn94/DFS",
"id": "91144fb71994f2cf8e270ef4f6c3ce12a184c7f4",
"size": "141... |
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'other_joins'
require 'minitest/autorun'
require "active_record"
ActiveRecord::Base.establish_connection(:adapter => "sqlite3",
:database => ":memory:")
class Order < ActiveRecord::Base
belongs_to :user
belo... | {
"content_hash": "68a273e3503c044d210316663ed71ffe",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 64,
"avg_line_length": 23.153846153846153,
"alnum_prop": 0.6965669988925803,
"repo_name": "ilp416/other_joins",
"id": "369ad5601338c363a98c13e934b63af35061a5d3",
"size": "9... |
[tangle](https://github.com/tanglejs/tangle) is a set of tools
for building web applications.
`tangle-config` implements the `config` subcommand for
[tangle](https://github.com/tanglejs/tangle).
| {
"content_hash": "d6094f7a5293311dac628dedd1523bfe",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 62,
"avg_line_length": 39.2,
"alnum_prop": 0.7704081632653061,
"repo_name": "tanglejs/config",
"id": "dacecf4df2e2b2115cc0581299c221468646de21",
"size": "196",
"binary": f... |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#99000000" />
<corners android:radius="5dp"/>
</shape> | {
"content_hash": "0b27e3d871eebc42bb30a9e679a9b12a",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 65,
"avg_line_length": 31.571428571428573,
"alnum_prop": 0.6742081447963801,
"repo_name": "pili-engineering/PLDroidShortVideo",
"id": "7314bec790fb3a2a958557dc5b4d54e857fb1c41... |
<!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_40) on Tue Jun 23 23:05:53 JST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Serialized Form (twitter4j-a... | {
"content_hash": "529e883bfeae9c8fc843a619fc5c471d",
"timestamp": "",
"source": "github",
"line_count": 1044,
"max_line_length": 433,
"avg_line_length": 40.497126436781606,
"alnum_prop": 0.7178031646916909,
"repo_name": "emedine/hair_feels",
"id": "c4e44c72a6572ac8937077732a1a22b518e8712a",
"size":... |
#include "informationwindow.h"
#include "imageitem.h"
#include "view.h"
//! [0]
View::View(const QString &offices, const QString &images, QWidget *parent)
: QGraphicsView(parent)
{
officeTable = new QSqlRelationalTableModel(this);
officeTable->setTable(offices);
officeTable->setRelation(1, QSqlRelati... | {
"content_hash": "d56c01c2ddb92574b615b6fdedd660e9",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 78,
"avg_line_length": 24.92156862745098,
"alnum_prop": 0.5864148964070286,
"repo_name": "stephaneAG/PengPod700",
"id": "6d9d7724374235288fa55ad4db54e41bac094fdc",
"size":... |
<?php
namespace App\CoreBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AppCoreBundle extends Bundle
{
}
| {
"content_hash": "3c17e1c59360cb7d8be04d3b9ffc92a5",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 13.555555555555555,
"alnum_prop": 0.7950819672131147,
"repo_name": "abdeltiflouardi/CMSsf",
"id": "62a9df142a8d295ec6aacaf80c097631a84883c4",
"size": ... |
[](http://unmaintained.tech/)
rundeck
=======
[](https://travis-ci.org/kbrebanov/ansible-rundeck)
Installs Rundeck
Requirements
------------
This role requires Ansible 1.9... | {
"content_hash": "b53cf42118601002b1f0aead69399050",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 133,
"avg_line_length": 17.037037037037038,
"alnum_prop": 0.5804347826086956,
"repo_name": "kbrebanov/ansible-rundeck",
"id": "4c60dbbb8c7f799453c97c8d314d2bdf2e349994",
"s... |
package de.devsurf.common.lang.build;
public interface Factory<Type, ExceptionType extends Exception> {
Type build()
throws ExceptionType;
} | {
"content_hash": "4bf3a34f31a55d54b2af771ddfefe39a",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 65,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.7125,
"repo_name": "manzke/common-lang",
"id": "a52df4d36cf3c0035d0267369f71b1fa4125555e",
"size": "744",
"binar... |
layout: page
title: ve-Venezuela
---
{% include postbycat key="ve" %} | {
"content_hash": "7dc9049470f936c155dd31bfdac7b93f",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 32,
"avg_line_length": 17.25,
"alnum_prop": 0.6811594202898551,
"repo_name": "binhbat/binhbat.github.io",
"id": "c234b8a27b71221da31cb4476bf44eab880b4f47",
"size": "73",
"... |
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.reference;
import org.joda.time.DateTime;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.Jso... | {
"content_hash": "d81ed79768b61cc2fd7f2829890d17d9",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 244,
"avg_line_length": 26.838709677419356,
"alnum_prop": 0.7403846153846154,
"repo_name": "bhewett/mozu-java",
"id": "67c20d296a09fbaff34e1f8ac6a39a16831ca2b5",
"size": "1... |
var searchData=
[
['quads',['Quads',['../class_unity_standard_assets_1_1_image_effects_1_1_quads.html',1,'UnityStandardAssets::ImageEffects']]]
];
| {
"content_hash": "65d16170b6c671af6beb619c73e93be8",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 127,
"avg_line_length": 37.25,
"alnum_prop": 0.697986577181208,
"repo_name": "kesumu/dokidoki",
"id": "1df591f8b13352d4b4eb99f3f9faab238978866f",
"size": "149",
"binary": ... |
{% extends 'helpcenter/base.html' %}
{% block page_title %}Create Article{% endblock %}
{% block content %}
<h1>Create Article</h1>
<form method='post'>
{% csrf_token %}
{{ form.as_p }}
<button type='submit'>Create Article</button>
</form>
{% endblock %}
| {
"content_hash": "07cdedb5fcd9642a24603341f90b2fb4",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 50,
"avg_line_length": 13.523809523809524,
"alnum_prop": 0.5845070422535211,
"repo_name": "smalls12/django_helpcenter",
"id": "739de32b8eb1b8f4019dd607d05a75f162f126a3",
"s... |
// Copyright (c) Laurence J. Golding. All rights reserved. Licensed under the Apache License, Version 2.0. See the LICENSE file in the project root for license information.
using System.ComponentModel.Composition;
using System.Globalization;
using Lakewood.AutoScale.Syntax;
using Microsoft.VisualStudio.Package;
names... | {
"content_hash": "62ab5ebeb36fbee8ef5ed365309adc59",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 173,
"avg_line_length": 40.19512195121951,
"alnum_prop": 0.6183252427184466,
"repo_name": "lgolding/auto-scale",
"id": "c086067d9f8ddc4f2a1362522c97a19cef0018e6",
"size": "... |
#include <memory>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <RegistrationManager/CustomerDataHandler.h>
#include <RegistrationManager/CustomerDataManager.h>
namespace alexaClientSDK {
namespace registrationManager {
namespace test {
class MockCustomerDataHandler : public CustomerDataHandler {
pub... | {
"content_hash": "2544cf2da615203932f0ad9da7c3c8d9",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 120,
"avg_line_length": 28.164383561643834,
"alnum_prop": 0.732976653696498,
"repo_name": "alexa/avs-device-sdk",
"id": "87e90bced724a7c5ddfdc1c416b676de2bb55819",
"size": ... |
require 'xcodeproj'
module Fastlane
module Actions
class AutomaticCodeSigningAction < Action
def self.run(params)
FastlaneCore::PrintTable.print_values(config: params, title: "Summary for Automatic Codesigning")
path = params[:path]
path = File.join(File.expand_path(path), "project.p... | {
"content_hash": "ad403fe71ed485c1b19ed674f8e94fc1",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 155,
"avg_line_length": 39.388535031847134,
"alnum_prop": 0.5386481241914618,
"repo_name": "soxjke/fastlane",
"id": "98b25c125bbdb0b6305712f228685b14b5eae166",
"size": "61... |
import sys
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
from azure.core.exceptions import (
ClientAuthenticationError,
HttpResponseError,
ResourceExistsError,
ResourceNotFoundError,
ResourceNotModifiedError,
map_error,
)
from azure.core.pipeline import Pipeline... | {
"content_hash": "4e4ae348433476f21f9e4ec4bd77ff0a",
"timestamp": "",
"source": "github",
"line_count": 484,
"max_line_length": 170,
"avg_line_length": 49.71694214876033,
"alnum_prop": 0.6764742550804139,
"repo_name": "Azure/azure-sdk-for-python",
"id": "87053c2968cf68362bace45740eff472918d156b",
"... |
package com.geishatokyo.sqlgen.process.input
import com.geishatokyo.sqlgen.core.Workbook
import com.geishatokyo.sqlgen.process.{Context, ImportProc, InputProc}
/**
* Created by takezoux2 on 2017/07/05.
*/
class WorkbookImportProc(workbook: Workbook) extends ImportProc {
override def load(c: Context): Option[Wor... | {
"content_hash": "7ea1655cfb7e1099035a83d54f19620f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 70,
"avg_line_length": 25.5,
"alnum_prop": 0.7535014005602241,
"repo_name": "geishatokyo/sql-generator",
"id": "1396256b4d193d81e45b843b0462f9c2d678cf87",
"size": "357",
... |
package edu.sjsu.cmpe275.team6.SnippetShare;
import edu.sjsu.cmpe275.team6.SnippetShare.dao.BoardDAO;
import edu.sjsu.cmpe275.team6.SnippetShare.dao.RequestDAO;
import edu.sjsu.cmpe275.team6.SnippetShare.dao.UserDAO;
import edu.sjsu.cmpe275.team6.SnippetShare.model.Board;
import edu.sjsu.cmpe275.team6.SnippetShare.mod... | {
"content_hash": "12f168d5c0cd27865c335d1f98cdde84",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 101,
"avg_line_length": 33.816901408450704,
"alnum_prop": 0.675551853394419,
"repo_name": "jiangxiaoli/SnippetShare",
"id": "13110526d69ee6586ea2db690cbf0cdab802a0fc",
"siz... |
package org.lielas.lielasdataloggerstudio.main.Fragments;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;... | {
"content_hash": "1ebaa4d1c9893ff172304c538217d044",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 149,
"avg_line_length": 34.28740157480315,
"alnum_prop": 0.6192444597542772,
"repo_name": "anre/LielasDataloggerstudio",
"id": "35b964c1798ca3d9a7a9b6856b45fa15f58ca114",
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Simocracy.SportSim
{
/// <summary>
/// Wiki-Vorlage einer Gruppenvorlage
/// </summary>
[DataContract]
[DebuggerDisplay("Leag... | {
"content_hash": "397821c3ed91c82dcc2f746bc016fbdc",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 124,
"avg_line_length": 25,
"alnum_prop": 0.66976,
"repo_name": "Simocracy/Simocracy-Sports-Simulator",
"id": "4a1d387ac5f7c35f6f8860ab54aa32a4820413b4",
"size": "3134",
... |
// @formatter:off
// @formatter:on
package org.tensorics.core.commons.operations;
/**
* Static utility methods pertaining to {@link Conversion} instances.
*
* @author caguiler
*/
public final class Conversions {
/**
* Returns the identity conversion.
*/
@SuppressWarnings("unc... | {
"content_hash": "aeae6c1fba34a306918ac62875641c17",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 75,
"avg_line_length": 22.2,
"alnum_prop": 0.6081081081081081,
"repo_name": "tensorics/tensorics.github.io",
"id": "c0584269ff542e6ced75b7f626bc8727e593bfbc",
"size": "1504... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace Snake.App.ContainerInstallers
{
public class WindsorInstaller
{
... | {
"content_hash": "db52b65efb9adfe5ce74b0016c4b1f99",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 83,
"avg_line_length": 21.272727272727273,
"alnum_prop": 0.7115384615384616,
"repo_name": "yepeng2002/Snake",
"id": "87d33697ff1d9cbf9d7bc43c988b6ed6755fa60e",
"size": "492... |
package ajuda.ai.backend.v1.util;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.event.Event;
import javax.enterprise.inject.Specializes;
import javax.inject.Inject;
import javax.servlet.FilterChain;
import br.com.caelum.vraptor.Result;
import br.com.caelum.vraptor.controller.DefaultController... | {
"content_hash": "ecc271ac33dc01fc7974751805ab44d1",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 113,
"avg_line_length": 29.523076923076925,
"alnum_prop": 0.7613340281396561,
"repo_name": "g0dkar/ajuda-ai",
"id": "97139152900cab99f6cea57d6ec57a57931baa2c",
"size": "191... |
cask 'airfoil' do
version '5.6.2'
sha256 '0efe57559b8da1e16e0b792b6fb72e33870d3d7db9bd1876abaa5293a7730f6f'
url 'https://rogueamoeba.com/airfoil/download/Airfoil.zip'
appcast 'https://rogueamoeba.net/ping/versionCheck.cgi?format=sparkle&bundleid=com.rogueamoeba.Airfoil&platform=osx',
checkpoint: 'c19... | {
"content_hash": "5230547c0c8f5d88a53c4f06c610c057",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 119,
"avg_line_length": 45.18181818181818,
"alnum_prop": 0.636485580147552,
"repo_name": "kkdd/homebrew-cask",
"id": "1e3081cb1cda2612817279caa334c50d49443dc5",
"size": "14... |
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import {
View,
Text,
TextInput,
Animated,
StyleSheet,
Platform,
ViewPropTypes,
} from 'react-native';
import RN from 'react-native/package.json';
import Line from '../line';
import Label from '../label';
import Affix from ... | {
"content_hash": "415d89cb8c09d90469532d79fbd9e688",
"timestamp": "",
"source": "github",
"line_count": 500,
"max_line_length": 90,
"avg_line_length": 22.008,
"alnum_prop": 0.5717920756088695,
"repo_name": "RahulDesai92/PHR",
"id": "28358774401f54c9d7016f3f41f80cbf4fe34e02",
"size": "11004",
"bin... |
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.hiernate.persistence.User" table="tb_User" lazy="false"><!-- name指定持久化类的包名和类名,table指定数据库中的表名 -->
... | {
"content_hash": "0ced8e16142b97fce388148f2324f271",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 120,
"avg_line_length": 54.27272727272727,
"alnum_prop": 0.602177554438861,
"repo_name": "java-scott/java-project",
"id": "ea2ed119642c91d6597d71c60758ff46e175b4e6",
"size"... |
from django.contrib.contenttypes.models import ContentType
from django.utils.translation import ugettext as _
from django.utils import timezone
from taiga.base import response
from taiga.base.decorators import detail_route
from taiga.base.api import ReadOnlyListViewSet
from taiga.mdrender.service import render as mdre... | {
"content_hash": "ecdebb381e637390d745e5b309fb085d",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 112,
"avg_line_length": 36.61714285714286,
"alnum_prop": 0.6683832709113608,
"repo_name": "mattcongy/itshop",
"id": "17c2fa8343c4c72842f53be5fd52fdf854f4a8c6",
"size": "73... |
from okcoincnapi.HttpMD5Util import buildMySign,httpGet,httpPost
class OKCoinSpot:
def __init__(self,url,apikey,secretkey):
self.__url = url
self.__apikey = apikey
self.__secretkey = secretkey
#获取OKCOIN现货行情信息
def ticker(self,symbol = ''):
TICKER_RESOURCE = "/api/v1/ticker.... | {
"content_hash": "9e471e545a1106d8f7ae9a5593818399",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 68,
"avg_line_length": 29.866666666666667,
"alnum_prop": 0.560515873015873,
"repo_name": "supercuiller/OKCoin.cn-REST-API-Python3",
"id": "e53364325ea693b080cc1c1f4651b745fa... |
using System.Collections;
using System.Collections.ObjectModel;
using System.Linq.Expressions;
using System.Reflection;
using Zyan.InterLinq.Expressions.SerializableTypes;
using Zyan.InterLinq.Types.Anonymous;
namespace Zyan.InterLinq.Expressions.Helpers
{
/// <summary>
/// This class is an <see cref="Exp... | {
"content_hash": "362e02bcf75f167dd7bcb8480fdd7c33",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 122,
"avg_line_length": 42.881305637982194,
"alnum_prop": 0.7036191267040344,
"repo_name": "yallie/Zyan",
"id": "22f8e54a2a6f4ee365ce20e71d3d2144bdc69f9c",
"size": "14453"... |
package com.nway.platform.wform.design.dao;
import java.util.List;
import java.util.Map;
import com.nway.platform.wform.design.entity.FormField;
import com.nway.platform.wform.design.entity.Page;
public interface PageMapper {
Page getFormPage(String id);
List<Map<String, String>> listFieldAttr(String pageId);
... | {
"content_hash": "305d1c0416d663c1d028657792e218db",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 56,
"avg_line_length": 23.5,
"alnum_prop": 0.7717601547388782,
"repo_name": "zdtjss/wform",
"id": "75ada3881e9f2534fa6a89fab048ff30d3717daa",
"size": "517",
"binary": fal... |
#ifndef TRIANGLE_PY_H
#define TRIANGLE_PY_H
#include <sstream>
#include <boost/python.hpp>
#include <boost/foreach.hpp>
#include "triangle.h"
namespace ocl
{
///
/// \brief python wrapper for Triangle
///
class Triangle_py : public Triangle {
public:
/// default constructor
Triangle_py() : Tri... | {
"content_hash": "8249f2109671010699b14fdbafdca3c5",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 62,
"avg_line_length": 23.901960784313726,
"alnum_prop": 0.5192780968006563,
"repo_name": "play113/swer",
"id": "48dc344c5e4ad4fb6d056ad139ca9dbbf88479ab",
"size": "2056",
... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayUserAccountInstitutionCertifyModel Data Structure.
/// </summary>
[Serializable]
public class AlipayUserAccountInstitutionCertifyModel : AopObject
{
/// <summary>
/// 描述机构的名称
... | {
"content_hash": "4ab2009ec1b87a498c48dbdaa74c0738",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 69,
"avg_line_length": 24.583333333333332,
"alnum_prop": 0.5915254237288136,
"repo_name": "329277920/Snail",
"id": "315ffb751ecf343f2357ec00e4b128b3f7599e98",
"size": "638"... |
<div class="footer">
</div><!-- .footer --> | {
"content_hash": "3850e1cb576fddfc3939abc4508c652d",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 22,
"avg_line_length": 14.666666666666666,
"alnum_prop": 0.5227272727272727,
"repo_name": "farhang/angularjs-stb",
"id": "ca187576a8161c20bd6d0297f281c1154cde5901",
"size": ... |
require 'rails_helper'
RSpec.describe 'POST /mail_gun/drops' do
scenario 'inbound hooks create activity entries' do
with_a_configured_token('deadbeef') do
given_an_appointment
when_mail_gun_posts_a_drop_notification
then_an_activity_is_created
and_the_service_responds_ok
end
end
... | {
"content_hash": "a69d62687dfdaf112796e14dff15e870",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 92,
"avg_line_length": 26.956521739130434,
"alnum_prop": 0.6540322580645161,
"repo_name": "guidance-guarantee-programme/telephone_appointment_planner",
"id": "1bd247edf3b0c56... |
// $Id$
package javax.xml.xpath;
/**
* <code>XPathExpressionException</code> represents an error in an XPath expression.</p>
*
* @author <a href="mailto:Norman.Walsh@Sun.com">Norman Walsh</a>
* @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a>
* @version $Revision$, $Date$
* @since 1.5
*/
public ... | {
"content_hash": "80506146590a6c7299bd3ca260c4a744",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 116,
"avg_line_length": 30.58695652173913,
"alnum_prop": 0.6375266524520256,
"repo_name": "svn2github/xerces-xml-commons",
"id": "23daf971c31157d8341f77c9c15a26d8a2a2df9e",
... |
import pdfkit, os, frappe
from frappe.utils import scrub_urls
def get_pdf(html, options=None):
if not options:
options = {}
options.update({
"print-media-type": None,
"background": None,
"images": None,
'margin-top': '15mm',
'margin-right': '15mm',
'margin-bottom': '15mm',
'margin-left': '15mm',
'... | {
"content_hash": "1e3bc1202ebb686d8d27ed2ed80a956f",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 94,
"avg_line_length": 23,
"alnum_prop": 0.6521739130434783,
"repo_name": "gangadharkadam/v5_frappe",
"id": "e92b5b23fb07bff1a10f782f8d44c74369c8554b",
"size": "863",
"bi... |
/*
* (c) the authors
* Licensed under the Apache License, Version 2.0.
*/
package org.roaringbitmap;
/**
* Representing a general bitmap interface.
*
*/
public interface BitmapDataProvider extends ImmutableBitmapDataProvider {
/**
* set the value to "true", whether it already appears or not.
*
... | {
"content_hash": "ea2aa35684588ddb8c0b21841e937c56",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 74,
"avg_line_length": 20.80952380952381,
"alnum_prop": 0.6075514874141876,
"repo_name": "gssiyankai/RoaringBitmap",
"id": "02caa5ea9ae57016200d0fa09252c9e782ae3cfe",
"size... |
package com.vk.api.sdk.queries.ads;
import com.vk.api.sdk.queries.EnumParam;
/**
* Created by Anton Tsivarev on 22.09.16.
*/
public enum AdsCheckLinkType implements EnumParam {
COMMUNITY("community"),
POST("post"),
TWITTER("application"),
VIDEO("video"),
SITE("site");
private final String... | {
"content_hash": "8e74a5a53841020d64703619e86b120d",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 51,
"avg_line_length": 17.62962962962963,
"alnum_prop": 0.6323529411764706,
"repo_name": "kokorin/vk-java-sdk",
"id": "81abdbd200ca780ec741705635416cfce910628d",
"size": "4... |
Tired of clicking the refresh button every new term? This program aims to help reduce the pain...
When an spot opens up on your desired course, it will automatically opens up the link in the default web browser ready for you.
Download: <br />
--
JAR: https://github.com/superbstreak/RegistrationStatusScraper/raw/master... | {
"content_hash": "54a9754c0df06d780326f734da35a71b",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 127,
"avg_line_length": 40.8,
"alnum_prop": 0.7598039215686274,
"repo_name": "superbstreak/RegistrationStatusScraper",
"id": "d3d90dc1eae53ea0751f37768243ba6176f6f2c6",
"si... |
//
// NewFeatureVC.m
// LYHPagecontrol
//
// Created by 厉煜寰 on 15/11/7.
// Copyright © 2015年 SXT. All rights reserved.
//
#import "YHNewFeatureVC.h"
#import "YHPageControl.h"
#import "YHCheckBox.h"
#define kWidth [UIScreen mainScreen].bounds.size.width
#define kHeight [UIScreen mainScreen].bounds.size.height
// ... | {
"content_hash": "e512fbde2cb5c5773cff810cc91726f2",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 143,
"avg_line_length": 31.924050632911392,
"alnum_prop": 0.6968675654242664,
"repo_name": "YuHuanLi/YHPageControl",
"id": "3776b379b03542306945c9b34fd6abe5778820f2",
"siz... |
package com.exam.base;
import org.apache.log4j.Logger;
public class MysqlSQLPageHandleImpl implements SQLPageHandle {
private Logger logger=Logger.getLogger(MysqlSQLPageHandleImpl.class);
@Override
public String handlerPagingSQL(String oldSql, int begin, int pageSize) {
StringBuffer sql = new StringBuffer(old... | {
"content_hash": "24e943a1279325ae04aaa83033deeadd",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 75,
"avg_line_length": 25,
"alnum_prop": 0.7095652173913043,
"repo_name": "viplz/AccountManagement",
"id": "d036bfabbb0a56bf51a5f0c5ebb17ad406a59c09",
"size": "575",
"bin... |
package net.openhft.chronicle.logger.log4j2;
import net.openhft.chronicle.logger.ChronicleLogLevel;
import net.openhft.chronicle.logger.ChronicleLogWriter;
import net.openhft.chronicle.logger.LogAppenderConfig;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.core.Filter;
import org.apache.loggi... | {
"content_hash": "fbc5730af96d45528e3b7b8eaf837f26",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 110,
"avg_line_length": 31.980645161290322,
"alnum_prop": 0.5126084325196691,
"repo_name": "OpenHFT/Chronicle-Logger",
"id": "91e738620e7fc5077516d0d61df267c50952bc53",
"s... |
import { get, computed } from '@ember/object';
import Component from '@ember/component';
import { alias } from '@ember/object/computed'
export default Component.extend({
showAdvanced: false,
config: alias('model.config'),
didInsertElement() {
this.$('#splunk-endpoint').focus()
},
enableSSLConfig... | {
"content_hash": "1fb3babb1fa3d39230efec456ac146b6",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 109,
"avg_line_length": 27.283333333333335,
"alnum_prop": 0.579108124618204,
"repo_name": "lvuch/ui",
"id": "b98a9ec7bb38603743544883c0f002f1dc2e4f5a",
"size": "1637",
"b... |
<div #formToast class="user-form">
<div class="reg-card">
<div class="title-color">
<div>Sign In</div>
</div>
<div class="reg-content">
<form #loginForm="ngForm" (ngSubmit)="userActions.login(loginForm) || userFormActions.loginForm(false)">
<div>
<div class="input-wrapper">
<input i... | {
"content_hash": "f46d82068087b8b69eb7d5ac3ab8578d",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 146,
"avg_line_length": 40.15873015873016,
"alnum_prop": 0.6142292490118577,
"repo_name": "projectSHAI/GOATstack",
"id": "8f3ead1d199ba9011dc8f48ddb627d6cecc34ecb",
"size":... |
using System;
using System.Collections.Generic;
namespace HansWehr
{
public class MatchInfo
{
private static int _phraseCountPosition = 0;
private static int _columnCountPosition = 4;
private static int _rowCountPosition = 8;
private static int _averageTokenCountsPosition = 12;
private int TokenCountsPos... | {
"content_hash": "99a296d72819a8d1aa792a794ee50cc9",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 129,
"avg_line_length": 38.2969696969697,
"alnum_prop": 0.6830194651052381,
"repo_name": "jamal-osman/hanswehr-app",
"id": "148ee7f97bb2dc4c449ba4cabe241305e2da175b",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2015 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... | {
"content_hash": "8a549d47a8ce77f4c9f7ab0716487e7e",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 94,
"avg_line_length": 38.793103448275865,
"alnum_prop": 0.6862222222222222,
"repo_name": "xiaoyanit/CastVideos-Android-Sample",
"id": "e238f44ed03d5a972e5ce3f5f5be955a950085... |
require 'rack/utils'
module Hanami
module Http
# An HTTP status
#
# @since 0.1.0
# @api private
class Status
# A set of standard codes and messages for HTTP statuses
#
# @since 0.1.0
# @api private
ALL = ::Rack::Utils::HTTP_STATUS_CODES.dup.merge({
103 => 'Ch... | {
"content_hash": "c399f9c4f4f4d9ebe6a0d10b80c19644",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 80,
"avg_line_length": 29.258064516129032,
"alnum_prop": 0.5088202866593164,
"repo_name": "lotus/controller",
"id": "7d3d7ff6626bc19079dda0c2c3c2d1e44d1634b6",
"size": "181... |
package com.pizza.model;
import javax.persistence.Column;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
impo... | {
"content_hash": "b66c3595e9c6126f7385c526db850313",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 53,
"avg_line_length": 19.340425531914892,
"alnum_prop": 0.7337733773377337,
"repo_name": "pavelbt2/pizza",
"id": "7a4b656ed81ed9c34a85190008eb2471d2c2397e",
"size": "1818"... |
title: IPv6 und IPsec
modulverantwortlich: Herr Prof. Dr. Hans L. Stahl
modulniveau:
kuezel: WPF62
untertitel:
studiensemester: 4
kategorie:
sprache:
zuordnung-zum-curriculum: Medieninformatik Bachelor
kreditpunkte: 5
voraussetzungen-nach-pruefungsordnung: KT, EBR
empfohlene-voraussetzungen:
published: true
---
## L... | {
"content_hash": "21ea4255013fa7e432ac3389025abc45",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 104,
"avg_line_length": 16.6,
"alnum_prop": 0.774526678141136,
"repo_name": "th-koeln/mi-2017",
"id": "0c77068777694e68bf305053e2c56ca977821d5b",
"size": "587",
"binary":... |
#ifndef UTILITY_OTRADIOLINK_MESSAGING_H_
#define UTILITY_OTRADIOLINK_MESSAGING_H_
#include <OTV0p2Base.h>
#include "OTV0P2BASE_Util.h"
#include "OTRadioLink_SecureableFrameType.h"
#include "OTRadioLink_SecureableFrameType_V0p2Impl.h"
#include "OTRadValve_BoilerDriver.h"
#include "OTRadioLink_OTRadioLink.h"
#include... | {
"content_hash": "0b4c592c95467308a8d17d10157c9f19",
"timestamp": "",
"source": "github",
"line_count": 543,
"max_line_length": 132,
"avg_line_length": 41.729281767955804,
"alnum_prop": 0.6732865528046251,
"repo_name": "Denzo77/OTRadioLink",
"id": "6d182ef6d4458d750d1f696dcc44c7c1392f9dca",
"size":... |
void f() {
int i;
asm ("foo\n" : : "a" (i + 2));
asm ("foo\n" : : "a" (f())); // expected-error {{invalid type 'void' in asm input}}
asm ("foo\n" : "=a" (f())); // expected-error {{invalid lvalue in asm output}}
asm ("foo\n" : "=a" (i + 2)); // expected-error {{invalid lvalue in asm output}}
asm ("foo\n"... | {
"content_hash": "311f796ae4c41fad735732a5b8bfb44b",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 139,
"avg_line_length": 35.82673267326733,
"alnum_prop": 0.5701257427110681,
"repo_name": "Rapier-Foundation/rapier-script",
"id": "6c6f3f398e33087f2b852623abd0a673514e3de7"... |
package com.yumodev.baidulbs;
import android.app.Notification;
import android.content.Context;
import android.widget.Toast;
import com.baidu.location.BDAbstractLocationListener;
import com.baidu.location.BDLocation;
import com.baidu.location.LocationClient;
import com.baidu.location.LocationClientOption;
/**
* Crea... | {
"content_hash": "0583d296177c3240a3c39b6de3e4afc9",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 88,
"avg_line_length": 31.440298507462686,
"alnum_prop": 0.676952290529314,
"repo_name": "YumoDevTest/AndroidOpenTest",
"id": "40af2482e3e681a3ebf1f9270b76a627363f1bfa",
"... |
/*! http://mths.be/placeholder v2.0.7 by @mathias */
(function (root, factory) {
define(['jquery'], factory);
}(this, function($) {
var isInputSupported = 'placeholder' in document.createElement('input'),
isTextareaSupported = 'placeholder' in document.createElement('textarea'),
prototype = $.fn,
val... | {
"content_hash": "91d2ae7eea27bed0905c03d8cc2fcea1",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 105,
"avg_line_length": 28.547169811320753,
"alnum_prop": 0.6093853271645737,
"repo_name": "alanzhou-okta/okta-signin-widget",
"id": "33a75dd5561b667669edeb9ea4ae037be6d3455... |
from shutil import rmtree
from tempfile import mkdtemp
from nipype.testing import (assert_equal, example_data)
def test_split_and_merge():
import numpy as np
import nibabel as nb
import os.path as op
import os
cwd = os.getcwd()
from nipype.algorithms.misc import split_rois, merge_rois
tmp... | {
"content_hash": "0079db9cee3b26715a2240048d8af6a4",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 76,
"avg_line_length": 30.2,
"alnum_prop": 0.6584673604541155,
"repo_name": "FCP-INDI/nipype",
"id": "89af22afe784659f29443956471350eacf65b827",
"size": "1104",
"binary":... |
<?php
/**
* Packages the zip and phar file using a staging directory.
*
* @license MIT, Michael Dowling https://github.com/mtdowling
* @license https://github.com/mtdowling/Burgomaster/LICENSE
*/
class Burgomaster
{
/** @var string Base staging directory of the project */
public $stageDir;
/** @var s... | {
"content_hash": "de367b5d1bde7c48bab97ec343191a89",
"timestamp": "",
"source": "github",
"line_count": 394,
"max_line_length": 93,
"avg_line_length": 33.19796954314721,
"alnum_prop": 0.544954128440367,
"repo_name": "andythorne/aws-sdk-php",
"id": "0d64c49422a968a6a438198094aa7200e2e2fd77",
"size":... |
package org.wso2.carbon.identity.application.authentication.framework.exception;
import static org.wso2.carbon.identity.application.authentication.framework.exception.ErrorToI18nCodeTranslator.I18NErrorMessages.ERROR_CODE_DEFAULT;
import static org.wso2.carbon.identity.application.authentication.framework.exception.... | {
"content_hash": "1c5b7521404c612a027cb04866438805",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 198,
"avg_line_length": 81.55555555555556,
"alnum_prop": 0.7294465846096025,
"repo_name": "wso2/carbon-identity-framework",
"id": "faba22db16a5b05d4971871bce396abb71067d52",... |
NPM = npm
GRUNT = ./node_modules/grunt-cli/bin/grunt
all: build
bootstrap:
@if [ ! -x $(GRUNT) ]; then $(NPM) install; fi
build: bootstrap
@$(GRUNT)
clean: bootstrap
@$(GRUNT) clean:clean
distclean: bootstrap
@$(GRUNT) clean:clean clean:distclean
| {
"content_hash": "a59eab2b37388bb24bd116f8fec13651",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 47,
"avg_line_length": 15.294117647058824,
"alnum_prop": 0.6692307692307692,
"repo_name": "rse/grunt-extend-config",
"id": "2c10f3ed5c9e69ab72f961e70835bb57bd7c2765",
"size... |
module Rapns
module Daemon
module Reflectable
def reflect(name, *args)
begin
Rapns.reflections.__dispatch(name, *args)
rescue StandardError => e
Rapns.logger.error(e)
end
end
end
end
end
| {
"content_hash": "f0ed3ff9c1997db7a263aaf89c93de12",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 51,
"avg_line_length": 19.615384615384617,
"alnum_prop": 0.5764705882352941,
"repo_name": "eleostech/rapns",
"id": "6466b47a0dec1343f76ac26938ace1936c60a333",
"size": "255"... |
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Duration"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<h2>Data type Duration</h2>
<p>A length of time</p>
<h3>Rule</h3>
<p>There SHALL be a code if... | {
"content_hash": "262210593fb0b813b9e7ddcf94499d6e",
"timestamp": "",
"source": "github",
"line_count": 264,
"max_line_length": 429,
"avg_line_length": 37.63257575757576,
"alnum_prop": 0.5884247609461499,
"repo_name": "Nodstuff/hapi-fhir",
"id": "1db73a5884d6daf2cb7d5cea42bd324436e00463",
"size": "... |
package com.jeequan.jeepay.core.utils;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;
/**
* @description: Spring 框架下, 获取Beans静态函数方法。
* @Author terrfl... | {
"content_hash": "f86a07af9378484921bdfb771d358451",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 100,
"avg_line_length": 27.271186440677965,
"alnum_prop": 0.6780609073958981,
"repo_name": "jmdhappy/xxpay-master",
"id": "6efdfde0497a510bf8e697970cf80e2f5f5cf624",
"size"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "743ff401b5e448defa170309be216bd0",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 154,
"avg_line_length": 45.765822784810126,
"alnum_prop": 0.6375328446964459,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "6da569b495ff4c6ae94de5c41ea4efacb3714e6d",
"si... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.lang.xml;
import com.intellij.lang.ASTNode;
import com.intellij.lang.ParserDefinition;
import com.intellij.lang.PsiParser;
import com.intellij.lexer.Lexer;
i... | {
"content_hash": "48ff4e8ff4364e0c6723bf289866199e",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 140,
"avg_line_length": 34.93518518518518,
"alnum_prop": 0.7073946461701563,
"repo_name": "zdary/intellij-community",
"id": "484dfdcb3b5cc3bd1ef46c7ec795e4833b19d8e0",
"si... |
import JSONFeed from '../../eleventy/feed'
module.exports = class ElsewhereFeed extends JSONFeed {
collection = 'elsewhere'
title = 'Elsewhere'
}
| {
"content_hash": "454d78f101712231acda1c0a8d58b99d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 55,
"avg_line_length": 25.5,
"alnum_prop": 0.7124183006535948,
"repo_name": "chriskrycho/lightning-rs",
"id": "5f803e0bb6a0362293d18a6a9fd55c3bfae9c068",
"size": "153",
"b... |
package org.cloudfoundry.client.v2.featureflags;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.immutables.value.Value;
/**
* The response payload for the Set feature flag operation
*/
@JsonDeserialize
@Value.Immutable
abstract class _SetFeatureFlagResponse extends AbstractFeatureFla... | {
"content_hash": "477288523751f7d940907d75211df56d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 68,
"avg_line_length": 21.8,
"alnum_prop": 0.8134556574923547,
"repo_name": "alexander071/cf-java-client",
"id": "e876ed4539349863b0fc6034a2b8540ed539a9bc",
"size": "947",
... |
namespace Z80NavBar.Themes
{
/// <summary>
/// Z80_Navigation control theme enumerations
/// </summary>
public enum Theme
{
// Note: If you implement more themes or your own themes, just add enumeration here
Dark = 0,
Blue
}
}
| {
"content_hash": "cc5227c29c45ecbb2a40fa5597f61e23",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 91,
"avg_line_length": 17.5,
"alnum_prop": 0.5857142857142857,
"repo_name": "kernelENREK/Z80_NavigationBar",
"id": "588c1df2b659120a8e1adcf35fc34b32e09eb7ea",
"size": "282"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.