text stringlengths 2 1.04M | meta dict |
|---|---|
```js
class HelloMessage extends React.Component {
render() {
return <View ...view_props>Hello React</View>;
}
}
```
#### Sri
```scala
@ScalaJSDefined
class HelloMessage extends ReactComponent[Unit,Unit] {
def render() = {
View(...view_props)("Hello Sri")
}
}
```
***If component don't need lifecycle met... | {
"content_hash": "fb1c1a3599aa827921088ac6f5c51e68",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 136,
"avg_line_length": 22.03488372093023,
"alnum_prop": 0.6627968337730871,
"repo_name": "hamazy/sri",
"id": "1bbfa64e3102d40a6968a272bcba60b06c0927dd",
"size": "1951",
... |
Frequently Asked Questions
==========================
.. contents:: FAQ
Is Salt open-core?
------------------
No. Salt is 100% committed to being open-source, including all of our APIs and
the new `'Halite' web interface`_ which was introduced in version 0.17.0. It
is developed under the `Apache 2.0 license`_, allow... | {
"content_hash": "8fcd2c10c44efd8b54d9216c2e442a1f",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 123,
"avg_line_length": 43.62204724409449,
"alnum_prop": 0.6689530685920577,
"repo_name": "victorywang80/Maintenance",
"id": "63e4968ad495c1516f8f5562f65f4c0a659c79e5",
"s... |
module ConfigUpdate
module TaskNode
include ::ConfigUpdate::LoadConfig
def node(cruise_config)
load_task_of_job(cruise_config, task_index)
end
end
end | {
"content_hash": "90acd34be60ce6a2c43ab4f6b79be6e3",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 49,
"avg_line_length": 21.5,
"alnum_prop": 0.7151162790697675,
"repo_name": "ibnc/gocd",
"id": "be1f48fef70b12425ff6ad60fd035ca926c7246c",
"size": "759",
"binary": false,
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | {
"content_hash": "7ac956cac45e93f10b241f6c0ee4944b",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 84,
"avg_line_length": 39.513513513513516,
"alnum_prop": 0.7558139534883721,
"repo_name": "tchenowe/xamarin-forms-book-preview-2",
"id": "b6e60e3b3e96943f929b52cb2a8e0b731733... |
import argparse
import os
import shutil
import BasketGlobals as config
# SET THE BASE LOCATION
SERVER = config.serverDir()
LOCAL = config.rootDir()
# Basic 'Safe' Server Directory make
def make_dir(indir, loc=SERVER):
baseDir = os.path.join(loc, indir)
try:
if not os.path.isdir(baseDir):
... | {
"content_hash": "5557bcafd6b648d38d60c2ad226fa847",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 88,
"avg_line_length": 29.118181818181817,
"alnum_prop": 0.6134873556041212,
"repo_name": "Hartman-/Basket",
"id": "2a71edce467c0f06598bcd264d379efe95769462",
"size": "322... |
package runner
import (
"crypto/cipher"
"crypto/subtle"
"encoding/binary"
"errors"
)
// See draft-agl-tls-chacha20poly1305-04 and
// draft-irtf-cfrg-chacha20-poly1305-10. Where the two differ, the
// draft-agl-tls-chacha20poly1305-04 variant is implemented.
func leftRotate(a uint32, n uint) uint32 {
return (a <... | {
"content_hash": "2a5bf5009a15d4a91192e695ea4fc62f",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 96,
"avg_line_length": 28.433962264150942,
"alnum_prop": 0.6768414067684141,
"repo_name": "Teamxrtc/webrtc-streaming-node",
"id": "f2a1bbff565180c41773c2ef7e596701fc6e828d",... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycotaxon 17: 363 (1983)
#### Original name
Cercospora peristrophes-acuminatae J.M. Yen, 1964
### Remarks
null | {
"content_hash": "079fbb6d7bb6c4b60f90069a8f255d96",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 49,
"avg_line_length": 15.307692307692308,
"alnum_prop": 0.7236180904522613,
"repo_name": "mdoering/backbone",
"id": "6c757d82bce0672f87b6f568f9bf5ab0c2913423",
"size": "29... |
package com.example.jianming.beans;
import org.nanjing.knightingal.processerlib.beans.CounterBean;
/**
* @author Knightingal
* @since v1.0
*/
public class PicAlbumData {
private CounterBean processData;
public PicAlbumBean getPicAlbumData() {
return picAlbumData;
}
pu... | {
"content_hash": "3017ec9c70887de90675dcefc517e5ae",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 62,
"avg_line_length": 20.65625,
"alnum_prop": 0.6671709531013615,
"repo_name": "knightingal/android_start_demo",
"id": "67473035c18af31c2158e462bf2bfb6a83f7fe98",
"size": ... |
/**
* NOTICE: DO NOT MODIFY THIS FILE!
* The contents of this file were automatically generated by
* the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-toast' schematic.
* To update this file, simply rerun the command.
*/
import { NgModule } from '@angular/core';
import {
SKY_LIB_RESOURCES_... | {
"content_hash": "87bcf28c9be164231f5deeaa13bad5b2",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 93,
"avg_line_length": 26.976744186046513,
"alnum_prop": 0.7163793103448276,
"repo_name": "blackbaud/skyux",
"id": "8702e3b708434d590e6c11bb3244632ac67d46a2",
"size": "1160... |
include $(srctree)/drivers/misc/mediatek/Makefile.custom
obj-y += otm1285a_hd720_dsi_vdo_tm.o
| {
"content_hash": "7ac1eef80581b1e260e9d47742cd56e3",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 56,
"avg_line_length": 14.142857142857142,
"alnum_prop": 0.7373737373737373,
"repo_name": "zhengdejin/X1_Code",
"id": "d8cf3c43461df84b901e3a5b57472ce3426ff0b6",
"size": "16... |
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.turnguard.ldp</groupId>
... | {
"content_hash": "8e256b9b1e732217b3001ad9d0bc8373",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 149,
"avg_line_length": 39.72222222222222,
"alnum_prop": 0.7090909090909091,
"repo_name": "turnguard/com-turnguard-ldp",
"id": "0ef9ab8775ed7c9dfadd17cfe4b80ef122ba75e0",
"... |
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8WebGLTransformFeedback.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/V8DOMConfiguration.h"
#include "bindings/core/v8/V8ObjectConstructor.h"
#include "core/dom/ContextFea... | {
"content_hash": "4f5a6959390cd47ed38518b4b0764eff",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 586,
"avg_line_length": 46.851063829787236,
"alnum_prop": 0.7752043596730245,
"repo_name": "zero-rp/miniblink49",
"id": "e1e9104b4967f1d564bf0041b7b29b3d2d4aeb4f",
"size": ... |
package it.codingjam.lifecyclebinder;
import android.support.annotation.NonNull;
import java.lang.reflect.Method;
class ReflectionUtils {
static <T> void invokeBindMethod(Class<?> objectBinderClass, LifeCycleBinderFragment<T> collector, T viewParam) {
try {
Method method = objectBinderClass.... | {
"content_hash": "6dd04fdafe63ccfa7f918da579b8d515",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 121,
"avg_line_length": 37.10344827586207,
"alnum_prop": 0.6617100371747212,
"repo_name": "fabioCollini/LifeCycleBinder",
"id": "36492b923999825207564edab13d583e7859dbb1",
... |
using System;
using System.IO;
using Public.Common.Augustus.Lib;
using ProjectFileNameInfo = Public.Common.Lib.Code.ProjectFileNameInfo;
using Project = Public.Common.Lib.Code.Physical.CSharp.Project;
using ProjectSerializer = Public.Common.Lib.Code.Serialization.CSharpProjectSerializer;
using VsVersionExtensi... | {
"content_hash": "ceaf60e98884fb598abee1855fabd25a",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 183,
"avg_line_length": 52.146067415730336,
"alnum_prop": 0.5761689291101055,
"repo_name": "MinexAutomation/Public",
"id": "d7399638fb95014a77883ef9cbbe9ae2dc33ebc2",
"size... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-componentRouter-jquery</title>
<link href="styles.css" rel="stylesheet" type="text/css">
<script src="../../components/jquery-3.2.1/jquery.js"></script>
<script src="../../../angular.js"></script>
<script src="app.js... | {
"content_hash": "33b6d6ab0a91e907e390b2393e08c0e0",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 135,
"avg_line_length": 32.392857142857146,
"alnum_prop": 0.659316427783903,
"repo_name": "gfcamilo/techagenda",
"id": "1695a4bb113bba6652b1611e1e746648b8bb8959",
"size": "... |
#include "qmqtt_message.h"
#include "qmqtt_message_p.h"
namespace QMQTT {
Message::Message()
: d(new MessagePrivate)
{
}
Message::Message(const quint16 id, const QString &topic, const QByteArray &payload,
const quint8 qos, const bool retain, const bool dup)
: d(new MessagePrivate(id, topic... | {
"content_hash": "cee06865e0052129e911fdcabb8da98e",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 83,
"avg_line_length": 15.39622641509434,
"alnum_prop": 0.6047794117647058,
"repo_name": "collin80/SavvyCAN",
"id": "7beec319784c4ef241bfd9d912ea8582b17474d6",
"size": "32... |
import * as localDB from './LocalDB';
import * as onlineDB from './OnlineDB';
import * as CONSTANTS from '../utils/GlobaleStaticVars';
import RNFetchBlob from 'react-native-fetch-blob';
import { Platform } from 'react-native';
import { PermissionsAndroid } from 'react-native';
//import ImageResizer from 'react-native-i... | {
"content_hash": "26dcc8811a28c9e777a8e5601e54cd9b",
"timestamp": "",
"source": "github",
"line_count": 546,
"max_line_length": 148,
"avg_line_length": 33.688644688644686,
"alnum_prop": 0.5799717299119278,
"repo_name": "Blacktoviche/RNChat",
"id": "f5cddbf8954cabcb478ec1a76be943d8c8853b57",
"size":... |
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
<meta name="author"... | {
"content_hash": "0fdcc472bb472a5d8a25d291fe1ca4f0",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 145,
"avg_line_length": 53.229166666666664,
"alnum_prop": 0.6191780821917808,
"repo_name": "denshoch/denshoch-web",
"id": "80ddbb25978ae55bcf811f129e9bba550d94cf98",
"size"... |
Minimal starter boilerplate project with React, Redux, React Router and Auth0 authentication
## News
**Upgrading to webpack2. Come back soon for an update of this boilerplate.**
## Getting started
First [create an auth0 account](https://manage.auth0.com/). Then run the following commands. Make sure your `.env` file... | {
"content_hash": "8cc03c6417cab685d4a8e938aa6e4862",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 345,
"avg_line_length": 42.26829268292683,
"alnum_prop": 0.7631275245239469,
"repo_name": "Alyar-Ruby/react-redux-auth0",
"id": "c3ac27d6a226dd3442ed705e1aae959823e7212c",
... |
import re
from datetime import datetime
def handle_parse_exception(soup):
print '\nException parsing HTML.', \
'Probably contained something unexpected.', \
'Check unexpected_output.html'
with open('unexpected_output.html', 'wb') as output:
output.write(soup.prettify().encode('UTF-8... | {
"content_hash": "01a6de27a363a06feb8ff13eabe6e05a",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 80,
"avg_line_length": 33.670731707317074,
"alnum_prop": 0.5313292285403839,
"repo_name": "openva/attorney-analysis",
"id": "0f9a227e03d385121814aae8564b2d6cb05c635e",
"siz... |
//@@author A0138455Y
package seedu.flexitrack.logic.commands;
import seedu.flexitrack.commons.core.Messages;
import seedu.flexitrack.commons.core.UnmodifiableObservableList;
import seedu.flexitrack.commons.exceptions.IllegalValueException;
import seedu.flexitrack.model.task.ReadOnlyTask;
import seedu.flexitrack.model.... | {
"content_hash": "1fabd360e4af02990ea069180b321328",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 101,
"avg_line_length": 34.16304347826087,
"alnum_prop": 0.6627426026089723,
"repo_name": "CS2103AUG2016-F09-C3/main",
"id": "c917eacb62b667982d846f90a41db472b3039248",
"si... |
package cn.elvea.platform.commons.exception;
/**
* 服务异常
*
* @author elvea
* @since 0.0.1
*/
public class ServiceException extends RuntimeException {
public ServiceException() {
}
public ServiceException(String message) {
super(message);
}
public ServiceException(String message, Thro... | {
"content_hash": "ac4d02416a26fa7b23861feffc3d765c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 62,
"avg_line_length": 17.045454545454547,
"alnum_prop": 0.656,
"repo_name": "elveahuang/platform",
"id": "4060ca7946ee8c2ed688002bee8d7359eebc2ac3",
"size": "383",
"bina... |
package org.fest.swing.fixture;
import static org.fest.assertions.Assertions.assertThat;
import static org.fest.swing.edt.GuiActionRunner.execute;
import static org.fest.swing.test.core.NeverMatchingComponentMatcher.neverMatches;
import javax.annotation.Nonnull;
import javax.swing.JTree;
import javax.swing.tree.Defa... | {
"content_hash": "a32ec52b1fd9cac1f3b0a5c2aa115dfb",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 87,
"avg_line_length": 30.72641509433962,
"alnum_prop": 0.7261283389622352,
"repo_name": "google/fest",
"id": "5add42826ee0155afbb792d81543a26aac913f2b",
"size": "3879",
... |
call rails d model Manufacturer
call rails d model EquipmentType
call rails d model EquipmentItem
call rails d model EquipmentLoan
call rails d model Team
call rails d model Member
call rails d model EmergencyContact
call rails d model RoleType
call rails d model GameType
call rails d model Location
call rails ... | {
"content_hash": "60c3e0633e3701198a12730f553c7adf",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 35,
"avg_line_length": 30.133333333333333,
"alnum_prop": 0.8075221238938053,
"repo_name": "lukearndt/player-base",
"id": "8b38831d42a9def66f1c496bf3007459bea844e3",
"size":... |
<link href="assets/admin/pages/css/login.css" rel="stylesheet" type="text/css">
<div class="login" style="background-color:#364150">
<!-- <div class="logo">
<img src="assets/admin/layout/img/logo-big.png" alt="">
</div> -->
<div class="content">
<!-- BEGIN LOGIN FORM -->
<h3 class="form-title">Sign In</h3>
... | {
"content_hash": "2111bf44cf463161d263401ba09ffbb1",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 183,
"avg_line_length": 42.18421052631579,
"alnum_prop": 0.66126013724267,
"repo_name": "barak-shirali/PDS",
"id": "65dc7e6bafb3ae21faed6268a5f9be37b25aae64",
"size": "1603... |
// ***************************************************************** -*- C++ -*-
/*
File: tiffimage.cpp
Version: $Rev$
*/
// *****************************************************************************
#include "rcsid_int.hpp"
EXIV2_RCSID("@(#) $Id$")
// included header files
#include "config.h"
#includ... | {
"content_hash": "074eb410725eb13c5777efd67c01f9d7",
"timestamp": "",
"source": "github",
"line_count": 2298,
"max_line_length": 119,
"avg_line_length": 46.059181897302004,
"alnum_prop": 0.5149843165413249,
"repo_name": "Vitalii17/RotateIt",
"id": "f20c69ebec75f8f6efe4d3d2e2db5f6aaabce670",
"size":... |
//
// NSString+PJR.h
// Lib
//
// Created by Paritosh on 15/05/14.
//
//
#import <Foundation/Foundation.h>
@interface NSString (PJR)
-(BOOL)isBlank;
-(BOOL)isValid;
- (NSString *)removeWhiteSpacesFromString;
- (NSUInteger)countNumberOfWords;
- (BOOL)containsString:(NSString *)subString;
- (BOOL)isBeginsWith:(N... | {
"content_hash": "7ee35149c8cbff2581c6c6c25fedc594",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 87,
"avg_line_length": 16.753846153846155,
"alnum_prop": 0.7226813590449954,
"repo_name": "chenyongwei/JSMessage",
"id": "468af84c31e702e8c076f80c47c31b77c81ab5c2",
"size":... |
@interface ARAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "a56f45e66f6ef066eb4ecee286c9bca8",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 62,
"avg_line_length": 23.6,
"alnum_prop": 0.7966101694915254,
"repo_name": "alexruperez/UILabel-AutomaticWriting",
"id": "0eb490c5ab769b40ed05ebdc33fef155fe20c55f",
"size":... |
<!-- # Middle School CS in Math -->
## A New Take on Math Programming is Here!
Code.org has developed a new a block-based adaptation of the Bootstrap curriculum in the style of our existing [Code Studio](http://studio.code.org) courses. Visit our [CS in Algebra](/curriculum/algebra) page to learn more.
## The Boots... | {
"content_hash": "d322dd0620012e0089bd1c67eff458de",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 686,
"avg_line_length": 89.10526315789474,
"alnum_prop": 0.7769245914550108,
"repo_name": "rvarshney/code-dot-org",
"id": "213d6ed7ba24bb452c6475f8b5f11a374fccd44b",
"size"... |
.class public Landroid/text/Layout$Directions;
.super Ljava/lang/Object;
.source "Layout.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/text/Layout;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Directions"
.end ann... | {
"content_hash": "234fe0a3720a24487389c4be0c8f1439",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 72,
"avg_line_length": 19.6,
"alnum_prop": 0.7084548104956269,
"repo_name": "baidurom/reference",
"id": "651426418e5673008fecfe0c8d1adbbb20d54843",
"size": "686",
"binary... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Green Appliance Service - New Braunfels, Te... | {
"content_hash": "9725f67d71ce59f50b3a0883d7016713",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 424,
"avg_line_length": 41.80082987551867,
"alnum_prop": 0.610184633710542,
"repo_name": "tswhite/tswhite.github.io",
"id": "34780ec4fa6845e0e7f24dabcda641e895e5d3ac",
"si... |
#import <TargetConditionals.h>
// when compiling to ARM (iPhone device), hide everything and use system defaults
// if you wish to use simulation mode even on the device, remove the #if/#endif
#if !TARGET_CPU_ARM
#import <UIKit/UIKit.h>
// this is exactly the same as UIAcceleration, but we can modify the member vari... | {
"content_hash": "0f4c8179752b67feefb2f0d3415c3e53",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 85,
"avg_line_length": 28.21153846153846,
"alnum_prop": 0.7675528289025222,
"repo_name": "TukekeSoft/Cocos2d-x-Asynchronous-Http-Request-Library",
"id": "47297c39a1861099b2d6... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using AutoMapper;
using OnlineMessenger.Domain.Entities;
using OnlineMessenger.Domain.Exceptions;
using OnlineMessenger.Domain.Services;
using OnlineMessenger.MvcServer.ViewModels;
// ReSharper disable PossibleMultipleEnumeration... | {
"content_hash": "e45bc63aa8a9c096ae2401550ada552d",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 164,
"avg_line_length": 28.556603773584907,
"alnum_prop": 0.5969606871489924,
"repo_name": "andreialex007/OnlineMessenger",
"id": "be49fa3f6c6e8a89ecdf95ac34c4e82a950b5ce4",... |
import * as React from 'react';
import './spinner.css';
export default class Spinner extends React.Component<any, any> {
render() {
return (
<div className="spinnerContainer">
<div className="spinner">
<div className="rect1"></div>
<div className="rect2"></div>
<div c... | {
"content_hash": "0703d314d57374e21ef81c60b9acf387",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 64,
"avg_line_length": 24.473684210526315,
"alnum_prop": 0.5483870967741935,
"repo_name": "react-prefer/hacker-reader",
"id": "e6e0333e4d04eb92225b92a0ad0174240b07eec6",
"s... |
package com.graphhopper.routing.util;
import com.graphhopper.ResponsePath;
import com.graphhopper.routing.AlgorithmOptions;
import com.graphhopper.routing.Path;
import com.graphhopper.routing.RoutingAlgorithm;
import com.graphhopper.routing.RoutingAlgorithmFactorySimple;
import com.graphhopper.routing.querygraph.Quer... | {
"content_hash": "a331dc44b01609cdaa214ce964c21639",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 132,
"avg_line_length": 36.13278008298755,
"alnum_prop": 0.575447864033073,
"repo_name": "devemux86/graphhopper",
"id": "4e0826bb0e3663f63ace42029df0faf166b868fe",
"size":... |
<?php
namespace donatj\MySqlSchema\Columns\String\Text;
use donatj\MySqlSchema\Columns\String\AbstractTextColumn;
class TinyTextColumn extends AbstractTextColumn {
/**
* @return string
*/
public function getTypeName() {
return 'tinytext';
}
}
| {
"content_hash": "9098595226d615a2fbe2a02063e14bb7",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 57,
"avg_line_length": 18.214285714285715,
"alnum_prop": 0.7529411764705882,
"repo_name": "donatj/PhpMySqlSchema",
"id": "228536e59be04ca79a26b7fee235998c2b43a922",
"size":... |
//-----------------------------------------------------------------------
// <copyright file="SharedKeyTableCanonicalizer.cs" company="Microsoft">
// Copyright 2011 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wit... | {
"content_hash": "c6b5864a4c78c0d5235e8968a580531b",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 115,
"avg_line_length": 42.11267605633803,
"alnum_prop": 0.6648829431438127,
"repo_name": "richorama/azure-sdk-for-mono",
"id": "00157903ea84d858a99ef2617cc64ea0d67f3396",
... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>CvQueryPaneState | catreact</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../asse... | {
"content_hash": "d4f5ed3aa903a5a2bd4fbd1b022f3dff",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 137,
"avg_line_length": 49.20103092783505,
"alnum_prop": 0.65751702462022,
"repo_name": "catavolt-oss/catreact-examples",
"id": "c6d4b2ba72785a8d81de4413bca9d900a481c038",
... |
package ui;
import javax.swing.Action;
import javax.swing.Icon;
import javax.swing.JCheckBox;
public class AssetChkBox extends JCheckBox {
static final long serialVersionUID = 1;
/* nameID is the name of the asset, or the name of the portfolio
* that is related to this checkbox.
*/
public String nameID;
... | {
"content_hash": "5613b67e1679a9da7f0326ad965623cd",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 65,
"avg_line_length": 17.369230769230768,
"alnum_prop": 0.6944198405668733,
"repo_name": "caranha/MTGA-old",
"id": "4d5a0c2cf6a706934e7ac38981edfc1d833c5523",
"size": "112... |
Returns a new function much like the supplied one, except that the first two
arguments' order is reversed.
@func
@memberOf R
@since v0.1.0
@category Function
@sig (a -> b -> c -> ... -> z) -> (b -> a -> c -> ... -> z)
@param {Function} fn The function to invoke with its first two parameters reversed.
@return {*} The r... | {
"content_hash": "50d8f8d2efc41c3f098c0b4587270a1e",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 86,
"avg_line_length": 32.5,
"alnum_prop": 0.6034188034188034,
"repo_name": "ikatyang/types-ramda",
"id": "9f8f99789d532170cec34f8a745549dd72ac3f67",
"size": "585",
"bina... |
package dotty
package tools
package scripting
import scala.language.unsafeNulls
import java.io.File
import java.nio.file.Path
import org.junit.{Test, Ignore, AfterClass}
import vulpix.TestConfiguration
import ScriptTestEnv.*
/** Test java command line generated by bin/scala and bin/scalac */
class ClasspathTests:
... | {
"content_hash": "c3b8b6bb85812e97116210084c0c8f7c",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 122,
"avg_line_length": 42.28846153846154,
"alnum_prop": 0.6809913597089586,
"repo_name": "sjrd/dotty",
"id": "0f3ada041538ce500209c0d9575f0dbfadf8fd84",
"size": "4398",
... |
Test Runner
===========
A small test runner which executes a build job according to the Emerald CI
configuration for a project. See
[emerald-ci/environment](https://github.com/emerald-ci/environment) to resemble
the exact build environment used within the Emerald CI platform.
YAML Documentation
------------------
Th... | {
"content_hash": "754bd967aac72d69be7e2b9e5b3d1c26",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 79,
"avg_line_length": 28,
"alnum_prop": 0.7465986394557823,
"repo_name": "coolhacks/docker-hacks",
"id": "93c69a5e936b5e0f0eb7b7cc4337edeab8c619f6",
"size": "1176",
"bin... |
class Test {
@TestDecorator
async decorateMe() {}
}
| {
"content_hash": "a91de267e89407c843277cdc4c4f1da4",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 23,
"avg_line_length": 14,
"alnum_prop": 0.6607142857142857,
"repo_name": "jridgewell/babel",
"id": "810351d6e23710d33ec072d52d4fc5f128f7e267",
"size": "56",
"binary": fal... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" tools:context="com.gsdv.experience.MainActivity">
<item android:id="@+id/action_settings" android:title="@string/action_settings"
androi... | {
"content_hash": "a903057a037aaf185b8c20bc6a43d20d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 100,
"avg_line_length": 63.333333333333336,
"alnum_prop": 0.7263157894736842,
"repo_name": "DeiverK/Experience",
"id": "c92ff9fb3730f61ca0b655f42669faa4e8b1564b",
"size": "3... |
package com.zimbra.common.localconfig;
import com.zimbra.common.util.ZimbraLog;
/*
* Log4j is expensive for command line invocation
*/
public class Logging {
private static boolean sQuietMode = false;
public static void setQuietMode(boolean value) {
sQuietMode = value;
}
private sta... | {
"content_hash": "5b633aaff6085ee0d7da4090898db099",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 59,
"avg_line_length": 23.177419354838708,
"alnum_prop": 0.5414057063326374,
"repo_name": "nico01f/z-pec",
"id": "30ab7a49d8bc69a1a1d2757721fd913a841d6ab8",
"size": "1994",... |
package org.apache.derby.impl.sql.execute;
import org.apache.derby.iapi.sql.execute.ConstantAction;
import org.apache.derby.iapi.sql.dictionary.DataDictionary;
import org.apache.derby.iapi.sql.dictionary.RoleDescriptor;
import org.apache.derby.iapi.sql.conn.LanguageConnectionContext;
import org.apache.derby.iapi.sq... | {
"content_hash": "5ba46d95cface4230def79660bdf71b5",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 80,
"avg_line_length": 33.40845070422535,
"alnum_prop": 0.5617622259696459,
"repo_name": "lpxz/grail-derby104",
"id": "24d5a87d7ba91cd508d7828783616d2a4d905f78",
"size": "... |
package org.scalatest.matchers.dsl
import org.scalactic.Prettifier
/**
* This class is part of the ScalaTest matchers DSL. Please see the documentation for <a href="../Matchers.html"><code>Matchers</code></a> for an overview of
* the matchers DSL.
*
* @author Bill Venners
*/
class ResultOfOnlyApplication(val ri... | {
"content_hash": "96cde4c00c73ccb4673fd0fcb054953a",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 157,
"avg_line_length": 32.57142857142857,
"alnum_prop": 0.7127192982456141,
"repo_name": "cheeseng/scalatest",
"id": "7caab6421c607a4bb452763701026f8931654b0e",
"size": "1... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2013 Allogy Interactive.
~
~ 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/LICENS... | {
"content_hash": "3d074a29afef5e4d8d9f41941d1ac86a",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 81,
"avg_line_length": 40.65625,
"alnum_prop": 0.7056110684089162,
"repo_name": "Allogy/allogy-legacy-android-app",
"id": "3edfb0fa3080021df181339bcca457f1a3a4d7b2",
"size"... |
package org.wso2.am.integration.ui.tests;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firef... | {
"content_hash": "f677428b16b228dc0df65bbfa739b2a7",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 114,
"avg_line_length": 45.98540145985402,
"alnum_prop": 0.7373015873015873,
"repo_name": "nuwanw/product-apim-2015-09-04",
"id": "6b47decbd8829b199e7e492a98c1de236110a852",... |
<!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": "6874661c730aea7a91fe2b3e5b9473ce",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 202,
"avg_line_length": 43.72727272727273,
"alnum_prop": 0.6525987525987526,
"repo_name": "ritgraphics/VixenEngine",
"id": "6da0df39e824529a72c973d9004d559e05134134",
"siz... |
using System;
using System.Collections.Generic;
namespace TogglDesktop.AutoCompletion
{
abstract class AutoCompleteItem : AutoCompleteListItem
{
private bool selected;
protected AutoCompleteItem(string text)
: base(text)
{
}
public bool Selec... | {
"content_hash": "2eee918d200f8c18fe2293cffe8a883d",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 78,
"avg_line_length": 22.547169811320753,
"alnum_prop": 0.4485355648535565,
"repo_name": "codeman38/toggldesktop",
"id": "c0808a90310b23f3d9d62fec017b3644934b8f17",
"size"... |
========
Overview
========
Clang Tools are standalone command line (and potentially GUI) tools
designed for use by C++ developers who are already using and enjoying
Clang as their compiler. These tools provide developer-oriented
functionality such as fast syntax checking, automatic formatting,
refactoring, etc.
Only ... | {
"content_hash": "18bfb082222e3b258b53a76b0ee592d2",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 79,
"avg_line_length": 38.06586826347306,
"alnum_prop": 0.7350951706779928,
"repo_name": "youtube/cobalt_sandbox",
"id": "e371596b240ce3bb26bdbe53616faa2cff25aca0",
"size"... |
package com.laytonsmith.PureUtilities;
import com.laytonsmith.PureUtilities.ArgumentParser.ArgumentParserResults;
import com.laytonsmith.PureUtilities.ArgumentParser.ResultUseException;
import com.laytonsmith.PureUtilities.ArgumentParser.ValidationException;
import com.laytonsmith.PureUtilities.Common.ArrayUtils;
impo... | {
"content_hash": "406ca1a5ba93ec71aa9ac537e1a05819",
"timestamp": "",
"source": "github",
"line_count": 300,
"max_line_length": 119,
"avg_line_length": 33.46,
"alnum_prop": 0.7049212990635585,
"repo_name": "KamranMackey/CommandHelper",
"id": "9e5c75fb501f31fc4f008bd2e762085600f4c677",
"size": "1003... |
<?php
// [START drive_touch_file]
use Google\Client;
use Google\Service\Drive;
function touchFile($fileId,$realModifiedTime)
{
try {
$client = new Client();
$client->useApplicationDefaultCredentials();
$client->addScope(Drive::DRIVE);
$driveService = new Drive($client);
$fi... | {
"content_hash": "f05ce98c48893e8bb313c153ed32f3a1",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 75,
"avg_line_length": 31.14814814814815,
"alnum_prop": 0.6135552913198573,
"repo_name": "gsuitedevs/php-samples",
"id": "57a95145f657297616dcb99327f5854b232db627",
"size":... |
<record xmlns="http://www.ddb.de/professionell/mabxml/mabxml-1.xsd">
<leader>00740nM2.01200024------h</leader>
<controlfield tag="LDR">00740nM2.01200024------h
</controlfield>
<controlfield tag="FMT">MH</controlfield>
<datafield tag="001" ind1="-" ind2="1">
<subfield code="a">HT015954... | {
"content_hash": "35424a30fbbfde8cf6dfacfd8e49c765",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 125,
"avg_line_length": 41.865591397849464,
"alnum_prop": 0.6166688069860023,
"repo_name": "edoweb/regal-api",
"id": "1e9baa7a77248e4cb529ad2f3beffa1414686e64",
"size": "7... |
Ext.onReady(function() {
// required for tooltips
Ext.QuickTips.init();
var map = new OpenLayers.Map();
var measureLength = new GeoExt.ux.MeasureLength({
map: map,
controlOptions: {
geodesic: true
},
toggleGroup: 'tools'
});
var measureArea = new G... | {
"content_hash": "89304c50e48f5654f0a6613fbc03cf2f",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 59,
"avg_line_length": 23.58823529411765,
"alnum_prop": 0.5236907730673317,
"repo_name": "groupe-conseil-nutshimit-nippour/django-geoprisma",
"id": "ff3ccf1cb89c1a5d8784b3db9... |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
namespace IE\NylasSEClient\Model;
/**
* Description of Folder
*
* @author jose.muriano
*/
class Folder
{
/**
* G... | {
"content_hash": "896ea429cf79ba536e8fea13d5aced74",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 116,
"avg_line_length": 16.487654320987655,
"alnum_prop": 0.5170348184200674,
"repo_name": "Muriano/ie-nylas-se-php-client",
"id": "106cd2577164f921e97c8ee838844317f3519beb"... |
FOUNDATION_EXPORT double LPDMvvmKitVersionNumber;
FOUNDATION_EXPORT const unsigned char LPDMvvmKitVersionString[];
| {
"content_hash": "d10dd7c2679706381aa040fc97c3dcfd",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 64,
"avg_line_length": 38.666666666666664,
"alnum_prop": 0.8706896551724138,
"repo_name": "foxsofter/lpd-mvvm-kit",
"id": "c3d64ed18f6fe5ab9964d5fe7f9eac161933246f",
"size":... |
package org.pac4j.core.exception;
/**
* Exception when an account is not found.
*
* @author Jerome Leleu
* @since 1.8.0
*/
public class AccountNotFoundException extends CredentialsException {
private static final long serialVersionUID = -2405351263139588633L;
public AccountNotFoundException(final Strin... | {
"content_hash": "15bebbac1df9a254c9ea89a4dfdd8c13",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 71,
"avg_line_length": 21.285714285714285,
"alnum_prop": 0.7069351230425056,
"repo_name": "ZionTech/pac4j",
"id": "48126d52d7f8b70781470687a75103eb097f77f2",
"size": "1048"... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LiNKTools.Model
{
public static class NKDateTimeConverter
{
public static DateTime NKToClr(long value)
{
string hexValue = value... | {
"content_hash": "6c1ae0e83d42911ed3e8de56f4c559b5",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 86,
"avg_line_length": 36.76923076923077,
"alnum_prop": 0.6621338912133892,
"repo_name": "MelHarbour/nklink-tools",
"id": "ff6b64f46faf36207a43b0adb9fe4643cf096b9d",
"size"... |
#include <duktape.h>
#ifdef __APPLE__
#include <OpenGL/glcorearb.h>
#else
#include <GL/glcorearb.h>
#endif
#define DUK_GL_OPENGL_1_1
/*
* Bindings that are not enabled by default.
*/
/*#define DUK_GL_ARB*/
/*
* Enable automatically older OpenGL standard major versions, if higher major version is enabled
*/
... | {
"content_hash": "5459c57bab284887b815f685ab1c1471",
"timestamp": "",
"source": "github",
"line_count": 3523,
"max_line_length": 897,
"avg_line_length": 81.22509225092251,
"alnum_prop": 0.7354869371950964,
"repo_name": "mrautio/duktape-opengl",
"id": "e1edd2c201c004e32134eeedcd6113b7901b4161",
"siz... |
namespace pen
{
typedef struct thread
{
HANDLE handle;
DWORD id;
} thread;
typedef struct mutex
{
CRITICAL_SECTION cs;
} mutex;
typedef struct semaphore
{
HANDLE handle;
} semaphore;
pen::thread* thread_create(dispatch_thread thread_func, u32 s... | {
"content_hash": "af5fcb915f0f6a87e753238ea5cb1f0c",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 122,
"avg_line_length": 21.925,
"alnum_prop": 0.5883694412770809,
"repo_name": "polymonster/pmtech",
"id": "4d040569b0bccf67560375ffe24df9f3a400d821",
"size": "2842",
"b... |
mainApp.filter('startFrom', function() {
return function(input, start) {
start = +start; //parse to int
return input.slice(start);
}
});
mainApp.controller('uploadarchiveController', function($scope, $http, $sce) {
$scope.renderHtml = function (htmlCode) {
return $sce.trustAsHtml(ht... | {
"content_hash": "4958b3d500f40703fa668c4d4d81e805",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 109,
"avg_line_length": 29.59090909090909,
"alnum_prop": 0.5924219150025601,
"repo_name": "talent-webmobiledeveloper/codeigniter3_twiliosms",
"id": "740d1445fdb9f4ab867efb1d7... |
// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "init.h"
#include "walletmodel.h"
#include "addresstabl... | {
"content_hash": "f5646dae969ab6aabf83aca547722124",
"timestamp": "",
"source": "github",
"line_count": 542,
"max_line_length": 233,
"avg_line_length": 34.215867158671585,
"alnum_prop": 0.6663790779185764,
"repo_name": "allaboutbit/Cludcoin-project",
"id": "1b1f353a10f263d77fce5752c93638aaedea7bac",
... |
package org.bouncycastle.tls.test;
import java.io.IOException;
import java.io.PrintStream;
import java.security.SecureRandom;
import java.util.Hashtable;
import java.util.Vector;
import org.bouncycastle.tls.AbstractTlsServer;
import org.bouncycastle.tls.AlertDescription;
import org.bouncycastle.tls.AlertLevel;
import... | {
"content_hash": "8daac612522575ea8f621b4db17016df",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 108,
"avg_line_length": 33.02,
"alnum_prop": 0.6842317787199677,
"repo_name": "bcgit/bc-java",
"id": "c96722c414a35e1799f01dfd9dbc8b2aa094544e",
"size": "4953",
"binary"... |
require 'spec_helper'
describe 'kibana::install', :type => :class do
let(:facts) { {
:kernel => 'Linux',
:http_proxy => false,
:https_proxy => false,
} }
context 'with legacy_service_mode => false' do
let(:params) { {
:version => '4.0.0',
:base_url => 'https://download.... | {
"content_hash": "5e91b53482a2c885f0682b88b005d45c",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 129,
"avg_line_length": 39.85245901639344,
"alnum_prop": 0.5812422871246401,
"repo_name": "avisri/puppet-sandbox",
"id": "fd902d09f8b72f6e048a9f1f582064463df96b84",
"size":... |
require 'test_helper'
class InboxHelperTest < ActionView::TestCase
end
| {
"content_hash": "dc234a16822d278535b273a738e60972",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 44,
"avg_line_length": 18,
"alnum_prop": 0.8055555555555556,
"repo_name": "jaros1/gofreerev-fb",
"id": "6f6f0bb73f80cf86f1d75e64a10ce9c8ecb70d2d",
"size": "72",
"binary": ... |
package firestore // import "google.golang.org/genproto/googleapis/firestore/v1beta1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import _ "google.golang.org/genproto/googleapis/api/annotations"
// Reference imports... | {
"content_hash": "9dc67e942a3199c6b44fa20e8d3f92fc",
"timestamp": "",
"source": "github",
"line_count": 791,
"max_line_length": 227,
"avg_line_length": 39.88748419721871,
"alnum_prop": 0.7202941269690343,
"repo_name": "emicklei/landskape",
"id": "90cce09fcc29138c4fba6e1e66b5a442ff91f8d7",
"size": "... |
package com.bso.framework.parrot.parser;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import com.bso.framework.parrot.handler.DefaultElementHandler;
import com.bso.framework.parrot.handler.ElementHandler;
import com.bso.framework.parrot.marshaller.ColumnMarshaller;
impo... | {
"content_hash": "3d0bf5059181d90d4d88439f29b1ec41",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 102,
"avg_line_length": 25.984126984126984,
"alnum_prop": 0.7171655467318265,
"repo_name": "ken8271/parrot",
"id": "f59e8f384ced22361f15d65fe73e650d36ad39c8",
"size": "1637... |
namespace v8 {
namespace internal {
namespace compiler {
class InstructionSelectorTest : public TestWithNativeContextAndZone {
public:
InstructionSelectorTest();
~InstructionSelectorTest() override;
base::RandomNumberGenerator* rng() { return &rng_; }
class Stream;
enum StreamBuilderMode {
kAllInstru... | {
"content_hash": "4a347b34cf632100534bc8ab54f30809",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 80,
"avg_line_length": 38.52758620689655,
"alnum_prop": 0.6359079924818759,
"repo_name": "graetzer/arangodb",
"id": "0ffe182e04f92758f0f45142e3ad9e0af81ebd76",
"size": "11... |
@interface DemoViewController ()
@end
@implementation DemoViewController
- (void)viewDidLoad {
[super viewDidLoad];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
- (IBAction)openCalendar:(id)sender {
[self openCalendarVC:self];
}
- (void)openCalendarVC:(UIViewController *)vc ... | {
"content_hash": "f9a06995cf8dd0234ef62d7a3c671a5f",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 157,
"avg_line_length": 30.571428571428573,
"alnum_prop": 0.7439252336448599,
"repo_name": "george-zergy/Calendar",
"id": "f30b4bcd91848d3d3216afcc6ff06dd941ef9209",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Pictonic Example Usage</title>
<link rel="stylesheet" href="https://pictonic.co/static/css/style.css">
<link rel="stylesheet" href="css/pictonic.css"><!--[if lt IE 8]>
<script src="js/pictonic.min.js"></script><![endif]-->
</head>
<body>
<div clas... | {
"content_hash": "c19f7578d26fb3a25d1e007225cd62e0",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 146,
"avg_line_length": 83.19867549668874,
"alnum_prop": 0.5966727692430152,
"repo_name": "hiqdev/yii2-asset-pictonic",
"id": "04b00268a3dba24388def41e9c722b6ceb443033",
"... |
package com.streamsets.pipeline.sdk;
import com.streamsets.datacollector.json.JsonMapperImpl;
import com.streamsets.pipeline.api.ext.DataCollectorServices;
import com.streamsets.pipeline.api.ext.json.JsonMapper;
public class DataCollectorServicesUtils {
public static void loadDefaultServices() {
DataCollector... | {
"content_hash": "9d24c96283f168758c8bf4eed059fd70",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 87,
"avg_line_length": 26.6,
"alnum_prop": 0.8095238095238095,
"repo_name": "rockmkd/datacollector",
"id": "03bd605511f4742ce6b4958a356fab96be5a1fab",
"size": "997",
"bin... |
namespace BarterSystem.WebForms
{
using System;
using System.Globalization;
using System.Linq;
using System.Web.UI;
using System.Web.UI.WebControls;
using BarterSystem.Common;
using BarterSystem.Data;
using BarterSystem.WebForms.Models;
using Microsoft.AspNet.Identity;
public... | {
"content_hash": "0a5ef6d3cd333c6811cc142587527bcc",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 153,
"avg_line_length": 35.878787878787875,
"alnum_prop": 0.6157094594594594,
"repo_name": "LazarDL/TelerikHomeworks",
"id": "80bbe035636dee9ea20dd69a8bd02b479b777371",
"si... |
<!-- Logo -->
<p align="center">
<a href="https://react.semantic-ui.com">
<img height="128" width="128" src="https://github.com/Semantic-Org/Semantic-UI-React/raw/master/docs/app/logo.png">
</a>
</p>
<!-- Name -->
<h1 align="center">
<a href="https://react.semantic-ui.com/">Semantic UI React</a>
</h1>
<!-- ... | {
"content_hash": "8073dd769f82ecfdb76dfcf841f5e139",
"timestamp": "",
"source": "github",
"line_count": 208,
"max_line_length": 572,
"avg_line_length": 46.19711538461539,
"alnum_prop": 0.655531272765116,
"repo_name": "mowbell/clickdelivery-fed-test",
"id": "7073443140f2daa70405ce03b2bf1bdfe58682ad",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE758_Undefined_Behavior__int64_t_new_use_09.cpp
Label Definition File: CWE758_Undefined_Behavior.new.label.xml
Template File: point-flaw-09.tmpl.cpp
*/
/*
* @description
* CWE: 758 Undefined Behavior
* Sinks: new_use
* GoodSink: Initialize then use data
... | {
"content_hash": "0ef6f19a7998138b4ab6cdac97b6fd8b",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 107,
"avg_line_length": 24.50420168067227,
"alnum_prop": 0.5631001371742113,
"repo_name": "maurer/tiamat",
"id": "9a8f3d0306764e5b737c0b21036061191b41fced",
"size": "2916"... |
package org.keycloak.servlet;
import java.util.Map;
import org.keycloak.AbstractOAuthClient;
import org.keycloak.adapters.KeycloakDeployment;
import org.keycloak.constants.ServiceUrlConstants;
import org.keycloak.enums.RelativeUrlsUsed;
import org.keycloak.util.KeycloakUriBuilder;
/**
* @author <a href="mailto:mpos... | {
"content_hash": "34fc20a8ea331a048d42e4c8e5d3c744",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 142,
"avg_line_length": 27.564705882352943,
"alnum_prop": 0.7157490396927016,
"repo_name": "lennartj/keycloak",
"id": "fc2445ba46217e2a87d0fa90cb61e5a9d66fb1b3",
"size": "2... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Eg... | {
"content_hash": "9c5e22e3c819c404a6b92057de757845",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 84,
"avg_line_length": 36.93103448275862,
"alnum_prop": 0.7450980392156863,
"repo_name": "egeesa/ionic-plugin-egee",
"id": "81c51de0795cd7d6eaf2257f579a065fb2af1071",
"size... |
macro(_list_append_deduplicate listname)
if(NOT "${ARGN}" STREQUAL "")
if(${listname})
list(REMOVE_ITEM ${listname} ${ARGN})
endif()
list(APPEND ${listname} ${ARGN})
endif()
endmacro()
# append elements to a list if they are not already in the list
# copied from catkin/cmake/list_append_unique.cm... | {
"content_hash": "4f0a1be2353a13237e64931e1648c42b",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 283,
"avg_line_length": 40.575268817204304,
"alnum_prop": 0.7008082681860341,
"repo_name": "UCSD-E4E/aerial_lidar",
"id": "7026430621ee7845ae657ea10f6d2c3a207f5312",
"size... |
#ifndef LUAOBJ_H
#define LUAOBJ_H
#include <stdint.h>
#include "lib/lua/lua.h"
#include "lib/lua/lualib.h"
#include "lib/lua/lauxlib.h"
typedef struct {
uint32_t type;
} luaobj_head_t;
/* Each mask should consist of its unique bit and the unique bit of all its
* super classes */
#define LUAOBJ_TYPE_IMAGE (1... | {
"content_hash": "2c0f22a2931bf1299993566319b3712e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 23.09090909090909,
"alnum_prop": 0.6745406824146981,
"repo_name": "rxi/lovedos",
"id": "f109354634e174071c3a666d368d0578b1301fd0",
"size": "937",
"... |
#ifndef DCVRUS_H
#define DCVRUS_H
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/dcmdata/dcelem.h"
/** a class representing the DICOM value representation 'Unsigned Short' (US)
*/
class DCMTK_DCMDATA_EXPORT DcmUnsignedShort
: public DcmElement... | {
"content_hash": "7d331a2ba56ec48163d3ebf358cb0dd6",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 97,
"avg_line_length": 39.81547619047619,
"alnum_prop": 0.6474809388548363,
"repo_name": "NCIP/annotation-and-image-markup",
"id": "3c5db6693489033812ee172d6f9e7e2ad24ee075"... |
use heap;
use raw_vec::RawVec;
use core::any::Any;
use core::borrow;
use core::cmp::Ordering;
use core::fmt;
use core::hash::{self, Hash};
use core::marker::{self, Unsize};
use core::mem;
use core::ops::{CoerceUnsized, Deref, DerefMut};
use core::ops::{Placer, Boxed, Place, InPlace, BoxPlace};
use core::ptr::{self, Un... | {
"content_hash": "143bed1af3c50679316ab3e1e231dce4",
"timestamp": "",
"source": "github",
"line_count": 561,
"max_line_length": 83,
"avg_line_length": 27.937611408199643,
"alnum_prop": 0.5501818413832706,
"repo_name": "LazyOxen/redox",
"id": "2e4ac13b34d02c16afd50c6a29fb6f03aaeb824f",
"size": "1731... |
import pytest
import os
import dj_haystack_url
def test_parser_for_xapian_backend_with_relative_path():
config = dj_haystack_url.parse('xapian:relative/path/to/xapian_index')
expected = {
'ENGINE': 'xapian_backend.XapianEngine',
'PATH': 'relative/path/to/xapian_index',
}
assert config... | {
"content_hash": "16c93793644f8d3ec60ccfaf21f8f215",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 80,
"avg_line_length": 28.390243902439025,
"alnum_prop": 0.6615120274914089,
"repo_name": "simpleenergy/dj-haystack-url",
"id": "6b26e4ce1a6e6259fb97236f3bae8b96d234c1cc",
... |
require File.expand_path('../boot', __FILE__)
# Pick the frameworks you want:
# require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
# require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited ... | {
"content_hash": "469ce032f05a24153dde4b54af3f16ae",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 99,
"avg_line_length": 40.60606060606061,
"alnum_prop": 0.7238805970149254,
"repo_name": "phallguy/refiddle-com",
"id": "476f3a12afc1c51769c5c8a9a8a357ded1517d86",
"size": ... |
using System;
using System.Diagnostics.Contracts;
using System.Linq;
/// <summary>
/// Extensions for Tuples
/// </summary>
public static partial class TupleExtensions
{
public static double Min<T1>(this Tuple<T1> value, Func<object, double> func)
{
Contract.Requires<ArgumentNullException>(value != null);
... | {
"content_hash": "2b44ef6900cad20ae8b108086af22720",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 119,
"avg_line_length": 37.08620689655172,
"alnum_prop": 0.6857275685727569,
"repo_name": "nicenemo/Noaber",
"id": "bdf0a425e4bfa5ab0bfb8e3488a13c84486ffd82",
"size": "2153... |
const functions = require('firebase-functions');
const cors = require('cors')({ origin: true });
const http = require('request');
const FALLBACK_SERVER = 'http://35.229.74.104:7000/';
// The code resends received request to fallback server. We need the intermediate link,
// because we can't connect http resources dir... | {
"content_hash": "32af433dd64aefc5f36ca796e92e59e9",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 96,
"avg_line_length": 34.026315789473685,
"alnum_prop": 0.674400618716164,
"repo_name": "google/startup-os",
"id": "ba8358c2359cb0bbcd787c6aa751c61dc0e5eafa",
"size": "133... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | {
"content_hash": "36904327a10862848b157861d87ab802",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 125,
"avg_line_length": 23.580310880829014,
"alnum_prop": 0.7396176664469347,
"repo_name": "filiphr/camunda-bpm-platform",
"id": "d206c19b3b9e8ca132dba0f577d0ba8c26eec7d2",
... |
export interface RequestPayload {
query: any;
body?: any;
}
| {
"content_hash": "59d4dad72886d98cc3b4a20516c28d35",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 33,
"avg_line_length": 16,
"alnum_prop": 0.6875,
"repo_name": "toxa16/stayer",
"id": "603854824bd50ff56b0e006d28844dad893bddac",
"size": "64",
"binary": false,
"copies":... |
package org.apache.drill.common;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import static org.apache.drill.shaded.guava.com.google.common.base.Preconditions.checkNotNull;
import static org.apache.drill.shaded.guava.com.google.common.base.Preconditions.checkState;
public fin... | {
"content_hash": "f3997cc27469178f555888fdbe2c8975",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 111,
"avg_line_length": 37.651162790697676,
"alnum_prop": 0.7217418159357628,
"repo_name": "paul-rogers/drill",
"id": "0dfce33ccdb20d79e4b1343b98366608d7e8c998",
"size": "4... |
from django.conf import settings
from django.core.urlresolvers import reverse
from django import http
from django.test.utils import override_settings
from mox3.mox import IsA # noqa
from openstack_dashboard import api
from openstack_dashboard.test import helpers as test
from openstack_dashboard.dashboards.admin.ima... | {
"content_hash": "253f116449fe62d055204a9c50508d87",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 79,
"avg_line_length": 45.95,
"alnum_prop": 0.5267803167694354,
"repo_name": "ankur-gupta91/horizon-net-ip",
"id": "42c5e797826bd3c61ea776e020ce6a7f4c400c28",
"size": "887... |
using System;
using System.IO;
using System.Text;
using System.Collections;
#if CLR_2_0 || CLR_4_0
using System.Collections.Generic;
#endif
using NUnit.Framework;
namespace NUnitLite.Runner
{
/// <summary>
/// The CommandLineOptions class parses and holds the values of
/// any options entered at the comman... | {
"content_hash": "31f646cbed9707242e281e20d5aaa646",
"timestamp": "",
"source": "github",
"line_count": 436,
"max_line_length": 117,
"avg_line_length": 32.54816513761468,
"alnum_prop": 0.4621943485307589,
"repo_name": "luyikk/ZYSOCKET",
"id": "7a7fa5524b9096271d801f2204a2a7438c36af59",
"size": "154... |
import histogram2d from './histogram2d';
import counts from './counts';
const dataMapping = {
histogram2d,
counts,
};
// ----------------------------------------------------------------------------
function getHandler(type) {
const handler = dataMapping[type];
if (handler) {
return handler;
}
throw ... | {
"content_hash": "138623380994486446b1a60baa348bc2",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 79,
"avg_line_length": 19.5,
"alnum_prop": 0.6225071225071225,
"repo_name": "CordyChen/VisMechan",
"id": "bc2c223a7633185950d8a0c787ed5b43f60b1ac5",
"size": "702",
"binar... |
define(['ContigBrowserPanel'], (Widget) => {
'use strict';
describe('The ContigBrowserPanel widget', () => {
it('should be defined', () => {
expect(Widget).toBeDefined();
});
});
});
| {
"content_hash": "0aef403f21aac97825ee2ca25c27f0f6",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 53,
"avg_line_length": 27.875,
"alnum_prop": 0.5112107623318386,
"repo_name": "briehl/narrative",
"id": "ea1c5594b9181a3e9728af806209da78faa88f05",
"size": "223",
"binary"... |
package org.hawkular.apm.api.model.trace;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
/**
* This class represents content associated with an exchanged message.
*
* @author gbrown
*
*/
public class Content {
@JsonInclude(Include.NON_EMPTY... | {
"content_hash": "3a04ccbe0a8e402b54e2ab6fa62926f1",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 75,
"avg_line_length": 21.58695652173913,
"alnum_prop": 0.5307150050352467,
"repo_name": "hawkular/hawkular-btm",
"id": "3f1c166a48995d3259c86b97cd12c80a11e23b31",
"size": ... |
from dynaconf.utils.parse_conf import parse_conf_data
def parse_data(data):
"""Return converted data from @int, @float, @bool, @json markers"""
return parse_conf_data(data)
def custom_var_dict(cvarlist):
cvarlist = cvarlist or []
return {
cvar['key']: parse_data(cvar['value'])
for cv... | {
"content_hash": "d291c992890725f16ddfba421cff5ba9",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 71,
"avg_line_length": 24.357142857142858,
"alnum_prop": 0.6451612903225806,
"repo_name": "abnerpc/quokka",
"id": "47510115298ba8b36ed3a38b68de8c5b4cd14d79",
"size": "358",... |
/*
* Open Source Software published under the Apache Licence, Version 2.0.
*/
package io.github.vocabhunter.gui.view;
import org.controlsfx.glyphfont.FontAwesome;
import org.controlsfx.glyphfont.Glyph;
import static io.github.vocabhunter.gui.common.GuiConstants.FONT_AWESOME;
public final class IconTool {
priv... | {
"content_hash": "4ec7284b320553960e49989b521b206d",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 73,
"avg_line_length": 25.46153846153846,
"alnum_prop": 0.7145015105740181,
"repo_name": "AdamCarroll/VocabHunter",
"id": "0a0f74cabd269689c1b528679a8a648c99d2369a",
"size"... |
module Rouge
class FileReader
attr_reader :input
def initialize(input)
@input = input
end
def file
case input
when '-'
$stdin
when String
File.new(input)
when ->(i){ i.respond_to? :read }
input
end
end
def read
@read ||= begin... | {
"content_hash": "01fa93efa6bbf75eb653190703b2baf8",
"timestamp": "",
"source": "github",
"line_count": 358,
"max_line_length": 87,
"avg_line_length": 24.022346368715084,
"alnum_prop": 0.4963953488372093,
"repo_name": "ucsb-cs190j-f17/ucsb-cs190j-f17.github.io",
"id": "e30d4737ca426653b85936069d158e1... |
<div id="foo1"><?php echo $foo1 ?></div>
<div id="foo2"><?php echo $foo2 ?></div>
<div id="foo3"><?php echo $sf_context->getController()->getPresentationFor('presentation', 'foo') ?></div>
| {
"content_hash": "31d7fb38e3c2923c3012de53c03449bc",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 106,
"avg_line_length": 63,
"alnum_prop": 0.6349206349206349,
"repo_name": "c2corg/symfony-1.0.11",
"id": "eb8d4cafda998531af721a1ebcb8478592b06c2b",
"size": "189",
"binar... |
namespace SAMRAI
{
namespace solv
{
template <int DIM>
class RobinBcCoefStrategy;
} // namespace solv
} // namespace SAMRAI
/////////////////////////////// NAMESPACE ////////////////////////////////////
namespace IBAMR
{
/////////////////////////////// STATIC ///////////////////////////////////////
const std::string... | {
"content_hash": "ef4e178939348af55a80e205ead3df9a",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 118,
"avg_line_length": 43.93069306930693,
"alnum_prop": 0.6366914581924724,
"repo_name": "iamciera/IBAMR",
"id": "f4cd0dc3e0fcedc7f6ab08b693aa499b3506da2a",
"size": "6888... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:... | {
"content_hash": "e3829b20d2db99db15d1e359b27db08a",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 74,
"avg_line_length": 36,
"alnum_prop": 0.6254480286738351,
"repo_name": "xinyer/Athena-T9",
"id": "731d23d5e9b0f8911975ac743ce2b41a5f0822ff",
"size": "1116",
"binary": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.