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 |
|---|---|---|---|---|---|
# Senecio johnstonianus Cabrera SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Senecio johnstonianus/README.md | Markdown | apache-2.0 | 179 |
all: help
help:
@echo ""
@echo "-- Help Menu"
@echo ""
@echo " 1. make build - build all images"
@echo " 2. make pull - pull all images"
@echo " 3. make clean - remove all images"
@echo ""
build:
@docker build --tag=gazebo:gzserver5-trusty gzserver5/.
@docker build --t... | ruffsl/docker_images | gazebo/5/ubuntu/trusty/Makefile | Makefile | apache-2.0 | 806 |
package gzip
import (
"compress/gzip"
"fmt"
"io/ioutil"
"net/http"
"path/filepath"
"strings"
"sync"
"github.com/gin-gonic/gin"
)
const (
BestCompression = gzip.BestCompression
BestSpeed = gzip.BestSpeed
DefaultCompression = gzip.DefaultCompression
NoCompression = gzip.NoCompression
)
fu... | kenota/kommentator | vendor/github.com/gin-contrib/gzip/gzip.go | GO | apache-2.0 | 1,493 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/transform/DescribeAccountLimitsRequestMarshaller.java | Java | apache-2.0 | 1,809 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ClassicLinkDnsSupport.java | Java | apache-2.0 | 5,761 |
/* ====================================================================
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 Y... | lvweiwolf/poi-3.16 | src/java/org/apache/poi/poifs/dev/POIFSHeaderDumper.java | Java | apache-2.0 | 7,805 |
/** Automatically generated file. DO NOT MODIFY */
package com.leoz.bz.zview;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | leoz/zview | gen/com/leoz/bz/zview/BuildConfig.java | Java | apache-2.0 | 159 |
/******************************************************************************/
/**
@file gen_bench_relations.h
@author Graeme Douglas
@brief A quick and dirty program for creating test relations for
benchmarking the database.
@details
@copyright Copyright 2013 Graeme Douglas
@license Licensed under the Apache Li... | graemedouglas/LittleD | src/utils/gen_bench_relations.h | C | apache-2.0 | 1,533 |
/**
*
*/
package me.learn.personal.month3;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
/**
* Title 414 :
*
* Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The t... | balajiboggaram/algorithms | src/me/learn/personal/month3/ThirdMaximumNumber.java | Java | apache-2.0 | 1,602 |
package tpl.admin.api.entities;
import org.nutz.dao.Dao;
import org.nutz.ioc.annotation.InjectName;
import org.nutz.mvc.adaptor.JsonAdaptor;
import org.nutz.mvc.annotation.AdaptBy;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.DELETE;
import org.nutz.mvc.annotation.GET;
import org.nutz.mvc.annotati... | weiht/nutz-tpl | nutz-tpl-admin/src/main/java/tpl/admin/api/entities/EntityModule.java | Java | apache-2.0 | 1,938 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Statistics of Polarity in UD_Ja... | UniversalDependencies/universaldependencies.github.io | treebanks/ja_gsd/ja_gsd-feat-Polarity.html | HTML | apache-2.0 | 8,730 |
// Copyright (c) 2017 Uber Technologies, 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 a... | amshinde/shim | vendor/github.com/uber/jaeger-client-go/crossdock/client/constants.go | GO | apache-2.0 | 1,231 |
// 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.vcs.log.util;
import com.intellij.ide.IdeTooltip;
import com.intellij.ide.IdeTooltipManager;
import com.intellij.openapi.Disposable;
import com.intellij.open... | xfournet/intellij-community | platform/vcs-log/impl/src/com/intellij/vcs/log/util/VcsLogUiUtil.java | Java | apache-2.0 | 3,929 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hyperion.Core.Abstract
{
using Poseidon.Base.Framework;
using Poseidon.Data;
/// <summary>
/// MySQL抽象数据访问类,默认主键类型int
/// </summary>
/// <typeparam name="T">实体类型</type... | robertzml/Hyperion | Hyperion.Core/Abstract/AbstractDALMySql.cs | C# | apache-2.0 | 850 |
/*
* Copyright (c) 2010-2013 Evolveum
*
* 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 la... | sabriarabacioglu/engerek | infra/prism/src/main/java/com/evolveum/midpoint/prism/crypto/Protector.java | Java | apache-2.0 | 3,505 |
package br.edu.unipampa.geketcc.service;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
/*
* Autorizador Interceptor
*
* Classe responsável por realizar a autenticação dos usuários e restringir
... | alexporthal/GerenciadorTCC_UNIPAMPA | GekeTCC/src/main/java/br/edu/unipampa/geketcc/service/AutorizadorInterceptor.java | Java | apache-2.0 | 1,777 |
--------------------------------------------------------------------------------
## Treebank Statistics (UD_Ancient_Greek)
This feature is universal.
It occurs with 2 different values: `Imp`, `Perf`.
8674 tokens (4%) have a non-empty value of `Aspect`.
4141 types (9%) occur at least once with a non-empty value of ... | coltekin/docs | _includes/stats/grc/feat/Aspect.md | Markdown | apache-2.0 | 8,981 |
package com.git.huanghaifeng.java.basis;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
public class SerializableDemo {
public static void main(String[] args) {
write();
read();
}
private static ... | prucehuang/quickly-start-java | src/main/java/com/git/huanghaifeng/java/basis/SerializableDemo.java | Java | apache-2.0 | 1,809 |
WishPal
=======
Ebay Challenge Hack
| Opportunity-Hack-San-Jose-2014/WishCompleted | README.md | Markdown | apache-2.0 | 37 |
package edu.harvard.mgh.lcs.sprout.forms.study.to;
import java.io.Serializable;
import java.util.Date;
public class NarrativeTO implements Serializable {
private static final long serialVersionUID = -5808452918661227118L;
private String content;
public String getContent() {
return content;
... | stephenlorenz/sproutstudy | sproutStudy_ejb/src/main/java/edu/harvard/mgh/lcs/sprout/forms/study/to/NarrativeTO.java | Java | apache-2.0 | 408 |
cordova.define("org.jshybugger.cordova.jsHybuggerLoader", function(require, exports, module) { var newLocation = typeof(JsHybuggerNI) !== 'undefined' ? JsHybuggerNI.getDebugUrl(window.location.toString()) : window.location.toString();
if (newLocation != window.location.toString()) {
console.log('jsHybugger redirected ... | levexis/phonegap-fun | platforms/android/assets/www/plugins/org.jshybugger.cordova/www/jsHybuggerLoader.js | JavaScript | apache-2.0 | 381 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ToolGood.ReadyGo3.Test
{
public class Config
{
public const string DbFile = "db.db3";
[ThreadStatic]
private static SqlHelper _dbHelper;
[ThreadStatic]
private... | toolgood/ToolGood.ReadyGo | ToolGood.ReadyGo3.CoreTest/Config.cs | C# | apache-2.0 | 1,665 |
<!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_312) on Wed Dec 15 20:57:54 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.github.shynixn.petblock... | Shynixn/PetBlocks | docs/apidocs/com/github/shynixn/petblocks/api/business/service/package-summary.html | HTML | apache-2.0 | 16,857 |
package com.lpnpcs.yuanhelper.util;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
/**
*工具类
*/
public class ToolsUtil {
public static final int getHeightInPx(Context context) {
final int height = context.getResources().getDisplayMetrics().heightP... | lpnpcs/yuanhelper | app/src/main/java/com/lpnpcs/yuanhelper/util/ToolsUtil.java | Java | apache-2.0 | 3,201 |
{% extends 'base.html' %}
{% block title %}User SignUp{% endblock %}
{% load staticfiles %}
{% block body_block %}
<section id="registration" class="container">
<div class="padding_top">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
... | Codeepy/Share.it | templates/account/register_user.html | HTML | apache-2.0 | 4,599 |
<?php
include("connect_db_login.php");
$cookie_name = "loggedin";
//session_start();
if (isset($_COOKIE[$cookie_name])) {
$cookie_value = $_COOKIE[$cookie_name];
header("Location: estacionate.php");
}
?>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content... | feldrok/parkingUAI | entrar.php | PHP | apache-2.0 | 5,347 |
package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class NavigationHelper extends HelperBase {
public NavigationHelper(WebDriver wd) {
super(wd);
}
public void groupPage() {
if (isEle... | barancev/java_pft | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/NavigationHelper.java | Java | apache-2.0 | 672 |
package noo.promise;
/**
* @author Tal Shani
*/
public interface PromiseHandler<T> {
void handle(T value);
}
| gwt-noo/promise | noo-promise/src/main/java/noo/promise/PromiseHandler.java | Java | apache-2.0 | 116 |
<?php
/**
* PHPMaker functions and classes
* (C) 2002-2007 e.World Technology Limited. All rights reserved.
*/
/**
* Functions to init arrays
*/
function ew_InitArray($iLen, $vValue) {
if (function_exists('array_fill')) { // PHP 4 >= 4.2.0,
return array_fill(0, $iLen, $vValue);
} else {
$aResult = array();... | miccunifi/Loki | web/service/include/phpfn50.php | PHP | apache-2.0 | 81,702 |
class Solution {
public int subarraySum(int[] nums, int k) {
int ret = 0;
for (int i = 0; i < nums.length; i++) {
int cur = nums[i];
if (cur == k) {
ret++;
}
for (int j = i+1; j < nums.length; j++) {
cur += nums[j];
... | MingfeiPan/leetcode | array/560.java | Java | apache-2.0 | 445 |
/*
* Copyright (C) 2015 The Guava 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 agre... | aiyanbo/guava | guava/src/com/google/common/io/ReaderInputStream.java | Java | apache-2.0 | 9,274 |
/*
* Copyright (C) 2008 The Guava 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 agre... | synchronoss/nio-multipart | nio-multipart-parser/src/main/java/org/synchronoss/cloud/nio/multipart/util/collect/UnmodifiableIterator.java | Java | apache-2.0 | 1,352 |
import streamcorpus as sc
import cuttsum.events
import cuttsum.corpora
from cuttsum.trecdata import SCChunkResource
from cuttsum.pipeline import ArticlesResource, DedupedArticlesResource
import os
import pandas as pd
from datetime import datetime
from collections import defaultdict
import matplotlib.pylab as plt
plt.st... | kedz/cuttsum | trec2015/sbin/reports/raw-stream-count.py | Python | apache-2.0 | 7,738 |
/*!
* Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
overflow-x: hidden;
}
p {
font-size: 20px;
font-family: 'Amatic SC', cursive,Helvetica,Arial,sans-seri... | sangeethaalagappan/floobes | css/freelancer.css | CSS | apache-2.0 | 10,103 |
namespace UnityEngine.TestTools.Utils
{
internal interface IScriptingRuntimeProxy
{
string[] GetAllUserAssemblies();
}
}
| IanFMartin/Character-Creator | Character creator/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEngine.TestRunner/Utils/AssemblyProvider/IScriptingRuntimeProxy.cs | C# | apache-2.0 | 141 |
<!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_29) on Sat Mar 17 18:05:26 MSK 2012 -->
<TITLE>
org.apache.poi.xssf.extractor Class Hierarchy (POI API Documentation)
</TITLE>
<META NAME="date" CON... | Stephania16/ProductDesignGame | MinimaxAlgorithm/poi-3.8/docs/apidocs/org/apache/poi/xssf/extractor/package-tree.html | HTML | apache-2.0 | 8,084 |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.math.interpolation;
/**
*
*/
public class NonnegativityPreservingCubicSplineInterpolator1D extends PiecewisePolynomialInterpolator1D {
/** Seria... | McLeodMoores/starling | projects/analytics/src/main/java/com/opengamma/analytics/math/interpolation/NonnegativityPreservingCubicSplineInterpolator1D.java | Java | apache-2.0 | 1,042 |
package importer
import (
"flag"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
"testing"
"github.com/anz-bank/sysl/pkg/syslutil"
"github.com/sirupsen/logrus/hooks/test"
"github.com/stretchr/testify/require"
)
var (
update = flag.Bool("update", false, "Update golden test files")
)
func TestMain(m *test... | ANZ-bank/Sysl | pkg/importer/importer_test.go | GO | apache-2.0 | 5,486 |
/*
* Copyright 2014 The Netty Project
*
* The Netty Project licenses this file to you 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... | netty/netty | transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollEventLoopGroup.java | Java | apache-2.0 | 8,812 |
/*############################################################################
# Copyright 2016-2019 Intel Corporation
#
# 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
#
# ht... | Intel-EPID-SDK/epid-sdk | epid/util/src/ipp-impl/file_parser.c | C | apache-2.0 | 13,105 |
/*
* Copyright © 2009 HotPads (admin@hotpads.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 applicable... | hotpads/datarouter | datarouter-virtual-node/src/main/java/io/datarouter/virtualnode/redundant/mixin/RedundantQueueNodeTool.java | Java | apache-2.0 | 1,555 |
import { expect } from 'chai';
import * as Rx from '../../src/internal/Rx';
import { hot, cold, expectObservable, expectSubscriptions } from '../helpers/marble-testing';
declare function asDiagram(arg: string): Function;
const Observable = Rx.Observable;
/** @test {max} */
describe('Observable.prototype.max', () => ... | IgorMinar/RxJS | spec/operators/max-spec.ts | TypeScript | apache-2.0 | 7,599 |
package org.grobid.core.utilities.counters;
import java.io.IOException;
public interface CntManagerRepresentation {
String getRepresentation(CntManager cntManager) throws IOException;
}
| kermitt2/grobid | grobid-core/src/main/java/org/grobid/core/utilities/counters/CntManagerRepresentation.java | Java | apache-2.0 | 192 |
<!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_79) on Mon Aug 17 17:10:58 IST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.ap... | changwu/mqa | solr-5.3.0/docs/solr-solrj/org/apache/solr/client/solrj/request/schema/class-use/SchemaRequest.DynamicFields.html | HTML | apache-2.0 | 5,257 |
# Copyright 2012 OpenStack Foundation
# 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 requ... | Tesora/tesora-tempest | tempest/api/compute/servers/test_create_server.py | Python | apache-2.0 | 14,903 |
/*
* SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _ESP_BLE_MESH_BLE_API_H_
#define _ESP_BLE_MESH_BLE_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
/** This enum value is the event of BLE operations */
type... | espressif/esp-idf | components/bt/esp_ble_mesh/api/core/include/esp_ble_mesh_ble_api.h | C | apache-2.0 | 7,561 |
// Copyright 2018 Istio 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 agreed to i... | frankbu/istio | mixer/pkg/config/storetest/storetest.go | GO | apache-2.0 | 3,492 |
<!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_101) on Sun Jan 29 09:58:09 CET 2017 -->
<title>Uses of Class com.mxgraph.util.mxLine (mxGraph 3.7.0.1 API Specification)</title>
<meta name="d... | tsxuehu/jgraphlearn | java/docs/com/mxgraph/util/class-use/mxLine.html | HTML | apache-2.0 | 11,805 |
package com.guapiweather.android;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an And... | LJiLong/guapiweather | app/src/androidTest/java/com/guapiweather/android/ExampleInstrumentedTest.java | Java | apache-2.0 | 752 |
# Iridaea remuliformis R.W.Ricker SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Rhodophyta/Florideophyceae/Gigartinales/Gigartinaceae/Iridaea/Iridaea remuliformis/README.md | Markdown | apache-2.0 | 189 |
/*
* This file is part of jTransfo, a library for converting to and from transfer objects.
* Copyright (c) PROGS bvba, Belgium
*
* The program is available in open source according to the Apache License, Version 2.0.
* For full licensing details, see LICENSE.txt in the project root.
*/
package org.jtransfo.inter... | joachimvda/jtransfo | core/src/main/java/org/jtransfo/internal/ToDomainConverter.java | Java | apache-2.0 | 2,432 |
// LocatorAPI.h: interface for the CLocatorAPI class.
//
//////////////////////////////////////////////////////////////////////
#ifndef LocatorAPIH
#define LocatorAPIH
#pragma once
#pragma warning(push)
#pragma warning(disable:4995)
#include <io.h>
#pragma warning(pop)
#include "LocatorAPI_defs.h"
class XRCORE_API ... | OLR-xray/OLR-3.0 | src/xray/xrCore/LocatorAPI.h | C | apache-2.0 | 6,031 |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2017, Arnaud Roques
*
* Project Info: http://plantuml.com
*
* This file is part of PlantUML.
... | Banno/sbt-plantuml-plugin | src/main/java/net/sourceforge/plantuml/hector/PinLinksContinuousSet.java | Java | apache-2.0 | 2,436 |
describe("", function() {
var rootEl;
beforeEach(function() {
rootEl = browser.rootEl;
browser.get("build/docs/examples/example-example25/index-jquery.html");
});
it('should allow user expression testing', function() {
element(by.css('.expressions button')).click();
var lis = element(by.cs... | LADOSSIFPB/nutrif | nutrif-web/lib/angular/docs/ptore2e/example-example25/jquery_test.js | JavaScript | apache-2.0 | 492 |
/**
* Copyright (C) 2015 JBoss 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 agree... | porcelli-forks/dashbuilder | dashbuilder-backend/dashbuilder-dataset-sql/src/main/java/org/dashbuilder/dataprovider/backend/sql/dialect/MySQLDialect.java | Java | apache-2.0 | 3,373 |
/**
* Copyright (c) Anton Johansson <antoon.johansson@gmail.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 require... | anton-johansson/counter-strike-overview | src/main/java/com/antonjohansson/counterstrike/domain/CounterStrikeOverview/CounterStrikeOverviewApplicationMetadata.java | Java | apache-2.0 | 38,726 |
# Nephrodium hirsutum Diels SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Pteridophyta/Polypodiopsida/Polypodiales/Dryopteridaceae/Nephrodium/Nephrodium hirsutum/README.md | Markdown | apache-2.0 | 175 |
export DISTRO_NAME=centos
export DIB_RELEASE=${DIB_RELEASE:-7}
export EFI_BOOT_DIR="EFI/centos"
# by default, enable DHCP configuration of eth0 & eth1 in network
# scripts for centos 7. See yum-minimal for full details. CentOS 8
# does not come with network-scripts by default so avoid this there.
if [[ "${DIB_RELEAS... | openstack/diskimage-builder | diskimage_builder/elements/centos-minimal/environment.d/10-centos-distro-name.bash | Shell | apache-2.0 | 517 |
var app = angular.module('mobile');
app.controller('CouponSelect', function ($scope, ShareSvc, UserCouponSvc) {
document.title = '我的优惠券';
ShareSvc.user().then(function (user) {
UserCouponSvc.listPaged(user._id, CouponStatus.Usable, 1).then(function (userCoupons) {
$scope.userCoupons = user... | wade-yifeng/soofruit | mobile/coupon_select.ctrl.js | JavaScript | apache-2.0 | 367 |
#include "helpdialog.h"
#include "ui_helpdialog.h"
HelpDialog::HelpDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::HelpDialog)
{
ui->setupUi(this);
}
HelpDialog::~HelpDialog()
{
delete ui;
}
| mickelfeng/qt_learning | AwardRandom/helpdialog.cpp | C++ | apache-2.0 | 229 |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddImageToEvents extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::table('events', function (Blueprint $table) {
... | vsouto/watchoverme | database/migrations/2017_06_09_152803_add_image_to_events.php | PHP | apache-2.0 | 495 |
using Abp.Application.Navigation;
using Abp.Localization;
using Blog.Authorization;
namespace Blog.Web
{
/// <summary>
/// This class defines menus for the application.
/// It uses ABP's menu system.
/// When you add menu items here, they are automatically appear in angular application.
/// See .c... | ngyat/ABP-DEMO | Blog.Web/App_Start/BlogNavigationProvider.cs | C# | apache-2.0 | 2,079 |
# Antimima lokenbergensis (L.Bolus) H.E.K.Hartmann SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Ruschia lokenbergensis L.Bolus
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Aizoaceae/Antimima/Antimima lokenbergensis/README.md | Markdown | apache-2.0 | 224 |
#!/bin/sh
set -e
set -o pipefail
DIRNAME=`dirname "$0"`
TEST_DIR=`cd "$DIRNAME"; pwd`
TEST_BEFORE_DIR=$TEST_DIR/before/dist
TEST_AFTER_DIR=$TEST_DIR/after
TOOL_DIR="$TEST_DIR/jboss-server-migration"
SOURCE_DIST_DIR="$1"
TARGET_DIST_DIR="$2"
if [ "x$SOURCE_DIST_DIR" != "x" ]; then
if [[ $SOURCE_DIST_DIR != /* ]]; ... | emmartins/wildfly-server-migration | testsuite/server-migration-simple-test.sh | Shell | apache-2.0 | 5,188 |
package mongo
import (
"gopkg.in/mgo.v2/bson"
"testing"
)
func BenchmarkNestedDocumentSerializationDocument(b *testing.B) {
document := NewDocument()
subdocument := NewDocument()
subdocument.Add("int", int32(10))
document.Add("string", "hello world")
document.Add("doc", subdocument)
type T1 struct {
Int in... | christkv/proxy | src/mongo/bson_benchmarks_test.go | GO | apache-2.0 | 3,650 |
# Display annotation
Display annotation from a feature service URL.

## Use case
Annotation is useful for displaying text that you don't want to move or resize when the map is panned or zoomed (unlike labels which will move and resize). You can use annotation to place text at a fixed size, positi... | Esri/arcgis-runtime-samples-qt | ArcGISRuntimeSDKQt_CppSamples/Layers/DisplayAnnotation/README.md | Markdown | apache-2.0 | 1,657 |
# Copyright 2019 Verily Life Sciences LLC
#
# 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 agreed t... | verilylifesciences/classifaedes | classifaedes/hparams_lib_test.py | Python | apache-2.0 | 1,292 |
# -*- coding: utf-8 -*-
#
# portal.py # # # # # # # # # #
# #
# Copyright 2016 Giorgio Ladu <giorgio.ladu >at< gmail.com> #
# #
# ... | giorgioladu/Rapa | portal.py | Python | apache-2.0 | 987 |
package com.boyuyun.common.json;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.J... | yunhai281/baseProject | src/main/java/com/boyuyun/common/json/ByyJsonUtil.java | Java | apache-2.0 | 16,571 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distr... | querycert/qcert | compiler/parsingJava/jrulesParser/src/org/qcert/camp/data/FloatData.java | Java | apache-2.0 | 1,792 |
////////////////////////////////////////////////////////////////////////
//FAKE関数
//FAKE_VALUE_FUNC(int, external_function, int);
////////////////////////////////////////////////////////////////////////
class extendedkey: public testing::Test {
protected:
virtual void SetUp() {
//RESET_FAKE(external_func... | nayutaco/ptarmigan | btc/tests/testinc_extkey.cpp | C++ | apache-2.0 | 19,346 |
/*
* NamespaceTreeControl implementation.
*
* Copyright 2010 David Hedberg
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your optio... | howard5888/wine | wine-1.7.7/dlls/explorerframe/nstc.c | C | apache-2.0 | 51,137 |
console.warn( "THREE.LineGeometry: As part of the transition to ES6 Modules, the files in 'examples/js' were deprecated in May 2020 (r117) and will be deleted in December 2020 (r124). You can find more information about developing using ES6 Modules in https://threejs.org/docs/index.html#manual/en/introduction/Import-vi... | webmaster444/webmaster444.github.io | other/mypointcloud/three/examples/js/lines/LineGeometry.js | JavaScript | apache-2.0 | 2,196 |
from paypalrestsdk import BillingAgreement
import logging
BILLING_AGREEMENT_ID = "I-HT38K76XPMGJ"
try:
billing_agreement = BillingAgreement.find(BILLING_AGREEMENT_ID)
print("Billing Agreement [%s] has state %s" % (billing_agreement.id, billing_agreement.state))
suspend_note = {
"note": "Suspendin... | stafur/pyTRUST | paypal-rest-api-sdk-python/samples/subscription/billing_agreements/suspend_and_re_activate.py | Python | apache-2.0 | 1,184 |
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | sebrandon1/nova | nova/tests/unit/api/openstack/placement/test_util.py | Python | apache-2.0 | 10,993 |
<?php
include_once("config.php");
class CQueryManager
{
private $db_link_id;
public function __construct($database)
{
// Server Name, UserName, Password, Database Name
$this->db_link_id = mysql_connect(CConfig::HOST, CConfig::USER_NAME , CConfig::PASSWORD) or
die("Could not connect: " . mysql_er... | mastishka/mgoos | database/queries_old.php | PHP | apache-2.0 | 41,106 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | vfonov/ITK | Modules/ThirdParty/HDF5/src/itkhdf5/src/H5Defl.c | C | apache-2.0 | 22,106 |
package ch.DB_BR_HJ.LebenslaufApp;
import java.util.ArrayList;
import java.util.UUID;
import android.annotation.SuppressLint;
import android.media.Image;
import android.os.Parcel;
@SuppressLint("ParcelCreator")
public class CV {
public String id;
public int bezeichnung;
public String name;
public S... | jherzig/ESA_Lebenslauf-App | Lebenslauf-App/src/ch/DB_BR_HJ/LebenslaufApp/CV.java | Java | apache-2.0 | 902 |
package com.contactlab.api.samples.sendcampaignoperations;
import com.contactlab.api.ws.ClabService;
import com.contactlab.api.ws.ClabService_Service;
import com.contactlab.api.ws.domain.AuthToken;
import com.contactlab.api.ws.domain.SubscriberSourceFilter;
import static com.contactlab.api.samples.ConfigProperties.AP... | contactlab/soap-api-samples | java/src/main/java/com/contactlab/api/samples/sendcampaignoperations/AddSubscriberSourceFilter.java | Java | apache-2.0 | 1,835 |
#banner { background: url(/resources/images/home/course_banner_bg.jpg) repeat-x; }
#section_c .data-table td { border:1px solid #ff5000; background: #fce3c4; text-align:center; height:54px; position:relative; }
.course-join-btn { width:44px; height:47px; /*display:inline-block;*/ display:none; background:url(/resource... | xiaxiazhu119/zpgarden | ZP.Web/resources/css/home/home.course.css | CSS | apache-2.0 | 407 |
#include "AdSelector.h"
#include "AdClickPredictor.h"
#include "AdRecommender.h"
#include <search-manager/HitQueue.h>
#include <document-manager/DocumentManager.h>
#include <mining-manager/group-manager/GroupManager.h>
#include <la-manager/TitlePCAWrapper.h>
#include <glog/logging.h>
#include <boost/filesystem.hpp>
#i... | izenecloud/sf1r-ad-delivery | source/core/ad-manager/AdSelector.cpp | C++ | apache-2.0 | 36,459 |
# Trifolium longipes var. rusbyi (Greene) H.D.Harr. VARIETY
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Trifolium/Trifolium rusbyi/ Syn. Trifolium longipes rusbyi/README.md | Markdown | apache-2.0 | 206 |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Semantics
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Imports Microsoft.CodeAnalysis.Test.Utilities
Imports Roslyn.Test.U... | pdelvo/roslyn | src/Compilers/VisualBasic/Test/Semantic/IOperation/IOperationTests_IUsingStatement.vb | Visual Basic | apache-2.0 | 43,240 |
/*
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requi... | gravitee-io/gravitee-management-webui | src/management/api/creation/steps/api-creation.component.ts | TypeScript | apache-2.0 | 876 |
\documentclass{beamer}
\usepackage{verbatim} % comment enviroment
\graphicspath{{./images/}}
\newcommand{\dataframe}[1]
{
\begin{frame}
\frametitle{#1}
\begin{center}
\includegraphics[height=0.25\textheight]{#1Plot.png} \\
\includegraphics[height=0.25\textheight]{#1Singlescale.png} \\
\includegraph... | openconnectome/ndreg | results/clarityMultiscale/clarityMultiscaleResults.tex | TeX | apache-2.0 | 1,285 |
<?php
$member=get_member_account();
$openid =$member['openid'] ;
$orderid = intval($_GP['orderid']);
$order = mysqld_select("SELECT * FROM " . table('shop_order') . " WHERE id = :id and openid =:openid", array(':id' => $orderid,':openid'=>$openid));
$goodsstr="";
if(empty($o... | jaydom/weishang | system/shopwap/class/mobile/pay.php | PHP | apache-2.0 | 3,183 |
namespace artesanatoCapixaba
{
partial class cadastroTipoProduto
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... | joaosito00/artesanatoCapixaba | artesanatoCapixaba/cadastroTipoProduto.Designer.cs | C# | apache-2.0 | 8,328 |
package sample.failurewall
import scala.concurrent.Future
case class Response(status: Int, body: String)
class HttpClient {
def get(url: String): Future[Response] = {
println(url)
url match {
case "not url" => Future.failed(new IllegalArgumentException)
case "https://400.failure/" => Future.suc... | failurewall/failurewall | failurewall-sample/src/main/scala/sample/failurewall/HttpClient.scala | Scala | apache-2.0 | 613 |
package consensus
import (
"context"
"errors"
"fmt"
"runtime/debug"
"sync"
"time"
cstypes "github.com/tendermint/tendermint/internal/consensus/types"
"github.com/tendermint/tendermint/internal/eventbus"
"github.com/tendermint/tendermint/internal/p2p"
sm "github.com/tendermint/tendermint/internal/state"
"gi... | tendermint/tendermint | internal/consensus/reactor.go | GO | apache-2.0 | 42,921 |
/**
* Copyright 2012 Batis Degryll Ludo
* @file DaemonClickIH.h
* @since 2018-01-22
* @date 2018-02-25
* @author Batis Degrill Ludo
* @brief Input handler capable of run a daemon if given coords are inside a given area.
*/
#ifndef ZBE_EVENTS_HANDLERS_INPUT_DAEMONCLICKINPUTHANDLER_H
#define ZBE_EVENTS_HANDLERS_I... | Degryll/ZBE | include/ZBE/events/handlers/input/DaemonClickIH.h | C | apache-2.0 | 3,059 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AssemblyInfoFileConfig - FAKE - F# Make</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Steffen Forkmann, Mauricio Scheffer, Colin ... | mwissman/MingleTransitionMonitor | MingleTransitionMonitor/packages/FAKE.3.9.8/docs/apidocs/fake-assemblyinfofile-assemblyinfofileconfig.html | HTML | apache-2.0 | 10,453 |
#import <Foundation/Foundation.h>
// Represents a non-blocking future value. Products, functions, and actors, given to the methods on this class, are executed concurrently, and the
// Promise serves as a handle on the result of the computation.
@interface FKPromise : NSObject {
}
// Waits if necessary for the computa... | tjweir/functionalkit | Source/Main/FK/FKPromise.h | C | apache-2.0 | 512 |
package com.cisco.axl.api._8;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for LPickupGroupMember complex type.
*
* <p>The following schema fragment s... | ox-it/cucm-http-api | src/main/java/com/cisco/axl/api/_8/LPickupGroupMember.java | Java | apache-2.0 | 6,398 |
/*
* Copyright 2013-2014 Grzegorz Ligas <ligasgr@gmail.com> and other contributors
* (see the CONTRIBUTORS file).
*
* 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... | ligasgr/intellij-xquery | src/test/java/org/intellij/xquery/util/DelegatingNode.java | Java | apache-2.0 | 10,886 |
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>388B</title>
<!-- Bootstra... | jhfjhfj1/jhfjhfj1.github.io | codeforces/2014/12/22/388B.html | HTML | apache-2.0 | 8,981 |
/**
* Copyright 2013-2014 Guoqiang Chen, Shanghai, China. All rights reserved.
*
* Email: subchen@gmail.com
* URL: http://subchen.github.io/
*
* 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 Licen... | subchen/jetbrick-all-1x | jetbrick-commons/src/main/java/jetbrick/lang/CharsetUtils.java | Java | apache-2.0 | 1,354 |
/*
* Copyright (c) 2010-2019 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.task.quartzimpl.tracing;
import com.evolveum.midpoint.prism.*;
import com.evolveum.midpoint.prism.... | bshp/midPoint | repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracerImpl.java | Java | apache-2.0 | 26,762 |
/*
* ******************************************************************************
* Copyright 2014-2016 Spectra Logic Corporation. 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. A copy of the License i... | rpmoore/ds3_net_sdk | Ds3/ResponseParsers/GetDataReplicationRulesSpectraS3ResponseParser.cs | C# | apache-2.0 | 1,986 |
package com.example
import com.google.inject.Stage
import com.twitter.finatra.http.EmbeddedHttpServer
import com.twitter.inject.Test
class ExampleStartupTest extends Test {
val server = new EmbeddedHttpServer(
stage = Stage.PRODUCTION,
twitterServer = new ExampleServer)
test("server#startup") {
serv... | twitter/finatra-activator-seed | src/test/scala/com/example/ExampleStartupTest.scala | Scala | apache-2.0 | 345 |
require 'AWS/S3'
require 'pp'
class S3Adapter
def self.get_s3(account)
return if account.nil?
return if account.aws_access_key.blank? or account.aws_secret_key.blank?
keys = [ account.aws_access_key, account.aws_secret_key ]
AWS::S3.new(*keys)
end
def self.get_owner_id(acco... | vadimj/nimbul | app/models/s3_adapter.rb | Ruby | apache-2.0 | 1,746 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.