text stringlengths 2 1.04M | meta dict |
|---|---|
require 'spec_helper'
describe "jmaxml/quake_regions", type: :feature, dbscope: :example do
let(:site) { cms_site }
let(:node) { create :rss_node_weather_xml, cur_site: site }
let(:index_path) { jmaxml_quake_regions_path(site, node) }
context "basic crud" do
let(:code) { unique_id }
let(:name) { uniqu... | {
"content_hash": "6bf81f0a047dbc15ee9c13b0b27e1189",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 86,
"avg_line_length": 26.795698924731184,
"alnum_prop": 0.5898876404494382,
"repo_name": "shirasagi/shirasagi",
"id": "58dc467f93f00271fbe0ce67c45b95278c1ee4f2",
"size": "... |
require 'spec_helper'
describe "Stashes" do
before :each do
user = FactoryGirl.create(:user)
user.add_role :admin
Stash.refresh_cache
sign_in_user(user)
visit '/stashes'
end
after :each do
reset_fake_sensu!
end
it "should show the stashes page" do
page.should have_content "Stas... | {
"content_hash": "17a43afd407c7c2739264cdda53d7c02",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 80,
"avg_line_length": 24.146341463414632,
"alnum_prop": 0.6747474747474748,
"repo_name": "sensu/sensu-admin",
"id": "2fdbb3edec32f841e92c015736fd721da97d528d",
"size": "99... |
namespace mojo {
class ServiceFactory;
}
namespace content {
class UtilityServiceFactory;
// This class represents the background thread where the utility task runs.
class UtilityThreadImpl : public UtilityThread,
public ChildThreadImpl {
public:
explicit UtilityThreadImpl(base::Repeating... | {
"content_hash": "0c207cc8c1ee62c3634a44581a3ffc7b",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 78,
"avg_line_length": 37.215384615384615,
"alnum_prop": 0.7552707730467135,
"repo_name": "scheib/chromium",
"id": "696efa4ba08e992eeec8d6a1ed59c912fdd7d854",
"size": "2978... |
'use strict';
var _ = require('lodash');
function validateAst(validators, ast) {
return _(validators)
.map(function(validationConfig, configName) {
var validator = validationConfig.validator;
var configParam = validationConfig.param;
var validationResults = _.compact... | {
"content_hash": "ee80f2ce0014fb62f18c3c9d81099223",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 98,
"avg_line_length": 27.3,
"alnum_prop": 0.6318681318681318,
"repo_name": "NickHeiner/editorconfig-lint",
"id": "d67165eec350f8176268802e25a362cf4201406b",
"size": "546",... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Saksham.
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 appli... | {
"content_hash": "f5f0875e25d1305a2322c630d9ebc6b2",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 74,
"avg_line_length": 40.578947368421055,
"alnum_prop": 0.7341115434500648,
"repo_name": "DawnImpulse/Wallup",
"id": "bcfdced480d06d0209044fa5d7735f75cdc65fe1",
"size": "7... |
/**
* pubfood
*/
'use strict';
/*eslint no-unused-vars: 0*/
/*eslint no-undef: 0*/
describe('API - Tests', function () {
require('./objects');
require('./callbacks');
require('./donecallbacktimeout');
require('./customparams');
require('./buildtargeting');
require('./events');
require('./transformopera... | {
"content_hash": "6c5972c8ed590bcc8d08af16331086fd",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 37,
"avg_line_length": 22.263157894736842,
"alnum_prop": 0.6335697399527187,
"repo_name": "pubfood/pubfood",
"id": "249b492c91692ee6956e77459869f3566d21a51c",
"size": "423"... |
// ***********************************************************************
// Copyright (c) 2010 Charlie Poole
//
// 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, incl... | {
"content_hash": "835f16c4ff1f50c903c7a3de20fb1bef",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 75,
"avg_line_length": 33.94117647058823,
"alnum_prop": 0.6539572501444252,
"repo_name": "xplicit/BenchmarkSuite",
"id": "30eda879d86380e4a420fdbd48816460340e5e05",
"size":... |
package storm.xmlbinder.binder;
/*
* This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/.
*/
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import storm.xm... | {
"content_hash": "ec804bbc339799a3531620930ec26f29",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 116,
"avg_line_length": 22.46938775510204,
"alnum_prop": 0.7166212534059946,
"repo_name": "india-rose/android-writing",
"id": "57f7d679bafadcceb1023d48669e9f87543e3177",
"s... |
var logger = require('../utils/logger').instance()
module.exports = function(app) {
// We don't want to leave a trace on the visitor's machine
// so we turn off caching
app.set('staticMaxAge', 0);
// Log a heartbeat every 10 seconds (we don't need to fill any logs here..)
setInterval(function() {
logge... | {
"content_hash": "1d3a87a1d6e7b6150499baa476982059",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 101,
"avg_line_length": 27.833333333333332,
"alnum_prop": 0.6616766467065869,
"repo_name": "xdamman/tipbox",
"id": "eb0a753e8d1301830d01a70c0acbeceecf4a1f8a",
"size": "668"... |
export * from './find';
| {
"content_hash": "d81fa16a63f42ffc12987d6ce568f558",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 23,
"avg_line_length": 24,
"alnum_prop": 0.5833333333333334,
"repo_name": "evanliomain/taninsam",
"id": "833bbb3fefb7bf4bf93b9081e69d8abfaa6f1ba3",
"size": "24",
"binary":... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.7
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | {
"content_hash": "a56135aaf2c93df6072fe38304e7b9a1",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 294,
"avg_line_length": 32.744360902255636,
"alnum_prop": 0.7322617680826636,
"repo_name": "PedroRomanoBarbosa/libgdx",
"id": "a63c9b2a8612636a450b4f79a671895e1412f87a",
"... |
<!-- This file is machine generated: DO NOT EDIT! -->
# TensorFlow Python reference documentation
* **[Building Graphs](../../api_docs/python/framework.md)**:
* [`add_to_collection`](../../api_docs/python/framework.md#add_to_collection)
* [`as_dtype`](../../api_docs/python/framework.md#as_dtype)
* [`container`]... | {
"content_hash": "60558f593ddd1c0204062d31ffdea8cc",
"timestamp": "",
"source": "github",
"line_count": 1021,
"max_line_length": 161,
"avg_line_length": 75.03917727717923,
"alnum_prop": 0.6802062259348691,
"repo_name": "ikaee/bfr-attendant",
"id": "b1fdb12342767df1441fc81c86da9ef34c507cdb",
"size":... |
<?php
namespace WellCommerce\Bundle\AppBundle\Service\Tax\Helper;
/**
* Interface TaxHelperInterface
*
* @author Adam Piotrowski <adam@wellcommerce.org>
*/
interface TaxHelperInterface
{
public function calculateNetPrice(float $grossPrice, float $taxRate): float;
}
| {
"content_hash": "8ececd441a8fcc485e7bde6e14530bf1",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 80,
"avg_line_length": 19.857142857142858,
"alnum_prop": 0.7589928057553957,
"repo_name": "diversantvlz/WellCommerce",
"id": "dfe6b3f111aedaee766f5ef2deb55199159216dc",
"si... |
import '../../helpers/toggler';
import controller from '../../helpers/controller';
import action from '../../helpers/action';
import eventListener from '../../helpers/eventListener';
function MainNavigation() {
function init() {
}
return {
init,
}
}
controller.add('MainNavigation', MainNavigation);
| {
"content_hash": "ceda5717892199584bb19279eb0e3ae5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 56,
"avg_line_length": 21,
"alnum_prop": 0.6793650793650794,
"repo_name": "daytona/lds",
"id": "afe1538a1836d8a52cb20fb6a17b1305831729eb",
"size": "316",
"binary": false,... |
<?php
namespace frontend\tests\functional;
use frontend\tests\FunctionalTester;
class SignupCest
{
protected $formId = '#form-signup';
public function _before(FunctionalTester $I)
{
$I->amOnRoute('site/signup');
}
public function signupWithEmptyFields(FunctionalTester $I)
{
... | {
"content_hash": "ce062fd96e3a3348d06153c03b5bac75",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 95,
"avg_line_length": 30.135593220338983,
"alnum_prop": 0.5736782902137233,
"repo_name": "erycamel/yii2-app-advanced",
"id": "ae35d8a952ff7c256a47a0af246d54f7b29e2e8a",
"s... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kie</groupId>
<artifactId>kie-dmn</artifactId... | {
"content_hash": "af0ac13fc364036ef5f6f763b66b6cfc",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 205,
"avg_line_length": 30.635514018691588,
"alnum_prop": 0.6510067114093959,
"repo_name": "manstis/drools",
"id": "7876786ae69f8e57419e5c215e2b1fcd81134b45",
"size": "327... |
Rails.application.routes.draw do
match 'users/change_password', to: "users#change_password", via: [:get,:post]
match 'users/roles', to: 'users#roles', via: [:get,:post]
resource :users, only: [:create, :reset_password, :set_role, :set_status], via: [:post,:get]
get 'session', to: 'sessions#destroy'
resource ... | {
"content_hash": "6bba8f57bac8f5b421713f72aa0cadca",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 108,
"avg_line_length": 43.75,
"alnum_prop": 0.64,
"repo_name": "RSNA/isn-edge-server-token",
"id": "f9622f357cd55b6e39469f969153cecee6787721",
"size": "525",
"binary": f... |
The purpose of this funding opportunity is to fund direct services for victims of crime under at least one of the three following focus areas: child abuse (minors and adults survivors of child abuse), financial crime, and impaired driving. Applicants may request a minimum of \$75,000 to a maximum of \$500,000 in federa... | {
"content_hash": "b0049b0a2dd113186f27bc1f4cea632f",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 562,
"avg_line_length": 71.4041095890411,
"alnum_prop": 0.7854196642685851,
"repo_name": "ICJIA/icjia-gata",
"id": "06939cff2a976856c19c278bdcf9e99b6e48eebb",
"size": "105... |
#include <stdint.h>
#include "iostat_darwin.h"
#define IOKIT 1 /* to get io_name_t in device_types.h */
#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/storage/IOBlockStorageDriver.h>
#include <IOKit/storage/IOMedia.h>
#include <IOKit/IOBSD.h>
static int getdrivestat(io_registr... | {
"content_hash": "0266dbc237ee378840110c3cada309a2",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 115,
"avg_line_length": 29.515625,
"alnum_prop": 0.7551614610905241,
"repo_name": "knweiss/node_exporter",
"id": "4371ea491edd45e7fd3201d706965e89753d8ef7",
"size": "3778"... |
/**
*
*/
package com.varone.web.resource;
import java.util.ArrayList;
import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import org.apache.log4j.Logger;
import com.goo... | {
"content_hash": "b5e283c10cfe1c05bbf06f08c5e2a564",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 86,
"avg_line_length": 29.641975308641975,
"alnum_prop": 0.7109537692628072,
"repo_name": "SparkMonitor/varOne",
"id": "44fce4b22987f5c3836da6d5ff9759315234153d",
"size": "... |
'use strict';
var path = require('path');
var ComponentGenerator = require('../component-generator');
var RatUtils = require('../../utils/rat-utils');
function ControllerGenerator() {
ComponentGenerator.apply(this, arguments);
this.componentType = 'controller';
this.argument('controllerName', {
type: Stri... | {
"content_hash": "8622c69b54c618bb1358599880fdbdb3",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 98,
"avg_line_length": 30,
"alnum_prop": 0.7484126984126984,
"repo_name": "ealves-pt/G-RAT",
"id": "c7158508a470cc312a111927d72fc0fa9d98e2a7",
"size": "1260",
"binary": f... |
<?php
namespace PHPExiftool\Driver\Tag\Qualcomm;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class LADetect extends AbstractTag
{
protected $Id = 'la_detect';
protected $Name = 'LADetect';
protected $FullName = 'Qualcomm::Main... | {
"content_hash": "76c5f5f88a342a6cbef0b98a3fc2179b",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 46,
"avg_line_length": 16.43243243243243,
"alnum_prop": 0.6611842105263158,
"repo_name": "romainneutron/PHPExiftool",
"id": "6f03808d41395f88d31c6bcee057c14e46be1fd6",
"siz... |
for i in /Applications/*
do
soft_plist="$i"/Contents/Info.plist
if [[ -f $soft_plist ]]; then
/usr/libexec/plistbuddy -c Print:CFBundleExecutable: "$i"/Contents/Info.plist
/usr/libexec/plistbuddy -c Print:CFBundleShortVersionString: "$i"/Contents/Info.plist
else
echo $soft_plist
fi
done
| {
"content_hash": "97b8475f86ed155f428db44e4e8f5eca",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 88,
"avg_line_length": 30.7,
"alnum_prop": 0.7100977198697068,
"repo_name": "sharkspeed/dororis",
"id": "dbb69212d13a34aa0d1934c10281f7d6c518cb02",
"size": "307",
"binary... |
/*jshint -W055 *//* non standard constructor name */
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
}
else if (typeof module === 'object' && module.exports) {
module.exports = factory(require('jquery'));
}
else {
factory(root.jQuery);
... | {
"content_hash": "90264e3e6dbbc5d83e76fc28b6c9eafa",
"timestamp": "",
"source": "github",
"line_count": 535,
"max_line_length": 172,
"avg_line_length": 30.386915887850467,
"alnum_prop": 0.5632035430891308,
"repo_name": "AMoo-Miki/cdnjs",
"id": "316c9690f7aa1729bd48818950101bdc7107c292",
"size": "16... |
title: "GREENHOUSE TOURS"
date: "2000-01-01 20:01:30 -06:00"
categories:
- winter
- adult
subtitle: ""
layout: "events"
event-image: "greenhouse-tour.jpg"
event-dates: "THURSDAY, JANUARY 30"
event-location: "Red Butte Garden Greenhouses"
button-type: "register"
tickets-link: ""
registration-info: "N/A"
instructor-info:... | {
"content_hash": "af7ba4ced4595263b41576b3c1e55b9f",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 354,
"avg_line_length": 33.58181818181818,
"alnum_prop": 0.6713589604764483,
"repo_name": "redbuttegarden/redbuttegarden.github.io",
"id": "f5a913782b86bfcecf649bc555bab3224f... |
describe.skip('Struck.computed', function () {
var count = 0;
var counter = function() { count++; };
var noop = function() {};
var instance, baseobj;
beforeEach(function() {
count = 0;
});
it('should return a property', function() {
instance = Struck.EventObject.extend({
name: 'Borg',
properName: ne... | {
"content_hash": "3de2f48c6b52c7f3f9e619a1f7ef4900",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 79,
"avg_line_length": 28.761363636363637,
"alnum_prop": 0.6297905966021335,
"repo_name": "krambuhl/Struck",
"id": "b435c15d374a3dae31e82973ab227be793961609",
"size": "2531... |
<?php
/**
* Just a footer. Everything gets closed here and some information is display.
* @package fourtwenty
* @link http://codex.wordpress.org/Theme_Development#Footer_.28footer.php.29
*/
?>
<div id="footer">
<div class="container">
<div class="row">
<div class="col-md-4"><a href="http:/... | {
"content_hash": "5df14d8ba5d4aa115a2181d4ea12757d",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 141,
"avg_line_length": 31.833333333333332,
"alnum_prop": 0.6138743455497382,
"repo_name": "infyhr/fourtwenty",
"id": "a89c9f6195b61c30eef7355324517c4d4164e073",
"size": "7... |
<div>
<a href="http://github.com/zenit/zenit">
<img src="https://drive.google.com/uc?export=download&id=0B9WchF8WhEn9bjAxaGxKWko4d2s">
</a>
</div>
[](https://travis-ci.org/zenit/zenit)
[ 2009-2021 Øystein Moseng
*
* Main keyboard navigation handling.
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from '../Core/Globals.js';
var doc = H.doc, win = H.win;
import MenuComponent from... | {
"content_hash": "22a12ab5fc8b35455cff85bf836a9603",
"timestamp": "",
"source": "github",
"line_count": 448,
"max_line_length": 251,
"avg_line_length": 33.982142857142854,
"alnum_prop": 0.5699553336836574,
"repo_name": "cdnjs/cdnjs",
"id": "4124dc4b4810b7f49b6300ea5b3658b1e1c96d30",
"size": "15225"... |
import json
import requests
from hanlder import RequestHandler as BaseRequestHandler
import tornado.web
from ..utils import deal_errors, get_local_time
from .forms import BlogWriterForm
class RequestHandler(BaseRequestHandler):
def q(self, query_string, query_variables={},headers={}):
sid = self.get_sec... | {
"content_hash": "ec998aebcb44eb1c120bead216666f1a",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 100,
"avg_line_length": 24.267857142857142,
"alnum_prop": 0.5342163355408388,
"repo_name": "nuanri/hiblog",
"id": "7b439a13bf2a49997d7235ce2774aa1317bb8fc8",
"size": "2735... |
/* $This file is distributed under the terms of the license in LICENSE$ */
package edu.cornell.mannlib.vedit.validator.impl;
import java.util.Iterator;
import org.apache.jena.iri.IRI;
import org.apache.jena.iri.IRIFactory;
import org.apache.jena.iri.Violation;
import edu.cornell.mannlib.vedit.validator.ValidationOb... | {
"content_hash": "b9189621b9d3392cd12718e6ca8afcbc",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 83,
"avg_line_length": 32.34146341463415,
"alnum_prop": 0.6568627450980392,
"repo_name": "vivo-project/Vitro",
"id": "edaa7743ebd8edf0cdb02e16ec1122cc4612d260",
"size": "13... |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const impl = utils.implSymbol;
const HTMLElement = require("./HTMLElement.js");
function HTMLMeterElement() {
throw new TypeError("Illegal constructor");
}
Object.setPrototypeOf(HTMLMeterElement.prototype, HTMLEl... | {
"content_hash": "ef4addf6925aab2aa67c0e29664a6ef5",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 113,
"avg_line_length": 27.513761467889907,
"alnum_prop": 0.6705568522840947,
"repo_name": "ani2404/ee6761cloud",
"id": "0005cf513b3a4f07e0d3ef215236d32429b78508",
"size":... |
package controllers
import (
"github.com/ulricqin/beego-blog/models"
"github.com/ulricqin/beego-blog/models/blog"
"github.com/ulricqin/beego-blog/models/catalog"
)
type ArticleController struct {
AdminController
}
func (this *ArticleController) Draft() {
var blogs []*models.Blog
blog.Blogs().Filter("Status", 0... | {
"content_hash": "50a182c05ad26b8cda9498c59d7079a0",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 137,
"avg_line_length": 22.625766871165645,
"alnum_prop": 0.6635032537960954,
"repo_name": "fsxchen/beego-blog",
"id": "70c069e04136499b090d5659255b388d0dd029ea",
"size": ... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700|... | {
"content_hash": "6ea77dcd038111bed3dc2f380a3dd628",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 131,
"avg_line_length": 38,
"alnum_prop": 0.6787280701754386,
"repo_name": "codemargonda-master/ccc-system",
"id": "2c99db2eeee9434d12723f41c9721af9100ac1a7",
"size": "1824... |
<?php
namespace Fracture\Http;
use Exception;
use ReflectionClass;
use PHPUnit_Framework_TestCase;
class UploadedFileTest extends PHPUnit_Framework_TestCase
{
/**
* @dataProvider provideSimpleTypes
*
* @covers Fracture\Http\UploadedFile::__construct
* @covers Fracture\Http\UploadedFile::getM... | {
"content_hash": "761fab4129b33ca67c5c298c587b8c64",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 95,
"avg_line_length": 30.296296296296298,
"alnum_prop": 0.6194987775061125,
"repo_name": "teresko/http",
"id": "4905c6d074cd868ee3ab496f81bb648897a52929",
"size": "3272",... |
import platform
from support import Group
from support import meta_service
from clastic import Application
from clastic import render_basic
PORT = 8888
META_PORT = 8889
def home_handler():
return 'Welcome to SuPPort!'
def main():
app = Application([('/', home_handler, render_basic)])
meta_app = meta_s... | {
"content_hash": "c1fa596a9a7fe0080b117ccd43c6f07f",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 59,
"avg_line_length": 23.272727272727273,
"alnum_prop": 0.5768229166666666,
"repo_name": "paypal/support",
"id": "33af43dca6093a23c8355f9685fe578ab52c20bf",
"size": "769",... |
package com.amazonaws.services.cloudwatch.model;
/**
* <p>
* The <code>AlarmHistoryItem</code> data type contains descriptive information about the history of a specific alarm. If you call DescribeAlarmHistory,
* Amazon CloudWatch returns this data type as part of the DescribeAlarmHistoryResult data type.
* </p>
... | {
"content_hash": "36173f2926e7700b57b3901e25ba93b4",
"timestamp": "",
"source": "github",
"line_count": 351,
"max_line_length": 152,
"avg_line_length": 31.752136752136753,
"alnum_prop": 0.5956034096007178,
"repo_name": "XidongHuang/aws-sdk-for-java",
"id": "7150c6db0c75264775a97916234fc864a3e36c2d",
... |
(function(){
Template.__checkName("layout");
Template["layout"] = new Template("Template.layout", (function() {
var view = this;
return Spacebars.include(view.lookupTemplate("ionBody"), function() {
return [ "\n ", Blaze._TemplateWith(function() {
return {
"class": Spacebars.call("bar-positive"... | {
"content_hash": "30b00d0ea529c5da44ffb96a7b49a591",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 87,
"avg_line_length": 35.22222222222222,
"alnum_prop": 0.5946372239747634,
"repo_name": "csemrm/assignment",
"id": "aa424a1fac2167fc9b61b676e1dea7e0b5379dd1",
"size": "634... |
set -euxo pipefail
export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH
ghc --version
cabal --version
if [ "$CABALVER" = "1.18" ]
then
TEST=--enable-tests
else
TEST=--run-tests
fi
if [ "$BACKEND" = "none" ]
then
cabal install --force-reinstalls $TEST $(cat sources.txt)
else
... | {
"content_hash": "73732526f2675214638e1371af58f01f",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 82,
"avg_line_length": 29.02173913043478,
"alnum_prop": 0.6479400749063671,
"repo_name": "jasonzoladz/persistent",
"id": "744662d310a57c6a9b886de2019d96c0fde7d317",
"size":... |
#ifndef ASF_H
#define ASF_H
/*
* This file includes all API header files for the selected drivers from ASF.
* Note: There might be duplicate includes required by more than one driver.
*
* The file is automatically generated and will be re-written when
* running the ASF driver selector tool. Any changes will be ... | {
"content_hash": "0296d9f2370e4ce6a916653db25101d7",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 79,
"avg_line_length": 24.75409836065574,
"alnum_prop": 0.7132450331125828,
"repo_name": "femtoio/femto-usb-blink-example",
"id": "a3507663cc885c1c10e7177d3d4bf0c73f8dfb2b",
... |
package com.ctrip.xpipe.redis.keeper.applier;
import com.ctrip.xpipe.api.endpoint.Endpoint;
import com.ctrip.xpipe.api.lifecycle.Lifecycle;
import com.ctrip.xpipe.gtid.GtidSet;
import com.ctrip.xpipe.redis.core.entity.ApplierInstanceMeta;
import com.ctrip.xpipe.redis.keeper.RedisServer;
/**
* @author Slight
* <p>
... | {
"content_hash": "6cc0ff109ffc42bea27e2a956e0a1b13",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 63,
"avg_line_length": 22.766666666666666,
"alnum_prop": 0.7496339677891655,
"repo_name": "ctripcorp/x-pipe",
"id": "6787252338504d22a3f645223ee5869f0460a6c9",
"size": "683... |
class ApplicationController < ActionController::Base
# protect_from_forgery
before_action :authenticate_user!
end
| {
"content_hash": "2b48bf82f5405e66f4aa60a730ca691c",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 52,
"avg_line_length": 29.5,
"alnum_prop": 0.8050847457627118,
"repo_name": "bitgaming/devise_google_authenticator",
"id": "b89a27e6e16949a1d1eae6bb25edea2c9431a026",
"size"... |
package examples
// FastIntSizer defines an interface for sizing methods on int collections.
type FastIntSizer interface {
// IsEmpty tests whether FastIntCollection is empty.
IsEmpty() bool
// NonEmpty tests whether FastIntCollection is empty.
NonEmpty() bool
// Size returns the number of items in the collecti... | {
"content_hash": "482c4528bb436312f8fc613c582c6bf3",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 121,
"avg_line_length": 36.766129032258064,
"alnum_prop": 0.760473788111428,
"repo_name": "rickb777/runtemplate",
"id": "c572cdd965e5869de2870cb9ab2f8b0da1d31271",
"size":... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { AccountsList } from './account/accounts_list.component';
import { AccountForm } from './account/account_form.component';
import { AccountService } from './... | {
"content_hash": "21a99eec85edcf3e93073a3162ca5fe9",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 65,
"avg_line_length": 39.0625,
"alnum_prop": 0.7104,
"repo_name": "jollylengkono/quickstart-master",
"id": "266fe3e53aa142c14ba0f94f02375988ff43f739",
"size": "625",
"bi... |
/**************************************************************************//**
* @file core_cm7.h
* @brief CMSIS Cortex-M7 Core Peripheral Access Layer Header File
* @version V5.1.6
* @date 04. June 2021
******************************************************************************/
/*
* Copyright (c... | {
"content_hash": "83d5e1d051cc6e5310795db630073e79",
"timestamp": "",
"source": "github",
"line_count": 2366,
"max_line_length": 178,
"avg_line_length": 58.729078613694,
"alnum_prop": 0.5210610782063,
"repo_name": "hollanderic/lkstuff",
"id": "3a45a63bb93beaf29cb13d14b826302698a02028",
"size": "138... |
package org.terracotta.nomad.server;
public enum NomadServerRequest {
PREPARE,
COMMIT,
ROLLBACK,
TAKEOVER
}
| {
"content_hash": "9efcd97ae8e95265b56f4186e70ecf0d",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 36,
"avg_line_length": 13.11111111111111,
"alnum_prop": 0.7457627118644068,
"repo_name": "chrisdennis/terracotta-platform",
"id": "d16eb88e04c6748869d202f7ad4aeeb7978e85b8",
... |
class CreateNodes < ActiveRecord::Migration
def self.up
create_table :nodes do |t|
t.string :ip_address
t.string :hostname
t.string :description
t.string :services
t.string :status
t.timestamps
end
end
def self.down
drop_table :nodes
end
end
| {
"content_hash": "7c1b0c631010f688ac7cae72b1a5b71b",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 43,
"avg_line_length": 18.6875,
"alnum_prop": 0.6354515050167224,
"repo_name": "unilogic/zackup",
"id": "8953cce83f072f44cb4e2b161f039f5e0b0dc4e2",
"size": "299",
"binary... |
<?php
namespace PowerTools;
/**
* The scanner.
*
* This scans over an input stream.
*/
class HTML5_Parser_Scanner {
const CHARS_HEX = 'abcdefABCDEF01234567890';
const CHARS_ALNUM = 'abcdefAghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890';
const CHARS_ALPHA = 'abcdefAghijklmnopqrstuvwxyABCDE... | {
"content_hash": "c09052bb544215c2b998a7753fb4ee0d",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 90,
"avg_line_length": 24.480392156862745,
"alnum_prop": 0.5718862635162195,
"repo_name": "PHPPowertools/HTML5",
"id": "5a9fa5f792b7317132ac6da46366a8104c23729b",
"size": ... |
zip cybercat-another_autumn.zip -9 -r bower_components images lib models music src index.html FILE_ID.DIZ
| {
"content_hash": "358caec86bad4861866ddd15210dd24d",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 105,
"avg_line_length": 53.5,
"alnum_prop": 0.794392523364486,
"repo_name": "Suva/AnotherAutumn",
"id": "159df84b5bd11f84ad7e6e231a8b2328203549f1",
"size": "120",
"binary"... |
require 'spec_helper'
describe Signifyd::Case do
let(:hash) { SignifydRequests.valid_case }
let(:json) { JSON.dump(hash) }
let(:case_id) { (rand * 1000).ceil }
let(:order_id) { 'unique_id'}
let(:investigation) { "{\"investigationId\":#{case_id}}" }
let(:retrieved_case) {"{\"orderId\":#{case_id}}" }
cont... | {
"content_hash": "67a0aaffea030f8072d3fccbcbe57340",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 222,
"avg_line_length": 36.57142857142857,
"alnum_prop": 0.5907118055555556,
"repo_name": "eric-surfeasy/signifyd-ruby",
"id": "d95737e81ba65c504b297ed46fe6bdbd9f48c2f7",
... |
<?php
namespace Concrete\Core\Summary\Template;
use Concrete\Core\Entity\Summary\Category;
use Concrete\Core\Entity\Summary\Template;
use Concrete\Core\Summary\Data\Collection;
use Doctrine\ORM\EntityManager;
/**
* Responsible for taking a summary category handle, retrieving all the possible templates available for ... | {
"content_hash": "3f9ab01759fa549df7c39f968ead47ce",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 116,
"avg_line_length": 32.82258064516129,
"alnum_prop": 0.544963144963145,
"repo_name": "hissy/concrete5",
"id": "599f8e049e35e3938f4b0699a3c8abeb1473807b",
"size": "2035"... |
import coreUtils from '@opentripplanner/core-utils'
import {
CREATE_ACCOUNT_PLACES_PATH,
PERSIST_TO_LOCAL_STORAGE,
PERSIST_TO_OTP_MIDDLEWARE,
PLACES_PATH
} from './constants'
import { getFormattedPlaces } from './i18n'
import { isBlank } from './ui'
const { toSentenceCase } = coreUtils.itinerary
/**
* Deter... | {
"content_hash": "66a54b7308c74722b03295ec86c5505a",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 97,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.7005420054200542,
"repo_name": "opentripplanner/otp-react-redux",
"id": "cfa475a777bc0fd07722d1d606a9189edd8d908f"... |
"""
Unit tests for pyspark.sql; additional tests are implemented as doctests in
individual modules.
"""
import os
import sys
import pydoc
import shutil
import tempfile
import pickle
import functools
import time
import datetime
import py4j
if sys.version_info[:2] <= (2, 6):
try:
import unittest2 as unittes... | {
"content_hash": "65d7e1c7fcc50da158aa39473656fa88",
"timestamp": "",
"source": "github",
"line_count": 1207,
"max_line_length": 100,
"avg_line_length": 43.34051367025683,
"alnum_prop": 0.5859458632818474,
"repo_name": "pronix/spark",
"id": "f465e1fa209419478f10b6d7944a008e0f1f72ba",
"size": "53147... |
module DbStructureWriter
module Generate
attr_accessor :tables
class << self
def html
str = Template.generate(table_list)
file_put(str)
end
private
def table_list
@tables ||= ActiveRecord::Base.connection.tables
end
def file_put(str)
put... | {
"content_hash": "29e263670599bb3ed04ed4ebaf1d7f89",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 89,
"avg_line_length": 19.310344827586206,
"alnum_prop": 0.5696428571428571,
"repo_name": "narikei/db_structure_writer",
"id": "398c691e5f364829c6b29b436d553fd4aa1955fe",
"... |
package org.apache.isis.core.metamodel.facets.propparam.specification;
import org.apache.isis.applib.spec.Specification;
public class SpecificationRequiresFirstLetterToBeUpperCase implements Specification {
@Override
public String satisfies(final Object obj) {
if (!(obj instanceof String)) {
... | {
"content_hash": "7ee4d11d925c3049b88e78034b7df9df",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 88,
"avg_line_length": 28.772727272727273,
"alnum_prop": 0.6587677725118484,
"repo_name": "sanderginn/isis",
"id": "50a94214b10249cc32db8d89cd8caef4a8bd1012",
"size": "1458... |
<?php
namespace Oro\Bundle\AttachmentBundle\Api\Processor;
use Gaufrette\Exception\FileNotFound;
use Psr\Log\LoggerInterface;
use Oro\Component\ChainProcessor\ContextInterface;
use Oro\Component\ChainProcessor\ProcessorInterface;
use Oro\Bundle\ApiBundle\Processor\CustomizeLoadedData\CustomizeLoadedDataContext;
use... | {
"content_hash": "48ec9f1db843cef5f321370482e52ed1",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 82,
"avg_line_length": 24.966666666666665,
"alnum_prop": 0.5723186470850022,
"repo_name": "Djamy/platform",
"id": "6187fb610e1a86a26aebe9658af754572afbebc6",
"size": "2247"... |
Simple GUI for AtomicParsley
| {
"content_hash": "d5390c865b4480f77f5f985632916375",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 28,
"avg_line_length": 29,
"alnum_prop": 0.8620689655172413,
"repo_name": "garethflowers/retagit",
"id": "cfd0acd6d71aa2913a37182a19be60ee82de6db8",
"size": "40",
"binary"... |
package net.fortuna.ical4j.model.property;
import net.fortuna.ical4j.model.*;
import net.fortuna.ical4j.model.parameter.Value;
import net.fortuna.ical4j.validate.PropertyValidator;
import net.fortuna.ical4j.validate.ValidationException;
import net.fortuna.ical4j.validate.ValidationResult;
import java.io.IOException;... | {
"content_hash": "753b40455e8c3377f97e2bdb662392ec",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 96,
"avg_line_length": 34.58064516129032,
"alnum_prop": 0.6194029850746269,
"repo_name": "ical4j/ical4j",
"id": "15bcda6bdb0e59b49702ae6d38bac79916835986",
"size": "11215"... |
package class
import (
. "github.com/etheriqa/crescent/game"
)
func NewClassMage() *Class {
var q, w, e, r Ability
class := &Class{
Name: "Mage",
Health: 930,
HealthRegeneration: 23,
Mana: 580,
ManaRegeneration: 33,
Armor: DefaultArmor,... | {
"content_hash": "8ceeab54c0a90606bc736a7e72a45056",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 137,
"avg_line_length": 28.28448275862069,
"alnum_prop": 0.6080463273392258,
"repo_name": "etheriqa/crescent",
"id": "c700ae3d3d710382357b71714e0db9147e807503",
"size": "3... |
<?php
// this check prevents access to debug front controllers that are deployed by accident to production servers.
// feel free to remove this, extend it, or make something more sophisticated.
if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
'127.0.0.1',
'::1',
))) {
header('HTTP/1.0 403 Forbidden');
di... | {
"content_hash": "5dc65921bb29441d4e3694102f5b6b2f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 109,
"avg_line_length": 34.3,
"alnum_prop": 0.6880466472303207,
"repo_name": "mremolt/reisebuero-symfony",
"id": "2a635b7c65e30a3d323bcbf187794b492be2dd6c",
"size": "686",
... |
module Dockmaster
# This class holds data for the documentation processor
class ProcessData
attr_accessor :level, :intern, :final, :final_line, :cache_final, :cache_intern
attr_accessor :intern_line, :activity
end
end
| {
"content_hash": "936a837d3c121a3689e3071e62e74169",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 83,
"avg_line_length": 33.142857142857146,
"alnum_prop": 0.7413793103448276,
"repo_name": "chrisblutz/dockmaster",
"id": "d53d8e97d5e8bb4ab216b03bd1448567f3cc1302",
"size": ... |
- Jeff Marshall for the initial idea | {
"content_hash": "7ccd536a056a34c0a166d41fe0ba562d",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 36,
"avg_line_length": 36,
"alnum_prop": 0.8055555555555556,
"repo_name": "wikicause/wikicause",
"id": "e510024a35613186c0b731e98beb8967c1dbe286",
"size": "36",
"binary": ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.6">
<link rel="stylesheet" type="text/css" href="search.c... | {
"content_hash": "eaab427ae51a179e28afd4ff28bb6138",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 121,
"avg_line_length": 39.23076923076923,
"alnum_prop": 0.707843137254902,
"repo_name": "guillegalor/PracticasED",
"id": "d95f53d95d6dc86f543bd0a2e0737509085fd79c",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>float: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | {
"content_hash": "5226cae9f640877864a3d49a2e005f3f",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 157,
"avg_line_length": 39.52662721893491,
"alnum_prop": 0.5335329341317365,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "de2b73830260db0da570b6e51670acf0aad07718",
... |
using namespace dlib;
using namespace std;
#pragma region template
#define load_image_dataset_array_template_sub(__TYPE__, error, type, __TYPE_OUT__, ...) \
do {\
dlib::array<array2d<__TYPE__>> tmp_images;\
std::vector<std::vector<__TYPE_OUT__>> tmp_locs;\
\
dlib::load_image_dataset(tmp_images, tmp_locs, ... | {
"content_hash": "4b10808bcb644dd51ebead244b86fb03",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 131,
"avg_line_length": 40.90551181102362,
"alnum_prop": 0.4667949951876805,
"repo_name": "takuya-takeuchi/DlibDotNet",
"id": "9bd76bf320b1114162f9371d08cd8d5abde3e7cd",
"... |
<?php
/**
* eOS_Sniffs_Functions_FunctionCallSignatureSniff.
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @author Alexandru G. <alex@gentle.ro>
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
*... | {
"content_hash": "d30d514b4502d4edb9a9307ae4d2157d",
"timestamp": "",
"source": "github",
"line_count": 357,
"max_line_length": 112,
"avg_line_length": 39.88515406162465,
"alnum_prop": 0.5083222136385982,
"repo_name": "vimishor/eos-coding-standard",
"id": "3054be574c4c42d7231ec57d1bb08fc400cb7da8",
... |
package rlVizLib.utilities;
import java.util.StringTokenizer;
/**
* @deprecated We're now goign to use task spec stuff from the RLGlue Java Codec.
* @author btanner
*/
public class TaskSpecObject {
public double version;
public char episodic;
public int obs_dim;
public int num_discrete_obs_dims;
... | {
"content_hash": "91828a2a472a3f6eaeea7ccdfff99eb6",
"timestamp": "",
"source": "github",
"line_count": 413,
"max_line_length": 125,
"avg_line_length": 38.66585956416465,
"alnum_prop": 0.5910201014465527,
"repo_name": "Norbygyerek/rl-viz",
"id": "918a5c7d8a478acbea4f2ca207cd489e70402941",
"size": "... |
class TInfoSinkBase;
class RestrictFragmentShaderTiming : TDependencyGraphTraverser {
public:
RestrictFragmentShaderTiming(TInfoSinkBase& sink);
void enforceRestrictions(const TDependencyGraph& graph);
int numErrors() const { return mNumErrors; }
virtual void visitArgument(TGraphArgument* parameter);
... | {
"content_hash": "685bc8bbd2c4a97350ff0df169535a11",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 77,
"avg_line_length": 33.76923076923077,
"alnum_prop": 0.7790432801822323,
"repo_name": "xin3liang/platform_external_chromium_org_third_party_angle",
"id": "e77d8c21cbc81428... |
define([
'./auth.controller',
'./logout-link.directive',
'angular-ui-router',
'@shared/alt-auth'
], function(authController, logoutLinkDirective) {
return {
init: function(module) {
/* @ngInject */
module.config(function($stateProvider) {
$stateProvide... | {
"content_hash": "a2bb24d749bf5595eb168e4268d06155",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 82,
"avg_line_length": 36.51219512195122,
"alnum_prop": 0.4562458249832999,
"repo_name": "highpine/highpine",
"id": "efce93e99c0dbd3a5c29631758a27df2e0e50e42",
"size": "149... |
<!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_27) on Fri Mar 01 17:38:33 CET 2013 -->
<TITLE>
ch.unifr.pai.mindmap.client.interaction.longclick Class Hierarchy
</TITLE>
<META NAME="date" CONTENT... | {
"content_hash": "d169c400e5909fad53ba60d539d87ce6",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 584,
"avg_line_length": 46.251612903225805,
"alnum_prop": 0.6205886455572605,
"repo_name": "olinux/twice",
"id": "7aa5fd9ebcc095eee37109b1119e6e8c42d289cf",
"size": "7169"... |
<readable><title>3720366614_dfa8fe1088</title><content>
A small black dog is standing on two feet and wearing a pink tutu .
Small dog in costume stands on hind legs to reach dangling flowers .
The dog is jumping up beside a red wall .
The small brown and black down is wearing a pink tutu .
The small dog wearing a tutu ... | {
"content_hash": "cefa43d5bf1263b56b625d8dc4b09e2e",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 68,
"avg_line_length": 52.42857142857143,
"alnum_prop": 0.771117166212534,
"repo_name": "kevint2u/audio-collector",
"id": "107207febd7f66bba85f9040896b43e4a30e8a2b",
"size":... |
#include "config.hpp"
#include "init_resources.hpp"
#include "application.hpp"
#include "main_window.hpp"
#include <cppdevtk/gui/message_box.hpp>
#include <cppdevtk/base/cassert.hpp>
#include <cppdevtk/base/verify.h>
#include <cppdevtk/base/logger.hpp>
#include <cppdevtk/base/qiostream.hpp>
#include <cpp... | {
"content_hash": "3eebdc0f77865f089ea0cf8a91f83c25",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 123,
"avg_line_length": 32.62328767123287,
"alnum_prop": 0.7062775561620828,
"repo_name": "CoSoSys/cppdevtk",
"id": "01b2148e78c7847b603e15e091aa9e037ef14e76",
"size": "58... |
package com.amazonaws.services.gamelift.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateScript" target="_top">AWS API
* Documentation</a>
*/
@Generate... | {
"content_hash": "a7d8b1e664eac23a5565c86b71de1392",
"timestamp": "",
"source": "github",
"line_count": 383,
"max_line_length": 121,
"avg_line_length": 46.36553524804177,
"alnum_prop": 0.6478770131771596,
"repo_name": "jentfoo/aws-sdk-java",
"id": "03fd3445e0a1a9940fa2968e8b9da41a37451550",
"size":... |
@implementation SIRSI
- (BOOL) update
{
[browser go: catalogueURL];
// Logout first
//
// * Usually this isn't needed.
// * Need it for us.pa.BucksCountyLibraryNetwork start from Oct 2011.
// The newer systems could be keeping users logged in
if ([browser clickLink: @"Logout"])
{
[Debug logError: @"Lo... | {
"content_hash": "21bebf236d7f1ef3c41f65a7e0df9f7c",
"timestamp": "",
"source": "github",
"line_count": 322,
"max_line_length": 138,
"avg_line_length": 31.928571428571427,
"alnum_prop": 0.6304834160101157,
"repo_name": "8-P/librarybooksapp",
"id": "74f8b639e9efa801181e587296e921bffd63b014",
"size":... |
<?xml version="1.0"?>
<!DOCTYPE import-control PUBLIC "-//Puppy Crawl//DTD Import Control 1.0//EN"
"http://www.puppycrawl.com/dtds/import_control_1_0.dtd">
<!--
vim:filetype=xml:ts=4
-->
<!--
Copyright (c) 2006, 2007
Conor McDermottroe. All rights reserved.
Redistribution and use in source and binary form... | {
"content_hash": "f8cd5f8f2a9bfa3d2283e1b162c9291f",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 81,
"avg_line_length": 44.9622641509434,
"alnum_prop": 0.7454888795635753,
"repo_name": "conormcd/exemplar",
"id": "e1c1e14fc1a2102e558601acfdbc6ab80f971f65",
"size": "476... |
set -euo pipefail
SOURCE_DIR=$1
NEW_CHECKSUM=$(./falco -c ${SOURCE_DIR}/falco.yaml --list -N | sha256sum | awk '{print $1}')
CUR_CHECKSUM=$(grep FALCO_FIELDS_CHECKSUM "${SOURCE_DIR}/userspace/engine/falco_engine_version.h" | awk '{print $3}' | sed -e 's/"//g')
if [ "$NEW_CHECKSUM" != "$CUR_CHECKSUM" ]; then
echo... | {
"content_hash": "20e40570a7ed4a239d8e1f96e05c356e",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 135,
"avg_line_length": 36.42857142857143,
"alnum_prop": 0.6725490196078432,
"repo_name": "draios/falco",
"id": "4d7d27fb7cad2547d2ab8615695ba06aeb2d3a56",
"size": "527",
... |
public class PokemonCard extends Card{
public String pokemon_type;
private int stage;
private int hp;
private String evolves_from_pokemon;
private String[] listAttack = new String[2];
public PokemonCard(String card_name, String card_type,
int collector_card_number,String pokemon_type,int hp){
super(c... | {
"content_hash": "f13879fda3358215fba89b026d6d61ee",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 93,
"avg_line_length": 30,
"alnum_prop": 0.7212121212121212,
"repo_name": "corann95/Pokedeck",
"id": "ad6f2a78d5f046d6098e20b0b15a537435637ed9",
"size": "662",
"binary": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b8e8d4a88a23c0d53d13a712195adda9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "5357be979f04218afe7d67dc57f707279c8370ff",
"size": "182... |
<?php
require_once('./config/accesscontrol.php');
require_once('./utilities.php');
// Set up/check session and get database password etc.
require_once('./config/MySQL.php');
session_start();
sessionAuthenticate();
$mysql = mysql_connect($mysql_host, $mysql_user, $mysql_password);
if (!mysql_select_db($mysql_database... | {
"content_hash": "4485c2374e8f7aace11fcf212766c187",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 162,
"avg_line_length": 22.645833333333332,
"alnum_prop": 0.6899724011039559,
"repo_name": "louiseadennis/primeval_game",
"id": "f0ec9afc671913704b98ae6c65760c25dc7e74fc",
... |
require 'sequel'
DB = Sequel.connect('sqlite://application.db')
# make a new table for posts
DB.run('CREATE TABLE posts(id INTEGER PRIMARY KEY AUTOINCREMENT, time TEXT,name TEXT(10), msg TEXT(140))') | {
"content_hash": "7ffab8cd9ca25cdbfc8a62d0a6b91a31",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 106,
"avg_line_length": 40,
"alnum_prop": 0.745,
"repo_name": "AlexTalker/lite-twitter",
"id": "65b52e3311bec54343f6798055e3033ffdebe231",
"size": "200",
"binary": false,
... |
// TypeScript Version: 2.0
/// <reference types="@stdlib/types"/>
import { Shape, Order, typedndarray, float64ndarray, float32ndarray, int32ndarray, int16ndarray, int8ndarray, uint32ndarray, uint16ndarray, uint8ndarray, uint8cndarray, complex128ndarray, complex64ndarray, DataType } from '@stdlib/types/ndarray';
/*... | {
"content_hash": "e355df1600002071ecc622a7180eb496",
"timestamp": "",
"source": "github",
"line_count": 489,
"max_line_length": 246,
"avg_line_length": 24.43353783231084,
"alnum_prop": 0.673167057248075,
"repo_name": "stdlib-js/stdlib",
"id": "2c220e90ff52c03ccf12d9c71f655656e199e43a",
"size": "125... |
<?php
namespace AerialShip\SamlSPBundle\Bridge;
use AerialShip\LightSaml\Binding\BindingDetector;
use Symfony\Component\HttpFoundation\Request;
class BindingManager extends BindingDetector
{
/**
* @param Request $request
* @return null|string
*/
public function getBindingType(Request $request... | {
"content_hash": "3560b5ca3371894f1bbfa8127a5667ca",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 128,
"avg_line_length": 30.48148148148148,
"alnum_prop": 0.6391251518833536,
"repo_name": "rlustin/SamlSPBundle",
"id": "966436a5857961b392afb9a77e70cf22acdae74c",
"size": ... |
<div class="desktop-layout" data-options="dxLayout : { name: 'desktop', platform: 'generic' } " >
<div class="page">
<div class="wrapper">
<header>
<div class="logo" />
</header>
</div>
<div class="main-menu dx-desktop-layout-main-menu">
<... | {
"content_hash": "f0014b32c7847acc2cf6c1d613d02ae5",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 159,
"avg_line_length": 45.91428571428571,
"alnum_prop": 0.5164903546981954,
"repo_name": "AliakseiFutryn/asp-dotnet-core-samples",
"id": "eb61753d8fa34c23fc113d7a1731a44ed4a... |
namespace syncer {
class SyncData;
}
namespace sync_pb {
class AppSpecifics;
class ExtensionSpecifics;
}
namespace extensions {
class Extension;
// A class that encapsulates the synced properties of an App or Extension.
// Corresponds to an ExtensionSpecifics or an AppSpecifics proto (note that an
// AppSpecifics i... | {
"content_hash": "93ee1f8d5eb9d7edc98362a2553444a9",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 80,
"avg_line_length": 36.453947368421055,
"alnum_prop": 0.7036635986284064,
"repo_name": "endlessm/chromium-browser",
"id": "a07ce491aea6c2f694d8077875ae55b258309085",
"s... |
/**
* Created by praveen on 17.09.15.
* Handles review add operations
*/
angular.module('UserApp').controller('ReviewListCtrl', function ($scope, config, $http, $location, $routeParams) {
$scope.ready = 0;
$scope.courseid = $routeParams.id;
$scope.params = {
stars : [1, 2, 3, 4, 5],
get... | {
"content_hash": "58e9c6c3125e6d308d0bf82d4d1b751c",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 114,
"avg_line_length": 26.76923076923077,
"alnum_prop": 0.43582375478927204,
"repo_name": "praveendath92/coursestats",
"id": "49fd93f9fa4461ea2fb7a8a5855e29cd4cebf25b",
"s... |
<?php
/**
* OAuth setup model
*
* @category Mage
* @package Mage_Oauth
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Oauth_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup
{
}
| {
"content_hash": "9b48905029d9447843cbded5a72e460c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 76,
"avg_line_length": 17.692307692307693,
"alnum_prop": 0.6695652173913044,
"repo_name": "tagalpha/library",
"id": "2c7fb6fcd35338ffb346112a783497b8448563e7",
"size": "118... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp... | {
"content_hash": "b0b9eea5a4ac0583844558877879fc2f",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 246,
"avg_line_length": 88.6043956043956,
"alnum_prop": 0.7471784695522758,
"repo_name": "user-tony/photon-rails",
"id": "bb1df624431decb8c8c22e406c8f77c9a970fe85",
"size"... |
layout: page
title: Aeon Chemical Award Ceremony
date: 2016-05-24
author: Lisa Jackson
tags: weekly links, java
status: published
summary: Pellentesque mi lectus, rhoncus id enim nec, sodales laoreet.
banner: images/banner/leisure-03.jpg
booking:
startDate: 10/25/2018
endDate: 10/26/2018
ctyhocn: PWMDTHX
groupC... | {
"content_hash": "f5aa13e1272bf3419f92002f00db041d",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 693,
"avg_line_length": 94.32,
"alnum_prop": 0.8087362171331637,
"repo_name": "KlishGroup/prose-pogs",
"id": "56b772f77df65cd832479cd0955fb1b986465927",
"size": "2362",
"... |
package com.example.msf.msf.Presenters.Outcomes.Types;
import com.example.msf.msf.API.Auth;
import com.example.msf.msf.API.Interface;
import com.example.msf.msf.API.Models.Outcome;
import com.example.msf.msf.API.Models.OutcomeType;
import com.example.msf.msf.LoginActivity;
import java.util.List;
import retrofit.Call... | {
"content_hash": "9a5725d9f9f6d978a8200be74c175444",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 108,
"avg_line_length": 28.21951219512195,
"alnum_prop": 0.7579948141745895,
"repo_name": "thandile/msf_communique",
"id": "582dce823e13db209c9c6f35999548f20c465a36",
"size... |
/* Plugin based off of Tokenizing Autocomplete by James Smith (http://loopj.com) */
(function ($) {
// Default settings
var DEFAULT_SETTINGS = {
// Search settings
method: "GET",
contentType: "json",
queryParam: "value",
searchDelay: 300,
minChars: 1,
propertyToSearch: "name",
jsonContainer: null,
// Displa... | {
"content_hash": "fbff6940c9a74c59d6ffc9f8b457787b",
"timestamp": "",
"source": "github",
"line_count": 1190,
"max_line_length": 149,
"avg_line_length": 25.558823529411764,
"alnum_prop": 0.5999013644583265,
"repo_name": "zooley/hubzero-cms",
"id": "7af9c2268e12fc938b56c2017de61104afb0921d",
"size":... |
/*****************************************************************************
BotanUtil.h
Botan convenience functions
*****************************************************************************/
#ifndef _SOFTHSM_V2_BOTANUTIL_H
#define _SOFTHSM_V2_BOTANUTIL_H
#include "config.h"
#include "ByteString.h"
#inclu... | {
"content_hash": "43c5bef1eac7e167b825879d26fbde6d",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 98,
"avg_line_length": 30.045454545454547,
"alnum_prop": 0.6724659606656581,
"repo_name": "Doctor-love/SoftHSMv2",
"id": "67f6ca63e397c2fca0498099996d6882195f7bfb",
"size":... |
FROM balenalib/spacely-tx2-fedora:34-build
RUN dnf -y update \
&& dnf clean all \
&& dnf -y install \
gzip \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel \
tar \
&& dnf clean all
# set JAVA_HOME
ENV JAVA_HOME /usr/lib/jvm/java-openjdk
CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD ... | {
"content_hash": "c02c6fb409fe0f77288f53d165836f30",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 675,
"avg_line_length": 59.09090909090909,
"alnum_prop": 0.7107692307692308,
"repo_name": "nghiant2710/base-images",
"id": "4f7278e9fc197d281ad8605bf4a250a0e520a647",
"size... |
<?php
namespace PHPExiftool\Driver\Tag\ExifIFD;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class ISO extends AbstractTag
{
protected $Id = 34855;
protected $Name = 'ISO';
protected $FullName = 'Exif::Main';
protected $Gr... | {
"content_hash": "b4842095cf34e9fd4e5b0fac9f1a4a6e",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 46,
"avg_line_length": 15.45945945945946,
"alnum_prop": 0.6451048951048951,
"repo_name": "romainneutron/PHPExiftool",
"id": "4930c28053053a742d175d9a2fa571a14c113bf6",
"siz... |
<!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 (version 1.7.0_11) on Thu Aug 29 10:57:47 CEST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.googlecode.ipv... | {
"content_hash": "c977c5f2ea79e3e381d769d6b3e1b6b6",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 124,
"avg_line_length": 59.73076923076923,
"alnum_prop": 0.716677398583387,
"repo_name": "snoopy7713/java-ipv6",
"id": "e81292c58c6cec988925866d721f04ccac3fcaf2",
"size": "... |
module Sneakers
module Metrics
class StatsdMetrics
def initialize(conn)
@connection = conn
end
def increment(metric)
@connection.incrememnt(metric)
end
def timing(metric, &block)
start = Time.now
block.call
@connection.timing(metric, ((Time.n... | {
"content_hash": "06c21b78efde02b7cffeccaf64450b57",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 67,
"avg_line_length": 17.857142857142858,
"alnum_prop": 0.592,
"repo_name": "willbarrett/sneakers07",
"id": "a1e2603baac28460a1194f6e27798faa66aafbc9",
"size": "375",
"b... |
package org.kuali.rice.krad.uif.util;
import org.junit.Test;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
/**
* ScriptUtilsTest tests {@link ScriptUtils}
*
* @author Kuali Ric... | {
"content_hash": "053bc99fd68a7ac3794fc1ceff0c1515",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 134,
"avg_line_length": 36.80681818181818,
"alnum_prop": 0.63908613769682,
"repo_name": "ua-eas/ksd-kc5.2.1-rice2.3.6-ua",
"id": "224df436238b428ad5d560204be6b6e8fb7d5af1",
... |
package org.uberfire.ext.plugin.client.perspective.editor.layout.editor;
import java.util.ArrayList;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.uberfire.client.mvp.ActivityBeansInfo;
import org.uberfire.ext.plugin.event.NewPluginRegistered;
import org.uberfire.ext.plugin.event... | {
"content_hash": "62781ba6f722b283896f6a8cb60d49ae",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 122,
"avg_line_length": 39.33766233766234,
"alnum_prop": 0.7553648068669528,
"repo_name": "psiroky/uberfire",
"id": "45173a6205a54e675818272d277101ebf185c4b1",
"size": "365... |
<?php
namespace Newsletter\Test\TestCase\Controller;
use Cake\TestSuite\IntegrationTestCase;
use Newsletter\Controller\UsersController;
/**
* Newsletter\Controller\UsersController Test Case
*/
class UsersControllerTest extends IntegrationTestCase
{
/**
* Fixtures
*
* @var array
*/
publi... | {
"content_hash": "9f6bb50cabb4a76bfd8977dcc78805d9",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 58,
"avg_line_length": 17.366197183098592,
"alnum_prop": 0.559610705596107,
"repo_name": "steinkel/cakefest2016",
"id": "e3bf7491874719a26c57e718537642ef4ee2e936",
"size": ... |
namespace NLog.UnitTests.LayoutRenderers
{
using NLog.Layouts;
using NLog.LayoutRenderers.Wrappers;
using Xunit;
public class Rot13Tests : NLogTestBase
{
[Fact]
public void Test1()
{
Assert.Equal("NOPQRSTUVWXYZABCDEFGHIJKLM",
Rot13LayoutRender... | {
"content_hash": "1cfd62eaabb1093bc9506a88c8ebdb3f",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 152,
"avg_line_length": 37.128571428571426,
"alnum_prop": 0.5402077722200846,
"repo_name": "mikkelxn/NLog",
"id": "a5570c55e89bd9c5964b00eedf879365bc3c1fa0",
"size": "4230"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.