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 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CloudFormationStackRecordSourceInfo.java | Java | apache-2.0 | 8,005 |
/*
* 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 ... | Coneboy-k/incubator-rocketmq | common/src/main/java/org/apache/rocketmq/common/BrokerConfig.java | Java | apache-2.0 | 15,205 |
package command
import (
"github.com/goodmustache/pt/actor"
"github.com/goodmustache/pt/command/display"
)
//counterfeiter:generate . ProjectListActor
type ProjectListActor interface {
Projects() ([]actor.Project, error)
}
type ProjectList struct {
UserID uint64 `short:"u" long:"user-id" description:"User ID to... | goodmustache/pt | command/project_list.go | GO | apache-2.0 | 860 |
<!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.5.0_06) on Fri May 05 14:52:10 PDT 2006 -->
<TITLE>
Uses of Class org.apache.hadoop.record.compiler.JFile (Hadoop 0.2.0 API)
</TITLE>
<LINK REL ="style... | moreus/hadoop | hadoop-0.2.0/docs/api/org/apache/hadoop/record/compiler/class-use/JFile.html | HTML | apache-2.0 | 8,468 |
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.product.index;
import static com.opengamma.strata.collect.TestHelper.assertSerialization;
import static com.opengamma.strata.collect.TestHelper.coverBean... | OpenGamma/Strata | modules/product/src/test/java/com/opengamma/strata/product/index/IborFutureTradeTest.java | Java | apache-2.0 | 5,092 |
/*
* Copyright (c) 2016. Sunghyouk Bae <sunghyouk.bae@gmail.com>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | debop/debop4k | debop4k-redis/src/test/java/debop4k/redisson/spring/cache/RedissonCacheTest.java | Java | apache-2.0 | 2,169 |
#!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2021] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License... | Ensembl/ensembl | misc-scripts/xref_mapping/xref_data_analysis.pl | Perl | apache-2.0 | 7,089 |
from django_filters.rest_framework import DjangoFilterBackend
from rest_framework.decorators import action
from rest_framework.permissions import IsAuthenticated
from rest_framework.response import Response
from rest_framework.viewsets import ModelViewSet
from rdmo.core.exports import XMLResponse
from rdmo.core.permis... | rdmorganiser/rdmo | rdmo/conditions/viewsets.py | Python | apache-2.0 | 2,141 |
/*
* 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 ... | masaki-yamakawa/geode | geode-apis-compatible-with-redis/src/main/java/org/apache/geode/redis/internal/RedisDistributedSystemService.java | Java | apache-2.0 | 1,750 |
/*
* Copyright 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 by applica... | leapframework/framework | base/lang/src/main/java/leap/lang/meta/MNamed.java | Java | apache-2.0 | 748 |
package com.vladmihalcea.book.hpjp.hibernate.type.array;
import org.hibernate.dialect.PostgreSQL95Dialect;
import java.sql.Types;
/**
* @author Vlad Mihalcea
*/
public class PostgreSQL95ArrayDialect extends PostgreSQL95Dialect {
public PostgreSQL95ArrayDialect() {
super();
this.registerColumnT... | vladmihalcea/high-performance-java-persistence | core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/type/array/PostgreSQL95ArrayDialect.java | Java | apache-2.0 | 355 |
require_dependency 'libraetd/lib/serviceclient/user_info_client'
require_dependency 'libraetd/lib/helpers/user_info'
require_dependency 'libraetd/lib/serviceclient/entity_id_client'
module Helpers
class EtdHelper
def self.process_inbound_sis_authorization( deposit_authorization )
# lookup the user and c... | uvalib/Libra2 | lib/libraetd/lib/helpers/etd_helper.rb | Ruby | apache-2.0 | 7,345 |
#!/usr/bin/env python
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
'fbcode_builder steps to build Facebook Thrift'
import specs.fbthrift as fbthrift
def fbcode_builder_spec(builder):
return {
'depends_... | getyourguide/fbthrift | build/fbcode_builder_config.py | Python | apache-2.0 | 449 |
package grammar.model.nouns;
import grammar.model.Multiplicity;
import grammar.model.PseudoEnum;
import grammar.model.SubjectGender;
import grammar.util.Utilities;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class Noun implements PseudoEnum<Noun> {
private s... | dliroberts/lang | RomanceConjugator/src/main/java/grammar/model/nouns/Noun.java | Java | apache-2.0 | 3,873 |
/*
* Copyright 2012-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 "licen... | dagnir/aws-sdk-java | aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/EnableDomainAutoRenewResult.java | Java | apache-2.0 | 2,301 |
/*
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2007 INRIA, France Telecom
* 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. Re... | gstamac/powermock | powermock-api/powermock-api-mockito2/src/main/java/org/powermock/api/mockito/repackaged/asm/tree/MethodNode.java | Java | apache-2.0 | 16,512 |
USE `modo-import`;
CREATE OR REPLACE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `modo-import`.`Center` AS
SELECT
center.id AS id,
center.name AS name,
center.code AS code,
"ef80ab638b" AS mailchimpListId,
"accueil@modo-shopping.fr" AS contactEmail
FROM `crm-import`.`Center` AS center... | incodehq/ecpcrm | application/src/main/java/org/incode/eurocommercial/ecpcrm/module/application/fixture/scripts/import-views-modo.sql | SQL | apache-2.0 | 1,211 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ManagerShop.Domain.DomainEvents
{
public class MessageSentEventHandler : IEventHandler<MessageSentEvent>
{
public void Handle(MessageSentEvent evt)
{
Consol... | dawutao/ManagerShop | ManagerShop.UI/ManagerShop.Domain.Event/EventHandlers/MessageSentEventHandler.cs | C# | apache-2.0 | 400 |
/*
* 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
* distribut... | EvilMcJerkface/presto | presto-main/src/main/java/com/facebook/presto/operator/FileFragmentResultCacheManager.java | Java | apache-2.0 | 10,483 |
/*
* 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 ... | nivanov/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridPartitionedBackupLoadSelfTest.java | Java | apache-2.0 | 5,117 |
package org.opencommercesearch.client.impl;
import java.util.Date;
/**
* Represents a sku's availability.
*
* @author rmerizalde
*/
public class Availability {
public enum Status {
InStock,
OutOfStock,
PermanentlyOutOfStock,
Backorderable,
Preorderable
}
private Status status;
privat... | madickson/opencommercesearch | opencommercesearch-sdk-java/src/main/java/org/opencommercesearch/client/impl/Availability.java | Java | apache-2.0 | 947 |
<!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_51) on Tue Aug 27 20:57:01 WEST 2013 -->
<TITLE>
OFActionTypeTest
</TITLE>
<META NAME="date" CONTENT="2013-08-27">
<LINK REL ="stylesheet" TYPE="te... | fbotelho-university-code/poseidon | doc/org/openflow/protocol/OFActionTypeTest.html | HTML | apache-2.0 | 11,450 |
/*!
* angular-loading-bar v0.8.0
* https://chieffancypants.github.io/angular-loading-bar
* Copyright (c) 2015 Wes Cruver
* License: MIT
*/
/*
* angular-loading-bar
*
* intercepts XHR requests and creates a loading bar.
* Based on the excellent nprogress work by rstacruz (more info in readme)
*
* (c) 2013 We... | rexren/Enterprise-Quality | hephaestus-site/src/main/resources/static/scripts/vendor/angular-loading-bar/angular-loading-bar.js | JavaScript | apache-2.0 | 10,213 |
package distribution // import "github.com/tiborvass/docker/distribution"
import (
"bufio"
"compress/gzip"
"context"
"fmt"
"io"
"github.com/docker/distribution/reference"
"github.com/tiborvass/docker/distribution/metadata"
"github.com/tiborvass/docker/pkg/progress"
"github.com/tiborvass/docker/registry"
"gi... | tiborvass/docker | distribution/push.go | GO | apache-2.0 | 6,226 |
#pragma once
#ifndef GEODE_INTEGRATION_TEST_QUERYHELPER_H_
#define GEODE_INTEGRATION_TEST_QUERYHELPER_H_
/*
* 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 ownersh... | mmartell/geode-native | cppcache/integration-test/QueryHelper.hpp | C++ | apache-2.0 | 12,719 |
/*
* testdatefmtrange_wo_SN.js - test the date range formatter object Wolof-Senegal
*
* Copyright © 2021, JEDLSoft
*
* 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... | iLib-js/iLib | js/test/daterange/testdatefmtrange_wo_SN.js | JavaScript | apache-2.0 | 19,135 |
# AUTOGENERATED FILE
FROM balenalib/kitra710-ubuntu:eoan-build
ENV GO_VERSION 1.16
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "3770f7eb22d05e25fbee8fb53c2a4e897da043eb83c69b9a14f8d98562cd8098 go$GO_VERSION.linux-arm64.tar.gz" | sha25... | nghiant2710/base-images | balena-base-images/golang/kitra710/ubuntu/eoan/1.16/build/Dockerfile | Dockerfile | apache-2.0 | 1,989 |
# AUTOGENERATED FILE
FROM balenalib/genericx86-64-ext-debian:sid-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... | nghiant2710/base-images | balena-base-images/python/genericx86-64-ext/debian/sid/3.6.12/run/Dockerfile | Dockerfile | apache-2.0 | 4,103 |
package org.usfirst.frc.team4453.robot.commands;
import org.usfirst.frc.team4453.library.Vision;
import org.usfirst.frc.team4453.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
/**
*
*/
public class DriveWithCamera extends Command {
public... | RedHotChiliBots/FRC4453 | Robot/Programming/FRC2016Robot/src/org/usfirst/frc/team4453/robot/commands/DriveWithCamera.java | Java | apache-2.0 | 2,359 |
# Google Compute Engine PHP Sample Application
## Description
This is a simple web-based example of calling the Google Compute Engine API
in PHP.
## Prerequisites
* Run `composer install` in this directory to install the `google/cloud-compute`
library.
* Follow [Getting started with authentication](https://cloud.... | GoogleCloudPlatform/php-docs-samples | compute/cloud-client/helloworld/README.md | Markdown | apache-2.0 | 589 |
/**
* Copyright (C) 2012 52°North Initiative for Geospatial Open Source Software GmbH
*
* 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... | 52North/ArcGIS-Server-SOS-Extension | src/main/java/org/n52/sos/cache/ObservationOfferingCache.java | Java | apache-2.0 | 4,089 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (1.8.0_91) on Thu Jul 13 16:16:26 CST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>程序包 com.webside.role.service... | ofpteam/ofp | target/apidocs/com/webside/role/service/impl/package-use.html | HTML | apache-2.0 | 4,302 |
<!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_232) on Tue Sep 15 08:53:08 UTC 2020 -->
<title>Uses of Class org.springframework.web.socket.config.annotation.DelegatingWebSocketConfiguration... | akhr/java | Spring/jars/spring-framework-5.1.18.RELEASE/docs/javadoc-api/org/springframework/web/socket/config/annotation/class-use/DelegatingWebSocketConfiguration.html | HTML | apache-2.0 | 5,182 |
/**
* Copyright 2010 - 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | JetBrains/xodus | openAPI/src/main/java/jetbrains/exodus/io/DataReaderWriterProvider.java | Java | apache-2.0 | 5,499 |
package org.commcare.tasks;
import android.content.Context;
import android.text.TextUtils;
import android.text.format.DateUtils;
import android.util.Pair;
import org.commcare.CommCareApplication;
import org.commcare.models.AndroidSessionWrapper;
import org.commcare.models.database.AndroidSandbox;
import org... | dimagi/commcare-android | app/src/org/commcare/tasks/FormRecordLoaderTask.java | Java | apache-2.0 | 10,155 |
/* Copyright 2019 Telstra Open Source
*
* 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... | jonvestal/open-kilda | src-java/network-topology/network-storm-topology/src/main/java/org/openkilda/wfm/topology/network/controller/BfdGlobalToggleFsm.java | Java | apache-2.0 | 8,262 |
/*
* 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 ... | goldmedal/spark | sql/core/v2.3/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcFilters.scala | Scala | apache-2.0 | 12,961 |
using System;
namespace NativeAppFabricConsoleUI
{
internal static class CreateRegionTests
{
internal static void CreateRegionWithNonEmptyString()
{
try
{
Logger.PrintTestStartInformation("Creating Region with non-empty string value");
st... | Alachisoft/NCache-Wrapper-For-AppFabric | samples/AppFabricWrapperTest/NativeAppFabricConsoleUI/RegionLevelBasicOperations/CreateRegionTests.cs | C# | apache-2.0 | 2,744 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>create canvas</title>
<link rel="stylesheet" href="../canvas/main.css">
<style>
div {
font-family: monospace;
font-size: 20px;
color: white;
}
... | MLG369/MLG369.github.io | Old_Stuff/JS/JS_Core/Homework/BrickBreaker.html | HTML | apache-2.0 | 8,342 |
package org.nbone.core.util;
/**
*
* @author thinking
* @version 1.0
* @since 2019-07-20
* org.elasticsearch.common.unit.ByteSizeUnit
*/
public enum ByteSizeUnit {
BYTES {
@Override
public long toBytes(long size) {
return size;
}
@Override
public long toK... | thinking-github/nbone | nbone/nbone-core/src/main/java/org/nbone/core/util/ByteSizeUnit.java | Java | apache-2.0 | 5,035 |
def emptyLayout(layout):
for i in reversed(range(layout.count())):
layout.itemAt(i).widget().setParent(None)
| fireeye/flare-wmi | python-cim/samples/ui/uicommon.py | Python | apache-2.0 | 121 |
package scalacookbook.chapter03
/**
* Created by liguodong on 2016/6/28.
*/
object UseMatchInsteadIsInstanceOf {
// use the isInstanceOf method to test the type of an object
// if (x.isInstanceOf[Foo]) { do something ...
def isPerson(x: Any): Boolean = x match {
case p: Person => true
case _ => false... | liguodongIOT/java-scala-mix-sbt | src/main/scala/scalacookbook/chapter03/UseMatchInsteadIsInstanceOf.scala | Scala | apache-2.0 | 769 |
// Copyright (c) 2009 Carl Barron
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <iostream>
#include <sstream>
#include <boost/detail/lightweight_test.hpp>
#include <boost/spirit/include/lex.hpp>... | Im-dex/xray-162 | code/3rd-party/boost/libs/spirit/test/lex/dedent_handling_phoenix.cpp | C++ | apache-2.0 | 2,510 |
/*
* 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 ... | GoogleForCreators/web-stories-wp | packages/story-editor/src/elements/text/util.js | JavaScript | apache-2.0 | 3,563 |
<?php
echo "This is success.php";
?> | pari/rand0m | paypalipn/success.php | PHP | apache-2.0 | 38 |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2006-2020. 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
... | lrascao/otp | erts/emulator/sys/common/erl_check_io.c | C | apache-2.0 | 95,170 |
---
title: ICompletionProposal.attributes - aesi-java
---
[aesi-java](../../index.html) / [com.virtlink.editorservices.codecompletion](../index.html) / [ICompletionProposal](index.html) / [attributes](.)
# attributes
`abstract val attributes: `[`EnumSet`](http://docs.oracle.com/javase/6/docs/api/java/util/EnumSet.ht... | Virtlink/aesi | docs/aesi-java/com.virtlink.editorservices.codecompletion/-i-completion-proposal/attributes.md | Markdown | apache-2.0 | 368 |
package org.zentaur.core.http;
/*
* Copyright 2012 The Zentaur Server Project
*
* 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-... | zentaur/core | src/main/java/org/zentaur/core/http/ResponseFactory.java | Java | apache-2.0 | 1,161 |
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"><ShortName>National Water Supply and Drainage Board</ShortName><Description>National Water Supply and Drainage Board</Description><InputEncoding>UTF-8</InputEncoding><Image type="image/vnd.microsoft.icon" width="1... | cmaere/lwb | templates/protostar/index8fa5.php | PHP | apache-2.0 | 759 |
// Copyright 2016 PingCAP, 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... | spongedu/tidb | store/tikv/error.go | GO | apache-2.0 | 2,481 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mermaid.Loft.Infrastructure.DomainBase
{
public class EntityBase
{
}
}
| mengxinjinglong/Mermaid.Loft | Mermaid.Loft.Infrastructure/DomainBase/EntityBase.cs | C# | apache-2.0 | 214 |
package pl.wavesoftware.examples.wildflyswarm.service.api;
import pl.wavesoftware.examples.wildflyswarm.domain.User;
import java.util.Collection;
/**
* @author Krzysztof Suszynski <krzysztof.suszynski@coi.gov.pl>
* @since 04.03.16
*/
public interface UserService {
/**
* Retrieves a collection of active u... | cardil/cdi-inheritance-wildfly-swarm | src/main/java/pl/wavesoftware/examples/wildflyswarm/service/api/UserService.java | Java | apache-2.0 | 427 |
#!/bin/bash
# Copyright 2016 - 2020 Crunchy Data Solutions, 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 applicabl... | the1forte/crunchy-containers | examples/docker/custom-config-ssl/run.sh | Shell | apache-2.0 | 2,347 |
<?php
/**
* Copyright (c) <2016> Protobile contributors and Addvilz <mrtreinis@gmail.com>.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* U... | protobile/framework | src/Protobile/Framework/CompilerPass/RegisterOutputPass.php | PHP | apache-2.0 | 1,123 |
/*
* #%L
* =====================================================
* _____ _ ____ _ _ _ _
* |_ _|_ __ _ _ ___| |_ / __ \| | | | ___ | | | |
* | | | '__| | | / __| __|/ / _` | |_| |/ __|| |_| |
* | | | | | |_| \__ \ |_| | (_| | _ |\__ \| _ |
* |_| |_| \__,_|___/... | trustathsh/ifmapj | src/main/java/de/hshannover/f4/trust/ifmapj/messages/PollResultImpl.java | Java | apache-2.0 | 3,270 |
---
layout: default
---
What’s wrong with SOAP
======================
Many things.
Brittle
-------
Pretty much every change you might make to an interface is a breaking change for a SOAP client. Want to add a new parameter to a returned object - breaking change. Want to add a new optional parameter to a call - break... | betfair/cougar-documentation | whats-wrong-with-soap.md | Markdown | apache-2.0 | 1,853 |
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorator="fragments/layout">
<body>
<form method="post" enctype="multipart/form-data" class="form-horizontal">
<fieldset>
<legend th:text="#{nav.role}">File</legend>
... | przodownikR1/imageMicroService | src/main/resources/templates/upload/upload.html | HTML | apache-2.0 | 1,566 |
/*
* 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-resourcemanager | proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/UpdateFolderRequest.java | Java | apache-2.0 | 34,397 |
//
// XABCheckJobViewController.h
// XAnBao
//
// Created by Minlay on 17/3/29.
// Copyright © 2017年 Minlay. All rights reserved.
//
#import "YBBaseViewController.h"
@interface XABCheckJobViewController : YBBaseViewController
@property(nonatomic, copy)NSString *classId;
@property(nonatomic, assign)NSInteger type;... | NerveTeam/XAnbao | XAnBao/XAnBao/Controller/Class/XABCheckJobViewController.h | C | apache-2.0 | 376 |
package com.lyubenblagoev.postfixrest.service;
import com.lyubenblagoev.postfixrest.entity.User;
import com.lyubenblagoev.postfixrest.security.JwtTokenProvider;
import com.lyubenblagoev.postfixrest.security.RefreshTokenProvider;
import com.lyubenblagoev.postfixrest.security.UserPrincipal;
import com.lyubenblagoev.post... | lyubenblagoev/postfix-rest-server | src/main/java/com/lyubenblagoev/postfixrest/service/AuthServiceImpl.java | Java | apache-2.0 | 1,809 |
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Checkbox field. Checked or not checked.
* @author fraser@google.com (Neil Fraser)
*/
'use strict';
goog.provide('Blockly.FieldCheckbox');
/** @suppress {extraRequire} */
goog.require('Blockly.Events.BlockC... | mark-friedman/blockly | core/field_checkbox.js | JavaScript | apache-2.0 | 6,315 |
package task03.pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.ExpectedConditions;
public class TicketSelectionPage extends Page {
public TicketSelectionPage(PageManager pages) {
super(pages);
}
@FindBy(xpath = ".//*... | RihnKornak/TestTasks | src/test/java/task03/pages/TicketSelectionPage.java | Java | apache-2.0 | 945 |
using System.Collections;
using System.Collections.Generic;
namespace Basic.Ast
{
public class ParameterList : IEnumerable<Parameter>
{
private readonly List<Parameter> parameters;
public ParameterList()
{
parameters = new List<Parameter>();
}
public Metho... | robertsundstrom/vb-lite-compiler | basc/Ast/ParameterList.cs | C# | apache-2.0 | 1,481 |
# at-rule-name-case
Specify lowercase or uppercase for at-rules names.
<!-- prettier-ignore -->
```css
@media (min-width: 10px) {}
/** ↑
* This at-rule name */
```
Only lowercase at-rule names are valid in SCSS.
The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix some of the ... | kyleterry/sufr | pkg/ui/node_modules/stylelint/lib/rules/at-rule-name-case/README.md | Markdown | apache-2.0 | 1,601 |
/*
Copyright [2011] [Prasad Balan]
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 ... | ryanco/x12-parser | src/main/java/com/yarsquidy/x12/X12Parser.java | Java | apache-2.0 | 7,028 |
#!/bin/sh
./fingerprints ethernet-bus-reconnect.csv ethernet-hub-reconnect.csv ethernet-hub.csv ethernet-switch.csv ethernet-twohosts.csv examples.csv multi.csv $*
| StarStuffSteve/masters-research-project | Simulation/OMNeT++/inet/tests/fingerprint/runDefaultTests.sh | Shell | apache-2.0 | 164 |
package com.chenantao.autolayout.utils;
import android.view.ViewGroup;
/**
* Created by Chenantao_gg on 2016/1/20.
*/
public class AutoLayoutGenerate
{
public static <T extends ViewGroup> T generate(Class<T> clazz, Class[] argumentTypes, Object[]
arguments)
{
// Enhancer enhancer = new Enhancer();... | Chenantao/PlayTogether | AutoLayout/src/main/java/com/chenantao/autolayout/utils/AutoLayoutGenerate.java | Java | apache-2.0 | 3,353 |
# Copyright 2022 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0
from django.test.utils import override_settings
from sis_provisioner.tests import (
fdao_pws_override, fdao_hrp_override, fdao_bridge_override)
from sis_provisioner.tests.account_managers import set_uw_account
user_file_name_ov... | uw-it-aca/bridge-sis-provisioner | sis_provisioner/tests/csv/__init__.py | Python | apache-2.0 | 784 |
package com.petercipov.mobi.deployer;
import com.petercipov.mobi.Instance;
import com.petercipov.traces.api.Trace;
import java.util.Optional;
import rx.Observable;
/**
*
* @author Peter Cipov
*/
public abstract class RxDeployment {
protected Optional<String> name;
public RxDeployment() {
this.name = Option... | petercipov/mobi | deployer/src/main/java/com/petercipov/mobi/deployer/RxDeployment.java | Java | apache-2.0 | 7,654 |
//
// DFShortVideoMessageContent.h
// MongoIM
//
// Created by Allen Zhong on 16/2/14.
// Copyright © 2016年 MongoIM. All rights reserved.
//
#import "DFMediaMessageContent.h"
#import <UIKit/UIKit.h>
#import "DFVideoDecoder.h"
@interface DFShortVideoMessageContent : DFMediaMessageContent
@property (nonatomic, str... | anyunzhong/MongoIM-iOS | MongoIM/MongoIM/Core/Model/Content/Media/DFShortVideoMessageContent.h | C | apache-2.0 | 504 |
/*
* Copyright 2015 Torridity.
*
* 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... | Akeshihiro/dsworkbench | Core/src/main/java/de/tor/tribes/ui/models/RETSourceTableModel.java | Java | apache-2.0 | 2,442 |
package com.zk.web.interceptor;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
impor... | wqintel/zookeeper-web | src/main/java/com/zk/web/interceptor/CustomizedHandlerExceptionResolver.java | Java | apache-2.0 | 2,187 |
/**
* 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, ... | geronimo-iia/dowsers | dowsers-core/src/main/java/org/intelligentsia/dowsers/core/serializers/jackson/ClassInformationDeserializer.java | Java | apache-2.0 | 2,180 |
package org.jboss.resteasy.reactive.server.vertx.test;
import static org.junit.jupiter.api.Assertions.fail;
import io.smallrye.common.annotation.Blocking;
import io.smallrye.common.annotation.NonBlocking;
import java.util.function.Supplier;
import javax.enterprise.inject.spi.DeploymentException;
import javax.ws.rs.Pa... | quarkusio/quarkus | independent-projects/resteasy-reactive/server/vertx/src/test/java/org/jboss/resteasy/reactive/server/vertx/test/BothBlockingAndNonBlockingOnClassTest.java | Java | apache-2.0 | 1,351 |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double Pods_CommuneUITestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_CommuneUITestsVersionString[];
| paulrevere4/commune | ios/Commune/Pods/Target Support Files/Pods-CommuneUITests/Pods-CommuneUITests-umbrella.h | C | apache-2.0 | 183 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (1.8.0_111) on Mon Oct 22 12:02:26 CST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>程序包 com.dtstack.jlogstash.f... | DTStack/jlogstash | pipeline/outputs/hdfs/jlogstash-java-docs/com/dtstack/jlogstash/format/package-use.html | HTML | apache-2.0 | 8,214 |
/*
* *
* * Copyright (C) 2015 Orange
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* * http://www.apache.org/licenses/LICENSE-2.0
* * Unless required by applicable law or a... | Orange-OpenSource/static-creds-broker | src/test/java/com/orange/servicebroker/staticcreds/stories/support_route_services/ConfigureServiceBrokerWithRouteServiceTest.java | Java | apache-2.0 | 6,730 |
# Parodia elata F.H.Brandt SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Cactaceae/Parodia/Parodia elata/README.md | Markdown | apache-2.0 | 174 |
/*
* Copyright 2018 Sebastien Callier
*
* 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 t... | S-Callier/serialization | src/main/java/sebastien/callier/serialization/codec/extendable/object/field/primitives/ByteFieldCodec.java | Java | apache-2.0 | 2,341 |
import eventlet
import gettext
import sys
from staccato.common import config
import staccato.openstack.common.wsgi as os_wsgi
import staccato.openstack.common.pastedeploy as os_pastedeploy
# Monkey patch socket and time
eventlet.patcher.monkey_patch(all=False, socket=True, time=True)
gettext.install('staccato', unic... | buzztroll/staccato | staccato/cmd/api.py | Python | apache-2.0 | 899 |
<?php
exec('"' . __DIR__ . '/vendor/bin/phinx" rollback -t=0');
exec('"' . __DIR__ . '/vendor/bin/phinx" migrate');
exec('"' . __DIR__ . '/vendor/bin/phinx" seed:run');
?> | Manoel-Matias-bls/son-financas | migrate_seed.php | PHP | apache-2.0 | 172 |
using System;
using System.Drawing;
using NetTopologySuite.Geometries;
namespace SharpMap
{
/// <summary>
/// Utility class that checks Viewport min/max Zoom and constraint
/// </summary>
[Serializable]
public class MapViewPortGuard
{
private double _minimumZoom;
private double... | ShammyLevva/FTAnalyzer | SharpMap/Map/MapViewportGuard.cs | C# | apache-2.0 | 7,759 |
//
// Copyright 2011 ODIN Working Group. 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... | MyMalcom/malcom-lib-ios | Libraries/source/lib/External/ODIN/MCMODIN.h | C | apache-2.0 | 683 |
/*
* Copyright 2010-2015 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" file... | kahkeng/aws-sdk-cpp | aws-cpp-sdk-ec2/source/model/DescribeNetworkInterfacesResponse.cpp | C++ | apache-2.0 | 2,358 |
package com.noeasy.money.exception;
public class UserErrorMetadata extends BaseErrorMetadata {
public static final UserErrorMetadata USER_EXIST = new UserErrorMetadata(101, "User exit");
public static final UserErrorMetadata NULL_USER_BEAN = new UserErrorMetadata(102, "Userbean is null");
protected... | DormitoryTeam/Dormitory | src/main/java/com/noeasy/money/exception/UserErrorMetadata.java | Java | apache-2.0 | 428 |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 appli... | ONLYOFFICE/CommunityServer | web/studio/ASC.Web.Studio/UserControls/Management/NamingPeopleSettings/js/namingpeoplecontent.js | JavaScript | apache-2.0 | 3,300 |
#!/usr/bin/env python
# Use Netmiko to execute 'show arp' on pynet-rtr1, pynet-rtr2, and juniper-srx.
from netmiko import ConnectHandler
def main():
# Definition of routers
rtr1 = {
'device_type': 'cisco_ios',
'ip': '50.76.53.27',
'username': 'pyclass',
'password': '88newcl... | dprzybyla/python-ansible | week4/netmiko_sh_arp.py | Python | apache-2.0 | 1,128 |
// Fill out your copyright notice in the Description page of Project Settings.
#include "Projectile.h"
// Sets default values
AProjectile::AProjectile()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
Project... | Tacticalmint/04_BattleTank | BattleTank/Source/BattleTank/Private/Projectile.cpp | C++ | apache-2.0 | 826 |
""" IO classes for Omnivor input file
Copyright (C) 2013 DTU Wind Energy
Author: Emmanuel Branlard
Email: ebra@dtu.dk
Last revision: 25/11/2013
Namelist IO: badis functions to read and parse a fortran file into python dictonary and write it back to a file
The parser was adapted from: fortran-namelist on code.google... | DTUWindEnergy/Python4WindEnergy | py4we/fortran_namelist_io.py | Python | apache-2.0 | 8,294 |
/*!
* Cube Portfolio - Responsive jQuery Grid Plugin
*
* version: 4.1.1-dev (6 April, 2017)
* require: jQuery v1.7+
*
* Copyright 2013-2017, Mihai Buricea (http://scriptpie.com/cubeportfolio/live-preview/)
* Licensed under CodeCanyon License (http://codecanyon.net/licenses)
*
*/
.cbp,
.cbp *,
.cbp-l-filters-a... | ikehawk10/ikehawk10.github.io | contents/portfolio/css/cubeportfolio.css | CSS | apache-2.0 | 97,787 |
#include "stdafx.h"
#include "NET_Common.h"
#include "net_client.h"
#include "net_server.h"
#include "net_messages.h"
#include "NET_Log.h"
#include "../xr_3da/xrGame/battleye.h"
#pragma warning(push)
#pragma warning(disable:4995)
#include <malloc.h>
#include "dxerr.h"
//#pragma warning(pop)
static INetLog* pClNetLog ... | OLR-xray/OLR-3.0 | src/xray/xrNetServer/NET_Client.cpp | C++ | apache-2.0 | 30,074 |
# IOSStudyResource
IOS学习资源整理,不定期的更新
#完整的IOS项目,具有很大的教学意义
1.https://github.com/JakeLin/SwiftWeather 一天swift版本的天气项目
2.https://github.com/xushao1990/XTNews 仿网易新闻的app,里面介绍了一些比较好的库
3.https://github.com/12207480/KnowingLife 基于天气,查询,团购,新闻类查询应用
#Xcode中不错的插件
1.https://github.com/limejelly/Backlight-for-XCode 高亮当前正在编辑的一行
2.... | hongchenxi/IOSStudyResource | README.md | Markdown | apache-2.0 | 4,774 |
/*******************************************************************************
* Copyright (c) 2015-2019 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | deeplearning4j/deeplearning4j | deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/weights/embeddings/WeightInitEmbedding.java | Java | apache-2.0 | 3,970 |
# coding=utf-8
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# Copyright (c) 2012 NTT DOCOMO, INC.
# Copyright 2014 International Business Machines Corporation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance ... | Tan0/ironic | ironic/drivers/modules/ipmitool.py | Python | apache-2.0 | 44,249 |
# Allium rudbaricum Boiss. & Buhse 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/Liliopsida/Asparagales/Amaryllidaceae/Allium/Allium erubescens/ Syn. Allium rudbaricum/README.md | Markdown | apache-2.0 | 189 |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | droolsjbpm/drools | kie-dmn/kie-dmn-openapi/src/main/java/org/kie/dmn/openapi/impl/DMNTypeSchemas.java | Java | apache-2.0 | 5,225 |
Link analysis between john boards, dating websites, and prostitution websites to find serial/high frequency buyers. How it would work:
Comparison of writing style across websites. There are a number of ways to tell if an author is the same across many mediums. Some parts of a writers signature will vary with contex... | EricSchles/link_analyzer | documentation.md | Markdown | apache-2.0 | 3,043 |
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>My Website, improved<... | dmourmouras/website | index.html | HTML | apache-2.0 | 5,152 |
<html>
<head>
<title>Inserir Veiculos</title>
<link rel="stylesheet" href="estilo.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="JavaScript" type="text/javascript" src="..\MascaraValidacao.js"></script>
<script>
function busca(){
document.f... | danilohenriqueandrade/AtividadeFinal | home/Veiculos/InserirVeiculo2.php | PHP | apache-2.0 | 3,283 |
/*
* Copyright 2018 OPS4J Contributors
*
* 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 ... | hwellmann/org.ops4j.kaiserkai | kaiserkai-itest/src/test/java/org/ops4j/kaiserkai/rest/LocalAuthSupplier.java | Java | apache-2.0 | 1,497 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.