text stringlengths 2 1.04M | meta dict |
|---|---|
package org.springframework.boot.configurationprocessor;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;
import javax.lang.model.type.TypeMirror;
/**
* A {@link PropertyDescriptor} for a standard JavaBean property.
*
... | {
"content_hash": "93c8b726044f140775c1176a6edfa371",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 86,
"avg_line_length": 32.91428571428571,
"alnum_prop": 0.7916666666666666,
"repo_name": "lburgazzoli/spring-boot",
"id": "80d21421f3a09db3d67f82e862dd21fadeaf52d0",
"size"... |
FOUNDATION_EXPORT double Pods_DESCrypt_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_DESCrypt_TestsVersionString[];
| {
"content_hash": "2e3d8c13d466c9e8260d50c380df8785",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 73,
"avg_line_length": 44.666666666666664,
"alnum_prop": 0.8582089552238806,
"repo_name": "MaximKeegan/DESCrypt",
"id": "f2f3070cd42f4623d147c2cd8d281a6e4c71be9b",
"size": "... |
//
// inAppPurchaseView.m
// BlackBook
//
// Created by zaahtechnologiesindiapvt on 11/25/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import "inAppPurchaseView.h"
#import "epubstore_svcAppDelegate.h"
@implementation inAppPurchaseView
@synthesize _delegate;
- (id)initWithFrame:(CGRect)frame... | {
"content_hash": "7c2c3087fded70e871bcf0364c9f0c19",
"timestamp": "",
"source": "github",
"line_count": 378,
"max_line_length": 332,
"avg_line_length": 33.21957671957672,
"alnum_prop": 0.7330572588994186,
"repo_name": "KurianSaji/DASHBOARD---GSC",
"id": "3a8d3fbe816b080f50630ea6fcc97eead2876e0c",
"... |
package iavanish.collegepal.CommonClasses;
import iavanish.collegepal.Courses.Feedback;
import iavanish.collegepal.Deadlines.Deadline;
import iavanish.collegepal.DiscussionForum.Comment;
import iavanish.collegepal.DiscussionForum.Discussion;
import iavanish.collegepal.Resource.Resource;
/**
*
* @author himanshu
*... | {
"content_hash": "6da14d0bd9408927973b09fb2fff5951",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 87,
"avg_line_length": 22.319148936170212,
"alnum_prop": 0.6515729265967588,
"repo_name": "iavanish/CollegePal",
"id": "c684891a4ae77b85086a75c31d246d8519538939",
"size": "... |
using std::string;
class SpreadsheetApplication;
class Spreadsheet
{
public:
class SpreadsheetCell
{
public:
SpreadsheetCell();
SpreadsheetCell(double initialValue);
SpreadsheetCell(const string& initialValue);
SpreadsheetCell(const SpreadsheetCell& src);
SpreadsheetCell& operator=(const SpreadsheetCel... | {
"content_hash": "0c26789c75e7d72b9d77906c34a92a44",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 64,
"avg_line_length": 22.983333333333334,
"alnum_prop": 0.751269035532995,
"repo_name": "zzragida/CppExamples",
"id": "5b01e7d12c858fedc1541382ee5823a561c1ec94",
"size": "... |
if(typeof dojo == 'undefined')
throw 'Unable to load Shadowbox adapter, Dojo not found';
if(typeof Shadowbox == 'undefined')
throw 'Unable to load Shadowbox adapter, Shadowbox not found';
(function(S){
/**
* Holds all registered event handlers.
*
* @property Array events
* ... | {
"content_hash": "e216dc8cc1d2dd5a9d6754b876e64b47",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 84,
"avg_line_length": 33.53703703703704,
"alnum_prop": 0.47505981962083565,
"repo_name": "felladrin/joinuo",
"id": "aedef68dc58d192e5fd67ba7d078239c7d967047",
"size": "62... |
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: AssemblyTi... | {
"content_hash": "c65c4b4f52fb104802f4a2fbca0cbd4b",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 40.02777777777778,
"alnum_prop": 0.7265787647467037,
"repo_name": "mmooney/Sriracha.Deploy",
"id": "d457385917e1fba2b6ff6aa0da5c602bee16fb06",
"size"... |
// Template Source: BaseEntityCollectionPage.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------... | {
"content_hash": "206f452b99b8e9b225e6bb05cbc59e70",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 170,
"avg_line_length": 45.975,
"alnum_prop": 0.7074497009244154,
"repo_name": "microsoftgraph/msgraph-sdk-java",
"id": "0027a2e60cf0d75cea4476b01599a8d1843703c8",
"size": ... |
package cg.m.nodetika;
import java.util.Map;
import java.util.HashMap;
import java.util.Set;
import java.io.IOException;
import java.io.FileNotFoundException;
import java.io.File;
import java.io.InputStream;
import java.io.FileInputStream;
import java.io.ByteArrayOutputStream;
import java.io.OutputStreamWriter;
im... | {
"content_hash": "c22fa45a366fc994f2122e7f63f6c4d1",
"timestamp": "",
"source": "github",
"line_count": 550,
"max_line_length": 147,
"avg_line_length": 31.625454545454545,
"alnum_prop": 0.7542255950327699,
"repo_name": "Foldesk/node-tika",
"id": "c3d74a923b1be932523710d2865faa729ce4658e",
"size": "... |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Function Reference: getoutputaslist()</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample-... | {
"content_hash": "1579304819182f9b94f774aa6c3571c6",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 293,
"avg_line_length": 54.96938775510204,
"alnum_prop": 0.677742713940969,
"repo_name": "inputx/code-ref-doc",
"id": "d069b56445cc80af61b6912d4fde77774e44fc52",
"size": "5... |
@protocol OrgHamcrestDescription;
@protocol OrgHamcrestMatcher;
#include "J2ObjC_header.h"
#include "org/hamcrest/BaseMatcher.h"
@interface OrgHamcrestCoreIsSame : OrgHamcrestBaseMatcher {
}
- (instancetype)initWithId:(id)object;
- (jboolean)matchesWithId:(id)arg;
- (void)describeToWithOrgHamcrestDescription:(id<O... | {
"content_hash": "9f538d500747cda77ecc5a026f48dceb",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 94,
"avg_line_length": 23.75862068965517,
"alnum_prop": 0.8127721335268505,
"repo_name": "hambroperks/pollexor",
"id": "24d68790bc118dcf67e1a51c3ba67027ca2af062",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2... | {
"content_hash": "f7043c0f1c7d602806c1ea94b972cee1",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 204,
"avg_line_length": 31.084615384615386,
"alnum_prop": 0.5803019054689433,
"repo_name": "vedmishr/demo1",
"id": "581e927a4a91a453290fe422aa0dd6ce3247e0f5",
"size": "404... |
package org.jetbrains.plugins.ideavim.option;
import com.maddyhome.idea.vim.VimPlugin;
import com.maddyhome.idea.vim.api.VimInjectorKt;
import com.maddyhome.idea.vim.helper.CharacterHelper;
import com.maddyhome.idea.vim.options.OptionConstants;
import com.maddyhome.idea.vim.options.OptionScope;
import com.maddyhome.... | {
"content_hash": "1acb5b74013c8ed488c796f33edd4651",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 125,
"avg_line_length": 28.191616766467067,
"alnum_prop": 0.6901019541206457,
"repo_name": "JetBrains/ideavim",
"id": "d7307db008da4937333ea16d34a99286b957d8a2",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="studios.codelight.smartlogin">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
... | {
"content_hash": "be0224cf027b5b644cd18f27758a765c",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 106,
"avg_line_length": 36.041666666666664,
"alnum_prop": 0.6277456647398844,
"repo_name": "weiwenqiang/GitHub",
"id": "183b2edc27272736c4baff2487085f0d0952d431",
"size": "... |
<!--
@license Apache-2.0
Copyright (c) 2018 The Stdlib Authors.
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... | {
"content_hash": "0ed56d74cb34b4e003663388c02350f1",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 139,
"avg_line_length": 22.32,
"alnum_prop": 0.6230585424133811,
"repo_name": "stdlib-js/www",
"id": "e99b984abd43557fdb1e044e31925adb7f675d95",
"size": "3348",
"binary"... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_environment_w32_spawnv_16.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-16.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from an ... | {
"content_hash": "b6cb8ee81f2b669155e1fe998fcba909",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 108,
"avg_line_length": 28.363636363636363,
"alnum_prop": 0.6316773504273504,
"repo_name": "JianpingZeng/xcc",
"id": "fbd0326ea026f9c3d59c2f27c2bd0b9ab93a07f1",
"size": "3... |
<?php
namespace Go\Aop;
/**
* Interface-enumeration of framework features to use in checking and configuration
*/
interface Features
{
/**
* Enables interception of system function.
* By default this feature is disabled, because this option is very expensive.
*/
const INTERCEPT_FUNCTIONS = 1... | {
"content_hash": "1d09539cb206aafdcfa9d14aec10b447",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 83,
"avg_line_length": 26.325,
"alnum_prop": 0.6562203228869895,
"repo_name": "ayqy/aop",
"id": "a04e6e4760230aea2372c9d33da95d4797be399b",
"size": "1271",
"binary": fals... |
const assert = require('assert');
const {spawn} = require('child_process');
const {request} = require('gaxios');
const uuid = require('uuid');
const waitPort = require('wait-port');
// [END functions_pubsub_integration_test]
describe('functions_helloworld_pubsub integration test', () => {
// [START functions_pubsub... | {
"content_hash": "ac9c7dc1b207cc962dee9271e8440c26",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 77,
"avg_line_length": 31.44,
"alnum_prop": 0.5615776081424937,
"repo_name": "GoogleCloudPlatform/nodejs-docs-samples",
"id": "cc51ece71365642f6da3ec85ddc4a554901cbb52",
"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_91) on Tue Dec 29 12:44:17 AEDT 2015 -->
<title>org.bouncycastle.asn1.isismtt.x509 (Bouncy Castle Library 1.54 API Specification)</titl... | {
"content_hash": "19e9f9970ce9f2f582b1e1de955760c0",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 202,
"avg_line_length": 41.261538461538464,
"alnum_prop": 0.6624409644543873,
"repo_name": "GaloisInc/hacrypto",
"id": "fdfbdd8585e297bd6e88b3e90bf8143a6d5937aa",
"size": ... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | {
"content_hash": "dfc233c0b1666a615f5d03b3768a6d41",
"timestamp": "",
"source": "github",
"line_count": 2681,
"max_line_length": 80,
"avg_line_length": 35.75233121969414,
"alnum_prop": 0.6981283645620331,
"repo_name": "jpeach/mesos",
"id": "7d9732f1e432f6f0290d234242864cbdbf381fa8",
"size": "95852"... |
package org.apache.camel.spring.xml;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.util.ObjectHelper;
public class ConfiguredRouteBuilder extends RouteBuilder {
private String fromUri;
private String toUri;
public void configure() throws Exception {
ObjectHelper.notNull(f... | {
"content_hash": "7feb2aaef1bf105042f0858a8bf4a865",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 58,
"avg_line_length": 21.575757575757574,
"alnum_prop": 0.6587078651685393,
"repo_name": "Fabryprog/camel",
"id": "f26b045115b188fbec04cd4a795a6fc4229630c3",
"size": "1514... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.openx.data</groupId>
<artifactId>json-serde-parent</a... | {
"content_hash": "2ebf9ba2949db7fbef36cf8cf30a0be8",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 204,
"avg_line_length": 28.73076923076923,
"alnum_prop": 0.6571471069463037,
"repo_name": "vinothsekar/HiveSerde",
"id": "21f9f53f4e90bf81bcea9d046773037229252254",
"size"... |
module Giraffi
class Client
# Defines methods related to the regions
module Regions
# Returns all available regions
#
# @requires_apikey Yes
# @return [HTTParty::Response]
def find_regions
self.class.get("/regions.json?apikey=#{apikey}")
end
end
end
end
| {
"content_hash": "6d6bd52835269525260b4cf18e00ca12",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 56,
"avg_line_length": 21,
"alnum_prop": 0.6222222222222222,
"repo_name": "giraffi/giraffi",
"id": "071c414c2083a2cdad13c45071bdf4dd74ecbe69",
"size": "315",
"binary": fa... |
This is a simple Go HTTP server that exposes an API for managing a ToDo list.
### Dependencies
The only external dependency is https://github.com/mattn/go-sqlite3.
### Design thought process
I intentionally didn't use an ORM. I agree
with the logic in
[Golang, ORMs, and why I am still not using one](http://www.hyd... | {
"content_hash": "11ce44c3f018c42446977bdd8c9829a0",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 181,
"avg_line_length": 25.036231884057973,
"alnum_prop": 0.6723589001447178,
"repo_name": "ahare/shaleapps_todo",
"id": "5e397fd095b26528438d10708eb80c7af5786577",
"size"... |
#ifndef WINPR_NT_H
#define WINPR_NT_H
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
#include <winpr/windows.h>
#ifndef _WIN32
/* Defined in winnt.h, do not redefine */
#define STATUS_WAIT_0 ((NTSTATUS)0x00000000L)
#define STATUS_ABANDONED_WAIT_0 ((NTSTATUS)0x00000080L)
#define STATUS_USER_APC ((NTSTA... | {
"content_hash": "8e97f44e3c4efecd9d141f06f3bb2010",
"timestamp": "",
"source": "github",
"line_count": 1578,
"max_line_length": 141,
"avg_line_length": 53.11216730038023,
"alnum_prop": 0.7557480521649903,
"repo_name": "oshogbo/FreeRDP",
"id": "d7ba795902453be7541ac4dcf282ff18972abc67",
"size": "84... |
<?php
namespace TYPO3\CMS\Extensionmanager\Exception;
/**
* An exception when some dependency is unresolved
*/
class UnresolvedTypo3DependencyException extends UnresolvedDependencyException
{
}
| {
"content_hash": "7f4ade67f5abdf886b4576571f2a32de",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 78,
"avg_line_length": 18.09090909090909,
"alnum_prop": 0.8090452261306532,
"repo_name": "ahmedRguei/blogTypo",
"id": "d9ea66dae755b6b5a7bb763cfa1dc81b90fa4448",
"size": "6... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="2">
<profile kind="CleanUpProfile" name="soap2jms" version="2">
<setting id="cleanup.qualify_static_method_accesses_with_declaring_class" value="false"/>
<setting id="cleanup.always_use_this_for_non_static_method_access" value="false"/>
<setting ... | {
"content_hash": "d20ff19de2ad15beebf80b12ef7315d1",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 106,
"avg_line_length": 66.42622950819673,
"alnum_prop": 0.7576505429417572,
"repo_name": "jbricks/soap2jms",
"id": "efa946ee23ceee8edbbd83519c2707e48551caeb",
"size": "405... |
import { FULLY_QUALIFIED, MINIMALLY_QUALIFIED, Qualifier, UNQUALIFIED } from 'emojibase';
export function extractQualifier(type: string): Qualifier | null {
if (type === 'fully-qualified') {
return FULLY_QUALIFIED;
}
if (type === 'minimally-qualified') {
return MINIMALLY_QUALIFIED;
}
if (type === 'unqualifi... | {
"content_hash": "ea54953ecedd7f11e142662f25b0b5dc",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 89,
"avg_line_length": 21.705882352941178,
"alnum_prop": 0.6937669376693767,
"repo_name": "milesj/emojibase",
"id": "c17055cfb15230042c4743348c81cef6a8499940",
"size": "369... |
#pragma once
#include <aws/drs/Drs_EXPORTS.h>
#include <aws/drs/model/ReplicationConfigurationDataPlaneRouting.h>
#include <aws/drs/model/ReplicationConfigurationDefaultLargeStagingDiskType.h>
#include <aws/drs/model/ReplicationConfigurationEbsEncryption.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <... | {
"content_hash": "112060c6c457ff5ebbc7a978404878ea",
"timestamp": "",
"source": "github",
"line_count": 599,
"max_line_length": 208,
"avg_line_length": 42.40734557595993,
"alnum_prop": 0.7107314384694119,
"repo_name": "aws/aws-sdk-cpp",
"id": "76f88fc9236dc5900b310a4f328d3f29350ca888",
"size": "255... |
package org.apache.hadoop.hbase.hbql;
import org.apache.hadoop.hbase.hbql.client.HBqlException;
import org.apache.hadoop.hbase.hbql.impl.Utils;
import org.apache.hadoop.hbase.hbql.statement.HBqlStatement;
import org.apache.hadoop.hbase.hbql.util.TestSupport;
import org.junit.Test;
import java.util.Random;
public c... | {
"content_hash": "9b4e12254307ae81d2272ecbc23a49cb",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 174,
"avg_line_length": 30.697674418604652,
"alnum_prop": 0.5473484848484849,
"repo_name": "pambrose/HBql",
"id": "74447e07d671991fa6f3e042d2435009dd444bd0",
"size": "3503"... |
#import "NSObject.h"
// Not exported
@interface CHBLegend : NSObject
{
}
+ (id)readCHDLegendEntryFrom:(const struct XlChartCustomLegend *)arg1 state:(id)arg2;
+ (id)readFrom:(struct XlChartLegendFrame *)arg1 state:(id)arg2;
@end
| {
"content_hash": "0cadd7d6898e53a256c8d9fd90e454f6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 85,
"avg_line_length": 16.785714285714285,
"alnum_prop": 0.7361702127659574,
"repo_name": "matthewsot/CocoaSharp",
"id": "b2bc6e7fcb681b4d71cfe0fd27dc55df97802736",
"size":... |
/*
This file contains classes for GTK+ widget.
*/
////////////////////////////////////////////////////////////////////////////////
// internal header
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////... | {
"content_hash": "81f381c9dffd459d1b8266dd9e1609d5",
"timestamp": "",
"source": "github",
"line_count": 886,
"max_line_length": 162,
"avg_line_length": 26.146726862302483,
"alnum_prop": 0.6525511525511526,
"repo_name": "ZJUGKC/GKC",
"id": "ab48bf0e648cf246acbeac0da0c113fc7740aa75",
"size": "23460",... |
layout: page
title: Lee - Higgins Wedding
date: 2016-05-24
author: Raymond Mullen
tags: weekly links, java
status: published
summary: Donec ut purus id magna dictum.
banner: images/banner/leisure-04.jpg
booking:
startDate: 05/11/2018
endDate: 05/15/2018
ctyhocn: ELMNYHX
groupCode: LHW
published: true
---
Quisqu... | {
"content_hash": "83734e1b3dcef706f279b6af5ee982b4",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 647,
"avg_line_length": 93,
"alnum_prop": 0.8059628543499511,
"repo_name": "KlishGroup/prose-pogs",
"id": "9444f837b5f350b9681055fab7a1f600d7dc4d34",
"size": "2050",
"bin... |
---
layout: post
title: Custom Validators in Angular
imageUrl: /images/custom-validators-bg.jpeg
date: 2016-03-14T00:00:00.000Z
update_date: 2016-12-18T00:00:00.000Z
summary: >-
Often, we need to add custom validation capabilities to our application's
form. In this article we're going to explore how to implement cu... | {
"content_hash": "49c0bdfad6fee7a6bda592463fb1bfef",
"timestamp": "",
"source": "github",
"line_count": 452,
"max_line_length": 612,
"avg_line_length": 38.057522123893804,
"alnum_prop": 0.7209626787582839,
"repo_name": "thoughtram/blog",
"id": "81ee120c8a710b1b60c1e3dc65d572c4cfa4af64",
"size": "17... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="6dp"
android:background="@drawable/card_add_collection"... | {
"content_hash": "a6f991ce381ac69644b6a061a727c0b4",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 62,
"avg_line_length": 34.08108108108108,
"alnum_prop": 0.6082474226804123,
"repo_name": "shygiants/fit_android",
"id": "ba452582aac30f67036abd2eb61102ef28971981",
"size": ... |
import { Component, Input } from '@angular/core';
import { DragulaService } from 'ng2-dragula/ng2-dragula';
import { Monitoring } from '../model/monitoring';
import { QuestionBase } from '../model/question-base';
import { DropdownQuestion, DropdownOption } from '../model/question-dropdown';
import { TextboxQuestion ... | {
"content_hash": "2257605608f7cadea7643d250e6584b0",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 91,
"avg_line_length": 33.40677966101695,
"alnum_prop": 0.6423135464231354,
"repo_name": "watchdogpolska/bliski_publikator",
"id": "f435d620fbd418f44b8a072537d512142521eea3",... |
<?php
namespace stlrnz\json\converter\annotation;
use Doctrine\Common\Annotations\Annotation\Attribute;
use Doctrine\Common\Annotations\Annotation\Attributes;
use stlrnz\json\converter\exception\AnnotationException;
/**
* JsonDate annotation
*
* @author Stefan Lorenz
* @license Apache License 2.0
* @license ht... | {
"content_hash": "cef8d8817e3c7998d3714d49d924ea75",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 89,
"avg_line_length": 16.879310344827587,
"alnum_prop": 0.6700715015321757,
"repo_name": "stlrnz/PHPJsonConverter",
"id": "3588b665300e4b8942ab8cf9c057c720ae1ccd60",
"size... |
'use strict';
var fs = require('graceful-fs');
var jasminePit = require('jasmine-pit');
var JasmineReporter = require('./JasmineReporter');
var path = require('path');
var utils = require('../lib/utils');
var JASMINE_PATH = require.resolve('../../vendor/jasmine/jasmine-1.3.0');
var jasmineFileContent =
fs.readFile... | {
"content_hash": "27889f40d22933f207de2a4073d7f96a",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 80,
"avg_line_length": 32.08163265306123,
"alnum_prop": 0.5821882951653944,
"repo_name": "WildDylan/ReactNativeDemo",
"id": "701771b420a381086b75d8eab8996259a9805693",
"si... |
<?php
require_once('SecurityException.php');
/**
*
* @author Tobias Sarnowski
*/
class SecurityConfigurationException extends SecurityException {
}
| {
"content_hash": "c9eecfbd34f76fd0e9414452bb9f76d5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 64,
"avg_line_length": 12.076923076923077,
"alnum_prop": 0.7261146496815286,
"repo_name": "sarnowski/TypeSafe-security",
"id": "d273d7ee2c5b85dc852e600d248ec61505900771",
"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Tue Aug 16 17:15:35 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Package org.wildf... | {
"content_hash": "87a225e1f95dbbf14f851fc85d34fdb7",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 135,
"avg_line_length": 35.1484375,
"alnum_prop": 0.6159146476994888,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "cd4beae50675cf9fc8896811aa92eceb125f1158",
... |
from typing import Tuple
from CommonServerPython import *
def get_default_from_date(date_range: str) -> str:
"""
Gets a range string (eg. 30 days) and return a date string in the relevant Demisto query format.
:param date_range: string
Range (eg. 2 months) to create the date string from
:retu... | {
"content_hash": "4b919a81629f882f287b53046f72e907",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 110,
"avg_line_length": 33.63636363636363,
"alnum_prop": 0.5445945945945946,
"repo_name": "VirusTotal/content",
"id": "9aba07903344f0a0f197e3adefe8393f63f43786",
"size": "... |
<?php
require_once('lib/bootstrap.php');
class RoleTest extends KirbyTestCase {
protected $role;
public function setUp(): void {
$this->role = new Role(array(
'id' => 'testrole',
'name' => 'Test role',
'permissions' => array(
'*' => true,
'pa... | {
"content_hash": "00a18fa4592cd585d1b535b391a3d29a",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 122,
"avg_line_length": 31.63235294117647,
"alnum_prop": 0.6111111111111112,
"repo_name": "AhoyLemon/TheFPlus",
"id": "3791d1c4f3b7adbe7996c8e9ba736045d3f96e02",
"size": "... |
package org.elasticsearch.script.expression;
import org.apache.lucene.queries.function.ValueSource;
import org.apache.lucene.queries.function.docvalues.DoubleDocValues;
import org.elasticsearch.index.fielddata.AtomicNumericFieldData;
import org.elasticsearch.index.fielddata.DoubleValues;
/**
* A {@link org.apache.... | {
"content_hash": "8b94f39c64fdd4bf5ffb26783d6107ef",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 85,
"avg_line_length": 30.566666666666666,
"alnum_prop": 0.7175572519083969,
"repo_name": "peschlowp/elasticsearch",
"id": "ed374908cd6c3c046f28237a7ea38c5d3afd0285",
"size... |
#pragma once
// ibmxlc_long_double.hpp: nonconstexpr implementation of IEEE-754 long double manipulators
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#if defined(__IBMC__) || defined(__IBMCPP__... | {
"content_hash": "ed81b391643bcdc63ec21387bc942e12",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 113,
"avg_line_length": 37.853658536585364,
"alnum_prop": 0.625,
"repo_name": "stillwater-sc/universal",
"id": "90c535a293927793f772375ac68a6b235ed3f4df",
"size": "1552",
... |
SecurityTools
=============
Tools for WebPenetration
PHP
=============
## 1. AdminFinder.php
To Find web administrator zone
## 2. MakeFiles.php
To create files
## 3. SimpleUploader.php
To upload files
## 4. BypassSafeMode.php
To Bypass Safe Mode
## 5. PhpShell.php
To exec shell commands
## 6. Sym... | {
"content_hash": "6b5e101c556849f283202079c6a159fd",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 32,
"avg_line_length": 10.88888888888889,
"alnum_prop": 0.6479591836734694,
"repo_name": "ralphcorleone/SecurityTools",
"id": "21edddd785f7b9093f462dc4fbee01cea949446f",
"s... |
.PHONY: r d p sh cr cd cp csh lr ld lp lsh config all install clean \
distclean
all: r lr lsh
## Load Previous Configuration ####################################################################
-include config.mk
## Configurable options ###########################################################################
# ... | {
"content_hash": "49eb39d833b214db3f23423260bf69b8",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 238,
"avg_line_length": 41.50574712643678,
"alnum_prop": 0.6121572971476046,
"repo_name": "meteor/minisatp",
"id": "bf1dbed723b6649940f9308e26059a8189b03df3",
"size": "732... |
package com.wzc.criminalintent.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.wzc.criminalintent.database.CrimeDbSchema.CrimeTable;
/**
* Created by wzc on 2017/7/26.
*/
public class CrimeBaseHelper extends SQLit... | {
"content_hash": "a3047df4f8691bd2d7be834bab1f452a",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 78,
"avg_line_length": 29.68421052631579,
"alnum_prop": 0.62322695035461,
"repo_name": "jhwsx/AndroidProgramming",
"id": "cc917201e59d6ef07fa5954c47bedd87ed0e9a2d",
"size":... |
/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */
/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
/* ===============================... | {
"content_hash": "4ba88d5241371d870ab50e54cd732993",
"timestamp": "",
"source": "github",
"line_count": 308,
"max_line_length": 132,
"avg_line_length": 20.58116883116883,
"alnum_prop": 0.5220066256507335,
"repo_name": "ProKno/prokno.github.io",
"id": "325c65754f87b32b04a880971875eb9c1069b121",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment" AppPlatformVersion="8.0">
<DefaultLanguage xmlns="" code="en-US" />
<App xmlns="" ProductID="{cdc67ef6-fbf5-4e08-93b3-7ad2fd249c74}" Title="Booker" RuntimeType="Silverlight" Version="1.0.0.0" Genre=... | {
"content_hash": "42af9a52c9eb36b93915df1c67a8788f",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 278,
"avg_line_length": 47.733333333333334,
"alnum_prop": 0.6727188081936686,
"repo_name": "greenSyntax/BookerWP",
"id": "738ee7b40e54c2417080be425e2bc3d9be8504e0",
"size":... |
<?php
namespace Knob\Models;
/**
* For who can have images.
*
* @author José María Valera Reales
*/
abstract class Image extends ModelBase
{
/**
* Return a list with the sizes of img to delete.
*/
protected abstract function getImageSizesToDelete();
/**
* Set image
*
* @para... | {
"content_hash": "689b9e67ec24d0ca4c3efe63d36fc02d",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 110,
"avg_line_length": 34.266666666666666,
"alnum_prop": 0.49238002594033725,
"repo_name": "Chemaclass/knob-base",
"id": "1c169465c12d1fa73f30ea07bbf67c636227c8ff",
"size... |
<?php
namespace Proyecto\ExtensionBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Proyecto\ExtensionBundle\Entity\Extension
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="Proyecto\ExtensionBundle\Entity\ExtensionRepository")
*/
class Extension {
/**
* @var integer $id
*
* @ORM\Column(... | {
"content_hash": "3432f50b0e6c8618912193cc7c21c14d",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 86,
"avg_line_length": 20.427272727272726,
"alnum_prop": 0.5683133066310636,
"repo_name": "luchocapo1077/Proyecto",
"id": "d70c4bdc9eefbc60f366cdb28f439e08185fa0d1",
"size... |
package org.sleuthkit.autopsy.modules.embeddedfileextractor;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.IllegalArgumentException;
import java.lang.IndexOutOfBoundsException;
import java.lang.NullPointerException;
import java.nio.file.Paths;
import java.util.Arra... | {
"content_hash": "ba8fb27edd4e0eb7f509995741655ca7",
"timestamp": "",
"source": "github",
"line_count": 715,
"max_line_length": 214,
"avg_line_length": 40.73006993006993,
"alnum_prop": 0.6213515555250326,
"repo_name": "narfindustries/autopsy",
"id": "d58d935e976b58a7609642b92cc9f30e88ea7835",
"size... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MAIN_H
#define BITCOIN_MAIN_H
#include "bignum.h"
#include "sync.h... | {
"content_hash": "9edf9c2774956565464b486d19456fbe",
"timestamp": "",
"source": "github",
"line_count": 2288,
"max_line_length": 239,
"avg_line_length": 31.512237762237763,
"alnum_prop": 0.6182108183079057,
"repo_name": "ronpaulcoin/ronpaulcoin",
"id": "67e03a994bad5b41b2288a860f9198e56e157d2f",
"s... |
<?php
/**
* PlugintdGuestbook form.
*
* @package tdGuestbookPlugin
* @subpackage form
* @author Tomasz Ducin <tomasz.ducin@gmail.com>
* @version SVN: $Id: sfDoctrineFormPluginTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
*/
abstract class PlugintdGuestbookForm extends BasetdGuestbookForm
{
... | {
"content_hash": "c245179b9de5d083120869564a51cd20",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 108,
"avg_line_length": 30.921875,
"alnum_prop": 0.6523496715512885,
"repo_name": "Symfony-Plugins/tdGuestbookPlugin",
"id": "02601fc66e42abd4008231d16229927385582eeb",
"si... |
"""
Created on Tue May 23 12:08:24 2017
@author: ibackus
"""
import os
_directory = os.path.dirname(os.path.realpath(__file__))
execfile(os.path.join(_directory, '_default_config.py'))
execfile(os.path.join(_directory, '_user_config.py'))
# -------------------------------------------
# Setup
# -----------------------... | {
"content_hash": "475c701b0f56b86cc4bcd135dfaa408c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 56,
"avg_line_length": 28.105263157894736,
"alnum_prop": 0.5786516853932584,
"repo_name": "ibackus/compare-changa-builds",
"id": "64c4fccaafa3e1f191a6bb5fa3b2b0d6b8e4cbf3",
... |
package org.spanna.event.block;
import org.spanna.Location;
import org.spanna.block.Block;
import org.v.block.BlockFace;
import org.spanna.event.HandlerList;
/**
* Called when a piston retracts
*/
public class BlockPistonRetractEvent extends BlockPistonEvent {
private static final HandlerList handlers = new Han... | {
"content_hash": "96e5ea1046438d4d879f905e7e6cfdf4",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 82,
"avg_line_length": 26.942857142857143,
"alnum_prop": 0.6967126193001061,
"repo_name": "SpannaProject/SpannaAPI",
"id": "224d5be999ef5ebb702496c3858a51598d714ac6",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `wopen` fn in crate `libc`.">
<meta name="keywords" content... | {
"content_hash": "a50e9f44ea5c3ccba35106b980cfd5c9",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 601,
"avg_line_length": 46.78947368421053,
"alnum_prop": 0.5329583802024747,
"repo_name": "ArcherSys/ArcherSys",
"id": "c549e3f9f8f50be1305156e64dc80dbd4a4ad77a",
"size": "... |
"""Parsing of gitignore files.
For details for the matching rules, see https://git-scm.com/docs/gitignore
"""
import os.path
import re
from typing import (
BinaryIO,
Iterable,
List,
Optional,
TYPE_CHECKING,
Dict,
Union,
)
if TYPE_CHECKING:
from dulwich.repo import Repo
from dulwich.c... | {
"content_hash": "e2cdf3d09bcda397210d61e25fb4f0f5",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 87,
"avg_line_length": 28.967741935483872,
"alnum_prop": 0.5319227913882703,
"repo_name": "sonntagsgesicht/regtest",
"id": "b75560f35c84987f5fe9a4ab835faf773f428756",
"siz... |
package com.cache2.manager;
import java.util.Map;
public interface CacheManager<C extends Map<?, ?>> {
/**
* Get a cache from the map. If the cache is not found, it will create a new
* one and put it in the map.
*
* @param name
* @return cache
*/
C getCache(String name);
/**
* Put a cache into the... | {
"content_hash": "a055ae523418440804d60c75dbd6b845",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 77,
"avg_line_length": 16.266666666666666,
"alnum_prop": 0.6168032786885246,
"repo_name": "matthewlsawyer/cache2",
"id": "4375aa1eb1bbc322c61e5070352a62cfd6127548",
"size":... |
<?php
class SiteHelper
{
public static function selectSites ( $extra = "", $extraTables = "" )
{
$connection = Connection::getInstance();
$retrieveSitesSql = "SELECT site_id
FROM core_sites" . $extraTables . "
WHERE site_state <> 'D'
" . $extra;
return $... | {
"content_hash": "fa83f751c68aa015429b7ac18a9470a2",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 95,
"avg_line_length": 15.747252747252746,
"alnum_prop": 0.5450104675505931,
"repo_name": "hugomarin/artBO",
"id": "4117e30c39928cda62018e96837c40d74140584f",
"size": "1433... |
package com.bitdubai.fermat_cbp_api.layer.cbp_sub_app_module.crypto_customer.exceptions;
import com.bitdubai.fermat_api.FermatException;
/**
* Created by eze on 2015.07.30..
*/
public class CantSolveRequestLaterException extends FermatException {
/**
* This is the constructor that every inherited FermatExc... | {
"content_hash": "cad525594416a423938db8ebf752c558",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 175,
"avg_line_length": 55.25,
"alnum_prop": 0.7475113122171946,
"repo_name": "fvasquezjatar/fermat-unused",
"id": "e63df4a958889910f2f81b5690357de9b403ad6d",
"size": "1105... |
<html lang="en">
<head>
<title>Function-like Macros - The C Preprocessor</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The C Preprocessor">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Macros.ht... | {
"content_hash": "db8e715fccfb037a9684742b65b74504",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 128,
"avg_line_length": 41.65,
"alnum_prop": 0.714765906362545,
"repo_name": "trfiladelfo/tdk",
"id": "ba36c1f615f01821206bd68f3f8d51780b96cb99",
"size": "4165",
"binary... |
import sys
import deproxy
import unittest
import threading
import logging
import socket
import argparse
import time
deproxy_port_base = 9999
deproxy_port_iter = None
def get_next_deproxy_port():
global deproxy_port_iter
if deproxy_port_iter is None:
def deproxy_port_iter_func():
for i in... | {
"content_hash": "a191b8bccb75a2b5cab2ae6aa336f576",
"timestamp": "",
"source": "github",
"line_count": 627,
"max_line_length": 79,
"avg_line_length": 39.14194577352472,
"alnum_prop": 0.6028441039850053,
"repo_name": "izrik/pydeproxy",
"id": "4f9b4bdd9b5a7d32fa14282472378ea4ccb2937d",
"size": "2456... |
<div class="sidebar-background"></div>
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="category-list">
<ul class="categories">
{% assign categories = (site.categories | sort) %}
{% for category in categories %}
{% as... | {
"content_hash": "637f8968acdc3d9d45b57c4f2c70919b",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 126,
"avg_line_length": 39.666666666666664,
"alnum_prop": 0.473109243697479,
"repo_name": "mrf00/mrf00.github.io",
"id": "0c264b5dbea82a3628d38849fad65370e363f262",
"size":... |
__author__ = 'greg'
import matplotlib.pyplot as plt
from matplotlib.collections import PolyCollection
import numpy as np
import csv
import json
from aggregation_api import AggregationAPI
import matplotlib.cbook as cbook
import sys
# subject_id = int(sys.argv[1])
# minimum_users = int(sys.argv[2])
subject_id = 511723
... | {
"content_hash": "844fad0fc3611f54d6d965bb3630a4bc",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 82,
"avg_line_length": 25.67391304347826,
"alnum_prop": 0.6714648602878917,
"repo_name": "zooniverse/aggregation",
"id": "142caccb946f05f475663589d138ebeccc8947b4",
"size":... |
package fixtures
import (
"net/http"
"github.com/maxbrunsfeld/counterfeiter/v6/fixtures/another_package"
)
//counterfeiter:generate . EmbedsInterfaces
type EmbedsInterfaces interface {
http.Handler
another_package.AnotherInterface
InterfaceToEmbed
DoThings()
}
type InterfaceToEmbed interface {
EmbeddedMetho... | {
"content_hash": "302f1d1e822a476f766e6d2a15ae1f39",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 68,
"avg_line_length": 16.65,
"alnum_prop": 0.7987987987987988,
"repo_name": "maxbrunsfeld/counterfeiter",
"id": "2b66deec2994edcd23e584eb8e5c6d9a3527fc56",
"size": "333",
... |
#ifndef __ACTION__
#define __ACTION__
/**
\brief Action to be perfomed by a Robot during a timeStep.
*/
struct Action {
double v; //!< The desired speed of the Robot.
double w; //!< The desired turning rate of the Robot.
double turretAngle; //<! The desired angle of the turret.
bool shoo... | {
"content_hash": "893e6acab1b5e171ab99da8090e06e00",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 65,
"avg_line_length": 25.6875,
"alnum_prop": 0.6180048661800487,
"repo_name": "braak/CppRobots",
"id": "3a561c34b0c7bc391ac44998e36042dd53beaaba",
"size": "626",
"binary... |
#ifndef SKY_ENGINE_CORE_EDITING_INSERTTEXTCOMMAND_H_
#define SKY_ENGINE_CORE_EDITING_INSERTTEXTCOMMAND_H_
#include "sky/engine/core/editing/CompositeEditCommand.h"
namespace blink {
class InsertTextCommand final : public CompositeEditCommand {
public:
enum RebalanceType {
RebalanceLeadingAndTrailingWhi... | {
"content_hash": "17d129a4a566c4d04b84ff426f6b05ee",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 120,
"avg_line_length": 31.022727272727273,
"alnum_prop": 0.7677655677655678,
"repo_name": "collinjackson/mojo",
"id": "7aafe8f9970a51cea38f33ef3ea7063ec456202d",
"size": "... |
<?php
/**
* ResourceParamsTest
*
* PHP version 5
*
* @category Class
* @package Voximplant
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Voximplant HTTP AP... | {
"content_hash": "7b2909326c735cff54322c010be41bcd",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 76,
"avg_line_length": 21.049180327868854,
"alnum_prop": 0.6495327102803738,
"repo_name": "DmitryIvaneychik/phpsdk",
"id": "2110faa3213ad0b955aebd7a81e9e4940b7918cb",
"siz... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Watchr | Dashboard</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-... | {
"content_hash": "10e1f64e75b7f141824e4a6609947216",
"timestamp": "",
"source": "github",
"line_count": 802,
"max_line_length": 184,
"avg_line_length": 36.584788029925186,
"alnum_prop": 0.45857332742578644,
"repo_name": "andreyors/ecomhack-oct15-watchr",
"id": "34db0fd574a2798b174365be3933bd6fc26a32f... |
namespace reporting {
ReportQueueManualTestContext::ReportQueueManualTestContext(
base::TimeDelta period,
uint64_t number_of_messages_to_enqueue,
Destination destination,
Priority priority,
CompletionCallback completion_cb,
scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner,
Bui... | {
"content_hash": "5d4db5dea38dab7c0286449dc9c5b4d3",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 79,
"avg_line_length": 33.62376237623762,
"alnum_prop": 0.6952296819787986,
"repo_name": "chromium/chromium",
"id": "441953d7a00e93d13476ba35233e9ce281a61c36",
"size": "42... |
<?php
/**
* User: matteo
* Date: 14/12/12
* Time: 23.48
*
* Just for fun...
*/
namespace Cypress\GitElephantHostBundle\Git;
use JMS\DiExtraBundle\Annotation\Service;
use GitElephant\Repository;
/**
* split the ref from the path
*
* @Service("ref_path.splitter")
*/
class RefPathSplitter
{
/**
* sp... | {
"content_hash": "a7ea6af514f0679b088da4d90e36df1f",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 99,
"avg_line_length": 26.081632653061224,
"alnum_prop": 0.5140845070422535,
"repo_name": "matteosister/gitelephant.cypresslab.net",
"id": "ebb92fca4b45ce43a1c103e12895fada86... |
echo "Starting NodeAgent..."
# Run node-agent
/usr/local/bin/node_agent \
--env onprem \
--cert-chain /usr/local/bin/node_agent.crt \
--key /usr/local/bin/node_agent.key \
--workload-cert-ttl 90s \
--root-cert /usr/local/bin/istio_ca.crt >/var/log/node-agent.log 2>&1 &
echo "Starting Application..."
# Start ... | {
"content_hash": "4fa0218b8fe3b3e741e7d5031f2a826f",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 73,
"avg_line_length": 30.875,
"alnum_prop": 0.694331983805668,
"repo_name": "geeknoid/istio",
"id": "061d721ee007be52d96fde8ff64d26ddb06f6f42",
"size": "1079",
"binary":... |
#pragma once
#include "paddle/framework/eigen.h"
#include "paddle/framework/op_registry.h"
namespace paddle {
namespace operators {
template <typename Place, typename T, int Rank>
void EigenTranspose(const framework::ExecutionContext& context,
const framework::Tensor& in, framework::Tensor& out... | {
"content_hash": "126e7cd38bc6e0f2cccedb0cc9688700",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 75,
"avg_line_length": 31.301724137931036,
"alnum_prop": 0.5585238226383916,
"repo_name": "pengli09/Paddle",
"id": "aaa3f47ab5545accd4d1108e0ad6f5a3062186d0",
"size": "424... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/linear_layout"
android:layout_width="match_parent"
android:layout_height="@dimen/vertical_view_group_double_height"
android:background="@color/no_color"
android:orientatio... | {
"content_hash": "5f379004d0c3e5c19f3ec39c5f6a2630",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 73,
"avg_line_length": 36.53125,
"alnum_prop": 0.6120615911035072,
"repo_name": "xuyunqiang/SwitchViewGroup",
"id": "820a91aa254731090021c082922ef5a5a2f84a56",
"size": "234... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Why base-58 instead of standard base-64 encoding?
// - Don't want 0OIl char... | {
"content_hash": "2ff1e386ac3ec9115f5ef92019251c59",
"timestamp": "",
"source": "github",
"line_count": 485,
"max_line_length": 114,
"avg_line_length": 28.18144329896907,
"alnum_prop": 0.5965027802165642,
"repo_name": "eagleeyee/ZenithCoin",
"id": "9d3bb2a01f5ab6c418c230e27e54e521a9467fa6",
"size":... |
package com.amazonaws.services.route53.model;
import java.io.Serializable;
import com.amazonaws.AmazonWebServiceRequest;
/**
* <p>
* The input for a ListResourceRecordSets request.
* </p>
*/
public class ListResourceRecordSetsRequest extends AmazonWebServiceRequest
implements Serializable, Cloneable {
... | {
"content_hash": "000200bd0215d69b655773e43c16afaa",
"timestamp": "",
"source": "github",
"line_count": 661,
"max_line_length": 89,
"avg_line_length": 36.680786686838125,
"alnum_prop": 0.5574115317990597,
"repo_name": "trasa/aws-sdk-java",
"id": "6754d61cf9a2d0f6f1ecb597b926bae0040892fb",
"size": "... |
// Copyright 2012-2013 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-MI... | {
"content_hash": "60c984e38eb01c239088c8dfa09b53df",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 97,
"avg_line_length": 25.393203883495147,
"alnum_prop": 0.5694895813419996,
"repo_name": "fabricedesre/rust",
"id": "42287736ffa5f2a46ad172dd96fa34c62967a6f3",
"size": "5... |
The first way Brain Monkey offers to monkey patch a function is `Functions\when()`.
This function has to be used to **set a behavior** for functions.
`when()` and 5 related methods are used to define functions \(if not defined yet\) and:
* make them return a specific value
* make them return one of the received argu... | {
"content_hash": "18f7e1f8e3346cc27cd4f7a85c8de9d7",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 215,
"avg_line_length": 32.08510638297872,
"alnum_prop": 0.6986074270557029,
"repo_name": "Brain-WP/BrainMonkey",
"id": "e5e32d37804a0f6d43d49ac54635b5e083e920d9",
"size": ... |
package sh.isaac.provider.qa;
import java.util.HashMap;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.regex.Pattern;
import sh.isaac.MetaData;
import sh.isaac.api.Get;
import sh.isaac.api.chronicle.LatestVersion;
import sh.isaac.api.chronicle.Version;
import sh.isaac.api.chronicle.VersionType;
im... | {
"content_hash": "8e9bf2baa72829d74a8bc54d1e4469ce",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 135,
"avg_line_length": 32.57377049180328,
"alnum_prop": 0.6957725213890287,
"repo_name": "OSEHRA/ISAAC",
"id": "f1e653dd6d49d65233df8ca6c26560a68d840688",
"size": "5190",... |
package com.rvprg.sumi.transport;
import com.google.inject.Inject;
import com.rvprg.sumi.protocol.MessageConsumer;
import net.jcip.annotations.Immutable;
@Immutable
public class MemberConnectorListenerImpl implements MemberConnectorListener {
private final MessageConsumer messageConsumer;
private final Chann... | {
"content_hash": "8cb047496225310f5a021a4589fc1c90",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 127,
"avg_line_length": 27.974358974358974,
"alnum_prop": 0.7442713107241063,
"repo_name": "rvprg/pet",
"id": "b710c6dbee51ec36875d7c6cabbad25a928570c4",
"size": "1091",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace Einstein.Security.Identity
{
public static class IUserIdentityExtensions
{
public static IEnumerable<Claim> GetBaseClaims(this IUserIdentity identity)
{
if (identit... | {
"content_hash": "0e2de68e152ceef1fbc06acf57e649ce",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 143,
"avg_line_length": 39.301886792452834,
"alnum_prop": 0.5808929428708594,
"repo_name": "PaulWeakley/Einstein",
"id": "4d46acabe35e6fec7b396f17f01afe1a811d186d",
"size":... |
<?php
/**
* Returns the text of the error message from previous MySQL operation
*
* @phpstub
*
* @param resource $link_identifier
*
* @return string Returns the error text from the last MySQL function, or
* (empty string) if no error occurred.
*/
function mysql_error($link_identifier = NULL)
{
... | {
"content_hash": "93c4a5a73623a88c32ec8add4cb1ad8a",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 73,
"avg_line_length": 21.4,
"alnum_prop": 0.6697819314641744,
"repo_name": "schmittjoh/php-stubs",
"id": "824bb475020c2ea5c91baf90ccd7b75ad4334838",
"size": "321",
"bina... |
from hazelcast.serialization.bits import *
from hazelcast.protocol.builtin import FixSizedTypesCodec
from hazelcast.protocol.client_message import OutboundMessage, REQUEST_HEADER_SIZE, create_initial_buffer
from hazelcast.protocol.builtin import StringCodec
# hex: 0x012000
_REQUEST_MESSAGE_TYPE = 73728
# hex: 0x012001... | {
"content_hash": "5d0faa9b156f76f78e4784c088b41181",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 108,
"avg_line_length": 43.89473684210526,
"alnum_prop": 0.802158273381295,
"repo_name": "hazelcast/hazelcast-python-client",
"id": "b0879d678144963dead8c5cfbed1d7ea276ab8a6"... |
package io.reinert.requestor.gwtjackson.rebind.codegen;
import com.squareup.javapoet.CodeBlock;
import com.squareup.javapoet.MethodSpec;
/**
* A method schema that can be assembled to later get its spec.
*
* @author Danilo Reinert
*/
public abstract class MethodAssembler {
private MethodSpec spec;
prot... | {
"content_hash": "24a2ad0c05cb9abf52d32439d6a710d5",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 83,
"avg_line_length": 25.766666666666666,
"alnum_prop": 0.684346701164295,
"repo_name": "reinert/requestor",
"id": "6cbb9554050801065ddea64a7269826893b75003",
"size": "137... |
'use strict';
import React from 'react';
import PropTypes from 'prop-types';
import radium from 'radium';
import areEqual from 'fbjs/lib/areEqual';
import moment from 'moment';
const timeTypes = {
hour: PropTypes.number,
minute: PropTypes.number,
second: PropTypes.number,
millisecond: PropTypes.number
};
@ra... | {
"content_hash": "26eae055fc086e9d46e0681b3b6c6288",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 106,
"avg_line_length": 23.735294117647058,
"alnum_prop": 0.6028500619578686,
"repo_name": "HsuTing/cat-components",
"id": "d257cc2f44ff6048988eed49ff8802314479ca0a",
"size... |
// Code generated by client-gen. DO NOT EDIT.
// This package has the automatically generated fake clientset.
package fake
| {
"content_hash": "ed92df6bb5d48a5bfab8ff029afee901",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 63,
"avg_line_length": 21,
"alnum_prop": 0.7619047619047619,
"repo_name": "kubeflow/katib",
"id": "d2e3339ea31a8d5aa0254a54007b0ca5e58b55d3",
"size": "693",
"binary": fals... |
<?php
namespace Store\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Zend\Form\Annotation;
/**
* Users
*
* @ORM\Table(name="categories")
* @ORM\Entity(repositoryClass="Store\Entity\Repository\CategoryRepositor... | {
"content_hash": "2c2edd58b9ffc6d4be53191d6f6753e2",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 76,
"avg_line_length": 21.79245283018868,
"alnum_prop": 0.5731601731601732,
"repo_name": "slby/Store",
"id": "489fad6b12ecb25d90f8cc0d1dbcd3b3baf9a0d0",
"size": "1155",
"... |
![][logo]
# Chatable Web Client
The official Chatable Web Chat client
[logo]: https://raw.githubusercontent.com/Chatable/chatable.github.io/master/img/chatableclienticon-small.png "Chatable"
[](https://drone.io/github.com/Chatable/ch... | {
"content_hash": "aa58b7169416ed86c7b10434350d1759",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 151,
"avg_line_length": 31.322580645161292,
"alnum_prop": 0.752832131822863,
"repo_name": "Chatable/chatable-client-web",
"id": "896be9e6434ad977777b27578a01df2eb5d33ba2",
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | {
"content_hash": "a7fea55d30b9cedf77345427f82f3b33",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 84,
"avg_line_length": 34.6,
"alnum_prop": 0.5312413982934214,
"repo_name": "vzrus/VZF",
"id": "cf33d6fc7455879bc4ee7d782ae303ff9a462c25",
"size": "3635",
"binary": fals... |
-- MySQL dump 10.13 Distrib 5.7.11, for osx10.11 (x86_64)
--
-- Host: localhost Database: amdv_error
-- ------------------------------------------------------
-- Server version 5.7.11
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS *... | {
"content_hash": "a8c831db7d9bdf037b5b9f176ca0bf2b",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 83,
"avg_line_length": 40,
"alnum_prop": 0.6659090909090909,
"repo_name": "am1tanaka/send-error",
"id": "2e0028d81fb8ec010579e380845c7b79726a8e0b",
"size": "1760",
"binar... |
<?php
namespace Acme\StoreBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Doctrine\ORM\EntityRep... | {
"content_hash": "b030a4f85c4a0b7fac22f72ffc978502",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 76,
"avg_line_length": 30.693877551020407,
"alnum_prop": 0.605718085106383,
"repo_name": "rozmarin-2013/catalog",
"id": "c04b3d6e14cc40320b6dd08aeba72489c89b4927",
"size": ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NewRelicSharp.Tests.Commands.Get
{
[TestClass]
public class GetApplicationIdsTest : TestCommandsBase
{
[TestMethod]
public void TestGetApplicationIds()
{
var command = testCommandBuilder.CreateG... | {
"content_hash": "8101d4d7a50e8c5814b42f345d86c165",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 80,
"avg_line_length": 24.59090909090909,
"alnum_prop": 0.6654343807763401,
"repo_name": "akuryan/New-Relic-Rest-Api",
"id": "3fe0b29d99d3b6b1f66c5cd3a787462daee82ee1",
"si... |
<?php
namespace lithium\tests\mocks\net\http;
use lithium\core\Libraries;
class MockSocket extends \lithium\net\Socket {
public $data = null;
public $configs = [];
public function __construct(array $config = []) {
parent::__construct((array) $config);
}
public function open(array $options = []) {
paren... | {
"content_hash": "fd921e65820e207c00687d731eec82e8",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 86,
"avg_line_length": 23.821428571428573,
"alnum_prop": 0.5932033983008496,
"repo_name": "UnionOfRAD/lithium",
"id": "db8c3cc921c907463d3e5bc3b8ac2b4a5c182dfc",
"size": "2... |
from handlers.index import IndexHandler
from handlers.command import CommandListHandler, CommandWSHandler
from handlers.share import ShareHandler
from handlers.marathon import MarathonEventsHandler
url_patterns = [
(r"/", IndexHandler),
(r"/share/(.*)", ShareHandler),
(r"/ws/invoke", CommandWSHandler),
... | {
"content_hash": "a2fc2e57605526ec00798f33d2cb9db0",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 65,
"avg_line_length": 35,
"alnum_prop": 0.7476190476190476,
"repo_name": "shizhz/tutu",
"id": "74fbb9a0e4c3304a476f24bd8509ab814ac72f52",
"size": "445",
"binary": false,... |
<?php
/**
* Short description
*
* Long Description
*
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
*/
namespace Pharc;
class Pharc
{
const VERSION = '@package_version@';
const BRANCH_ALIAS_VERSION = '@package_branch_alias_version@';
const RELEASE_DATE = '@release_date@';
} | {
"content_hash": "90c63478d6f2359e04df7d35efb71e50",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 70,
"avg_line_length": 17.77777777777778,
"alnum_prop": 0.659375,
"repo_name": "theshadow/pharc",
"id": "218da6f5068999e2296cf8a83712611da54117d5",
"size": "320",
"binary... |
PEAR_PackageFileManager_File->_setupIgnore, empty array
--SKIPIF--
--FILE--
<?php
require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'setup.php.inc';
$pfm->_setupIgnore(array(), 1);
$phpunit->assertFalse($pfm->ignore[1], 'should be false if not an array');
echo 'tests done';
?>
--EXPECT--
tests done | {
"content_hash": "e8338255577c35d717a0ef3726415062",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 80,
"avg_line_length": 28.454545454545453,
"alnum_prop": 0.6996805111821086,
"repo_name": "pear/PEAR_PackageFileManager",
"id": "d22a647e0989702a6b7d61896e124df189cd8b39",
... |
//CHECKSTYLE:FileLength:OFF
package org.pentaho.di.repository.kdr;
import java.util.Date;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.ProgressMonitorListener;
import org.pentaho.di.core.RowMetaAndData;
import org.pentaho.di.co... | {
"content_hash": "4892b119638b11c7555945154175af67",
"timestamp": "",
"source": "github",
"line_count": 3132,
"max_line_length": 115,
"avg_line_length": 41.061621966794384,
"alnum_prop": 0.6190039267524591,
"repo_name": "rfellows/pentaho-kettle",
"id": "a2e1d70864d98f67b955586033fca9b595c008d4",
"s... |
using System;
using System.Reactive.Concurrency;
using ReactiveUI;
namespace Akavache
{
public static class BlobCache
{
static string applicationName;
static ISecureBlobCache perSession = new TestBlobCache(Scheduler.Immediate);
static BlobCache()
{
if (RxApp.InUnitT... | {
"content_hash": "021966b8af3eb8bf55ec405a3cb7099e",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 97,
"avg_line_length": 25.46987951807229,
"alnum_prop": 0.5179754020813624,
"repo_name": "jorik041/Akavache",
"id": "7994ffe69b23ff16321bc3cc8a78c1526bffcf3e",
"size": "211... |
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BV53D27H52"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BV53D27H52');
</script>
<script ... | {
"content_hash": "87aad866cdc1b715250936057be77030",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 178,
"avg_line_length": 53.476190476190474,
"alnum_prop": 0.6708222024339566,
"repo_name": "ashrafMageed/ashrafMageed.github.io",
"id": "ddc5455ae527deff382183dde851fba23fed2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.