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 |
|---|---|---|---|---|---|
---
external help file: Microsoft.Azure.Commands.Compute.dll-Help.xml
Module Name: AzureRM.Compute
ms.assetid: 7311F66C-3370-4436-8030-6D98D42C3112
online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.compute/get-azurermvmimagepublisher
schema: 2.0.0
---
# Get-AzureRmVMImagePublisher
## SYNOPSIS... | devigned/azure-powershell | src/ResourceManager/Compute/Commands.Compute/help/Get-AzureRmVMImagePublisher.md | Markdown | apache-2.0 | 2,067 |
package Google::Ads::AdWords::v201406::IdeaType;
use strict;
use warnings;
sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201406'};
# derivation by restriction
use base qw(
SOAP::WSDL::XSD::Typelib::Builtin::string);
1;
__END__
=pod
=head1 NAME
=head1 DESCRIPTION
Perl data type class for the... | gitpan/GOOGLE-ADWORDS-PERL-CLIENT | lib/Google/Ads/AdWords/v201406/IdeaType.pm | Perl | apache-2.0 | 1,150 |
/* @internal */
namespace ts.textChanges {
/**
* Currently for simplicity we store recovered positions on the node itself.
* It can be changed to side-table later if we decide that current design is too invasive.
*/
function getPos(n: TextRange): number {
const result = (<any>n).... | SaschaNaz/TypeScript | src/services/textChanges.ts | TypeScript | apache-2.0 | 66,473 |
#region
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Tabster.Core.Types;
using Tabster.Update;
#endregion
namespace Tabster.Plugins
{
internal class FeaturedPlugin
{
[JsonProperty("name")]
public string Name { get; private set; }
[JsonProperty("author... | GetTabster/Tabster | Tabster/Plugins/FeaturedPluginsResponse.cs | C# | apache-2.0 | 981 |
/* update - do sync periodically Author: Andy Tanenbaum */
#include <sys/types.h>
#include <signal.h>
#include <unistd.h>
int main(void);
int main()
{
/* Release all (?) open file descriptors. */
close(0);
close(1);
close(2);
/* Release current directory to avoid locking current device. */
chdir("/");
... | veritas-shine/minix3-rpi | minix/commands/update/update.c | C | apache-2.0 | 404 |
package com.ctrip.zeus.executor.impl;
import com.ctrip.zeus.executor.TaskExecutor;
import com.ctrip.zeus.executor.TaskWorker;
import com.ctrip.zeus.server.LocalInfoPack;
import com.ctrip.zeus.service.build.ConfigHandler;
import com.ctrip.zeus.service.tools.local.LocalInfoService;
import org.slf4j.Logger;
impor... | sdgdsffdsfff/zeus | slb/src/main/java/com/ctrip/zeus/executor/impl/TaskWorkerImpl.java | Java | apache-2.0 | 1,596 |
@(branch: String,
repository: gitbucket.core.service.RepositoryService.RepositoryInfo,
pathList: List[String],
groupNames: List[String],
latestCommit: gitbucket.core.util.JGitUtil.CommitInfo,
files: List[gitbucket.core.util.JGitUtil.FileInfo],
readme: Option[(List[String], String)],
hasWritePermission: Bo... | hilerchyn/gitbucket | src/main/twirl/gitbucket/core/repo/files.scala.html | HTML | apache-2.0 | 6,599 |
/*
* Copyright [2005] [University Corporation for Advanced Internet Development, 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... | danpal/OpenSAML | src/main/java/org/opensaml/saml2/core/impl/ArtifactImpl.java | Java | apache-2.0 | 1,930 |
package com.plugin.internet.core.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface HttpMethod {
String val... | xstd/quick_setting | src_lib/mcuslib/src/com/plugin/internet/core/annotations/HttpMethod.java | Java | apache-2.0 | 339 |
#include "fast_float/fast_float.h"
#include <iostream>
#include <vector>
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(sun) || defined(__sun)
// Anything at all that is related to cygwin, msys and so forth will
// always use this fallback because we cannot rely on it behaving as n... | sparkprime/jsonnet | third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/ext/fast_float/tests/string_test.cpp | C++ | apache-2.0 | 19,354 |
/*-
* BSD LICENSE
*
* Copyright 2015 6WIND S.A.
* Copyright 2015 Mellanox.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright... | dimagol/trex-core | src/dpdk/drivers/net/mlx5/mlx5_trigger.c | C | apache-2.0 | 10,385 |
/**
* 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"... | OpenBEL/kam-nav | tools/groovy/src/src/test/org/codehaus/groovy/antlr/treewalker/UnimplementedSyntaxTest.java | Java | apache-2.0 | 11,146 |
/*
* Copyright (c) 2008-2018 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... | cuba-platform/cuba | modules/gui/src/com/haulmont/cuba/gui/components/ActionsHolder.java | Java | apache-2.0 | 2,112 |
// https://jestjs.io/docs/en/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom
Object.defineProperty(window, 'matchMedia', {
writable: true,
value: jest.fn().mockImplementation(query => ({
matches: false,
media: query,
onchange: null,
addListener: jest.fn(), // depr... | vector-im/vector-web | test/jest-mocks.js | JavaScript | apache-2.0 | 500 |
#!/usr/bin/env python
"""HTTP API logic that ties API call renderers with HTTP routes."""
import json
from django import http
from werkzeug import exceptions as werkzeug_exceptions
from werkzeug import routing
import logging
from grr.gui import api_call_renderers
from grr.lib import access_control
from grr.lib i... | ksmaheshkumar/grr | gui/http_api.py | Python | apache-2.0 | 9,614 |
package hex;
import water.fvec.Frame;
import water.util.TwoDimTable;
public class ModelMetricsBinomialGeneric extends ModelMetricsBinomial {
public final TwoDimTable _gainsLiftTable;
public final TwoDimTable _thresholds_and_metric_scores;
public final TwoDimTable _max_criteria_and_metric_scores;
public final... | h2oai/h2o-3 | h2o-core/src/main/java/hex/ModelMetricsBinomialGeneric.java | Java | apache-2.0 | 1,373 |
/****************************************************************************
Copyright 2004, Colorado School of Mines and others.
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.apac... | chrisengelsma/jtk | core/src/test/java/edu/mines/jtk/dsp/Real1Test.java | Java | apache-2.0 | 2,505 |
// filter: unchecked
package p;
public class A {
public static interface I {
public I w();
}
public static interface J<R extends J<R>> extends I {
@Override public R w();
}
public static interface K extends I {
@Override public K w();
public default String mK() { return "K"; }
}
/* p... | scala/scala | test/files/run/t12380/A.java | Java | apache-2.0 | 610 |
/*
* 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 ma... | apache/openwebbeans | samples/guess/src/main/java/org/apache/webbeans/sample/bean/AppObject.java | Java | apache-2.0 | 956 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("No... | shanalikhan/NopCommerce_POS | Plugins/Nop.Plugin.Misc.PointOfSale/Properties/AssemblyInfo.cs | C# | apache-2.0 | 1,430 |
# Makefile - dtls server that is used in testing
#
# Copyright (c) 2015 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#... | mirzak/zephyr-os | samples/net/dtls_server/Makefile | Makefile | apache-2.0 | 954 |
<?php
/*******************************************************************************
* Copyright 2009-2016 Amazon Services. 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 ... | enkay83/mws | src/FBAOutboundServiceMWS/Model/ListAllFulfillmentOrdersResult.php | PHP | apache-2.0 | 3,796 |
/*
* Copyright 2015-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 "l... | rafd123/aws-sdk-net | sdk/src/Services/MobileAnalytics/Custom/Event/IEvent.cs | C# | apache-2.0 | 7,605 |
# Author:: Christian Vozar (<christian@rogueethic.com>)
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
... | mattray/ohai | lib/ohai/plugins/go.rb | Ruby | apache-2.0 | 1,073 |
/*
* 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 ... | objectiser/camel | core/camel-core-engine/src/main/java/org/apache/camel/impl/cluster/ClusteredRouteFilter.java | Java | apache-2.0 | 1,325 |
<!doctype html>
<html class="theme-next pisces use-motion" lang="zh-Hans">
<head>
<script type="text/javascript">
var _speedMark = new Date();
</script>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, m... | rockjins/rockjins.github.io | categories/Translation/page/2/index.html | HTML | apache-2.0 | 33,300 |
# Copyright (C) 2014-2016 MongoDB, 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 ... | brandonblack/mongo-ruby-driver | lib/mongo/server/description.rb | Ruby | apache-2.0 | 15,715 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | nterry/aws-sdk-java | aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/transform/FunctionCodeLocationJsonUnmarshaller.java | Java | apache-2.0 | 3,166 |
// 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... | shakamunyi/mesos | src/slave/flags.hpp | C++ | apache-2.0 | 6,732 |
/*
* 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-waf-regional/include/aws/waf-regional/model/CreateRuleGroupResult.h | C | apache-2.0 | 4,712 |
/***************************************************************************
*
* This is an internal header file used to implement the C++ Standard
* Library. It should never be #included directly by a program.
*
* $Id$
*
***************************************************************************
*
* Licensed ... | pathscale/stdcxx | include/rw/_meta_help.h | C | apache-2.0 | 2,340 |
/*******************************************************************************
* Copyright (c) 2013 IBM Corp.
*
* 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... | jbajwa/acmeair-driver | acmeair-jmeter/src/main/java/com/acmeair/jmeter/functions/FlightsPostProcessor.java | Java | apache-2.0 | 6,691 |
from cloudify.workflows import ctx, parameters
ctx.logger.info(parameters.node_id)
instance = [n for n in ctx.node_instances
if n.node_id == parameters.node_id][0]
for relationship in instance.relationships:
relationship.execute_source_operation('custom_lifecycle.custom_operation')
| cloudify-cosmo/cloudify-manager | tests/integration_tests/resources/dsl/deployment_update/modify_relationship_operation/modification/custom_workflow.py | Python | apache-2.0 | 304 |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Net;
namespace NuGet
{
public interface IHttpClient : IHttpClientEvents
{
string UserAgent
{
get;
set;
}
Uri Uri
{
get;
}
Uri Origina... | aaasoft/NuGet.Server | src/Core/Http/IHttpClient.cs | C# | apache-2.0 | 716 |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddFieldsPacienteTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('paciente', function(Blueprint $table) {
$table->string('sexo', 1)->nullabl... | andersonfraga/pucrs_prescricoes | database/migrations/2015_05_12_163527_add_fields_paciente_table.php | PHP | apache-2.0 | 683 |
package lia.advsearching;
/**
* Copyright Manning Publications Co.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | sluk3r/lia2e_study | src/lia/advsearching/BooksLikeThis.java | Java | apache-2.0 | 4,047 |
=begin
Copyright 2010-2012 Tasos Laskos <tasos.laskos@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 requi... | winny19/entersoft-scanner | lib/arachni/ui/web/scheduler.rb | Ruby | apache-2.0 | 4,089 |
# 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 or a... | lucemia/gcloud-python | gcloud/datastore/test_query.py | Python | apache-2.0 | 25,434 |
/**
* 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... | beysims/reef | lang/java/reef-common/src/main/java/org/apache/reef/runtime/common/evaluator/context/ContextManager.java | Java | apache-2.0 | 13,862 |
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | ebfull/rust | src/test/run-pass/macro-crate-use.rs | Rust | apache-2.0 | 723 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image3', 'cy', {
alt: 'Testun Amgen',
btnUpload: 'Anfon i\'r Gweinydd',
captioned: 'Delwedd â phennawd',
captionPlaceholder: 'Caption', // MISSING... | thexerteproject/xerteonlinetoolkits | editor/js/vendor/ckeditor/plugins/image3/lang/cy.js | JavaScript | apache-2.0 | 697 |
/*
* Copyright (C) 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Test-Betta-Inc/musical-umbrella | sdk/src/main/java/com/google/cloud/dataflow/sdk/options/CloudDebuggerOptions.java | Java | apache-2.0 | 1,158 |
/*
Copyright 2017-present the Material Components for iOS authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... | ilap/MaterialComponentsXamarin | references/MaterialComponents.framework/Headers/MDCTextInputControllerOutlinedTextArea.h | C | apache-2.0 | 1,563 |
---
author: laurenta
tags: []
layout: post
slug: demonstration-torche-plasma
date: 2016-04-17
title: "Démonstration torche plasma"
comments: True
---
L'achat d'une torche plasma est budgété et va être finalisé.

Le support qui va l'accueillir avec sa CNC est déjà en pl... | colvert/colvert.github.io | _posts/2016-04-17-demonstration-torche-plasma.md | Markdown | apache-2.0 | 568 |
/*
* Copyright 2000-2014 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... | michaelgallacher/intellij-community | python/src/com/jetbrains/python/inspections/quickfix/CompatibilityPrintCallQuickFix.java | Java | apache-2.0 | 2,690 |
/*
Copyright (c) 2004-2006 Tomas Matousek and Ladislav Prosek.
The use and distribution terms for this software are contained in the file named License.txt,
which can be found in the root of the Phalanger distribution. By using this software
in any fashion, you are agreeing to be bound by the terms of t... | DEVSENSE/Phalanger | Source/Core/ScriptContext.cs | C# | apache-2.0 | 120,766 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | vfonov/ITK | Modules/ThirdParty/HDF5/src/itkhdf5/src/H5RS.c | C | apache-2.0 | 14,230 |
package org.java_websocket.framing;
import org.java_websocket.exceptions.InvalidDataException;
import org.java_websocket.exceptions.InvalidFrameException;
import org.java_websocket.util.Charsetfunctions;
import java.nio.ByteBuffer;
public class CloseFrameBuilder extends FramedataImpl1 implements CloseFrame {
/**
... | cping/RipplePower | eclipse/jcoinlibs/src/org/java_websocket/framing/CloseFrameBuilder.java | Java | apache-2.0 | 4,123 |
/**
* Copyright 2011-2019 Asakusa Framework Team.
*
* 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... | akirakw/asakusafw | workflow/executor/src/main/java/com/asakusafw/workflow/executor/basic/BasicJobflowExecutor.java | Java | apache-2.0 | 5,357 |
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<table border="1">
<tr>
<td style="vertical-align:top">
<img src="../image/table1.png" width="500.0" height="273.51097178683386" style="vertical-align:top"/>
</td>
<td width="500.0" style="vertical-align:top">
... | ContentMine/cm-ucl | corpus-oa-pmr/10.1007_s00213-016-4471-y/pdftable/doubleTable1.html | HTML | apache-2.0 | 224,004 |
/*
* 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-vision/v1p2beta1/1.27.0/com/google/api/services/vision/v1p2beta1/model/GoogleCloudVisionV1p3beta1AnnotateFileResponse.java | Java | apache-2.0 | 4,017 |
namespace GreenPipes.BenchmarkConsole
{
using System;
using Internals.Extensions;
/// <summary>
/// Stores a single scope data value
/// </summary>
/// <typeparam name="TPayload"></typeparam>
public class PayloadValue<TPayload> :
IPayloadValue<TPayload>
where TPayload : cla... | MassTransit/GreenPipes | tests/GreenPipes.BenchmarkConsole/PayloadValue.cs | C# | apache-2.0 | 1,005 |
import { Nullable } from "babylonjs/types";
import { Vector3 } from "babylonjs/Maths/math.vector";
import { Color3 } from 'babylonjs/Maths/math.color';
import { DirectionalLight } from "babylonjs/Lights/directionalLight";
import { PointLight } from "babylonjs/Lights/pointLight";
import { SpotLight } from "babylonjs/Lig... | NicolasBuecher/Babylon.js | loaders/src/glTF/2.0/Extensions/KHR_lights_punctual.ts | TypeScript | apache-2.0 | 4,565 |
<!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_21) on Fri Dec 02 11:53:58 IST 2011 -->
<TITLE>
Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine
</TITLE>
<META... | invient-cp/InvientCharts | doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotLine.html | HTML | apache-2.0 | 11,599 |
/**
* Copyright 2015 LinkedIn Corp. 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 applica... | alyiwang/WhereHows | wherehows-frontend/app/security/DummyLoginModule.java | Java | apache-2.0 | 1,354 |
package aQute.bnd.osgi.repository;
import static java.util.Objects.requireNonNull;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.file.Path;
import java.util.Collection;
import java.util.LinkedHashSet;
import java.... | psoreide/bnd | biz.aQute.bndlib/src/aQute/bnd/osgi/repository/SimpleIndexer.java | Java | apache-2.0 | 5,990 |
{% extends 'example/base.html' %}
{% block title %} 搜索结果页面 {% endblock %}
{% block contents %}
{% load staticfiles %}
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-lg-9">
<h2>搜索结果</h2>
<ol class="breadcrumb">
... | chenqi123/ipaas | example/templates/search_results.html | HTML | apache-2.0 | 8,070 |
/*
* Copyright (c) 2017, 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.or... | nirmal070125/product-bam | modules/components/org.wso2.carbon.event.simulator.core/src/main/java/org/wso2/eventsimulator/core/simulator/randomdatafeedsimulation/bean/PrimitiveBasedAttribute.java | Java | apache-2.0 | 2,502 |
package awsutil
import (
"fmt"
"os"
"sort"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/arn"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sts"
"path"
)
type sessionResult struct {
accountName string
accountId string
awsSession *session.Session
regions ... | Symantec/Dominator | lib/awsutil/credentials.go | GO | apache-2.0 | 4,428 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>nested_attributes.rb</title>
<meta http-equiv="Content-Type" cont... | l33z3r/playme | doc/api/files/__/__/__/__/_rvm/gems/ruby-2_2_2@playme/gems/activerecord-4_2_3/lib/active_record/nested_attributes_rb.html | HTML | apache-2.0 | 3,102 |
/*
* ModeShape (http://www.modeshape.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 agr... | stemig62/modeshape-examples | modeshape-jdk-logging-example/src/test/java/org/modeshape/example/logging/jdk/ModeShapeExampleTest.java | Java | apache-2.0 | 862 |
/*
* Copyright 2015 data Artisans 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
*
* Unless required by applicable law or agreed... | kodizant/flink-training-exercises | src/main/java/com/dataartisans/flinktraining/exercises/datastream_java/utils/TaxiRideSchema.java | Java | apache-2.0 | 1,668 |
/*
* Copyright 2018 ThoughtWorks, 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... | varshavaradarajan/gocd | config/config-api/src/main/java/com/thoughtworks/go/config/PluggableArtifactConfig.java | Java | apache-2.0 | 9,527 |
# 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... | CiscoSystems/avos | openstack_dashboard/dashboards/identity/projects/tables.py | Python | apache-2.0 | 8,769 |
/*************************************************************************************************/
/*!
* \file
*
* \brief Interface to SMP event handler.
*
* Copyright (c) 2010-2018 Arm Ltd. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | c1728p9/mbed-os | features/FEATURE_BLE/targets/TARGET_CORDIO/stack/cordio_stack/ble-host/include/smp_handler.h | C | apache-2.0 | 2,273 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsBarProps.h"
#include ... | sergecodd/FireFox-OS | B2G/gecko/dom/base/nsBarProps.cpp | C++ | apache-2.0 | 8,222 |
/*
* 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 ma... | apache/olingo-odata4 | lib/server-core-ext/src/main/java/org/apache/olingo/server/core/legacy/ProcessorServiceHandler.java | Java | apache-2.0 | 21,114 |
FROM balenalib/armv7hf-alpine:edge-build
LABEL io.balena.device-type="zc702-zynq7"
RUN apk add --update \
less \
nano \
net-tools \
ifupdown \
usbutils \
gnupg \
&& rm -rf /var/cache/apk/*
RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo $'Here are a few details about this Docker image ... | nghiant2710/base-images | balena-base-images/device-base/zc702-zynq7/alpine/edge/build/Dockerfile | Dockerfile | apache-2.0 | 1,020 |
<?php /* Smarty version 2.6.18, created on 2014-08-11 02:15:49
compiled from tpls/lvsecanyin/index.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_var... | royalwang/saivi | cms/smarty/templates_c/%%22/226/22656919%%index.html.php | PHP | apache-2.0 | 6,461 |
//***************************************************
// 文件名(File Name): CancelRCPPresenter.cs
//
// 表(Tables): nothing
//
// 视图(Views): nothing
//
// 作者(Author): 曾翠玲
//
// 日期(Create Date): 2013.1.26
//
// 修改记录(Revision History):
// R1:
// 修改作者:... | leborety/CJia | CJia.PIVASProject/CJia.PIVAS/Presenters/CancelRCPPresenter.cs | C# | apache-2.0 | 4,206 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | SwensenSoftware/im-only-resting | Ior/Properties/Resources.Designer.cs | C# | apache-2.0 | 3,236 |
package com.kcshu.ssdb.tabs;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swt.custom.CTabFolder;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.TreeItem;
import org.nutz.ssdb4j.spi.Cmd;
import org.nutz.ssdb4j.spi.Response;
import com.kcshu.ssdb.Images;
i... | ihaiker/SSDBAdmin | src/main/java/com/kcshu/ssdb/tabs/KeyValueTab.java | Java | apache-2.0 | 2,108 |
/*
* 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 ... | Vansee/RocketMQ | client/src/main/java/org/apache/rocketmq/client/consumer/listener/MessageListenerOrderly.java | Java | apache-2.0 | 1,540 |
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | routexl/graphhopper | core/src/main/java/com/graphhopper/storage/index/LineIntIndex.java | Java | apache-2.0 | 12,466 |
/*
* Copyright 2015 - 2016 Nebula Bay.
*
* 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 ag... | tascape/thx-webservice | src/main/java/com/tascape/qa/th/ws/driver/ResponseUpdater.java | Java | apache-2.0 | 885 |
# Copyright (c) 2012-2016 Seafile Ltd.
import logging
from rest_framework.authentication import SessionAuthentication
from rest_framework.permissions import IsAdminUser
from rest_framework.response import Response
from rest_framework.views import APIView
from rest_framework import status
from django.template.defaultfi... | miurahr/seahub | seahub/api2/endpoints/admin/libraries.py | Python | apache-2.0 | 20,715 |
# frozen_string_literal: true
#
# Author:: Joerg Herzinger <joerg.herzinger@oiml.at>
# Author:: Phil Dibowitz <phil@ipom.com>
# Copyright:: Copyright (c) 2011 GLOBAL 2000/Friends of the Earth Austria
# Copyright:: Copyright (c) 2017 Facebook, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache Li... | chef/ohai | lib/ohai/plugins/linux/lspci.rb | Ruby | apache-2.0 | 2,426 |
define(
//begin v1.x content
{
"LUF_symbol": "F",
"LUF_decimal": ".",
"LUF_group": ","
}
//end v1.x content
); | abssi/poc-tijari | dojoLib/toolkit/dojo/dojo/cldr/nls/de-lu/currency.js | JavaScript | apache-2.0 | 113 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.gecko.sync.config;
import java.io.FileOutputStream;
import java.io.PrintStream;
import org.m... | sergecodd/FireFox-OS | B2G/gecko/mobile/android/base/sync/config/AccountPickler.java | Java | apache-2.0 | 7,466 |
from scrapy.spider import BaseSpider
from scrapy.selector import HtmlXPathSelector
from scrapy.http import Request, HtmlResponse
from scrapy.utils.response import get_base_url
from scrapy.utils.url import urljoin_rfc
from product_spiders.items import Product, ProductLoader
class TigerChefSpider(BaseSpider):
name... | 0--key/lib | portfolio/Python/scrapy/tigerchef/tigerchefspider.py | Python | apache-2.0 | 2,126 |
import unittest
from lib.data_structures.trees.parse_tree import ParseTree
class TestParseTree(unittest.TestCase):
def evaluate(self, expression, result):
parser = ParseTree()
parse_tree = parser.build_parse_tree(expression)
self.assertEqual(parser.evaluate(parse_tree), result)
pr... | anthonynsimon/python-data-structures-algorithms | tests/test_parse_tree.py | Python | apache-2.0 | 686 |
/*
*
* Copyright 2013 Netflix, 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 writin... | Netflix/ribbon | ribbon-httpclient/src/main/java/com/netflix/http4/NFHttpClient.java | Java | apache-2.0 | 11,591 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | begoldsm/azure-sdk-for-node | lib/services/webSiteManagement2/lib/models/resourceMetricValue.js | JavaScript | apache-2.0 | 2,925 |
/** @file
Handle on-disk format and volume structures in UDF/ECMA-167 file systems.
Copyright (C) 2014-2017 Paulo Alcantara <pcacjr@zytor.com>
Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms an... | google/google-ctf | third_party/edk2/MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c | C | apache-2.0 | 88,672 |
*{
margin: 0;
padding: 0;
font-family: 'helvetica neue', helvetica;
}
#sidebar{
background: url("../img/obrnuto.png");
background-size: cover;
padding: 0px;
overflow:auto; //added
-webkit-overflow-scrolling:touch; //added
}
#sidet2{
padding-left: 80px !important;
}
#body {
background: url("../img/index.png")... | Perhpethua/Android-1.1 | www/css/info.css | CSS | apache-2.0 | 3,235 |
package org.springframework.security.oauth.examples.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import or... | ahmadOwais/spring-security-oauth | samples/oauth2/tonr/src/main/java/org/springframework/security/oauth/examples/config/SecurityConfig.java | Java | apache-2.0 | 1,822 |
/*
* 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... | chiaming0914/awe-cpp-sdk | aws-cpp-sdk-s3/source/model/GetBucketLocationRequest.cpp | C++ | apache-2.0 | 1,016 |
import { Nullable, IndicesArray } from "../types";
import { Logger } from "../Misc/logger";
import { ArrayTools } from "../Misc/arrayTools";
import { Vector3, Matrix, Quaternion } from "../Maths/math.vector";
import { TransformNode } from "../Meshes/transformNode";
import { AbstractMesh } from "../Meshes/abstractM... | Kesshi/Babylon.js | src/Physics/physicsImpostor.ts | TypeScript | apache-2.0 | 44,875 |
/*
*
* Hands-On code of the book Introduction to Reliable Distributed Programming
* by Christian Cachin, Rachid Guerraoui and Luis Rodrigues
* Copyright (C) 2005-2011 Luis Rodrigues
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* L... | p158276/vanilladb-comm | src/vanilladbcomm/vanillacomm/protocols/utils/ProcessSet.java | Java | apache-2.0 | 4,742 |
if(CMAKE_VERSION VERSION_GREATER 2.8.7
AND NOT POLICY CMP0045 # XXX ignore warning 'get_target_property() called with non-existent target'
)
include(CMakeExpandImportedTargets)
else()
include(${CMAKE_SOURCE_DIR}/cmake/CMakeExpandImportedTargets.cmake)
endif()
macro(python_platform_test var description srcfile ... | chuckatkins/python-cmake-buildsystem | cmake/PlatformTest.cmake | CMake | apache-2.0 | 4,733 |
package ru.shestakov.start;
import ru.shestakov.models.Shop;
import ru.shestakov.models.Trash;
import ru.shestakov.models.Warehouse;
public class Trade {
public Warehouse[] warehouses = new Warehouse[10];
public Shop[] shops = new Shop[10];
public Trash[] trashes = new Trash[10];
public Warehouse[] ... | savspit/java-a-to-z | Part III. Chapter 3. LSP/TradePart2/src/main/java/ru/shestakov/start/Trade.java | Java | apache-2.0 | 500 |
package com.twitter.finagle.http.service
import org.jboss.netty.channel.local._
import org.jboss.netty.channel._
import org.jboss.netty.bootstrap.ServerBootstrap
import com.twitter.util.TimeConversions._
import com.twitter.util.{Await, Throw, Try}
import com.twitter.finagle.builder.ClientBuilder
import com.twitter.fi... | liamstewart/finagle | finagle-http/src/test/scala/com/twitter/finagle/http/service/ClientTest.scala | Scala | apache-2.0 | 2,769 |
require 'test_helper'
class ScriptLevelTest < ActiveSupport::TestCase
include Rails.application.routes.url_helpers
def setup
@script_level = create(:script_level)
@script_level2 = create(:script_level)
@stage = create(:stage)
@stage2 = create(:stage)
end
test "setup should work" do
assert... | rvarshney/code-dot-org | dashboard/test/models/script_level_test.rb | Ruby | apache-2.0 | 6,628 |
/*
* 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 ... | apache/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/result/ResultPartitionWriter.java | Java | apache-2.0 | 4,756 |
/**
* 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... | linkedin/pinot | pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/SuccessResponse.java | Java | apache-2.0 | 1,056 |
package com.example.contactplusgroup.adapter;
import android.content.Context;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.example.contactplusgroup.common.Comman;
im... | mityung/XERUNG | Andriod/Xerung/Xerung/src/main/java/com/example/contactplusgroup/adapter/AddToContactAdapter.java | Java | apache-2.0 | 3,570 |
package com.example.charmer.moving.utils;
import android.app.Activity;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.Window;
import android.view.Wi... | hellcharmer/REMOVING | app/src/main/java/com/example/charmer/moving/utils/ScreenUtil.java | Java | apache-2.0 | 4,255 |
/**
* Copyright (C) 2012 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... | etirelli/jbpm-form-modeler | jbpm-form-modeler-core/jbpm-form-modeler-service/jbpm-form-modeler-form-editor/src/main/java/org/jbpm/formModeler/components/editor/FieldEditionFormatter.java | Java | apache-2.0 | 3,911 |
/*
* Copyright 2022 ThoughtWorks, 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... | Skarlso/gocd | plugin-infra/go-plugin-access/src/test/java/com/thoughtworks/go/plugin/access/PluginExtensionsAndVersionValidatorImplTest.java | Java | apache-2.0 | 4,591 |
package org.vaadin.viritin.fluency.ui;
public interface FluentAbstractComponentContainer<S extends FluentAbstractComponentContainer<S>>
extends FluentAbstractComponent<S>, FluentComponentContainer<S> {
}
| viritin/viritin | viritin/src/main/java/org/vaadin/viritin/fluency/ui/FluentAbstractComponentContainer.java | Java | apache-2.0 | 214 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.