text stringlengths 2 1.04M | meta dict |
|---|---|
// Software License Agreement (BSD License)
//
// Copyright (c) 2010-2014, Deusty, LLC
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms,
// with or without modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code m... | {
"content_hash": "5c2fa12dc1a5682af38a05f930414201",
"timestamp": "",
"source": "github",
"line_count": 536,
"max_line_length": 123,
"avg_line_length": 36.468283582089555,
"alnum_prop": 0.66373356525298,
"repo_name": "fhchina/KZBootstrap",
"id": "ae0b765267b3359a76e26398e883c132dd41999d",
"size": "... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | {
"content_hash": "3c0d7b1f6e11006f4a5d02918d57dc20",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 79,
"avg_line_length": 34.18888888888889,
"alnum_prop": 0.6811829704257394,
"repo_name": "baslr/ArangoDB",
"id": "0b6ad4d1e1a7728ad886d1f250009e04441a908f",
"size": "3077",... |
@implementation AllGroupCell
- (void)drawRect:(CGRect)rect{
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSetFillColorWithColor(context, [UIColor clearColor].CGColor);
CGContextFillRect(context, rect);
[self setDownLine:context withRect:rect];
}
-(void)setDownLine:(CGContext... | {
"content_hash": "441353a5ff31855d0e6e9fee1f44ed46",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 112,
"avg_line_length": 35.214285714285715,
"alnum_prop": 0.6932048681541582,
"repo_name": "liuxianghong/SmartLight",
"id": "7682aaf3c941524788781731c222bd8e85ca533d",
"si... |
rock.namespace('pong.engine');
/**
* @constructor
* @extends rock.game.engine.GameState
*
* @author Luis Alberto Jiménez
*/
pong.engine.PongState = function () {
rock.super_(this);
this.winner = false;
};
rock.extends_(pong.engine.PongState, rock.game.engine.GameState);
pong.engine.PongState.BALL_BOUND... | {
"content_hash": "a612f76503305cdd33243639bfc9ccc2",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 65,
"avg_line_length": 18.82051282051282,
"alnum_prop": 0.6975476839237057,
"repo_name": "lajimenez/pong",
"id": "e97210fadf267a197e480a5ea16ed9c35b46ad9c",
"size": "735",
... |
<!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_02) on Mon Feb 16 06:15:20 CET 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>IdeaSingleEntryLibr... | {
"content_hash": "2d72191d1031677b18e8f024aaaec026",
"timestamp": "",
"source": "github",
"line_count": 276,
"max_line_length": 425,
"avg_line_length": 45.71376811594203,
"alnum_prop": 0.6599033050645954,
"repo_name": "huntervwang/bobingqing_www",
"id": "06ac0b84fae628d82037f441d524b6eb8834e317",
"... |
Article 1318
----
L'acte qui n'est point authentique par l'incompétence ou l'incapacité de
l'officier, ou par un défaut de forme, vaut comme écriture privée, s'il a été
signé des parties.
| {
"content_hash": "6d01cc85ac6442fd27800ec6f3dfef18",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 77,
"avg_line_length": 37.6,
"alnum_prop": 0.7659574468085106,
"repo_name": "tjhorner/illacceptanything",
"id": "463956b739dc47e4393b250ab7086a48636cafe2",
"size": "196",
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "7f974359bc7d89b7ca2bd1c5fe210bbc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "b76a200e0370f37a3c548a8edfe29a156cf42610",
"size": "199... |
//
// UIProgressView+HDThemeStyle.h
// Pods
//
// Created by Dailingchi on 15/9/9.
//
//
#import <UIKit/UIKit.h>
#import "HDThemeStyle.h"
@interface UIProgressView (HDThemeStyle) <HDThemeStyle>
/**
*
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/UIKitUICatalog/UIProgressView.ht... | {
"content_hash": "1c27990a26031fdac10be6dc069d062e",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 161,
"avg_line_length": 24.8,
"alnum_prop": 0.7325268817204301,
"repo_name": "Haidora/HaidoraThemeKit",
"id": "32f4f032c3156c2a98dfc4ab8c4e65ff8ef784cb",
"size": "744",
"... |
git clone https://github.com/steven-/SymfonyMvc MicroBlogSymfony2
cd MicroBlogSymfony2
##### Install dependencies
php composer.phar install
##### Create and fill the database (MySQL)
php app/console doctrine:database:create
php app/console doctrine:schema:create
php app/console doctrine:fixt... | {
"content_hash": "2c2682e438b10c68689930a598c0194b",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 69,
"avg_line_length": 23.130434782608695,
"alnum_prop": 0.7255639097744361,
"repo_name": "steven-/MicroBlog_Symfony2",
"id": "05e3ff4fbc1737f5d9a2bfabcb7d4e2ce5a095f7",
"s... |
package org.apache.kafka.clients;
import java.util.concurrent.atomic.AtomicBoolean;
import org.apache.kafka.common.Cluster;
import org.apache.kafka.common.errors.TimeoutException;
import org.apache.kafka.test.TestUtils;
import org.junit.After;
import org.junit.Test;
import static org.junit.Assert.*;
public class M... | {
"content_hash": "1eeb09538e2726723e2e98ad94f84ea0",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 104,
"avg_line_length": 36.83695652173913,
"alnum_prop": 0.6226025376217174,
"repo_name": "crashlytics/kafka",
"id": "928087d29deb80655ca83726c1ebc45d76468c1f",
"size": "41... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by colddoc on {ts '2012-05-29 18:12:14'} -->
<TITLE>
Callable
</TITLE>
<META NAME="keywords" CONTENT="mxunit.framework.concurrent.Callable interface">
<... | {
"content_hash": "57b2c408ca79f0b406647d700d965e52",
"timestamp": "",
"source": "github",
"line_count": 627,
"max_line_length": 312,
"avg_line_length": 23.01116427432217,
"alnum_prop": 0.6041031327973385,
"repo_name": "bennadel/DatatypeConverter.cfc",
"id": "f2fa9d6062d26875fc0784140b9d3f3d0a56dbc2",... |
"""Tests for grr.parsers.sqlite_file."""
import os
import StringIO
from grr.lib import flags
from grr.lib import test_lib
from grr.parsers import sqlite_file
class SQLiteFileTest(test_lib.GRRBaseTest):
"""Test parsing of sqlite database files."""
query = "SELECT * FROM moz_places;"
def testErrors(self):
... | {
"content_hash": "cb44dcd80516a65024b60eb6110f9671",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 63,
"avg_line_length": 28.22222222222222,
"alnum_prop": 0.7023622047244095,
"repo_name": "statik/grr",
"id": "528409520fd75a4fae6f8ae5791c6ba6530171b0",
"size": "1292",
"... |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/core/browser/form_parsing/phone_field.h"
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include "base/check.h"
#in... | {
"content_hash": "a2d493c1c7a8836951ce6b816be8d4b5",
"timestamp": "",
"source": "github",
"line_count": 476,
"max_line_length": 80,
"avg_line_length": 39.17016806722689,
"alnum_prop": 0.6428533118798605,
"repo_name": "nwjs/chromium.src",
"id": "88f42ea33880270183b7311e35fb6341942f3a69",
"size": "18... |
This application makes use of the following third party libraries:
## MobihelpSDK
See http://www.freshdesk.com/terms
Generated by CocoaPods - http://cocoapods.org
| {
"content_hash": "7eaa17cc108871b8f140a6556127800d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 66,
"avg_line_length": 27.5,
"alnum_prop": 0.7878787878787878,
"repo_name": "AravinthChandran/Mobihelp-Swift-Sample",
"id": "f19d07507366793cd79a9b4b52d4597a87dab742",
"size... |
using System;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Salesforce.Chatter.Models
{
// me
public class ChatterActivity
{
public int commentCount { get; set; }
public int commentReceivedCount { get; set; }
public int likeReceivedCount { get; set; }
... | {
"content_hash": "4c96c61fc4607b118d0ded9a55da5937",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 53,
"avg_line_length": 20.444444444444443,
"alnum_prop": 0.6467391304347826,
"repo_name": "madmax983/ForceToolkitForNet",
"id": "a281678b9ca6c3e233fb23d56c4bbd541fcb96dd",
... |
<a href='http://github.com/angular/angular.js/edit/master/src/ng/directive/ngIf.js' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this doc</a>
<a href='http://github.com/angular/angular.js/tree/master/src/ng/directive/ngIf.js#L3' class='view-source pull-right btn btn-prim... | {
"content_hash": "011862aea5797a0e9918540ad39015df",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 521,
"avg_line_length": 37.443708609271525,
"alnum_prop": 0.6759816059426954,
"repo_name": "leandrooriente/racha-conta",
"id": "5e7664219ecb0cc87d180d3bc6f00f6d22ce279d",
... |
//Problem 4. Path
//Create a class Path to hold a sequence of points in the 3D space.
namespace DefiningClassesSecondPart.PointIn3DCoordinate
{
using System;
public class Path<T>
{
private const int DEFAULT_CAPACITY = 4;
private T[] points3D;
private int count = 0;
private... | {
"content_hash": "2a62018f039b29136901ea4f8b71f2a4",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 67,
"avg_line_length": 21.629213483146067,
"alnum_prop": 0.3927272727272727,
"repo_name": "Gecata-/OOP-Telerik",
"id": "6256f74dbf343075bfef12f5a886bffba9e3f911",
"size": "... |
package io.sundr.dsl.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* An annotation to specify that the current method or annotation acts as a keyword (transition candidate).
*/
@Targ... | {
"content_hash": "c18a0aad5b624d70da49a493c742acd6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 107,
"avg_line_length": 27.764705882352942,
"alnum_prop": 0.7817796610169492,
"repo_name": "iocanel/sundrio",
"id": "c52c8f24e54fcfec852955667d8a5767b2d81c41",
"size": "110... |
package net.mh.kafkabrowser.resource;
import net.mh.kafkabrowser.model.Application;
import net.mh.kafkabrowser.store.BrowserConsumerStore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework... | {
"content_hash": "6e551577067fc3e05b0101a7f662e74e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 169,
"avg_line_length": 45.15151515151515,
"alnum_prop": 0.797986577181208,
"repo_name": "markush81/kafka-browser",
"id": "8bdf52e2a82bb2058bda6482ab23fbdd46ded9a5",
"size"... |
class FixScoreMoves < ActiveRecord::Migration
def up
LevelUserLink.all.each do |score|
score.save!
end
end
def down
end
end
| {
"content_hash": "33a89190aeee2825e92c637c33db0354",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 45,
"avg_line_length": 14.7,
"alnum_prop": 0.673469387755102,
"repo_name": "MichaelHoste/sokoban",
"id": "75ef8a6d9766950ca6cb36a4236165bb8d1b0e77",
"size": "147",
"binar... |
Octane 2.0 is a benchmark that measures a JavaScript engine’s performance by running a suite of tests representative of certain use cases in JavaScript applications.
Please note that [Octane is retired](https://v8project.blogspot.com/2017/04/retiring-octane.html) and no longer maintained.
[Run Octane 2 now!](http://c... | {
"content_hash": "d65132150ef33562900278d50c9c92aa",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 209,
"avg_line_length": 79.71428571428571,
"alnum_prop": 0.7849462365591398,
"repo_name": "chromium/octane",
"id": "0c51bd2781be53229e70727b33c7151fcc138bb4",
"size": "570",... |
var srvc = angular.module("perfil.service", []);
srvc.value("TiposPerfil", [{id: "ADMIN", nombre: "Administrador"}, {id: "DIRECTOR", nombre: "Director"}, {id: "PROFESOR", nombre: "Profesor"}]);
| {
"content_hash": "f01f3171023f28eb20d0b42fd8a052e3",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 144,
"avg_line_length": 39.4,
"alnum_prop": 0.6446700507614214,
"repo_name": "barrantesgerman/ciea",
"id": "2b4a0790c505c23b1d308abd23bd29eb7c704f7e",
"size": "798",
"bina... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/annbot.iml" filepath="$PROJECT_DIR$/annbot.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
</modul... | {
"content_hash": "0d87699f9b77d049a9e1cf490f3278c9",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 96,
"avg_line_length": 38.77777777777778,
"alnum_prop": 0.6532951289398281,
"repo_name": "WiAnnBot/annbot",
"id": "d1c6287e650b972b83ba994e226840336ae92aab",
"size": "349",
... |
<?php
namespace Beepsend\Resource;
use Beepsend\Request;
/**
* Beepsend customer resource
* @package Beepsend
*/
class Customer
{
/**
* Beepsend request handler
* @var Beepsend\Request
*/
private $request;
/**
* Actions to call
* @var array
*/
private $acti... | {
"content_hash": "cbecc45b1cf53d303a2ffba2c1fc5dd5",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 75,
"avg_line_length": 16.425531914893618,
"alnum_prop": 0.5272020725388601,
"repo_name": "beepsend/beepsend-php",
"id": "dd6b52667e653a9167f4b0395bb62a08a2ac0462",
"size":... |
import {
TWO_PI,
cos,
sin,
min,
range,
} from 'config/animation.config';
/**
* Animation #15, Timer
* @param {objct} Two
* @param {object} two instance of two
* @param {object} TWEEN the library for tweening
* @param {object} colors color palette
* @param {array} animations It's the stack of anima... | {
"content_hash": "82ab3a1372867097c246d3c18c1794dd",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 61,
"avg_line_length": 21.92517006802721,
"alnum_prop": 0.5473161650636054,
"repo_name": "vibertthio/beact",
"id": "d0e0ab8af08fa137b0dab8842afc5d2759294fcb",
"size": "322... |
/*
* Author: 陈志杭 Caspar
* Contact: 279397942@qq.com qq:279397942
* Description: 数据契约实体模型文件
* 文件由模板生成,请不要直接修改文件,如需修改请创建一个对应的partial文件
*/
using System;
using System.Collections;
using System.Collections.Generic;
using Zh.DAL.Define.Entities;
using Zh.DAL.Base.Define.Entities;
namespace Zh.DAL.Define.Entities
{
#r... | {
"content_hash": "92ab2b8e076ec97182ec46ea696d7834",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 67,
"avg_line_length": 19.225806451612904,
"alnum_prop": 0.5637583892617449,
"repo_name": "Caspar12/Csharp",
"id": "8166b7969a94771968df77cee89d675423610536",
"size": "1280... |
package systemtools;
import java.util.List;
import clusterV5.*;
public class Merge {
public static String fileList(List<String> files) {
if (files == null) {
return "";
}
StringBuffer temp = new StringBuffer();
if (files.isEmpty()) {
return "";
}
else {
temp.append(files.get(0));
}
... | {
"content_hash": "527d06f99c389ad04412c9772c798b2f",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 67,
"avg_line_length": 15.283783783783784,
"alnum_prop": 0.5587975243147657,
"repo_name": "sbna/tavernaPBS",
"id": "c01da4dbd517bad2b08a9e36e3d474213a24c4c9",
"size": "1131... |
<?php
/**
* This file is part of amfPHP
*
* LICENSE
*
* This source file is subject to the license that is bundled
* with this package in the file license.txt.
* @package Amfphp_Examples
*/
/**
* an example plugin as in the documentation. It takes a sourceUrl param in the configuration, and changes the dese... | {
"content_hash": "0bc685d96153a15a59a9ba8284e7ed13",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 167,
"avg_line_length": 25.054545454545455,
"alnum_prop": 0.627721335268505,
"repo_name": "noikiy/amfphp-2.0",
"id": "b43eff807ebbdfc8c45240f615e57be54f150b16",
"size": "13... |
layout: page
title: "Steven Robert Leigh"
comments: true
description: "blanks"
keywords: "Steven Robert Leigh,CU,Boulder"
---
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script>
<!... | {
"content_hash": "c32646b97be58387ba123f99997126ea",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 100,
"avg_line_length": 25.452380952380953,
"alnum_prop": 0.6950420954162769,
"repo_name": "nikhilrajaram/nikhilrajaram.github.io",
"id": "01ba40f0a46b7c3eb04ff09dfcf9ba6eb4f... |
package org.pimslims.presentation.construct;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.List;
import junit.framework.Assert;
import junit.framework.TestCase;
import org.pimslims.dao.AbstractModel;
import org.pimslims.dao.ModelImpl;
import org.pims... | {
"content_hash": "352bc69a447fc74e1980f88aee591627",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 107,
"avg_line_length": 47.8443579766537,
"alnum_prop": 0.6525699414443722,
"repo_name": "homiak/pims-lims",
"id": "9e08b5cf948610db91d2495d3527bf4d0f9d7ad5",
"size": "122... |
package org.apache.gora.memory.store;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.NavigableMap;
import java.util.concurrent.ConcurrentNavigableMap;
import java.util.concurrent.ConcurrentSkipListMap;
import org.ap... | {
"content_hash": "d49383720cf4b51fd80ca3ce8eb08699",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 113,
"avg_line_length": 27.681818181818183,
"alnum_prop": 0.6472607851918196,
"repo_name": "arthur-evozon/gora",
"id": "b67c7c11a22e349b0fa8fbc707689c8a55efaeb8",
"size": ... |
import {
src, tsconfig, stdout, stderr,
spec, execWebpack
} from './utils';
import { config } from './compile-output';
spec(__filename, async function(env, done) {
const index = src('index.ts', `
export default function sum(a: number, b: number) {
return a + b;
}
sum(1... | {
"content_hash": "61afd994995288bfcb4ed0d88bf5346e",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 92,
"avg_line_length": 21.46938775510204,
"alnum_prop": 0.5133079847908745,
"repo_name": "kujotx/angular4-template",
"id": "8730dba92927e34cffe4f120f5ac8f09991a4bd3",
"size... |
from SDA import *
import numpy
import unittest
class FlightBoundaryContainerTestCase(unittest.TestCase):
def setUp(self):
self.test_boundary_container = FlightBoundariesContainer(numpy.array([[[-2000, -2000], [-2000, 2000], [2000, 2000], [2000, -2000]], [[-5000, -1000], [-4500, 2000], [2000, 2000], [2000,... | {
"content_hash": "cc390e01861bd24cdbf91c5b8743c218",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 203,
"avg_line_length": 69.70588235294117,
"alnum_prop": 0.6852320675105485,
"repo_name": "FlintHill/SUAS-Competition",
"id": "bc831aa94d09d5c22fda312766c27926dd01f133",
"s... |
use crate::{
connections::ConnectionInterface,
handle_fields::{build_handle_field_directive, HandleFieldDirectiveValues},
};
use common::{Diagnostic, DiagnosticsResult, NamedItem};
use graphql_ir::{
Field, FragmentDefinition, LinkedField, Program, ScalarField, Selection, Transformed,
Transformer,
};
u... | {
"content_hash": "82fee30936313de1485f97b5d1d055e9",
"timestamp": "",
"source": "github",
"line_count": 376,
"max_line_length": 142,
"avg_line_length": 47.51063829787234,
"alnum_prop": 0.4657971339005822,
"repo_name": "josephsavona/relay",
"id": "57e9285ae7f81d778fc78dce319564de7dd69206",
"size": "... |
"""
Domino Public API
Public API endpoints for Custom Metrics # noqa: E501
The version of the OpenAPI document: 5.3.0
Generated by: https://openapi-generator.tech
"""
import copy
import logging
import multiprocessing
import sys
import urllib3
from http import client as http_client
from domino._impl... | {
"content_hash": "1453290da9343acad3f8755e29905390",
"timestamp": "",
"source": "github",
"line_count": 438,
"max_line_length": 98,
"avg_line_length": 36.34703196347032,
"alnum_prop": 0.6076005025125628,
"repo_name": "dominodatalab/python-domino",
"id": "14083c14a9dc1122d5f70a6a330cbd426cb407c1",
"... |
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http:... | {
"content_hash": "16c7b983a365908a9bbccd4293a6beba",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 43,
"alnum_prop": 0.7291381668946648,
"repo_name": "tarasklym/reports",
"id": "82e283fec2e20c1c43b22c6470f0266630748b19",
"size": "731",
"binary": ... |
describe('API.policy-service', function () {
beforeEach(module('webApp'));
beforeEach(module('api/policy.json'));
beforeEach(module('api/policyList.json'));
beforeEach(module('api/policiesStatusList.json'));
beforeEach(module('api/execution.json'));
var srv, rootScope, httpBackend, fakePolicyById, fakePolicyList... | {
"content_hash": "c4bbd6c72ad28c83554badb44a6b77dd",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 121,
"avg_line_length": 33.217948717948715,
"alnum_prop": 0.7095715939791586,
"repo_name": "diegohurtado/sparta",
"id": "6afa9e53539bd33462aba25cf463b2a676ab2575",
"size":... |
<?php
namespace Alphatrader\ApiBundle\Api\Traits;
use Alphatrader\ApiBundle\Api\Methods\UserAccountController;
/**
* Class UserTrait
*
* @package Alphatrader\ApiBundle\Api\Traits
* @author Tr0nYx
*/
trait UserTrait
{
/**
* @return \Alphatrader\ApiBundle\Model\UserAccount
*/
public function ge... | {
"content_hash": "3c0d154622024e644f8c4da7fc9e052f",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 93,
"avg_line_length": 22.916666666666668,
"alnum_prop": 0.6214141414141414,
"repo_name": "ljbergmann/AlphaTraderApiBundle",
"id": "4d27a03b98a43607c8db5a27ffe9769aa9d1d966"... |
<?php
/**
* @package sapphire
* @subpackage tests
*/
class i18nTest extends SapphireTest {
/**
* @var string $tmpBasePath Used to write language files.
* We don't want to store them inside sapphire (or in any web-accessible place)
* in case something goes wrong with the file parsing.
*/
protected $altern... | {
"content_hash": "3da07f9bb3c8b2851c0c92b66dc1421d",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 127,
"avg_line_length": 34.32520325203252,
"alnum_prop": 0.6978919943154903,
"repo_name": "chillu/silverstripe-book",
"id": "2817a7a659da9b00d1ffc9e818a34b52e9f3a084",
"si... |
/**
* User service
*/
exports.channelService = function() {
var methods = {
refresh : function(){
Alloy.Collections.Channels.fetchFromServer();
},
getToplist : function() {
},
getChannel : function(id) {
}
};
_.extends(this, methods);
};
| {
"content_hash": "22f450fdbef237177c0ecce0eb671a1d",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 57,
"avg_line_length": 18.470588235294116,
"alnum_prop": 0.5095541401273885,
"repo_name": "nut-abctech/titanium-tviller",
"id": "349f4ad4c0911e982e4fce2ca86258686b29c7cd",
... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/datalabeling/v1beta1/instruction.proto
namespace Google\Cloud\DataLabeling\V1beta1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Instruction of how... | {
"content_hash": "22e74a6fa77da8cc2143ee59cbdac9c8",
"timestamp": "",
"source": "github",
"line_count": 419,
"max_line_length": 140,
"avg_line_length": 32.801909307875896,
"alnum_prop": 0.6355500582072177,
"repo_name": "googleapis/google-cloud-php",
"id": "31c340697047c8064318e270cebb9a06fba945b1",
... |
<?xml version="1.0" encoding="UTF-8"?>
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<capabilities>
<capability>urn:ietf:params:netconf:base:1.0</capability>
</capabilities>
</hello>
]]>]]>
| {
"content_hash": "18e418d84555efb1bd019b48962d7f33",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 61,
"avg_line_length": 29.714285714285715,
"alnum_prop": 0.6730769230769231,
"repo_name": "kimjinyong/i2nsf-framework",
"id": "4bf5b591d2467f0bd4caead2096e8eabf563a39b",
"si... |
#include <config.h>
#include <common.h>
#include <malloc.h>
#include <net.h>
#include <command.h>
#include <miiphy.h>
#include <phy.h>
#include <errno.h>
#include <linux/err.h>
/* Generic PHY support and helper functions */
/**
* genphy_config_advert - sanitize and advertise auto-negotation parameters
* @phydev: ... | {
"content_hash": "32636853609794505649a7526fd0a59d",
"timestamp": "",
"source": "github",
"line_count": 807,
"max_line_length": 85,
"avg_line_length": 23.322180916976457,
"alnum_prop": 0.6667020880930875,
"repo_name": "EleVenPerfect/S3C2440",
"id": "c691fbbbc61b6e15cb97e3ef85e7cd47fd6f1edf",
"size"... |
import DS from 'ember-data';
export default DS.Model.extend({
basket: DS.belongsTo('basket', {async:true, inverse: 'lines'}),
date_created: DS.attr('date'),
line_reference: DS.attr('string'),
price_currency: DS.attr('string'),
price_excl_tax: DS.attr('number'),
price_incl_tax: DS.attr('number')... | {
"content_hash": "c9960efcbb0dea340dcbafe80946f6fd",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 67,
"avg_line_length": 34.25,
"alnum_prop": 0.6423357664233577,
"repo_name": "shahaamir/ember-oscar-api",
"id": "4b3a2f3c13fd82b7f5f3068b4e8f7eed1e8cc473",
"size": "411",
... |
require 'spec_helper'
require 'generators/generator_factory'
require 'generators/dependency_list/dependency_list_generator'
require 'generators/graphviz/graphviz_generator'
require 'generators/smell_list/smell_list_generator'
require 'generators/nil_generator'
describe GeneratorFactory do
it "should return a dependen... | {
"content_hash": "2b7d23e768ee50bb55b64b7c4907f5cc",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 62,
"avg_line_length": 31.9375,
"alnum_prop": 0.773972602739726,
"repo_name": "ernstsson/Arquanator",
"id": "c3dbb9bf67d36d8f08f7e92386f9107f07bab2f2",
"size": "1022",
"b... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace jcMSA.BaseContent.WebAPI.Areas.HelpPage.ModelDescriptions
{
public class ParameterDescription
{
public ParameterDescription()
{
Annotations = new Collection<ParameterAnnotation>();
}
p... | {
"content_hash": "1e343dd1a87d37d15dff9ed20794d71d",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 80,
"avg_line_length": 26.428571428571427,
"alnum_prop": 0.6810810810810811,
"repo_name": "jcapellman/jcBP",
"id": "965d1babd53e3c7ad52c54f090e077adf8c0e301",
"size": "555"... |
"""Punctuation.
---
layout: post
source: Garner's Modern American Usage
source_url: http://bit.ly/1T4alrY
title: dates
date: 2014-06-10 12:31:19
categories: writing
---
Dates.
"""
from proselint.tools import existence_check, memoize
@memoize
def check(text):
"""Check the text."""
err = "... | {
"content_hash": "89f738f9c94d016446538e87625a62a9",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 59,
"avg_line_length": 18.035714285714285,
"alnum_prop": 0.6099009900990099,
"repo_name": "amperser/proselint",
"id": "08bd11b8e071338017f28c5892b77fe2601a4acd",
"size": "5... |
require 'rails_helper'
RSpec.describe Submission, type: :model do
let(:submission) { build(:submission) }
let(:unsent) { create(:submission, sent_at: nil) }
describe '#sent?' do
it 'lists unsent submissions' do
expect(Submission.unsent).to include(unsent)
expect(Submission.unsent).not_to include... | {
"content_hash": "af5e865ea1f9ffd80450ad9bf112b79b",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 58,
"avg_line_length": 26.045454545454547,
"alnum_prop": 0.6684118673647469,
"repo_name": "rails-girls-summer-of-code/rgsoc-teams",
"id": "453221afeff33dd41174a1ae73d8d88068b... |
<?php
/**
* Describes the structure of a field in the database.
*
* @package DspLib
* @subpackage Database
* @author Pierre Feyssaguet <pfeyssaguet@gmail.com>
* @since 4 mars 2011 22:50:21
*/
namespace DspLib\Database;
/**
* Describes the structure of a field in the database.
*
* @package Ds... | {
"content_hash": "dd3ead39ad17a7ba1d73124c055f2de0",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 101,
"avg_line_length": 24.053333333333335,
"alnum_prop": 0.5393569844789357,
"repo_name": "pfeyssaguet/dsplib",
"id": "9fc6d75ab8a1bf33a8ba147a38ad02aeade0ff64",
"size": ... |
/*
* 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 under t... | {
"content_hash": "b777ee73caf856a3587e778d75f357dd",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 182,
"avg_line_length": 30.09722222222222,
"alnum_prop": 0.6975849869250884,
"repo_name": "googleapis/google-api-java-client-services",
"id": "948bc858a0e8a0e7d8574dca8b134b... |
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.integer :account_id
t.string :name
t.integer :custom_sequential_id
t.timestamps
end
add_index :users, :account_id
end
end
| {
"content_hash": "bb8736f4411498c2fbc0400dc9113428",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 43,
"avg_line_length": 20.583333333333332,
"alnum_prop": 0.6518218623481782,
"repo_name": "navyuginfo/sequenced",
"id": "a6d458b06b9e55cb8aac5387c330e08bc6995d11",
"size": ... |
package org.pentaho.di.core.row.value;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import ... | {
"content_hash": "0fa4dc01a36abbfefd53d3902cec5763",
"timestamp": "",
"source": "github",
"line_count": 399,
"max_line_length": 118,
"avg_line_length": 49.015037593984964,
"alnum_prop": 0.736155852124559,
"repo_name": "GauravAshara/pentaho-kettle",
"id": "c71ff875bfdebc34936b75392bceb63d7ca47b5b",
... |
package io.spine.testing.server.query;
import io.spine.client.EntityStateWithVersion;
import io.spine.client.QueryResponse;
import io.spine.core.Response;
import io.spine.core.Version;
import io.spine.testing.server.blackbox.BbTask;
import io.spine.testing.server.blackbox.BbTaskId;
import static io.spine.base.Ident... | {
"content_hash": "4796534c21bd9799cb32abefb6a530b7",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 87,
"avg_line_length": 32.257425742574256,
"alnum_prop": 0.5893186003683242,
"repo_name": "SpineEventEngine/core-java",
"id": "e82e5f4b36e40d7b457d68d0375b6f83e6a82331",
"... |
"""
Self test for Hitachi Block Storage Driver
"""
import mock
from cinder import exception
from cinder import test
from cinder import utils
from cinder.volume import configuration as conf
from cinder.volume.drivers.hitachi import hbsd_basiclib
from cinder.volume.drivers.hitachi import hbsd_common
from cinder.volume.... | {
"content_hash": "d933a06469acbd3ae084ad3fa8d16f38",
"timestamp": "",
"source": "github",
"line_count": 479,
"max_line_length": 79,
"avg_line_length": 47.05845511482255,
"alnum_prop": 0.5426556053413779,
"repo_name": "jumpstarter-io/cinder",
"id": "757c28d58af6a1d45f68c94ba2f5f96f38adb65d",
"size":... |
import _plotly_utils.basevalidators
class ColoraxisValidator(_plotly_utils.basevalidators.SubplotidValidator):
def __init__(
self, plotly_name="coloraxis", parent_name="scattergeo.marker", **kwargs
):
super(ColoraxisValidator, self).__init__(
plotly_name=plotly_name,
pa... | {
"content_hash": "81d84f0197a081945d3ee93b16623bbc",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 80,
"avg_line_length": 36.6,
"alnum_prop": 0.5828779599271403,
"repo_name": "plotly/plotly.py",
"id": "cb110116e5327a2fa493364060a5c48ececd8b46",
"size": "549",
"binary":... |
namespace WorldSalt.Network.Streams.Frames {
using WorldSalt.Network.Direction;
using WorldSalt.Network.Frames;
using WorldSalt.Network.Streams.Bytes;
public class FrameSinkFactory<TDir> : IFrameSinkFactory<TDir> where TDir : IDirection {
public IStreamConsumer<ITypedFrame<TDir>> Create(IByteSink<TDir> byteSink)... | {
"content_hash": "850a9424b1624621e76e6800cf534dcd",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 88,
"avg_line_length": 33.90909090909091,
"alnum_prop": 0.7828418230563002,
"repo_name": "dodecahedral-champion/WorldSalt",
"id": "64106bb2f255d788db2b09ffd0d16fc5fc952e6e",
... |
//===--- CodeGenFunction.cpp - Emit LLVM Code from ASTs for a Function ----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | {
"content_hash": "ca77b29d46490d4bf92f54fe87ed76d2",
"timestamp": "",
"source": "github",
"line_count": 1235,
"max_line_length": 85,
"avg_line_length": 36.751417004048584,
"alnum_prop": 0.6658588173085397,
"repo_name": "jeltz/rust-debian-package",
"id": "1d02861ed78609e3d3837a64f902b2e201cab500",
"... |
module ActionDispatch
module Http
module Cache
module Request
HTTP_IF_MODIFIED_SINCE = "HTTP_IF_MODIFIED_SINCE"
HTTP_IF_NONE_MATCH = "HTTP_IF_NONE_MATCH"
def if_modified_since
if since = get_header(HTTP_IF_MODIFIED_SINCE)
Time.rfc2822(since) rescue nil
... | {
"content_hash": "6fa261fd46e1be630b261bdca71c0c16",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 104,
"avg_line_length": 33.130044843049326,
"alnum_prop": 0.5699783432593395,
"repo_name": "cmaurini/cmaurini.github.io",
"id": "7be30be77a28460eaffb8659142558931f8cdc1d",
... |
include_recipe "build-essential"
node.default['passenger']['apache_mpm'] = 'prefork'
case node['platform_family']
when "arch"
package "apache"
when "rhel"
package "httpd-devel"
if node['platform_version'].to_f < 6.0
package 'curl-devel'
else
package 'libcurl-devel'
package 'openssl-devel'
pac... | {
"content_hash": "c0034487a3a25a3c10c5e2ad2bb9a25f",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 97,
"avg_line_length": 26.571428571428573,
"alnum_prop": 0.6191756272401434,
"repo_name": "pbjorklund/passenger_apache2",
"id": "7d645bba30fcc29dc53a522699b79bbe5e775f09",
... |
& dependencies/Nancy/build.ps1 $args
| {
"content_hash": "ee26815f63a6482ca2323ddacf809a9b",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 36,
"avg_line_length": 38,
"alnum_prop": 0.7631578947368421,
"repo_name": "NancyFx/Nancy.Serialization.ProtBuf",
"id": "1cddd153f49252aeaaf1f4ff2240ec48f75ffede",
"size": "3... |
<?php
/* FOSUserBundle:ChangePassword:changePassword.html.twig */
class __TwigTemplate_a7d3b9865ac686fa9442dfa142acc7958023aaa034088e235d19580a77e748f7 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
try {
$t... | {
"content_hash": "c059f0f619441bef2a621c94cc1bfee4",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 117,
"avg_line_length": 26.875,
"alnum_prop": 0.6039867109634551,
"repo_name": "julien-delmoral/droneecoservices",
"id": "1517d21e9c10921dc4281a8cbb2b3e656fe7d542",
"size":... |
.. highlight:: shell
============
Contributing
============
Contributions are welcome, and they are greatly appreciated! Every
little bit helps, and credit will always be given.
You can contribute in many ways:
Types of Contributions
----------------------
Report Bugs
~~~~~~~~~~~
Report bugs at https://github.com... | {
"content_hash": "1fd4053bd921039bd5469325252a2c29",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 149,
"avg_line_length": 28.42105263157895,
"alnum_prop": 0.7154320987654321,
"repo_name": "cborgolte/yatt",
"id": "8efa6f5e38be947a2d5f1cbece00eb27c7eba000",
"size": "3240... |
import { formatCategories, formatDate } from '../format'
describe('formatCategories', () => {
it('should return the expected result for the following values', () => {
const f = formatCategories
expect(f([])).toBe('')
expect(f([{ name: 'category' }])).toBe('category')
expect(f([{ name: 'category' }, ... | {
"content_hash": "d0f1ed588cff3f77e316b786c5ddeb0d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 92,
"avg_line_length": 28.05263157894737,
"alnum_prop": 0.6022514071294559,
"repo_name": "mordka/fl-events",
"id": "3d61c496d37eeaeb6e0a96c0eecc37b3b71a05fb",
"size": "533"... |
package org.mifos.customers.persistence;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.Date;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commo... | {
"content_hash": "6434870ab5520cd069017be09ebd9b12",
"timestamp": "",
"source": "github",
"line_count": 1133,
"max_line_length": 132,
"avg_line_length": 49.30008826125331,
"alnum_prop": 0.7088278998156006,
"repo_name": "vorburger/mifos-head",
"id": "56b3ae039aac8a3bc9092bdb405147ff8d3672bf",
"size"... |
from django.apps import AppConfig
class RideshareApiConfig(AppConfig):
name = 'rideshare_api'
def ready(self):
from rideshare_api import signals
| {
"content_hash": "96d4546e5f080b50d17642bdc09d8296",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 41,
"avg_line_length": 20.5,
"alnum_prop": 0.7195121951219512,
"repo_name": "RideQuest/rideshare-backend",
"id": "4cc4121ab52e7a5c6806576db2220e3ad755fa36",
"size": "164",
... |
layout: post
title: ISRO Centralised Scientist recruitment last date 9th July-2015
date: 2015-06-20 12:27
comments: true
tags: Engineer Examination ISRO Online Scientist
archive: false
---
ISRO offers the position of Scientist/Engineer `SC' in the pay band of Rs. 15600 - 39100/- + Grade Pay Rs. 5400 to the to young en... | {
"content_hash": "86f42b41834e5ed76a35f7cff309130d",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 309,
"avg_line_length": 54.25,
"alnum_prop": 0.7669519420671495,
"repo_name": "anchalrani/getopportunity",
"id": "d7850a58db7bd0d6251bd730d0b7247f9cea3f4b",
"size": "1528",... |
/*global define*/
define([
'Core/Cartesian2',
'Core/clone',
'Core/defaultValue',
'Core/defined',
'Scene/Scene',
'Specs/createCanvas',
'Specs/destroyCanvas'
], function(
Cartesian2,
clone,
defaultValue,
defined,
... | {
"content_hash": "173a183b4b0fac6c8693ce6a3990869f",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 93,
"avg_line_length": 29.536231884057973,
"alnum_prop": 0.5686947988223748,
"repo_name": "mcollins12321/anita",
"id": "b33a7d85011aabf6b4c17a2a3dabefc6f22e4924",
"size": "... |
package game_store.terminal;
import game_store.CommandFactory;
import game_store.command.Executable;
import game_store.entity.User;
import game_store.service.GameService;
import game_store.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRun... | {
"content_hash": "c2c9bea80cdd2f2e3295d0a29b73e7d6",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 95,
"avg_line_length": 31.634615384615383,
"alnum_prop": 0.6790273556231003,
"repo_name": "komitoff/Java-DB-Fundamentals",
"id": "4bff51dc9ddfccdb8d9e927fed7af44c98b48285",
... |
/**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | {
"content_hash": "1681e26c555351294941934eef762856",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 77,
"avg_line_length": 35.179245283018865,
"alnum_prop": 0.7315634218289085,
"repo_name": "YunSuk/AlloUnity",
"id": "c21f1d18692e243503beb02be22eaecdb22c7dd0",
"size": "37... |
var keystone = require('keystone');
exports = module.exports = function(req, res) {
function renderView() {
keystone.render(req, res, 'signin', {
submitted: req.body,
from: req.query.from,
logo: keystone.get('signin logo')
});
}
// If a form was submitted, process the login attempt
if (req.method ==... | {
"content_hash": "d9973f7328acf4d8467014525a7d6748",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 108,
"avg_line_length": 27.471698113207548,
"alnum_prop": 0.6332417582417582,
"repo_name": "ChayanSharma2015/keystone-marketplace",
"id": "3760cb2eda16b20780e860c64f44e515736... |
import styled from 'styled-components';
export default styled.div `
border-bottom: 1px solid #F2F2F2;
font-family: Avenir, Avenir Next, Helvetica Neue, Helvetica, Roboto, sans-serif;
font-size: 25px;
font-weight: 500;
`;
| {
"content_hash": "c6350a949ebf32bd792d02f08d90d7b5",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 82,
"avg_line_length": 28.75,
"alnum_prop": 0.7304347826086957,
"repo_name": "rtkhanas/rtkhanas.github.io",
"id": "d7ea1b801d896d697fa34ee423bb34f85f4c7d52",
"size": "230",
... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jasonphanley.dashbit"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17" />
<uses-permission android:n... | {
"content_hash": "bd2234a5788910eec247e6d7b374ab08",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 98,
"avg_line_length": 40.611111111111114,
"alnum_prop": 0.5982672138622891,
"repo_name": "jasonphanley/DashBit",
"id": "1992dd435a4b7bd479560acd3836d3d6e6c8918c",
"size": ... |
import math
import numpy
# - * - coding: utf - 8 - * -
"""
Created on Wed May 31 15:27:40 2017
@author: Kristen
"""
# - * - coding: utf - 8 - * -
"""
Created on Tue May 30 09:40:34 2017
@author: Kristen
"""
# finds the distance between two atoms
def distance(position1, pos... | {
"content_hash": "bd5ee7fe3550838e4bbc8f620d83dbe8",
"timestamp": "",
"source": "github",
"line_count": 524,
"max_line_length": 79,
"avg_line_length": 32.774809160305345,
"alnum_prop": 0.530860603237452,
"repo_name": "BursonLab/Silica-Coding-Project",
"id": "d26f5e2e66f74624b9541e15fbad1b71493afd21",... |
const plus = require('./plus')
// Daisy-Chainer
// ===============================
//
// Generates the functions so `octo.repos(...).issues.comments.fetch()` works.
// Constructs a URL for the verb methods (like `.fetch` and `.create`).
module.exports = class Chainer {
constructor (_verbMethods) {
this._verbMet... | {
"content_hash": "226bbf4d9eefd914f57e37bc574bb5e2",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 95,
"avg_line_length": 29.5531914893617,
"alnum_prop": 0.5349172066234701,
"repo_name": "philschatz/octokat.js",
"id": "59a4f05131e9b93fb13be0abc1de1a0543fff471",
"size": "... |
<div class="container" data-ng-controller="HeaderController">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-ng-click="toggleCollapsibleMenu()">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar... | {
"content_hash": "9d7ebf9098621a5bbcb47791975c544d",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 283,
"avg_line_length": 42.706896551724135,
"alnum_prop": 0.6237383932176019,
"repo_name": "andela-atogun/slice",
"id": "e9ce1b2eb89d78bf292b16b97b48e9d39a23ef76",
"size": ... |
package com.tkhoon.framework;
public interface Constant {
String DEFAULT_CHARSET = "UTF-8";
String APP_HOME_PAGE = "app.home_page";
String APP_JSP_PATH = "app.jsp_path";
String APP_WWW_PATH = "app.www_path";
String SERVLET_DEFAULT = "default";
String SERVLET_JSP = "jsp";
String SERVLET_U... | {
"content_hash": "c0f55d7887b8e4f0140772cc7635c8fa",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 48,
"avg_line_length": 27.923076923076923,
"alnum_prop": 0.6515151515151515,
"repo_name": "thinkhoon/tkhoon",
"id": "9fd0dd27411c5b4f2976b3bf83b5f25d2d322f5c",
"size": "726... |
import * as types from '../constants/actionTypes';
import initialState from './initialState';
const reducers = {
[types.OPEN_OR_CLOSE_NAV_DRAWER]:
(state, action) => ({ ...state, navDrawerOpen: action.open }),
[types.TOGGLE_NAV_DRAWER]:
state => ({ ...state, navDrawerOpen: !state.navDrawerOpen }),
};
cons... | {
"content_hash": "692258c7299ee0f094e8d8626d2f3743",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 66,
"avg_line_length": 32.294117647058826,
"alnum_prop": 0.6775956284153005,
"repo_name": "nicko7i/vcnc",
"id": "1c5b74ff38269b09b4718c4eb75c0245b12e2735",
"size": "549",
... |
package com.hediapps.data.service;
import java.util.List;
import java.util.UUID;
import com.hediapps.data.model.DataEntity;
public interface DataService {
DataEntity getById(String id);
String save(DataEntity dataEntity);
List<DataEntity> getAll();
}
| {
"content_hash": "b15235986a7bf3c77fcb3b48a078e7c2",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 42,
"avg_line_length": 23.166666666666668,
"alnum_prop": 0.7266187050359713,
"repo_name": "HediBenAhmed/hediApps",
"id": "97cd226961a6f1d2046d57e9e4ec998c96475366",
"size":... |
Originally published: 2002-03-15 03:27:37
Last updated: 2002-03-15 03:27:37
Author: kevin parks
weighted choice from list | {
"content_hash": "e225dfe369f99f9cb69e8f5f69147fa1",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 43,
"avg_line_length": 26,
"alnum_prop": 0.7384615384615385,
"repo_name": "ActiveState/code",
"id": "46977605edaeb4cd297901e06f19a721ed26d705",
"size": "145",
"binary": fa... |
/**
* @file BMP280.h
* @brief Airpressure sensor(BOSH BMP280) driver for TZ10xx
*
* @author Cerevo Inc.
*/
/*
Copyright 2015 Cerevo Inc.
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 Lic... | {
"content_hash": "258ddcbf18b96a09a2cf84940b7550ce",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 72,
"avg_line_length": 27.642857142857142,
"alnum_prop": 0.6230261269020959,
"repo_name": "cerevo/hyourowgan",
"id": "e2e89e5d2448313bd2a212a796e266809fec47b2",
"size": "3... |
@interface HRWServerRequest : HRBaseRequest
@property(nonatomic, strong) NSString *basePort;
@property(nonatomic, strong) NSString *cdnPort;
@property (nonatomic, strong) NSString *contentType;
@end
| {
"content_hash": "f8ce2b2949bcd2237d106fff5b17f72e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 52,
"avg_line_length": 39.8,
"alnum_prop": 0.8040201005025126,
"repo_name": "wowbby/HWDM",
"id": "d2cd68d7cb75774c0efc8de14679a40f645f0142",
"size": "347",
"binary": false... |
<?php
namespace MkS\JobeetBundle\Entity;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use MkS\JobeetBundle\Utils\Jobeet as Jobeet;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Output\NullOutput;
use Symfony\Component\Console\Input\ArrayInput;
use Doctrine\Bundle\Doctri... | {
"content_hash": "0556cfe13a4593327c8f7a7c4091ea4e",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 115,
"avg_line_length": 34.14414414414414,
"alnum_prop": 0.6284960422163588,
"repo_name": "msobkowiak/jobeet",
"id": "b27e2ae1030f9edeb0b69b1dbdc87496d3ade18c",
"size": "3... |
class TranslationUnit;
class StringTable;
TranslationUnit *xmlDoRead(StringTable &strTable, char const *inputFname);
#endif // XML_DO_READ_H
| {
"content_hash": "e2ed7bf0f182e17dd362460f36a8a4f6",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 74,
"avg_line_length": 23.833333333333332,
"alnum_prop": 0.7902097902097902,
"repo_name": "angavrilov/olmar",
"id": "1d3f17ef13b350272155c4386d0cc1cdfb335a3e",
"size": "261"... |
require 'test_helper'
class IntercodeSchemaTest < ActiveSupport::TestCase
it 'generates a schema definition without throwing an exception' do
definition = IntercodeSchema.to_definition
assert_match /type Query/, definition
end
end
| {
"content_hash": "c6775ebc89ce78ed94d1bf128925ea4c",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 69,
"avg_line_length": 30.5,
"alnum_prop": 0.7827868852459017,
"repo_name": "neinteractiveliterature/intercode",
"id": "d1e2e4297d664f4a3e7a3286f54b987e13937765",
"size": "2... |
from .. import utils
from ..Node import Node
from ..Remote import Remote
from ..Route import Route
from .TCPServer import TCPServer
from .TCPProtocol import TCPProtocol
from .TCPRPC import TCPRPC
from .TCPCall import TCPCall
from .TCPEvent import TCPEvent
class TCPService(object):
"""TCPService
An Object pr... | {
"content_hash": "3841c232314ad715690648c4e2b73dfd",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 140,
"avg_line_length": 30.773333333333333,
"alnum_prop": 0.5641247833622184,
"repo_name": "SkyZH/ddcm-protocol",
"id": "128070a01d74b905436901609807a75972b11129",
"size": ... |
package example.queue.exclusive;
import org.apache.activemq.ActiveMQConnectionFactory;
import javax.jms.*;
/**
* @author <a href="http://www.christianposta.com/blog">Christian Posta</a>
*/
public class Producer {
private static final String BROKER_URL = "tcp://localhost:61613";
private static final Boolea... | {
"content_hash": "fc05a6ae5f9f7e0d8772d53404fb592e",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 110,
"avg_line_length": 31.948275862068964,
"alnum_prop": 0.5747436589314625,
"repo_name": "DanaEarl/apollo",
"id": "24798df38903d706854f06e737cc41647e953c20",
"size": "265... |
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/qr_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent" /> | {
"content_hash": "0aa1fe31a4c26261f1fb84ee0d12c539",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 71,
"avg_line_length": 45.8,
"alnum_prop": 0.7030567685589519,
"repo_name": "JMedinilla/CondominApp",
"id": "af4412fdff3ecacba31205f64e599b6cf5204525",
"size": "229",
"bin... |
/**
* This ensures that a connection is made to the
* test databases
*/
var mongoose = require('gebo-mongoose-connection').get(true),
basic = require('gebo-basic-action'),
nativeMongoConnection = basic.nativeMongoConnection.get(true, function(){});
var nock = require('nock'),
nconf = require('nconf'),
... | {
"content_hash": "e47157c2a125bb4b58820037c04ccc2c",
"timestamp": "",
"source": "github",
"line_count": 586,
"max_line_length": 105,
"avg_line_length": 31.515358361774744,
"alnum_prop": 0.41493393978774096,
"repo_name": "RaphaelDeLaGhetto/gebo-server",
"id": "5d1a40b6e866421331cdd66cb86cd196e1274785"... |
package io.fabric8.insight.influxdb;
import io.fabric8.api.jcip.ThreadSafe;
import io.fabric8.api.scr.AbstractComponent;
import io.fabric8.api.scr.ValidatingReference;
import io.fabric8.insight.metrics.model.MBeanAttrResult;
import io.fabric8.insight.metrics.model.MBeanAttrsResult;
import io.fabric8.insight.metrics.m... | {
"content_hash": "d68b75c53aee07811517e9a18ccb8e1a",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 174,
"avg_line_length": 41.42763157894737,
"alnum_prop": 0.5859933301572178,
"repo_name": "hekonsek/fabric8",
"id": "324bc2c69f4b3175f8c3bc1e4f47ac619591e3ac",
"size": "69... |
function SURF_detector
%SURF_DETECTOR feature detector demo
%
% Before start, addpath('/path/to/mexopencv');
%
root = fileparts(fileparts(mfilename('fullpath')));
im = cv.cvtColor(imread(fullfile(root,'test','img001.jpg')),'RGB2GRAY');
detector = cv.FeatureDetector('SURF');
keypoints = detector.detect(im);
im_keypo... | {
"content_hash": "ef2aad8a760326ba59aab1429b844a38",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 72,
"avg_line_length": 24.125,
"alnum_prop": 0.7383419689119171,
"repo_name": "ninghang/opencvmex",
"id": "aa3160ed13d57c07dfd026dbb5b68e7091fbc2d3",
"size": "386",
"bina... |
package test.chart;
import java.util.stream.IntStream;
import javafx.beans.InvalidationListener;
import javafx.beans.binding.Bindings;
import javafx.beans.binding.DoubleBinding;
import javafx.beans.binding.StringBinding;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.ReadOnlyListProperty;
i... | {
"content_hash": "111536cf2f91e212ae4fb044f3d1b7f8",
"timestamp": "",
"source": "github",
"line_count": 443,
"max_line_length": 185,
"avg_line_length": 43.566591422121896,
"alnum_prop": 0.6210880829015544,
"repo_name": "fabricebouye/dvp-accessibility-fx",
"id": "4cc170ef7dd8eb0142b09560e5bb91708853b7... |
#include "Box.h"
namespace Magnum { namespace Shapes {
template<UnsignedInt dimensions> Box<dimensions> Box<dimensions>::transformed(const MatrixTypeFor<dimensions, Float>& matrix) const {
return Box<dimensions>(matrix*_transformation);
}
template class Box<2>;
template class Box<3>;
}}
| {
"content_hash": "9849844978333c451cd02e6596fc2060",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 133,
"avg_line_length": 21.285714285714285,
"alnum_prop": 0.7516778523489933,
"repo_name": "MiUishadow/magnum",
"id": "6548b18c62a350f893fba9f5aa316399c27627cf",
"size": "1... |
/**
* @private
*
* Lockable is a private mixin which injects lockable behavior into any
* TablePanel subclass such as GridPanel or TreePanel. TablePanel will
* automatically inject the Ext.grid.locking.Lockable mixin in when one of the
* these conditions are met:
*
* - The TablePanel has the lockable configura... | {
"content_hash": "c612354efb5723553c4173091739fe74",
"timestamp": "",
"source": "github",
"line_count": 1195,
"max_line_length": 156,
"avg_line_length": 38.3673640167364,
"alnum_prop": 0.5802525682130472,
"repo_name": "lucas-solutions/work-server",
"id": "a0d9a78db59d7eaccfe96e2a7e6ef54309219b60",
... |
<a href="/{{ page.slug }}" class="button supporter-nav-button social-sharing">{{ page.name }}</a> | {
"content_hash": "567af8a119e446b52f7473274fc65daa",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 97,
"avg_line_length": 97,
"alnum_prop": 0.6597938144329897,
"repo_name": "ianpatrickhines/flatly-aware",
"id": "71ab7152434f1853ed819d13a8183a8a91448f4c",
"size": "97",
"... |
<?xml version="1.0" encoding="UTF-8"?>
<arquillian xmlns="http://jboss.org/schema/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<container qualifier="container" default="true">
<... | {
"content_hash": "45a6ec33acc8f9da6e5156a3845ae7cd",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 112,
"avg_line_length": 35.25,
"alnum_prop": 0.7198581560283688,
"repo_name": "arquillian/arquillian-hol",
"id": "17f7435f7713f06a11692f315197dbbc665e6c0c",
"size": "564",
... |
module Nokogiri
# The version of Nokogiri you are using
VERSION = '1.6.7'
class VersionInfo # :nodoc:
def jruby?
::JRUBY_VERSION if RUBY_PLATFORM == "java"
end
def engine
defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'mri'
end
def loaded_parser_version
LIBXML_PARSER_VERSION.scan(/... | {
"content_hash": "31fe2f2b9c18423762c7399ab45f9808",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 133,
"avg_line_length": 28.10185185185185,
"alnum_prop": 0.5779242174629324,
"repo_name": "jmdelvalle/fithub-release",
"id": "30065430c8fc0fe0ae749ca2e8d9b839200827a3",
"s... |
A class or method decorator which binds methods to the instance
so `this` is always correct, even when the method is detached.
This is particularly useful for situations like React components, where
you often pass methods as event handlers and would otherwise need to
`.bind(this)`.
```js
Before:
<button onClick={ t... | {
"content_hash": "430503d1a05a99f4a64460ac00255107",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 115,
"avg_line_length": 24.527272727272727,
"alnum_prop": 0.7435137138621201,
"repo_name": "15chrjef/mobileHackerNews",
"id": "5427c9bb0aee1647329a12d3d2bfe6dcf11c9e41",
"s... |
create table person (name varchar(50) primary key, gender char(1), score int not null, date_of_birth date, registered timestamp);
insert into person(name,gender,score) values('FRED','M',21);
insert into person(name,gender,score) values('JOSEPH','F',34);
insert into person(name,gender,score) values('MARMADUKE','M',25);
... | {
"content_hash": "dd11c5e9553e83dda9fe10d9887d5f00",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 129,
"avg_line_length": 56.411764705882355,
"alnum_prop": 0.7570385818561001,
"repo_name": "davidmoten/rxjava2-jdbc",
"id": "4d63a9fb946a7859704dd5155401ba0b38609f80",
"siz... |
<?php
namespace CakeManager\Controller\Admin;
use CakeManager\Controller\AppController;
use Cake\Core\Configure;
/**
* Roles Controller
*
* Manages Admin pages for roles.
*
*/
class RolesController extends AppController
{
/**
* beforeFilter Callback
*
* @param \Cake\Event\Event $event Event.... | {
"content_hash": "c2777218dbce8227ecab15376c2cede0",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 97,
"avg_line_length": 25.979591836734695,
"alnum_prop": 0.5312909138517936,
"repo_name": "Adnan0703/cakephp-cakemanager",
"id": "dba35dd625745293ea1ecc93107a458f7c3dd1cc",
... |
#region Using
using System;
using System.Collections.Generic;
//using System.Collections.Concurrent;
using PureMVC.Interfaces;
using PureMVC.Patterns;
#endregion
namespace PureMVC.Core
{
/// <summary>
/// A Singleton <c>IController</c> implementation.
/// </summary>
/// <remarks>
/// <para>In... | {
"content_hash": "54d233de3e3536f3cbf3288833772ea6",
"timestamp": "",
"source": "github",
"line_count": 333,
"max_line_length": 159,
"avg_line_length": 37.63663663663664,
"alnum_prop": 0.5629139072847682,
"repo_name": "maramail/miaobox_open",
"id": "ce5901b65a66eb94cfdfcc3756b55a4bd8d1eb01",
"size"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.