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 |
|---|---|---|---|---|---|
import tornado.ioloop
from functools import partial
from tornado.testing import AsyncTestCase
from elasticsearch_tornado import ClusterClient
try:
# python 2.6
from unittest2 import TestCase, SkipTest
except ImportError:
from unittest import TestCase, SkipTest
class ClusterClientTest(AsyncTestCase):... | hodgesds/elasticsearch_tornado | tests/test_cluster.py | Python | apache-2.0 | 2,219 |
<?php
include('head.php');
if(isset($_GET['from'])){
$from=$_GET['from'];
}
else{
$from=date("Y");
}
?>
<a id="prev" href="view_calendar.php?from=<?php echo $from-1;?>"><img src="img/left.png" style="height:35px;position:absolute;left:10px;"></a>
<a id="next" href="view_calendar.php?fro... | oghanek/UXClass-Bamboo | view_calendar.php | PHP | apache-2.0 | 800 |
/*
* Copyright 2015 the original author or 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 applic... | spring-projects/spring-social | spring-social-web/src/test/java/org/springframework/social/connect/web/test/StubOAuth1ConnectionFactory.java | Java | apache-2.0 | 1,265 |
<?php
header("Content-Type: text/html; charset=UTF-8");
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
require_once $root.'/config.inc.php';
require_once $root.'/inc/checksession.php';
require_once $root.'/inc/dbconnect.php';
if (isset($_SESSION['login']))
{
$login = $_SESSION['login']... | DEKHTIARJonathan/BilletterieUTC | inc/checkaccount.php | PHP | apache-2.0 | 1,012 |
/* @flow */
export default {
id: 'import-syntax',
title: 'Import Syntax',
description: `\`\`\`
import Menu, { MenuGroup } from 'mineral-ui/Menu';
\`\`\``
};
| mineral-ui/mineral-ui | src/website/app/demos/Menu/MenuGroup/examples/importSyntax.js | JavaScript | apache-2.0 | 163 |
/*
* Copyright 2010-2016 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 "l... | mhurne/aws-sdk-java | aws-java-sdk-cognitoidentity/src/main/java/com/amazonaws/services/cognitoidentity/model/transform/GetOpenIdTokenForDeveloperIdentityRequestMarshaller.java | Java | apache-2.0 | 4,656 |
C++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
C SOLVER : BiCG Stabilized 11.02.97
C (d'après Templates)
C++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
C
SUBROUTINE BICGSTAB(N, x, b, A, IA, JA, ALU, JLU, JU,
# epsilon,it_m... | rboman/progs | student/tfe/BiCG/lib/bicgstab.for | FORTRAN | apache-2.0 | 3,220 |
<!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 dep:pos in UD_Yup... | UniversalDependencies/universaldependencies.github.io | treebanks/ess_sli/ess_sli-dep-dep-pos.html | HTML | apache-2.0 | 8,317 |
# Alpinia pricei pricei Hayata, 1915 SUBSPECIES
#### Status
ACCEPTED
#### According to
Endemic species in Taiwan
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Zingiberales/Zingiberaceae/Alpinia/Alpinia pricei/Alpinia pricei pricei/README.md | Markdown | apache-2.0 | 181 |
<?php
/*
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Translation messages. See http://symfony.com/doc/current/book/transl... | focuslife/v0.1 | vendor/nesbot/carbon/src/Carbon/Lang/he.php | PHP | apache-2.0 | 974 |
<div data-notify="container" class="col-xs-11 col-sm-3 col-lg-2 alert alert-{0}" role="alert">
<button type="button" aria-hidden="true" class="close" data-notify="dismiss">×</button>
<span data-notify="icon"></span>
<span data-notify="title">{1}</span>
<span data-notify="message">{2}</span>
<a href="{3}" target="{... | vba/NBlast | NBlast.Client/app/views/notification.html | HTML | apache-2.0 | 354 |
# Erysiphe umbelliferarum f. selini Jacz., 1927 FORM
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Taschenbestimmb. f. Pilze 2, Erysiphaceen (1926)
#### Original name
Erysiphe umbelliferarum f. selini Jacz., 1927
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Leotiomycetes/Erysiphales/Erysiphaceae/Erysiphe/Erysiphe heraclei/ Syn. Erysiphe umbelliferarum selini/README.md | Markdown | apache-2.0 | 284 |
// Copyright 2018 Google 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | googleads/googleads-java-lib | modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201809/cm/AdUnionId.java | Java | apache-2.0 | 6,830 |
# trace
Trace is a mobile payment soluti
| joemartiny/trace | README.md | Markdown | apache-2.0 | 41 |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v8/services/account_budget_service.proto
namespace Google\Ads\GoogleAds\V8\Services;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Request m... | googleads/google-ads-php | src/Google/Ads/GoogleAds/V8/Services/GetAccountBudgetRequest.php | PHP | apache-2.0 | 2,185 |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v9/resources/accessible_bidding_strategy.proto
namespace Google\Ads\GoogleAds\V9\Resources;
if (false) {
/**
* This class is deprecated. Use Google\Ads\GoogleAds\V9\Resources\AccessibleBiddingStrategy\TargetSpend ... | googleads/google-ads-php | src/Google/Ads/GoogleAds/V9/Resources/AccessibleBiddingStrategy_TargetSpend.php | PHP | apache-2.0 | 725 |
class SignaturePredefinedListSettingsInfo
attr_accessor :name, :values, :default_value
# :internal => :external
def self.attribute_map
{
:name => :name, :values => :values, :default_value => :defaultValue
}
end
def initialize(attributes = {})
# Morph attribute keys into undescored rubyish sty... | liosha2007/groupdocs-ruby | groupdocs/models/signaturepredefinedlistsettingsinfo.rb | Ruby | apache-2.0 | 1,241 |
export class CallResult {
public Id: string = "";
public Name: string = "";
public LoggingUser: string = "";
public Priority: string = "";
public PriorityCss: string = "";
public State: string = "";
public StateCss: string = "";
public Timestamp: string = "";
public Color: string = ... | Resgrid/BigBoard | src/models/callResult.ts | TypeScript | apache-2.0 | 358 |
# Pleospora philadelphi Politis SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Pleospora philadelphi Politis
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Pleosporales/Pleosporaceae/Pleospora/Pleospora philadelphi/README.md | Markdown | apache-2.0 | 187 |
/* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use... | kevin-ledinh/banana-tree | sw/nRF51_SDK_10.0.0_dc26b5e/components/ant/ant_key_manager/config/ant_key_manager_config.h | C | apache-2.0 | 933 |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_9830 {
}
| lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_9830.java | Java | apache-2.0 | 151 |
package org.apereo.cas.acct.provision;
import org.apereo.cas.acct.AccountRegistrationRequest;
import org.apereo.cas.config.CasAccountManagementWebflowConfiguration;
import org.apereo.cas.config.CasCoreHttpConfiguration;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.web.flow.Base... | apereo/cas | support/cas-server-support-account-mgmt/src/test/java/org/apereo/cas/acct/provision/GroovyAccountRegistrationProvisionerTests.java | Java | apache-2.0 | 2,853 |
package ru.stqa.pft.mantis.model;
/**
* Created by Администратор on 10.03.2017.
*/
public class MailMessage {
public String to; //поле - кому письмо
public String text; //поле - текст письма
public MailMessage(String to, String text){
this.to = to;
this.text = text;
}
}
| Dmitry029/Java-for-testers | mantis-tests/src/test/java/ru/stqa/pft/mantis/model/MailMessage.java | Java | apache-2.0 | 336 |
/*
* Copyright 2014 The Skfiy Open Association.
*
* 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 ... | weghst/typhon | typhon-kernel/src/main/java/org/skfiy/typhon/spi/atlasloot/AtlaslootProvider.java | Java | apache-2.0 | 4,465 |
# Dryopteris cordipinna Ching & K.H.Shing 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/Dryopteris/Dryopteris cordipinna/README.md | Markdown | apache-2.0 | 189 |
# AUTOGENERATED FILE
FROM balenalib/colibri-imx6-debian:bookworm-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python d... | resin-io-library/base-images | balena-base-images/python/colibri-imx6/debian/bookworm/3.6.15/run/Dockerfile | Dockerfile | apache-2.0 | 4,097 |
# Pentaschistis aspera (Thunb.) Stapf SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Pentaschistis/Pentaschistis aspera/README.md | Markdown | apache-2.0 | 193 |
# Arctostaphylos appositifolius Parry SPECIES
#### 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/Ericales/Ericaceae/Ornithostaphylos/Ornithostaphylos oppositifolia/ Syn. Arctostaphylos appositifolius/README.md | Markdown | apache-2.0 | 192 |
# Salix exigua var. columbiana Dorn 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/Malpighiales/Salicaceae/Salix/Salix columbiana/ Syn. Salix exigua columbiana/README.md | Markdown | apache-2.0 | 190 |
# Geniostoma rupestre var. ligustrifolium (A.Cunn.) B.J.Conn VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Geniostoma ligustrifolium A.Cunn.
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Loganiaceae/Geniostoma/Geniostoma rupestre/Geniostoma rupestre ligustrifolium/README.md | Markdown | apache-2.0 | 237 |
# Cusparia fanshawei Sandwith SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Sapindales/Rutaceae/Angostura/Cusparia fanshawei/README.md | Markdown | apache-2.0 | 177 |
# Ericala pyrenaica G.Don SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Gentianaceae/Ericala/Ericala pyrenaica/README.md | Markdown | apache-2.0 | 173 |
# Lobarina horikawai Inumaru SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Lobarina horikawai Inumaru
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Peltigerales/Lobariaceae/Lobarina/Lobarina horikawai/README.md | Markdown | apache-2.0 | 181 |
# Sanguisorba officinalis var. montana (Jord. ex Boreau) Focke 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/Rosales/Rosaceae/Sanguisorba/Sanguisorba officinalis/ Syn. Sanguisorba officinalis montana/README.md | Markdown | apache-2.0 | 217 |
# Dolichandrone falcata Seem. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
J. Bot. 8:381. 1870
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Bignoniaceae/Dolichandrone/Dolichandrone falcata/README.md | Markdown | apache-2.0 | 192 |
# Dussia Krug & Urb. ex Taub. GENUS
#### Status
ACCEPTED
#### 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/Dussia/README.md | Markdown | apache-2.0 | 183 |
# Acicarpha spathulata var. glauca A.DC. VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Calyceraceae/Acicarpha/Acicarpha spathulata/Acicarpha spathulata glauca/README.md | Markdown | apache-2.0 | 188 |
# Limonia alternans Wall. ex Voigt SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Sapindales/Rutaceae/Limonia/Limonia alternans/README.md | Markdown | apache-2.0 | 182 |
# Psora atrobrunnea var. subfumosa Arnold VARIETY
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Psora atrobrunnea var. subfumosa Arnold
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Psoraceae/Psora/Psora atrobrunnea/Psora atrobrunnea subfumosa/README.md | Markdown | apache-2.0 | 207 |
/*
* Copyright 2000-2012 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... | romankagan/DDBWorkbench | plugins/git4idea/src/git4idea/roots/GitIntegrationEnabler.java | Java | apache-2.0 | 5,120 |
<?php
/* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */
$generated_i18n_strings = array(
// Reference: node_modules/yoastseo/src/assessments/readability/fleschReadingEaseAssessment.js:111
__( 'Good job!', 'wordpress-seo' ),
// Reference: node_modules/yoastseo/src/assessments/readability/fleschReadingEaseAssessm... | sifonsecac/capitalino-errante | wp-content/plugins/wordpress-seo/languages/yoast-seo-js.php | PHP | apache-2.0 | 40,953 |
#region License
// Copyright 2015-2020 Drew Noakes, Krzysztof Dul
//
// 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 ... | drewnoakes/boing | Boing/Forces/FlowDownwardForce.cs | C# | apache-2.0 | 1,714 |
# Phaseolus coccineus L. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Sp. pl. 2:724. 1753
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Phaseolus/Phaseolus coccineus/README.md | Markdown | apache-2.0 | 195 |
package org.jboss.resteasy.tests;
import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
import org.codehaus.jackson.map.DeserializationConfig;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.... | raphaelning/resteasy-client-android | jaxrs/as7-integration-testing/modules-test/src/main/java/org/jboss/resteasy/tests/NewFeaturesResource.java | Java | apache-2.0 | 3,823 |
<?php
$cPageSource = GetLocationFile(__FILE__) ;
$vaDate = scDate::Date2Var(date("Y-m-d")) ;
?>
<section class="content-header">
<h1>
Lihat SPPD
</h1>
<ol class="breadcrumb">
<li><a href=""><i class="fa fa-envelope"></i>Lihat SPPD</a></li>
</ol>
</section>
<sectio... | mirzaramadhany/webapp_sppd | pages/report/rptsppd.php | PHP | apache-2.0 | 7,843 |
/**
* 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-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/ScaleDownAnnounceMessage.java | Java | apache-2.0 | 2,027 |
# -*- coding: utf-8 -*-
# Copyright (C) 2020 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 ... | openstack/oslo.privsep | doc/source/conf.py | Python | apache-2.0 | 2,044 |
package com.medievallords.carbyne.gates.commands;
import com.medievallords.carbyne.utils.MessageManager;
import com.medievallords.carbyne.utils.command.BaseCommand;
import com.medievallords.carbyne.utils.command.Command;
import com.medievallords.carbyne.utils.command.CommandArgs;
import org.bukkit.command.CommandSende... | YoungOG/CarbyneCore | src/com/medievallords/carbyne/gates/commands/GateCommand.java | Java | apache-2.0 | 2,231 |
<!DOCTYPE html>
<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">
<meta http-eq... | Levent-J/Levent-J.github.io | categories/Java/index.html | HTML | apache-2.0 | 30,147 |
/*******************************************************************************
* Copyright (c) 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | vovagrechka/fucking-everything | phizdets/phizdets-idea/eclipse-src/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/CompletionRequestorExtension.java | Java | apache-2.0 | 762 |
<!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">
<link href="__PUBLIC__/Admin/images/Admin_css.css" type="text/css" rel="stylesh... | minglangasp/pppon | Admin/Tpl/Member/addrank.html | HTML | apache-2.0 | 2,639 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Formatting;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
usin... | f14n/code-cracker | src/CSharp/CodeCracker/Design/NameOfCodeFixProvider.cs | C# | apache-2.0 | 2,317 |
package net.gonnot.neuralnetwork;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.chart.LineChart;
import javafx.scene.chart.NumberAxis;
import javafx.scene.chart.XYChart;
import javafx.scene.chart.XYChart.Series;
import javafx.scene.control.Button;
import javafx.scene.layout.Bord... | gonnot/neural-network-samples | src/main/java/net/gonnot/neuralnetwork/ApplicationFrame.java | Java | apache-2.0 | 2,353 |
(function(){
function AlbumCtrl(Fixtures, SongPlayer) {
this.albumData = Fixtures.getAlbum();
this.songPlayer = SongPlayer;
}
angular
.module('blocJams')
.controller('AlbumCtrl', ['Fixtures', 'SongPlayer', AlbumCtrl]);
})();
| goodsporning/bloc-jams-angular | app/scripts/controllers/AlbumCtrl.js | JavaScript | apache-2.0 | 270 |
// Copyright 2021 Google 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 to in ... | jskeet/gcloud-dotnet | apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.Tests/TargetGrpcProxiesClientTest.g.cs | C# | apache-2.0 | 8,299 |
/*
* Copyright 2013 Thomas Bocek
*
* 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 ... | Biocodr/TomP2P | core/src/test/java/net/tomp2p/peers/TestPeerMap.java | Java | apache-2.0 | 22,734 |
<?php
/**
* Faq Categories (faq-category)
* @var $this app\components\View
* @var $this ommu\faq\controllers\CategoryController
* @var $model ommu\faq\models\FaqCategory
*
* @author Eko Hariyanto <haryeko29@gmail.com>
* @contact (+62)857-4381-4273
* @copyright Copyright (c) 2018 Ommu Platform (www.ommu.co)
* @... | oMMu/Ommu-FAQ | views/category/admin_index.php | PHP | apache-2.0 | 2,657 |
(function() {
angular
.module("zenigmesApp")
.controller("resetCtrl", resetCtrl);
resetCtrl.$inject = ["$location", "$uibModal","$routeParams", "authentication"];
function resetCtrl($location, $uibModal, $routeParams, authentication) {
var vm = this;
vm.pageHeader = {
... | fdagosti/zenigmes | app_client/src/app/auth/reset/reset.controller.js | JavaScript | apache-2.0 | 1,554 |
'use strict';
// Benchmark comparing performance of event emit for single listener
// To run it, do following in memoizee package path:
//
// $ npm install eventemitter2 signals
// $ node benchmark/single-on.js
var forEach = require('es5-ext/lib/Object/for-each')
, pad = require('es5-ext/lib/String/prototype/pad')
... | DeinDesign/css | node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/memoizee/node_modules/event-emitter/benchmark/single-on.js | JavaScript | apache-2.0 | 1,717 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Sun Jun 17 23:52:18 CEST 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>ch.bfh.ti.sed.patm... | hip4/patmon1 | reports/apidocs/ch/bfh/ti/sed/patmon1/server/domain/impl/package-summary.html | HTML | apache-2.0 | 6,784 |
# Copyright 2019 Google 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | GoogleCloudPlatform/selkies-examples | unigine-heaven/images/unigine-heaven/Dockerfile | Dockerfile | apache-2.0 | 938 |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2016 ArangoDB GmbH, Cologne, Germany
///
/// 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... | fceller/arangodb | lib/ApplicationFeatures/ApplicationServer.h | C | apache-2.0 | 13,586 |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.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://w... | LindaLawton/Google-APIs-PHP-Samples | Samples/Search Console API/v3/oauth2callback.php | PHP | apache-2.0 | 3,042 |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.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://w... | LindaLawton/Google-APIs-PHP-Samples | Samples/DCM/DFA Reporting And Trafficking API/v2.8/CampaignsListSample.php | PHP | apache-2.0 | 5,866 |
from colordetection import *
topColors(992780587437103) | PTAug/fashion-analytics | fashion-analytics/image-processing/testcolor.py | Python | apache-2.0 | 56 |
<!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 Mon Dec 02 23:10:55 MST 2013 -->
<title>Uses of Class ualberta.g12.adventurecreator.BuildConfig</title>
<meta name="date" conten... | Team-CMPUT301F13T12/301-Project | doc/ualberta/g12/adventurecreator/class-use/BuildConfig.html | HTML | apache-2.0 | 4,171 |
# 卷九志第四
◎礼仪四
周大定元年,静帝遣兼太傅、上柱国、杞国公椿,大宗伯、大将军、金城公煚,奉皇帝玺绂策书,禅位于隋。司录虞庆则白,请设坛于东第。博士何妥议,以为受禅登坛,以告天也,故魏受汉禅,设坛于繁昌,为在行旅,郊坛乃阙。至如汉高在汜,光武在鄗,尽非京邑所筑坛。自晋、宋揖让,皆在都下,莫不并就南郊,更无别筑之义。又后魏即位,登朱雀观,周帝初立,受朝于路门,虽自我作古,皆非礼也。今即府为坛,恐招后诮。议者从之。二月甲子,椿等乘象辂,备卤簿,持节,率百官至门下,奉策入次。百官文武,朝服立于门南,北面。高祖冠远游冠,府僚陪列。记室入白,礼曹导高祖,府僚从,出大门东厢西向。椿奉策书,煚奉玺绂,出次,节导而进。... | cdcdec/LearningNotes | books/中国古代史/隋书/卷九志第四.md | Markdown | apache-2.0 | 26,067 |
#
# 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
# ... | esikachev/scenario | sahara/openstack/common/periodic_task.py | Python | apache-2.0 | 8,319 |
#!/usr/bin/env bash
echo "===========================================$0 $@"
#Make sure to exit if anything fails
set -e
set -x
./bin/normalize_eml.sh "$@"
source ./bin/_newman_pipeline.sh "$@" | Sotera/pst-extraction | bin/eml_all.sh | Shell | apache-2.0 | 196 |
/*
* Copyright 2012 JBoss by Red Hat.
*
* 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 agr... | lukenjmcd/jbpm | jbpm-human-task/jbpm-human-task-audit/src/test/java/org/jbpm/services/task/audit/service/LocalTaskAuditTest.java | Java | apache-2.0 | 1,984 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../../../favicon.... | gudnam/bringluck | google_play_services/docs/reference/com/google/android/gms/common/UserRecoverableException.html | HTML | apache-2.0 | 47,680 |
package org.ovirt.engine.ui.webadmin.section.main.presenter.tab.cluster;
import org.ovirt.engine.core.common.businessentities.Cluster;
import org.ovirt.engine.ui.common.place.PlaceRequestFactory;
import org.ovirt.engine.ui.common.presenter.AbstractSubTabPresenter;
import org.ovirt.engine.ui.common.uicommon.model.Detai... | OpenUniversity/ovirt-engine | frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/presenter/tab/cluster/AbstractSubTabClusterPresenter.java | Java | apache-2.0 | 1,647 |
import { module } from 'angular';
import { react2angular } from 'react2angular';
import { withErrorBoundary } from '@spinnaker/core';
import { ManifestSelector } from './ManifestSelector';
export const KUBERNETES_MANIFEST_SELECTOR = 'spinnaker.kubernetes.v2.manifest.selector.component';
module(KUBERNETES_MANIFEST_SE... | spinnaker/deck | packages/kubernetes/src/manifest/selector/selector.component.ts | TypeScript | apache-2.0 | 533 |
package com.jimmy.model;
public class MapChartPluginEntity {
private String id;
private String value;
//
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getValue() {
return value;
}
public void setVal... | jimmyLian001/SpringLearn | src/main/java/com/jimmy/model/MapChartPluginEntity.java | Java | apache-2.0 | 377 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | falko/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/batch/externaltask/SetExternalTaskRetriesJobHandler.java | Java | apache-2.0 | 3,576 |
---
layout: home
photo_url: "/assets/images/fb_photo.jpg"
---
<article class="home">
<section id="contenedor_front_main" style="height: 606px;">
<div class="contenedor_name_app">
<h1 class="name_app">{{ site.title }}</h1>
</div>
<div class="contenedor_text_pasion">
<p class="pasion">Esto es l... | 01luisrene/recursosWeb | 01luisrene/01luisrene v1.0/index.html | HTML | apache-2.0 | 9,562 |
package org.oneman.utils.producer;
import javax.enterprise.context.Dependent;
import javax.enterprise.inject.Produces;
import javax.enterprise.inject.spi.InjectionPoint;
import javax.inject.Named;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Named
@Dependent
public class LoggerProducer {
@... | nobrooklyn/oneman | application/projects/oneman-utils/src/main/java/org/oneman/utils/producer/LoggerProducer.java | Java | apache-2.0 | 455 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kiwi.Textures.SingleImage - Kiwi.js</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="stylesh... | dfu23/swim-meet | lib/kiwi.js/docs/classes/Kiwi.Textures.SingleImage.html | HTML | apache-2.0 | 32,222 |
$(function() {
var resposta = $.ajax({
url:"http://localhost:8080/estados",
method: "GET",
dataType: "jsonp"//usado por estar em domínios diferentes
});
//A requisição Ajax pode demorar a retornar uma resposta
//com Promises é possível utilizar o método done() que executa
//assim que a requisição retornar u... | fabiokamaral/algaworks-JavaScript | 6 - JQuery/5 - Manipulando o DOM/manipulando_o_dom.js | JavaScript | apache-2.0 | 833 |
"""Tests for the SmartThings component init module."""
from uuid import uuid4
from aiohttp import ClientConnectionError, ClientResponseError
from asynctest import Mock, patch
from pysmartthings import InstalledAppStatus, OAuthToken
import pytest
from homeassistant.components import cloud, smartthings
from homeassista... | jabesq/home-assistant | tests/components/smartthings/test_init.py | Python | apache-2.0 | 17,803 |
package entity;
import CrawlerSYS.utils.StringHelper;
import java.util.Date;
import java.util.List;
public class ShowEntity {
private int id;
private String name;
private String picture;
private Date startDate;
private Date endDate;
private LocationEntity locat;
private int MINprice;
private int MAXpri... | zrtzrt/HeatPoint | src/entity/ShowEntity.java | Java | apache-2.0 | 3,120 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc. and/or its affiliates, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... | gastaldi/hibernate-validator | hibernate-validator/src/main/java/org/hibernate/validator/constraints/impl/FutureValidatorForReadableInstant.java | Java | apache-2.0 | 1,560 |
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
goog.declareModuleId('Blockly.test.helpers.toolboxDefinitions');
/**
* Get JSON for a toolbox that contains categories.
* @return {Blockly.utils.toolbox.ToolboxJson} The array holding information
* for a toolbox.
*/
export... | rachel-fenichel/blockly | tests/mocha/test_helpers/toolbox_definitions.js | JavaScript | apache-2.0 | 6,324 |
package org.darkphoenixs.mq.consumer;
import org.darkphoenixs.mq.exception.MQException;
import org.junit.Assert;
import org.junit.Test;
public class ConsumerTest {
@SuppressWarnings("deprecation")
@Test
public void test() throws Exception {
ConsumerImpl consumer = new ConsumerImpl();... | DarkPhoenixs/message-queue-client-framework | src/test/java/org/darkphoenixs/mq/consumer/ConsumerTest.java | Java | apache-2.0 | 1,268 |
# Ligusticopsis glaucescens (H.Wolff) Lavrova & Kljuykov SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Pleurospermum glaucescens H.Wolff
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Apiales/Apiaceae/Ligusticopsis/Ligusticopsis glaucescens/README.md | Markdown | apache-2.0 | 241 |
/*
* Copyright (c) Meta Platforms, Inc. and 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 appl... | facebook/folly | folly/lang/Assume.h | C | apache-2.0 | 2,888 |
// Copyright (c) 2014 by SiegeLord
//
// All rights reserved. Distributed under ZLib. For full terms see the file LICENSE.
#![crate_name="allegro_dialog_sys"]
#![crate_type = "lib"]
extern crate allegro_sys;
#[macro_use]
extern crate allegro_util;
extern crate libc;
pub use allegro_dialog::*;
pub mod allegro_dialog... | tempbottle/RustAllegro | allegro_dialog-sys/src/lib.rs | Rust | apache-2.0 | 2,474 |
/**
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.finance;
/**
* A financial product that can be traded.
* <p>
* A product is a high level abstraction applicable to many different types.
* For examp... | nssales/Strata | modules/finance/src/main/java/com/opengamma/strata/finance/Product.java | Java | apache-2.0 | 669 |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateDepartamentosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('departamentos', function (Blueprint $table) {
... | eulucasilva/avatar | database/migrations/2017_01_31_081334_create_departamentos_table.php | PHP | apache-2.0 | 664 |
package com.sequenceiq.periscope.service;
public class NotFoundException extends RuntimeException {
public NotFoundException(String message) {
super(message);
}
public NotFoundException(String message, Throwable cause) {
super(message, cause);
}
}
| sequenceiq/cloudbreak | autoscale/src/main/java/com/sequenceiq/periscope/service/NotFoundException.java | Java | apache-2.0 | 283 |
/**
* Copyright 2015 Joshua Cain
*
* 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 ... | cainj13/jaxbRss | src/test/java/org/semper/reformanda/syndication/rss/RssTest.java | Java | apache-2.0 | 1,095 |
var Redirects = function () {
this.respondsWith = ['html', 'json', 'xml', 'js', 'txt'];
this.index = function (req, resp, params) {
var self = this;
geddy.model.Redirect.all(function(err, redirects) {
self.respondWith(redirects, {type:'Redirect'});
});
};
this.add = function (req, resp, par... | dscape/mailproxy | app/controllers/redirects.js | JavaScript | apache-2.0 | 2,476 |
# Cryptostictis hollosti Tóth SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Cryptostictis hollosti Tóth
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Sordariomycetes/Xylariales/Amphisphaeriaceae/Cryptostictis/Cryptostictis hollosti/README.md | Markdown | apache-2.0 | 185 |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2016-2021 Gerrit Grunwald.
*
* 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
... | HanSolo/tilesfx | src/main/java/eu/hansolo/tilesfx/skins/CustomTileSkin.java | Java | apache-2.0 | 7,823 |
using Crane.Core.Hosts;
namespace Crane.Console
{
public class Program
{
static int Main(string[] args)
{
var hostFactory = new HostFactory();
var consoleHost = hostFactory.CreateConsoleHost();
return consoleHost.Run(args);
}
}
}
| ewilde/crane | src/Crane.Console/Program.cs | C# | apache-2.0 | 307 |
// Copyright 2013 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 in... | gude/cockroach | util/lru.go | GO | apache-2.0 | 2,993 |
/*
* utils4j - Mandatory.java, Aug 1, 2013 12:26:44 PM
*
* 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... | varra4u/utils4j | src/main/java/com/varra/classification/Mandatory.java | Java | apache-2.0 | 1,426 |
/* $NetBSD: wskbd.c,v 1.134.2.1 2014/12/01 11:38:43 martin Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribut... | execunix/vinos | sys/dev/wscons/wskbd.c | C | apache-2.0 | 48,383 |
/* Copyright 2012 Thorben Lindhauer
*
* 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 agr... | ThorbenLindhauer/activiti-engine-ppi | modules/activiti-engine/src/main/java/de/unipotsdam/hpi/thorben/ppi/condition/event/ConditionEvent.java | Java | apache-2.0 | 1,528 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>executor::post</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="... | letitvi/VideoGridPlayer | thirdparty/source/asio-1.11.0/doc/asio/reference/executor/post.html | HTML | apache-2.0 | 4,281 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.