code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | deeplearning4j/deeplearning4j | deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/main/java/org/deeplearning4j/text/movingwindow/ContextLabelRetriever.java | Java | apache-2.0 | 5,049 |
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | open-telemetry/opentelemetry-collector | model/internal/pdata/common_test.go | GO | apache-2.0 | 34,929 |
This directory contains all of the immutable models that contain the data that powers Slate. They are built using [Immutable.js](https://facebook.github.io/immutable-js/). Here's what each of them does:
- [Block](#block)
- [Character](#character)
- [Data](#data)
- [Document](#document)
- [Inline](#inline)
- [Mark](#m... | standardhealth/flux | src/lib/slate/models/Readme.md | Markdown | apache-2.0 | 3,689 |
# Zaleya galericulata subsp. galericulata SUBSPECIES
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Aizoaceae/Zaleya/Zaleya galericulata/Zaleya galericulata galericulata/README.md | Markdown | apache-2.0 | 184 |
---
layout: base
title: 'Statistics of flat in UD_Turkish-FrameNet'
udver: '2'
---
## Treebank Statistics: UD_Turkish-FrameNet: Relations: `flat`
This relation is universal.
4 nodes (0%) are attached to their parents as `flat`.
4 instances of `flat` (100%) are left-to-right (parent precedes child).
Average distanc... | UniversalDependencies/docs | treebanks/tr_framenet/tr_framenet-dep-flat.md | Markdown | apache-2.0 | 2,722 |
package com.shadow.repository;
import com.shadow.domain.User;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Created by qq65827 on 2015/1/26.
*/
@Repository
public interface UserRepository extends MyCustomRepository<User,Long> {
public User findByUsername(String username);
... | kidmonster/GraduationProject | src/main/java/com/shadow/repository/UserRepository.java | Java | apache-2.0 | 355 |
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>TypeSafeCollectionsTest xref</title>
<link typ... | Mohitsharma44/Citysynth | Citysynth_v2/Yaml_reader/snakeyaml/target/site/xref-test/org/yaml/snakeyaml/constructor/TypeSafeCollectionsTest.html | HTML | apache-2.0 | 14,151 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | facebook/fbthrift | thrift/test/reflection/fatal_diff_test.cpp | C++ | apache-2.0 | 14,687 |
function Get-LogonEvents {
param(
[CmdletBinding()]
[int] $DaysBefore = 21,
[string] $OutputFilePath,
[string] $OutputCSVFilePath,
[switch] $FormatTable = $false
)
begin {
$ErrorActionPreference = "Stop"
$logins = @()
[System.Diagnostics.Debug]::WriteLine("DaysBefore $DaysBefore")... | mattia72/powershell | Modules/Get-LogonEvents/Get-LogonEvents.psm1 | PowerShell | apache-2.0 | 2,559 |
package fr.inra.maiage.bibliome.alvisnlp.bibliomefactory.modules.pubannotation;
import java.util.Iterator;
import fr.inra.maiage.bibliome.alvisnlp.bibliomefactory.converters.expression.parser.ExpressionParser;
import fr.inra.maiage.bibliome.alvisnlp.bibliomefactory.modules.DefaultExpressions;
import fr.inra.maiage.bi... | Bibliome/alvisnlp | alvisnlp-bibliome/src/main/java/fr/inra/maiage/bibliome/alvisnlp/bibliomefactory/modules/pubannotation/RelationSpecification.java | Java | apache-2.0 | 3,786 |
# Copyright 2014 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | saeki-masaki/cinder | cinder/openstack/common/report/views/text/process.py | Python | apache-2.0 | 1,233 |
/**
* Copyright 2015 Confluent Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | cotedm/kafka-connect-jdbc | src/main/java/io/confluent/connect/jdbc/source/DataConverter.java | Java | apache-2.0 | 15,870 |
<?php
/**
* @version CVS: 1.0.2
* @package Com_Akrecipes
* @author Rutvik Doshi <rutvik@archanaskitchen.com>
* @copyright Copyright (C) 2015. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joo... | rutvikd/ak-recipes | com_akrecipes-1.0.2/site/views/ingredients/view.html.php | PHP | apache-2.0 | 2,724 |
---
layout: default
description: This is an introduction to ArangoDB's HTTP interface for administration andmonitoring of the server
---
HTTP Interface for Administration and Monitoring
================================================
This is an introduction to ArangoDB's HTTP interface for administration and
monitori... | arangodb/docs | 3.3/http/administration-and-monitoring.md | Markdown | apache-2.0 | 1,067 |
using System;
using System.Configuration;
namespace HtmlToPdf.Parser
{
public static class AppSettingsHelper
{
public static string GetValue(string key)
{
return GetValue<string>(key);
}
public static T GetValue<T>(string key, T defaultValue = default(T))
{... | elyor0529/HtmlToPdf | HtmlToPdf.Parser/AppSettingsHelper.cs | C# | apache-2.0 | 547 |
/*-------------------------------------------------------------------------
*
* vacuum.h
* header file for postgres vacuum cleaner and statistics analyzer
*
*
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src... | francelabs/datafari | linux/pgsql/include/server/commands/vacuum.h | C | apache-2.0 | 9,572 |
/*
* Copyright 1&1 Internet AG, https://github.com/1and1/
*
* 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 ap... | mlhartme/stool | src/main/java/net/oneandone/stool/cli/command/Config.java | Java | apache-2.0 | 4,196 |
<!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_26) on Mon Sep 12 10:43:51 CEST 2011 -->
<TITLE>
it.essepuntato.earmark.core.test
</TITLE>
<META NAME="date" CONTENT="2011-09-12">
<LINK REL ="styl... | essepuntato/EarmarkDataStructure | doc/it/essepuntato/earmark/core/test/package-summary.html | HTML | apache-2.0 | 9,750 |
/**
* @param {string} foo
* @param {string} [bar]
* @param {string=} baz some blurb
* @param {string} [quuz=Nope Nope Nope] more blurb
* @return {number}
*/
function allTheOptionalForms(foo, bar, baz, quuz) {
return 4;
};
/**
* @param {string} foo
* @param {string} [bar]
* @param {string=} baz some blurb
* ... | Kegsay/flow-jsdoc | tests/input/11-optional-params.js | JavaScript | apache-2.0 | 624 |
angular.module("emiolo").factory("apiInterceptor", function ($q) {
return {
request: function (config) {
return config;
},
responseError: function (rejection) {
console.log(rejection.config.url);
return $q.reject(rejection);
}
};
});
angular.module("emiolo").config(function ($httpProvider) {
$httpPr... | bimnascimento/TesteConhecimento | src/main/webapp/resources/js/interceptors/apiInterceptor.js | JavaScript | apache-2.0 | 722 |
#
# OpenCenter(TM) is Copyright 2013 by Rackspace US, Inc.
##############################################################################
#
# OpenCenter is licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. This
# version of ... | rcbops/opencenter | tests/test_expressions.py | Python | apache-2.0 | 11,034 |
/*
* Copyright 2011-2014, by Vladimir Kostyukov and Contributors.
*
* This file is part of la4j project (http://la4j.org)
*
* 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
*
* htt... | fernandoj92/mvca-parkinson | ltm-analysis/src/main/java/org/la4j/io/MatrixIterator.java | Java | apache-2.0 | 1,858 |
module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/empty'
# Create an app cookie stickiness policy
#
# ==== Parameters
# * lb_name<~String> - Name of the ELB
# * policy_name<~String> - The name of the policy being created.
# Th... | krobertson/knife-xenserver | vendor/fog/lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb | Ruby | apache-2.0 | 1,874 |
/*
* Copyright (c) 2010-2018 Stardog Union. <https://stardog.com>
*
* 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 a... | Complexible/stardog-examples | examples/api/main/src/com/complexible/stardog/examples/api/ProvSkosExample.java | Java | apache-2.0 | 7,161 |
# Dinophysis ovum Schutt SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Protozoa/Dinophyta/Dinophyceae/Dinophysiales/Dinophysiaceae/Dinophysis/Dinophysis ovum/README.md | Markdown | apache-2.0 | 180 |
package cn.bingoogolapple.refreshlayout.demo.ui.fragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import cn.bingoogolapple.refreshlayout.BGARefreshLayout;
import cn.bingoogolapple.refreshlayout.demo.R;
import cn.bingoogo... | snmlm/MyObject | GRTT/demo/src/main/java/cn/bingoogolapple/refreshlayout/demo/ui/fragment/StickyNavScrollViewFragment.java | Java | apache-2.0 | 3,157 |
//===--- SILGenPattern.cpp - Pattern matching codegen ---------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | stephentyrone/swift | lib/SILGen/SILGenPattern.cpp | C++ | apache-2.0 | 118,138 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta content="2013-12-2... | ahsbjunior/biblia-para-igrejas | ara/11-2.html | HTML | apache-2.0 | 10,884 |
/*
* Copyright 2000-2014 Vaadin Ltd.
*
* 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... | vaadin/grid-renderers-collection-addon | grid-renderers-collection-addon/src/main/java/org/vaadin/grid/cellrenderers/client/editoraware/CheckboxRendererConnector.java | Java | apache-2.0 | 4,670 |
package org.libsmith.anvil.reflection;
import javax.annotation.Nonnull;
import java.lang.reflect.*;
import java.util.ArrayDeque;
import java.util.Deque;
/**
* http://habrahabr.ru/blogs/java/66593/ и немного модифицировано
*
* @author Dmitriy Balakin <dmitriy.balakin@0x0000.ru>
* @created 20.03.16 5:06
*/
public ... | libsmith/libanvil | src/main/java/org/libsmith/anvil/reflection/GenericReflection.java | Java | apache-2.0 | 10,140 |
<!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_43) on Wed May 22 21:49:31 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | algarecu/hbase-0.94.8-qod | docs/apidocs/org/apache/hadoop/hbase/class-use/HServerAddress.html | HTML | apache-2.0 | 26,466 |
<!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">
<title>Portfolio Site</title>
<!-- Basic CSS Setup-->
<link rel="stylesheet" href="{{site.baseurl}}/css/reset.css">
<l... | rmfranciacastillo/30-days-bootstrap-site | _layouts/portfolio.html | HTML | apache-2.0 | 970 |
# Helvella sulcata var. pallens Pers. VARIETY
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Syn. meth. fung. (Göttingen) 2: 616 (1801)
#### Original name
Helvella sulcata var. pallens Pers.
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Pezizomycetes/Pezizales/Helvellaceae/Helvella/Helvella lacunosa/Helvella sulcata pallens/README.md | Markdown | apache-2.0 | 238 |
package org.set4j.objects;
import junit.framework.Assert;
import org.junit.After;
import org.junit.Test;
import org.set4j.Initializer;
/**
* @author Tomas Mikenda
*
*/
public class TestModuleTreeFields
{
@Test
public void testCreated()
{
WithFields_Main main = new WithFields_Main();
main.sub1 = new WithFie... | let-thomas/set4j | src/test/java/org/set4j/objects/TestModuleTreeFields.java | Java | apache-2.0 | 1,287 |
/**
* 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 ... | jbertram/activemq-artemis-old | artemis-core-client/src/main/java/org/apache/activemq/artemis/spi/core/remoting/package-info.java | Java | apache-2.0 | 857 |
package ru.job4j.trackerapp.start;
import java.util.Scanner;
/**
* ConsoleInput.
*
* @author Alexey Cheremisin.
* @version $Id$.
* @since 0.1.
*/
public class ConsoleInput implements Input {
/**
* Настройка считывания пользовательского ввода.
*/
private Scanner scanner = new Scanner(System.in);
/**
* Реал... | acheremisin/acheremisin | chapter_002/src/main/java/ru/job4j/trackerapp/start/ConsoleInput.java | Java | apache-2.0 | 1,287 |
# AUTOGENERATED FILE
FROM balenalib/nitrogen8mm-alpine:3.10-build
# Default to UTF-8 file.encoding
ENV LANG C.UTF-8
# add a simple script that can auto-detect the appropriate JAVA_HOME value
# based on whether the JDK or only the JRE is installed
RUN { \
echo '#!/bin/sh'; \
echo 'set -e'; \
echo; \
echo 'dirn... | nghiant2710/base-images | balena-base-images/openjdk/nitrogen8mm/alpine/3.10/7-jre/build/Dockerfile | Dockerfile | apache-2.0 | 1,764 |
({"rangeMessage":"* \u8f93\u5165\u6570\u636e\u8d85\u51fa\u503c\u57df\u3002","invalidMessage":"* \u975e\u6cd5\u7684\u8f93\u5165\u503c\u3002","missingMessage":"* \u6b64\u503c\u662f\u5fc5\u987b\u7684\u3002"}) | Gallio/infrastructure | ccnet/WebDashboard/javascript/Dojo/src/widget/nls/zh-cn/validate.js | JavaScript | apache-2.0 | 206 |
// Protocol Buffers for Objective C
//
// Copyright 2010 Booyah Inc.
// Copyright 2008 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.or... | hgl888/TeamTalk | protobuf-objc/src/compiler/objc_enum.h | C | apache-2.0 | 2,086 |
package es.ucm.fdi.sscheck.gen
import org.scalacheck.Gen
import org.scalacheck.util.Buildable
import Buildables.buildableSeq
import scala.language.{postfixOps,higherKinds}
object UtilsGen {
/** Like containerOfN but with variable number of elements
* */
def containerOfNtoM[C[_], T]
(n : Int, m : Int, g : Gen... | juanrh/sscheck | src/main/scala/es/ucm/fdi/sscheck/gen/UtilsGen.scala | Scala | apache-2.0 | 1,756 |
/*
Copyright 2002-2003 The Apache Software Foundation
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 applica... | Uni-Sol/batik | sources/org/apache/batik/css/engine/SVGCSSEngine.java | Java | apache-2.0 | 15,600 |
/******************************start app.js******************************/
'use strict';
/*jslint unused: false*/
var App = {};
var page;
var splashImage;
var scrollView;
var panel;
var elementCount;
var elements;
var appBar;
var appCanvas;
var utilityBar;
var navigationDrawer;
var mainContentContainer;
var scrolli... | cvince/missout-app | app.js | JavaScript | apache-2.0 | 12,491 |
---
title: "Developer Journey with Buildpacks"
linkTitle: "Developer Journey"
weight: 100
---
# Skaffold Developer Journey with Buildpacks Tutorial
## Introduction
### What is this project?
Skaffold allows developers to easily transition from local development on minikube to remote development on an enterprise Kube... | GoogleContainerTools/skaffold | docs/content/en/docs/tutorials/developer-journey.md | Markdown | apache-2.0 | 7,448 |
package pl.touk.nussknacker.engine.definition
import pl.touk.nussknacker.engine.api._
import pl.touk.nussknacker.engine.api.expression.TypedExpression
import pl.touk.nussknacker.engine.api.lazyparam.EvaluableLazyParameter
import pl.touk.nussknacker.engine.api.process.ComponentUseCase
import pl.touk.nussknacker.engine.... | TouK/nussknacker | interpreter/src/main/scala/pl/touk/nussknacker/engine/definition/CompilerLazyParameter.scala | Scala | apache-2.0 | 3,803 |
void a() {
return 1;
}
void b() {
return 2;
}
void c() {
return 3;
}
void d() {
return 4;
}
void e() {
return 5;
}
void f() {
return 6;
}
int main( int argc, char** argv ) {
int i;
motion_append_after_call( c, z );
motion_append_after_call( d, z );
motion_append_after_call( e, z );
... | quenette/COMPASS-I | t/scripts/test-compass-pointcut02.c | C | apache-2.0 | 362 |
package main
import (
"fmt"
"io/ioutil"
"os"
)
func main() {
dat, err := ioutil.ReadFile("data/simple.txt")
if err != nil {
fmt.Println(err)
os.Exit(1)
}
fmt.Print(string(dat))
}
| mhausenblas/letsgo | snippets/s09/main.go | GO | apache-2.0 | 192 |
/*
* 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 ... | adamjshook/accumulo | test/src/test/java/org/apache/accumulo/test/functional/ReadWriteIT.java | Java | apache-2.0 | 22,281 |
package com.venturocket.api.client.listing.object;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.JsonProcessingException;
import org.codehaus.jackson.map.JsonSerializer;
import org.codehaus.jackson.map.SerializerProvider;
import java.io.IOException;
/**
* User: Joe Linn
* Date: 1/5/14
* T... | Venturocket/venturocket-api-java | src/main/java/com/venturocket/api/client/listing/object/EnumSerializer.java | Java | apache-2.0 | 609 |
public class Manager implements IManager {
private Airport mAirport;
public Manager(Airport mAirport) {
super();
this.mAirport = mAirport;
}
@Override
public void addFlight(Flight pFlight) {
mAirport.addFlight(pFlight);
}
@Override
public void changeState(long idFlight, State pState) ... | RakickayaKaterina/Java-training | task3/4/src/Manager.java | Java | apache-2.0 | 909 |
---
copyright:
years: 2016, 2017
lastupdated: "2016-11-29"
---
{:new_window: target="\_blank"}
{:shortdesc: .shortdesc}
# Creating apps with the {{site.data.keyword.iotelectronics}} starter
{{site.data.keyword.iotelectronics_full}} is an integrated, end-to-end solution that enables your apps to communicate wit... | patsmith-ibm/docs | starters/IotElectronics/iot4egettingstarted.md | Markdown | apache-2.0 | 3,440 |
package org.mockserver.matchers;
import org.mockserver.model.HttpRequest;
/**
* @author jamesdbloom
*/
public interface Matcher<T> {
boolean matches(HttpRequest context, T t);
}
| jamesdbloom/mockserver | mockserver-core/src/main/java/org/mockserver/matchers/Matcher.java | Java | apache-2.0 | 188 |
/*
*
* Copyright 2019 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | muxi/grpc | test/core/client_channel/service_config_test.cc | C++ | apache-2.0 | 39,240 |
/*
* 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 ... | OpenChaiSpark/OCspark | tcpclient/src/main/scala/com/pointr/tcp/util/TcpUtils.scala | Scala | apache-2.0 | 952 |
#!/bin/bash
# Set up the Puppet Master
# r10k -v info puppetfile install
### The following lines get a development version of tempest that fixes glance and neutron ids
#cd modules/tempest
#git fetch https://review.openstack.org/stackforge/puppet-tempest refs/changes/51/86751/1 && git checkout FETCH_HEAD
#cd ../..
va... | varunarya10/puppet-cassandra | tests/10_install_apt_module.sh | Shell | apache-2.0 | 458 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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 agre... | leafclick/intellij-community | platform/lang-impl/src/com/intellij/ide/fileTemplates/FileTemplateManager.java | Java | apache-2.0 | 5,499 |
/**
* Copyright 2013 Netherlands eScience Center
*
* 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... | CerielJacobs/Constellation | src/test/java/ibis/constellation/impl/pool/FakeIbisIdentifier.java | Java | apache-2.0 | 2,148 |
package com.examw.collector.domain;
import java.io.Serializable;
import java.util.Date;
/**
* 定时器的更新记录
* @author fengwei.
* @since 2014年7月28日 上午10:15:14.
*/
public class UpdateLog implements Serializable {
private static final long serialVersionUID = 1L;
private String id,name;
private Integer type;
private D... | jeasonyoung/examw-collector | src/main/java/com/examw/collector/domain/UpdateLog.java | Java | apache-2.0 | 1,597 |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2007 GridWay Team, Distributed Systems Architecture */
/* Group, Universidad Complutense de Madrid */
/* ... | oldpatricka/Gridway | src/drmaa/drmaa1.0/org/ggf/drmaa/JobTemplate.java | Java | apache-2.0 | 25,608 |
# Annotation guidelines for the 'segmentation' model
## Introduction
For the following guidelines, it is expected that training data has been generated as explained [here](../Training-the-models-of-Grobid/#generation-of-training-data).
The following TEI elements are used by the segmentation model:
* `<titlePage>` f... | alexduch/grobid | doc/training/segmentation.md | Markdown | apache-2.0 | 6,698 |
<!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/html; charset=utf-8" />
<title>numpy.polynomial.chebyshev.Chebyshev.fit — Nu... | leesavide/pythonista-docs | Documentation/numpy/reference/generated/numpy.polynomial.chebyshev.Chebyshev.fit.html | HTML | apache-2.0 | 12,423 |
// ========================== KeySnail Init File =========================== //
// この領域は, GUI により設定ファイルを生成した際にも引き継がれます
// 特殊キー, キーバインド定義, フック, ブラックリスト以外のコードは, この中に書くようにして下さい
// ========================================================================= //
//{{%PRESERVE%
// ここにコードを入力して下さい
//}}%PRESERVE%
// ==============... | mzp/chef-repo | dotfiles/keysnail.js | JavaScript | apache-2.0 | 17,112 |
package io.fabric8.openshift.api.model.tuned.v1;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import c... | fabric8io/kubernetes-client | kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedMatch.java | Java | apache-2.0 | 4,218 |
import {
afterEach,
AsyncTestCompleter,
beforeEach,
ddescribe,
describe,
dispatchEvent,
el,
expect,
iit,
inject,
it,
xit
} from 'angular2/test_lib';
import {DOM} from 'angular2/src/dom/dom_adapter';
import {Inject} from 'angular2/di';
import {Component, Decorator, Template, PropertySetter} fro... | keertip/angular | modules/angular2/test/forms/integration_spec.js | JavaScript | apache-2.0 | 13,142 |
package test.issues.strava;
import javastrava.model.StravaStream;
import javastrava.model.reference.StravaStreamType;
/**
* <p>
* These tests should PASS if issue <a href="https://github.com/danshannon/javastravav3api/issues/21">javastrava-api #21</a> is still current
* </p>
*
* @author Dan Shannon
* @see <a hr... | danshannon/javastrava-test | src/test/java/test/issues/strava/Issue21.java | Java | apache-2.0 | 1,006 |
package com.learning.designpattern.j2ee.businessdelegate.service;
public class EJBService implements BusinessService {
@Override
public void doProcessing() {
System.out.println("Processing task by invoking EJB Service");
}
}
| mandheer/learnjava | learn/tutorial/designpatterns/src/test/java/com/learning/designpattern/j2ee/businessdelegate/service/EJBService.java | Java | apache-2.0 | 246 |
/*
* 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 no... | Union-Investment/Crud2Go | eai-portal-domain-crudportlet/src/main/java/de/unioninvestment/eai/portal/portlet/crud/domain/support/map/ValueTransformer.java | Java | apache-2.0 | 1,150 |
/*
* Copyright 1999-2011 Alibaba Group.
*
* 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 appl... | delavior/dubbo | dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/ReferenceConfig.java | Java | apache-2.0 | 21,186 |
package com.xxr.utils;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import javax.swing.ImageIcon;
import com.sun.image.codec.jpeg.JPEGCodec;
import com.sun.image.codec.jpeg.JPEGEncodeParam;
import com.sun.ima... | FrankXiong/web_album | src/com/xxr/utils/ImageUtil.java | Java | apache-2.0 | 1,137 |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.execution.scratch;
import com.intellij.debugger.DebuggerManager;
import com.intellij.debugger.engine.DebugProcess;
import com.intellij.debugger.engine.DebugP... | leafclick/intellij-community | java/execution/impl/src/com/intellij/execution/scratch/JavaScratchConfiguration.java | Java | apache-2.0 | 6,017 |
<?php
class Excel_Handler extends MY_Controller{
function __construct()
{
parent::__construct();
$this->load->library('PHPExcel');
}
public function index()
{
}
/**
* [normal description]
* @param [type] $data [description]
* @param [type] $filename [description]
* @return [ty... | karsanrichard/southern_cross | application/modules/export/controllers/excel_handler.php | PHP | apache-2.0 | 5,704 |
<!DOCTYPE html>
<!--[if IEMobile 7]><html class="no-js iem7 oldie linen"><![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js ie7 oldie linen" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js ie8 oldie linen" lang="en"><![endif]-->
<!--[if (IE 9)&!(IEMobile)]><html class="no-js ie9 linen" ... | johnson1994/UMESpage | testx/login.html | HTML | apache-2.0 | 11,490 |
package racoon.rsim.monitors;
import racoon.input.DOObjective;
import racoon.input.DesignObjectives;
import racoon.rsim.RSProtocol;
/**
* Define classes that allows to measure the value of a custom {@link DOObjective}
* for a given {@link RSProtocol}.
*
* @author Guido Lena Cota <guido.lena@unimi.it>
*/
public ... | glenacota/racoon | racoon-src/src/racoon/rsim/monitors/DOMonitor.java | Java | apache-2.0 | 2,801 |
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# Copyright 2017 Georgi Georgiev
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with th... | ge0rgi/cinder | cinder/volume/manager.py | Python | apache-2.0 | 211,218 |
<!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_26) on Mon May 07 13:00:01 PDT 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.mapred.join.JoinRecordReader (Hadoop 0.20.2-cdh3u4 API)
</TITLE>
<ME... | Shmuma/hadoop | docs/api/org/apache/hadoop/mapred/join/class-use/JoinRecordReader.html | HTML | apache-2.0 | 8,672 |
/*
* Copyright 2012 International Business Machines Corp.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You ... | mminella/jsr-352-ri-tck | JSR352.Annotations/src/javax/batch/annotation/OnProcessError.java | Java | apache-2.0 | 1,055 |
# Release notes
### 2.17.0 (2022-02-24)
* Core library:
* Sleep and retry when creating a `MediaCodec` instance fails. This works
around an issue that occurs on some devices when switching a surface
from a secure codec to another codec
([#8696](https://github.com/google/ExoPlayer/issue... | google/ExoPlayer | RELEASENOTES.md | Markdown | apache-2.0 | 238,218 |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | maboelhassan/alluxio | core/server/worker/src/main/java/alluxio/worker/block/DefaultBlockWorker.java | Java | apache-2.0 | 21,585 |
/**
* 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... | alexryndin/ambari | ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionFactory.java | Java | apache-2.0 | 12,241 |
/*
* Copyright 2018 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | spinnaker/rosco | rosco-core/src/main/groovy/com/netflix/spinnaker/rosco/services/ServiceConfig.java | Java | apache-2.0 | 2,415 |
const Discord = require('discord.js');
exports.run = async (client, message, args, level) => { // eslint-disable-line no-unused-vars
const scoreLevel = client.points.get(`${message.guild.id}-${message.author.id}`).level || 0;
let embed = new Discord.RichEmbed()
.setColor('GREEN')
.setAuthor('You are currently')
.s... | NdT3Development/DiscordBot | commands/level.js | JavaScript | apache-2.0 | 717 |
package com.androsz.electricsleepbeta.app;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.widget.Toast;
import com.androsz.electricsleepbeta.R;
import com.androsz.electricsleepbeta.db.SleepSession;
public class DeleteSleepTask extends AsyncTask<Long, Vo... | jondwillis/ElectricSleep | src/com/androsz/electricsleepbeta/app/DeleteSleepTask.java | Java | apache-2.0 | 2,078 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | vrkansagara/elasticsearch | src/test/java/org/elasticsearch/index/analysis/WordDelimiterTokenFilterFactoryTests.java | Java | apache-2.0 | 10,241 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="ldoc.css" type="text/css" />
</head>
<body>
<div id="containe... | zunware/LuaLinkedList | docs/index.html | HTML | apache-2.0 | 1,377 |
# -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | napalm-automation/napalm-yang | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/lsdb/lsa_types/lsa_type/lsas/lsa/as_external_lsa/__init__.py | Python | apache-2.0 | 19,446 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>MyBatis Generator Core 1.3.3-SNAPSHOT Reference</title>
<link rel="styleshe... | hemingwang0902/doc.javake.cn | mybatis-generator-doc-zh/xref-test/overview-summary.html | HTML | apache-2.0 | 2,145 |
package mm4s.api
import java.io.File
import akka.actor.ActorSystem
import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport
import akka.http.scaladsl.marshalling.Marshal
import akka.http.scaladsl.model._
import akka.stream.scaladsl.{FileIO, Source}
import mm4s.api.Streams._
import spray.json._
/**
*
*/
obj... | jw3/mm4s | api/src/main/scala/mm4s/api/Filez.scala | Scala | apache-2.0 | 2,222 |
#!/usr/bin/perl
#
# 14:13 2009/6/12
# Jonathan Tsai
# Ver 1.02
#
# monitor service and restart it
# Usage : mon_service.pl <config_file>
# * <config_file> : default is mon_service.conf
#
# 1.00 (2008/10/24) First Version Release
#
$prgname = substr($0, rindex($0,'/')+1);
$prgpath = substr($0, 0, rindex($0,'/'));
$ver... | tryweb/trysrvtool | mon_service.pl | Perl | apache-2.0 | 1,229 |
package com.sarality.app.view.list;
import android.util.Log;
import android.util.SparseArray;
import android.view.View;
/**
* Cache of elements inside a ListView row.
* <p>
* Makes it more efficient to set data on the view rather than do a lookupById
* each time.
*
* @author abhideep@ (Abhideep Singh)
*/
publ... | sarality/appblocks | src/main/java/com/sarality/app/view/list/ListRowViewCache.java | Java | apache-2.0 | 2,003 |
__author__ = 'thatcher'
from django.contrib import admin
# from django.contrib.auth.models import User
# from django.contrib.auth.admin import UserAdmin
# from django.contrib.sessions.
from django.contrib.sessions.models import Session
from .models import *
from base.forms import *
def images_thubmnail(self):
ret... | ZmG/trywsk | base/admin.py | Python | apache-2.0 | 1,654 |
apt-get --purge -y remove mysql-server
apt-get --purge -y remove mysql-client
apt-get --purge -y remove mysql-common
| bayvictor/distributed-polling-system | bin/remove_only_mysql.sh | Shell | apache-2.0 | 120 |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.uiDesigner.binding;
import com.intellij.lang.properties.IProperty;
import com.intellij.lang.properties.psi.PropertiesFile;
import com.intellij.lang.propertie... | leafclick/intellij-community | plugins/ui-designer/src/com/intellij/uiDesigner/binding/FormReferencesSearcher.java | Java | apache-2.0 | 12,535 |
#!/usr/bin/python
import json
import time
import parcon
import operator
import pprint
import os
import sys
import getopt
import re
import optparse
import string
import hashlib
import parse_objc as parser
import sign
#### tool version:
VERSION = parser.VERSION
VERSION_STR = sign.source_file_signature(__file__, VERSION... | korovkin/WNNotifier | notifier/gen_notifier.py | Python | apache-2.0 | 23,166 |
package pl.touk.nussknacker.ui.process.repository
import pl.touk.nussknacker.engine.api.process.{ProcessId, ProcessName, VersionId}
import pl.touk.nussknacker.restmodel.processdetails.{BaseProcessDetails, ProcessShapeFetchStrategy}
import pl.touk.nussknacker.ui.api.ListenerApiUser
import pl.touk.nussknacker.ui.listene... | TouK/nussknacker | ui/server/src/main/scala/pl/touk/nussknacker/ui/process/repository/PullProcessRepository.scala | Scala | apache-2.0 | 2,181 |
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/* Copyright 2013 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... | reggersusa/pdf.js | web/hand_tool.js | JavaScript | apache-2.0 | 2,539 |
/* ------------------------------------------------------------------------- */
/*
* Copyright 2007-2018 GRAHAM DUMPLETON
*
* 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:... | pexip/os-mod-wsgi | src/server/wsgi_server.c | C | apache-2.0 | 3,531 |
# Lint as: python3
# Copyright 2020 The TensorFlow 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
#
# Unless ... | tombstone/models | research/delf/delf/python/training/model/export_global_model.py | Python | apache-2.0 | 5,972 |
finefoods
=========
| hai2219/finefoods | README.md | Markdown | apache-2.0 | 20 |
/*
* Copyright [2017] [Andy Moncsek]
*
* 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 agree... | amoAHCP/vxms | vxms-testing/src/test/java/org/jacpfx/entity/decoder/ExampleByteDecoder.java | Java | apache-2.0 | 940 |
# Add-VSElasticBeanstalkApplicationApplicationVersionLifecycleConfig
## SYNOPSIS
Adds an AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig resource property to the template.
The application version lifecycle settings for an application.
Defines the rules that Elastic Beanstalk applies to an applicat... | scrthq/Vaporshell | docs/docs/glossary/Add-VSElasticBeanstalkApplicationApplicationVersionLifecycleConfig.md | Markdown | apache-2.0 | 3,311 |
/*
Template Name: BusyBusiness
File: Featured Slider CSS
Author: OS Templates
Author URI: http://www.os-templates.com/
Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>
*/
#featured_slide{
padding:30px 0;
/*font-family:Georgia, "Times New Roman", Times, serif;*/
b... | annotationframework/AfShared | web-app/css/shared/business/featured_slide.css | CSS | apache-2.0 | 2,164 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.