text stringlengths 2 1.04M | meta dict |
|---|---|
from django.shortcuts import render
from django.views.decorators.http import require_GET
try:
from wagtail.core.models import Page
except ImportError:
from wagtail.wagtailcore.models import Page
from longclaw.utils import ProductVariant
from longclaw.contrib.productrequests.models import ProductRequest
@requir... | {
"content_hash": "f39cdfdaa5b81f1ec350ca5fd6235ea4",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 76,
"avg_line_length": 37.25806451612903,
"alnum_prop": 0.7229437229437229,
"repo_name": "JamesRamm/longclaw",
"id": "d9bd3979e9f5b6444e8ec3c5ab0fc12d5c288c61",
"size": "11... |
namespace TGC.Core.SceneLoader
{
/// <summary>
/// Interfaz generica para renderizar objetos
/// </summary>
public interface IRenderObject
{
/// <summary>
/// Habilita el renderizado con AlphaBlending para los modelos
/// con textura o colores por vértice de canal... | {
"content_hash": "d6cfb6b7d429764acf5674da41e81ffd",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 74,
"avg_line_length": 26.2,
"alnum_prop": 0.510178117048346,
"repo_name": "tgc-utn/tgc-viewer",
"id": "9cc00cd2d2ee80c37a4b93ca15d4761ae05547b8",
"size": "786",
"binary"... |
import { TCountryToString } from './types'
import countries2to3 from '../dist/more/countries.2to3.min.json'
export default countries2to3 as TCountryToString
| {
"content_hash": "1a35e7829ad9740cff31f98a23b10258",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 64,
"avg_line_length": 39.5,
"alnum_prop": 0.7974683544303798,
"repo_name": "annexare/Countries",
"id": "2950ef8512c4d6c39072a7f2063297a05785c4d5",
"size": "158",
"binary"... |
#ifdef HAVE_CONFIG_H
#include "../../../../../ext_config.h"
#endif
#include <php.h>
#include "../../../../../php_ext.h"
#include "../../../../../ext.h"
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
#include <Zend/zend_interfaces.h>
#include "kernel/main.h"
/**
*/
ZEPHIR_INIT_CLASS(ZendFrame... | {
"content_hash": "38327bccd7cc1c14cce0122ba8312f83",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 222,
"avg_line_length": 28.428571428571427,
"alnum_prop": 0.7386934673366834,
"repo_name": "golovanov/php-ext-zendframework",
"id": "12d2abe5dcee797cbdd437a9263933283e68042a"... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"><bitmap android:src="@mipmap/btn_send_blue_bg" />
</item>
<item android:state_pressed="false"><bitmap android:src="@mipmap/btn_send_bg" />
</item>
</selector> | {
"content_hash": "0ee63ad5758392b76da47403825bbeb9",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 88,
"avg_line_length": 35.55555555555556,
"alnum_prop": 0.671875,
"repo_name": "hnyer/PopupwindowAndListView",
"id": "79c50b0b40b4eebb132af29bbd951ba1048a8e99",
"size": "320... |
Delta indexing plugin for Thinking Sphinx that sets a reindex flag in memcached whenever a model needs to be reindexed.
It is expected to be used along with the Deltoid daemon, which polls memcached and rebuilds indices whenever the reindex
flags are set.
## Installation
Installation is as simple as adding the `delt... | {
"content_hash": "3bf82b00b4674519b8bb092b317883c1",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 121,
"avg_line_length": 44.58571428571429,
"alnum_prop": 0.7693047100288369,
"repo_name": "satisfaction/deltoid_delta",
"id": "a37579b70f9724f0d54f1e0cb0f99ec911b923cd",
"s... |
package com.sam_chordas.android.stockhawk.data.rest;
import com.google.gson.annotations.SerializedName;
import java.util.Date;
/**
* Represents a value in time of a stock quote.
*/
public class QuoteTime {
@SerializedName("Symbol")
private String mSymbol;
@SerializedName("Date")
private Date mDa... | {
"content_hash": "2a5e8192faf5fb32644ee1eb752da30c",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 52,
"avg_line_length": 18.227272727272727,
"alnum_prop": 0.6346633416458853,
"repo_name": "fnberta/StockHawk",
"id": "e6a98520b06b793242d46288c2d6efd342432373",
"size": "13... |
<?xml version="1.0" encoding="UTF-8"?>
<rootTag>
<Award>
<AwardTitle>Travel Grant for Grand Challenges of Traceability (GCT): The Next Ten Years</AwardTitle>
<AwardEffectiveDate>03/15/2017</AwardEffectiveDate>
<AwardExpirationDate>09/30/2017</AwardExpirationDate>
<AwardAmount>7000</AwardAmount>
<... | {
"content_hash": "c913b3b497cf7e006f3ac6399d7e5289",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 955,
"avg_line_length": 48.96666666666667,
"alnum_prop": 0.7273655547991831,
"repo_name": "jallen2/Research-Trend",
"id": "b5246029203d3872b9255227125d5e6361c1abe0",
"size"... |
package com.kurs.manager;
import javax.faces.bean.ManagedBean;
import javax.inject.Inject;
import javax.inject.Named;
import com.kurs.dao.UserDao;
import com.kurs.model.User;
import com.kurs.model.form.Register;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.... | {
"content_hash": "dc61f172a6e2b14c1fc4c04d8c637187",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 99,
"avg_line_length": 24.113636363636363,
"alnum_prop": 0.7587181903864278,
"repo_name": "astappev/Property",
"id": "364acf8b8d7f41bb3e196287663a1453084912cc",
"size": "10... |
package org.apache.ratis;
import org.apache.hadoop.hdds.scm.container.common.helpers.Pipeline;
import org.apache.hadoop.hdds.protocol.DatanodeDetails;
import org.apache.hadoop.ozone.OzoneConfigKeys;
import org.apache.ratis.client.RaftClient;
import org.apache.ratis.conf.RaftProperties;
import org.apache.ratis.grpc.G... | {
"content_hash": "0793e7c3d1047e82a7000bed6574b546",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 80,
"avg_line_length": 32.417391304347824,
"alnum_prop": 0.7398068669527897,
"repo_name": "szegedim/hadoop",
"id": "df831161ca4be79544d267dc8bc7f0634f562da8",
"size": "454... |
namespace
{
uint32_t nativeEvents(const Epoll::EventTypes& p_ets)
{
uint32_t result = 0;
for (Epoll::EventTypes::const_iterator i = p_ets.begin(); i != p_ets.end(); ++i)
{
if (*i == Epoll::EventType::Error)
result |= EPOLLERR;
else if (*i == Epoll::EventType::In)
result |= EP... | {
"content_hash": "609a90802c9e1b1e571582bf78fd4138",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 84,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.615018315018315,
"repo_name": "RomanUlan/ReactorInheritance",
"id": "9718837e8fd1674c9c229cfc21ac82db31915ef1",
... |
namespace ExampleApp
{
namespace Search
{
namespace SdkModel
{
class ISearchModule
{
public:
virtual ~ISearchModule() { }
virtual ISearchResultRepository& GetSearchResultRepository() const = 0;
virtual ISearchQ... | {
"content_hash": "149eb24edb46421d2b930af3755b41bf",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 115,
"avg_line_length": 34.5,
"alnum_prop": 0.5797101449275363,
"repo_name": "wrld3d/wrld-example-app",
"id": "372351e62794713bb43e25c2c562ac967b960be1",
"size": "1115",
... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.commonsware.android.passwordbox"
android:versionCode="1"
android:versionName="1.0" xmlns:tools="http://schemas.android.com/tools">
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersio... | {
"content_hash": "d7ab12872352d56b4bddedd6d5821631",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 74,
"avg_line_length": 30.571428571428573,
"alnum_prop": 0.735981308411215,
"repo_name": "peterdocter/cw-omnibus",
"id": "654de8a26bbc03b80f7e38a35880b6bfd0d4b49d",
"size":... |
.. _man-configuration:
##################################
Dropwizard Configuration Reference
##################################
.. highlight:: text
.. _man-configuration-servers:
Servers
=======
Tweaking some of the options will require good understanding of how Jetty is working. See the `Jetty architecture chapte... | {
"content_hash": "881fe1a475c7a8ec22a5164801eb08f9",
"timestamp": "",
"source": "github",
"line_count": 1394,
"max_line_length": 414,
"avg_line_length": 58.63916786226686,
"alnum_prop": 0.4654588160454106,
"repo_name": "patrox/dropwizard",
"id": "a04b373d8155c295f402cc4ed199eb713903728e",
"size": "... |
package com.github.emboss.siphash;
/**
*
* @author <a href="mailto:Martin.Bosslet@googlemail.com">Martin Bosslet</a>
*/
public class SipKey {
private final byte[] key;
public SipKey(byte[] key) {
if (key == null || key.length != 16)
throw new RuntimeException("SipHash key must be 1... | {
"content_hash": "62f93728163ada805e6d29c59f2e3f42",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 76,
"avg_line_length": 23.608695652173914,
"alnum_prop": 0.5948434622467772,
"repo_name": "emboss/siphash-java",
"id": "6c8cf03b348ff43896b46c1e64f6b224521c122a",
"size": "... |
@interface TVProgramTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@property (weak, nonatomic) IBOutlet UILabel *detailLabel;
@end
| {
"content_hash": "5761522e3bf023a11cb830079938f940",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 58,
"avg_line_length": 22.125,
"alnum_prop": 0.7966101694915254,
"repo_name": "BigKingQY/007Repository",
"id": "a6199e47014ae6e0af437761e6e51caddb8fd5a3",
"size": "348",
"... |
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<div th:include="fragment :: head"></div>
<link href="css/signin.css" rel="stylesheet"/>
</head>
<body>
<div class="container" th:include="fragment :: header"></div>
<div class="container">
<form class... | {
"content_hash": "1eab3ad32e734d31657509e30d4ae179",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 136,
"avg_line_length": 34.642857142857146,
"alnum_prop": 0.6268041237113402,
"repo_name": "OispaKaljaa/oispakaljaa",
"id": "9593d8f536ffd47ef23933e464c24f940e31d875",
"siz... |
<?xml version="1.0" encoding="UTF-8"?>
<billStatus>
<bill>
<billNumber>57</billNumber>
<title>A resolution to constitute the majority party's membership on certain committees for the One Hundred Fifteenth Congress, or until their successors are chosen.</title>
<policyArea>
<name>Congress</name>
... | {
"content_hash": "1eae508d3c72c9a504ad3c1437bf3dc1",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 676,
"avg_line_length": 40.88108108108108,
"alnum_prop": 0.6301732116884834,
"repo_name": "peter765/power-polls",
"id": "03ce36fb69929b451636f9bb6f453f03edaafe65",
"size":... |
import _plotly_utils.basevalidators
class LinewidthValidator(_plotly_utils.basevalidators.NumberValidator):
def __init__(
self, plotly_name="linewidth", parent_name="layout.ternary.baxis", **kwargs
):
super(LinewidthValidator, self).__init__(
plotly_name=plotly_name,
pa... | {
"content_hash": "83f2da8c385db2702d09ab07dde24e38",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 83,
"avg_line_length": 33.42857142857143,
"alnum_prop": 0.5982905982905983,
"repo_name": "plotly/plotly.py",
"id": "2ae4c65cbd332be575b9425471ecf574ba564918",
"size": "468"... |
'use strict';
// Setting up route
angular.module('core').config(['$stateProvider', '$urlRouterProvider',
function ($stateProvider, $urlRouterProvider) {
// Redirect to 404 when route not found
$urlRouterProvider.otherwise(function ($injector) {
$injector.get('$state').transitionTo('not-found', null, {... | {
"content_hash": "be71c658c9d14d3977016026d6edacb6",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 71,
"avg_line_length": 27.23404255319149,
"alnum_prop": 0.553125,
"repo_name": "PoetsRock/mapping-slc",
"id": "a7176102ecf7d61f1f2f90de6a68fe05935b832e",
"size": "1280",
... |
<!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_72) on Wed Dec 31 16:42:13 UTC 2014 -->
<title>VoidMethodStubbableImpl (Mockito 1.10.19 API)</title>
<meta name="date" content="2014-12... | {
"content_hash": "a588219c97bb52a5f7dce050d175517e",
"timestamp": "",
"source": "github",
"line_count": 490,
"max_line_length": 454,
"avg_line_length": 48.875510204081635,
"alnum_prop": 0.6294626080420894,
"repo_name": "JPAT-ROSEMARY/SCUBA",
"id": "9995df3dc5814d8af91811e9f6cfd7c2232f5420",
"size":... |
This module will enable Blackfire integration. It's available in module version 1.2.103+. It's based on instructions
from [Blackfire reference guide on bypassing reverse proxy cache and CDNs](https://blackfire.io/docs/reference-guide/configuration#bypassing-reverse-proxy-cache-and-content-delivery-networks-cdn).
Befor... | {
"content_hash": "ddeb90b180e7e8a4fc15d2928e8f3140",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 245,
"avg_line_length": 46.4390243902439,
"alnum_prop": 0.7452731092436975,
"repo_name": "fastly/fastly-magento2",
"id": "bd6b0a2fc1e49a7131565ff3951822f3c42f7857",
"size":... |
<?php
/**
* This file is part of the DVSA MOT API project.
*
* @link https://gitlab.motdev.org.uk/mot
*/
namespace DvsaMotApi\Service\Validator\RetestEligibility;
use DvsaCommon\Date\DateTimeHolder;
use DvsaCommon\Date\DateUtils as DU;
use DvsaCommon\Dto\MotTesting\ContingencyTestDto;
use DvsaCommonApi\Service\Ex... | {
"content_hash": "758aeddb1bc275a1fcbbb5aa8dd40679",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 118,
"avg_line_length": 32.739644970414204,
"alnum_prop": 0.6576902223025484,
"repo_name": "dvsa/mot",
"id": "71dc09ca0bb0a28cb63a3f1501d3a4a1ccef180e",
"size": "5533",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/13-java-rabbitmq-topics.iml" filepath="$PROJECT_DIR$/13-java-rabbitmq-topics.iml" />
</modules>
</component>
</project> | {
"content_hash": "bc235603eaa18ac4ad83acb1f6403954",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 128,
"avg_line_length": 35.75,
"alnum_prop": 0.6748251748251748,
"repo_name": "hawkup/learn-web-programming",
"id": "2917bc736a66febccae719a4be9a45ce4bd05c77",
"size": "286"... |
title: Worst Job in My Career 2 - The First 8 Months
tags:
- story
- series
- suffering
- career
- pain
---
Back for more? Welcome to the second article in a series about the worst job I’ve had in my career. The series was kicked off back in a [previous article]({{ site.baseurl }}{% post_url 2019-... | {
"content_hash": "0f56360d1bd9c36ac5e541e78c117364",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 457,
"avg_line_length": 79.14084507042253,
"alnum_prop": 0.7739811354333511,
"repo_name": "recursivefaults/recursivefaults.github.io",
"id": "e6f9d9e5781303feb64a35db1d3617e6... |
description: "Log driver plugins."
keywords: "Examples, Usage, plugins, docker, documentation, user guide, logging"
---
<!-- This file is maintained within the docker/cli GitHub
repository at https://github.com/docker/cli/. Make all
pull requests against that repo. If you see this file in
another reposi... | {
"content_hash": "0bbb390948e77b3c6c93756baf10a9e2",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 106,
"avg_line_length": 28.85388127853881,
"alnum_prop": 0.7458458616869758,
"repo_name": "thaJeztah/cli",
"id": "6405dd26cf37af3458b8149850a1a2c5fabeb795",
"size": "6323"... |
(function () {
'use strict';
angular
.module('brew_journal.authentication.controllers')
.controller('LoginController', LoginController);
LoginController.$inject = ['$location', '$scope', 'Authentication'];
/**
* @namespace LoginController
*/
function LoginController($location, $scop... | {
"content_hash": "bfabeb6c7826e649df4358ade24ee087",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 111,
"avg_line_length": 29.24561403508772,
"alnum_prop": 0.629874025194961,
"repo_name": "moonboy13/brew-journal",
"id": "adee45e55b7b0b6741b85f8c1fc13e2174cea29f",
"size":... |
import React from "react";
import Angle from "../model/Angle";
import { eq2gal, figureOfMerit, elevation } from "../util";
import useMpcEphemerisService from "../services/mpc";
/**
* Targets render themselves as table rows
*/
export default function Target({ index, target, observer, onChangeSelect, onChangePlot, onT... | {
"content_hash": "4173d2e4290f267306e55663362158fc",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 143,
"avg_line_length": 31.5875,
"alnum_prop": 0.589236248516027,
"repo_name": "mkelley/elevation",
"id": "c7488264f4be2fdc0d942ac99e621621db8fae4d",
"size": "2527",
"bin... |
This is the nginx module.
## Basic usage
This module manages nginx.
It should be included on any host that needs nginx.
```puppet
class { 'nginx': }
```
## Configuring a vhost
To build the basic skeleton of a vhost the ``nginx::vhost`` type can be used.
It will generate a nginx configuration file and symlink it a... | {
"content_hash": "6a95afc6151eef158bfb87084de44bdd",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 112,
"avg_line_length": 32.711711711711715,
"alnum_prop": 0.7397411181492701,
"repo_name": "nedap/puppet-nginx",
"id": "0a6ca6da9043b6e67d11ebf04ad36c13d0f3b79d",
"size": ... |
<?php
namespace ModelBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class ModelBundle extends Bundle
{
}
| {
"content_hash": "f500978f6d06022f2a9d282db7b1f2d7",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 13,
"alnum_prop": 0.7948717948717948,
"repo_name": "marcovilella/projetos_tutorials",
"id": "f3cf1722ac917cbdd18407fd8516d2ff3d17e5d0",
"size": "117",... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ro_RO" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About lastcoin</source>
<translation>Despre lastcoin</translation>
... | {
"content_hash": "5d89a52b8cc6861f8d77275a4afef264",
"timestamp": "",
"source": "github",
"line_count": 2922,
"max_line_length": 422,
"avg_line_length": 37.440451745379875,
"alnum_prop": 0.6193362035081946,
"repo_name": "lastcoin/lastcoin",
"id": "71e91aba391721e630fc7035bb4b08cb20da248b",
"size": ... |
package org.seasar.doma.internal.apt.dao;
import java.util.List;
import java.util.Optional;
import org.seasar.doma.Dao;
import org.seasar.doma.Select;
import example.entity.Emp;
/**
* @author nakamura-to
*
*/
@Dao(config = MyConfig.class)
public interface OptionalEntityListDao {
@Select
List<Optional<E... | {
"content_hash": "ef94b17a8efccf48d49a72d02e9b3cae",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 41,
"avg_line_length": 15.5,
"alnum_prop": 0.7243401759530792,
"repo_name": "backpaper0/doma2",
"id": "07881cfbc253f541a95cbc392036dfc91e216f30",
"size": "966",
"binary":... |
layout: default
title: API
permalink: /api/
---
API docs here.
| {
"content_hash": "916b0b91fbb8e890aaff9e862d5e5919",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 16,
"avg_line_length": 10.666666666666666,
"alnum_prop": 0.6875,
"repo_name": "JPorry/redux-simple-resource",
"id": "7cc7ee7e68896724170558cf9d61b16503e4e4dd",
"size": "68",... |
import sys
import unittest
from asq.queryables import Queryable
__author__ = "Sixty North"
if not sys.platform == 'cli':
class TestAsParallel(unittest.TestCase):
def test_as_parallel_closed(self):
b = Queryable([1])
b.close()
self.assertRaises(ValueError, lambda: b.as... | {
"content_hash": "3771226c772377d7e599eab5e2e2b109",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 66,
"avg_line_length": 23.714285714285715,
"alnum_prop": 0.6385542168674698,
"repo_name": "rob-smallshire/asq",
"id": "0018b25808526dd4fb47465a43020220f7074a87",
"size": "3... |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Xml;
using IDE.Common.Models.Value_Objects;
using IDE.Common.Utilities.Extensions;
namespace IDE.Common.Utilities
{
/// <summary>
/// Commands class
/// </summary>
public class Commands
{
///... | {
"content_hash": "338c1b09c18b50cd374d1eb00294a3f0",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 133,
"avg_line_length": 31.035211267605632,
"alnum_prop": 0.5046516904923984,
"repo_name": "Zuravvski/Industrial-Robotics",
"id": "b0784d072552fdf5181ebf4749f4cbbf56b7a625",... |
package com.navercorp.pinpoint.web.service.stat;
import com.navercorp.pinpoint.web.dao.ApplicationActiveTraceDao;
import com.navercorp.pinpoint.web.util.TimeWindow;
import com.navercorp.pinpoint.web.vo.stat.AggreJoinActiveTraceBo;
import com.navercorp.pinpoint.web.vo.stat.chart.StatChart;
import com.navercorp.pinpoin... | {
"content_hash": "a9fa75742c3eee2c56ffa7d3fd55b9db",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 147,
"avg_line_length": 39.22857142857143,
"alnum_prop": 0.8171886380189366,
"repo_name": "naver/pinpoint",
"id": "5f509d3bf77d11565efa682047a37b2cc994eca1",
"size": "1967"... |
package controllers
import (
"github.com/robfig/revel"
)
type Application struct {
*rev.Controller
}
func (c Application) Index() rev.Result {
return c.Render()
}
func (c Application) EnterDemo(user, demo string) rev.Result {
c.Validation.Required(user)
c.Validation.Required(demo)
if c.Validation.HasErrors()... | {
"content_hash": "589f49155cf3a75bddfa214795c16c01",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 72,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.7155425219941349,
"repo_name": "jamesward/revel",
"id": "40d1e0ad3a0366b1692a8fd638e2b66c22179331",
"size": "682"... |
/**
* @depends nothing
* @name core.console
* @package jquery-sparkle {@link https://balupton.com/projects/jquery-sparkle}
*/
/**
* Console Emulator
* We have to convert arguments into arrays, and do this explicitly as webkit (chrome) hates function references, and arguments cannot be passed as is
* @version 1.... | {
"content_hash": "730816fbfd90aa9da18082e0adc9a3d9",
"timestamp": "",
"source": "github",
"line_count": 658,
"max_line_length": 150,
"avg_line_length": 26.1580547112462,
"alnum_prop": 0.6088775273065303,
"repo_name": "balupton/jquery-syntaxhighlighter",
"id": "526f77e4490a75dd364a2827f59399a358382399... |
package pg
import (
"fmt"
"log"
"time"
"github.com/liut/osin-storage/storage"
"github.com/openshift/osin"
)
var _ = fmt.Sprintf
var _ storage.Client = (*Client)(nil)
var _ osin.Client = (*Client)(nil)
// JSONKV ..
type JSONKV map[string]interface{}
// ToJSONKV ...
func ToJSONKV(src interface{}) (JSONKV, error... | {
"content_hash": "482b90e24098b6fc35871f0d32398d5f",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 72,
"avg_line_length": 19.65137614678899,
"alnum_prop": 0.6451914098972923,
"repo_name": "liut/osin-storage",
"id": "1a7bb09e936cdd453e32056a5827b7e71d52fdb4",
"size": "21... |
(function() {
'use strict';
angular.module('horizon.framework.widgets.action-list')
/**
* @ngdoc parameters
* @name horizon.framework.widgets.action-list.constant:tooltipConfig
* @param {string} defaultTemplate Default warning tooltip template
* @param {string} defaultMessage Default warning tooltip... | {
"content_hash": "048f1d15e10cc60ba85571e843607dbb",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 137,
"avg_line_length": 32.1937984496124,
"alnum_prop": 0.5699494341439922,
"repo_name": "Hodorable/0602",
"id": "41eb13bff89a489351bf9b7fa4005689148015de",
"size": "4153"... |
package de.lampware.racing.istats.model;
/**
* TODO JavaDoc
*
* @author sasch.
*/
public class CareerStats implements IracingModel {
private CategoryCareerStats roadCareerStats;
private CategoryCareerStats ovalCareerStats;
private CareerStats(CareerStatsBuilder builder) {
this.roadCareerStat... | {
"content_hash": "657dcdd3da8e851cd8047083a1d3b624",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 92,
"avg_line_length": 26.304347826086957,
"alnum_prop": 0.6942148760330579,
"repo_name": "saschalamp/istats",
"id": "9e398a13b8bb492023f632ff9bd14449e956839a",
"size": "18... |
define(
({
placeholder: "Texte de l\'espace réservé",
url: "URL du géocodeur",
name: "Nom du géocodeur",
example: "Exemple",
singleLineFieldName: "Nom de champ sur une seule ligne",
portalConnectionError: 'Impossible d’obtenir les configurations du géocodeur auprès du portail',
actions: ... | {
"content_hash": "47b089a1dbd98a912665cc03a51499b4",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 284,
"avg_line_length": 52.03225806451613,
"alnum_prop": 0.726596404215747,
"repo_name": "gisfromscratch/webapp-builder-demos",
"id": "cae2007f7f6f5c6568d4b6ed3de8c5b9fa6397b... |
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.lke.plugin.MobileReaderPlugin"
version="0.1.0">
<name>MobileReaderPlugin</name>
<description>Mobile Reader Plugin</description>
<license>MIT</license>
<keywords>phonegap,Mobile... | {
"content_hash": "0903f77d9d13b83bfa51dd2d0589a755",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 103,
"avg_line_length": 39.45454545454545,
"alnum_prop": 0.6443932411674347,
"repo_name": "leitzsin360/MobileReaderPlugin",
"id": "e04efe6049b3e45eb4bd87cd59b2e2912512f23b",
... |
from google.cloud import dialogflow_v2
async def sample_set_agent():
# Create a client
client = dialogflow_v2.AgentsAsyncClient()
# Initialize request argument(s)
agent = dialogflow_v2.Agent()
agent.parent = "parent_value"
agent.display_name = "display_name_value"
agent.default_language_c... | {
"content_hash": "9c8bbf7c1b34c47870a8162acef0abb3",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 64,
"avg_line_length": 26.44,
"alnum_prop": 0.697428139183056,
"repo_name": "googleapis/python-dialogflow",
"id": "2f4bbd1dffd685de765ebdb69b3eb81698cc6793",
"size": "1661"... |
package com.dwarfartisan.parsec;
import org.junit.Assert;
import org.junit.Test;
import org.junit.Before;
import org.junit.After;
import java.io.EOFException;
/**
* NoneOf Tester.
*
* @author <Authors name>
* @version 1.0
* @since <pre>一月 9, 2016</pre>
*/
public class NoneOfTest extends Base {
@Before
... | {
"content_hash": "4cf06c75439249727c64a10edc92b47a",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 84,
"avg_line_length": 20.5,
"alnum_prop": 0.5970731707317073,
"repo_name": "ttch/jparsec",
"id": "55288b0404d3a1e8255b7655cb24037164fd7556",
"size": "1029",
"binary": fa... |
package com.scrachx.foodfacts.checker.ui.history;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.DividerItemDecoration;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
impo... | {
"content_hash": "5f3bf19777f8364b42560101ed44fb95",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 155,
"avg_line_length": 38.601063829787236,
"alnum_prop": 0.6713517982637454,
"repo_name": "itchix/TestMVPAndroid",
"id": "626a44311d6121aee3fbb753ccf58790dd560fa6",
"size... |
package org.elasticsearch.test.rest.yaml;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Map;
import java.util.Set;
import org.elasticsearch.test.ESTestCase;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.Mat... | {
"content_hash": "554b2bfe0bcb8bb5ec741ca958f4c4e2",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 110,
"avg_line_length": 45.246753246753244,
"alnum_prop": 0.6991963260619977,
"repo_name": "winstonewert/elasticsearch",
"id": "ee76ad351a62bbe7bb53c45b1492d9a9c0efe095",
"... |
define(['app'], function(app)
{
app.controller('HomeContactCtrl',
[
'$scope','$http', 'ngAuthSettings',
function($scope, $http, ngAuthSettings)
{
$scope.page =
{
heading: 'Contact Us'
};
$scope.test = function(){
... | {
"content_hash": "a395642915b455ad6db4656325e0139c",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 98,
"avg_line_length": 26.962962962962962,
"alnum_prop": 0.4478021978021978,
"repo_name": "sanelib/WebStarterKit",
"id": "5894d609db65c8b4708da8e05cad9f3b3795cb28",
"size":... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Anal. Mus. nac. Hist. nat. B. Aires 23: 96 (1912)
#### Original name
Microphyma macrosporum Speg.
### Remarks
null | {
"content_hash": "f8dfda512b3b2b1377d07b25926da3fd",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 49,
"avg_line_length": 13.692307692307692,
"alnum_prop": 0.6853932584269663,
"repo_name": "mdoering/backbone",
"id": "933a329ddefd3cd5f37ffa1d112b01140df561d5",
"size": "23... |
var React = require('react');
var DocsArticle = require('../../DocsArticle');
var List = require('grommet/components/List');
var SCHEMA = [
{attribute: 'uid', uid: true},
{attribute: 'face', image: true},
{attribute: 'name', primary: true},
{attribute: 'mood', secondary: true}
];
var DATA = [
{uid: 1, face:... | {
"content_hash": "ad1eca16fc343c1bdaed86ec3781464c",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 80,
"avg_line_length": 31.415841584158414,
"alnum_prop": 0.4891270091396155,
"repo_name": "Dinesh-Ramakrishnan/grommet",
"id": "9420872c590dd09a3c446ec61b28b3e191cdd3cf",
... |
<template name="meteoris_backupRestore_form">
<form id="users_form">
<input type="hidden" id="id" value="{{config._id}}" />
<div class="form-group {{#if error 'host'}}has-error{{/if}}">
<label for="host" class="control-label">Host *</label>
<input type="text" id="host" value=... | {
"content_hash": "67fb8181aa232d7ec2263b62cbbd9363",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 143,
"avg_line_length": 66.90243902439025,
"alnum_prop": 0.5807510025519504,
"repo_name": "meteoris/meteoris",
"id": "182cb0c2c8d80c2cf6b71efd946b33ea388caff7",
"size": "27... |
<h1 l10nTranslate>gamesListPage</h1>
<!--
<form class="form-inline waves-light" mdbWavesEffect>
<div class="md-form mt-0">
<input
class="form-control mr-sm-2"
type="text"
placeholder="Search"
[formControl]="searchControl"
[value]="searchValue"
>
</div>
</form>
<br>
<div>
... | {
"content_hash": "24b38513481004daa33b5fac50324656",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 104,
"avg_line_length": 28.42105263157895,
"alnum_prop": 0.5685185185185185,
"repo_name": "freehackquest/frontend",
"id": "bec5ef93705dc6e2e180b12ba07cc53e14242266",
"size"... |
<?php
namespace Notan\UserBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction($name)
{
return $this->render('NotanUserBundle:Default:index.html.twig', array('name' => $name));
}
}
| {
"content_hash": "19098c2aca72e0ddc8b1478ba42ca258",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 96,
"avg_line_length": 20.466666666666665,
"alnum_prop": 0.7166123778501629,
"repo_name": "kaesetoast/symfony-kickstart",
"id": "1ef8f136bb778a6a3274c2de938e8bedf96b6fb9",
... |
require 'warden_watch/version'
require 'warden_watch/authentication_event'
require 'warden_watch/hook'
if defined?(Rails)
require 'warden_watch/engine'
end
module WardenWatch
end
| {
"content_hash": "88af7d5c553f1932d919856b740d7d0b",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 43,
"avg_line_length": 15.416666666666666,
"alnum_prop": 0.7837837837837838,
"repo_name": "LaunchWare/warden_watch",
"id": "c750d088461851541b735b2c7d9004501928bede",
"size... |
package com.ofg.infrastructure.correlationid;
import org.springframework.cloud.sleuth.Span;
import org.springframework.cloud.sleuth.Trace;
import org.springframework.cloud.sleuth.TraceContextHolder;
/**
* Component that stores correlation id using {@link ThreadLocal}
*/
public class CorrelationIdHolder {
public... | {
"content_hash": "f158172a6f385c043a9453c4a096dc2f",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 75,
"avg_line_length": 29.56,
"alnum_prop": 0.7401894451962111,
"repo_name": "ofg-dmitrys/micro-infra-spring",
"id": "4ec2e84515c60287c699693a51437332c68c4fe2",
"size": "73... |
from __future__ import division
import matplotlib
matplotlib.use('TkAgg')
from pylab import *
import networkx as nx
path = 11.0
selfinfluece = 0 # use self-influence?
treatdataset = 0 # treat dataset?
meanvalues = []
### simulation parameters
def Path (val = path):
global path
path = str(val)... | {
"content_hash": "cb94451160e982f52267a9f38c373e3d",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 91,
"avg_line_length": 25.452229299363058,
"alnum_prop": 0.5382882882882883,
"repo_name": "brenoec/cefetmg.msc.influence.networks",
"id": "ae44da7eeab2f2690036b327676da156f0... |
<?php
namespace RKuzovlev\GoogleAPI\Service;
use RKuzovlev\GoogleAPI\Service as Google_Service;
use RKuzovlev\GoogleAPI\Service\Resource as Google_Service_Resource;
use RKuzovlev\GoogleAPI\Collection as Google_Collection;
use RKuzovlev\GoogleAPI\Model as Google_Model;
use RKuzovlev\GoogleAPI\Client as Google_Client;... | {
"content_hash": "41eeacbfd793b132c2df9f08b0a43278",
"timestamp": "",
"source": "github",
"line_count": 1273,
"max_line_length": 113,
"avg_line_length": 23.502749410840533,
"alnum_prop": 0.6422674554630836,
"repo_name": "rkuzovlev/google-api-php-client",
"id": "17c50767c22459b4a2edaf98e9a7bc93a6d9117... |
.listItem {
display: flex;
flex-direction: row;
align-items: center;
}
.inlineBlock {
display: inline-block;
}
.rightItem {
composes: inlineBlock;
margin-left: auto;
} | {
"content_hash": "ac062dda3641c699637202bc97d85cd4",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 25,
"avg_line_length": 15,
"alnum_prop": 0.6777777777777778,
"repo_name": "Magneticmagnum/react-atlas",
"id": "0a146ae300f7c1c6867fec7951079cab0c137735",
"size": "180",
"... |
"""A simple number and datetime addition JSON API.
Run the app:
$ python examples/tornado_example.py
Try the following with httpie (a cURL-like utility, http://httpie.org):
$ pip install httpie
$ http GET :5001/
$ http GET :5001/ name==Ada
$ http POST :5001/add x=40 y=2
$ http POST :5001/date... | {
"content_hash": "f440c8a31f729e406b250b36be2b0796",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 87,
"avg_line_length": 30.370786516853933,
"alnum_prop": 0.6067332593414725,
"repo_name": "sloria/webargs",
"id": "e748f77d90805d3648a7b15d0606c544e2708dfe",
"size": "2703"... |
NS_ASSUME_NONNULL_BEGIN
@interface RXViewVisiableViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
| {
"content_hash": "ef4b726d003cdf39d85604186c48595f",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 58,
"avg_line_length": 16.142857142857142,
"alnum_prop": 0.831858407079646,
"repo_name": "xzjxylophone/RXVerifyExample",
"id": "a3b4e2f90c283c2740e84d7877bab9a34b722afd",
"s... |
import { CustomControl } from './CustomControl';
describe('Control: CustomControl', () => {
let control;
beforeEach(() => {
control = new CustomControl({ template: 'new', type: 'custom' });
});
it('should have the right control type', () => {
expect(control.controlType).toEqual('new');
});
it('s... | {
"content_hash": "19ff9fa1b2d0cb9bcc2bb60d0c97bedb",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 69,
"avg_line_length": 24.176470588235293,
"alnum_prop": 0.6058394160583942,
"repo_name": "bullhorn/novo-elements",
"id": "2022a27e3962efcb87a35bc145f3c6d5a6da9b06",
"size"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (1.8.0_25) on Thu Nov 12 16:46:20 ART 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.google.i18... | {
"content_hash": "23cf972b3e2c372b984df0f30a403294",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 359,
"avg_line_length": 43.370860927152314,
"alnum_prop": 0.6542983661627729,
"repo_name": "leandrocohn/libphonenumber-7-0.5",
"id": "bde26a6ce05f1a2524e4c01d79cf51c84e72dd3... |
<?php
// meta tag robots
osc_add_hook('header','bender_nofollow_construct');
bender_add_body_class('error not-found');
osc_current_web_theme_path('header.php') ;
?>
<div class="flashmessage-404">
<h1><?php _e("Sorry but I can't find the page you're looking for", 'bender') ; ?></h1>
<p><?php _e(... | {
"content_hash": "b8a2c57896a7322e6b9e81664213455c",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 240,
"avg_line_length": 54.45,
"alnum_prop": 0.4738292011019284,
"repo_name": "dmyoung1994/Park-N-Go",
"id": "9491398c850b4df6029fb1101bb0a49c43847cd1",
"size": "2178",
"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex">
<title>File AdminBundle/Entity/User.php</title>
<link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Ov... | {
"content_hash": "7ecf1f89e742c01faa7c69cf1eef6599",
"timestamp": "",
"source": "github",
"line_count": 521,
"max_line_length": 244,
"avg_line_length": 79.85028790786949,
"alnum_prop": 0.6147781356665545,
"repo_name": "Xvolutions/CMS",
"id": "9f1799b25b550964bc1ca76cab99f1b92c2f68d7",
"size": "4160... |
--TODO: Finish those marked with UNF
local RuneMaster = Apollo.GetAddon("RuneMaster")
local tStatData = {
[5] = {--Focus Pool --UNFINISHED?
fBase = Unit.CodeEnumProperties.BaseFocusPool,
fCoeff = 1,
bNoPercent = true
},
[6] = {--Focus Recovery Rating
ePercentId = Unit.CodeEnumProperties.BaseFocusRecover... | {
"content_hash": "56789bafaa80dd0c2ac8721bbd9a84ae",
"timestamp": "",
"source": "github",
"line_count": 569,
"max_line_length": 155,
"avg_line_length": 36.58523725834798,
"alnum_prop": 0.7057212854878224,
"repo_name": "scscgit/scsc_wildstar_addons",
"id": "ff72110339d8360518a7a7599ba444650e0c0e35",
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ba9649ce14fb2d363de263923cf4ec66",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "2aa8c3dde06db45cc765260775472ebfb1b3a814",
"size": "192... |
/*
* This file is part of the Indigo library.
*
* This program is licensed under the GNU General
* Public License. To view the full license, check
* LICENSE in the project root.
*/
#ifndef INDIGO_UTILITY_ACP_DUMP_H_
#define INDIGO_UTILITY_ACP_DUMP_H_
#include <stdint.h>
#include <mutex>
namespace indigo {
cl... | {
"content_hash": "cfd38f1021ebd35880fd87d37b23e2bf",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 94,
"avg_line_length": 21.4375,
"alnum_prop": 0.7084548104956269,
"repo_name": "Imposter/CurlDump",
"id": "cff7321d3bf05bdbd7ce3365a7dd5e82e49ba20c",
"size": "686",
"bina... |
<?xml version="1.0" encoding="UTF-8"?>
<TrufinaLoginRequest xmlns="http://www.trufina.com/truapi/1/0">
<PID><%= Trufina::Config.credentials[:PID] %></PID>
<PRT><%= @prt %></PRT>
<PAK><%= Trufina::Config.credentials[:PAK] %></PAK>
<CancelURL><%= Trufina::Config.endpoints[:cancel] %></CancelURL>
<SuccessURL><%=... | {
"content_hash": "d677018304969743e24dbb0092e6ec42",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 69,
"avg_line_length": 31.125,
"alnum_prop": 0.6335341365461847,
"repo_name": "kdonovan/trufina",
"id": "82e1966ad50b4a45bcbc33acddaa6fbdefaad62e",
"size": "996",
"binary... |
<?php
namespace Atompulse\Bundle\RadBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class RadBundle extends Bundle
{
}
| {
"content_hash": "4c61dcf6daec53180eb8f2932257d753",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 14.444444444444445,
"alnum_prop": 0.8,
"repo_name": "atompulse/atompulse",
"id": "efb4d9579cba6c7bd5c409ad3778b0ba40ba6a0b",
"size": "130",
"binary"... |
@interface VC_RootTable : UITableViewController
@end
| {
"content_hash": "333f89ccfc79df7d6f554106b9cb5a55",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 47,
"avg_line_length": 18,
"alnum_prop": 0.8148148148148148,
"repo_name": "ZJM6658/TanTanDemo",
"id": "bc6f599c6ac966c1ec5e5df17fc549d895f8fa06",
"size": "219",
"binary": ... |
<?php
/**
* @link https://github.com/old-town/old-town-workflow
* @author Malofeykin Andrey <and-rey2@yandex.ru>
*/
namespace OldTown\Workflow\Util\PhpShell;
use OldTown\PropertySet\PropertySetInterface;
use OldTown\Workflow\ConditionInterface;
use OldTown\Workflow\Exception\WorkflowException;
use OldTown\Work... | {
"content_hash": "8ef98dace0c4e32e7825a2f64cf613b4",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 118,
"avg_line_length": 34.33783783783784,
"alnum_prop": 0.6296733569460842,
"repo_name": "old-town/old-town-workflow",
"id": "c5ee04be150806f158339ff9f56b0e4c25906f3a",
"s... |
/*! \file smoothed_aggregation.h
* \brief Algebraic multigrid preconditoner based on smoothed aggregation.
*
*/
#pragma once
#include <cusp/detail/config.h>
#include <cusp/detail/spectral_radius.h>
#include <cusp/linear_operator.h>
#include <cusp/multilevel.h>
#include <cusp/precond/aggregation/smoothed_aggre... | {
"content_hash": "8ac3f680393ab36ac3c8b21d552f4f3f",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 121,
"avg_line_length": 31.333333333333332,
"alnum_prop": 0.733451536643026,
"repo_name": "misztal/GRIT",
"id": "1abb577fdccc98e3ae7306175b5a9779f412b575",
"size": "4000",... |
import React from 'react';
import { shallow, mount } from 'enzyme';
import { expect } from 'chai';
import Immutable from 'immutable';
import sinon from 'sinon';
import { Provider } from 'react-redux';
import configureStore from 'redux-mock-store';
// see: https://github.com/mochajs/mocha/issues/1847
const { describe, ... | {
"content_hash": "d3d0496f2e10da7e20549fce7b17dc08",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 75,
"avg_line_length": 28.73722627737226,
"alnum_prop": 0.5979171958343916,
"repo_name": "TailorDev/franklin",
"id": "0e4aa192b65a04261fce1e15353d6e837a2e10d0",
"size": "3... |
from server import db
class AccessCodes(db.Model):
id = db.Column(db.Integer, primary_key=True)
code = db.Column(db.String(12))
used = db.Column(db.Integer)
def __init__(self, code, used):
self.code = code
self.used = used
def __repr__(self):
return '<AccessCode %r>' % sel... | {
"content_hash": "bf061526ee449abbbcf9f04adb2a3a73",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 78,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.6241758241758242,
"repo_name": "davidadamojr/codescale",
"id": "6a3020d970b43bff29ed41a25d6a3442b612fdd0",
"size"... |
React's native state system works well for simple components with transient state (e.g. whether you're hovering over a button), but it becomes less useful when you want to be able to do things like coordinate state between multiple components or to export/serialize and load back the state. In Franchise's case, we often... | {
"content_hash": "42192c5c96aa0a37f49ea4edc3c1683b",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 748,
"avg_line_length": 79.85263157894737,
"alnum_prop": 0.7496704455576061,
"repo_name": "HVF/franchise",
"id": "fb19a7bddc3929fa739fb4d74f66eac343930129",
"size": "7660",... |
*********
gopdf
*********
gopdf is a Go library for creating PDF files.
This repository was forked from bitbucket.org/zombiezen/gopdf/pdf
To install gopdf::
go get github.com/bouticfactory/gopdf
gopdf is released under a 2-clause BSD license.
| {
"content_hash": "67e3e674ba16501e09f8706206ee95a8",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 65,
"avg_line_length": 21.083333333333332,
"alnum_prop": 0.7154150197628458,
"repo_name": "bouticfactory/gopdf",
"id": "fc213bbaeb762f22122206c57d712fa80021bc70",
"size": "... |
@interface XPNSXMLNodeImpl : XPAbstractNodeWrapper
+ (id <XPNodeInfo>)nodeInfoWithNode:(void *)node;
- (id <XPNodeInfo>)initWithNode:(void *)node;
@property (nonatomic, retain) id node;
@end
| {
"content_hash": "62804e8703747847311c2ad88712512b",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 50,
"avg_line_length": 27.571428571428573,
"alnum_prop": 0.7512953367875648,
"repo_name": "itod/panthro",
"id": "557c3465a35d36f5a1de932ad89498d2446490d7",
"size": "327",
... |
package OptimizationTests.ShortMethodsInliningNonVirtualInvokes.InvokeStaticACharThrowNullGet_001;
// The test checks that stack after NullPointerException occurs is correct despite inlining
class Main {
final static int iterations = 10;
static char[] thingiesArray = new char[iterations];
public static i... | {
"content_hash": "a7c3eb9d9fb96ab7ab5e8ea0c90e137a",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 98,
"avg_line_length": 32.03030303030303,
"alnum_prop": 0.6064333017975402,
"repo_name": "android-art-intel/Nougat",
"id": "6aea1502f2d9a3206eb27976e11092ba74f98b60",
"size... |
<?php
namespace k1lib\crudlexs;
class object_base_strings {
/**
* __construct()
*/
static $error_bad_auth_code = "Bad, bad! auth code";
static $alert_empty_auth_code = "Auth code can't be empty";
//
static $error_array_not_compatible = "The array is not compatible";
//
static $e... | {
"content_hash": "14b7174831e3ddc114f9fd4da651f6c9",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 131,
"avg_line_length": 29.13888888888889,
"alnum_prop": 0.6539561487130601,
"repo_name": "klan1/k1.lib",
"id": "ce077699a4c0656a8ef65d128f76129b21a8d28d",
"size": "2098",
... |
set -e
# Build off the git repo.
docker build \
-t auto-makemkv \
https://github.com/redeemed2011/makemkv.git
# Run the container. It should attempt to execute MakeMKV on the device then self-destruct.
docker run --rm \
--device=/dev/cdrom \
-e MKV_GID=$(id -g ${USER}) \
-e MKV_UID=$(id -u ${USER}) \
-v /... | {
"content_hash": "ea964e00ed1c5dd63df7bdc3cb7f19b7",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 91,
"avg_line_length": 25.571428571428573,
"alnum_prop": 0.659217877094972,
"repo_name": "redeemed2011/bb-file-server",
"id": "eeb726e7d6663d943cd3b33a507471c0a48b72c0",
"s... |
"""
Class for reading data from NeuroExplorer (.nex)
Documentation for dev :
http://www.neuroexplorer.com/code.html
Depend on: scipy
Supported : Read
Author: sgarcia,luc estebanez
"""
import os
import struct
import numpy as np
import quantities as pq
from neo.io.baseio import BaseIO
from neo.core import Segmen... | {
"content_hash": "acfc8f9ad5a6fea0ce7ca507332a630c",
"timestamp": "",
"source": "github",
"line_count": 340,
"max_line_length": 129,
"avg_line_length": 40.826470588235296,
"alnum_prop": 0.4169728405734457,
"repo_name": "guangxingli/python-neo",
"id": "e3364298b83ce50292b1d1b10db0e7cb65df5110",
"siz... |
SYNONYM
#### According to
Database of Vascular Plants of Canada (VASCAN)
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "bdd2ab272d4db94c49e3ead474be3272",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 46,
"avg_line_length": 10.76923076923077,
"alnum_prop": 0.7,
"repo_name": "mdoering/backbone",
"id": "ae4b98d5b0663682ebd6d95a5032668753538dd1",
"size": "187",
"binary": ... |
package io.cloudslang.content.active_directory.services.users;
import io.cloudslang.content.active_directory.entities.AuthenticateUserInput;
import io.cloudslang.content.active_directory.utils.CustomSSLSocketFactory;
import io.cloudslang.content.active_directory.utils.LDAPQuery;
import io.cloudslang.content.active_di... | {
"content_hash": "8ded22c788a3f3c3ee145b44d5a8bd1e",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 140,
"avg_line_length": 47.4875,
"alnum_prop": 0.639642011055541,
"repo_name": "CloudSlang/cs-actions",
"id": "89e9d18dd7c31c3a755859887aade380ae8e95e3",
"size": "4418",
... |
// **********************************************************************
//
// <copyright>
//
// BBN Technologies
// 10 Moulton Street
// Cambridge, MA 02138
// (617) 873-8000
//
// Copyright (C) BBNT Solutions LLC. All rights reserved.
//
// </copyright>
// ***************************************************... | {
"content_hash": "e78091ba534daad9e5cf2cfa777aaecf",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 95,
"avg_line_length": 32.236111111111114,
"alnum_prop": 0.5710900473933649,
"repo_name": "d2fn/passage",
"id": "d634a3d439050be59fd2aa047c097243d4dc2b35",
"size": "4642",... |
module Sectioned
class Engine < ::Rails::Engine
isolate_namespace Sectioned
end
end
| {
"content_hash": "54af2c7c6af52a28470edddc5a3bfd82",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 32,
"avg_line_length": 18.4,
"alnum_prop": 0.7391304347826086,
"repo_name": "etewiah/sectioned-discourse-plugin",
"id": "f92d5c906dbc458d6798cfc5c4e6a8d99f796cab",
"size": "... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.demo.base.security.dao.SysAuthoritiesDao" >
<resultMap id="BaseResultMap" type="com.demo.base.security.entity.SysAuthorities" >
<id column="au... | {
"content_hash": "16f5f4b49cfe1800216172b419bb7f73",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 130,
"avg_line_length": 39.177570093457945,
"alnum_prop": 0.5991173664122137,
"repo_name": "zhangzi0291/SpringDemo",
"id": "91d08999cb49c0c99732c2c5d7589ee40bb05196",
"siz... |
---
layout: post
title: Introduction to Unit Testing the Zend Framework Quickstart Application
date: 2009-02-23 16:11:48.000000000 +00:00
categories: web-dev
tags:
- php
- phpunit
- testing
- unit testing
- web dev
- zend framework
permalink: /2009/02/23/introduction-to-unit-testing-the-zend-framework-quickstart-applic... | {
"content_hash": "a1143f5854d27f16cdefb41e5b811f86",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 628,
"avg_line_length": 39.68354430379747,
"alnum_prop": 0.7317384370015949,
"repo_name": "lboynton/lboynton.github.io",
"id": "b5360fb166b3e84883d157567b0f0d34e84144a1",
... |
6502 simulator
| {
"content_hash": "69fcbb5bf6eaaedfa8e1b9b325fbb4a8",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 14,
"avg_line_length": 15,
"alnum_prop": 0.8666666666666667,
"repo_name": "LordCreepity/6502-simcore",
"id": "6d59f11d2e66afcf33c9590d243a8f9419348cb3",
"size": "30",
"bin... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
in Timdal, Bryologist 105(2): 221 (2002)
#### Original name
Rimularia paradoxa Timdal & W.A. Weber
### Remarks
null | {
"content_hash": "8e661ec5b91daaf8e620dcac8af27002",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 40,
"avg_line_length": 13.76923076923077,
"alnum_prop": 0.6983240223463687,
"repo_name": "mdoering/backbone",
"id": "9da37705c87b9460f6629d5378cb9317ba7a37b3",
"size": "241... |
'use strict';
/**
* @ngdoc function
* @name minovateApp.controller:SidebarsmlayoutCtrl
* @description
* # SidebarsmlayoutCtrl
* Controller of the minovateApp
*/
app
.controller('SidebarsmlayoutCtrl', function ($scope) {
$scope.page = {
title: 'Small Sidebar Layout',
subtitle: 'Place subtitle he... | {
"content_hash": "65256f99f9f0b16b3cf4a525c670ae87",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 56,
"avg_line_length": 21.25,
"alnum_prop": 0.6588235294117647,
"repo_name": "LineGuide/LG-web",
"id": "09916ab139dac9982520874dfde51cfe7fa0d0ae",
"size": "340",
"binary"... |
layout: post
title: Mathematics Teacher vacancy in Nagaland Schools last date 30th April-2016
date: 2016-04-07 07:02
comments: true
tags: ContractJob Mathematics Nagaland North-East School Teacher
archive: false
---
Nagaland Education Mission Society (NEMS) invites application from interested candidates for the f... | {
"content_hash": "b79a1962829b4c2cb2d2f53f27f9eb1a",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 224,
"avg_line_length": 70.0625,
"alnum_prop": 0.7876895628902766,
"repo_name": "anchalrani/getopportunity",
"id": "be1f99176d6d3587ca8581c9d86a86143f612f45",
"size": "1133... |
I18n.available_locales = %i[en fr zh-CN]
# If we don't have text, fall back to English. That obviously isn't
# ideal, but it's better to show *some* text to the user than leave it
# a mystery.
Rails.application.config.i18n.fallbacks = [:en]
| {
"content_hash": "1c682bb3261b32154dc659b43d9888fc",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 70,
"avg_line_length": 40.5,
"alnum_prop": 0.720164609053498,
"repo_name": "wanganyv/cii-best-practices-badge",
"id": "45ef531a86bbdd7657fef847cddbd598d157c415",
"size": "94... |
package rrd
import (
"bufio"
"fmt"
"io"
"net"
"regexp"
"strconv"
"strings"
"time"
)
const (
// DefaultPort is the default rrdcached port.
DefaultPort = 42217
)
var (
respRe = regexp.MustCompile(`^(-?\d+)\s+(.*)$`)
// DefaultTimeout is the default read / write / dial timeout for Clients.
DefaultTimeout ... | {
"content_hash": "db14eef77ec6ce190e0e77c7af7e10d4",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 94,
"avg_line_length": 22.32934131736527,
"alnum_prop": 0.6578171091445427,
"repo_name": "multiplay/go-rrd",
"id": "72c5b66bff56576f022da8b71a18e628ae897fb9",
"size": "388... |
import React from 'react';
import { AssetsGroupPage } from './groups/AssetsGroupPage';
import { OAuthGroupPage } from './groups/OAuthGroupPage';
import { GenericGroupPage } from './groups/GenericGroupPage';
import { GroupPage } from './GroupPage';
import { useGroup } from './SettingsState';
export function GroupSelec... | {
"content_hash": "91bc52fbc93437926e230ba65dbb7a66",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 61,
"avg_line_length": 24.6,
"alnum_prop": 0.6715447154471544,
"repo_name": "subesokun/Rocket.Chat",
"id": "6cbd557b740edab50683c90c4cb251d84c3a7ce1",
"size": "615",
"bin... |
from base.input_program import InputProgram
class PDDLInputProgram(InputProgram):
"""A generic PDDL program"""
def __init__(self, progType):
super(PDDLInputProgram, self).__init__()
self.__programs_type = progType # Where type of program are stored
def get_programs_type(self)... | {
"content_hash": "5807066636e17e313e2fc63ad64ce782",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 75,
"avg_line_length": 32.833333333333336,
"alnum_prop": 0.6395939086294417,
"repo_name": "SimoneLucia/EmbASP-Python",
"id": "02aa771ab2ffbace2a7994715eff496b17b3f8c6",
"si... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_31) on Mon Oct 01 06:51:22 PDT 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.mapreduce.lib.reduce.LongSumReducer (Hadoop 1.0.3.16 API)
</TITLE>
<... | {
"content_hash": "4bccbd3e7483b67ab077007daaa78dbc",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 254,
"avg_line_length": 43.416666666666664,
"alnum_prop": 0.6124440179142674,
"repo_name": "Seagate/hadoop-on-lustre",
"id": "2ef1a62bcb30e17fe3a2204a12bdeb9cf7fecf7b",
"s... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("01... | {
"content_hash": "da50ca76f7259f65acd8eb89fcaacaec",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.416666666666664,
"alnum_prop": 0.7477096546863988,
"repo_name": "bozhidar-slavov/12.Data-Structures-and-Algorithms",
"id": "848e1519b20a096b84b7e241... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hold Shift to Check Multiple Checkboxes</title>
</head>
<body>
<style>
html {
font-family: sans-serif;
background:#ffc600;
}
.inbox {
max-width:400px;
margin:50px auto;
background:white;
border-... | {
"content_hash": "a19848110005126773bccb6d2df69173",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 165,
"avg_line_length": 21.03053435114504,
"alnum_prop": 0.5782214156079855,
"repo_name": "daraclare/JSTuts",
"id": "0b1fde480625e89cedc499c1f807671810bf6a13",
"size": "27... |
package com.facebook.react.bridge.queue;
import com.facebook.jni.Countable;
import com.facebook.jni.HybridData;
import com.facebook.proguard.annotations.DoNotStrip;
/**
* A Runnable that has a native run implementation.
*/
@DoNotStrip
public class NativeRunnableDeprecated extends Countable implements Runnable {
... | {
"content_hash": "d2a9bc565c1abe008352e112b35087ff",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 77,
"avg_line_length": 20.4,
"alnum_prop": 0.7794117647058824,
"repo_name": "hoastoolshop/react-native",
"id": "4da397799cef429e0b77b94ea40a37fa8f7f299e",
"size": "590",
... |
using Aspose.Pdf.LogicalStructure;
using Aspose.Pdf.Tagged;
using Aspose.Pdf.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aspose.Pdf.Examples.CSharp.AsposePDF.Working_with_TaggedPDFs
{
public class CreatePDFwithTaggedText
{
public static void Ru... | {
"content_hash": "46face6fa78e842eb6dca7c69b6e37e9",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 88,
"avg_line_length": 42.69230769230769,
"alnum_prop": 0.6747747747747748,
"repo_name": "aspose-pdf/Aspose.Pdf-for-.NET",
"id": "9ce67b0e0c7066384cf955d1299a06f2f8d69943",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.