repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
krousey/test-infra | testgrid/cmd/config/main.go | 2010 | /*
Copyright 2016 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, ... | apache-2.0 |
galaxy-captain/MyHttp | app/src/test/java/org/galaxy/myhttp/ExampleUnitTest.java | 310 | package org.galaxy.myhttp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} | apache-2.0 |
BroQiang/broqiang.github.io | _posts/2017-05-07-Ubuntu-ScreenCaptureSoftware.md | 714 | ---
layout: post
title: 'Ubuntu 下的录屏软件 kazam'
date: '2017-05-07'
header-img: "img/post-bg-unix.jpg"
tags:
- Ubuntu
author: 'Bro Qiang'
---
# Ubuntu 下的录屏软件
软件有很多,不过个人觉得 kazam 用起来最顺手
## 软件安装
```shell
sudo apt-get install kazam
```
## 使用
快捷键 `Alt+F2` 输入 `kazam` 即可打开软件
## 快捷键
-- 开始录 - `Win+R`
-- 暂停 - `Win+P`
... | apache-2.0 |
anakpantai/busus | SIMARSIP/Arsip Keluar/Scanning Keluar Edit.Designer.vb | 12990 | <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Scanning_keluar_Edit
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Bool... | apache-2.0 |
puppetlabs/puppetlabs-netapp | lib/puppet/provider/netapp_lun/cmode.rb | 5287 | require_relative '../netapp_cmode'
Puppet::Type.type(:netapp_lun).provide(:cmode, :parent => Puppet::Provider::NetappCmode) do
@doc = "Manage Netapp Lun creation, modification and deletion. [Family: vserver]"
confine :feature => :posix
defaultfor :feature => :posix
netapp_commands :lunlist => {:api => 'lu... | apache-2.0 |
dimagi/commcare-android | app/unit-tests/src/org/commcare/CommCareTestApp.java | 906 | package org.commcare;
import org.commcare.models.database.UnencryptedHybridFileBackedSqlStorage;
import org.commcare.models.database.UnencryptedHybridFileBackedSqlStorageMock;
import org.javarosa.core.services.storage.Persistable;
/**
* Delegator around CommCareApp allowing the test suite to override logic.
*
* @a... | apache-2.0 |
olebedev/go-tgbot | models/send_photo_link_body.go | 1957 | // Code generated by go-swagger; DO NOT EDIT.
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
strfmt "github.com/go-openapi/strfmt"
"github.com/go-openapi/errors"
"github.com/go-openapi/swag"
"github.com... | apache-2.0 |
leszekuchacz/Leszek-Uchacz | docs/api/com/badlogic/gdx/net/class-use/HttpStatus.html | 7238 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Tue May 14 03:45:04 CEST 2013 -->
<title>Uses of Class com.badlogic.gdx.net.HttpStatus (libgdx API)</title>
<meta name="date" co... | apache-2.0 |
tkao1000/pinot | pinot-core/src/main/java/com/linkedin/pinot/core/startree/OffHeapStarTreeBuilder.java | 28902 | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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
*
* Unle... | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2017.6.1/apidocs/org/wildfly/swarm/batch/jberet/package-frame.html | 970 | <!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 Fri Jun 16 09:55:12 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.batch.jbe... | apache-2.0 |
scvetkovski/web-programming-starter | src/main/webapp/app/directives/iv-simple-table.html | 1267 | <table class="table table-bordered" st-pipe="load" st-table="displayed">
<thead>
<tr ng-if="globalFilter">
<th colspan="{{ columns.length + 1 }}">
<input st-search=""
class="form-control"
placeholder="global search ..."
type="text"/>
</th>
</tr>
<tr ng-if="co... | apache-2.0 |
robinverduijn/gradle | subprojects/signing/src/main/java/org/gradle/plugins/signing/SignOperation.java | 7371 | /*
* Copyright 2011 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... | apache-2.0 |
cloudfoundry/cf-java-client | cloudfoundry-client/src/main/java/org/cloudfoundry/client/v2/spaces/_UpdateSpaceRequest.java | 2193 | /*
* Copyright 2013-2021 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 ap... | apache-2.0 |
fillipegb/toksaude-prototipo | demos/toolbar/fixed-toolbar.html | 4015 | <!DOCTYPE html>
<!--
Copyright 2016 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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by app... | apache-2.0 |
nghiant2710/base-images | balena-base-images/node/orangepi-plus2/debian/bullseye/12.21.0/build/Dockerfile | 2795 | # AUTOGENERATED FILE
FROM balenalib/orangepi-plus2-debian:bullseye-build
ENV NODE_VERSION 12.21.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" ||... | apache-2.0 |
NationalSecurityAgency/ghidra | Ghidra/Debug/Debugger-agent-lldb/src/main/java/agent/lldb/manager/evt/LldbThreadResumedEvent.java | 893 | /* ###
* IP: GHIDRA
*
* 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... | apache-2.0 |
sauloperez/sos | src/bindings/rest/code/src/main/java/org/n52/sos/binding/rest/resources/OptionsRestRequest.java | 1863 | /**
* Copyright (C) 2013
* by 52 North Initiative for Geospatial Open Source Software GmbH
*
* Contact: Andreas Wytzisk
* 52 North Initiative for Geospatial Open Source Software GmbH
* Martin-Luther-King-Weg 24
* 48155 Muenster, Germany
* info@52north.org
*
* This program is free software; you can redistribut... | apache-2.0 |
hotjk/ace | Watcher.Model/Predicate/GreatThan.cs | 429 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Watcher.Model
{
public class GreatThan : IPredicate
{
public string Quantifier
{
get
{
return "great than";
}
... | apache-2.0 |
adligo/tests4j.adligo.org | src/org/adligo/tests4j/system/shared/trials/TrialParamValue.java | 1384 | package org.adligo.tests4j.system.shared.trials;
import org.adligo.tests4j.shared.common.ClassMethods;
import org.adligo.tests4j.shared.xml.I_XML_Builder;
public class TrialParamValue implements I_TrialParamValue {
public static final String TAG_NAME = "value";
public static final String CLASS_NAME = "class";
pu... | apache-2.0 |
tangfeixiong/packstack | packstack/plugins/mysql_001.py | 5760 | """
Installs and configures MySQL
"""
import uuid
import logging
from packstack.installer import validators
from packstack.installer import utils
from packstack.modules.ospluginutils import getManifestTemplate, appendManifestFile
# Controller object will be initialized from main flow
controller = None
# Plugin nam... | apache-2.0 |
meotrics/meotrics | docs/nginxconf.md | 4477 | ```nginx
server {
listen 80;
charset utf-8;
client_max_body_size 128M;
server_name meotrics.com;
return 301 https://$host$request_uri;
}
server {
listen 80;
server_name www.meotrics.com;
return 301 http://meotrics.com$request_uri;
}
server {
listen 443;
server_name www.meotrics.... | apache-2.0 |
prateekpandey14/maya | pkg/algorithm/nodeselect/v1alpha2/select_node.go | 7242 | /*
Copyright 2018 The OpenEBS 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, soft... | apache-2.0 |
opensim-org/opensim-core | OpenSim/Common/PropertyGroup.h | 4388 | #ifndef __PropertyGroup_h__
#define __PropertyGroup_h__
/* -------------------------------------------------------------------------- *
* OpenSim: PropertyGroup.h *
* -------------------------------------------------------------------------- *
* The OpenSim API is a ... | apache-2.0 |
babybunny/rebuildingtogethercaptain | gae/js/app/models/order.js | 317 | define(
['app/models/proto_model'],
function(ProtoModel) {
var Model = ProtoModel.extend({
// matches first part of method name in @remote.method
urlRoot: '/cru_api.order_',
must_be_floats: ['sub_total', 'actual_total'],
});
return Model;
}
);
| apache-2.0 |
kho/mr-cdec | training/utils/optimize_test.cc | 3168 | #include <cassert>
#include <iostream>
#include <sstream>
#include <boost/program_options/variables_map.hpp>
#include "optimize.h"
#include "online_optimizer.h"
#include "sparse_vector.h"
#include "fdict.h"
using namespace std;
double TestOptimizer(BatchOptimizer* opt) {
cerr << "TESTING NON-PERSISTENT OPTIMIZER\n"... | apache-2.0 |
hortonworks/cloudbreak | freeipa/src/main/java/com/sequenceiq/freeipa/entity/util/KerberosTypeConverter.java | 356 | package com.sequenceiq.freeipa.entity.util;
import com.sequenceiq.cloudbreak.converter.DefaultEnumConverter;
import com.sequenceiq.freeipa.api.v1.kerberos.model.KerberosType;
public class KerberosTypeConverter extends DefaultEnumConverter<KerberosType> {
@Override
public KerberosType getDefault() {
r... | apache-2.0 |
martinjbaker/ionic-site | _site/docs/1.0.0-beta.10/api/ionic/service/index.html | 29172 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS.">
<meta name="keywords" content="html5,ja... | apache-2.0 |
ppouliot/puppet-maas | files/scripts/bootstrap_puppet_to_maas.sh | 1017 | #!/usr/bin/env bash
echo "Puppet6 Platform Detection and Installation"
/usr/bin/wget -O - https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_6_agent.sh | /bin/sh
echo "Install R10k and Hiera-Eyaml"
/opt/puppetlabs/puppet/bin/gem install r10k hiera-eyaml
echo "Retrieve Puppetfile from pu... | apache-2.0 |
ymotton/TrelloToExcel | TrelloToExcel/Trello/TextData.cs | 117 | namespace TrelloToExcel.Trello
{
public class TextData
{
public Emoji3 emoji { get; set; }
}
} | apache-2.0 |
plilja/project-euler | problem_16/power_digit_sum.py | 111 | def power_digit_sum(exponent):
power_of_2 = str(2 ** exponent)
return sum([int(x) for x in power_of_2]) | apache-2.0 |
magenta/note-seq | note_seq/constants.py | 2620 | # Copyright 2022 The Magenta 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 ... | apache-2.0 |
GoogleCloudPlatform/PerfKitBenchmarker | perfkitbenchmarker/providers/aws/aws_logs.py | 3293 | # Copyright 2018 PerfKitBenchmarker 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 required by appli... | apache-2.0 |
lyubenblagoev/postfix-rest-server | src/main/java/com/lyubenblagoev/postfixrest/security/CustomUserDetailsService.java | 1026 | package com.lyubenblagoev.postfixrest.security;
import com.lyubenblagoev.postfixrest.entity.User;
import com.lyubenblagoev.postfixrest.repository.UserRepository;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springf... | apache-2.0 |
citrix/terraform-provider-netscaler | vendor/github.com/citrix/adc-nitro-go/resource/config/network/vrid_binding.go | 881 | /*
* Copyright (c) 2021 Citrix Systems, 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 ... | apache-2.0 |
gambol99/kops | cmd/kops/rollingupdatecluster.go | 13554 | /*
Copyright 2016 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, ... | apache-2.0 |
daviddrysdale/python-phonenumbers | python/phonenumbers/data/region_BM.py | 1530 | """Auto-generated file, do not edit by hand. BM metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_BM = PhoneMetadata(id='BM', country_code=1, international_prefix='011',
general_desc=PhoneNumberDesc(national_number_pattern='(?:441|[58]\\d\\d|900)\\d{7}', possible_l... | apache-2.0 |
Shirotobi/oretachi.github.io | _includes/head.html | 1365 | <head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="{{ site.description }}">
<link rel="ca... | apache-2.0 |
osswangxining/dockerfoundry | cn.dockerfoundry.ide.eclipse.server.core/src/cn/dockerfoundry/ide/eclipse/server/core/internal/ServerEventHandler.java | 3808 | /*******************************************************************************
* Copyright (c) 2012, 2015 Pivotal Software, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License,
* Version 2.0 (the "License"); you may not use this ... | apache-2.0 |
resin-io-library/base-images | balena-base-images/dotnet/artik530/debian/buster/6.0-runtime/run/Dockerfile | 2521 | # AUTOGENERATED FILE
FROM balenalib/artik530-debian:buster-run
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 \
... | apache-2.0 |
resin-io-library/base-images | balena-base-images/node/jetson-xavier-nx-devkit-seeed-2mic-hat/fedora/33/14.18.3/build/Dockerfile | 2775 | # AUTOGENERATED FILE
FROM balenalib/jetson-xavier-nx-devkit-seeed-2mic-hat-fedora:33-build
ENV NODE_VERSION 14.18.3
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" ... | apache-2.0 |
cedral/aws-sdk-cpp | aws-cpp-sdk-codecommit/include/aws/codecommit/model/ListTagsForResourceRequest.h | 5662 | /*
* 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... | apache-2.0 |
Flauschbaellchen/florensia-base | forum/inc/languages/espanol/report.lang.php | 755 | <?php
/**
* MyBB 1.6 Spanish Language Pack
* Copyright 2010 MyBB Group, All Rights Reserved
*
* $Id: report.lang.php 5016 2010-08-10 12:32:33Z Anio_pke $
*/
$l['report_post'] = "Reportar mensaje";
$l['report_to_mod'] = "Reporta este mensaje a un moderador";
$l['only_report'] = "Solo debes reportar mens... | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Laboulbeniomycetes/Laboulbeniales/Laboulbeniaceae/Laboulbenia/Laboulbenia neoguineensis/README.md | 191 | # Laboulbenia neoguineensis Speg. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Laboulbenia neoguineensis Speg.
### Remarks
null | apache-2.0 |
gersonkurz/manualisator | manualisator/log4net-1.2.13/doc/release/sdk/log4net.Config.BasicConfigurator.Configure_overload_1.html | 2814 | <html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>BasicConfigurator.Configure Method ()</title>
<xml>
</xml>
<link rel="stylesheet" type="tex... | apache-2.0 |
tensorflow/tfjs-examples | interactive-visualizers/projects/playground/src/environments/environment.ts | 2403 | /**
* @license
* Copyright 2020 Google LLC. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
marmysh/MT5-Liquidity-Indicator | Source/MT5LiquidityIndicator/MT5LiquidityIndicator.Net/Settings/LineSettings.cs | 2168 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace MT5LiquidityIndicator.Net.Settings
{
[DisplayName("Line Settings")]
public class LineSettings
{
#region contruction
public LineSettings()
... | apache-2.0 |
bbilger/jrestless | core/jrestless-core-container/src/test/java/com/jrestless/core/container/JRestlessContainerResponseWriterTest.java | 5472 | /*
* Copyright 2016 Bjoern Bilger
*
* 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... | apache-2.0 |
ray-project/ray | python/ray/autoscaler/kuberay/init-config.sh | 1600 | #!/bin/bash
# Clone pinned Kuberay commit to temporary directory, copy the CRD definitions
# into the autoscaler folder.
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
DIR=$(mktemp -d -t "kuberay-XXXXXX")
pushd "$DIR" || exit
git clone https://github.com/ray-project/kuberay/
... | apache-2.0 |
yangfuhai/jboot | src/main/java/io/jboot/support/metric/annotation/EnableMetricTimer.java | 888 | /**
* Copyright (c) 2015-2022, Michael Yang 杨福海 (fuhai999@gmail.com).
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* ... | apache-2.0 |
efrenpagan/estimadolegislador | jgo.php | 2041 | <?php
header("Content-Type: text/html;charset=utf-8");
$name = $_POST['first_name'];
$email = $_POST['email'];
$message = $_POST['comments'];
$to = "jgo@camaraderepresentantes.org";
$subject = "Estimado Representante";
$body = '
<html>
<head>
<title>Estimado Representante</title>
</head>
<body>
<p><b... | apache-2.0 |
paulpascal/waziup.io | content/documentation/how waziup works/index.fr.md | 422 | ---
date: 2017-03-21T23:55:53Z
title: Comment fonctionne Waziup?
url: /fr/documentation/how-waziup-works/
---
Regardons à l'intérieur de la grande machine.
Dans cette section vous pouvez trouver:
- [L'architecture] (/fr/documentation/how-waziup-works/architecture)
- [Concepts Cloud locaux et globaux] (/fr/documentatio... | apache-2.0 |
fhussonnois/kafkastreams-cep | core/src/main/java/com/github/fhuss/kafka/streams/cep/core/state/internal/Aggregated.java | 2076 | /*
* 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 n... | apache-2.0 |
SAP/openui5 | src/sap.ui.mdc/test/sap/ui/mdc/internal/TableWithFilterBar/delegate/GridTable.delegate.js | 1110 | /*
* ! ${copyright}
*/
sap.ui.define([
"delegates/odata/v4/TableDelegate",
"sap/ui/core/Core"
], function(
TableDelegate,
Core
) {
"use strict";
/**
* Test delegate for OData V4.
*/
var ODataTableDelegate = Object.assign({}, TableDelegate);
/**
* Updates the binding info with the relevant path and mo... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/transform/UpdateMethodResponseRequestMarshaller.java | 3397 | /*
* 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... | apache-2.0 |
allomov/bosh-init | internal/github.com/cloudfoundry/bosh-agent/platform/net/ip/ip_suite_test.go | 271 | package ip_test
import (
. "github.com/cloudfoundry/bosh-init/internal/github.com/onsi/ginkgo"
. "github.com/cloudfoundry/bosh-init/internal/github.com/onsi/gomega"
"testing"
)
func TestPlatform(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Ip Suite")
}
| apache-2.0 |
d-lee/airflow | airflow/operators/sensors.py | 22890 | # -*- coding: utf-8 -*-
#
# 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
... | apache-2.0 |
zombiezen/cardcpx | multiwriter/multiwriter.go | 1627 | /*
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 agreed to ... | apache-2.0 |
GeoKnow/SparqlServiceCatalogue | servicecat-webapp/src/main/java/org/aksw/servicecat/web/api/ServletServiceApi.java | 728 | package org.aksw.servicecat.web.api;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import org.aksw.servicecat.core.ServiceAnalyzerProcessor;
import org.springframework.beans.factory.annotation.Autowired;
@org.springfram... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/transform/AccountDetailMarshaller.java | 2226 | /*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
pujav65/incubator-rya | extras/indexing/src/test/java/org/apache/rya/indexing/external/AccumuloConstantPcjIntegrationTest.java | 14058 | package org.apache.rya.indexing.external;
import java.net.UnknownHostException;
/*
* 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 ... | apache-2.0 |
rodolfograve/MassTransit | src/MassTransit/ExpiresInAttribute.cs | 1778 | // Copyright 2007-2008 The Apache Software Foundation.
//
// 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 re... | apache-2.0 |
infochimps-away/cluster_chef | site-cookbooks/ebs/recipes/attach_volumes.rb | 571 | # aws included via metadata.rb
# if node[:ebs_volumes]
# node[:ebs_volumes].each do |name, conf|
# aws_ebs_volume "attach hdfs volume #{conf.inspect}" do
# provider "aws_ebs_volume"
# aws_access_key node[:aws][:aws_access_key]
# aws_secret_access_key node[:aws][:aws_secret_access_key]
# ... | apache-2.0 |
jpaw/jpaw | jpaw-fixedpoint-core/src/test/java/de/jpaw/fixedpoint/tests/TestConversions.java | 1420 | package de.jpaw.fixedpoint.tests;
import java.math.BigDecimal;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import de.jpaw.fixedpoint.types.MicroUnits;
public class TestConversions {
@Test
public void testFromConversions() throws Exception {
MicroUnits fromLong = Micr... | apache-2.0 |
GwtDomino/domino | domino-api-client/src/main/java/org/dominokit/domino/api/client/ApplicationStartHandler.java | 141 | package org.dominokit.domino.api.client;
@FunctionalInterface
public
interface ApplicationStartHandler {
void onApplicationStarted();
}
| apache-2.0 |
InMobi/hadoop | docs/api/org/apache/hadoop/io/nativeio/package-frame.html | 1525 | <!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_20) on Fri Mar 25 19:54:51 PDT 2011 -->
<TITLE>
org.apache.hadoop.io.nativeio (Hadoop 0.20.2-cdh3u0 API)
</TITLE>
<META NAME="date" CONTENT="2011-03... | apache-2.0 |
psu-stewardship/hydra-arkivo | config/routes.rb | 126 | Arkivo::Engine.routes.draw do
namespace :api, defaults: { format: :json } do
resources :items, except: :index
end
end
| apache-2.0 |
aslakknutsen/arquillian-extension-warp | impl/src/main/java/org/jboss/arquillian/warp/utils/BaseNCodec.java | 17879 | /**
* 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"); yo... | apache-2.0 |
jasarsoft/ipcs-primjeri | IPCS_02/Vjezba 2/company/customers/Customers.cs | 112 | public class Customers
{
public static string[] allCustomers = {"Peter Parker", "Klark Kent", "Bruce Vayne"};
} | apache-2.0 |
mdoering/backbone | life/Plantae/Chlorophyta/Zygnematophyceae/Zygnematales/Zygnemataceae/Zygnema/Zygnema gorakhporense/README.md | 185 | # Zygnema gorakhporense Singh SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
NoJPA-LESS-IS-MORE/NoJPA | nojpa_orm/src/main/java/dk/lessismore/nojpa/reflection/db/annotations/SearchField.java | 664 | package dk.lessismore.nojpa.reflection.db.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created : with IntelliJ IDEA.
* User: seb
*/
@Target(ElementType.METHOD)
@Retention(Retention... | apache-2.0 |
hoangphantich/fu.java192x17.1 | hoangpt/Assignment_21/src/com/hoang/fu/Teacher.java | 786 | /*
* 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.hoang.fu;
/**
*
* @author hoangpt
*/
public class Teacher extends Employee implements ITeacher {
Teacher(String name... | apache-2.0 |
msdx/AndroidPNClient | androidpn/src/main/java/org/xbill/DNS/TSIGRecord.java | 4956 | // Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
package org.xbill.DNS;
import java.io.*;
import java.util.*;
import org.xbill.DNS.utils.*;
/**
* Transaction Signature - this record is automatically generated by the
* resolver. TSIG records provide transaction security between the
* sender and re... | apache-2.0 |
NEU-2016/NEUban | persistence/src/main/resources/data-mysql.sql | 3303 | -- Users
delete from user where id <= 6;
insert into user (id,password,user_name, email, role)
values (6,'$2a$08$rWw15tM4D8JGNkoSnosvUOWktluv1CnxCZfJslvHWaiFSaSOpnYZS','boisterous', 'neuban35@gmail.com', 'USER');
insert into user (id,password,user_name, email, role)
values (5,'$2a$08$2/f6i7QzmdvM0wVDghFdkOUPtUA66SSa... | apache-2.0 |
neowu/core-ng-project | ext/monitor/src/main/java/app/monitor/job/KubeMonitorJob.java | 5150 | package app.monitor.job;
import core.framework.internal.log.LogManager;
import core.framework.json.JSON;
import core.framework.kafka.MessagePublisher;
import core.framework.log.message.StatMessage;
import core.framework.scheduler.Job;
import core.framework.scheduler.JobContext;
import org.slf4j.Logger;
import org.slf4... | apache-2.0 |
metatron-app/metatron-discovery | discovery-frontend/src/app/data-preparation/dataflow/dataflow-detail/component/edit-dataflow-rule/edit-rule/edit-rule.component.ts | 5051 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | apache-2.0 |
tanaka51/tenpai-wakaru-man | mahjong/hand.go | 3584 | package mahjong
type Hand []Pai
func remove(list []Pai, p Pai) []Pai {
var result []Pai
removed := false
for _, e := range list {
if e == p && !removed {
removed = true
} else {
result = append(result, e)
}
}
return result
}
func contain(list []Pai, p Pai) bool {
for _, a := range list {
if a ==... | apache-2.0 |
pdxrunner/geode | geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterAcceptIntegrationTest.java | 3615 | /*
* 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 ... | apache-2.0 |
Kael95/Epitech | Virtual Machine/src/Arithmetic/Stack.cpp | 2906 | /*
** Stack.cpp for cpp_abstractvm in /var/projects/cpp_abstractvm/Stack.cpp
**
** Made by kevin labbe
** Login <labbe_k@epitech.net>
**
** Started on Mar 1, 2014 2:15:13 AM 2014 kevin labbe
** Last update Mar 1, 2014 2:15:13 AM 2014 kevin labbe
*/
#include "EmptyStackException.hpp"
#include "AssertFailed... | apache-2.0 |
pbmolini/drdl | README.md | 263 | # Di Roccia | Di Luce
Website of the exibition [Di Roccia | Di Luce](http://www.dirocciadiluce.it)
## Credits
* Theme by [Grayscale](http://startbootstrap.com/template-overviews/grayscale/)
* Gallery by [Bootstrap Lightbox](http://ashleydw.github.io/lightbox/) | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Amaryllidaceae/Tomodon/README.md | 159 | # Tomodon Rafinesque, 1838 GENUS
#### Status
ACCEPTED
#### According to
IRMNG Homonym List
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Laboulbeniomycetes/Laboulbeniales/Laboulbeniaceae/Misgomyces/Misgomyces perigonae/README.md | 215 | # Misgomyces perigonae Thaxt. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mem. Amer. Acad. Arts 16: 294 (1931)
#### Original name
Misgomyces perigonae Thaxt.
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Basidiomycota/Exobasidiomycetes/Tilletiopsis/README.md | 187 | # Tilletiopsis Derx, 1948 GENUS
#### Status
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Bacteria/Proteobacteria/Gammaproteobacteria/Oceanospirillales/Oceanospirillaceae/Oleispira/README.md | 257 | # Oleispira Yakimov, Giuliano, Gentile, Crisafi, Chernikova, Abraham, Lunsdorf, Timmis & Golyshin, 2003 GENUS
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Solidago/Solidago caesia/ Syn. Solidago caesia paniculata/README.md | 195 | # Solidago caesia var. paniculata A.Gray VARIETY
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Santalales/Loranthaceae/Oncocalyx/Oncocalyx glabratus/README.md | 189 | # Oncocalyx glabratus (Engl.) M.G.Gilbert SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Cyrtorchis/Cyrtorchis arcuata/ Syn. Listrostachys whytei/README.md | 183 | # Listrostachys whytei Rolfe SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
Stejnar/compressor-angular2 | src/server/protocols/sup.server.protocol.ts | 1052 | import { Upload } from './../models/upload/upload.model';
import { SUPController } from './sup.server.controller';
const yellow = '\x1b[33m%s\x1b[0m: ';
export class SUP {
constructor(private io: SocketIOClient.Manager) { }
registerIO() {
this.io.on('connection', (socket: So... | apache-2.0 |
yueny/pra | job/job_elastic/src/main/java/com/yueny/demo/job/controller/DemoController.java | 1201 | package com.yueny.demo.job.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org... | apache-2.0 |
mlperf/training_results_v0.6 | Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/onnx-tensorrt/plugin.hpp | 5795 | /*
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
*
* 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... | apache-2.0 |
riganti/dotvvm | src/Tests/ControlTests/testoutputs/SimpleControlTests.FileUpload.html | 1175 | <html>
<head></head>
<body>
<!-- output should be the same in Client/Server rendering -->
<div class="dotvvm-upload" data-bind="with: Files">
<span class="dotvvm-upload-button" data-bind="visible: !IsBusy()">
<a href="javascript:;" onclick="dotvvm.fileUpload.showUploadDialog(this); return false;">Upload... | apache-2.0 |
UniversalDependencies/docs | treebanks/kmr_mg/kmr_mg-dep-root.md | 3106 | ---
layout: base
title: 'Statistics of root in UD_Kurmanji-MG'
udver: '2'
---
## Treebank Statistics: UD_Kurmanji-MG: Relations: `root`
This relation is universal.
754 nodes (7%) are attached to their parents as `root`.
754 instances of `root` (100%) are left-to-right (parent precedes child).
Average distance betw... | apache-2.0 |
Horusiath/akka.net | Documentation/csharp/code/docs/extension/SettingsExtensionDocTest.java | 2450 | /**
* Copyright (C) 2009-2014 Typesafe Inc. <http://www.typesafe.com>
*/
package docs.extension;
//#imports
import akka.actor.Extension;
import akka.actor.AbstractExtensionId;
import akka.actor.ExtensionIdProvider;
import akka.actor.ActorSystem;
import akka.actor.ExtendedActorSystem;
import scala.concurrent.duration... | apache-2.0 |
ryez/gatling | gatling-jms/src/test/scala/io/gatling/jms/integration/JmsMockingSpec.scala | 3164 | /**
* Copyright 2011-2016 GatlingCorp (http://gatling.io)
*
* 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... | apache-2.0 |
brenthale/gedcomx-java | enunciate-gedcomx-support/src/main/java/org/gedcomx/build/enunciate/RecipeClasspathHandler.java | 2169 | /**
* Copyright Intellectual Reserve, 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... | apache-2.0 |
pebble2015/cpoi | src/org/apache/poi/hssf/record/BoundSheetRecord.cpp | 8028 | // Generated from /POI/java/org/apache/poi/hssf/record/BoundSheetRecord.java
#include <org/apache/poi/hssf/record/BoundSheetRecord.hpp>
#include <java/lang/ArrayStoreException.hpp>
#include <java/lang/NullPointerException.hpp>
#include <java/lang/String.hpp>
#include <java/lang/StringBuffer.hpp>
#include <java/util/Ar... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/Problem.java | 19577 | /*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
redfin/react-server | packages/react-server/core/util/ClientCssHelper.js | 3519 |
var logger = require('../logging').getLogger(__LOGGER__);
var {PAGE_CSS_NODE_ID} = require('../constants');
var Q = require('q');
var PageUtil = require('./PageUtil')
var loadedCss = {};
module.exports = {
registerPageLoad: function registerPageLoad() {
if (SERVER_SIDE) {
throw new Error("ClientCssHelper.regi... | apache-2.0 |
nesterione/JavaTrainings | src/lesson/types/Classes.java | 602 | package lesson.types;
public class Classes {
public static void main(String[] args) {
JustClass one = new JustClass();
JustClass two = new JustClass(123, "sdf");
System.out.println(one);
System.out.println(two);
}
}
class JustClass {
private int number;
private String... | apache-2.0 |
hehongliang/tensorflow | tensorflow/core/common_runtime/eager/context.h | 11313 | /* Copyright 2018 The TensorFlow 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 required by applicable law or a... | apache-2.0 |
joeeyles/geneticcreatures | GeneticCreatures/GeneticCreatures/Classes/Objects/InanimateObjects/Wall.cs | 1296 | using GeneticCreatures.Classes.UtilityClasses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tester.classes;
namespace GeneticCreatures.Classes.Objects.InanimateObjects
{
class Wall : Selectable
{
public Wall(Posit... | apache-2.0 |