text stringlengths 2 1.04M | meta dict |
|---|---|
import React from "react";
import {getSettings} from "../api";
import {buildAuthenticator} from "../authentication";
import ClipboardJS from "clipboard";
new ClipboardJS('#copy-your-user-id');
const JoinPage = () => {
const settings = getSettings();
// TODO: deduplicate with registration page
if (!settings.user... | {
"content_hash": "0b507bf31ed62797616f28034a05f856",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 115,
"avg_line_length": 28.7,
"alnum_prop": 0.6506968641114983,
"repo_name": "orfjackal/territory-bro",
"id": "b7c0d783ad3f5b92156e6466186a2cd5e9fa4065",
"size": "1317",
... |
TARGET=public/vendor
DATA=public/data
SPEC=public/spec
SCHEMA=schema
# Copy dependencies by default. Link if a -l flag is specified.
CWD=$(pwd)
VEGA_OP="cp -R"
VEGA_DATASETS_OP="cp -R"
SCHEMA_OP="cp"
VEGA_EMBED_OP="cp -R"
VEGA_LITE_OP="cp -R"
while getopts :l: FLAG; do
case $FLAG in
l)
echo "Linking '$OPT... | {
"content_hash": "be8ee05dd4447acdc3f9f6d1792cf425",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 98,
"avg_line_length": 25.5,
"alnum_prop": 0.6660130718954248,
"repo_name": "jlove29/vega-editor",
"id": "052f496b585c6529d15acdb6a93720becc408228",
"size": "1543",
"bina... |
var ConnectionView = Backbone.View.extend({
events: {
"click .btn_close" : "close",
"click .btn_connect" : "connect",
"change input": "on_form_change",
"keyup #password": "check_enter",
"click #btn_anonymous":"connect_anonymously",
"click #roster_toggle" : "toggle... | {
"content_hash": "da7ceabe4f0a07dcfe825430bc5e1e32",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 93,
"avg_line_length": 35.16083916083916,
"alnum_prop": 0.5415672235481305,
"repo_name": "XSell/prattle",
"id": "605c167ae9e179ac8f5b1c947bb33c1e0f9d832f",
"size": "5028",... |
'use strict';
var http = require('http');
var https = require('https');
/**
* List of Buses
*/
exports.busservices = function(req, res) {
var options = {
//http://mk.ods-live.co.uk/api/1/bus/locations.json?service='+id
host: 'mk.ods-live.co.uk',
path: '/api/1/bus/services.json'
};
//res.jsonp(service... | {
"content_hash": "be6f1e21c89b90b52121fdb9d7bb5417",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 66,
"avg_line_length": 23.395061728395063,
"alnum_prop": 0.6395778364116095,
"repo_name": "ekretschmann/bi",
"id": "33e25a3610f1a7af65a220f301e22ad2c5a3290d",
"size": "1895... |
from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union, cast
from azure.core.async_paging import AsyncItemPaged, AsyncList
from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import Pipel... | {
"content_hash": "02e4c6cc681d4378fc0ff00c60ac0c5a",
"timestamp": "",
"source": "github",
"line_count": 404,
"max_line_length": 242,
"avg_line_length": 46.94059405940594,
"alnum_prop": 0.6495465091752795,
"repo_name": "Azure/azure-sdk-for-python",
"id": "31f68d205e987b6bcafdcd3fdac67ea57c7f3c82",
"... |
// Copyright 2011 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unl... | {
"content_hash": "755f1fccb0abfa76c2ceb1d2ba8219c5",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 80,
"avg_line_length": 28.348837209302324,
"alnum_prop": 0.6866283839212469,
"repo_name": "dmincu/IOC",
"id": "01cd3523feaf44038dc11a2512836a8d02a94ed3",
"size": "2438",
... |
graphenecommon.committee module
===============================
.. automodule:: graphenecommon.committee
:members:
:undoc-members:
:show-inheritance:
| {
"content_hash": "19a14b7f099c55fc7b87183d7a7bd209",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 40,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.6,
"repo_name": "xeroc/python-graphenelib",
"id": "1ca4bca22076bbdeecbd34bb5eae4ef3c69f0477",
"size": "160",
"bi... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c821dd26118dab565eb622227ce35e24",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "9fa5616e27a1a6d0152f426bbb4a47ce1637e15d",
"size": "176... |
module.exports = function( grunt ) {
'use strict';
//
// Grunt configuration:
//
// https://github.com/cowboy/grunt/blob/master/docs/getting_started.md
//
grunt.initConfig({
// Project configuration
// ---------------------
// specify an alternate install location for Bower
bower: {
... | {
"content_hash": "729f6f63e55c8537e7129ba7d6609e0e",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 106,
"avg_line_length": 24.788888888888888,
"alnum_prop": 0.5403406544150605,
"repo_name": "cironunes/jquery-to-angular",
"id": "fafde7c120ea5fe191961e01b4077b145c7e4768",
... |
<?php
//SideBar Widget类
class sidebarWidget extends Widget {
public function render($data){
$linkQuery=M('linktable');
$linkData=$linkQuery->order('id')->select();
$insert['link']=$linkData;
$content=$this->renderFile('sideba... | {
"content_hash": "52144380bac248afbf4550223e2f0c55",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 58,
"avg_line_length": 29.384615384615383,
"alnum_prop": 0.4869109947643979,
"repo_name": "zyzsdy/feelyblog",
"id": "b0f7a6f5281e5c9968285b25b54de890f28c82df",
"size": "384... |
package com.tbb.analytics.flume.twitter.source;
import org.apache.flume.Context;
import org.apache.flume.EventDrivenSource;
import org.apache.flume.annotations.InterfaceAudience;
import org.apache.flume.annotations.InterfaceStability;
import org.apache.flume.conf.Configurable;
import org.apache.flume.source.AbstractSo... | {
"content_hash": "c07f76264d7ca4a0c2e5c69f0e7a4689",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 97,
"avg_line_length": 22.46875,
"alnum_prop": 0.7649513212795549,
"repo_name": "TBB-Softwares/tbb-flume-twitter-source",
"id": "d58c8cc33c1e9f55edfb06cc53d686cfb1a48a8a",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Mon May 23 19:36:32 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.egothor.st... | {
"content_hash": "1517272280b2f7183a0fd863a8cf18b8",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 123,
"avg_line_length": 34.81428571428572,
"alnum_prop": 0.595814526056627,
"repo_name": "YorkUIRLab/irlab",
"id": "53d5f11d8f032b65751047b6eb8d1b5b87b1005e",
"size": "487... |
package fr.elgregos.java8presentation.lambdas.example6.constructorreference;
import java.util.Arrays;
import java.util.List;
public class Team {
public List<String> firstName;
public Team(final String[] firstName) {
this.firstName = Arrays.asList(firstName);
}
}
| {
"content_hash": "f3778ed655d9a80c72890eef2d6b5786",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 76,
"avg_line_length": 20.642857142857142,
"alnum_prop": 0.7301038062283737,
"repo_name": "GregoryBevan/java8presentation",
"id": "d04d87c8ba441308b6d08821c2f706dc8efb30a1",
... |
package main_test
import (
"testing"
kusttest_test "sigs.k8s.io/kustomize/api/testutils/kusttest"
)
func TestPrefixTransformer(t *testing.T) {
th := kusttest_test.MakeEnhancedHarness(t).
PrepBuiltin("PrefixTransformer")
defer th.Reset()
rm := th.LoadAndRunTransformer(`
apiVersion: builtin
kind: PrefixTransfo... | {
"content_hash": "d9c9f8a3c6dd17ec47d2629b53353d33",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 61,
"avg_line_length": 18.680981595092025,
"alnum_prop": 0.7454844006568144,
"repo_name": "kubernetes-sigs/kustomize",
"id": "00247c1e66e95e94465ab4aacc31a7ba2a812dfb",
"s... |
<!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_25) on Sat Nov 16 21:43:21 PST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.f... | {
"content_hash": "e725a5f589e0cb07cdeff5e3db847cd1",
"timestamp": "",
"source": "github",
"line_count": 324,
"max_line_length": 677,
"avg_line_length": 70.58641975308642,
"alnum_prop": 0.7077831219938785,
"repo_name": "FasterXML/jackson-databind",
"id": "ff884923ccf8376e653c0817475a5f9af04b1b7c",
"... |
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>bin</id>
<formats>
<fo... | {
"content_hash": "3b4d074892b5c4dbad5304e9b247bb99",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 141,
"avg_line_length": 29.507462686567163,
"alnum_prop": 0.6843702579666161,
"repo_name": "uchicago/mcb-duo",
"id": "6bd20fe0de47f93366d3866c7f442247a37b87e6",
"size": "19... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ja">
<head>
<!-- Generated by javadoc (1.8.0_45) on Fri May 20 00:01:20 JST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>クラス yokohama.yellow_man.sena... | {
"content_hash": "aa30411496787e5efa854498802740c4",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 145,
"avg_line_length": 35.536,
"alnum_prop": 0.614813147230977,
"repo_name": "yellow-man/sena-doc",
"id": "7a269d105b18d304bcac27787fa977b13078d3be",
"size": "4892",
"b... |
package main
import (
// This is the graphics library we are going to use. It is called the
// Simple Direct Media Library. SDL for short. We need this to create the
// window and to provide the drawing functions we need.
"github.com/veandco/go-sdl2/sdl"
)
// These are the variables for the graphics library
// Th... | {
"content_hash": "2f77fb81146c20b5af668d9d3e7a8644",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 94,
"avg_line_length": 34.22435897435897,
"alnum_prop": 0.7286008615845664,
"repo_name": "gophercoders/codeclub-extra",
"id": "93a747db640072b6fe125a279230fb08c661837d",
"... |
<div class="block-main">
{{> nav/nav-new}}
<div class="container">
<div class="block-main-image">
<img src="%=static=%images/general/coupon_orange.png" alt="">
</div>
<div class="block-main-title h3">
SUPER FAST <span class="text-primary">ESTIMATE</span>
</div>
<div class="block-main-desctitle h4">
... | {
"content_hash": "acc759f2a31e2a5dc68ac651f4031f4a",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 145,
"avg_line_length": 33.48837209302326,
"alnum_prop": 0.6333333333333333,
"repo_name": "sohailkhetani/pioneerroofing",
"id": "b0b4f68fa1882be27e10784b0d5294a76e27112b",
... |
"""
Created on Sun Oct 10 14:57:50 2010
Author: josef-pktd, Skipper Seabold
License: BSD
TODO: check everywhere initialization of signal.lfilter
"""
import numpy as np
from scipy import signal, optimize
from scikits.statsmodels.base.model import (LikelihoodModel,
GenericLikelihoodModel)
#copied from sandb... | {
"content_hash": "e40412b5eddcaf5dbe3d84965818c06d",
"timestamp": "",
"source": "github",
"line_count": 376,
"max_line_length": 91,
"avg_line_length": 35.8936170212766,
"alnum_prop": 0.5872851215174867,
"repo_name": "wesm/statsmodels",
"id": "8372b89545956aa664927c5cabbdbe1f9f6d4019",
"size": "1349... |
using System;
using System.Web.Mvc;
using BaselineSolution.Framework.Infrastructure.Attributes;
namespace BaselineSolution.WebApp.Components.Models.SelectLists
{
public interface IOptionsBuilder<out TOption>
{
/// <summary>
/// Returns the select list with one or more options preselected w... | {
"content_hash": "7fc628b04779905c5f87eba4635bb95f",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 189,
"avg_line_length": 78.64150943396227,
"alnum_prop": 0.6880998080614203,
"repo_name": "Adconsulting/BaseSolution",
"id": "d76b87f6b5147d42783249642f45ef51e5a83c6c",
"si... |
namespace MassTransit
{
using System;
using System.Collections.Generic;
using System.Linq;
using ConsumeConfigurators;
using Internals.Extensions;
using Microsoft.Practices.Unity;
using Saga;
using Saga.SubscriptionConfigurators;
using UnityIntegration;
public stat... | {
"content_hash": "01b32357621c7c56c629d8b90a7c5fbc",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 113,
"avg_line_length": 37.145161290322584,
"alnum_prop": 0.6087711680416847,
"repo_name": "D3-LucaPiombino/MassTransit",
"id": "f064c7bc385c549dc99e27849b5a060b811b3e94",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.phonegap.testGPS"
versionCode = "10"
version = "1.0.0">
<n... | {
"content_hash": "e42d2e6cdf80d0e4624d2cfaac59c3e4",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 197,
"avg_line_length": 70.33613445378151,
"alnum_prop": 0.6350059737156512,
"repo_name": "xyz2130/testGPSphonegapbuild",
"id": "c52688f7331652ce8b6ccc459cf6c03cd372aaf5",
... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_display_message"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="... | {
"content_hash": "1e8d089c4e4c5b0480fe8400c0cccc88",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 74,
"avg_line_length": 47.84615384615385,
"alnum_prop": 0.7556270096463023,
"repo_name": "Baersligan/BeerBingo",
"id": "fb1bdcd41ab1710bb48e460f16a18e4fb6e82d22",
"size": "... |
* [Vue.js](https://vuejs.org/) 3
* [Laravel](http://laravel.com/docs/) 5+
* [Bootstrap](http://getbootstrap.com/) 4/5
* [Tailwind CSS](https://tailwindcss.com/) 3
## Install
Install with yarn or npm:
:::: code-group
::: code-group-item YARN
```bash:no-line-numbers
yarn add laravel-vue-pagination
```
:::
::: code-gro... | {
"content_hash": "b5bb7bf004bd435da5d1f9c392363d4c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 23.482758620689655,
"alnum_prop": 0.7063142437591777,
"repo_name": "gilbitron/laravel-vue-pagination",
"id": "631701f7103c0f5e01623569a04ca4a78789c545"... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.slime;
/**
* Helper interface for inserting values into any of the container
* classes (ArrayValue, ObjectValue, or Slime). May be useful for
* deserializers where you can use it to decouple t... | {
"content_hash": "ca7739713ffe7b84ec126dc4150b30d3",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 104,
"avg_line_length": 33.72727272727273,
"alnum_prop": 0.7345013477088949,
"repo_name": "vespa-engine/vespa",
"id": "c36b56c11e251ff97e5c45390bc60e49af534601",
"size": "7... |
// Copyright 2021 The Pigweed Authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | {
"content_hash": "3cb9b9ef90c53db281f233e0df93f4a6",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 80,
"avg_line_length": 26.482954545454547,
"alnum_prop": 0.6277622827719374,
"repo_name": "google/pigweed",
"id": "181f85989e89836764ec67d8d70e63c60bcac92c",
"size": "4661... |
<ons-page>
<ons-toolbar>
<div class="center">Simple Navigation</div>
</ons-toolbar>
<ons-list ng-controller="MasterController">
<ons-list-item modifier="chevron" class="item" ng-repeat="item in items" ui-sref="navigator.master.detail({index: $index})">
<ons-row>
<ons-col width="60px">
<div class="item-... | {
"content_hash": "81a4ecbce23ee9ca506464e3717487a0",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 127,
"avg_line_length": 28.761904761904763,
"alnum_prop": 0.6158940397350994,
"repo_name": "frankdiox/OnsenUI-router",
"id": "b09f327f17721ecfc607d040e6b81fc89cc81979",
"si... |
import json
import requests
import responses
from nose.tools import (
assert_equal,
assert_is_instance,
assert_is_none,
assert_is_not_none,
assert_not_equal,
assert_raises
)
from gocardless_pro.errors import MalformedResponseError
from gocardless_pro import resources
from gocardless_pro import list_respon... | {
"content_hash": "25141e2453edf415d54c4c81dc4222ed",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 79,
"avg_line_length": 43.53393665158371,
"alnum_prop": 0.6640681841804387,
"repo_name": "gocardless/gocardless-pro-python",
"id": "4d8bb0eaacc4ab0830514dcd35c112dca1a19e7c"... |
CM_WebSocketTransport::CM_WebSocketTransport()
{
}
| {
"content_hash": "fe67d275095d1495f31f9eb435a2af73",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 46,
"avg_line_length": 13,
"alnum_prop": 0.7692307692307693,
"repo_name": "operepo/ope",
"id": "4bf8b05d03e8c8de2f4fffdffb30d6aaf2eee699",
"size": "88",
"binary": false,
... |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {ChromeEvent} from '/tools/typescript/definitions/chrome_event.js';
import {assert} from 'chrome://resources/js/assert_ts.js';
import {ActivityLogDelegate} from './acti... | {
"content_hash": "041950c5d8e61167702f2bea2439f04e",
"timestamp": "",
"source": "github",
"line_count": 528,
"max_line_length": 80,
"avg_line_length": 32.51893939393939,
"alnum_prop": 0.6623762376237624,
"repo_name": "chromium/chromium",
"id": "2b1ea327bff00649314a4f2f889ed323ff34c5f6",
"size": "17... |
import { CommonDataService } from './../../../core/services/common/common-data.service';
import { Configuration } from './../../../app.constants';
import { AuthService } from '../../../core/services/common/auth.service';
import { Router } from '@angular/router';
import { UserloginService } from './../../../core/service... | {
"content_hash": "8d46e22fc6cdb9e9c9a243a76b05bfd7",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 103,
"avg_line_length": 37.588235294117645,
"alnum_prop": 0.6443661971830986,
"repo_name": "AhmedAlmodrs/datacenter",
"id": "87e74c9e9cc7076aa3fcf40587c467b8749bb470",
"siz... |
namespace App.Data.Migrations
{
using App.Models;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
public sealed class Configuration : DbMigrationsConfiguration<ApplicationDbContext>
{
static Random rand = new Random();
public C... | {
"content_hash": "056ff4bcd84d4587a8597db7865f8079",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 87,
"avg_line_length": 31.79032258064516,
"alnum_prop": 0.4672754946727549,
"repo_name": "nzhul/mvcstart",
"id": "5ed37f9ebcdaba1e773e1dcc0651172291074067",
"size": "1971",... |
"""
Copyright 2012 GroupDocs.
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 writin... | {
"content_hash": "ab822f58f8d3189dac18406d5c73fef5",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 114,
"avg_line_length": 37.30346820809248,
"alnum_prop": 0.5665917719067173,
"repo_name": "liosha2007/temporary-groupdocs-python3-sdk",
"id": "6cc5e3a4015ccd05bf838b5c42923b... |
#include "brg_endian.h"
#include "displayIntermediateValues.h"
#include "KeccakP-800-12-reference.h"
typedef unsigned char UINT8;
typedef unsigned int UINT32;
typedef UINT32 tKeccakLane;
void fromBytesToWords(tKeccakLane *stateAsWords, const unsigned char *state); // From KeccakF-800/Reference
void fromWordsToBytes... | {
"content_hash": "36a9a8eaa8bf01c2a7fa1fd44fbdc1b2",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 160,
"avg_line_length": 34.98,
"alnum_prop": 0.7284162378502002,
"repo_name": "mjosaarinen/brutus",
"id": "2f522e4bb6935628aa1597a2a6c923ab90d32112",
"size": "2227",
"bin... |
@interface OrgApacheLuceneIndexFlushPolicy ()
- (jboolean)assertMessageWithNSString:(NSString *)s;
@end
__attribute__((unused)) static jboolean OrgApacheLuceneIndexFlushPolicy_assertMessageWithNSString_(OrgApacheLuceneIndexFlushPolicy *self, NSString *s);
@implementation OrgApacheLuceneIndexFlushPolicy
- (instance... | {
"content_hash": "13787b6df18ccd6339b57ee4114041e4",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 310,
"avg_line_length": 62.74418604651163,
"alnum_prop": 0.7789720780825302,
"repo_name": "lukhnos/objclucene",
"id": "5a805dd26abd32ad7e1eafc79343179f397d0863",
"size": "... |
ACCEPTED
#### According to
World Register of Marine Species
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "65d61c844ad164a39fde727dfdb88406",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 32,
"avg_line_length": 9.76923076923077,
"alnum_prop": 0.7007874015748031,
"repo_name": "mdoering/backbone",
"id": "3356f0af67c6f44008a13228e3fc0b9607ac6e8e",
"size": "183"... |
'use strict';
var crypto = require('crypto'),
HoekBoom = require('hoek-boom'),
Measured = require('measured');
module.exports = BaseController;
function BaseController(logger, server) {
this.logger = logger;
this.server = server;
}
/**
* if an agentName is not already registered in the agents stat... | {
"content_hash": "33642b2fce6a744893d1894fea2fded6",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 121,
"avg_line_length": 26.201030927835053,
"alnum_prop": 0.6269919338973048,
"repo_name": "mrlannigan/governor",
"id": "ecf93f57c28bda8f45348d9a47847f62a32db660",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->... | {
"content_hash": "45c577dc29f64b3564adadb5e88cadc2",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 217,
"avg_line_length": 57.97701149425287,
"alnum_prop": 0.6473037272006344,
"repo_name": "almudenamc/almudenamc.github.io",
"id": "226199f2167d5d287df7af9567ad7eff8af80867",... |
import {
AfterViewInit,
Component,
Input,
NgZone,
OnChanges,
OnDestroy,
OnInit,
SimpleChanges,
ViewChild,
ViewEncapsulation,
} from "@angular/core";
import { Dataset } from "chipster-js-common";
import * as d3 from "d3";
import log from "loglevel";
import { Subject } from "rxjs";
import { takeUntil,... | {
"content_hash": "742e3e895af41f3babd8175a0e7ccdc2",
"timestamp": "",
"source": "github",
"line_count": 441,
"max_line_length": 117,
"avg_line_length": 33.3968253968254,
"alnum_prop": 0.6480173818576861,
"repo_name": "chipster/chipster-web",
"id": "aa4974fb8e2c4b676eca2a964356c8e545d1ab52",
"size":... |
/*!
* Copyright (c) 2015 by Contributors
* \file c_api.h
* \brief C API of mxnet
*/
#ifndef MXNET_C_API_H_
#define MXNET_C_API_H_
/*! \brief Inhibit C++ name-mangling for MXNet functions. */
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
/*! \brief Keep the default value in C++ */
#ifdef __cplusplus
#d... | {
"content_hash": "8682849c53fc2c6c5e811080fabdca15",
"timestamp": "",
"source": "github",
"line_count": 2330,
"max_line_length": 107,
"avg_line_length": 40.39184549356223,
"alnum_prop": 0.6116902022037338,
"repo_name": "jamesliu/mxnet",
"id": "6c7626b917a455c2e7f67e3b3c66488413a8a20d",
"size": "949... |
#include "numerics/newhall.hpp"
#include <algorithm>
#include <cmath>
#include <vector>
#include "geometry/named_quantities.hpp"
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "numerics/polynomial.hpp"
#include "numerics/polynomial_evaluators.hpp"
#include "quantities/named_quantities.hpp"
#include "qua... | {
"content_hash": "5df0973e49920cb5b0bc9cd26477e9dd",
"timestamp": "",
"source": "github",
"line_count": 773,
"max_line_length": 80,
"avg_line_length": 37.817593790426905,
"alnum_prop": 0.6631888619026443,
"repo_name": "eggrobin/Principia",
"id": "b7904dc47c2b5128e90fbd89febc37d57d9fa3d7",
"size": "... |
from multiprocessing import Process
import time
def f(name):
time.sleep(4)
print('hello', name)
if __name__ == '__main__':
p = Process(target=f, args=('bob',))
p.daemon=True
p.start()
p.terminate()
p.join()
| {
"content_hash": "3038a1ed8963594d9934b18831f1ee39",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 40,
"avg_line_length": 18.23076923076923,
"alnum_prop": 0.5822784810126582,
"repo_name": "orangeYao/twiOpinion",
"id": "4f667dfd54b6be1dc5334c9a51762b0b338a8a96",
"size": "... |
package com.flat502.rox.marshal;
import java.io.InputStream;
import java.io.Reader;
/**
* Encapsulates the methods required to unmarshal an
* {@link com.flat502.rox.marshal.RpcResponse} from various sources.
*/
public interface MethodResponseUnmarshaller extends MethodUnmarshaller {
/**
* Unmarshal a... | {
"content_hash": "3af4b2c628d16efb84e360c1714fc44a",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 74,
"avg_line_length": 35.43283582089552,
"alnum_prop": 0.7038753159224936,
"repo_name": "lukehutch/gribbit-rox",
"id": "84ed49b64ee9997ef2e87e328a2769faeee628e5",
"size": ... |
package org.openengsb.connector.plaintextreport.internal;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import org.junit.Test;
public class StringReportPartTest {
@Test
public void getBytes_shouldReturnByteRepresentation() {
String content = "Foobarbuz";
... | {
"content_hash": "4f747158ded1db8d905d184cb82ff211",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 87,
"avg_line_length": 25.157894736842106,
"alnum_prop": 0.7322175732217573,
"repo_name": "openengsb-domcon/openengsb-connector-plaintextreport",
"id": "ed6e2976174c1073319cd... |
(function() {
'use strict';
angular
.module('app', [
'app.core',
'app.home'
])
.run(['$rootScope', '$location', '$timeout', function($rootScope, $location, $timeout) {
$rootScope.$on('$routeChangeError', function() {
$location.path("/e... | {
"content_hash": "66ba19c006dcfe4b64fc751a29d9e8df",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 96,
"avg_line_length": 30.655172413793103,
"alnum_prop": 0.44431946006749157,
"repo_name": "bhochhi/thinking-cap",
"id": "e6f9d6d2315df1fb37a265bc1186ce3292aec917",
"size":... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highstock]]
*/
package com.highstock.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript... | {
"content_hash": "4e209a31f03fdc8c9e900dfdd714eecd",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 94,
"avg_line_length": 28.771428571428572,
"alnum_prop": 0.7219463753723933,
"repo_name": "Karasiq/scalajs-highcharts",
"id": "165f7c190cf8125a0b87ae1c58ede012fad4b001",
"s... |
/*
* Created on Jul 14, 2004
*/
package org.jkiss.dbeaver.erd.ui.dnd;
import org.eclipse.gef3.requests.CreationFactory;
/**
* Factory for creating instances of new objects from a palette
* @author Serge Rider
*/
public class DataElementFactory implements CreationFactory
{
private Object template;
/**
* Cr... | {
"content_hash": "6f0dd667aa11f33139de2abb16cc231d",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 67,
"avg_line_length": 16.537037037037038,
"alnum_prop": 0.6730123180291153,
"repo_name": "dbeaver/dbeaver",
"id": "f3b4c927c975e09f0b084a6278997e7dda41100e",
"size": "1548... |
// ----- this file has been automatically generated - do not edit
import { UAProperty } from "node-opcua-address-space-base"
import { DataType, VariantOptions } from "node-opcua-variant"
import { DTAxisInformation } from "./dt_axis_information"
import { UAArrayItem, UAArrayItem_Base } from "./ua_array_item"
/**
* | ... | {
"content_hash": "be1066a69ac1a5c8685a9e307b23b7ce",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 108,
"avg_line_length": 59.25,
"alnum_prop": 0.5080168776371308,
"repo_name": "node-opcua/node-opcua",
"id": "f1b216769eaa0b2be2e748353c4eb761b1846c87",
"size": "1185",
"... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
If argArray is either an array or an arguments object,
the function is passed the (ToUint32(argArray.length)) arguments argArray[0], argArray[1],...,argArray[ToUint3... | {
"content_hash": "75fe59937d42da17d392f4225a0622de",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 135,
"avg_line_length": 34.04761904761905,
"alnum_prop": 0.6867132867132867,
"repo_name": "baslr/ArangoDB",
"id": "864f1e054ccf5826a32422a75d8d61b7dd095463",
"size": "715",... |
<html><img border=0 src=122-56-5.txt alt=122-56-5.txt></img><body>
"x"
"1" "SHORT-TERM TEST PROGRAM SPONSORED BY THE DIVISION OF CANCER BIOLOGY,NATIONAL CANCER INSTITUTE, MS. ELLEN ZAIKA, ASSISTANT PROJECT OFFICER , p.Y92"
</body></html>
| {
"content_hash": "d6bb55005eefecafeef8a6ca212aef7f",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 153,
"avg_line_length": 60,
"alnum_prop": 0.725,
"repo_name": "andrewdefries/Ames_ToxBenchmark",
"id": "bdf694c2415ee9d5bd81205f9985d0755645fa7c",
"size": "240",
"binary":... |
package org.gradle.internal.buildtree;
import org.gradle.internal.build.ExecutionResult;
public class DefaultBuildTreeWorkExecutor implements BuildTreeWorkExecutor {
@Override
public ExecutionResult<Void> execute(BuildTreeWorkGraph graph) {
return graph.runWork();
}
}
| {
"content_hash": "fcd25af2853009d2460e0c59dcb828de",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 76,
"avg_line_length": 24.416666666666668,
"alnum_prop": 0.7747440273037542,
"repo_name": "blindpirate/gradle",
"id": "0b18814cdf6efe13803ffb5d16bfa32eb18d620e",
"size": "9... |
namespace Tests.Map
{
using System.Data.Entity.ModelConfiguration;
using Tests.Fakes;
class ProductMap : EntityTypeConfiguration<Product>
{
public ProductMap()
{
HasKey(p => p.Id);
Property(p => p.Name);
HasOptional(p => p.Manufacturer);
... | {
"content_hash": "4e19dba126758757622401b8bba72ba8",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 55,
"avg_line_length": 19.157894736842106,
"alnum_prop": 0.5384615384615384,
"repo_name": "hermsdorff/ODataSelectToWebAPI",
"id": "8b5d472cca4e932ec0ccdfada1a136e488d96bf3",
... |
auth = angular.module('auth', []);
auth.controller('login', ['$scope', '$http', function($scope, $http) {
$scope.httpForm = new icaav.services.HTTPForm($http);
$scope.authUrl = '/auth/authentication';
$scope.user = {};
$scope.authentication = function() {
$scope.httpForm.post(icaav.helpers.get... | {
"content_hash": "fdc380f703f3536cdbe76adc19a61220",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 87,
"avg_line_length": 32.78947368421053,
"alnum_prop": 0.5585874799357945,
"repo_name": "Juanin88/icaav",
"id": "cd29563971bb119c8a447ae2287ef4047819d551",
"size": "623",
... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.beans;
import com.util.ReasignacionMasivaRun;
import java.math.BigDecimal;
import java.math.BigInteger;
import j... | {
"content_hash": "13d15816be8b6967f9a40cbf7374a245",
"timestamp": "",
"source": "github",
"line_count": 267,
"max_line_length": 139,
"avg_line_length": 32.161048689138575,
"alnum_prop": 0.6141842319785723,
"repo_name": "LawyerOffice/LawyerOfficeApp",
"id": "a9fc11c140f0d374e465ac6e5a6a66173982ac67",
... |
<?php
$installer = $this;
/* @var $installer Mage_Sales_Model_Entity_Setup */
$installer->startSetup();
$installer->run("
CREATE TABLE `{$installer->getTable('sales_flat_quote')}` (
`entity_id` int(10) unsigned NOT NULL auto_increment,
`store_id` smallint(5) unsigned NOT NULL default '0',
`created_at` dat... | {
"content_hash": "11aa9a7396cee8ed89bcf4fd09578531",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 201,
"avg_line_length": 45.86363636363637,
"alnum_prop": 0.6703666997026759,
"repo_name": "5452/durex",
"id": "6b7ea8294be17dd225543aac916b9f1fe60ac85d",
"size": "16089",
... |
namespace app {
namespace Android {
namespace com {
namespace fuse {
namespace Native {
struct Camera;
extern jclass Camera___javaClass_1;
extern jclass Camera___javaProxyClass_1;
extern jmethodID Camera__Camera_44276_ID_c;
extern jmethodID Camera__Camera_44276_ID_c_prox;
extern jmethodID Camera__IntentCallback_44278... | {
"content_hash": "0f6d7afdcb74a679e37134b6256932fa",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 162,
"avg_line_length": 36.97727272727273,
"alnum_prop": 0.7135832821143209,
"repo_name": "blyk/BlackCode-Fuse",
"id": "3156a90b51668c824032ce10ba3e6db88ef70b4a",
"size": "... |
using System.Threading;
namespace YAF.Lucene.Net.Support.Threading
{
internal class ReentrantLock
{
// .NET Port: lock object used to emulate ReentrantLock
private readonly object _lock = new object();
// .NET Port: Estimated monitor queue length
private int _queueLength... | {
"content_hash": "ffb34a96bc6ded29978add878d4a9864",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 117,
"avg_line_length": 34.79661016949152,
"alnum_prop": 0.602532878714077,
"repo_name": "YAFNET/YAFNET",
"id": "ab4d508bbc4fb9c7c89feee397db0057bd1408ad",
"size": "2916",
... |
layout: post
title: "Progressive Web Apps Resources"
excerpt: "Progressive Web Apps usefull resources"
comments: true
categories:
- Progressive Web Apps
tags:
- pwa
- push notification
- progressive web apps
- service worker
- precache
- offline
---
## Service Workers
1. [Service Worker Precache](https... | {
"content_hash": "29e8c1a296193757dbfb5186b3dfc9ba",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 154,
"avg_line_length": 34.65625,
"alnum_prop": 0.7547339945897205,
"repo_name": "aeleftheriadis/aeleftheriadis.github.io",
"id": "aeeacd524aea91d71ba6219601263b4e1a09455b",
... |
SYNONYM
#### According to
Integrated Taxonomic Information System
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b35aa429721e63f243dac57d210a2804",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.7218045112781954,
"repo_name": "mdoering/backbone",
"id": "06baeaf11a57fd508f06ab2c0ca8f546472acf6f",
"size": "206... |
"""
This module contains the classes needed for querying vector data.
It contains the following import shortcuts:
```python
from pygw.query.vector import SpatialTemporalConstraintsBuilder
from pygw.query.vector import VectorQueryConstraintsFactory
from pygw.query.vector import FilterFactory
from pygw.query.vector impo... | {
"content_hash": "f5cf9c4909f6f0ff6382b06942a83e65",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 83,
"avg_line_length": 41.22222222222222,
"alnum_prop": 0.8611859838274932,
"repo_name": "locationtech/geowave",
"id": "a118f12a74bf56937d8c7e137a3b816187a1cbdc",
"size": "... |
package org.apache.hyracks.dataflow.std.group.aggregators;
import java.io.DataOutput;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.apache.hyracks.api.comm.IFrameTupleAccessor;
import org.apache.hyracks.api.context.IHyracksTaskContext;
import org.apache.hyracks.api.dataflow.value.RecordDescripto... | {
"content_hash": "ef686fecc2dbf96bad8b1ea58d6c250c",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 146,
"avg_line_length": 40.51898734177215,
"alnum_prop": 0.5734145579506404,
"repo_name": "tectronics/hyracks",
"id": "8727b836dc233ecbbc12cf08f3d26809570714f5",
"size": "... |
/* Generated automatically. DO NOT EDIT! */
#define SIMD_HEADER "simd-support/simd-sse2.h"
#include "../common/n2fv_4.c"
| {
"content_hash": "c041b8b8619b0d65ce0ca403ddf779b9",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 46,
"avg_line_length": 40.666666666666664,
"alnum_prop": 0.7049180327868853,
"repo_name": "termoshtt/rust-fftw3",
"id": "e2df86a6fd922b6206e0f3c795009ba5bd9e1940",
"size": "... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | {
"content_hash": "7c77dc2d4cfb079fab59fd49ddc7cc98",
"timestamp": "",
"source": "github",
"line_count": 621,
"max_line_length": 176,
"avg_line_length": 45.17874396135266,
"alnum_prop": 0.44218705446250356,
"repo_name": "mufaddalq/cloudstack-datera-driver",
"id": "56dd4767d3920c3a1b8062a00206d40b2a29d... |
package com.dolzzo.twelve.menu;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import com.dolzzo.twelve.Config;
import com.dolzzo.twelve... | {
"content_hash": "96d66c90c56893068ca37cba47ede579",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 102,
"avg_line_length": 34.36274509803921,
"alnum_prop": 0.6119828815977175,
"repo_name": "YouKim/ExoPlayer",
"id": "6bc7747e406ccb006170ecb83dae0fda0abfdbfc",
"size": "41... |
namespace GUI
{
Text_Box::Text_Box( unsigned maxTextLength,
const sf::Vector2f& size,
const std::string& labelText,
std::string& inputString)
: m_inputtedText (&inputString)
, m_maxLength (maxTextLength)
{
m_quad.se... | {
"content_hash": "0cfe84606a163af6519f77e463f9aaf0",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 86,
"avg_line_length": 29.511904761904763,
"alnum_prop": 0.4594594594594595,
"repo_name": "Hopson97/HopsonCraft",
"id": "6f041f34a733375c9e1e1f1814933e53f8e23d8c",
"size": ... |
var deamdify = require('deamdify');
describe('deamdify', function() {
it('should export function', function() {
expect(deamdify).to.be.a('function');
});
});
| {
"content_hash": "3738a4d867e0ebcd67d99079e1d29d75",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 43,
"avg_line_length": 17.6,
"alnum_prop": 0.6079545454545454,
"repo_name": "Automattic/deamdify",
"id": "ecc4d906c3fcb8c4e76b09ea8a0c4b52f7f2e176",
"size": "176",
"binar... |
<?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition... | {
"content_hash": "5d164694d52c5ed407c4b918423396bf",
"timestamp": "",
"source": "github",
"line_count": 271,
"max_line_length": 836,
"avg_line_length": 38.542435424354245,
"alnum_prop": 0.6969842029679273,
"repo_name": "stop-time/pm_ut11",
"id": "43758a7de10b5893dae3a2c1b936b5524b2e9609",
"size": "... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | {
"content_hash": "77481f0647e02de905ab2c3f50bc9b00",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 98,
"avg_line_length": 43.236363636363635,
"alnum_prop": 0.7060555088309504,
"repo_name": "zhongzf/nativescript-dotnet-runtime",
"id": "9bfbc4e51d7048250d63d6d0c6a7f02e1c6095... |
package com.pixable.trackingwrap.demo;
public class Constants {
public enum Traces { LOGCAT, TOASTS }
public enum PlatformIds { FLURRY, MIXPANEL, GOOGLE_ANALYTICS, FACEBOOK }
}
| {
"content_hash": "7a94271095dbeef8a2ff6c823d5a6e5d",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 76,
"avg_line_length": 23.5,
"alnum_prop": 0.7393617021276596,
"repo_name": "androidsx/pixalytics",
"id": "ffb573a409f470a009524959914a74a316dad88c",
"size": "188",
"binar... |
<!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_45) on Tue Nov 12 20:31:45 CET 2013 -->
<title>Server</title>
<meta name="date" content="2013-11-12">
<link rel="stylesheet" type="text... | {
"content_hash": "c8f7a84c5f493b0e40e259c3101deea8",
"timestamp": "",
"source": "github",
"line_count": 672,
"max_line_length": 329,
"avg_line_length": 45.461309523809526,
"alnum_prop": 0.6766939443535188,
"repo_name": "frankdavid/diss",
"id": "07f02baf6e453bb10a8b25356b6fabed49901195",
"size": "30... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.securityinsights.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fa... | {
"content_hash": "6e3735903ed615477a4261c0c54f184f",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 99,
"avg_line_length": 29.842105263157894,
"alnum_prop": 0.6549088771310994,
"repo_name": "Azure/azure-sdk-for-java",
"id": "14c7a6754785fb919d2dfeda0d3e71b17648480d",
"siz... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_char_alloca_ncpy_74a.cpp
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml
Template File: sources-sink-74a.tmpl.cpp
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Init... | {
"content_hash": "62b5145cd0c9158ff6106ca1160f731a",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 124,
"avg_line_length": 26.825688073394495,
"alnum_prop": 0.6395348837209303,
"repo_name": "JianpingZeng/xcc",
"id": "d938b41c02c2bc426c377f3b44d94e7b56e98c3d",
"size": "2... |
package org.olat.lms.learn.hello.service;
/**
* Initial Date: 02.11.2011 <br>
*
* @author guretzki
*/
public class MessageTO {
private String message1;
private String message2;
public MessageTO(String message1, String message2) {
this.message1 = message1;
this.message2 = message2;
... | {
"content_hash": "3f4a3bd39ab78e795b7b7dc634dd675d",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 56,
"avg_line_length": 17.037037037037038,
"alnum_prop": 0.6260869565217392,
"repo_name": "huihoo/olat",
"id": "6d7865c3a23bcc9b45ca14208ab5a7e5ced85493",
"size": "1256",
... |
package com.github.randomtext.text.history;
import java.util.Objects;
/**
* Created by alexey on 6/17/17.
*/
class TextResponseProcessedEvent {
private String freqWord;
private Integer avgParagraphSize;
private Double avgParagraphProcessingTime;
private Double totalProcessingTime;
private Text... | {
"content_hash": "ee03765a86ef03d2a40b8a242b262ec4",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 105,
"avg_line_length": 30.595744680851062,
"alnum_prop": 0.6467315716272601,
"repo_name": "koptenkov/randomtext",
"id": "2a4f3b272c7490c0ea2f3432d130062d65811655",
"size":... |
module dojox.mobile.app{
export class StageController{
scenes : any[];
effect : String;
_opInProgress : Object;
domNode : any;
getActiveSceneController () : any;
pushScene (sceneName:any,params:any) : any;
setZIndex (controller:any,idx:any) : any;
popScene (data:any) : any;
popScenesTo (sceneName:any,data:any) : any;
_... | {
"content_hash": "dab64f03a14a20443023bff8db39e2fd",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 43,
"avg_line_length": 25.428571428571427,
"alnum_prop": 0.7303370786516854,
"repo_name": "stopyoukid/DojoToTypescriptConverter",
"id": "96ef72b78e9df24b9206dd0791b010ea73a53... |
require 'minitest/spec'
require 'minitest/autorun'
require 'podding-cli' | {
"content_hash": "4e8f1e9a40c46c0a6229105d5129dd01",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 26,
"avg_line_length": 18.25,
"alnum_prop": 0.7945205479452054,
"repo_name": "Podding/PoddingCLI",
"id": "66fb24248b8ef44342dd8fd9ff06941052f8f10a",
"size": "92",
"binary"... |
"""Provides base document support."""
import collections
import logging
from bson.json_util import dumps, loads
from tavi.errors import Errors
from tavi.base.fields import BaseField
logger = logging.getLogger(__name__)
def get_field_attr(cls, field):
"""Custom function for retrieving a tavi.field attribute. Hand... | {
"content_hash": "a5244979b4cfb7072479170713afe307",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 79,
"avg_line_length": 30.405405405405407,
"alnum_prop": 0.6133333333333333,
"repo_name": "bnadlerjr/tavi",
"id": "5a5b9eebf9abc35e8dcb649c872a85af46a4d529",
"size": "4524... |
FROM ubuntu:14.04
MAINTAINER Wink
RUN apt-get update; apt-get install -y curl default-jdk
# install some stuff we know we'll need to support Python stuff in distribution on the workers
RUN apt-get update; apt-get install -y \
python-dev \
python-pip \
&& pip install \
boto \
bz2file
RUN curl -s http:/... | {
"content_hash": "e77016bb978220ab25db499bf829457d",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 103,
"avg_line_length": 34.48,
"alnum_prop": 0.734338747099768,
"repo_name": "winkapp/spark-cluster-docker",
"id": "2299a377a7b32b900ecd11836f794591778c41ae",
"size": "862"... |
@protocol SAVR_FluxManagerDelegate;
@interface SAVR_FluxManager : NSObject <NSTableViewDataSource>
@property (nonatomic, weak) id<SAVR_FluxManagerDelegate> delegate;
+(id) sharedInstance;
-(id) initWithImgurFlux:(NSArray*)imgurFlux;
-(void) reloadActiveFlux:(BOOL)force;
-(void) checkIntegrity;
@end
@protocol SAVR_F... | {
"content_hash": "39230ebfe8894a24c97393834ead9dde",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 98,
"avg_line_length": 32.473684210526315,
"alnum_prop": 0.813614262560778,
"repo_name": "jcaille/Savr",
"id": "fc92bf6989e12be62d05e37720eb0bed3f572602",
"size": "793",
... |
package org.apache.activemq.artemis.rest.topic;
import org.apache.activemq.artemis.rest.queue.DestinationSettings;
public class TopicDeployment extends DestinationSettings
{
private String name;
public TopicDeployment()
{
}
public TopicDeployment(String name, boolean duplicatesAllowed)
{
th... | {
"content_hash": "b782f7b96673762400b5e1baeeea4bdf",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 66,
"avg_line_length": 17.93103448275862,
"alnum_prop": 0.6942307692307692,
"repo_name": "rogerchina/activemq-artemis",
"id": "f8d28d7ef91934fbd46342546999cd4bd3e5c3fa",
"s... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "f5ccd8882954e11690153fed79a41c93",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 456,
"avg_line_length": 98.2,
"alnum_prop": 0.6897227009243303,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "615783ed0526a3ed76b9d591c1e211ce0a2c6448",
"size": "12766",
... |
def type_to_string(_type: type) -> str:
"""Gets the string representation of a type.
THe original type can be derived from the returned string representation through
pydoc.locate().
"""
if _type.__module__ == "typing":
return f"{_type.__module__}.{_type._name}"
elif _type.__module__ == ... | {
"content_hash": "654499ed77ea613b4a4be0b80de46c64",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 84,
"avg_line_length": 35.5,
"alnum_prop": 0.5821596244131455,
"repo_name": "ray-project/ray",
"id": "279948c5408b6b0e1a51483dc8575f78bf94d2d3",
"size": "426",
"binary": ... |
package killrvideo.async;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicInteger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Custom ThreadFactory.
*
* @author DataStax evangelist team.
*/
public class KillrVideoThreadFactory implements ThreadFactory {
/... | {
"content_hash": "9aa49872084afad27ce67e52439aa11a",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 96,
"avg_line_length": 28.347826086956523,
"alnum_prop": 0.6955521472392638,
"repo_name": "doanduyhai/killrvideo-java",
"id": "807ab8b90e6ed38a15f2adcae25c35a42546cf1d",
"s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MassiveDynamicProxyGenerator.DependencyInjection.Test.Services
{
public interface ITypeC
{
void FooForC();
}
}
| {
"content_hash": "4ea335004123fe48c9b5d5e8d07c3376",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 19.923076923076923,
"alnum_prop": 0.752895752895753,
"repo_name": "harrison314/MassiveDynamicProxyGenerator",
"id": "004731651a3f96b4bdb7e7751e25fb7a0b... |
//
// GEORenderer.cpp
// G3MiOSSDK
//
// Created by Diego Gomez Deck on 11/30/12.
//
//
#include "GEORenderer.hpp"
#include "GEOObject.hpp"
#include "GEOSymbolizer.hpp"
#include "ILogger.hpp"
#include "Context.hpp"
#include "Camera.hpp"
#include "IDownloader.hpp"
#include "IBufferDownloadListener.hpp"
#include "GE... | {
"content_hash": "ef3daf1f26599a105df2a41381cb5718",
"timestamp": "",
"source": "github",
"line_count": 341,
"max_line_length": 150,
"avg_line_length": 29.35190615835777,
"alnum_prop": 0.5136377260465581,
"repo_name": "AeroGlass/g3m",
"id": "36e94f92cee1ea8cd1bd251ac9ea3a05908510b3",
"size": "10009... |
require "rails_helper"
describe Repository do
it { should belong_to(:namespace) }
it { should have_many(:tags) }
it { should have_many(:stars) }
describe "starrable behaviour" do
let(:user) { create(:user) }
let(:repository) { create(:repository) }
let(:star) { create(:star, user: user, repositor... | {
"content_hash": "ba9826895f334ac36bc9eb50efe16635",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 122,
"avg_line_length": 37.676923076923075,
"alnum_prop": 0.6171906900775826,
"repo_name": "mauromorales/Portus",
"id": "0b5aefb25672e3d453bc641f5f72753496db651b",
"size":... |
namespace Loon
{
public class UnityBundle
{
public object Bind;
public UnityBundle(object o)
{
this.Bind = o;
}
}
}
| {
"content_hash": "f25a1c4b6eadbf400adbafa9acd93525",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 30,
"avg_line_length": 11.083333333333334,
"alnum_prop": 0.631578947368421,
"repo_name": "cping/LGame",
"id": "cc5426cd613736dbe1b4f90a5668ba2a511a20b0",
"size": "133",
"... |
<!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 -->
<title>CredentialNotFoundException (xenon-2.3.0 2.4.1 API for Xenon developers)</title>
<link rel="stylesheet" type="text/css" href="../../../../.... | {
"content_hash": "05538d91361fc1efe8ccdc09f65a6bdd",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 315,
"avg_line_length": 37.93030303030303,
"alnum_prop": 0.6504753535192138,
"repo_name": "NLeSC/Xenon",
"id": "d1a31cc4456709f7ce9a4ffc35d9fad8ed46ed17",
"size": "12517",... |
WITH ThreadTimings AS (
SELECT thr.TSCPerMillisecond AS TSCPerMillisecond, thr.StartTime AS StartTime FROM Thread thr, Call c, Segment s, InstructionTagInstance iti, Instruction i WHERE thr.Id = c.Thread AND c.Id = s.Call AND s.Id = i.Segment AND i.Id = iti.Instruction and iti.Tag = t.Id LIMIT 1
)
INSERT INTO TagInst... | {
"content_hash": "4b66060f7cfa2c757140934d34e1f782",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 274,
"avg_line_length": 56.23529411764706,
"alnum_prop": 0.7123430962343096,
"repo_name": "wilhelma/parceive-ui",
"id": "8798fe202f3e6057dfa1f31cf7b74ac9e9a699f4",
"size": ... |
package com.rockhoppertech.music.midi.js;
/*
* #%L
* Rocky Music Core
* %%
* Copyright (C) 1996 - 2013 Rockhopper Technologies
* %%
* 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 L... | {
"content_hash": "88117703995e271b609e50144d3fa854",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 75,
"avg_line_length": 27.095238095238095,
"alnum_prop": 0.663444639718805,
"repo_name": "genedelisa/rockymusic",
"id": "ca17c058e3da833c19b6338508db2b56a3de54a4",
"size": ... |
[Upgrade Instructions](https://maru.readme.io/docs/upgrade-instructions-from-v09) From v0.9 to v0.10
## v0.10.4 (2016-8-19)
* Enhancements
* support one-line nested list params
* new DSLs for unittest
## v0.10.3 (2016-7-11)
* Enhancements
* add detail and responses for description
* add response helper functi... | {
"content_hash": "630d7e653cb35ab801af5b3f67022239",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 136,
"avg_line_length": 23.540983606557376,
"alnum_prop": 0.6896471680594243,
"repo_name": "Cifer-Y/maru",
"id": "d742b2f57fc9c4205c12f2f552b284d9e596fbc1",
"size": "4322"... |
<?php
namespace Chamilo\Application\Weblcms\Integration\Chamilo\Core\Home\Type;
use Chamilo\Application\Weblcms\Course\Storage\DataManager as CourseDataManager;
use Chamilo\Application\Weblcms\Integration\Chamilo\Core\Home\Block;
use Chamilo\Application\Weblcms\Integration\Chamilo\Core\Home\NewBlock;
use Chamilo\Appl... | {
"content_hash": "bd2c2d2413c75ffa661bba0b2df57390",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 163,
"avg_line_length": 42.346666666666664,
"alnum_prop": 0.6212216624685138,
"repo_name": "forelo/cosnics",
"id": "a91f55f8818d5e44686a0bb1e80b644586026e50",
"size": "635... |
"use strict";
Object.defineProperty(exports, '__esModule', {
value: true
});
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('v... | {
"content_hash": "3a1b75445c7e572840a75c3a1ba632c3",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 667,
"avg_line_length": 54.6551724137931,
"alnum_prop": 0.6971608832807571,
"repo_name": "Legitcode/forms",
"id": "b8b7839861fc23ea7ba8f6e04d14d95c02257222",
"size": "3170"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Mac_68K)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="htt... | {
"content_hash": "7a43dbc21aa2603e39510b11c8478d33",
"timestamp": "",
"source": "github",
"line_count": 1254,
"max_line_length": 798,
"avg_line_length": 39.58452950558214,
"alnum_prop": 0.530590866052902,
"repo_name": "ThaDafinser/UserAgentParserComparison",
"id": "2efcf9cacdd8f1a114d5ea71ec3f8118b26... |
#ifndef cmVariableWatchCommand_h
#define cmVariableWatchCommand_h
#include "cmCommand.h"
class cmVariableWatchCommandHandler
{
public:
typedef std::vector<std::string> VectorOfCommands;
VectorOfCommands Commands;
};
/** \class cmVariableWatchCommand
* \brief Watch when the variable changes and invoke command
... | {
"content_hash": "b1ce50ddbc74a8c5ec5b231149233d14",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 77,
"avg_line_length": 23.654761904761905,
"alnum_prop": 0.6854554604932058,
"repo_name": "anasazi/POP-REU-Project",
"id": "469249a2adb05aa6a562d315f99f0c60df1b2a3a",
"size... |
class CopyMove {
public:
const std::size_t copied = 0;
const std::size_t moved = 0;
CopyMove() = default;
CopyMove(std::size_t cp, std::size_t mv) noexcept : copied(cp), moved(mv) {}
CopyMove(const CopyMove& other) noexcept : copied{other.copied + 1}, moved{other.moved} {}
CopyMove(CopyMove&& o... | {
"content_hash": "687232b7178d7335a2c274693c3d87f6",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 94,
"avg_line_length": 35.12105263157895,
"alnum_prop": 0.5489285179079874,
"repo_name": "newlawrence/Calculate",
"id": "7ff9dfb49cecca8136db011893750b14568eb69c",
"size":... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_45) on Sat Apr 09 10:11:03 EDT 2016 -->
<title>TableMetrics (apache-cassandra API)</title>
<meta name="date" content="2016-04-09">
<link rel="s... | {
"content_hash": "c7be8f7249540aa1eb09fc1a8f4eea6a",
"timestamp": "",
"source": "github",
"line_count": 1399,
"max_line_length": 391,
"avg_line_length": 46.95925661186562,
"alnum_prop": 0.6972875060886508,
"repo_name": "jasonwee/videoOnCloud",
"id": "8778c180a7dc2da8b583c9eb5cc7cef6ad621926",
"size... |
static float ffmax( float a, float b )
{
return a > b ? a : b;
}
void DoParticles( QVector pos, float percent, const Vector &velocity, float radial_size, float particle_size, int faction )
{
percent = 1-percent;
int i = rand();
static float scale = XMLSupport::parse_float( vs_config->getVariable( "graph... | {
"content_hash": "a5a4f6d4268e64f78c7c72434204f567",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 165,
"avg_line_length": 42.9,
"alnum_prop": 0.5494735149907564,
"repo_name": "Ezeer/VegaStrike_win32FR",
"id": "7cc05dc5fa59b63a75610193b0c2b4263f76639e",
"size": "13118",... |
package cruise.umple.umple;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Anonymous guard 1</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link ... | {
"content_hash": "5225e516b45d2af784ecc8eb8eaa051e",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 96,
"avg_line_length": 33.3728813559322,
"alnum_prop": 0.6465210766886744,
"repo_name": "ahmedvc/umple",
"id": "a46aa90811dd46bf22ccd90d0f560502e77a50a4",
"size": "2010",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.