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 |
|---|---|---|---|---|---|
using System;
namespace TodoListService_ManualJwt.Areas.HelpPage.ModelDescriptions
{
public class ParameterAnnotation
{
public Attribute AnnotationAttribute { get; set; }
public string Documentation { get; set; }
}
} | AzureADSamples/WebAPI-ManuallyValidateJwt-DotNet | TodoListService-ManualJwt/Areas/HelpPage/ModelDescriptions/ParameterAnnotation.cs | C# | apache-2.0 | 246 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `WCONTINUED` constant in crate `libc`.">
<meta name="keywor... | nitro-devs/nitro-game-engine | docs/libc/constant.WCONTINUED.html | HTML | apache-2.0 | 4,307 |
/*
* Copyright 2006-2012 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by ap... | ua-eas/ksd-kc5.2.1-rice2.3.6-ua | rice-middleware/sampleapp/src/it/java/edu/samplu/mainmenu/test/PeopleFlowCreateNewSTJUnitBkMrkGen.java | Java | apache-2.0 | 1,051 |
# Niebla pulchribarbara (Rundel & Bowler) Rundel & Bowler SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycotaxon 6(3): 499 (1978)
#### Original name
Desmazieria pulchribarbara Rundel & Bowler
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Ramalinaceae/Niebla/Niebla pulchribarbara/README.md | Markdown | apache-2.0 | 248 |
/*
* Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
*
* Cloudera, 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.org/licenses/LICE... | showyou/hoop-webhdfs-hue | hoop-server/src/main/java/com/cloudera/hoop/fs/FSUtils.java | Java | apache-2.0 | 5,152 |
/*
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
* ... | nuxleus/closure-compiler | src/com/google/javascript/rhino/jstype/JSType.java | Java | apache-2.0 | 32,020 |
using System;
using System.Xml;
using System.Xml.Serialization;
using dk.nita.saml20.Schema.XmlDSig;
namespace dk.nita.saml20.Schema.XEnc
{
/// <summary>
/// The AgreementMethod element appears as the content of a ds:KeyInfo since, like other ds:KeyInfo children,
/// it yields a key. This ds:KeyI... | symplified/Symplified.Auth | lib/OIOSAML.NET/Schema/XEnc/AgreementMethod.cs | C# | apache-2.0 | 3,134 |
package com.foo;
@DemoRepository
public class TestRepository {
public String testMethod() {
return "hello world";
}
}
| jadekler/git-misc-2 | java-annotations-testing/src/test/java/com/foo/TestRepository.java | Java | apache-2.0 | 135 |
Import-Module -Name $CI_MODULE_MANIFEST_PATH -Force
$systemUnderTest = ( Split-Path -Leaf $MyInvocation.MyCommand.Path ) -replace '\.Tests\.', '.'
$function = $systemUnderTest.Split( '.' )[0]
$describe = $Global:FORM_FUNCTION_PUBLIC -f $function
Describe -Name $describe -Tag 'Function', 'Public', $function -Fixture {... | tlindsay42/ArmorPowerShell | tests/public/Get-ArmorAccountContext.Tests.ps1 | PowerShell | apache-2.0 | 3,372 |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.myboss.cn.common.persistence.dialect.db;
import com.myboss.cn.common.persistence.dialect.Dialect;
/**
* DB2的分页数据库方言实现
*
* @author poplar.yfyang
* @version 1.0 2010-10-10 下午12:31
* @sin... | ChDiego/myboss | src/main/java/com/myboss/cn/common/persistence/dialect/db/DB2Dialect.java | Java | apache-2.0 | 3,237 |
// Copyright © 2011 - Present RealDimensions Software, 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 ... | mwrock/choco | src/chocolatey/infrastructure.app/runners/GenericRunner.cs | C# | apache-2.0 | 4,108 |
package com.thinkgem.jeesite.modules.edu.entity;
import com.thinkgem.jeesite.common.persistence.IdEntity;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Basic;
import javax.persistence.... | mawanjin/edu | src/main/java/com/thinkgem/jeesite/modules/edu/entity/QuestionCategory.java | Java | apache-2.0 | 851 |
# LZBScrollViewFoucs-Three-ImageView
三个imageView实现轮播图
#使用方法
1.导入我的头文件#import "LZBInifiteScrollView.h"
2.最好采用懒加载控件LZBInifiteScrollView(在这里是个人习惯,但是这里有个注意点:我们都知道控件的属性保存@property一般是用weak修饰,因为在addSubview的时候就已经有strong强引用这个控件了,但是懒加载的时候一定要用strong,原因:创建控件后(alloc或者new),都会使引用计数器加1,默认是强指针指向他,假如用weak修饰,返回的是_(下划线)+属性是弱引用,会自动销毁,可能返... | lzbgithubcode/LZBScrollViewFoucs-Three-ImageView | README.md | Markdown | apache-2.0 | 2,495 |
// Copyright 2014 The Bazel 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 appl... | davidzchen/bazel | src/main/java/com/google/devtools/build/lib/analysis/ConfiguredTarget.java | Java | apache-2.0 | 3,660 |
# AUTOGENERATED FILE
FROM balenalib/coral-dev-debian:buster-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python depend... | resin-io-library/base-images | balena-base-images/python/coral-dev/debian/buster/3.6.15/run/Dockerfile | Dockerfile | apache-2.0 | 4,090 |
/*
* 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");... | pfirmstone/river-internet | JGDMS/services/outrigger/outrigger-service/src/main/java/org/apache/river/outrigger/Store.java | Java | apache-2.0 | 2,165 |
(function() {
'use strict';
angular
.module('cribbleApp')
.factory('JhiMetricsService', JhiMetricsService);
JhiMetricsService.$inject = ['$rootScope', '$http'];
function JhiMetricsService ($rootScope, $http) {
var service = {
getMetrics: getMetrics,
thr... | fjuriolli/scribble | src/main/webapp/app/admin/metrics/metrics.service.js | JavaScript | apache-2.0 | 737 |
# AUTOGENERATED FILE
FROM balenalib/etcher-pro-ubuntu:bionic-run
ENV NODE_VERSION 14.16.0
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.co... | nghiant2710/base-images | balena-base-images/node/etcher-pro/ubuntu/bionic/14.16.0/run/Dockerfile | Dockerfile | apache-2.0 | 2,914 |
/*
Theme Name: farjun
Theme URI: http://dinkk.com
Author: thedinh.trinh@gmail.com
Author URI: http://dinhkk.com/
Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget ar... | dinhkk/farjun | style.css | CSS | apache-2.0 | 25,358 |
/**
* 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... | chicagozer/rheosoft | components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlRouteTest.java | Java | apache-2.0 | 10,617 |
package com.example.fw;
public class HelpersBase {
protected final ApplicationManager manager;
public HelpersBase(ApplicationManager applicationManager) {
this.manager = applicationManager;
}
}
| Angy1/addressbook-native-tests | src/com/example/fw/HelpersBase.java | Java | apache-2.0 | 203 |
go build -o colony-test-read-data-1
mv colony-test-read-data-1 $EC_APP_PATH/web
cd $EC_APP_PATH/web
./colony-test-read-data-1
| eaciit/colony-app | data-root/sample-application/colony-test-read-data-1/install.sh | Shell | apache-2.0 | 126 |
# Matthiola odorata (Jacq.) Kuntze SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Rubiaceae/Guettarda/Guettarda odorata/ Syn. Matthiola odorata/README.md | Markdown | apache-2.0 | 189 |
package com.dm.wallpaper.board.databases;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteStatement;
import android.support.... | SikanderKamran/wallpaperboard | library/src/main/java/com/dm/wallpaper/board/databases/Database.java | Java | apache-2.0 | 16,661 |
December 18, 2019 19:51:18 Library.fmp12 - deleteLearnMainRecord -1-
learn: deleteLearnMainRecord
#
#
#If node that created this record as its primary
#creator is currenlty locked then stop script,
#inform user.
If [ tagTLNodePrimary::orderOrLock ≠ "" ]
Show Custom Dialog [ Message: "The node that created this record, ... | HelpGiveThanks/Library | scripts/learn/deleteLearnMainRecord.c | C | apache-2.0 | 15,482 |
package com.fflorio.simplevalueconverter.activities;
import android.app.AlertDialog;
import android.support.annotation.StringRes;
import android.support.v7.app.AppCompatActivity;
import com.fflorio.simplevalueconverter.R;
/**
* This Class was created for SimpleValueConverter on 20/12/16
* Designed and developed by... | fr4style/converter | SimpleValueConverter/app/src/main/java/com/fflorio/simplevalueconverter/activities/AbstractActivity.java | Java | apache-2.0 | 995 |
// Copyright 2019 Jeremy Edwards
//
// 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 ... | jeremyje/gowebserver | filesystem/native.go | GO | apache-2.0 | 840 |
package io.cattle.platform.servicediscovery.api.action;
import io.cattle.platform.api.action.ActionHandler;
import io.cattle.platform.core.addon.ServiceLink;
import io.cattle.platform.core.constants.ServiceConstants;
import io.cattle.platform.core.dao.ServiceConsumeMapDao;
import io.cattle.platform.core.model.Service;... | vincent99/cattle | code/iaas/service-discovery/api/src/main/java/io/cattle/platform/servicediscovery/api/action/AddServiceLinkActionHandler.java | Java | apache-2.0 | 1,298 |
package com.chenpan.commoner.mvp.presenter;
import com.chenpan.commoner.base.pbase.BasePresenter;
import com.chenpan.commoner.mvp.view.IMusicLocalView;
/**
* Created by Administrator on 2016/7/6.
*/
public class MusicLocalPresenter extends BasePresenter<IMusicLocalView> {
}
| a616707902/Commoner | Commoner/app/src/main/java/com/chenpan/commoner/mvp/presenter/MusicLocalPresenter.java | Java | apache-2.0 | 279 |
/*
* Copyright 2012-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-cloud/spring-cloud-commons | spring-cloud-commons/src/test/java/org/springframework/cloud/client/loadbalancer/LoadBalancerUriToolsTests.java | Java | apache-2.0 | 8,292 |
# AUTOGENERATED FILE
FROM balenalib/raspberrypi4-64-fedora:33-run
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualen... | nghiant2710/base-images | balena-base-images/python/raspberrypi4-64/fedora/33/3.5.10/run/Dockerfile | Dockerfile | apache-2.0 | 2,438 |
# Quercus pedunculiflora var. typica VARIETY
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fagales/Fagaceae/Quercus/Quercus robur/ Syn. Quercus pedunculiflora typica/README.md | Markdown | apache-2.0 | 191 |
package com.twu.biblioteca.database;
import com.twu.biblioteca.databasehandlers.MediaHandler;
import com.twu.biblioteca.valueobjects.Book;
import com.twu.biblioteca.valueobjects.Media;
import com.twu.biblioteca.valueobjects.Movie;
import com.twu.biblioteca.valueobjects.User;
import java.util.ArrayList;
/**
* Create... | BaggeRob/twu-biblioteca-robertbagge | src/com/twu/biblioteca/database/MockDatabase.java | Java | apache-2.0 | 4,493 |
# Panicum spectabile var. spectabile VARIETY
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Echinochloa/Echinochloa polystachya/Panicum spectabile spectabile/README.md | Markdown | apache-2.0 | 176 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="description" content="Search the HanDeDict open-source Chinese-German dictionary online."/>
<meta name="viewport" content="user-scalable=0"/>
<title>HanDeDict Chinese-German dictionary</title>
<link href='https://fonts.googleapis.com/css?family... | zydeo/Zydeo | ZDO.Sitebuild/index-strokes.html | HTML | apache-2.0 | 3,074 |
/**
*
*
* @module AppsMallUI.directivesModule
* @submodule AppsMallUI.FileUploadModule
* @requires amlApp.directives
*/
'use strict';
/**
* HTML element directive: Renders clickable image viewing area, and HTML5 file input control to handle file uploading.
*
* Usage: ```<file-upload app-object="[Object]" fie... | ozone-development/depricated-ozp-center | apps/appsmall/public/js/directives/FileUpload.js | JavaScript | apache-2.0 | 13,048 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Author: yyg
@Create: 2016MMDD
@LastUpdate: 2016-12-15 HH:MM:SS
@Version: 0.0
"""
from json import load
from logging import (Formatter, _defaultFormatter, exception,
getLogger, FileHandler, basicCon... | hipnusleo/laserjet | lib/core/loggers.py | Python | apache-2.0 | 1,506 |
package ru.maizy.ambient7.mt8057agent
import ch.qos.logback.classic.encoder.PatternLayoutEncoder
import ch.qos.logback.classic.filter.ThresholdFilter
import ch.qos.logback.classic.spi.ILoggingEvent
import ch.qos.logback.classic.{ Level, LoggerContext, Logger => LogbackLogger }
import ch.qos.logback.core.{ ConsoleAppen... | maizy/ambient7 | mt8057-agent/src/main/scala/ru/maizy/ambient7/mt8057agent/Mt8057AgentAppLauncher.scala | Scala | apache-2.0 | 4,000 |
# This file is automatically generated by puppet-swagger-generator and
# any manual changes are likely to be clobbered when the files
# are regenerated.
require_relative '../../../puppet_x/puppetlabs/kubernetes/provider'
Puppet::Type.type(:kubernetes_ingress_tls).provide(:swagger, :parent => PuppetX::Puppetla... | garethr/garethr-kubernetes | lib/puppet/provider/kubernetes_ingress_tls/swagger.rb | Ruby | apache-2.0 | 1,629 |
using System;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace BollerTuneZ
{
[Activity (Label = "BollerTuneZ", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
int count = 1;
... | Juanah/Android-BollerTuneZApp | MainActivity.cs | C# | apache-2.0 | 789 |
/*
* The Apache License
*
* Copyright 2009 Marcelo Guimaraes <ataxexe@backpackcloud.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/license... | devnull-tools/trugger | src/test/java/com/backpackcloud/trugger/util/factory/ToNullConverter.java | Java | apache-2.0 | 840 |
var classorg_1_1onosproject_1_1cli_1_1net_1_1HostRemoveCommand =
[
[ "execute", "classorg_1_1onosproject_1_1cli_1_1net_1_1HostRemoveCommand.html#a4960a063b349a69cf44f0b607ce4cabb", null ]
]; | onosfw/apis | onos/apis/classorg_1_1onosproject_1_1cli_1_1net_1_1HostRemoveCommand.js | JavaScript | apache-2.0 | 194 |
/*******************************************************************************
* Copyright 2014 Rafael Garcia Moreno.
*
* 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://w... | bladecoder/bladecoder-adventure-engine | adventure-editor/src/main/java/com/bladecoder/engineeditor/ui/VerbList.java | Java | apache-2.0 | 8,958 |
package cobar.client.demo.test;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.util.Random;
import javax.annotation.Resource;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.naming.Reference;
import ja... | lizwmaster/cobar-client-demo | cobar-client-demo/src/test/java/cobar/client/demo/test/JndiTest.java | Java | apache-2.0 | 3,044 |
/*
* Copyright (C) 2014-2022 Philip Helger (www.helger.com)
* philip[at]helger[dot]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/LICEN... | phax/ph-commons | ph-commons/src/main/java/com/helger/commons/typeconvert/ITypeConverterCallback.java | Java | apache-2.0 | 1,097 |
/*
* Copyright 2017-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | GoogleCloudPlatform/spring-cloud-gcp | spring-cloud-gcp-pubsub/src/main/java/com/google/cloud/spring/pubsub/core/health/HealthTrackerImpl.java | Java | apache-2.0 | 4,796 |
package com.me.diankun.firstcode.service;
import android.app.IntentService;
import android.content.Intent;
import android.util.Log;
/**
* IntentService,在onHandleIntent()方法中自动开启一个线程处理耗时操作,操作结束后,自动调用stopSelf()
* <p/>
* 注意:无参的构造函数调用有参的父类构造函数
*/
public class MyIntentService extends IntentService {
p... | qdiankun/firstcode | firstcode/chapter9_service/src/main/java/com/me/diankun/firstcode/service/MyIntentService.java | Java | apache-2.0 | 1,068 |
class Solution {
public:
int maximumGap(vector<int> &num) {
int size = num.size();
if (size < 2) {
return 0;
}
int maxVal = *max_element(num.begin(), num.end());
int minVal = *min_element(num.begin(), num.end());
int gap = (maxVal - minVal - 1) / (size - 1... | Jiacai/LeetCode | Maximum Gap.cpp | C++ | apache-2.0 | 1,155 |
package com.workshop.rest.error;
import java.util.List;
public interface UserService {
List<User> list();
long create(User user);
User get(long id) throws UserIsInactiveException;
void delete(long id);
}
| adko-pl/rest-workshop | error-handling/src/main/java/com/workshop/rest/error/UserService.java | Java | apache-2.0 | 225 |
jQuery(document).ready(function ($) {
var string_locator_search_active = false;
var add_notice = function( title, message, format ) {
$(".notices").append( '<div class="notice notice-' + format + ' is-dismissible"><p><strong>' + title + '</strong><br />' + message + '</p></div>' );
};
var thro... | vaughnick/fco | wp-content/plugins/string-locator/resources/js/string-locator-search.js | JavaScript | apache-2.0 | 5,728 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script>
// 需求:写一个程序,管理一个人的信息。
// 分析:数据-姓名,性别,年龄
// step 1:
var name = "张三";
var gender = "男";
var age = 23;
// step 2:
age += 1;
// step 3:
c... | H5C3JS/hxsd | 1606/三阶/week1/day01/test.html | HTML | apache-2.0 | 450 |
import React, {Component, PropTypes} from 'react';
import MiddleArticleList from './MiddleArticleList';
import RightDetail from '../RightDetail';
import NoMatchImg from '../NoMatchImg';
import Detail from './Detail';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {selectArticle... | yodfz/nblog | PC_client/views/manage/Article/Main.js | JavaScript | apache-2.0 | 1,605 |
#!/usr/bin/env python
# Written against python 3.3.1
# Matasano Problem 3
# The hex encoded string:
# 1b37373331363f78151b7f2b783431333d78397828372d363c78373e783a393b3736
# has been XOR'd against a single character. Find the key, decrypt
# the message.
# Some of the 'magic' in this comes from a college crypto... | reschly/cryptopals | prob3.py | Python | apache-2.0 | 2,592 |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | SnappyDataInc/snappy-store | gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/engine/GemFireXDQueryObserverAdapter.java | Java | apache-2.0 | 18,602 |
package com.apsolete.machinery.common;
public interface OnResultListener<T> extends OnProgressListener
{
void onResult(T result);
void onCompleted(int count);
}
| apsolete/Machinery | app/src/main/java/com/apsolete/machinery/common/OnResultListener.java | Java | apache-2.0 | 170 |
#! /bin/sh
tinyproxy start
# do nothing, just wait
while true; do sleep 1000; done
| newnius/Dockerfiles | tinyproxy/bootstrap.sh | Shell | apache-2.0 | 86 |
<?php
function sanitizestring($var)
{
$var = stripslashes($var);
$var = strip_tags($var);
$var = htmlentities($var);
return $var;
}
function sanitizemySQL($connection, $var)
{
$var = $connection->real_escape_string($var);
$var = sanitizeString($var);
return $var;
}
?> | Robengelbert/Prework | sanitize.php | PHP | apache-2.0 | 276 |
/*
* Copyright 2012 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... | filip26/api-machine | src/test/java/org/sprintapi/api/http/header/adapter/HttpAcceptHeaderAdapterTest.java | Java | apache-2.0 | 8,377 |
/* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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.... | cube-soft/Cube.Core | Libraries/Xui/Sources/Behaviors/WindowsFormsBehavior.cs | C# | apache-2.0 | 2,131 |
/*
* 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... | aws/aws-sdk-java | aws-java-sdk-kinesisvideo/src/main/java/com/amazonaws/services/kinesisvideo/model/transform/UntagStreamResultJsonUnmarshaller.java | Java | apache-2.0 | 1,589 |
project_path: /web/tools/chrome-devtools/_project.yaml
book_path: /web/tools/chrome-devtools/_book.yaml
description:Chrome DevTools でコードを一時停止するために使用できるすべての方法を説明します。
{# wf_updated_on: 2020-07-10 #}
{# wf_published_on: 2017-02-03 #}
{# wf_blink_components: Platform>DevTools #}
{% include "web/tools/chrome-devtools/_sha... | myakura/WebFundamentals | src/content/ja/tools/chrome-devtools/javascript/breakpoints.md | Markdown | apache-2.0 | 14,655 |
<?php
/*
* 3 Column River Acitivity
*
* @package ElggRiverDash
* Full Creadit goes to ELGG Core Team for creating a beautiful social networking script
*
* Modified by Satheesh PM, BARC, Mumbai, India..
* http://satheesh.anushaktinagar.net
*
* @author ColdTrick IT Solutions
* ... | Grupo15HxH/HxH | elgg/mod/river_activity_3C/views/default/page/elements/horoscope.php | PHP | apache-2.0 | 1,018 |
# Urochloa xantholeuca (Schinz) H.Scholz SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Brachiaria/Brachiaria xantholeuca/ Syn. Urochloa xantholeuca/README.md | Markdown | apache-2.0 | 195 |
# Cassia venatoria H.S.Irwin & Barneby SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Chamaecrista/Chamaecrista venatoria/ Syn. Cassia venatoria/README.md | Markdown | apache-2.0 | 193 |
# Werauhia acuminata (Mez & Wercklé) J.R.Grant SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Bromeliaceae/Vriesea/Vriesea acuminata/ Syn. Werauhia acuminata/README.md | Markdown | apache-2.0 | 202 |
# Deutzia oaxacana Zaikonn. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Cornales/Hydrangeaceae/Deutzia/Deutzia oaxacana/README.md | Markdown | apache-2.0 | 175 |
# Colysis leveillei f. angusta (C. Chr.) Ching FORM
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Pteridophyta/Polypodiopsida/Polypodiales/Polypodiaceae/Colysis/Colysis leveillei/ Syn. Colysis leveillei angusta/README.md | Markdown | apache-2.0 | 198 |
# Utricularia obtusa Sw. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lentibulariaceae/Utricularia/Utricularia gibba/ Syn. Utricularia obtusa/README.md | Markdown | apache-2.0 | 179 |
package org.awesky.attack.test;
/**
* Created by vme on 2017/8/29.
*/
public class AttackTest {
}
| Awesky/awe-awesomesky | awe-awesomesky-attack/src/test/java/org/awesky/attack/test/AttackTest.java | Java | apache-2.0 | 101 |
# Serratula indivisa Poir. ex DC. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Serratula/Serratula indivisa/README.md | Markdown | apache-2.0 | 181 |
# Castanopsis microcarpa Hu SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fagales/Fagaceae/Castanopsis/Castanopsis fleuryi/ Syn. Castanopsis microcarpa/README.md | Markdown | apache-2.0 | 182 |
# Cassia afrofistula var. afrofistula VARIETY
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Cassia/Cassia afrofistula/Cassia afrofistula afrofistula/README.md | Markdown | apache-2.0 | 177 |
# Ophrestia upembae (Hauman) Verdc. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Ophrestia/Ophrestia upembae/README.md | Markdown | apache-2.0 | 191 |
# Marasmius cepistipes Henn. & E. Nyman SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Marasmius cepistipes Henn. & E. Nyman
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Marasmiaceae/Marasmius/Marasmius cepistipes/README.md | Markdown | apache-2.0 | 203 |
# Asperula nitida subsp. mytilinica SUBSPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Rubiaceae/Asperula/Asperula nitida/Asperula nitida mytilinica/README.md | Markdown | apache-2.0 | 194 |
# Fusulites D.O. Hemer & P.W. Nygreen, 1967 GENUS
#### Status
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Protozoa/Acritarcha/Fusulites/README.md | Markdown | apache-2.0 | 205 |
package com.twitter.inject.tests
import com.twitter.finagle.stats.InMemoryStatsReceiver
import com.twitter.inject.InMemoryStatsReceiverUtility
import com.twitter.inject.Test
import com.twitter.conversions.DurationOps._
import com.twitter.util.FuturePool
import org.scalatest.exceptions.TestFailedDueToTimeoutException
... | twitter/finatra | inject/inject-core/src/test/scala/com/twitter/inject/tests/InMemoryStatsReceiverUtilityTest.scala | Scala | apache-2.0 | 3,773 |
# Penicillium indicum D.K. Sandhu & R.S. Sandhu, 1963 SPECIES
#### Status
SYNONYM
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Leotiomycetes/Helotiales/Sclerotiniaceae/Botrytis/Penicillium chermesinum/ Syn. Penicillium indicum/README.md | Markdown | apache-2.0 | 216 |
/*
* Copyright (c) 2015 David Venable.
*
* 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... | dlvenable/dynamic-dynamo | src/test/java/io/venable/amazonaws/dynamo/table/builder/PrimaryKeyBuilderImplTest.java | Java | apache-2.0 | 4,953 |
package cn.evilcoder.algorithm;
import java.util.Arrays;
/**
* 素数
* Created by huangshanqi on 2016/7/10.
* See more at <a href = "http://www.evilcoder.cn">www.evilcoder.cn</a>
*/
public class Prime {
/**
* 判断num是否是素数
* @param num
* @return
*/
public static boolean isPrime(int num) {
... | huangshanqi/algorithom-tutorial | src/cn/evilcoder/algorithm/Prime.java | Java | apache-2.0 | 1,925 |
#pragma once
#include "VectorCommon.h"
#include "../Interfaces/ITransformer.h"
#include "Vector2D.h"
namespace SupergodCore { namespace Math
{
struct Vector4D;
/// <summary>
/// Represents a 3-component mathematical vector.
/// </summary>
struct SUPERGOD_API_CLASS Vector3D final : public VectorBase<Vector3D>
{... | OrAviram/Supergod-Engine | SupergodCore/Math/Vectors/Vector3D.h | C | apache-2.0 | 7,492 |
package com.github.shredder121.gh_event_api.handler.issues;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.context.annotation.Bean;
import com.github.shredder121.gh_event_api.GHEventApiServer;
import com.github.shredder121.gh_event_api.handler.AbstractHandlerTest;
@Sp... | Shredder121/gh-event-api | src/test/java/com/github/shredder121/gh_event_api/handler/issues/IssuesHandlerTest.java | Java | apache-2.0 | 628 |
import * as Preact from '#preact';
import {
Alignment,
Axis,
findOverlappingIndex,
getPercentageOffsetFromAlignment,
scrollContainerToElement,
} from './dimensions';
import {WithBentoLightboxGallery} from '../../amp-lightbox-gallery/1.0/component';
import {debounce} from '#core/types/function';
import {forwar... | smartadserver/amphtml | extensions/amp-base-carousel/1.0/scroller.js | JavaScript | apache-2.0 | 11,287 |
/**
* @author eamonn
*
*/
package com.srcdevbin.buildbot.activity.movement; | elmodaddyb/buildbot | buildbot-activity/src/com/srcdevbin/buildbot/activity/movement/package-info.java | Java | apache-2.0 | 78 |
unsigned char keyboard_map[]={
129,140,141,130,130,130,130,130,130,130,130,130,130,130,130,130,
130,130,130,131,0,0,0,0,0,0,0,0,0,0,0,0,
132,34,39,94,96,126,92,65,66,67,68,69,70,71,60,55,
56,57,43,133,0,0,0,0,0,0,0,0,0,0,0,0,
132,33,63,58,59,44,95,72,73,74,75,76,77,78,62,52,
53,54,45,133,0,0,0,0,0,0,0,0,0,0,0,0,
132,40... | haroldo-ok/really-old-stuff | gameboy/gbv8_100/SOURCE/KEYBMAP.H | C++ | apache-2.0 | 599 |
FROM centos
MAINTAINER Lothar Wieske <lothar.wieske@gmail.com>
RUN yum update -y && \
curl --insecure --junk-session-cookies --location --remote-name --silent --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u45-b14/server-jre-8u45-linux-x64.tar.gz && \
... | lwieske/dockerfiles-java-8 | 8u45/server-jre/Dockerfile | Dockerfile | apache-2.0 | 767 |
# Meliola manca Ellis & G. Martin SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Am. Nat. 17: 1284 (1883)
#### Original name
Meliola manca Ellis & G. Martin
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Meliolales/Meliolaceae/Meliola/Meliola manca/README.md | Markdown | apache-2.0 | 211 |
/*
* 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 ... | wjsl/jaredcumulo | test/src/main/java/org/apache/accumulo/test/functional/ScanSessionTimeOutTest.java | Java | apache-2.0 | 3,784 |
<?php
namespace Google\Service\Compute;
/*
* Copyright 2010 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 req... | xevious99/google-api-php-client | src/Google/Service/Compute/HealthStatus.php | PHP | apache-2.0 | 1,223 |
package light
import (
"bytes"
"context"
"errors"
"fmt"
"time"
"github.com/tendermint/tendermint/light/provider"
"github.com/tendermint/tendermint/types"
)
// The detector component of the light client detects and handles attacks on the light client.
// More info here:
// tendermint/docs/architecture/adr-047-... | tendermint/tendermint | light/detector.go | GO | apache-2.0 | 17,660 |
/*
==================================================================
Author: Karthik Venkataramana Pemmaraju.
Compilation: g++ IntList.cpp -c
Description: Implements data structure of sequence of ints.
Compiled and tested on 09/17/2017
==================================================================
*/
#include "In... | Group5SE/PrologVM | IP/src/iProlog/IntList.cpp | C++ | apache-2.0 | 5,275 |
<?php
foreach ($a as $key) {
?>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-content">
<h2>
Edite los datos del nuevo empleado.
... | animedy/UTP_APLICACION | UTP_Aplicacion/2. Construccion/2.3. Codigo Fuente/Restaurant/application/views/admin/_editar_empleado.php | PHP | apache-2.0 | 14,696 |
package org.cam.core.domain;
import org.cam.core.cache.Copyable;
import java.io.Serializable;
/**
* Authorization entity.
*/
public interface User extends Serializable,Copyable{
public String getId();
public String getName();
}
| yaohuiwu/CAM | cam-core/src/main/java/org/cam/core/domain/User.java | Java | apache-2.0 | 244 |
/*
* Copyright 2017 Vector Creations 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 a... | noepitome/neon-android | neon/src/main/java/im/neon/activity/CountryPickerActivity.java | Java | apache-2.0 | 6,624 |
/* Copyright 2017 Bennett Dong. 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 l... | FlyingDuck/sparrow | src/main/java/club/cookbean/sparrow/writer/impl/StripedWriteBehind.java | Java | apache-2.0 | 3,711 |
# Polygonum pyramidatum Loisel. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Polygonaceae/Polygonum/Polygonum pyramidatum/README.md | Markdown | apache-2.0 | 179 |
# 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 u... | DavidHerzogTU-Berlin/cassandraToRun | bin/cassandra2.in.sh | Shell | apache-2.0 | 1,594 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_20) on Tue Jan 20 23:37:44 CET 2015 -->
<title>Uses of Package exceptions</title>
<meta name="date" content="2015-01-20">
<link rel="styles... | Corporatique-dev/Corporatique | doc/exceptions/package-use.html | HTML | apache-2.0 | 5,662 |
package org.hibernate.validator.test.valid;
import org.hibernate.validator.Valid;
/**
* @author Emmanuel Bernard
*/
public class Form {
private Member member;
@Valid
public Member getMember() {
return member;
}
public void setMember(Member m) {
this.member = m;
}
}
| emmanuelbernard/hibernate-validator | hibernate-validator-legacy/src/test/java/org/hibernate/validator/test/valid/Form.java | Java | apache-2.0 | 303 |
package com.xubin.starclass.utils;
import android.text.TextUtils;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.xubin.starclass.R;
import com.xubin.starclass.https.XUtils;
import java.lang.reflect.Type;
/**
* Created by Xubin on 2015/9/2.
*/
public class JsonUtil<T> {
... | hnxylc8818/StarClass | src/main/java/com/xubin/starclass/utils/JsonUtil.java | Java | apache-2.0 | 1,252 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.