repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
CarlosIribarren/Ejemplos-Examples | JavaScript/Nativo/Algunos ejemplos/02 Insertar codigo HTML/funcionJS.js | 535 | //Funcion para insertar un trozo de codigo HTML
function loadXMLDoc(url)
{
var xmlhttp;
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatech... | apache-2.0 |
gdefias/JavaDemo | InitJava/base/src/main/java/Init/Enum/TestEnumStates.java | 3956 | package Init.Enum;
import Generics.Generator;
import java.util.EnumMap;
import java.util.Iterator;
import static Init.Enum.Input.*;
import static Init.Print.print;
/**
* Created by Defias on 2020/07.
* Description: 使用enum的状态机
*
*/
public class TestEnumStates {
public static void main(String[] args) {
... | apache-2.0 |
luchenqun/StarDelegate | starrating.cpp | 1586 | #include <QtWidgets>
#include <math.h>
#include "starrating.h"
const int PaintingScaleFactor = 20;
StarRating::StarRating(int starCount, int maxStarCount)
{
myStarCount = starCount;
myMaxStarCount = maxStarCount;
starPolygon << QPointF(1.0, 0.5);
for (int i = 1; i < 5; ++i)
{
starPolygon ... | apache-2.0 |
MarSik/bugautomation | src/main/java/org/marsik/bugautomation/rest/RestApplication.java | 495 | package org.marsik.bugautomation.rest;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
@ApplicationPath("/")
public class RestApplication extends Application {
@Override
public Set<Class<?>> getClasses() {
... | apache-2.0 |
djphan/djphan-c301a1-ToDoList | README.md | 9346 | Please clean before building.
djphan_301a1
=============
CMPUT 301 - A1 - To Do List Application (written in Java)
An application to create and store a list of items. You can check
the items off after completion, email items, and keep track
of completed and uncompleted items.
Notes
=====
1. The selection feature in... | apache-2.0 |
nitro-devs/nitro-game-engine | docs/sdl2_sys/scancode/SDL_SCANCODE_KP_9.v.html | 365 | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=constant.SDL_SCANCODE_KP_9.html">
</head>
<body>
<p>Redirecting to <a href="constant.SDL_SCANCODE_KP_9.html">constant.SDL_SCANCODE_KP_9.html</a>...</p>
<script>location.replace("constant.SDL_SCANCODE_KP_9.html" + location.sear... | apache-2.0 |
ray-project/ray | python/ray/train/tests/test_results_preprocessors.py | 7269 | import pytest
from ray.train.callbacks.results_preprocessors import (
ExcludedKeysResultsPreprocessor,
IndexedResultsPreprocessor,
SequentialResultsPreprocessor,
AverageResultsPreprocessor,
MaxResultsPreprocessor,
WeightedAverageResultsPreprocessor,
)
def test_excluded_keys_results_preprocess... | apache-2.0 |
markus1978/citygml4emf | de.hub.citygml.emf.ecore.edit/src/net/opengis/gml/provider/TopoVolumeTypeItemProvider.java | 6438 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package net.opengis.gml.provider;
import java.util.Collection;
import java.util.List;
import net.opengis.gml.GmlFactory;
import net.opengis.gml.GmlPackage;
import net.opengis.gml.TopoVolumeType;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse... | apache-2.0 |
deleidos/digitaledge-platform | commons/buildtools/pmd/docs/xref/net/sourceforge/pmd/util/viewer/gui/EvaluationResultsPanel.html | 6537 | <!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="null" lang="null">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>EvaluationResultsPanel xref</title>
<l... | apache-2.0 |
android/android-test | espresso/core/javatests/androidx/test/espresso/action/GeneralLocationTest.java | 4547 | /*
* Copyright (C) 2014 The Android Open Source 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-2.0
*
* Unless required by applic... | apache-2.0 |
isb-cgc/ISB-CGC-Webapp | bq_data_access/v2/seqpeek/seqpeek_view.py | 7709 | #
# Copyright 2015-2019, Institute for Systems Biology
#
# 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 |
doom369/netty | transport-native-unix-common/src/main/java/io/netty/channel/unix/Unix.java | 3285 | /*
* Copyright 2014 The Netty Project
*
* The Netty Project 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | apache-2.0 |
dmlc/xgboost | tests/python/test_with_shap.py | 817 | import numpy as np
import xgboost as xgb
import pytest
try:
import shap
except ImportError:
shap = None
pass
pytestmark = pytest.mark.skipif(shap is None, reason="Requires shap package")
# Check integration is not broken from xgboost side
# Changes in binary format may cause problems
def test_with_shap(... | apache-2.0 |
UniversalDependencies/universaldependencies.github.io | treebanks/pl_lfg/pl_lfg-dep-nummod.html | 10214 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Statistics of nummod in UD_Poli... | apache-2.0 |
mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Psathyrellaceae/Coprinopsis/Coprinopsis lagopus/ Syn. Coprinus lagopus lagopus/README.md | 280 | # Coprinus lagopus var. lagopus (Fr.) Fr., 1838 VARIETY
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Epicr. syst. mycol. (Upsaliae) 250 (1838)
#### Original name
Coprinus lagopus var. lagopus (Fr.) Fr., 1838
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Piperales/Piperaceae/Peperomia/Peperomia machaerodonta/README.md | 179 | # Peperomia machaerodonta Trel. 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/Magnoliopsida/Fabales/Fabaceae/Racosperma/Racosperma drewianum/Racosperma drewianum minus/README.md | 233 | # Racosperma drewianum subsp. minus (Maslin) Pedley SUBSPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Acacia drewiana subsp. minor Maslin
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Leotiomycetes/Erysiphales/Erysiphaceae/Oidium/Oidium gonostegiae/README.md | 247 | # Oidium gonostegiae J.M. Yen & Chin C. Wang SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Revue Mycol. , Paris 37(3): 145 (1973)
#### Original name
Oidium gonostegiae J.M. Yen & Chin C. Wang
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Russulales/Russulaceae/Russula/Russula alutacea/Russula alutacea olivacea/README.md | 231 | # Russula alutacea f. olivacea J.E. Lange FORM
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Fl. Agaric. Danic. 5: 77 (1940)
#### Original name
Russula alutacea f. olivacea J.E. Lange
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Iridaceae/Trifurcaria/README.md | 182 | # Trifurcaria Endl. GENUS
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
Ént. Obozr. 43: 732.
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Cotula socialis/README.md | 174 | # Cotula socialis Hilliard SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Zygomycota/Entomophthorales/Entomophthoraceae/Batkoa/Batkoa major/ Syn. Entomophaga major/README.md | 253 | # Entomophaga major (Thaxt.) S. Keller, 1991 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Sydowia 43: 117 (1991)
#### Original name
Empusa apiculata var. major Thaxt., 1888
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Leotiomycetes/Erysiphales/Erysiphaceae/Oidium/Oidium anthemidis/README.md | 177 | # Oidium anthemidis Thüm. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Oidium anthemidis Thüm.
### Remarks
null | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-dialogflow/v3/1.31.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowCxV3ListAgentsResponse.java | 3689 | /*
* 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... | apache-2.0 |
deleidos/de-pipeline-tool | de-framework-monitoring/src/main/java/com/deleidos/framework/monitoring/response/InfoResponse.java | 1247 | package com.deleidos.framework.monitoring.response;
public class InfoResponse {
public static final String PATH = "/proxy/${APP_ID}/ws/v2/stram/info";
public static class Stats {
public int allocatedContainers;
public int plannedContainers;
public int totalVCoresAllocated;
public int vcoresRequired;
pu... | apache-2.0 |
rbanks54/GitStats | GitStats.Console/CouplingAnalyser.cs | 5712 | using EnsureThat;
using LibGit2Sharp;
using System;
using System.Collections.Generic;
using System.Linq;
namespace GitStats.Console
{
internal class CouplingAnalyser : GitAnalyser
{
//What files are always checked in with each other?
public void Analyse(string gitPath)
{
va... | apache-2.0 |
openphacts/queryExpander | query.expander.implementation/test/uk/ac/manchester/cs/openphacts/queryexpander/queryLoader/OpsReplacemeentTest.java | 1764 | package uk.ac.manchester.cs.openphacts.queryexpander.queryLoader;
import java.util.List;
import java.util.Set;
import org.bridgedb.uri.tools.GraphResolver;
import org.bridgedb.utils.Reporter;
import static org.junit.Assert.*;
import org.junit.Test;
import uk.ac.manchester.cs.openphacts.queryexpander.QueryUtils;
import... | apache-2.0 |
youdonghai/intellij-community | java/java-impl/src/com/intellij/codeInspection/util/IteratorDeclaration.java | 7121 | /*
* Copyright 2000-2016 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... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Varthemia corymbulosa/ Syn. Crinitaria corymbulosa/README.md | 197 | # Crinitaria corymbulosa (Bornm.) Grierson SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
yetwish/Reading | reading/src/main/java/com/xidian/yetwish/reading/ui/SplashActivity.java | 1907 | package com.xidian.yetwish.reading.ui;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import com.xidian.yetwish.reading.R;
import com.xidian.yetwish.reading.framework.utils.SharedPreferencesUtils;
import com.xidian.yetwish... | apache-2.0 |
albertok/web-polygraph | src/xstd/CpuAffinitySet.cc | 2439 |
/* Web Polygraph http://www.web-polygraph.org/
* Copyright 2003-2014 The Measurement Factory
* Licensed under the Apache License, Version 2.0 */
#include "base/polygraph.h"
#include "xstd/h/iostream.h"
#include "xstd/h/string.h"
#include "xstd/CpuAffinitySet.h"
static std::ostream &operator <<(std::ostream &... | apache-2.0 |
CaoYouXin/serveV2 | html/albumConsole/src/app/album/album/album.component.html | 281 | <div class="albums-wrapper" #wrapper>
<app-one-album *ngFor="let album of albums;let idx=index" [data]="album" (onDelete)="onDelete(idx, album)"></app-one-album>
<div class="handle" (click)="addAlbum()"></div>
</div>
<app-edit-album (onSave)="onSave($event)"></app-edit-album> | apache-2.0 |
lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_5188.java | 151 | package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_5188 {
}
| apache-2.0 |
favedit/MoCross | Source/Cross/Feature/MoFeatureGraphic/MoFgPublic.h | 678 | //============================================================
// <T>¹²Í¨¶¨Òå¡£</T>
//============================================================
#ifndef __MO_FG_PUBLIC_H__
#define __MO_FG_PUBLIC_H__
#ifndef __MO_COMMON_H__
#include <MoCommon.h>
#endif // __MO_COMMON_H__
#ifndef __MO_CORE_H__
#include <MoCore.h>
#en... | apache-2.0 |
shinobicontrols/PopGoesShinobi | PopGoesShinobi/SCAppDelegate.h | 749 | /*
* Copyright 2014 Scott Logic Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
cdwlabs/armor | cmd/armor/containers_test.go | 10417 | package main
import (
"bytes"
"encoding/json"
"fmt"
"github.com/cdwlabs/armor/pkg/config"
docker "github.com/fsouza/go-dockerclient"
vaultapi "github.com/hashicorp/vault/api"
"github.com/pborman/uuid"
// "github.com/spf13/viper"
"golang.org/x/net/context"
"io/ioutil"
"os"
"time"
)
type TestContainers stru... | apache-2.0 |
stdlib-js/stdlib | lib/node_modules/@stdlib/constants/float64/max-safe-nth-fibonacci/docs/types/test.ts | 832 | /*
* @license Apache-2.0
*
* Copyright (c) 2019 The Stdlib 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 |
palominolabs/jersey-cors-filter | README.md | 6626 | This library makes it easy to add basic CORS support to your [Jersey 1](https://jersey.java.net/) app. To learn more about CORS, see documentation from [MDN](https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS) and [W3](http://www.w3.org/TR/cors/).
# Usage
To get started, add a dependency to your Gradle ... | apache-2.0 |
firmiana628/firmiana628.github.com | _posts/2016-12-02-apptosimulator.md | 694 | ---
layout: post
title: 在模拟器上安装package
subtitle:
author: 张大威
date: 2016-12-02 11:30:42 +0800
categories: jekyll update
tag: iOS
---
<p>公司测试机不够,设计师又没有苹果手机,问我们如何解决.不想把源码给设计师,就研究了一下如何在模拟器上安装应用</p>
<p>xcode run之后,在DrivedData(~/Library/Developer/Xcode/DerivedData
)下会有一个app的包,把这个包copy到模拟器的应用路径下就可以了
/Applications/Xcode.app/... | apache-2.0 |
ShashankKawle/Global-Chat-Website | Cy-chat/Cy-CHAT Dark Edition (LOCAL-HOSTING)/ourteam/utstyle.css | 1652 | body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333;
background-color: #e3dede;
}
h2 {
text-align: center; font-size: 75px; border-width: 2px; border-style: solid;
color: white;
text-shadow: 10px 10px 10px black;
border-color... | apache-2.0 |
clive-jevons/joynr | javascript/libjoynr-js/src/main/js/joynr/messaging/inprocess/InProcessMessagingSkeleton.js | 1684 | /*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT 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 requir... | apache-2.0 |
krasserm/ipf | platform-camel/core/src/main/java/org/openehealth/ipf/platform/camel/core/management/ProcessorManagementNamingStrategy.java | 2034 | /*
* 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 ap... | apache-2.0 |
axfcampos/hbase-0.94.19 | docs/apidocs/org/apache/hadoop/hbase/client/coprocessor/class-use/BigDecimalColumnInterpreter.html | 6545 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Tue Apr 22 01:43:51 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | apache-2.0 |
buddycloud/buddycloud-android | src/com/buddycloud/utils/InputUtils.java | 620 | package com.buddycloud.utils;
import android.app.Activity;
import android.content.Context;
import android.view.inputmethod.InputMethodManager;
public class InputUtils {
public static void hideKeyboard(Activity activity) {
InputMethodManager imm = (InputMethodManager) activity.getSystemService(Context.INP... | apache-2.0 |
Ensembl/public-plugins | users/modules/EnsEMBL/Users/Command/Account/User/Consent.pm | 1664 | =head1 LICENSE
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.
You may obta... | apache-2.0 |
senugala/lis-test | WS2012R2/lisa/remote-scripts/ica/utils.sh | 54129 | #!/bin/bash -
#####################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance wi... | apache-2.0 |
mars-lan/WhereHows | datahub-web/@datahub/utils/addon/validators/urn.ts | 1847 | /**
* Cached RegExp object for a global search of /
* @type {RegExp}
*/
const encodedSlashRegExp = new RegExp(encodeURIComponent('/'), 'g');
/**
* Replaces any occurrence of / with the encoded equivalent
* @param {string} urn
* @return {string}
*/
export const encodeForwardSlash = (urn: string): string => urn.re... | apache-2.0 |
arnaud71/webso-db | docs/solr-solrj/org/apache/solr/client/solrj/impl/class-use/BinaryResponseParser.html | 7453 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_27) on Thu Jan 23 20:22:16 EST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class... | apache-2.0 |
viridia/coda | test/python/finddata.py | 345 | import pathlib
import importlib
import sys
__all__ = ['sample', 'sampleTxt', 'sampleBin']
this = pathlib.Path(__file__)
datadir = this.parent.parent / 'data'
loader = importlib.machinery.SourceFileLoader('sample', str(datadir / 'sample.py'))
sample = loader.load_module()
sampleTxt = datadir / 'sample.txt'
sampleBin ... | apache-2.0 |
infinitiessoft/keystone4j | keystone4j-core/src/main/java/com/infinities/keystone4j/contrib/revoke/driver/RevokeDriver.java | 1112 | /*******************************************************************************
* # Copyright 2015 InfinitiesSoft 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
... | apache-2.0 |
wangshijun101/JavaSenior | CoreJava/src/main/java/com/flying/promotion/javatuning/future/jdk/RealData.java | 610 | package com.flying.promotion.javatuning.future.jdk;
import java.util.concurrent.Callable;
/**
* Created by Joseph on 7/25/2016.
*/
public class RealData implements Callable<String>{
private String para;
public RealData(String para){
this.para=para;
}
@Override
public String call() throws... | apache-2.0 |
kennho/oppia | core/templates/dev/head/galleries/gallery.html | 3771 | {% extends "base.html" %}
<!-- Gallery page is a special case: we switch the main and sub titles -->
{% block maintitle %}
Gallery
{% endblock maintitle %}
{% block subtitle %}
Oppia
{% endblock subtitle %}
{% block navbar_breadcrumb %}
{% endblock navbar_breadcrumb %}
{% block local_top_nav_options %}
<searc... | apache-2.0 |
KirinDave/Clipping | src/main/scala/com/banksimple/clipping/ManagementStrategies/SynchronousManagementStrategy.scala | 2786 | /*
* Copyright 2011 Simple Finance, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | apache-2.0 |
bric3/assertj-core | src/main/java/org/assertj/core/util/introspection/PropertySupport.java | 8633 | /**
* 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 ... | apache-2.0 |
algarecu/hbase-0.94.8-qod | docs/apidocs/org/apache/hadoop/hbase/ipc/class-use/HBaseServer.Connection.html | 13384 | <!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_43) on Wed May 22 21:49:32 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | apache-2.0 |
tuliobraga/tech-gallery | src/main/java/com/ciandt/techgallery/servlets/ViewTech.java | 587 | package com.ciandt.techgallery.servlets;
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@SuppressWarnings("serial")
public class ViewTech extends HttpServlet {
@Override
public void doGet(HttpServlet... | apache-2.0 |
inbloom/secure-data-service | tools/data-tools/src/org/slc/sli/test/edfi/entities/meta/GradeBookEntryMeta.java | 2017 | /*
* Copyright 2012-2013 inBloom, Inc. and 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 appli... | apache-2.0 |
the1forte/crunchy-containers | bin/postgres/pgbackrest.sh | 4046 | #!/bin/bash
source /opt/cpm/bin/common_lib.sh
NAMESPACE=${HOSTNAME?}
if [[ -v PGDATA_PATH_OVERRIDE ]]
then
NAMESPACE=${PGDATA_PATH_OVERRIDE?}
fi
# Set default pgbackrest env vars if not explicity provided
set_pgbackrest_env_vars() {
if [[ ! -v PGBACKREST_STANZA ]]
then
export PGBACKREST_STANZA="... | apache-2.0 |
TheCharmingCthulhu/CSharp | Projects/Windows Forms/Motomatic/Motomatic/Source/Storage/Script.cs | 1512 | using Motomatic.Source.Automating;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Motomatic.Source.Storage
{
class Script
{
const string AHK_EXPRESSION = "([A-z0-9]*)[:]{0,}=(.*)";
string _Code;
publ... | apache-2.0 |
google/clif | clif/python/instance_test.cc | 3338 | // Copyright 2017 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 in... | apache-2.0 |
17golang/nodejsstudy | httpclient.js | 2282 | var http=require('http');
var url = require('url')
var httpget = function ( url ) {
return new Promise(( resolve,reject)=>{
http.get( url ,function(req,res){
var html='';
req.on('data',function(data){
html+=data;
});
req.on('end',functi... | apache-2.0 |
pkerpedjiev/fornac | app/scripts/rnatreemap.js | 2511 | import {rnaPlot} from './rnaplot.js';
export function rnaTreemapChart() {
var width = 550;
var height = 400;
function rnaTreemapNode(selection) {
// create a background rectangle for each RNA structure
selection.each(function(d) {
d3.select(this)
.attr('transform', ... | apache-2.0 |
woq-blended/blended | blended.jms.utils/src/main/scala/blended/jms/utils/internal/JmsConnectionController.scala | 2504 | package blended.jms.utils.internal
import akka.actor.{Actor, ActorRef, Cancellable, Props}
import blended.jms.utils._
import blended.util.logging.Logger
import javax.jms.Connection
import scala.concurrent.ExecutionContext
import scala.concurrent.duration._
import scala.util.control.NonFatal
object JmsConnectionContr... | apache-2.0 |
joshlong/adaptive-spring | core/src/test/java/savetheenvironment/profiles/mocking/Main.java | 2787 | package savetheenvironment.profiles.mocking;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.core.env.MapPropertySource;
import org.springframework.core.env.StandardEnvironment;
import java.util.HashMap... | apache-2.0 |
jacksonic/foamTableTop | bower_components/foam2-experimental/README.md | 2263 | # FOAM
Build fully featured high performance apps in less time using FOAM.
* Application Speed
* Application Size
* Developer Efficiency
"Fast apps Fast"
[http://foamdev.com](http://foamdev.com)
[](https://travis-ci.org... | apache-2.0 |
myrosicky/projects | weibo/src/main/java/rmi/MyRemoteClass.java | 932 | package rmi;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.UnicastRemoteObject;
public class MyRemoteClass implements MyRemoteInterface {
public String[] sayYourName(String name) throws RemoteException {
System.err.pri... | apache-2.0 |
wy373226722/ykfzpw | README.md | 15 | # 易开发者
| apache-2.0 |
dnvriend/akka-persistence-jdbc | core/src/main/scala/akka/persistence/jdbc/serialization/PersistentReprSerializer.scala | 2054 | /*
* Copyright (C) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
*/
package akka.persistence.jdbc.serialization
import akka.NotUsed
import akka.persistence.jdbc.util.TrySeq
import akka.persistence.journal.Tagged
import akka.persistenc... | apache-2.0 |
gabedwrds/cas | support/cas-server-support-electrofence/src/test/java/org/apereo/cas/impl/calcs/DateTimeAuthenticationRequestRiskCalculatorTests.java | 5383 | package org.apereo.cas.impl.calcs;
import org.apereo.cas.api.AuthenticationRiskEvaluator;
import org.apereo.cas.api.AuthenticationRiskScore;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.config.CasCoreAuthenticationConfigura... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Myrtales/Myrtaceae/Syzygium/Syzygium fratris/README.md | 181 | # Syzygium fratris Craven SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
resin-io-library/base-images | balena-base-images/dotnet/vab820-quad/ubuntu/bionic/3.1-runtime/build/Dockerfile | 2522 | # AUTOGENERATED FILE
FROM balenalib/vab820-quad-ubuntu:bionic-build
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu60 \
libssl1.1 \
l... | apache-2.0 |
axeolotl/wsrp4cxf | persistence-xml/src/java/org/apache/wsrp4j/persistence/xml/PersistentInformationXML.java | 3611 | /*
* Copyright 2003-2005 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 required by ap... | apache-2.0 |
equella/Equella | Source/Plugins/Core/com.equella.core/src/com/tle/web/copyright/AbstractCopyrightFilestoreFilter.java | 4308 | /*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... | apache-2.0 |
JohnSnowLabs/spark-nlp | docs/api/com/johnsnowlabs/nlp/DocumentAssembler$.html | 52779 | <!DOCTYPE html >
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Spark NLP 3.4.2 ScalaDoc - com.johnsnowlabs.nlp.DocumentAssembler</title>
... | apache-2.0 |
dcarbone/php-fhir-generated | src/DCarbone/PHPFHIRGenerated/R4/FHIRResource/FHIRDomainResource/FHIRSpecimenDefinition.php | 40612 | <?php
namespace DCarbone\PHPFHIRGenerated\R4\FHIRResource\FHIRDomainResource;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: December 26th, 2019 15:44+0000
*
* PHPFHIR C... | apache-2.0 |
ging/keystone | keystone/contrib/oauth2/validator.py | 16189 | # Copyright (C) 2014 Universidad Politecnica de Madrid
#
# 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... | apache-2.0 |
nghiant2710/base-images | balena-base-images/golang/artik520/fedora/30/1.14.13/run/Dockerfile | 2100 | # AUTOGENERATED FILE
FROM balenalib/artik520-fedora:30-run
ENV GO_VERSION 1.14.13
# gcc for cgo
RUN dnf install -y \
gcc-c++ \
gcc \
git \
&& dnf clean all
RUN mkdir -p /usr/local/go \
&& curl -SLO "http://resin-packages.s3.amazonaws.com/golang/v$GO_VERSION/go$GO_VERSION.linux-armv7hf.tar.gz" \
&& echo "53c... | apache-2.0 |
Chanisco/GameJam_WarmingUp | Warmyparmy/Assets/Scripts/Arrow.cs | 333 | /****Developed by Chanisco Tromp*****/
using UnityEngine;
using System.Collections;
public class Arrow : MonoBehaviour {
// Update is called once per frame
float speed;
void Update () {
if(ArrowSpawn.i < 40){
speed = 5 * Time.deltaTime;
}else{
speed = 7 * Time.deltaTime;
}
transform.Translate(speed,0... | apache-2.0 |
christophd/citrus | core/citrus-api/src/main/java/com/consol/citrus/validation/DefaultEmptyMessageValidator.java | 2319 | /*
* Copyright 2006-2017 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 app... | apache-2.0 |
jatin9896/incubator-carbondata | core/src/main/java/org/apache/carbondata/core/datamap/DataMapStoreManager.java | 23372 | /*
* 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 ... | apache-2.0 |
liosha2007/plone-groupdocs-signature-source | src/groupdocs/signature/portlets/__init__.py | 294 | from zope.i18nmessageid import MessageFactory
PloneMessageFactory = MessageFactory('plone')
from Products.CMFCore.permissions import setDefaultRoles
setDefaultRoles('signature.portlets.gdsignature: Add GroupDocs Signature portlet',
('Manager', 'Site Administrator', 'Owner',))
| apache-2.0 |
jupierce/origin | test/integration/sdn_test.go | 5254 | package integration
import (
"fmt"
"testing"
"time"
kapierrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
utilwait "k8s.io/apimachinery/pkg/util/wait"
restclient "k8s.io/client-go/rest"
osclient "github.com/openshift/origin/pkg/client"
sdnapi "github.com/openshift/ori... | apache-2.0 |
MikeFot/android-crossy-score | app/src/main/java/com/michaelfotiadis/crossyscore/ui/components/addplayer/avatar/ListAvatarViewHolder.java | 629 | package com.michaelfotiadis.crossyscore.ui.components.addplayer.avatar;
import android.view.View;
import android.widget.ImageView;
import com.michaelfotiadis.crossyscore.R;
import com.michaelfotiadis.crossyscore.ui.core.common.viewholder.BaseViewHolder;
import butterknife.Bind;
public final class ListAvatarViewHol... | apache-2.0 |
roadmaptravel/Rome2RioAndroid | library/src/test/java/com/getroadmap/r2rlib/models/DayFlagsTest.java | 2022 | package com.getroadmap.r2rlib.models;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Created by jan on 28/08/2017.
* test dayflag bitwise and operator
*/
public class DayFlagsTest {
@Test
public void isSunday() throws Exception {
Day... | apache-2.0 |
mikesamuel/regexp-make-js | README.md | 3462 | # regexp-make-js
`RegExp.make` is an ES6 string template tag for dynamically creating regular expressions.
## Usage
```javascript
RegExp.make`^${foo},${bar}$`
```
is a `RegExp` instance that matches the whole string (`^...$`)
consisting of a substring matching the value of the expression `foo`
followed by the litera... | apache-2.0 |
kensonman/webframe | management/commands/pref.py | 18742 | # -*- coding: utf-8 -*-
#
# File: src/webframe/management/commands/pref.py
# Date: 2020-04-22 21:35
# Author: Kenson Man <kenson@kenson.idv.hk>
# Desc: Import / Create / Update / Delete preference
#
from django.conf import settings
from django.contrib.auth import get_user_model
from django.core.management.base import B... | apache-2.0 |
ludwigjossieaux/pickles | src/Pickles/Pickles/DocumentationBuilders/HTML/HtmlFeatureFormatter.cs | 4200 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="HtmlFeatureFormatter.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed under ... | apache-2.0 |
mars-lan/WhereHows | datahub-web/configs/ember-cli-build-options.js | 2560 | 'use strict';
/**
* Configuration options for Ember CLI App used to manage broccoli build tree for DataHub web.
* Returns a method to import build dependencies and an options
* object with configuration attributes
*
* @param {string} env current build application environment
* @returns { options: object }
*/
m... | apache-2.0 |
gchq/stroom | stroom-core-client/src/main/java/stroom/util/client/JSONUtil.java | 2742 | /*
* Copyright 2016 Crown Copyright
*
* 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... | apache-2.0 |
nbsp-team/MaterialFilePicker | library/src/main/java/com/nbsp/materialfilepicker/ui/DirectoryFragment.java | 3395 | package com.nbsp.materialfilepicker.ui;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx... | apache-2.0 |
akhr/java | Spring/jars/spring-framework-5.1.18.RELEASE/docs/javadoc-api/org/springframework/transaction/interceptor/class-use/TransactionAttribute.html | 52035 | <!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:07 UTC 2020 -->
<title>Uses of Interface org.springframework.transaction.interceptor.TransactionAttribute (Spring Fram... | apache-2.0 |
aseovic/coherence-tools | core/src/main/java/com/seovic/core/factory/LinkedHashMapFactory.java | 1163 | /*
* Copyright 2009 Aleksandar Seovic
*
* 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... | apache-2.0 |
cloud-ark/cloudark | examples/wordpress/php5.6/fpm-alpine/Dockerfile | 1808 | FROM php:5.6-fpm-alpine
# docker-entrypoint.sh dependencies
RUN apk add --no-cache \
# in theory, docker-entrypoint.sh is POSIX-compliant, but priority is a working, consistent image
bash \
# BusyBox sed is not sufficient for some of our sed expressions
sed
# install the PHP extensions we need
RUN set -ex; \
\
... | apache-2.0 |
xicmiah/see | src/main/java/see/evaluation/processors/AggregatingProcessor.java | 1669 | /*
* Copyright 2011 Vasily Shiyan
*
* 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 |
klesh/kaptcha | kaptcha.js | 1961 | var Canvas = require('canvas');
function generateCode() {
return ('' + Math.random()).substr(3, 6);
}
function generateImage(req, res, params) {
params.color = params.color || 'rgb(0, 0, 0)';
params.background = params.background || 'rgb(255, 255, 255)';
params.width = params.width || 250;
params.height = p... | apache-2.0 |
Yodilicious/ChurchWebsite | src/ChurchWebsite/ChurchWebsite.Presentation/Models/AccountViewModels/LoginViewModel.cs | 530 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ChurchWebsite.Presentation.Models.AccountViewModels
{
public class LoginViewModel
{
[Required]
[EmailAddress]
public string Email { ge... | apache-2.0 |
maximgorbatyuk/Next.Accounts-Server | Next.Accounts Client/Form1.cs | 13016 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Next.Accounts_Client.App... | apache-2.0 |
aspnet/AspNetCore | src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithBasePath.cs | 1980 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions... | apache-2.0 |
camachohoracio/Armadillo.Core | Communication/src/main/java/Armadillo/Communication/Impl/Distributed/DistControllerToWorkerHeartBeat.java | 15386 | package Armadillo.Communication.Impl.Distributed;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import org.joda.time.DateTime;
import org.joda.time.Minutes;
import org.joda.time.Seconds... | apache-2.0 |
davidvon/pipa-pay-server | admin/sms/sdk.py | 2956 | # -*- coding: UTF-8 -*-
import hashlib
import base64
import datetime
import urllib2
import json
class TemplateSMS:
account_sid = ''
account_token = ''
app_id = ''
server_ip = ''
server_port = ''
soft_version = ''
timestamp = ''
def set_account(self, account_sid, token):
self.a... | apache-2.0 |