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 WSO2 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 i... | lakshani/carbon-mobile-appmgt | components/org.wso2.carbon.appmgt.core/src/main/java/org/wso2/carbon/appmgt/core/throttle/ThrottleManager.java | Java | apache-2.0 | 18,912 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Roslyn.Test.Utilities;... | reaction1989/roslyn | src/Features/LanguageServer/ProtocolUnitTests/Formatting/FormatDocumentTests.cs | C# | apache-2.0 | 1,964 |
package com.vladmihalcea.book.hpjp.hibernate.association;
import com.vladmihalcea.book.hpjp.util.AbstractTest;
import org.junit.Test;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
/**
* @author Vlad Mihalcea
*/
public class BidirectionalOneToManyJoinColumnTest extends AbstractTest ... | vladmihalcea/high-performance-java-persistence | core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/association/BidirectionalOneToManyJoinColumnTest.java | Java | apache-2.0 | 3,083 |
<!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 Thu Jan 19 00:04:41 PST 2012 -->
<TITLE>
ThriftBytesToTuple
</TITLE>
<META NAME="date" CONTENT="2012-01-19">
<LINK REL ="stylesheet" TYPE="t... | ketralnis/elephant-bird | javadoc/com/twitter/elephantbird/pig/piggybank/ThriftBytesToTuple.html | HTML | apache-2.0 | 13,176 |
/**
*/
package edu.kit.ipd.sdq.kamp4aps.model.aPS.ComponentRepository.impl;
import edu.kit.ipd.sdq.kamp4aps.model.aPS.ComponentRepository.ComponentRepositoryPackage;
import edu.kit.ipd.sdq.kamp4aps.model.aPS.ComponentRepository.PowerSupply;
import edu.kit.ipd.sdq.kamp4aps.model.aPS.ComponentRepository.Valve;
... | KAMP-Research/KAMP4APS | edu.kit.ipd.sdq.kamp4aps.aps/src/edu/kit/ipd/sdq/kamp4aps/model/aPS/ComponentRepository/impl/ValveImpl.java | Java | apache-2.0 | 8,415 |
angular.module( 'qkstrt', [
'templates-app',
'templates-common',
'qkstrt.home',
'ui.router'
])
.config( function myAppConfig ( $stateProvider, $urlRouterProvider ) {
$urlRouterProvider.otherwise( '/home' );
})
.run( function run () {
})
.controller( 'AppCtrl', function AppCtrl ( $scope, $location ) {
$sc... | troylelandshields/qkstrt | front/src/app/app.js | JavaScript | apache-2.0 | 550 |
/*
* Copyright 2019 http4s.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | rossabaker/http4s | ember-core/shared/src/main/scala/org/http4s/ember/core/h2/Hpack.scala | Scala | apache-2.0 | 911 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 ... | mauricionr/nodejstools | Nodejs/Product/Nodejs/Options/NodejsGeneralOptionsControl.cs | C# | apache-2.0 | 3,515 |
package bob.sun.bender.fragments;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Adapt... | JohnnySun/MusicPlayer | app/src/main/java/bob/sun/bender/fragments/BandConnectFragment.java | Java | apache-2.0 | 3,813 |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>sap.m.Toolbar</title>
<script src="shared-config.js"></script>
<script src="../../../resources/sap-ui-core.js"
id="sap-ui-bootstrap" data-sap-ui-libs="sap.m">
</script>
<style type="text/css"></style>
<script>
// initialize
... | cschuff/openui5 | src/sap.m/test/sap/m/Toolbar.html | HTML | apache-2.0 | 9,531 |
/**
* Visual Blocks Language
*
* Copyright 2012 Fred Lin.
* https://github.com/gasolin/BlocklyDuino
*
* 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/licen... | osdomotics/maier | www/generators/arduino/base.js | JavaScript | apache-2.0 | 11,087 |
package com.coolweather.service;
import com.coolweather.util.HttpCallbackListener;
import com.coolweather.util.HttpUtils;
import com.coolweather.util.Utility;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.content.SharedPref... | LBX123/coolweather | src/com/coolweather/service/AutoUpdateService.java | Java | apache-2.0 | 1,990 |
# Copyright 2013 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 agr... | ozamiatin/oslo.messaging | oslo_messaging/tests/notify/test_notifier.py | Python | apache-2.0 | 20,524 |
/*
* 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
* distributed u... | corgrath/osbcp-css-squasher | src/com/osbcp/csssquasher/LogicRefactor.java | Java | apache-2.0 | 4,782 |
Given(/^I am on http:\/\/localhost:(\d+)\/$/) do |arg1|
#pending # express the regexp above with the code you wish you had
visit ('http://localhost:7003')
end
When(/^I click on the "(.*?)"$/) do |view|
title=view
page.find(:xpath, "//span[contains(text(),'#{title}')]").click
end
And(/^I click on edit of "(.*... | VHAINNOVATIONS/PerceptiveReach | CI_CD/Backup/CucumberScripts/SPCWidget/features/step_definitions/SPC_Widget_steps.rb | Ruby | apache-2.0 | 4,158 |
// Licensed under the Apache License, Version 2.0
package com.flingtap.done;
import com.flingtap.common.HandledException;
import com.flurry.android.FlurryAgent;
import android.app.Dialog;
import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.... | SpencerRiddering/flingtap-done | flingtap-done/src/main/java/com/flingtap/done/CoordinatedTabActivity.java | Java | apache-2.0 | 4,194 |
<?php
declare(strict_types=1);
namespace Gdbots\Pbjx\DependencyInjection;
/** Marker interface for pbjx projectors */
interface PbjxProjector
{
}
| gdbots/pbjx-php | src/DependencyInjection/PbjxProjector.php | PHP | apache-2.0 | 148 |
<div class="proj-container">
<p>In an effort to increase product adoption at the end-user level, I designed a series of user focused microsite to showcase top use cases for the kiteworks end users. The concept behind the mockup design is limit the amount of clicks and scrolling to cover useful information including t... | dary410/dary410.github.io | _includes/portfolio/proj-4.html | HTML | apache-2.0 | 718 |
{
graphitePort: 2003
, graphiteHost: "{{ inventory_hostname }}"
, port: 8125
, backends: [ "./backends/graphite" ]
, graphite: {
legacyNamespace: false
}
} | invokelabs/invokelabs-ansible-roles | stats/templates/localConfig.js | JavaScript | apache-2.0 | 160 |
# Appianoporites S.Y. Sm., Currah & Stockey GENUS
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycologia 96(1): 181 (2004)
#### Original name
Appianoporites S.Y. Sm., Currah & Stockey
### Remarks
null | mdoering/backbone | life/Fungi/Appianoporites/README.md | Markdown | apache-2.0 | 232 |
/*---------------------------------------------------------------------------------------------*
* Copyright (C) 2012 Daniel Bolaños - www.bltek.com - Boulder Language Technologies *
* *
* www.bavieca.org is the web... | nlphacker/bavieca | src/common/base/LMFSM.h | C | apache-2.0 | 6,432 |
from __future__ import absolute_import
import json
from changes.config import db
from changes.constants import Result
from changes.models.jobplan import JobPlan
from changes.utils.http import build_web_uri
from .base import ArtifactHandler, ArtifactParseError
class CollectionArtifactHandler(ArtifactHandler):
""... | dropbox/changes | changes/artifacts/collection_artifact.py | Python | apache-2.0 | 1,917 |
package com.samsung.spensdk.example.tools;
import java.io.File;
import com.loftcat.R;
import android.app.Activity;
import android.os.Bundle;
import android.os.Environment;
import android.view.Window;
import android.widget.TextView;
import android.content.Intent;
public class ToolListActivity exte... | loftcat/WeiCat | src/com/samsung/spensdk/example/tools/ToolListActivity.java | Java | apache-2.0 | 2,387 |
/*
Copyright 2017 WALLIX
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
distribu... | wallix/awless | graph/resource.go | GO | apache-2.0 | 12,290 |
# p_crossfit
Web Site da Crossfit
| caiodesigner/p_crossfit | README.md | Markdown | apache-2.0 | 34 |
# Convolvulus trinervius Thunb. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Solanales/Convolvulaceae/Convolvulus/Convolvulus trinervius/README.md | Markdown | apache-2.0 | 179 |
// Copyright 2014 Google Inc. 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 required by applicable law... | gawkermedia/googleads-java-lib | examples/adwords_axis/src/main/java/adwords/axis/v201509/extensions/AddSiteLinks.java | Java | apache-2.0 | 8,041 |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Function Reference: _flashdata_mark()</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample-... | inputx/code-ref-doc | bonfire/_functions/_flashdata_mark.html | HTML | apache-2.0 | 4,958 |
package de.akquinet.innovation.play.maven;
import de.akquinet.innovation.play.maven.utils.CopyDependenciesEmbeddedMojo;
import org.apache.commons.io.FileUtils;
import org.apache.maven.archiver.MavenArchiveConfiguration;
import org.apache.maven.archiver.MavenArchiver;
import org.apache.maven.artifact.Artifact;
import o... | cescoffier/maven-play2-plugin | src/main/java/de.akquinet.innovation.play.maven/WarPackageMojo.java | Java | apache-2.0 | 15,311 |
/*
* #%L
* Diana UI Core
* %%
* Copyright (C) 2014 Diana UI
* %%
* 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 req... | dianaui/dianaui-universal | core/src/main/java/com/dianaui/universal/core/client/ui/gwt/CellTable.java | Java | apache-2.0 | 11,556 |
package com.sequenceiq.freeipa.flow.stack.termination.handler;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.sequenceiq.cloudbreak.ccm.termination.CcmResourceTerminationListener;
import com.sequenceiq.cloudbreak.ccm.te... | hortonworks/cloudbreak | freeipa/src/main/java/com/sequenceiq/freeipa/flow/stack/termination/handler/CcmKeyDeregistrationHandler.java | Java | apache-2.0 | 2,966 |
package com.sequenceiq.redbeams.api.endpoint.v4.database.base;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sequenceiq.cloudbrea... | hortonworks/cloudbreak | redbeams-api/src/main/java/com/sequenceiq/redbeams/api/endpoint/v4/database/base/DatabaseV4Identifiers.java | Java | apache-2.0 | 1,707 |
#include "HvacZone.h"
#include <QMutex>
class HvacZonePrivate {
public:
HvacZone *self;
QMutex m_mutex;
QString m_name;
QString m_mode;
QString m_fanMode;
QString name() const
{
return m_name;
}
void setName(QString arg)
{
lock();
if (m_name != arg) {... | CaptEmulation/hvac | hvac-service-lib/HvacZone.cpp | C++ | apache-2.0 | 1,762 |
name "dependencies"
description "Simple drop-in replacement for those who are tied to dependencies cookbook from AWS Opsworks"
maintainer "TranceLove (airwave209gt@gmail.com)"
license "Apache 2.0"
version "0.0.1"
depends "packages"
attribute "dependencies/debs",
:display_name => "Debian packages to install",
... | TranceLove/chef-dependencies | metadata.rb | Ruby | apache-2.0 | 730 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated Fri Dec 2 15:05:18 2011 by generateDS.py version 2.7b.
#
import sys
import getopt
import re as re_
etree_ = None
Verbose_import_ = False
( XMLParser_import_none, XMLParser_import_lxml,
XMLParser_import_elementtree
) = range(3)
XMLParser_import_li... | Dhandapani/gluster-ovirt | backend/manager/tools/engine-image-uploader/src/ovf/ovfenvelope.py | Python | apache-2.0 | 398,478 |
package krasa.mavenhelper.model;
public class Alias extends DomainObject {
private String from;
private String to;
public Alias() {
}
public Alias(String from, String to) {
this.from = from;
this.to = to;
}
public static Alias of(String name, String value) {
return new Alias(name, value);
}
public S... | fengyie007/MavenHelper | src/main/java/krasa/mavenhelper/model/Alias.java | Java | apache-2.0 | 665 |
# Arecacicola calami Joanne E. Taylor, J. Fröhl. & K.D. Hyde, 2001 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycoscience 42(4): 370 (2001)
#### Original name
Arecacicola calami Joanne E. Taylor, J. Fröhl. & K.D. Hyde, 2001
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Sordariomycetes/Arecacicola/Arecacicola calami/README.md | Markdown | apache-2.0 | 309 |
/*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... | HuangLS/neo4j | community/primitive-collections/src/main/java/org/neo4j/collection/primitive/PrimitiveIntVisitor.java | Java | apache-2.0 | 1,307 |
---
version: 1.0.0
title: Параллелизм
---
Одна из сильных сторон Elixir — поддержка параллелизма. Благодаря Erlang VM (BEAM) параллелизм в Elixir легче, чем вы думали. В основе модели параллелизма лежат акторы — процессы, взаимодействующие с другими процессами путём передачи сообщений.
В этом уроке мы по... | erickgnavar/elixir-school | ru/lessons/advanced/concurrency.md | Markdown | apache-2.0 | 7,105 |
/* First created by JCasGen Sat Jul 21 15:40:55 EDT 2012 */
package edu.cmu.lti.oaqa.framework.types;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.cas.impl.CASImpl;
import org.apache.uima.cas.impl.FSGenerator;
import org.apache.uima.cas.FeatureStructure;
import or... | oaqa/uima-ecd | src/main/java/edu/cmu/lti/oaqa/framework/types/ProcessingStep_Type.java | Java | apache-2.0 | 4,558 |
'use strict';
var mongodb = require ('@onehilltech/blueprint-mongodb')
, StatPlugin = mongodb.plugins.StatPlugin
;
var schema = new mongodb.Schema ({
name: {type: String, required: true, trim: true},
location: {type: String, required: true, trim: true},
website: {type: String, required: true, ... | DannyPeck/hive-apiserver | app/models/Organization.js | JavaScript | apache-2.0 | 610 |
#
# Author:: Jimmy McCrory (<jimmy.mccrory@gmail.com>)
# Copyright:: Copyright (c) 2014 Jimmy McCrory
# License:: Apache License, Version 2.0
#
# 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
#... | danielsdeleo/seth | spec/unit/knife/node_environment_set_spec.rb | Ruby | apache-2.0 | 2,372 |
/*
* Copyright 2016 LINE Corporation
*
* LINE Corporation 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:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | line/line-bot-sdk-java | line-bot-model/src/main/java/com/linecorp/bot/model/event/beacon/BeaconContent.java | Java | apache-2.0 | 3,087 |
/**
* 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... | ucare-uchicago/hadoop | hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmKeyInfo.java | Java | apache-2.0 | 10,201 |
/*
* 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 ... | joshelser/accumulo | server/base/src/main/java/org/apache/accumulo/server/client/ClientServiceHandler.java | Java | apache-2.0 | 19,073 |
/**
* @license
* Copyright 2018 Google Inc. 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 required by a... | tensorflow/tfjs-tsne | examples/mnist_data/index.js | JavaScript | apache-2.0 | 34,521 |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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
*
* http://www.apache... | wso2-extensions/identity-governance | components/org.wso2.carbon.identity.captcha/src/main/java/org/wso2/carbon/identity/captcha/internal/CaptchaComponent.java | Java | apache-2.0 | 8,981 |
require('chai').should();
var viewTestUtils = require('./utils/view-test-utils');
var test_date = new Date();
describe('Pie Sink View', function () {
var PieView = require('../../src/views/piechart');
describe('invalid params', function() {
it('unknown top level field', function() {
viewT... | juttle/juttle-viz | test/views/piechart.spec.js | JavaScript | apache-2.0 | 5,920 |
package ca.uhn.fhir.jpa.dao;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* 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
*
* ... | steve1medix/hapi-fhir | hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java | Java | apache-2.0 | 43,306 |
/*
Copyright 2010-2013 SourceGear, 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, softwar... | glycerine/vj | src/veracity/src/libraries/vv2/vv6diff/sg_vv2__diff__diff_to_stream.c | C | apache-2.0 | 4,838 |
/*
Copyright 2007,2008,2009,2010 Rustici Software, LLC
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.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:/... | datancoffee/sirocco | src/main/java/CS2JNet/System/Web/Services/Protocols/SoapMessage.java | Java | apache-2.0 | 1,087 |
/*
* Copyright 2000-2017 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... | signed/intellij-community | plugins/groovy/src/org/jetbrains/plugins/groovy/mvc/MvcModuleStructureSynchronizer.java | Java | apache-2.0 | 17,969 |
package network
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unl... | linzhaoming/origin | vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-05-01/network/virtualnetworkpeerings.go | GO | apache-2.0 | 15,734 |
package org.genericsystem.cache;
import org.genericsystem.api.core.Snapshot;
import org.genericsystem.api.core.annotations.Components;
import org.genericsystem.api.core.annotations.Dependencies;
import org.genericsystem.api.core.annotations.InstanceClass;
import org.genericsystem.api.core.annotations.SystemGeneric;
im... | genericsystem/genericsystem2015 | gs-kernel/src/test/java/org/genericsystem/cache/FileSystem.java | Java | apache-2.0 | 4,717 |
# AUTOGENERATED FILE
FROM balenalib/ts4900-ubuntu:cosmic-build
ENV NODE_VERSION 15.6.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.poo... | nghiant2710/base-images | balena-base-images/node/ts4900/ubuntu/cosmic/15.6.0/build/Dockerfile | Dockerfile | apache-2.0 | 2,757 |
/*
* Powered By cuichen
* Since 2014 - 2015
*/package com.seeyoui.kensite.framework.system.service;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.se... | seeyoui/kensite_cms | src/main/java/com/seeyoui/kensite/framework/system/service/SysModulePermissionService.java | Java | apache-2.0 | 2,485 |
/*
* Copyright 2000-2015 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... | hurricup/intellij-community | java/java-indexing-api/src/com/intellij/psi/search/searches/MethodReferencesSearch.java | Java | apache-2.0 | 5,947 |
# Eriocaulon zollingerianoides Z.X.Zhang 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/Eriocaulaceae/Eriocaulon/Eriocaulon zollingerianoides/README.md | Markdown | apache-2.0 | 196 |
/*
* 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 distributed under t... | googleapis/google-api-java-client-services | clients/google-api-services-jobs/v4/1.31.0/com/google/api/services/jobs/v4/model/BatchUpdateJobsRequest.java | Java | apache-2.0 | 4,455 |
// Copyright © 2016 NAME HERE <EMAIL ADDRESS>
//
// 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 ... | fanux/pbrain | cmd/decider.go | GO | apache-2.0 | 1,656 |
import React, {Component} from 'react';
class Signup extends Component {
handleSignup(e) {
e.preventDefault();
if ($('#user').val() === '' || $('#pass').val() === '' || $('#pass2').val() === '') {
handleError('Please fill out all fields.');
return false;
}
if ($('#pass').val() !== $('#... | li-cai/folio2 | client/login/Signup.js | JavaScript | apache-2.0 | 1,555 |
from citrination_client.search.pif.query.chemical.chemical_field_operation import ChemicalFieldOperation
from citrination_client.search.pif.query.core.base_object_query import BaseObjectQuery
from citrination_client.search.pif.query.core.field_operation import FieldOperation
class CompositionQuery(BaseObjectQuery):
... | calfonso/python-citrination-client | citrination_client/search/pif/query/chemical/composition_query.py | Python | apache-2.0 | 4,113 |
/*
* 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 "license" fil... | ambasta/aws-sdk-cpp | aws-cpp-sdk-elasticbeanstalk/include/aws/elasticbeanstalk/model/UpdateApplicationResult.h | C | apache-2.0 | 3,096 |
/*
* Copyright 2017-2022 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... | aws/aws-sdk-java | aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/transform/TopicRuleJsonUnmarshaller.java | Java | apache-2.0 | 4,376 |
package com.bq.corbel.resources.rem.request.builder;
import com.bq.corbel.lib.queries.jaxrs.QueryParameters;
import com.bq.corbel.lib.queries.request.Aggregation;
import com.bq.corbel.lib.queries.request.Pagination;
import com.bq.corbel.lib.queries.request.ResourceQuery;
import com.bq.corbel.lib.queries.request.Search... | bq/corbel | rem-api/src/main/java/com/bq/corbel/resources/rem/request/builder/QueryParametersBuilder.java | Java | apache-2.0 | 2,999 |
/*
* Copyright (c) 2008-2016 Haulmont.
*
* 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... | dimone-kun/cuba | modules/web-toolkit/src/com/haulmont/cuba/web/widgets/client/groupbox/CubaGroupBoxConnector.java | Java | apache-2.0 | 9,055 |
<!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_03) on Mon Nov 19 21:41:13 CET 2007 -->
<TITLE>
org.springframework.web.servlet.view.document Class Hierarchy (Spring Framework API 2.5)
</TITLE>
<M... | mattxia/spring-2.5-analysis | docs/api/org/springframework/web/servlet/view/document/package-tree.html | HTML | apache-2.0 | 8,931 |
# ラズパイ x ソラコムキャンペーン 植物観察キット 〜後片付けマニュアル〜
## <a name="overview">はじめに</a>
植物観察キットのハンズオンお疲れ様でした!このドキュメントでは、植物観察ハンズオンを終了する際の手順を説明します。
ハンズオンキットを継続的に使う予定がない方は、このドキュメントに沿って設定の削除をお願いします。このハンズオンで行ったプログラムの設定や、ソラコムサービスの設定をクリアすることで、不要な通信と料金の発生を防ぎます。
**SORACOM サービスの設定無効化**
ハンズオンで使った各種サービスを無効化し、課金を停止します。
- [各種サービスの設定を無効化](#clear... | soracom/handson | plant-observation/clean-up.md | Markdown | apache-2.0 | 6,924 |
package main
import (
"github.com/gopher-net/gnet-ctl/Godeps/_workspace/src/github.com/Sirupsen/logrus"
)
var log = logrus.New()
func init() {
log.Formatter = new(logrus.JSONFormatter)
log.Formatter = new(logrus.TextFormatter) // default
}
func main() {
defer func() {
err := recover()
if err != nil {
log... | gopher-net/gnet-ctl | Godeps/_workspace/src/github.com/Sirupsen/logrus/examples/basic/basic.go | GO | apache-2.0 | 791 |
namespace Climbing.Web.Tests.Unit
{
using System;
using Climbing.Web.Utilities.Mapper;
using Xunit;
public class AutoMapperTests
{
[Theory]
[AutoMoqData]
public void ShouldMap(ClassFrom from)
{
// Arrange
AutoMapper.Setup((ClassFrom cf) => cf.... | ivankaurov/ClimbingCompetitionWeb | WebClimbingNew/Tests.Unit/AutoMapperTests.cs | C# | apache-2.0 | 1,466 |
/**
* Copyright 2009-2012 Ibrahim Chaehoi
*
* 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... | berinle/jawr-core | src/main/java/net/jawr/web/resource/handler/reader/ServletContextResourceReaderHandler.java | Java | apache-2.0 | 12,798 |
<html>
<head>
<title>PHPXref Explorer</title>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<script language="JavaScript" type="text/javascript">
window.location='navframe-js.html';
</script>
<link rel="stylesheet" href="sample.css" type="text/css">
<style type="text/css">
</style>
<body bgc... | inputx/code-ref-doc | codeigniter/navframe.html | HTML | apache-2.0 | 3,953 |
package se.r2m.bigint.casinofront;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean... | r2m/r2m-innovation-bigintegration | casino-server-front/src/main/java/se/r2m/bigint/casinofront/CasinoFrontApplication.java | Java | apache-2.0 | 1,385 |
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Ti.UI.setBackgroundColor('#000');
Ti.UI.iPhone.statusBarStyle = Ti.UI.iPhone.StatusBar.OPAQUE_BLACK;
//Create main app namespace
var demo={};
//Create a few helpers
demo.myHelpers = {
isAndroid : function(){
return (T... | benbahrenburg/TiColorPickerExample | Resources/app.js | JavaScript | apache-2.0 | 1,598 |
/* ----------------------------------------------------------------------- *//**
*
* @file model.hpp
*
* This file contians classes of coefficients (or model), which usually has
* fields that maps to transition states for user-defined aggregates.
* The necessity of these wrappers is to allow classes in algo/ and ... | iyerr3/incubator-madlib | src/modules/convex/type/model.hpp | C++ | apache-2.0 | 7,228 |
/*
* 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")... | sarvex/MINA | core/src/main/java/org/apache/mina/transport/socket/nio/SocketSessionConfig.java | Java | apache-2.0 | 3,285 |
<?php
/**
* Rate Controller
*
*
*/
class RateController extends Controller {
/**
* Add a new rate to the bank rate table
*
*/
public function actionAdd() {
$city = trim($this->request->getParam('city'));
$state = trim(strtoupper($this->request->getParam('state')));
$rate = intval($this->request->g... | VinceG/consumertrackexercise | protected/controllers/RateController.php | PHP | apache-2.0 | 2,747 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/awstransfer/Transfer_EXPORTS.h>
#include <aws/awstransfer/TransferRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/awstransfer/model/HomeDirectoryTy... | jt70471/aws-sdk-cpp | aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/UpdateUserRequest.h | C | apache-2.0 | 43,302 |
create temp table jsoninp as select * from stdinput();
drop table if exists grants;
create table grants as select conceptId,conceptLabel,suggestedAcknowledgement
from
(setschema 'conceptId,conceptLabel,suggestedAcknowledgement'
select c1 as conceptId,c2 as conceptLabel, c3 as suggestedAcknowledgement
... | openaire/iis | iis-wf/iis-wf-referenceextraction/src/main/resources/eu/dnetlib/iis/wf/referenceextraction/community/sqlite_builder/oozie_app/lib/scripts/buildcummunitiesdb.sql | SQL | apache-2.0 | 600 |
#
# Copyright 2014 Telefonica Investigacion y Desarrollo, S.A.U
#
# 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 unde... | telefonicaid/fiware-keystone-spassword | keystone_spassword/tests/unit/contrib/spassword/test_checker.py | Python | apache-2.0 | 1,246 |
/*
* Copyright 2010-2017 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 "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-quicksight/source/model/SheetControlsOption.cpp | C++ | apache-2.0 | 1,760 |
<?php
if (wp_is_mobile())
$footer = 'Mobile';
else
$footer = 'Footer';
if (get_theme_mod('show_footbar', true) && is_dynamic_sidebar($footer)) {
?>
<div id="footbar" class="footbar">
<ul>
<?php
dynamic_sidebar($footer);
?>
</ul>
</div>
<?php } ?>
| parmaja/wp_metallic | sidebar-footer.php | PHP | apache-2.0 | 289 |
package org.f0w.k2i.core.event;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class ImportStartedEventTest {
@Test
public void constructorInitialization() {
ImportStartedEvent event = new ImportStartedEvent(5);
assertEquals(5, event.listSize);
}
} | REDNBLACK/J-Kinopoisk2IMDB | core/src/test/java/org/f0w/k2i/core/event/ImportStartedEventTest.java | Java | apache-2.0 | 308 |
/******************************************************
Copyright (c) 2015, IBM
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 ... | ibm-security-intelligence/visualizations | incident_overview/src/main/java/com/ibm/si/qradar/offenseviz/api/IPLookupResource.java | Java | apache-2.0 | 2,370 |
#
# 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 not... | wooga/airflow | tests/providers/google/cloud/operators/test_dataflow.py | Python | apache-2.0 | 11,898 |
//
// ViewController.h
// Demo02_GitServer
//
// Created by tarena on 15/10/8.
// Copyright (c) 2015年 tarena. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| lxpiosdeveloper/GtiTest | Demo02_GitServer/Demo02_GitServer/ViewController.h | C | apache-2.0 | 219 |
Clazz.declarePackage ("J.util");
c$ = Clazz.decorateAsClass (function () {
this.entryCount = 0;
this.entries = null;
Clazz.instantialize (this, arguments);
}, J.util, "Int2IntHash");
Clazz.makeConstructor (c$,
function (initialCapacity) {
this.entries = new Array (initialCapacity);
}, "~N");
$_M(c$, "get", ... | DeepLit/WHG | root/static/js/jsmol/j2s/J/util/Int2IntHash.js | JavaScript | apache-2.0 | 1,785 |
import wasp
def onConflict():
"""
Optional.
A conflict happened during the solving
"""
pass
def onDeletion():
"""
Optional.
The method for deleting clauses is invoked.
"""
pass
def onLearningClause(lbd, size, *lits):
"""
Optional.
When a clause is learnt.
:para... | alviano/wasp | python_libraries/heuristics/heuristic-instructions.py | Python | apache-2.0 | 2,804 |
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title>Topic 04 -- Abstracts with Biological Entities (English) - 75 Topics / Sub-Topic Model 01 - 15 Topics</title>
<style>
table {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px... | roaminsight/roamresearch | docs/CORD19_topics/cord19-2020-04-24-v9/text-ents-en-75-t01-15/Topic_04.html | HTML | apache-2.0 | 25,172 |
# Scotty
Scotty is a high performance, scalable collector for the
[tricorder](https://github.com/Symantec/tricorder) metrics publishing library.
Scotty provides a RESTful API to grab the latest polled metrics, and it can
push metrics to various persistent stores.
Please see the
[design document](https://docs.google.co... | Symantec/scotty | README.md | Markdown | apache-2.0 | 2,933 |
/*
* Created on Jul 26, 2010
*
* 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... | nicstrong/fest-assertions-android | fest-assert-android/src/main/java/org/fest/assertions/core/ObjectEnumerableAssert.java | Java | apache-2.0 | 5,621 |
/*
* Copyright 2010 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | robinverduijn/gradle | subprojects/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileResolver.java | Java | apache-2.0 | 5,052 |
namespace NServiceBus.Facade.Web.Areas.HelpPage.ModelDescriptions
{
public class KeyValuePairModelDescription : ModelDescription
{
public ModelDescription KeyModelDescription { get; set; }
public ModelDescription ValueModelDescription { get; set; }
}
} | PeteW/NServiceBusFacade | NServiceBus.Facade.Web/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs | C# | apache-2.0 | 281 |
/*
Copyright 2018 New Vector 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 to in writing, software... | matrix-org/matrix-react-sdk | src/components/views/elements/PersistedElement.tsx | TypeScript | apache-2.0 | 6,770 |
module Altera
class Bulgaria
attr_accessor :attr, :attr2
def method_um
a = 1+1
b = 2+2
end
end
end | estevao2012/defRefactorRuby | toys/ProjetoAula/versions/v1/altera/bulgaria.rb | Ruby | apache-2.0 | 129 |
<!--<p>Details</p>-->
<div style="width:100%;height:100%;background:white">
<div style="width:100%;padding:5px;background:white">
<md-list-item>
<!--<ng-avatar initials="{{initial}}" round-shape="true" bg-color="#3333cc" text-color="white" width="40"></ng-avatar>-->
<h1 style="color:black">{{employeeinfo[0].name}}</... | Hemanth72/HRMS | app_client/empdetails/details.html | HTML | apache-2.0 | 13,812 |
var dir_868198085b236c6136218653797759d1 =
[
[ "ComponentConfigCommand.java", "ComponentConfigCommand_8java.html", [
[ "ComponentConfigCommand", "classorg_1_1onosproject_1_1cli_1_1cfg_1_1ComponentConfigCommand.html", "classorg_1_1onosproject_1_1cli_1_1cfg_1_1ComponentConfigCommand" ]
] ],
[ "Component... | onosfw/apis | onos/apis/dir_868198085b236c6136218653797759d1.js | JavaScript | apache-2.0 | 1,817 |
---
external help file: Microsoft.Azure.Commands.KeyVault.dll-Help.xml
ms.assetid: A7C287C4-E9FD-407A-91BD-EFA17C33FC8B
online version: http://go.microsoft.com/fwlink/?LinkID=690161
schema: 2.0.0
---
# Get-AzureRmKeyVault
## SYNOPSIS
Gets key vaults.
## SYNTAX
### GetVaultByName
```
Get-AzureRmKeyVault [-VaultName]... | krkhan/azure-powershell | src/ResourceManager/KeyVault/Commands.KeyVault/help/Get-AzureRmKeyVault.md | Markdown | apache-2.0 | 4,598 |
/**
* Created by Vayne-Lover on 5/8/17.
*/
public class SailBoat extends Boat {
public void move() {
System.out.println("Sail!");
}
}
| Vayne-Lover/Java | head-first-java/chapter7/src/SailBoat.java | Java | apache-2.0 | 153 |
<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.google.zxing.PlanarYUVLuminanceSource (ZXing 3.3.3 AP... | daverix/zxing | docs/apidocs/com/google/zxing/class-use/PlanarYUVLuminanceSource.html | HTML | apache-2.0 | 4,480 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.