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 |
|---|---|---|---|---|---|
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Lice... | dans123456/pnc | model/src/main/java/org/jboss/pnc/model/Product.java | Java | apache-2.0 | 6,835 |
<!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_40) on Wed Apr 13 18:09:30 UTC 2016 -->
<title>Cassandra.Processor.get_indexed_slices (apache-cassandra API)</title>
<meta name="date" content=... | elisska/cloudera-cassandra | DATASTAX_CASSANDRA-3.5.0/javadoc/org/apache/cassandra/thrift/Cassandra.Processor.get_indexed_slices.html | HTML | apache-2.0 | 16,155 |
<!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_151) on Thu Mar 08 14:17:43 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | wildfly-swarm/wildfly-swarm-javadocs | 2018.3.3/apidocs/org/wildfly/swarm/config/elytron/class-use/LdapRealmConsumer.html | HTML | apache-2.0 | 11,417 |
/* mbed Microcontroller Library
* Copyright (c) 2014, STMicroelectronics
* 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. Redistributions of source code must retain the above copyrigh... | NordicSemiconductor/mbed | libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_L053R8/analogout_api.c | C | apache-2.0 | 3,922 |
<?
include_once 'init.php';
use PHPUnit\Framework\TestCase;
class MessagesTest extends TestCase {} | kosenkoandrey/mailiq-pult | protected/modules/Messages/test.php | PHP | apache-2.0 | 99 |
---
layout: doc
title: Profile manager
---
The profile manager is meant to deal with the user profile: it can be used to save or restore it.
The profile manager is instantiated from the `WebContext` and the `SessionStore`.
## 1) Retrieval
You can use the `getProfile()` method to return only one profile and the `get... | pac4j/pac4j | documentation/docs/profile-manager.md | Markdown | apache-2.0 | 1,348 |
automerge-plugin
================
[](https://gerrit-ci.gerritforge.com/view/Plugins-stable-2.14/job/plugin-automerge-plugin-gh-bazel-stable-2.14/)
A [gerrit](https://www.gerritcoderev... | criteo/automerge-plugin | README.md | Markdown | apache-2.0 | 738 |
/*
* Copyright (c) 2016. Papyrus Electronics, 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 applica... | TapTrack/TappyBLE | app/src/main/java/com/taptrack/tcmptappy/ui/modules/mainnavigationbar/vistas/MainNavigationRecycler.java | Java | apache-2.0 | 8,299 |
package sfxclient
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"runtime"
"strings"
"sync/atomic"
"time"
"unicode"
"github.com/golang/protobuf/proto"
"github.com/signalfx/com_signalfx_metrics_protobuf"
"github.com/signalfx/golib/datapoint"
"github.com/signalfx/golib/errors"
"golang.org/... | michaeltrobinson/cadvisor-integration | vendor/github.com/signalfx/golib/sfxclient/httpsink.go | GO | apache-2.0 | 6,390 |
// If you want your component to be able to change your global state, follow the pattern below
import React from 'react';
import { Link, browserHistory } from 'react-router';
import { connect } from 'react-redux';
import { selectAllProduct, selectAllProductFailed, selectAllProductSuccess, countAllProducts, countAllPro... | andy1992/react-redux-crud | public/src/containers/products/Pagination.js | JavaScript | apache-2.0 | 9,726 |
/*
* 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... | gstevey/gradle | subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/TaskPropertyActionContext.java | Java | apache-2.0 | 2,798 |
<!DOCTYPE html>
<html>
<head>
<title>Calculation Graph</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.7.0/vis.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.7.0/vis.min.css">
<script src="data_CHOOSE_Fx__JOIN_ALL.js"></script>
</... | DataArt/CalculationEngine | calculation-engine/engine-tests/engine-it-graph/src/test/resources/standardwithconfig_data_js_files/graph_CHOOSE_Fx__JOIN_ALL.html | HTML | apache-2.0 | 1,446 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.oakeel.ejb.ptpProductTransfer;
import com.oakeel.ejb.entityAndEao.eeroot.EntityRoot;
import com.oakeel.ejb.entityAndEao.fr... | globalptr/ptpEarAll | PtpApplication/PtpApplication-ejb/src/main/java/com/oakeel/ejb/ptpProductTransfer/PtpProductTransferEntity.java | Java | apache-2.0 | 2,508 |
(function ($) {
function doSearch() {
var url = '/v0.1/search/?q=' + document.getElementsByName('q')[0].value;
window.location.assign(url);
}
$(document).ready(function() {
$('#searchbox_demo').on('submit', function(e) {
e.preventDefault();
doSearch();
... | istio/istio.io | archive/v0.1/js/search.js | JavaScript | apache-2.0 | 1,210 |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>店主专区</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" s... | JustGrin/yixiuge | Application/Modules/Wap/Tpl/default/Start/shopkeeper_area.html | HTML | apache-2.0 | 6,673 |
//Copyright © 2006, Jonathan de Halleux
//http://blog.dotnetwiki.org/default,month,2005-07.aspx
using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using System.IO;
namespace MSBuild.Community.Tasks.Schema
{
int... | ONLYOFFICE/CommunityServer | redistributable/MSBuild.Community.Tasks/MSBuild.Community.Tasks/Schema/ReflectionHelper.cs | C# | apache-2.0 | 2,112 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-12-07 22:51
from __future__ import unicode_literals
import c3nav.mapdata.fields
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateMod... | c3nav/c3nav | src/c3nav/site/migrations/0001_announcement.py | Python | apache-2.0 | 1,128 |
// ----------------------------------------------------------------------------------
// Copyright Microsoft 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
// http://www.... | Azure/durabletask | src/DurableTask.Core/TaskActivityDispatcher.cs | C# | apache-2.0 | 16,780 |
/**
* Copyright (C) 2015 Etaia AS (oss@hubrick.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 appl... | hubrick/vertx-rest-client | src/main/java/com/hubrick/vertx/rest/rx2/Action1.java | Java | apache-2.0 | 759 |
/*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package org.elasticsearch.common.util.concurrent.jsr166e;
import java.util.concurrent.atomic.AtomicLong;
import java.io.IOExc... | jprante/elasticsearch-client | elasticsearch-transport/src/main/java/org/elasticsearch/common/util/concurrent/jsr166e/LongAdder.java | Java | apache-2.0 | 5,864 |
# Cocconeis minuta (Cleve) Cleve SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Bacillariophyta/Bacillariophyceae/Acnanthales/Cocconeidaceae/Cocconeis/Cocconeis minuta/README.md | Markdown | apache-2.0 | 188 |
# -*- coding: utf-8 -*-
# Copyright 2020 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... | googleads/google-ads-python | google/ads/googleads/v9/services/services/account_budget_proposal_service/client.py | Python | apache-2.0 | 26,197 |
using System;
namespace Railgun.Common.Chat.Events
{
public class ChatEvent : IEquatable<ChatEvent>
{
public uint Id { get; set; }
public DateTime Date { get; protected set; } = DateTime.Now;
public event Action<ChatEventUpdateInfo> OnUpdate;
public bool Equals(ChatEvent othe... | flashwave/railgun | Railgun.Common/Chat/Events/ChatEvent.cs | C# | apache-2.0 | 602 |
// Code generated by go-swagger; DO NOT EDIT.
package store
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the generate command
import (
"net/http"
"github.com/go-openapi/runtime/middleware"
)
// PlaceOrderHandlerFunc turns a function with the right signat... | go-swagger/go-swagger | examples/generated/restapi/operations/store/place_order.go | GO | apache-2.0 | 1,603 |
# Hieracium pulverosiceps Omang 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/Hieracium/Hieracium pulverosiceps/README.md | Markdown | apache-2.0 | 179 |
package com.hazelcast.aggregation;
public final class TimeoutInMillis {
private TimeoutInMillis() {
}
public static final long MINUTE = 60 * 1000;
}
| lmjacksoniii/hazelcast | hazelcast/src/test/java/com/hazelcast/aggregation/TimeoutInMillis.java | Java | apache-2.0 | 164 |
<!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_112) on Mon May 01 08:43:55 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | wildfly-swarm/wildfly-swarm-javadocs | 2017.5.0/apidocs/org/wildfly/swarm/config/class-use/Datasources.DatasourcesResources.html | HTML | apache-2.0 | 7,177 |
package com.jukusoft.jbackendengine.example.localsessionstore;
import com.jukusoft.jbackendengine.backendengine.IEditableBackendEngine;
import com.jukusoft.jbackendengine.backendengine.factory.BackendEngineFactory;
import com.jukusoft.jbackendengine.backendengine.sessionstore.ISession;
import com.jukusoft.jbackendengi... | JuKu/JBackendEngine | examples/localsessionstore/src/main/java/com/jukusoft/jbackendengine/example/localsessionstore/ExampleMain.java | Java | apache-2.0 | 1,754 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2014-2015 clowwindy
#
# 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 r... | plus1s/shadowsocks-py-mu | shadowsocks/asyncdns.py | Python | apache-2.0 | 17,651 |
/*
* Copyright (c) 2013-2015 by appPlant UG. All rights reserved.
*
* @APPPLANT_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apache License
* Version 2.0 (the 'License'). You may not use this file except in
*... | nozelrosario/Dcare | plugins/de.appplant.cordova.plugin.local-notification/src/android/notification/AssetUtil.java | Java | apache-2.0 | 12,251 |
# AUTOGENERATED FILE
FROM balenalib/aio-3288c-debian:bookworm-build
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu67 \
libssl1.1 \
... | resin-io-library/base-images | balena-base-images/dotnet/aio-3288c/debian/bookworm/3.1-runtime/build/Dockerfile | Dockerfile | apache-2.0 | 2,531 |
package com.gusteauscuter.youyanguan.activity;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.view.MotionEvent;
import android.view.View;... | GusteauScuter/youyanguan | app/src/main/java/com/gusteauscuter/youyanguan/activity/SplashActivity.java | Java | apache-2.0 | 1,868 |
/******************************************************************************
Slack integration
*******************************************************************************/
'use strict';
var _ = require('underscore'),
request = require('request'),
logger = require('../../server/logger');
var fruum_usern... | fruum/fruum | plugins/slack/server.js | JavaScript | apache-2.0 | 4,439 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2015
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... | futureskywei/whale | src/main/java/com/jy/common/utils/echarts/style/AreaStyle.java | Java | apache-2.0 | 2,658 |
if __name__ == '__main__':
x = int(input())
y = int(input())
z = int(input())
n = int(input())
L = [[a,b,c] for a in range(x+1) for b in range(y+1) for c in range(z+1)]
L = list(filter(lambda x : sum(x) != n, L))
print(L)
| kakaba2009/MachineLearning | python/src/algorithm/coding/basic/comprehension.py | Python | apache-2.0 | 240 |
require 'spec_helper'
require File.join(File.dirname(__FILE__), '../../../../build/dsc/resource')
require File.join(File.dirname(__FILE__), '../../../../build/dsc/psmodule')
fixture_path = File.expand_path(File.join(__FILE__, '..', '..', '..', '..', 'fixtures'))
def create_mock_cim_class(name, friendlyname)
obj = M... | puppetlabs/puppetlabs-dsc | spec/unit/build/dsc/resource_spec.rb | Ruby | apache-2.0 | 2,367 |
/*
* Copyright 2020 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 ... | googleapis/java-aiplatform | proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMlForecastingInputsOrBuilder.java | Java | apache-2.0 | 23,476 |
# Nageia Roxb. GENUS
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Pinophyta/Pinopsida/Pinales/Podocarpaceae/Nageia/README.md | Markdown | apache-2.0 | 168 |
from django import forms
from captcha.fields import CaptchaField
class CaptchaTestForm(forms.Form):
myfield = AnyOtherField()
captcha = CaptchaField()
def some_view(request):
if request.POST:
form = CaptchaTestForm(request.POST)
# Validate the form: the captcha field will automatically
... | Andrew0701/coursework-web | progress/home/captcha.py | Python | apache-2.0 | 497 |
<!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_75) on Wed Jun 10 23:20:25 IST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Interface o... | freakimkaefig/melodicsimilarity-solr | docs/solr-solrj/org/apache/solr/client/solrj/io/stream/class-use/ExpressibleStream.html | HTML | apache-2.0 | 9,473 |
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for PhysicalNicLinkInfo complex type.
*
* <p>The following schema fragment specifies the expected content contained... | jdgwartney/vsphere-ws | java/JAXWS/samples/com/vmware/vim25/PhysicalNicLinkInfo.java | Java | apache-2.0 | 1,654 |
// <copyright file="Startup.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/lic... | open-telemetry/opentelemetry-dotnet | test/TestApp.AspNetCore.6.0/Startup.cs | C# | apache-2.0 | 2,082 |
/*
Copyright 2014 The Kubernetes 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 in writing, ... | floreks/kubernetes | test/e2e/framework/util.go | GO | apache-2.0 | 181,665 |
/*
*
* Copyright (c) 2014-2017 Nest Labs, 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... | openweave/openweave-core | src/lwip/standalone/arch/sys_arch.h | C | apache-2.0 | 2,945 |
/*
* Copyright © 2014 - 2018 Leipzig University (Database Research Group)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | niklasteichmann/gradoop | gradoop-flink/src/test/java/org/gradoop/flink/model/impl/operators/matching/single/cypher/CypherPatternMatchingHomomorphismTest.java | Java | apache-2.0 | 3,103 |
# Laeticorticium jonides (Bres.) Donk SPECIES
#### Status
SYNONYM
#### According to
Index Fungorum
#### Published in
null
#### Original name
Corticium jonides Bres.
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Corticiales/Corticiaceae/Laeticorticium/Laeticorticium ionides/ Syn. Laeticorticium jonides/README.md | Markdown | apache-2.0 | 186 |
/**
* Copyright (c) 2015-2016, Michael Yang 杨福海 (fuhai999@gmail.com).
*
* Licensed under the GNU Lesser General Public License (LGPL) ,Version 3.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.gnu.org/licenses/lgp... | ledanck/fJinal | jpress-model/src/main/java/io/jpress/model/base/BaseComment.java | Java | apache-2.0 | 6,042 |
# Introduction to Java Enterprise Edition examples #
## JPA Core ##
This module covers very basic usage of Java Persistence API together with JTA, EJB and Bean Validation technologies.
## Examples ##
* crud - simple message board that shows how to build simple CRUD (Create Read Update Delete) application with basic... | Smoczysko/introduction-to-jee-examples | jpa/core/README.md | Markdown | apache-2.0 | 1,672 |
<!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_111) on Wed Jan 04 22:31:29 EST 2017 -->
<title>Uses of Interface org.drip.learning.regularization.RegularizerR1ToR1</title>
<meta name="date" ... | lakshmiDRIP/DRIP | Javadoc/org/drip/learning/regularization/class-use/RegularizerR1ToR1.html | HTML | apache-2.0 | 11,461 |
/*
* @(#)$Id: WebMailTitle.java 97 2008-10-28 19:41:29Z unsaved $
*
* Copyright 2008 by the JWebMail Development Team and Sebastian Schaffert.
*
* 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 Lice... | epsiinside/interne | plugin-src/net/wastl/webmail/plugins/WebMailTitle.java | Java | apache-2.0 | 2,654 |
/**
* Copyright 2007-2015, Kaazing 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | StCostea/k3po | driver/src/main/java/org/kaazing/k3po/driver/internal/control/handler/ControlServerHandler.java | Java | apache-2.0 | 17,034 |
package com.ctrip.hermes.broker.queue.storage.kafka;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.unidal.lookup.annotation.Inject;
import org.unidal.lookup.annotation.Named;
import org.u... | fengshao0907/hermes | hermes-broker/src/main/java/com/ctrip/hermes/broker/queue/storage/kafka/KafkaMessageQueueStorage.java | Java | apache-2.0 | 2,815 |
# Tillandsia ionochroma André ex Mez 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/Bromeliaceae/Tillandsia/Tillandsia ionochroma/README.md | Markdown | apache-2.0 | 193 |
// Code generated by aws/endpoints/v3model_codegen.go. DO NOT EDIT.
package endpoints
import (
"regexp"
)
// Partition identifiers
const (
AwsPartitionID = "aws" // AWS Standard partition.
AwsCnPartitionID = "aws-cn" // AWS China partition.
AwsUsGovPartitionID = "aws-us-gov" // AWS GovCloud (U... | trivago/gollum | vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go | GO | apache-2.0 | 292,209 |
# Load pickled data
import pickle
import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import ImageGrid
import numpy as np
import tensorflow as tf
from tensorflow.contrib.layers import flatten
from sklearn.utils import shuffle
class Data:
def __init__(self):
training_file = 'data/train.p'
... | ssarangi/self_driving_cars | traffic_sign_classifier/classify.py | Python | apache-2.0 | 6,030 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
DOCUMENTATION = '''
---
module: softlayer_vs_ip
short_description: Retrieves instance ip addresses from Softlayer
description:
- Retrieves instance ip addresses of all adapters from Softlayer
- the result is stored in the "result" dict entry of he registered variable
... | hubward/ansible-softlayer | softlayer_vs_ip.py | Python | apache-2.0 | 1,999 |
/*
* Copyright 2013 Guidewire Software, Inc.
*/
package gw.lang.reflect;
public interface IParameterInfo extends IFeatureInfo, IIntrinsicTypeReference
{
IParameterInfo[] EMPTY_ARRAY = new IParameterInfo[0];
}
| gosu-lang/old-gosu-repo | gosu-core-api/src/main/java/gw/lang/reflect/IParameterInfo.java | Java | apache-2.0 | 215 |
<?php
// +----------------------------------------------------------------------
// | @name base.php
// +----------------------------------------------------------------------
// | @desc 配置文件
// +----------------------------------------------------------------------
// | @author bibyzhang90@gmail.com
// +--------------... | bibyzhang/produce_cms | common/base.php | PHP | apache-2.0 | 2,863 |
<!doctype html>
<html>
<title>link</title>
<meta http-equiv="content-type" value="text/html;utf-8">
<link rel="stylesheet" type="text/css" href="./style.css">
<body>
<div id="wrapper">
<h1><a href="../api/link.html">link</a></h1> <p>Symlink a package folder</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>... | astro/browser-request | node_modules/ender/node_modules/npm/html/api/link.html | HTML | apache-2.0 | 2,148 |
"""Bitcoin information service that uses blockchain.info."""
from datetime import timedelta
import logging
from blockchain import exchangerates, statistics
import voluptuous as vol
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import ATTR_ATTRIBUTION, CONF_CURRENCY, CONF_DISPLAY... | Teagan42/home-assistant | homeassistant/components/bitcoin/sensor.py | Python | apache-2.0 | 6,395 |
package com.jivesoftware.jivesdk.impl.http;
import org.apache.http.client.HttpClient;
import javax.annotation.Nonnull;
/**
* Created with IntelliJ IDEA.
* User: Zvoykish
* Date: 9/1/13
* Time: 3:48 PM
*/
public interface HttpClientFactory {
/**
* Acquires an HTTP client with the default timeout setting... | zvoykish/jive-sdk-java | api/src/main/java/com/jivesoftware/jivesdk/impl/http/HttpClientFactory.java | Java | apache-2.0 | 653 |
---
search:
keywords: ['SQL', 'DROP SEQUENCE', 'command', 'drop', 'delete', 'sequence']
---
# SQL - `DROP SEQUENCE`
Removes a sequence. This feature was introduced in version 2.2.
**Syntax**
```sql
DROP SEQUENCE <sequence>
```
- **`<sequence>`** Defines the name of the sequence you want to remove.
**Examples... | smolinari/orientdb-docs | sql/SQL-Drop-Sequence.md | Markdown | apache-2.0 | 666 |
/**
* Copyright (C) 2012-2014 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 b... | krahman/emedia | ninja-core/src/main/java/ninja/template/TemplateEngineFreemarkerReverseRouteHelper.java | Java | apache-2.0 | 2,609 |
package org.unitsheet.types.typeconverters;
import org.unitsheet.api.types.TypeConverter;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
import static org.unitsheet.utils.ArgumentChecks.checkNotNull;
/**
* C... | wjsrobertson/unitsheet | core/src/main/java/org/unitsheet/types/typeconverters/NumericTypeConverter.java | Java | apache-2.0 | 5,102 |
#
# Copyright 2013 Quantopian, 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 wr... | mattcaldwell/zipline | zipline/protocol.py | Python | apache-2.0 | 14,487 |
# Biatora ahlesii Körb. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Flecht. Eur. no. 732 (1860)
#### Original name
Biatora ahlesii Körb.
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Lecideaceae/Lecidea/Lecidea ahlesii/ Syn. Biatora ahlesii/README.md | Markdown | apache-2.0 | 220 |
# Privacy Policy
### Information Collection and Use
For a better experience, while using the Service, I may require you to provide certain personally identifiable information, including but not limited to your location. The sample app may ask for permission to access your location. This information is used only withi... | cdeange/hubbub | PRIVACY.md | Markdown | apache-2.0 | 4,368 |
<!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_151) on Tue Aug 14 15:31:51 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | wildfly-swarm/wildfly-swarm-javadocs | 2.1.0.Final/apidocs/org/wildfly/swarm/config/ejb3/class-use/AsyncService.html | HTML | apache-2.0 | 12,101 |
//===--- Requests.cpp -----------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | natecook1000/swift | tools/SourceKit/tools/sourcekitd/lib/API/Requests.cpp | C++ | apache-2.0 | 103,084 |
package at.dafnik.ragemode.Weapons;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.entity.Arrow;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.Action;
import org.bukkit.event.entity.EntityShootBowEvent;
import org.bukkit.event.Lis... | Dafnik/RageMode | RageMode/src/at/dafnik/ragemode/Weapons/Bow.java | Java | apache-2.0 | 3,570 |
package Testing;
/**
* Created by Jeff on 2016/3/6.
*/
public class test5 {
public static void main(String[] args) {
char chh = 'a' + 4;
System.out.println(chh);
}
}
| gdefias/StudyJava | InitJava/base/src/main/java/Testing/test5.java | Java | apache-2.0 | 193 |
//rest-client.js
var _pulse = require('request');
var _internal = require('./conf/conf.json');
var _conf = require('../param.json');
var exports = module.exports = {};
var pulseAPI = _conf.pulseAPI;
exports.call = function( apiContext, callback) {
//console.log("Calling External API");
var cal... | jcaldeir/pulse-workload-wizard | plugin/rest-client.js | JavaScript | apache-2.0 | 945 |
package application.viewer;
import application.MainAppFX;
import application.tools.Sound;
import javafx.fxml.FXML;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.control.Button;
import javafx.scene.image.ImageView;
import javafx.scene.layout.FlowPane;
import javafx.scene.layo... | NeoRyu/GestionParcInfo | src/application/viewer/SplashController.java | Java | apache-2.0 | 15,918 |
package org.endeavourhealth.core.queueing;
public class MessageFormat {
//NOTE: These Strings correspond to the message format values in the SystemEditComponent.ts class
public static final String EMIS_OPEN = "EMISOPEN";
public static final String EMIS_OPEN_HR = "OPENHR";
public static final String E... | endeavourhealth/EDS | src/eds-messaging-core/src/main/java/org/endeavourhealth/core/queueing/MessageFormat.java | Java | apache-2.0 | 2,010 |
# omnia-web
This web project is my own blog/cms system.
| AmyStorm/omnia-web | README.md | Markdown | apache-2.0 | 56 |
# Penicillium calidicanium J.L. Chen, 2002 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
in Chen, Yen, Lin & Ku, Mycologia 94(5): 870 (2002)
#### Original name
Penicillium calidicanium J.L. Chen, 2002
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Eurotiomycetes/Eurotiales/Trichocomaceae/Penicillium/Penicillium calidicanium/README.md | Markdown | apache-2.0 | 281 |
/*
* Copyright 2000-2022 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... | JetBrains/TeamCity.SonarQubePlugin | sonar-plugin-server/src/test/java/jetbrains/buildserver/sonarplugin/manager/MigratingSQSManagerTest.java | Java | apache-2.0 | 10,520 |
# Pycnostachys sphaerocephala Baker SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lamiaceae/Pycnostachys/Pycnostachys sphaerocephala/README.md | Markdown | apache-2.0 | 183 |
-- MySQL sql for KULRICE-5419:
alter table krms_cntxt_t add column desc_txt varchar(255) default null;
alter table krms_term_spec_t add column desc_txt varchar(255) default null;
alter table krms_term_t add column desc_txt varchar(255) default null;
alter table krms_attr_defn_t add column desc_txt varchar(255) default ... | sbower/kuali-rice-1 | scripts/upgrades/1.0.3 to 2.0.0/db-updates/mysql-2011-07-22.sql | SQL | apache-2.0 | 326 |
//
// OJNIArrayInfo.h
// Zdravcity-iOS
//
// Created by Alexander Shitikov on 16.03.16.
// Copyright © 2016 A. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "OJNIEnv.h"
@interface OJNIArrayInfo : NSObject
@property (nonatomic) BOOL isPrimitive;
@property (nonatomic) Class componentType;
@prop... | ashitikov/Objective-JNI-Environment | OJNIArrayInfo.h | C | apache-2.0 | 475 |
package com.fengpy.myapp.gaodedemo;
import android.content.Context;
import com.fengpy.myapp.R;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
/**
* @ description:图例设置
* @ time: 2017/8/29.
* @ author: peiyun.feng
* @ emai... | androidfengpy/MyApp | app/src/main/java/com/fengpy/myapp/gaodedemo/ConfigManager.java | Java | apache-2.0 | 4,246 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | kromulan/ignite | modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheJoinPartitionedAndReplicatedTest.java | Java | apache-2.0 | 7,647 |
#!/bin/bash
# Source library
source ../../../utils/helper.sh
source ../../../utils/ccloud_library.sh
check_jq || exit
CONFIG_FILE=$HOME/.confluent/java.config
ccloud::validate_ccloud_config $CONFIG_FILE || exit
./stop-docker.sh
ccloud::generate_configs $CONFIG_FILE
source ./delta_configs/env.delta
docker-compose... | confluentinc/examples | clients/cloud/kafka-connect-datagen/start-docker-avro.sh | Shell | apache-2.0 | 1,728 |
#!/usr/bin/env python
# -- Content-Encoding: UTF-8 --
"""
COHORTE configuration file parser: converts a parsed configuration file to
beans
:author: Thomas Calmant
:license: Apache Software License 2.0
..
Copyright 2014 isandlaTech
Licensed under the Apache License, Version 2.0 (the "License");
you may n... | ahmadshahwan/cohorte-runtime | python/cohorte/config/parser.py | Python | apache-2.0 | 14,427 |
/*
* Copyright 2001-2012 Remi Vankeisbelck
*
* 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 ... | pojosontheweb/woko | core/src/main/java/woko/persistence/faceted/StoreSave.java | Java | apache-2.0 | 761 |
<!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_60-ea) on Tue Aug 16 17:15:33 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wil... | wildfly-swarm/wildfly-swarm-javadocs | 2016.8.1/apidocs/org/wildfly/swarm/config/undertow/server/host/class-use/LocationSupplier.html | HTML | apache-2.0 | 7,932 |
<!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_112) on Tue Sep 12 14:31:27 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | wildfly-swarm/wildfly-swarm-javadocs | 2017.9.5/apidocs/org/wildfly/swarm/config/security/security_domain/class-use/ClassicACL.ClassicACLResources.html | HTML | apache-2.0 | 7,935 |
<!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_45) on Fri Mar 06 22:14:29 CST 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Interface org.apache.hado... | jsrudani/HadoopHDFSProject | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/target/org/apache/hadoop/yarn/proto/class-use/YarnServerResourceManagerServiceProtos.GetGroupsForUserResponseProtoOrBuilder.html | HTML | apache-2.0 | 9,825 |
//*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/download/web-installer //
// ... | bytescout/ByteScout-SDK-SourceCode | PDF Extractor SDK/C#/SearchablePDFMaker Progress Indication/Program.cs | C# | apache-2.0 | 5,731 |
# AUTOGENERATED FILE
FROM balenalib/aarch64-debian:buster-build
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu63 \
libssl1.1 \
... | nghiant2710/base-images | balena-base-images/dotnet/aarch64/debian/buster/5.0-runtime/build/Dockerfile | Dockerfile | apache-2.0 | 2,944 |
<!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_151) on Wed Jan 16 11:48:17 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SimpleLoadProviderSupplier ... | wildfly-swarm/wildfly-swarm-javadocs | 2.3.0.Final/apidocs/org/wildfly/swarm/config/modcluster/proxy/SimpleLoadProviderSupplier.html | HTML | apache-2.0 | 9,264 |
package wb.app.seek.common.utils;
/**
* Created by W.b on 2017/1/9.
*/
public interface SPKey {
String UI_MODE = "UI_MODE";
String IN_APP_BROWSER = "IN_APP_BROWSER";
String DAY_NIGHT_MODE = "DAY_NIGHT_MODE";
}
| mawb23/Seek | app/src/main/java/wb/app/seek/common/utils/SPKey.java | Java | apache-2.0 | 228 |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Feedback\Types;
/**
*
* @property string $jobId
*/
class GetDSRSummaryRequest extends \... | davidtsadler/ebay-sdk-php | src/Feedback/Types/GetDSRSummaryRequest.php | PHP | apache-2.0 | 1,564 |
<!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_60-ea) on Mon Jun 27 14:13:36 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSFConsumer (WildFly Swar... | wildfly-swarm/wildfly-swarm-javadocs | 1.0.0.Final/apidocs/org/wildfly/swarm/config/JSFConsumer.html | HTML | apache-2.0 | 10,530 |
<!DOCTYPE html>
<html>
{% include head.html %}
<body class="page-{{ page.page_type }}">
{% include header.html %}
<div class="container content">
{{ content }}
</div>
{% include footer.html %}
{% include ga.html %}
</body>
</html>
| oaeproject/oaeproject.github.io | _layouts/default.html | HTML | apache-2.0 | 303 |
<!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_151) on Mon Jun 22 05:15:27 MST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.ejb.remot... | wildfly-swarm/wildfly-swarm-javadocs | 2.7.1.Final-SNAPSHOT/apidocs/org/wildfly/swarm/ejb/remote/detect/package-summary.html | HTML | apache-2.0 | 5,505 |
@{
RootModule = 'PSModule.psm1'
ModuleVersion = '2.0.0'
GUID = '1d73a601-4a6c-43c5-ba3f-619b18bbb404'
Author = 'Microsoft Corporation'
CompanyName = 'Microsoft Corporation'
Copyright = '(c) Microsoft Corporation. All rights reserved.'
Description = 'PowerShell module with commands for discovering, installing, up... | pshdo/LibGit2.PowerShell | .whiskey/PowerShellGet/PowerShellGet.psd1 | PowerShell | apache-2.0 | 20,216 |
using GammaJul.ReSharper.EnhancedTooltip.DocumentMarkup;
using JetBrains.Annotations;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon.CSharp.Errors;
using JetBrains.ReSharper.Psi.CodeAnnotations;
namespace GammaJul.ReSharper.EnhancedTooltip.Presentation.Highlightings.CSharp {
[SolutionComponent]
inte... | citizenmatt/ReSharper.EnhancedTooltip | GammaJul.ReSharper.EnhancedTooltip/Presentation/Highlightings/CSharp/CompareNonConstrainedGenericWithNullWarningEnhancer.cs | C# | apache-2.0 | 1,104 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CycleJs Problem 01</title>
</head>
<body>
<div id="app"> </div>
</body>
<script src="./index_04.js"> </script>
</html>
| mertnuhoglu/study | js/ex/study_notes_cyclejs/src/problems/p01/index_04.html | HTML | apache-2.0 | 285 |
<!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_151) on Sun Mar 17 11:03:32 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RegexValidatingPrincipalTra... | wildfly-swarm/wildfly-swarm-javadocs | 2.4.0.Final/apidocs/org/wildfly/swarm/config/elytron/RegexValidatingPrincipalTransformerConsumer.html | HTML | apache-2.0 | 12,329 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.