text stringlengths 2 1.04M | meta dict |
|---|---|
require_relative '../../spec_helper'
require_relative '../enumerable/shared/enumeratorized'
describe "ENV.reject!" do
it "rejects entries based on key" do
ENV["foo"] = "bar"
ENV.reject! { |k, v| k == "foo" }
ENV["foo"].should == nil
end
it "rejects entries based on value" do
ENV["foo"] = "bar"
... | {
"content_hash": "dec799af415af99199eea2b52ec26cab",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 67,
"avg_line_length": 23.818181818181817,
"alnum_prop": 0.6035986913849509,
"repo_name": "ruby/rubyspec",
"id": "409efa138507a3c904f83ffb76cc14767a736aaf",
"size": "1834",... |
<?php
namespace Electro\Interop;
/**
* Defines structure information about an associative array containing information for a single migration.
*/
class MigrationStruct
{
/** The migration has already run. */
const DONE = 'done';
/** The migration no longer exists on the project. */
const OBSOLETE = 'obsolete... | {
"content_hash": "923f2b18b3f4eac4f30ce48a1d837881",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 108,
"avg_line_length": 30.196969696969695,
"alnum_prop": 0.6266934269944807,
"repo_name": "selenia-framework/interop",
"id": "9c8cfcbfe603b79dafe54a4b2df0b0fa72db8c94",
"s... |
<h4 style="font-size:20px">
Educational Background 
<button class="btn btn-default" id="education_toggle_show" style="display:none">Show</button>
<button class="btn btn-default" id="education_toggle_hide">Hide</button>
</h4>
<div id="education">
<?php if ($education): ?>
<table class="table table-striped tabl... | {
"content_hash": "bca64c1ceb26f23e6926cda0840af917",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 102,
"avg_line_length": 23.82051282051282,
"alnum_prop": 0.573735199138859,
"repo_name": "jmgalino/up-oams",
"id": "2d9986595e653531aae444a57f96b8077b38f3dc",
"size": "929"... |
namespace DpiConverter.Helpers
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Xml.Linq;
using Data;
internal class TrimbleJobXmlHelper
{
public static ICollection<TargetRecord> FindTargetRecords(XDocument document)
{
... | {
"content_hash": "59064dc2d86c529c878ecc6840498de8",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 130,
"avg_line_length": 40.45454545454545,
"alnum_prop": 0.5127340823970038,
"repo_name": "Nanich87/DPI-Converter",
"id": "d27d7bddbc791147b20d2fd0a217d034c8e4c911",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromXDelta="100%p"
android:toXDelta="0"
android:duration="@android:integer/config_shortAnimTime"/>
</set>
| {
"content_hash": "cae66315c069df0e3e96f61ff4818720",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 73,
"avg_line_length": 37.714285714285715,
"alnum_prop": 0.6439393939393939,
"repo_name": "elias-arnold/scampiREST",
"id": "65fb4b505ee4845d7080d185907af8f6d3b286a5",
"size"... |
void foo() {
}
int main(int argc, char **argv) {
int i;
#pragma omp target teams distribute simd nowait( // expected-warning {{extra tokens at the end of '#pragma omp target teams distribute simd' are ignored}}
for (i = 0; i < argc; ++i) foo();
#pragma omp target teams distribute simd nowait (argc)) // expected-wa... | {
"content_hash": "c4c0a5f856b2b470ed3299c458820c32",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 174,
"avg_line_length": 48.25,
"alnum_prop": 0.6748704663212435,
"repo_name": "youtube/cobalt",
"id": "25daa81eb744788e94dddc84195fd0c0c824cabb",
"size": "885",
"binary":... |
package com.carloan.service;
import com.carloan.service.model_service.ModelServiceFactory;
import com.carloan.service.util_service.UtilServiceFactory;
public interface ServiceFactory {
public static ModelServiceFactory getModelFactory(){
return new ModelServiceFactory();
}
public static UtilServic... | {
"content_hash": "986233a4169ae82beeb42fcca786bca0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 61,
"avg_line_length": 30.46153846153846,
"alnum_prop": 0.7676767676767676,
"repo_name": "Spronghi/software-engineering",
"id": "38af94eef12938eaed4c37e14fd952c167f1b38c",
... |
.. _analysis:
Analysis routines
=================
In addition to the main pyro program, there are many analysis tools
that we describe here. Note: some problems write a report at the end
of the simulation specifying the analysis routines that can be used
with their data.
* ``compare.py``: this takes two simulation o... | {
"content_hash": "3930a6dbc61a8d1e1dad9f8580158660",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 72,
"avg_line_length": 37.10958904109589,
"alnum_prop": 0.7139165743816906,
"repo_name": "zingale/pyro2",
"id": "3274dfe93edae4f485fd5273c0ed18b24cfc67f6",
"size": "2709",
... |
/* utptest.c */
/*-
* Copyright (c) 2013
* Nexa Center for Internet & Society, Politecnico di Torino (DAUIN)
* and Simone Basso <bassosimone@gmail.com>.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software... | {
"content_hash": "8d38048e451b3b8fa877e61d81dcd24c",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 78,
"avg_line_length": 29.810198300283286,
"alnum_prop": 0.5310272735911812,
"repo_name": "bassosimone/utpintro",
"id": "67522c991a1f10aba9ff201d35d5e15ed0f2077c",
"size":... |
<!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 Wed Nov 06 17:51:16 PST 2013 -->
<TITLE>
DataFuException (DataFu 1.1.0)
</TITLE>
<META NAME="date" CONTENT="2013-11-06">
<LINK REL ="stylesh... | {
"content_hash": "7e3fc31bb0324b98f9c312c102483eb1",
"timestamp": "",
"source": "github",
"line_count": 402,
"max_line_length": 205,
"avg_line_length": 37.86069651741293,
"alnum_prop": 0.640473061760841,
"repo_name": "shaohua-zhang/incubator-datafu",
"id": "0e32b0f16e68ced970afeec1fedac93ed9f4bc32",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>abp: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "b2f65a6a30763d814235d9980682409d",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 302,
"avg_line_length": 42.123456790123456,
"alnum_prop": 0.5402989449003517,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "3b7795889cbb4cc5c2f63032993bce4587750366",... |
USING_NS_CC;
using namespace ui;
WidgetTextfieldLayer::WidgetTextfieldLayer()
{
}
WidgetTextfieldLayer::~WidgetTextfieldLayer()
{
}
bool WidgetTextfieldLayer::init()
{
Director* dire = Director::getInstance();
Rect visibleRect = dire->getOpenGLView()->getVisibleRect();
Size visibleSize = dire->getVisibleSize();
... | {
"content_hash": "8de3af5f23cc28838f56a223087c9b55",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 134,
"avg_line_length": 31.163265306122447,
"alnum_prop": 0.7229862475442044,
"repo_name": "zoozooll/cocos2dx_exercise",
"id": "f203bd428d861d926de44802eb006f6e463ca0fb",
"... |
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v10/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
fo... | {
"content_hash": "8f89cfd355e80d9f14e0ddc57022f724",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 180,
"avg_line_length": 42.125,
"alnum_prop": 0.7230464886251237,
"repo_name": "tommyeap/ci_template",
"id": "9b7cc19a0ae5f6f6a451219ac983eae86a1234a3",
"size": "1011",
"... |
import {Component, EventEmitter} from 'angular2/core';
import {PlaylistComponent} from 'app/component/playlist.component';
import {ExplorerComponent} from 'app/component/explorer.component';
@Component({
selector: '[audio-tab]',
template: `
<section explorer
[class.active]="isExplorerActive"
[fileType]="'... | {
"content_hash": "5c35523dd58fded80ce00cf1937a9ff3",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 123,
"avg_line_length": 30.794871794871796,
"alnum_prop": 0.7502081598667777,
"repo_name": "alex-dwt/CarMultimediaSystem",
"id": "7920955fa447a4bc18399925aa094f2c985a2c34",
... |
[ ](https://codeship.com/projects/116533) [](https://scrutinizer-ci.com/g/partner-... | {
"content_hash": "5276babcdda4fd66404577cd002000db",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 504,
"avg_line_length": 26.473684210526315,
"alnum_prop": 0.7137176938369781,
"repo_name": "partner-it/b2-php",
"id": "540cca176924d1bbd063857976382a7dc125eab9",
"size": "1... |
#region "Copyright"
/*
FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER
*/
#endregion
#region "References"
using System;
using System.Collections.Generic;
using System.Web;
#endregion
namespace SageFrame.Application
{
/// <summary>
/// Options for application releas... | {
"content_hash": "0b8e9f45d4cc26fca7e63dd59695be2f",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 91,
"avg_line_length": 21.73076923076923,
"alnum_prop": 0.5761061946902655,
"repo_name": "SageFrame/SageFrame",
"id": "f03659cda92e7c13feb2a9c1121844e6c66035ae",
"size": "1... |
import { Disposable } from 'vs/base/common/lifecycle';
import { ExtensionManagementService } from 'vs/platform/extensionManagement/node/extensionManagementService';
import { IExtensionManagementService } from 'vs/platform/extensionManagement/common/extensionManagement';
export class DeprecatedExtensionsCleaner exten... | {
"content_hash": "180abd610b6b4956c3671283a1504e2e",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 109,
"avg_line_length": 32.27272727272727,
"alnum_prop": 0.8183098591549296,
"repo_name": "Krzysztof-Cieslak/vscode",
"id": "0ffa0870e955f6982de82052c146c0377ef008bf",
"siz... |
/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.office;
import com.wilutions.com.*;
/**
* MsoDebugOptions.
*
*/
@CoInterface(guid="{000C035A-0000-0000-C000-000000000046}")
public interface MsoDebugOptions extends IDispatch {
static boolean __typelib__loaded = __TypeLib.load();
... | {
"content_hash": "4f1d8a04091f5e561897f5725140cac8",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 104,
"avg_line_length": 55.30434782608695,
"alnum_prop": 0.7735849056603774,
"repo_name": "wolfgangimig/joa",
"id": "968a303c063d2a147d2c110090654b98a0179c26",
"size": "127... |
WPDMZ
=====
Tracking the human:edit funnel.
| {
"content_hash": "3f031492ab26e4ca2d8521b002b20229",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 31,
"avg_line_length": 11.25,
"alnum_prop": 0.6888888888888889,
"repo_name": "yuvipanda/edit-stats",
"id": "53b6ea9ac164802a7d766e82d5f3710ffc0eaa26",
"size": "45",
"binar... |
SELECT e.FirstName + ' ' + e.LastName AS Employee,
m.FirstName + ' ' + m.LastName as Manager,
AddressText
FROM [TelerikAcademy].[dbo].[Employees] e
INNER JOIN [TelerikAcademy].[dbo].[Employees] m
ON m.EmployeeID = e.ManagerID
INNER JOIN [TelerikAcademy].[dbo].[Addresses] a
ON e.AddressID = a.AddressID | {
"content_hash": "d1e8780c6961c354de42cca81fc30053",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 51,
"avg_line_length": 39.25,
"alnum_prop": 0.7070063694267515,
"repo_name": "svetlai/TelerikAcademy",
"id": "7b8d481bd27383f1a764895fea2f2cb4b2ee539f",
"size": "470",
"bi... |
__all__ = ['rightclickmenu.RightClickMenu']
| {
"content_hash": "4d2cedac443ca41cf9ab5d5d370e7d00",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 43,
"avg_line_length": 44,
"alnum_prop": 0.7045454545454546,
"repo_name": "Errantgod/azaharTEA",
"id": "c68915543d403e05b5ebd5f855336910b2ff5224",
"size": "44",
"binary": ... |
package com.haulmont.cuba.web.widgets.client.grid;
public interface HasClickSettings {
boolean isClickThroughEnabled();
void setClickThroughEnabled(boolean enabled);
}
| {
"content_hash": "8a6dce4b0c0b67b51b2e62ff31690d3d",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 50,
"avg_line_length": 18.1,
"alnum_prop": 0.7790055248618785,
"repo_name": "cuba-platform/cuba",
"id": "d7eabb78258910d92f3a204b4bb1b13535666fca",
"size": "782",
"binary... |
'''!
@brief frontend forms
@date Created on Aug , 2016
@author [Ryu-CZ](https://github.com/Ryu-CZ)
'''
import flask
import markdown
import datetime as dt
from flask_mongoengine import Document
from mongoengine import fields, NULLIFY
from werkzeug import generate_password_hash
class User(Document):
nickname = fiel... | {
"content_hash": "a191918d8bba85993ad9e82dd5aa1fc8",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 93,
"avg_line_length": 36.496062992125985,
"alnum_prop": 0.6405609492988134,
"repo_name": "Ryu-CZ/flask-dnd",
"id": "0e9d30ac06f8d31a5ab8dcbdb991145fad809315",
"size": "46... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Spot;
/**
* SpotSearch represents the model behind the search form about `app\models\Spot`.
*/
class SpotSearch extends Spot
{
/**
* @inheritdoc
*/
public function rules()
{
return... | {
"content_hash": "7250400907b13f7f0f3d1b83defc6d02",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 106,
"avg_line_length": 21.71641791044776,
"alnum_prop": 0.5374570446735395,
"repo_name": "boylee1111/Reservation",
"id": "755ce09aa44759bd5fbca33c1cb20828fdf49ebd",
"size"... |
import { IEditorGroup } from 'vs/workbench/services/editor/common/editorGroupsService';
import { createDecorator, ServicesAccessor } from 'vs/platform/instantiation/common/instantiation';
import { NotebookEditorInput } from 'vs/workbench/contrib/notebook/common/notebookEditorInput';
import { INotebookEditor, INoteboo... | {
"content_hash": "538794d978ef6af0c9e4dde1cf737ed3",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 197,
"avg_line_length": 47.44444444444444,
"alnum_prop": 0.8212334113973458,
"repo_name": "microsoft/vscode",
"id": "ac80184de3e8b0ed80b11c3b457883b6a35ade7b",
"size": "163... |
using System.Diagnostics;
using System.Runtime.Serialization;
namespace BinInfo.Models
{
/// <summary>
/// Brief information about the bank who issued the card
/// </summary>
[DataContract]
[DebuggerDisplay("Name: {Name}, City: {City}")]
public class BankInformation
{
[DataMember(N... | {
"content_hash": "2a27157d547aa9626a94cb355820e941",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 60,
"avg_line_length": 24.6,
"alnum_prop": 0.5886178861788618,
"repo_name": "gustavofrizzo/BinInfo",
"id": "451449a3c4c05711a13a560e5858ef9d083d0b23",
"size": "617",
"bin... |
* [Lawyers certification webinar in Russian. March, 2020](/#!/webinars/001) | {
"content_hash": "ca4089b4efff2755acef1d4bf6c3d026",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 75,
"avg_line_length": 75,
"alnum_prop": 0.7466666666666667,
"repo_name": "Cryptonomica/cryptonomica",
"id": "ed8a105e9ee7c4f6f62b213b3fcab39b5b71d5ff",
"size": "106",
"bi... |
<?php $this->pageTitle="修改密码";?>
<div class="subheader">
<h1>修改密码</h1>
</div>
<div class="form">
<?php echo CHtml::beginForm(); ?>
<?php echo CHtml::errorSummary($form); ?>
<div class="row">
<?php echo CHtml::activeLabelEx($form,'password'); ?>
<?php echo CHtml::activePasswordField($form,'password')... | {
"content_hash": "7c38914631cdee8b8c178b62d523b0a4",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 66,
"avg_line_length": 22.9,
"alnum_prop": 0.5924308588064047,
"repo_name": "snowpine/qanswer",
"id": "3ed0bd381fa3c677c745e97d925c610a115cd837",
"size": "721",
"binary":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <!-- Use Chrome Frame in IE -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta name="description"... | {
"content_hash": "3d4dc901833bb7108673770f2c178766",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 124,
"avg_line_length": 33.53846153846154,
"alnum_prop": 0.5874836173001311,
"repo_name": "linkitapps/linkit-cesium-app",
"id": "3403d1ffddf435f1854d45fd1b14a36b0e35200b",
... |
package net.jafama;
/**
* Copy-paste from FastMathTest, replacing FastMath with StrictFastMath
* and updating copySign tests.
*/
public class StrictFastMathTest extends AbstractFastMathTezt {
//--------------------------------------------------------------------------
// PUBLIC METHODS
//-------------... | {
"content_hash": "8a1630a5d2138fdf138e1f0c3aae1b44",
"timestamp": "",
"source": "github",
"line_count": 2620,
"max_line_length": 142,
"avg_line_length": 37.92404580152672,
"alnum_prop": 0.5176678978673726,
"repo_name": "Trugath/Jafama",
"id": "9897184379a9c8b965521cbcd22a14f77ad819c6",
"size": "999... |
package org.gradle.test.performance.mediummonolithicjavaproject.p104;
public class Production2092 {
private Production2089 property0;
public Production2089 getProperty0() {
return property0;
}
public void setProperty0(Production2089 value) {
property0 = value;
}
priv... | {
"content_hash": "1d450c509eb7a578ae7d043fce4c8020",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 69,
"avg_line_length": 18.695238095238096,
"alnum_prop": 0.6311767702496179,
"repo_name": "oehme/analysing-gradle-performance",
"id": "7277688b46f56fa07a03436ca28bb5548766fb... |
"""Tests for clif.testing.python.template_alias."""
from absl.testing import absltest
from clif.testing.python import template_alias
class TemplateAliasTest(absltest.TestCase):
def testTemplateAlias(self):
# Calling the following functions should not blow up.
template_alias.func_default_vector_input([])
... | {
"content_hash": "56b82c4ed29d990b5c07fe80edce5573",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 61,
"avg_line_length": 30.041666666666668,
"alnum_prop": 0.7212205270457698,
"repo_name": "google/clif",
"id": "323f17fa06ba6b8d5d7977a5c3ce43fc61e80f1f",
"size": "1298",
... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Javadoc API documentation for Fresco 1.1.0." />
<link rel="shortcut icon" type="image/x-icon" href="../../../../../favicon.ico" />
<tit... | {
"content_hash": "5d9567b10027b1a6e5b1b86de7b107de",
"timestamp": "",
"source": "github",
"line_count": 658,
"max_line_length": 296,
"avg_line_length": 34.650455927051674,
"alnum_prop": 0.5901315789473685,
"repo_name": "desmond1121/fresco",
"id": "b83acc736e58165a4e580ae86aa2404571bd61e1",
"size": ... |
package com.fpt.mic.mobile.checker.app;
import android.app.Application;
import android.content.Context;
/**
* Created by trungdq on 06/08/2014.
*/
public class MainApplication extends Application {
public static Context mContext;
/**
* Static class to get app context everywhere.
* Use it careful... | {
"content_hash": "2b3bfb9d2479a6b7cde31be1baff3eea",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 54,
"avg_line_length": 19.657894736842106,
"alnum_prop": 0.6345381526104418,
"repo_name": "trungdq88/insurance-card",
"id": "e972a72ba9c13f2dfba0c975d9a3d18e9b95bd19",
"siz... |
Rails.application.routes.draw do
mount Sidekiq::Web => '/sidekiq'
get 'auth/:provider/callback', to: 'sessions#create', as: :oauth_callback
get 'auth/failure', to: redirect('/')
get :sign_in, to: "sessions#new", as: :sign_in
get :sign_out, to: "sessions#destroy", as: :sign_out
resources :tags
resources... | {
"content_hash": "258463d4057ea762d949e272a834ed87",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 79,
"avg_line_length": 26.82,
"alnum_prop": 0.6621923937360179,
"repo_name": "orientation/orientation",
"id": "001399dbea7fcb602f03e8e8176c795dfd4e86f4",
"size": "1341",
... |
require_relative 'ar_virtual'
module ArRegion
extend ActiveSupport::Concern
DEFAULT_RAILS_SEQUENCE_FACTOR = 1_000_000_000_000
COMPRESSED_ID_SEPARATOR = 'r'.freeze
CID_OR_ID_MATCHER = "\\d+?(#{COMPRESSED_ID_SEPARATOR}\\d+)?".freeze
RE_COMPRESSED_ID = /^(\d+)#{COMPRESSED_ID_SEPARATOR}(\d+)$/
included do
... | {
"content_hash": "d59e9f50754a9cd9fe99bb3920d63da6",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 144,
"avg_line_length": 26.229508196721312,
"alnum_prop": 0.643125,
"repo_name": "fbladilo/manageiq",
"id": "c26f9e73052e03911c93be513c74e3f36c3bdf06",
"size": "4800",
"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>reflexive-first-order: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boo... | {
"content_hash": "0cc8d1dc618a4de827ce955ffa1101d9",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 159,
"avg_line_length": 41.31791907514451,
"alnum_prop": 0.5537213206491326,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "8fbf3b79502a7e7489b623d09ae907f2e00ceaae",
... |
package com.google.cloud.compute.v1;
import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated("by GAPIC")
@BetaApi
public final class... | {
"content_hash": "c70493b5e93f3c40b119f80062d54982",
"timestamp": "",
"source": "github",
"line_count": 352,
"max_line_length": 100,
"avg_line_length": 27.832386363636363,
"alnum_prop": 0.6511176890884964,
"repo_name": "vam-google/google-cloud-java",
"id": "68fff21b7c56b7dc58cf9ed527a4ed8b315654f5",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "86094fb732e6970e14804b15208669cf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "e9a2a2677fbb6f89007a0428b546ef389d495404",
"size": "200... |
require "yaml"
require "rdf"
require "configatron/core"
require "parmenides/client"
require "parmenides/environment"
require "parmenides/cachable"
require "parmenides/entity"
require "parmenides/ontology/klass"
require "parmenides/ontology/property"
require "parmenides/ontology"
require "parmenides/resource"
requir... | {
"content_hash": "3b2ce2deda0014e248eb1d13395bd4cd",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 54,
"avg_line_length": 29.88888888888889,
"alnum_prop": 0.8355018587360595,
"repo_name": "theollyr/parmenides",
"id": "dc59a0c68caf8fc9dee1f6f4fb6ad57a74824876",
"size": "1... |
"""
input data
save yaml file
"""
import yaml
import codecs
import os
import sys
class cover :
def __init__(self,width,height,font,fontsize,color,nOfCover,makingway,title):
self.font = font
self.fontsize = fontsize
self.width = width
self.height = height
self.color = colo... | {
"content_hash": "05d619d26cb3651a923e6bf05fcf7b15",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 206,
"avg_line_length": 23.50877192982456,
"alnum_prop": 0.6425373134328358,
"repo_name": "BD823/pcover",
"id": "fd055c716b5e195cfbb3b3c76ce50d71429c022d",
"size": "1340",
... |
package org.springframework.security.test.web.servlet.showcase.secured;
import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*;
import static org.springframework.security.test.web.servlet.response.SecurityMockMvcResultMatchers.*;
import static org.springframework.te... | {
"content_hash": "f1f4d835538c1df29a0e9d60b518bf4a",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 107,
"avg_line_length": 39.53543307086614,
"alnum_prop": 0.7124078868751245,
"repo_name": "drdamour/spring-security",
"id": "82af6745f5a4b9cb67eef2ea5c5b058a382152dc",
"si... |
package org.bosphorus.core.expression.scalar.factory.date;
import java.util.Date;
import org.bosphorus.core.expression.scalar.executor.IScalarExecutor1;
import org.bosphorus.core.expression.scalar.executor.date.TruncateToDayExecutor;
import org.bosphorus.core.expression.scalar.factory.IScalarExecutorFactory1;
pub... | {
"content_hash": "91ead19178f9016dcd9b3f38d3cc39ab",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 90,
"avg_line_length": 28.6,
"alnum_prop": 0.8269230769230769,
"repo_name": "unluonur/bosphorus",
"id": "2f2d7ec82d6a01f6f1294f985923b859d151cf60",
"size": "1252",
"binar... |
module Hipe::SocialSync::Plugins
class Items
include Hipe::Cli
include Hipe::SocialSync::Model
include Hipe::SocialSync::ControllerCommon
include Hipe::SocialSync::ViewCommon
cli.out.klass = Hipe::SocialSync::GoldenHammer
cli.description = "blog entries"
cli.does 'help','overview of item c... | {
"content_hash": "d5d47852bdc1acc0c86c32b24bd0c75d",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 123,
"avg_line_length": 38.03560830860534,
"alnum_prop": 0.59026369168357,
"repo_name": "hipe/hipe-socialsync",
"id": "68d6c2a936716827cef4cc4f1ec9680b715e2575",
"size": "... |
from numba import types
from numba.core.types import IterableType, SimpleIterableType, SimpleIteratorType
from numba.extending import (models, register_model, make_attribute_wrapper, )
from collections.abc import MutableMapping
class ConcDictIteratorType(SimpleIteratorType):
def __init__(self, iterable... | {
"content_hash": "17515942b60000f619428a5111172328",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 98,
"avg_line_length": 34.68217054263566,
"alnum_prop": 0.6399195350916406,
"repo_name": "IntelLabs/hpat",
"id": "2c598ea6fbe0750bb4e4599dc29b4b8d7b7e5b4e",
"size": "6011"... |
<?php
namespace Magento\Framework\Module;
class ResourceResolverTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\Framework\Module\ResourceResolver
*/
protected $_model;
/**
* @var \PHPUnit_Framework_MockObject_MockObject
*/
protected $_moduleReaderMock;
protect... | {
"content_hash": "95184ac16f4a0067f64b6dd8fa09342c",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 108,
"avg_line_length": 28.666666666666668,
"alnum_prop": 0.5606312292358804,
"repo_name": "webadvancedservicescom/magento",
"id": "dad630f3dbcafe14003196724646f65c554adbf8",... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3ec951ef44bd4840339004e60197f702",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "1d762d9e216f9d2b0139abbb8dfd1d0e17a42cf8",
"size": "184... |
require 'test_helper'
class IfElseTagTest < Minitest::Test
include Liquid
def test_if
assert_template_result(' ',' {% if false %} this text should not go into the output {% endif %} ')
assert_template_result(' this text should go into the output ',
' {% if true %} this text s... | {
"content_hash": "8801d6a939315440d77ec5612c1ed5c5",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 128,
"avg_line_length": 51.662721893491124,
"alnum_prop": 0.5323559729698775,
"repo_name": "sideci-sample/sideci-sample-liquid",
"id": "3e1797e2a1dacb1d750885bc1f85f2c1fbcc7... |
<!DOCTYPE html>
<meta charset=utf-8>
<title>Redirecting...</title>
<link rel=canonical href="../凋/index.html">
<meta http-equiv=refresh content="0; url='../凋/index.html'">
<h1>Redirecting...</h1>
<a href="../凋/index.html">Click here if you are not redirected.</a>
<script>location='../凋/index.html'</script>
| {
"content_hash": "8c43bd41d046eba7ff30bb6f50a792c9",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 67,
"avg_line_length": 38.5,
"alnum_prop": 0.6785714285714286,
"repo_name": "hochanh/hochanh.github.io",
"id": "9a1826060a16cf613c4efeb19f9d53d7e47332c5",
"size": "316",
"... |
<script type="text/javascript">
RED.nodes.registerType('mix4',{
category: 'pyo generators',
color: '#a6bbcf',
defaults: {
arg_input1: {value:""},
arg_input2:{value:""},
arg_input3:{value:""},
arg_input4:{value:""},
arg_mul:{value:1},
... | {
"content_hash": "8aab173ed10a207e6fb20281ba51103c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 65,
"avg_line_length": 29.4,
"alnum_prop": 0.5296404275996113,
"repo_name": "sinneb/pyo-patcher",
"id": "96eaf0876c62c0b36e3391de9ca84c688fec2e25",
"size": "1029",
"binar... |
using UnityEngine;
using System.Collections;
/// MouseLook rotates the transform based on the mouse delta.
/// Minimum and Maximum values can be used to constrain the possible rotation
/// To make an FPS style character:
/// - Create a capsule.
/// - Add the MouseLook script to the capsule.
/// -> Set the ... | {
"content_hash": "850cd1d11a668c074446735f1f020051",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 125,
"avg_line_length": 33.82539682539682,
"alnum_prop": 0.6921633036133271,
"repo_name": "leo92613/Outerspacecomposer",
"id": "4d090f902674620e7eed97a98457dd4c2b56a1d7",
"... |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2022] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | {
"content_hash": "2fd18a7a2d1353bd3e2d37418349ae14",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 100,
"avg_line_length": 31.02654867256637,
"alnum_prop": 0.6195094124358242,
"repo_name": "Ensembl/ensembl-production",
"id": "0873bc372b0f831a1c6f625b4b6c98e51b3bd13e",
"... |
A discord bot with a queueing system, plus a few other goodies.
This bot was designed to meet the requirements and desires of the Affinity
Coaching Discord group.
[](https://travis-ci.org/ewollesen/zenbot)
## Installation
go get github.com... | {
"content_hash": "c56fff7607f16e30a8558eed05034481",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 477,
"avg_line_length": 39.483050847457626,
"alnum_prop": 0.7231165486155827,
"repo_name": "ewollesen/zenbot",
"id": "b77e832eb6ac77029f61e07dff848534cc65d87e",
"size": "4... |
#include "BrokerInfo.h"
#include "qpid/amqp_0_10/Codecs.h"
#include "qpid/Exception.h"
#include "qpid/log/Statement.h"
#include "qpid/framing/FieldTable.h"
#include "qpid/framing/FieldValue.h"
#include <iostream>
#include <iterator>
#include <sstream>
namespace qpid {
namespace ha {
namespace {
const std::string SY... | {
"content_hash": "58b3a79304b04e2c8e04289502a82cb3",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 81,
"avg_line_length": 25.93069306930693,
"alnum_prop": 0.639557082856052,
"repo_name": "gregerts/debian-qpid-cpp",
"id": "a13451e1792e91ba6c6fac9a6b89c8f9ad334772",
"size... |
title: Memberdatabase
date: 2015-09-01
path: /projects/memberdatabase
tags:
- Web
- App
- Angular
tasks:
- Project Management
- Team Work
- Communication
- Design
- Development
- Usability
technologies:
- JavaScript
- Angular
- HTML
- Sass
- MySQL
pattern: shippo
background: rgb(147, 40, 145... | {
"content_hash": "f41597c03bb409902ccc24842f5b89ab",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 413,
"avg_line_length": 65.84444444444445,
"alnum_prop": 0.7840026999662504,
"repo_name": "RadLikeWhoa/radlikewhoa.github.io",
"id": "db9c9e866bbcc1c06303663e75616b0df293b012... |
(function(){
'use strict';
class NavbarAdminController {
constructor(authService) {
this.authService = authService;
}
}
angular.module('administracionRemotaApp')
.component('navbaradmin',{
templateUrl:'components/navbaradmin/navbaradmin.html',
controller: NavbarAdminController,
cont... | {
"content_hash": "1db0eacfd593ea6cad2d44825ff3bbda",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 58,
"avg_line_length": 21.6875,
"alnum_prop": 0.6887608069164265,
"repo_name": "jdmartinezrios/Admin_Remote_Frontend",
"id": "d0daa3c763b6aac1a5cc366bfd44256a2276dc76",
"si... |
class RemoveUserNotNullonTickets < ActiveRecord::Migration
def change
change_column :tickets, :user_id, :integer, :null => true
end
end
| {
"content_hash": "ed0b6941160ff80b62c9cd21447e8856",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 58,
"avg_line_length": 28.2,
"alnum_prop": 0.7588652482269503,
"repo_name": "pccsei/adit",
"id": "eb9ab5fffcb4ddab604e1d75626e290534aa8a65",
"size": "141",
"binary": false... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_PT" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Fishcoin</source>
<translation>Sobre Fishcoin</translation>
<... | {
"content_hash": "94f8216f0cae59617e3542008492f251",
"timestamp": "",
"source": "github",
"line_count": 2938,
"max_line_length": 442,
"avg_line_length": 40.16473791695031,
"alnum_prop": 0.6340547778041422,
"repo_name": "fishcoin/fishcoin",
"id": "1d82aa3329734214c1fb6f8053187bc820232fb9",
"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": "5dbb570895f088d37d63eabfb15d9803",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 959,
"avg_line_length": 71.77777777777777,
"alnum_prop": 0.6596808763991426,
"repo_name": "calebwherry/Cpp-Libraries",
"id": "1f0a2bafdb20dc381e3d74f49f21364d2d7adc00",
"s... |
import {Injectable, EventEmitter} from 'angular2/angular2'
import {Dispatcher as ChatAppDispatcher} from '../dispatcher/ChatAppDispatcher'
import {ChatConstants} from '../constants/ChatConstants'
import {ChatMessageUtils} from '../utils/ChatMessageUtils'
import {ThreadStore} from './ThreadStore'
import {MessageStore} f... | {
"content_hash": "a7c5594ffba641b9982d2e7c1067e5c5",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 130,
"avg_line_length": 22.974683544303797,
"alnum_prop": 0.7002754820936639,
"repo_name": "vectorhacker/angular-flux",
"id": "7d4f7eb4230778a901e04b6ac76f2c0db67ba73d",
"s... |
/**\file
* The <tt>libdaala</tt> C decoding API.*/
#if !defined(_daala_daaladec_H)
# define _daala_daaladec_H (1)
# include "codec.h"
# if defined(__cplusplus)
extern "C" {
# endif
# if OD_GNUC_PREREQ(4, 0, 0)
# pragma GCC visibility push(default)
# endif
#define OD_DECCTL_SET_BSIZE_BUFFER (7001)
#define OD_DECCT... | {
"content_hash": "4ad0ca13c2f26372d58bd72fc28d9fa4",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 79,
"avg_line_length": 39.48148148148148,
"alnum_prop": 0.6826588046100242,
"repo_name": "kodabb/daala",
"id": "cfa7ebe06cf355e1697937a85465ba4a962f1b4c",
"size": "8801",
... |
package com.binacube.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.binacube.GdxGame;
public class DesktopLauncher {
public static void main (String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicati... | {
"content_hash": "bbfb99de2ac1ad0446d53dce1012b57d",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 77,
"avg_line_length": 36.357142857142854,
"alnum_prop": 0.7779960707269156,
"repo_name": "iwxfer/mononino",
"id": "7f0c015204bf65cd96c9b22dec62304c983f4b1b",
"size": "509"... |
/**
* On-Deploy Scripts Framework.
*/
@org.osgi.annotation.versioning.Version("1.1.0")
package com.adobe.acs.commons.ondeploy; | {
"content_hash": "4eb4d5c528cc03adb8ebc55528f9f1d5",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 48,
"avg_line_length": 21.5,
"alnum_prop": 0.7286821705426356,
"repo_name": "SachinMali/acs-aem-commons",
"id": "8f630b6254c59df977779d32f97198d3e002470e",
"size": "773",
... |
from django.db import models
from genericm2m.models import RelatedObjectsDescriptor
from six import python_2_unicode_compatible
@python_2_unicode_compatible
class TModel(models.Model):
name = models.CharField(max_length=200)
test = RelatedObjectsDescriptor()
for_inline = models.ForeignKey(
'se... | {
"content_hash": "8714dbc14643d734e6bb266faf6aa8b1",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 54,
"avg_line_length": 21.08695652173913,
"alnum_prop": 0.6721649484536083,
"repo_name": "yourlabs/django-autocomplete-light",
"id": "a0542873a0610651d52b079d506b5e55631a4bc7... |
require 'json'
module Slurper
class Story
attr_accessor :attributes
def initialize(attrs={})
self.attributes = (attrs || {}).symbolize_keys
if attributes[:owned_by].present?
puts "DEPRECATION WARNING: `owned_by` is no longer a supported attribute. Please change to `requested_by`."
... | {
"content_hash": "a697a65a2ed851d423807795a5b99978",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 115,
"avg_line_length": 25.151515151515152,
"alnum_prop": 0.613855421686747,
"repo_name": "hashrocket/slurper",
"id": "b6ee8cffa59fcc24db356c2a9c8c769eae420c37",
"size": "1... |
/**
*** This is a simple implementation of a Mersenne Twister pseudo-random number generator.
**/
#pragma once
/** STL **/
#include <cstdint>
class MersenneTwister
{
public:
MersenneTwister();
MersenneTwister(uint32_t);
uint32_t operator()() {return get();}
uint32_t get();
private:
uint3... | {
"content_hash": "0ec1b858b45ba40e48dcd8ee4efc5378",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 89,
"avg_line_length": 16.782608695652176,
"alnum_prop": 0.6373056994818653,
"repo_name": "AdamKuziemski/toys-n-tools",
"id": "c16b6479e7e853d282d86570ecbdccf5926fd512",
"s... |
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | {
"content_hash": "19b593cc7baf699152d9435779d564c0",
"timestamp": "",
"source": "github",
"line_count": 944,
"max_line_length": 97,
"avg_line_length": 37.29449152542373,
"alnum_prop": 0.46642617735613245,
"repo_name": "j16r/rust",
"id": "05fe0bed3b6967e7d7a1147a8d8c87dd36f6ae2c",
"size": "35206",
... |
// Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | {
"content_hash": "06bc6293f14affc6c6867bfceefc87f6",
"timestamp": "",
"source": "github",
"line_count": 4188,
"max_line_length": 141,
"avg_line_length": 42.076886341929324,
"alnum_prop": 0.663621196472551,
"repo_name": "litehtml/litehtml",
"id": "653fd85acc9c9c6f737e01f336dd094886efd532",
"size": "... |
'use strict';
var hello = require('nodejs-lib');
module.exports = function(name) {
return hello(name).trim();
};
| {
"content_hash": "435dc6f8a7424d5a1127dc17a7455df6",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 34,
"avg_line_length": 16.714285714285715,
"alnum_prop": 0.6581196581196581,
"repo_name": "xpfriend/pocci-template-examples",
"id": "189ad66a639c234e24d0ee47c40f8de58db9775a",... |
package com.cloudcoders.gestaca.logic.enrollment;
import com.cloudcoders.gestaca.logic.IEnrollmentDAO;
import com.cloudcoders.gestaca.logic.IStudentDAO;
import com.cloudcoders.gestaca.logic.ITaughtCourseDAO;
import com.cloudcoders.gestaca.logic.exceptions.InvalidPersonException;
import com.cloudcoders.gestaca.logic.ex... | {
"content_hash": "70cf55d404158070ba7a3b389d002964",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 115,
"avg_line_length": 35.35294117647059,
"alnum_prop": 0.7920133111480865,
"repo_name": "CloudCoders/GestAca",
"id": "8861ce569bfb3ba4d5b569515620d0bcc5582f06",
"size": "... |
namespace VinylC.Services.Data.Contracts
{
using System.Linq;
using VinylC.Data.Models;
public interface IArticleCategoryService
{
IQueryable<AtricleCategory> All();
AtricleCategory CreateNewCategory(AtricleCategory categoryToAdd);
AtricleCategory UpdateCategory(AtricleCatego... | {
"content_hash": "17e0b25f4397713e9c68bf69c80872f9",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 73,
"avg_line_length": 24.357142857142858,
"alnum_prop": 0.7302052785923754,
"repo_name": "clangelov/ASP.NET-MVC-Course-Project",
"id": "d7a4ce099fae1f4ca7c7ab1e726f25b7295bb... |
/*
* Powered By [柳丰]
* Web Site: http://www.trend.com.cn
*/
package com.trend.hbny.action;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import cn.org.rapid_framework.beanutils.BeanUtils;
import com.open... | {
"content_hash": "636f632c4d3fe7ce4b9378cb7114525a",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 88,
"avg_line_length": 22.824324324324323,
"alnum_prop": 0.7101835405565423,
"repo_name": "neolfdev/dlscxx",
"id": "fbd6f411906bba57fd1b2272135d19cff43fa8ea",
"size": "353... |
<!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": "9cf0c93aebb522fe7ab42db695ae5f59",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 313,
"avg_line_length": 48,
"alnum_prop": 0.6622299382716049,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "aab2e7b4a8225cb85ec64875b3f510ff6635d768",
"size": "5184",
"... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be us... | {
"content_hash": "2f97194a59ecd54bbee45dcb14a9f9c2",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 111,
"avg_line_length": 40.61971830985915,
"alnum_prop": 0.7895284327323162,
"repo_name": "chrahunt/bt-agentlib",
"id": "76d74e9ef6a10d26e588a9d94a8083c468212ec4",
"size": ... |
@implementation SCImageCollectionViewItem
#pragma mark - Accessors
@synthesize imageURL = _imageURL;
- (void)setImageURL:(NSURL *)url {
[url retain];
[_imageURL release];
_imageURL = url;
if (_imageURL) {
[self.imageView setImageWithURL:url placeholderImage:nil];
} else {
self.imageView.image = nil;
}
}
... | {
"content_hash": "f2b6c7bd0d18315b4ffa2cc8839c38ea",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 102,
"avg_line_length": 18.186046511627907,
"alnum_prop": 0.7237851662404092,
"repo_name": "111minutes/CocoaPods",
"id": "a89ad7c4e8aea0f58a98aca1e76b9c30b5132ffb",
"size":... |
<?php
declare(strict_types=1);
namespace OpenCFP\Http\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\EmailType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Validator\Constraints as A... | {
"content_hash": "cf24337ed8efb569b5f1cf18a8825fa7",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 89,
"avg_line_length": 28.772727272727273,
"alnum_prop": 0.7361769352290679,
"repo_name": "mdwheele/opencfp",
"id": "e8531882587c0209ec86da0c80f781f1a7800e08",
"size": "851... |
/*
Security support for OpenTRV.
*/
#ifndef SECURITY_H
#define SECURITY_H
#include "V0p2_Main.h"
// How much info does a leaf node transmit about stats such as temperature and occupancy?
// Excess unencrypted stats may, for example, allow a clever burglar to work out when no one is home.
// Note that even in the... | {
"content_hash": "27fb0a557fa32f12606b9439e6d16029",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 106,
"avg_line_length": 37.77272727272727,
"alnum_prop": 0.7484957882069796,
"repo_name": "opentrv/OpenTRV-Arduino-V0p2",
"id": "8ced535c89151a6e2431a8d8ca038747065d2c37",
... |
package gov.nih.nci.cabig.caaers.dao.index;
import gov.nih.nci.cabig.caaers.CaaersDbTestCase;
import gov.nih.nci.cabig.caaers.domain.UserGroupType;
import gov.nih.nci.cabig.caaers.domain.index.IndexEntry;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
import java.s... | {
"content_hash": "baee4201c3af9040ffd07add9290f5d4",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 282,
"avg_line_length": 32.19178082191781,
"alnum_prop": 0.6412765957446809,
"repo_name": "NCIP/caaers",
"id": "b7eec7a090f3120980ab9ecb83094ca0a9b4283a",
"size": "2707",
... |
[data-section=''] > section > h4 [data-section-title] {
color: cyan;
} | {
"content_hash": "6b198e4edc89f841c71ca15e11457f76",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 55,
"avg_line_length": 24,
"alnum_prop": 0.625,
"repo_name": "giakki/uncss",
"id": "b73281397e6466887346dc4031b50d27e199735b",
"size": "72",
"binary": false,
"copies": "... |
#include "config.h"
#include <algorithm>
#include <array>
#include <cstdlib>
#include <iterator>
#include "alc/effects/base.h"
#include "almalloc.h"
#include "alnumbers.h"
#include "alnumeric.h"
#include "alspan.h"
#include "core/ambidefs.h"
#include "core/bufferline.h"
#include "core/context.h"
#include "core/devf... | {
"content_hash": "07ba56ac498a1301281f73717d17372f",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 147,
"avg_line_length": 30.727272727272727,
"alnum_prop": 0.6775147928994083,
"repo_name": "Try/Tempest",
"id": "84561f5c337afe0bca35ef1fb843e240a6015b39",
"size": "5960",... |
local path = (...):match("(.-)[^%.]+$")
local ListView = require (path.."class").extends(require (path.."View"),"ListView")
path = nil
------------------------------------------
-- Public functions
------------------------------------------
ListView.Direction = {
Horizontal = 0, Vertical = 1
}
function ListView.new... | {
"content_hash": "a1cf543cda3a11186a8d924f2dee0b8e",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 83,
"avg_line_length": 23.42105263157895,
"alnum_prop": 0.6640449438202247,
"repo_name": "LexLoki/LoveUIView",
"id": "a379ee8cd19b2cfe4e8bb975952fbc0ccf4c9a5c",
"size": "20... |
<?xml version="1.0" encoding="UTF-8"?>
<Tokens version="1.0">
<File path="Classes/AutoScalingDescribeAutoScalingGroupsRequest.html">
<Token>
<TokenIdentifier>//apple_ref/occ/cl/AutoScalingDescribeAutoScalingGroupsRequest</TokenIdentifier>
<Abstract type="html">Describe Auto Scaling Groups Request</Abstract>... | {
"content_hash": "9dcaceadbfbeb792271a905a35127202",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 129,
"avg_line_length": 40.47286821705426,
"alnum_prop": 0.746217199770159,
"repo_name": "abovelabs/aws-ios-sdk",
"id": "769217456ea0e3921543221a191fde232a53a01f",
"size":... |
module Azure end
module Azure::DevTestLabs end
module Azure::DevTestLabs::Profiles end
module Azure::DevTestLabs::Profiles::Latest end
| {
"content_hash": "3327a998356e98fa83d0617ac89d8ae9",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 47,
"avg_line_length": 33.75,
"alnum_prop": 0.8222222222222222,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "17225e1118d5f9a2453696ff864fe2eca9a8c785",
"size": "309",
"... |
using System;
using System.Collections.Generic;
using AutoMapper;
using NHibernate.Envers.Configuration.Attributes;
using Storymark.Service.Data.ViewModels;
namespace Storymark.Service.Data.Entities
{
[Audited]
public class Project
{
public virtual Guid Id { get; protected set; }
public virtual string Title { ... | {
"content_hash": "024e4efcf4c31afbd5b43f4283072203",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 68,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.7383458646616541,
"repo_name": "jwynia/StoryMark",
"id": "50160a0c8faf0e87979513d9435673bf3c440fe2",
"size": "667... |
var cssConcat = require('css-concat');
var express = require('express');
var browserify = require('browserify');
var md5 = require('md5');
var send = require('send');
var url = require('url');
var path = require('path');
var compression = require('compression');
var isImage = require('is-image');
var clientJS = './cli... | {
"content_hash": "b757901332876e1d53c4531e468ef380",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 67,
"avg_line_length": 23.061728395061728,
"alnum_prop": 0.6359743040685225,
"repo_name": "RpprRoger/brain",
"id": "4c3d9ea0bf0276a7142a505d7b6f03497e589572",
"size": "1868... |
Homework tasks @ SAP GeekyCamp
| {
"content_hash": "25c79c6a4c228cf479867031730586da",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 30,
"avg_line_length": 31,
"alnum_prop": 0.8064516129032258,
"repo_name": "YaneYosifov/SAP-GeekyCamp",
"id": "14509f772f94c394e943fad38195457f60e22a7c",
"size": "47",
"bin... |
package sun.tools.jconsole;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.plaf.*;
import javax.swing.plaf.basic.BasicGraphicsUtils;
import static javax.swing.SwingConstants.*;
import static sun.tools.jconsole.JConsole.*;
import static sun.tools.j... | {
"content_hash": "a6ca6f2b36ac1b0b2d6adebfe8f02662",
"timestamp": "",
"source": "github",
"line_count": 549,
"max_line_length": 95,
"avg_line_length": 33.90528233151184,
"alnum_prop": 0.4990329859245729,
"repo_name": "andreagenso/java2scala",
"id": "0b5429bc26947c5e9caa10eecc3052907311f63e",
"size"... |
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/clr_back_full" >
<FrameLayout
android:id="@+id/flContainer"
android:layout_width="match_parent"
an... | {
"content_hash": "161380a2a0c4d28194be73f1e048df4a",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 62,
"avg_line_length": 26.266666666666666,
"alnum_prop": 0.7385786802030457,
"repo_name": "gtgray/instagramClient",
"id": "1eb9ea1322943ee5f7d21c8b4aea416db15742ec",
"size"... |
-include $(TOPDIR)/.config
-include $(TOPDIR)/Make.defs
include $(APPDIR)/Make.defs
# built-in application info
APPNAME = proc_test
FUNCNAME = proc_test_main
THREADEXEC = TASH_EXECMD_ASYNC
# procfs test Example
ASRCS =
CSRCS =
MAINSRC = proc_test_main.c
AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))
M... | {
"content_hash": "f9cb6a3de45930d56308f4c8b4486063",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 111,
"avg_line_length": 19.49056603773585,
"alnum_prop": 0.6442400774443369,
"repo_name": "kimusan/TizenRT",
"id": "1948cdae73207c6e6ca6738c704a5e9e63962058",
"size": "460... |
package com.csy.maksmaigin.mvc.view.viewholder;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import butterknife.ButterKnife;
public abstract class CommonViewHolder extends RecyclerView.ViewHolder {
public CommonViewHolder(View itemView) {
super(itemView);
ButterKnife.b... | {
"content_hash": "a86c5ddfd6b9d874e7c9a5da74729ee0",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 72,
"avg_line_length": 26.666666666666668,
"alnum_prop": 0.7625,
"repo_name": "chensy-and/maksmaigin",
"id": "7da556db0c55ab1507faac57310815f4de4751de",
"size": "400",
"b... |
package org.codeandmagic.android;
/**
* Implementation of {@link TextStyle} defining the possible values for the 'textStyle' attribute
* using the Roboto font.
* Created by evelina on 16/01/2014.
*/
public enum RobotoTextStyle implements TextStyle {
NORMAL("normal", "roboto/Roboto-Regular.ttf"),
LIGHT("li... | {
"content_hash": "e2ce6e5eade446536b869b12746fe164",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 97,
"avg_line_length": 27.5,
"alnum_prop": 0.679144385026738,
"repo_name": "CodeAndMagic/TypefaceLibrary",
"id": "489545430b0f0432317d895d192df31ac62bd365",
"size": "935",
... |
..
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": "8f5edd3ab3a20cb2385ad6070e76be68",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 79,
"avg_line_length": 44.048780487804876,
"alnum_prop": 0.7220376522702104,
"repo_name": "cwolferh/heat-scratch",
"id": "44b14ebf4d63471eef29146695c734d79aca76c4",
"size":... |
% CVT-B algorithm
clear all
close all
clc
input_image = int32(imread('flowergray.jpg'));
input_image = imresize(input_image, [50 50]);
[width height] = size(input_image);
old_generators = [50 124 100];
new_generators = zeros(size(old_generators));
voronoi_clusters = Calculate_Voronoi_Clusters(input_image, old_genera... | {
"content_hash": "483d2d96b5219a1db0918b4d7caf5797",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 102,
"avg_line_length": 31.205882352941178,
"alnum_prop": 0.5702167766258247,
"repo_name": "sriravic/ewcvt",
"id": "3ff6e7062fd4fdbb4f1dcc38c1e4b7f9ece7ec09",
"size": "1061... |
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" /... | {
"content_hash": "fdcf4b0b9dfc61723ee0410ada2ba978",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 155,
"avg_line_length": 23.742138364779873,
"alnum_prop": 0.5573509933774834,
"repo_name": "omeganetresearch/SoNetCMS",
"id": "8da040b39848e541ddef692780a7e289548669d6",
"... |
{% macro scenario_tabs(selected,num,path, id) %}
<div class="section-tabs js-tabs clearfix mb20">
<ul>
{% set navs = [
{url:"timeline-review",label:"Timeline"},
{url:"contact",label:"Contact"},
{url:"details-fme",label:"Medical"},
{url:"evidence-portal",label:"Evidence"},
... | {
"content_hash": "950940dcba59dadd8776fc10a4734517",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 167,
"avg_line_length": 34.666666666666664,
"alnum_prop": 0.5576923076923077,
"repo_name": "dwpdigitaltech/healthanddisability",
"id": "82e169eb245bae563f416adb3b406e640ff81d... |
<?php
namespace Ajgarlag\Psr15\Router\RequestHandler;
use Ajgarlag\Psr15\Router\Matcher\RequestMatcher;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class Route implements RouteInterface
{
private RequestMatcher $requestMatcher;
private RequestHandlerInter... | {
"content_hash": "234ac8a3e36dd6d81dd0110a0c6c6602",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 104,
"avg_line_length": 26.096774193548388,
"alnum_prop": 0.7441285537700866,
"repo_name": "ajgarlag/psr15-router",
"id": "ad731d0c8cfac6029e5c193b29a71ad68c179317",
"size"... |
<?php
namespace fennec\db\record;
use Yii;
use yii\behaviors\SluggableBehavior;
abstract class SluggableRecord extends ActiveRecord
{
abstract public function getSlugAttribute();
public function behaviors()
{
$behaviors = [
[
'class' => SluggableBehavior::className(),
'attribute... | {
"content_hash": "33444340cb6f6f8574b291bdc0d46d06",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 55,
"avg_line_length": 17.16,
"alnum_prop": 0.655011655011655,
"repo_name": "cherifGsoul/fennec-cms",
"id": "375f67845885c169adeab691c7b470e5ea6434a4",
"size": "429",
"bi... |
import logging
import StringIO
import time
import unittest
from xml.etree import ElementTree
from nova import vendor
from tornado import ioloop
from twisted.internet import defer
from nova import flags
from nova import rpc
from nova import test
from nova.auth import users
from nova.compute import node
from nova.endpo... | {
"content_hash": "0ebb97e8a0ff18c47024ecee32d39e75",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 98,
"avg_line_length": 40.142857142857146,
"alnum_prop": 0.5695644805965091,
"repo_name": "joshuamckenty/yolo-octo-wookie",
"id": "9df83ec625ab14d33c41df8dff1c1d52493d7eab",... |
<component name="libraryTable">
<library name="animated-vector-drawable-24.2.1">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/24.2.1/jars/classes.jar!/" />
<root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar... | {
"content_hash": "7884eb0f4c56000a534ba2bb9c420df4",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 177,
"avg_line_length": 53.666666666666664,
"alnum_prop": 0.7049689440993789,
"repo_name": "omkarmoghe/MH-Android-Workshop",
"id": "29f7a722de821be8b18f0e6e1039ad49f161890c",... |
package com.buddycloud;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.view.KeyEvent;
import android.view.Window;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuItem;
import co... | {
"content_hash": "17bcebf92d0d160dc7af526db8e7d4e6",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 87,
"avg_line_length": 29.81290322580645,
"alnum_prop": 0.7156459640770396,
"repo_name": "buddycloud/buddycloud-android",
"id": "3cc9341c0d3f0b22db50eb172a411c756deb8faf",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.