repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
grendello/nuget | src/Core/Packages/DataServicePackage.cs | 9582 | using System;
using System.Collections.Generic;
using System.Data.Services.Common;
using System.IO;
using System.Linq;
using NuGet.Resources;
namespace NuGet {
[DataServiceKey("Id", "Version")]
[EntityPropertyMapping("LastUpdated", SyndicationItemProperty.Updated, SyndicationTextContentKind.Plaintext,... | apache-2.0 |
zzsoszz/webservice_gzdx | opensource_cxf/org/apache/cxf/tools/common/ToolConstants.java | 12534 | /**
* 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 m... | apache-2.0 |
ZhangXFeng/hadoop | share/doc/hadoop-mapreduce1/api/org/apache/hadoop/mapred/lib/db/class-use/DBOutputFormat.DBRecordWriter.html | 4643 | <!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.7.0_75) on Tue May 19 17:15:49 PDT 2015 -->
<title>Uses of Class org.apache.hadoop.mapred.lib.db.DBOutputFormat.DBRecordWriter (Hadoop 2.6.... | apache-2.0 |
tianyangj/gdax-tt | docs/apiref/interfaces/_src_lib_orderbook_.pricecomparable.html | 11761 | <!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>PriceComparable | GDAX Trading Toolkit API Reference</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="... | apache-2.0 |
pravega/pravega | client/src/test/java/io/pravega/client/connection/impl/ConnectionPoolingTest.java | 21376 | /**
* Copyright Pravega 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... | apache-2.0 |
adrfer/swift | lib/SILOptimizer/Utils/CheckedCastBrJumpThreading.cpp | 26094 | #define DEBUG_TYPE "sil-simplify-cfg"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "swift/SIL/SILInstruction.h"
#include "swift/SILOptimizer/Analysis/DominanceAnalysis.h"
#include "swift/SILOptimizer/Utils/CFG.h"
#include "swift/SILOptimizer/Utils/Local.h"
#include "swift/SILOptimizer/Ut... | apache-2.0 |
ikraikra/bunsekiya | src/main/java/jp/co/omana/action/ServiceAction.java | 387 | package jp.co.omana.action;
import org.seasar.struts.annotation.Execute;
public class ServiceAction {
@Execute(validator = false)
public String index() {
return "board.jsp";
}
@Execute(validator = false)
public String confirm() {
return "index.jsp";
}
@Execute(validator = fals... | apache-2.0 |
tao12345666333/app-turbo | demos/helloworld/store/actions.py | 322 | from turbo.flux import Mutation, register, dispatch, register_dispatch
import mutation_types
@register_dispatch('user', mutation_types.INCREASE)
def increase(rank):
pass
def decrease(rank):
return dispatch('user', mutation_types.DECREASE, rank)
@register_dispatch('metric', 'inc_qps')
def inc_qps():
pa... | apache-2.0 |
sivaprasadreddy/springboot-learn-by-example | chapter-09/springboot-multiple-datasources-demo/src/main/java/com/sivalabs/demo/orders/repositories/OrderRepository.java | 274 | /**
*
*/
package com.sivalabs.demo.orders.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import com.sivalabs.demo.orders.entities.Order;
/**
* @author Siva
*
*/
public interface OrderRepository extends JpaRepository<Order, Integer>{
}
| apache-2.0 |
openstack/tempest | tempest/api/compute/admin/test_migrations.py | 7577 | # Copyright 2014 NEC Corporation. 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 ... | apache-2.0 |
CANopenNode/CANopenSocket | docs/structCO__config__t.js | 3451 | var structCO__config__t =
[
[ "CNT_NMT", "structCO__config__t.html#aeef814580eb5ece5156e63bfc1b490c9", null ],
[ "ENTRY_H1017", "structCO__config__t.html#ad17f77b55de3d90ec983fcac49eeab6d", null ],
[ "CNT_HB_CONS", "structCO__config__t.html#a0031fc8f80e95f8480c918dbf8289671", null ],
[ "ENTRY_H1016", "s... | apache-2.0 |
ArasExtensions/Aras.ViewModel | Aras.ViewModel.Design/Applications/Parts.cs | 3016 | /*
Copyright 2017 Processwall Limited
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 |
qtproject/qtqa-gerrit | polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.html | 7508 | <!--
@license
Copyright (C) 2016 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 applicable law or agr... | apache-2.0 |
Henrywald/crispy-waffle | Crispy-Waffle/Vector2.cpp | 1685 | #include <tuple>
#include "Vector2.h"
Vector2::Vector2(void)
{
}
Vector2::Vector2(float X, float Y)
{
this->X = X;
this->Y = Y;
}
// Returns the length of the vector
float Vector2::Magnitude()
{
return sqrt(X * X + Y * Y);
}
// Returns the length of the vector squared
// Used for length comparisons without need... | apache-2.0 |
liyuzhao/enterpriseChat-android | src/com/easemob/chatuidemo/activity/RecorderVideoActivity.java | 16993 | /************************************************************
* * EaseMob CONFIDENTIAL
* __________________
* Copyright (C) 2013-2014 EaseMob Technologies. All rights reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of EaseMob Technologies.
* Dissemination of this info... | apache-2.0 |
Apteryx0/choco | src/chocolatey.tests.integration/scenarios/ListScenarios.cs | 16496 | // Copyright © 2017 Chocolatey Software, Inc
// Copyright © 2011 - 2017 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.apach... | apache-2.0 |
andreasohlund/andreasohlund.github.io | _posts/2007-05-19-solution-domain-architecture.html | 1233 | ---
layout: post
title: ">Solution Domain Architecture"
date: 2007-05-19 21:10:00.000000000 +02:00
categories:
- SDA SOA
tags: []
status: publish
type: post
published: true
meta:
blogger_blog: andreasohlund.blogspot.com
blogger_permalink: "/2007/05/solution-domain-architecture.html"
author:
login: andreas.ohlund
... | apache-2.0 |
camerond594/camerond594.github.io | css/linux-styles.css | 4117 | @font-face {
font-family: 'Braille';
src: url(http://tjb0607.me/i3_tumblr_theme/font/Braille.woff);
}
html {
background-color: #7C8491;
background-image: url(http://static.tumblr.com/bwey4ra/Gzwno4oq5/sunset.jpg);
background-position: bottom;
background-attachment: fixed;
height: 100%;
margin: 0px;
-webkit-bac... | apache-2.0 |
stellar/ruby-stellar-base | generated/stellar/public_key_type.rb | 473 | # This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten
require 'xdr'
# === xdr source ============================================================
#
# enum PublicKeyType
# {
# PUBLIC_KEY_TYPE_ED25519 = KEY_TYPE_ED25519
# };
#
# ===============================... | apache-2.0 |
topazio/varjaomidia | WebContent/css/geral.css | 11612 | @CHARSET "UTF-8";
/*PRINCIPAL*/
body{
margin:0px;
padding:0;
font-family:verdana;
font-size: 10px;
height:100%;
width: 100%;
}
img {
border:0;
}
em {
color: #b1b1b1;
font-style: italic;
}
a {
color:#333333;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
h1, h... | apache-2.0 |
tensorflow/tfjs-examples | angular-predictive-prefetching/client/src/app/merch-display/merch-display.component.ts | 1198 | import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Location } from '@angular/common';
import { Merch } from '../data/merch';
import { MerchService } from '../data/merch.service';
@Component({
selector: 'app-merch-display',
templateUrl: './merch-display.co... | apache-2.0 |
sergej-samsonow/code-generator | producer/pojo/src/main/java/com/github/sergejsamsonow/codegenerator/producer/pojo/renderer/JavaLangToString.java | 1597 | package com.github.sergejsamsonow.codegenerator.producer.pojo.renderer;
import com.github.sergejsamsonow.codegenerator.api.producer.sc.SCMethodCodeConcatenator;
import com.github.sergejsamsonow.codegenerator.api.producer.sc.SCNewLineAndIndentationFormat;
import com.github.sergejsamsonow.codegenerator.producer.pojo.mod... | apache-2.0 |
apetresc/aws-sdk-for-java-on-gae | src/main/java/com/amazonaws/services/autoscaling/model/TerminateInstanceInAutoScalingGroupResult.java | 2135 | /*
* Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
zoltangbereczky/node-oauth2-server | lib/authorise.js | 6699 | /**
* Copyright 2013-present NightWorld.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | apache-2.0 |
saagie/jupyter-saagie-plugin | saagie/server_extension.py | 16090 | from functools import wraps
import json
import os
import traceback
import validators
from jinja2 import Environment, PackageLoader
from notebook.utils import url_path_join
from notebook.base.handlers import IPythonHandler
import requests
from requests.auth import HTTPBasicAuth
env = Environment(
loader=PackageLo... | apache-2.0 |
freedot/tstolua | tests/baselines/reference/contextualTypeWithUnionTypeMembers.js | 6404 | //// [contextualTypeWithUnionTypeMembers.ts]
//When used as a contextual type, a union type U has those members that are present in any of
// its constituent types, with types that are unions of the respective members in the constituent types.
interface I1<T> {
commonMethodType(a: string): string;
commonPrope... | apache-2.0 |
SuperMap/iClient-for-Win8 | iClient60ForWinRT/SuperMap.WinRT.REST/Map/GetMapStatusAndLayerInfo/ServerLayer.cs | 12064 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperMap.WinRT.Core;
using SuperMap.WinRT.Utilities;
using Windows.Data.Json;
using Windows.UI;
namespace SuperMap.WinRT.REST
{
/// <summary>
/// <para>${REST_ServerLayer_Title}</para>
/// <para>${REST_ServerLaye... | apache-2.0 |
kubernetes/autoscaler | cluster-autoscaler/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/diskclient/mockdiskclient/interface.go | 5056 | // /*
// Copyright 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 ... | apache-2.0 |
RSUP/TENJUTA | js/third-party/tooltips/darktooltip.css | 8220 | .tobox{
float: left;
padding: 10px;
background-color: #eee;
width:120px;
margin:0 10px 10px 0px;
text-align:center;
border-radius: 3px;
}
.tobox.two{
width: 180px;
}
.tobox.fixed-box{
position:fixed;
right:50px;
top:50px;
}
.dark-tooltip{ display:none; position:absolute; z-index:99; text-decoration:none;... | apache-2.0 |
inputx/code-ref-doc | bonfire/_variables/object1.html | 5024 | <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Variable Reference: $object1</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample-print.css... | apache-2.0 |
mpoindexter/teavm | teavm-classlib/src/main/java/org/teavm/classlib/java/util/TRandom.java | 1877 | /*
* Copyright 2014 Alexey Andreev.
*
* 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... | apache-2.0 |
EdwinRybarczyk/SilentProgrammingLanguage | SilentCompiler/include/SHelper.hpp | 2595 | #include <iostream>
#include "SParser.hpp"
#pragma once
namespace Silent
{
/*static class SymTablePrinter
{
public:
static void Out(std::string str, uint64_t currentTab)
{
std::string tabs = "";
for (uint64_t i = 0; i < currentTab; i++) tabs += "\t";
... | apache-2.0 |
m-m-m/util | io/src/main/java/net/sf/mmm/util/io/base/ByteArrayImpl.java | 2897 | /* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.util.io.base;
import net.sf.mmm.util.exception.api.NlsNullPointerException;
/**
* This class is similar to {@link java.nio.ByteBuffer} but a lot simpler.
*
* ... | apache-2.0 |
EvilMcJerkface/crate | server/src/test/java/io/crate/execution/engine/collect/DocValuesGroupByOptimizedIteratorTest.java | 10272 | /*
* Licensed to Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... | apache-2.0 |
vespa-engine/vespa | vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java | 372 | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespaclient;
public class ClusterDef {
private final String name;
public ClusterDef(String name) { this.name = name; }
public String getName() { return name; }
public String getRou... | apache-2.0 |
jbb-project/jbb | domain-rest/jbb-security-rest/src/main/java/org/jbb/security/rest/oauth/client/ClientSecretDto.java | 751 | /*
* Copyright (C) 2018 the original author or authors.
*
* This file is part of jBB Application Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.jbb.security.rest.oauth.cl... | apache-2.0 |
jaymzh/chef | lib/chef/knife/user_create.rb | 3187 | #
# Author:: Steven Danna (<steve@chef.io>)
# Author:: Tyler Cloke (<tyler@chef.io>)
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obt... | apache-2.0 |
danielfrg/word2vec | word2vec/wordclusters.py | 1041 | import numpy as np
class WordClusters(object):
def __init__(self, vocab, clusters):
self.vocab = vocab
self.clusters = clusters
def ix(self, word):
"""
Returns the index on self.vocab and self.clusters for 'word'
"""
temp = np.where(self.vocab == word)[0]
... | apache-2.0 |
liyiorg/weixin-popular | src/main/java/weixin/popular/bean/scan/crud/ProductCreate.java | 395 | package weixin.popular.bean.scan.crud;
import weixin.popular.bean.scan.base.ProductGet;
import weixin.popular.bean.scan.info.BrandInfo;
public class ProductCreate extends ProductGet {
private BrandInfo brand_info;
public BrandInfo getBrand_info() {
return brand_info;
}
public void setBrand_... | apache-2.0 |
lunatik-210/maps-test | frontend/src/index.html | 1575 | <!doctype html>
<html ng-app="frontend">
<head>
<meta charset="utf-8">
<title>frontend</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- build:css({.tmp/serve,src}) st... | apache-2.0 |
ioanrogers/aws-sdk-perl | auto-lib/Paws/CloudDirectory/BatchDetachFromIndex.pm | 1824 | package Paws::CloudDirectory::BatchDetachFromIndex;
use Moose;
has IndexReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1);
has TargetReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1);
1;
### main pod documentation begin ###
=head1 NAM... | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Dematium/Dematium graminum/README.md | 219 | # Dematium graminum Lib. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Pl. crypt. Arduenna (Liège), fasc. no. 284 (1830)
#### Original name
Dematium graminum Lib.
### Remarks
null | apache-2.0 |
BuddhistDigitalResourceCenter/buda-base | conf/fuseki/update.sh | 2560 | #!/usr/bin/env bash
systemctl stop fuseki
systemctl stop marple
#general vars
echo ">>>> Updating Fuseki"
export TC_USER=fuseki
export TC_GROUP=fuseki
# set erb vars
# endpoint name for fuseki
export EP_NAME=core
export SVC=fuseki
export SVC_DESC="Jena-Fuseki Tomcat container"
export MARPLE_SVC=marple
export MARPLE_S... | apache-2.0 |
mattinsler/guiceymongo | src/main/java/com/mattinsler/guiceymongo/data/query/BSONType.java | 891 | package com.mattinsler.guiceymongo.data.query;
import org.bson.BSON;
/**
* Created by IntelliJ IDEA.
* User: mattinsler
* Date: 12/29/10
* Time: 3:28 AM
* To change this template use File | Settings | File Templates.
*/
public enum BSONType {
Double(BSON.NUMBER),
String(BSON.STRING),
Object(BSON.OBJ... | apache-2.0 |
ruspl-afed/dbeaver | plugins/org.jkiss.dbeaver.ext.oracle/src/org/jkiss/dbeaver/ext/oracle/views/PrefPageOracle.java | 4753 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org)
* Copyright (C) 2011-2012 Eugene Fradkin (eugene.fradkin@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You... | apache-2.0 |
andywu91/fruitMix-android | app/src/main/java/com/winsun/fruitmix/model/Equipment.java | 815 | package com.winsun.fruitmix.model;
/**
* Created by Administrator on 2016/7/6.
*/
public class Equipment {
private String serviceName;
private String host;
private int port;
public Equipment(String serviceName, String host, int port) {
this.serviceName = serviceName;
this.host = hos... | apache-2.0 |
redbuttegarden/redbuttegarden.github.io | whats-blooming/_posts/2009-08-31-end_of_august_blooms.html | 1240 | ---
title: End of August Blooms
date: 2009-08-31 00:00:00 -06:00
categories:
- whats-blooming
layout: post
blog-banner: whats-blooming-now-summer.jpg
post-date: August 31, 2009
post-time: 8:09 AM
blog-image: wbn-default.jpg
---
<div class = "text-center">
<p>Look for these beauties as you stroll through the garden.</... | apache-2.0 |
Cofyc/tidb | types/compare.go | 2788 | // Copyright 2015 PingCAP, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | apache-2.0 |
sanyiwangshan/my_space | backend/src/main/java/com/wangshan/service/impl/ValidateServiceImpl.java | 1047 | package com.wangshan.service.impl;
import com.wangshan.dao.UserDao;
import com.wangshan.models.User;
import com.wangshan.service.ValidateService;
import com.wangshan.utils.gabriel.EncryptUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Apocynaceae/Mitozus/Mitozus scabridulus/README.md | 175 | # Mitozus scabridulus Miers SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
bbc/process-helper | VERSIONING.md | 767 | ## Versioning & Releasing
Increments in the version should be done by one of the project owners.
The version should follow the standard `major.minor.patch` style, see http://semver.org/ for which defines the specification. The examples below are a paraphrasing of that specification.
# Examples of changes that would ... | apache-2.0 |
mrhsce/officeAutomation | login.php | 3700 | <?php
/**
* Created by PhpStorm.
* User: Mohammad Eslahi Sani
* Date: 04/10/1394
* Time: 9:06 PM
*/
//dl('php_pdo_sqlsrv_55_ts.dll');
// phpinfo();
if(isset($_SESSION['login'])){
}
elseif(isset($_POST['username']) && isset($_POST['password'])){
$u = $_POST['username'];
$p = $_POST['password'];
// ex... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Euphorbiaceae/Croton/Croton touranensis/README.md | 184 | # Croton touranensis Gagnep. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
NationalSecurityAgency/ghidra | Ghidra/Framework/Generic/src/main/java/ghidra/util/prop/SaveableObjectPropertySet.java | 3858 | /* ###
* IP: GHIDRA
* REVIEWED: YES
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | apache-2.0 |
baynezy/Html2Markdown | src/Html2Markdown/Replacement/HtmlParser.cs | 7024 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using HtmlAgilityPack;
namespace Html2Markdown.Replacement
{
internal static class HtmlParser
{
private static readonly Regex NoChildren = new Regex(@"<(ul|ol)\b[^>]*>(?:(?!<ul|<ol)[\s\S])*?<\... | apache-2.0 |
AutohomeOps/Assets_Report | api_server/api_server/urls.py | 846 | """api_server URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class... | apache-2.0 |
everttigchelaar/camel-svn | camel-core/src/test/java/org/apache/camel/component/seda/SedaInOutWithErrorDeadLetterChannelTest.java | 2341 | /**
* 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 |
Martin2112/trillian | merkle/coniks/coniks.go | 5031 | // Copyright 2017 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... | apache-2.0 |
rafd123/aws-sdk-net | sdk/src/Services/WAF/Generated/Model/Internal/MarshallTransformations/RuleSummaryUnmarshaller.cs | 3306 | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
google/copybara | CONTRIBUTING.md | 1101 | # Contributing guidelines
## How to become a contributor and submit your own code
### Contributor License Agreements
We'd love to accept your patches! Before we can take them, we have to jump a couple of legal hurdles.
Please fill out either the individual or corporate Contributor License Agreement (CLA).
* If y... | apache-2.0 |
NickrenREN/kubernetes | staging/src/k8s.io/apiserver/pkg/endpoints/installer.go | 44987 | /*
Copyright 2015 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 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Chenopodiaceae/Obione/Obione tularensis/README.md | 183 | # Obione tularensis (Coville) Ulbr. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
ArcherCraftStore/ArcherVMPeridot | RailsInstaller_D/Git/doc/git/html/git-filter-branch.html | 36402 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.6.8" />
<title>git-filter-br... | apache-2.0 |
lukas-ke/faint-graphics-editor | text/utf8-string.cpp | 6218 | // -*- coding: us-ascii-unix -*-
// Copyright 2012 Lukas Kemmer
//
// 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 |
AsuraTeam/monitor | server/src/main/java/com/asura/monitor/platform/dao/MonitorPlatformServerDao.java | 1279 | package com.asura.monitor.platform.dao;
import com.asura.framework.base.paging.PagingResult;
import com.asura.framework.base.paging.SearchMap;
import com.asura.framework.dao.mybatis.base.MybatisDaoContext;
import com.asura.framework.dao.mybatis.paginator.domain.PageBounds;
import com.asura.common.dao.BaseDao;
import c... | apache-2.0 |
beanvalidation/beanvalidation-tck | tests/src/main/java/org/hibernate/beanvalidation/tck/tests/constraints/constraintdefinition/ConstraintDefinitionsTest.java | 4672 | /**
* Jakarta Bean Validation TCK
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.beanvalidation.tck.tests.constraints.constraintdefinition;
import static org.hibernate.beanvalidation.tck.util.Const... | apache-2.0 |
dbrimley/hazelcast | hazelcast/src/main/java/com/hazelcast/map/impl/MapKeyLoaderUtil.java | 7145 | /*
* Copyright (c) 2008-2017, Hazelcast, 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 ... | apache-2.0 |
mwaylabs/uikit | src-relution/templates/mwComponentsBb/mwVersionSelector.html | 848 | <div class="btn-group mw-version-selector">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="descriptor">Version </span>
<span class="descriptor-sm">V. </span>
{{currentVersionModel.attributes[versionNumberKey]}}
<span ng-if="currentVersionModel.attrib... | apache-2.0 |
cloudmesh/book | cloud-technologies/chapters/tech/15-12-Slurm.md | 1574 | ## Slurm :o:
| | |
| -------- | --------------------------- |
| title | Slurm |
| status | 10 |
| section | Cluster Resource Management |
| keywords | Cluster Resource Management |
Simple Linux Utility for Resource Managemen... | apache-2.0 |
Patreo/yonk | wp-content/themes/YonkTheme/yonk-core/plugins/pagenavi.php | 2213 | <?php
defined('ABSPATH') or die('No script kiddies please!');
/**
* Undocumented function
*
* @return void
*/
function Yonk_numeric_posts_nav() {
if(is_singular())
return;
global $wp_query;
/** Stop execution if there's only 1 page */
if($wp_query->max_num_pages <= 1)
return;
... | apache-2.0 |
chrishumphreys/provocateur | provocateur-thirdparty/src/main/java/org/targettest/org/apache/lucene/index/MultiReader.java | 14073 | package org.targettest.org.apache.lucene.index;
/**
* 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... | apache-2.0 |
scholzj/barnabas | systemtest/src/test/java/io/strimzi/systemtest/kafka/KafkaST.java | 107527 | /*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.systemtest.kafka;
import io.fabric8.kubernetes.api.model.ConfigMap;
import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.api.model.Pe... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Euphorbiaceae/Macaranga/Macaranga kingii/ Syn. Tanarius kingii/README.md | 189 | # Tanarius kingii (Hook.f.) Kuntze SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
val314159/framist | fssvr/fs.py | 1267 | import os,json
from cgi import escape
def unescape(s):
s = s.replace("<", "<")
s = s.replace(">", ">")
# this has to be last:
s = s.replace("&", "&")
return s
class FilesystemMixin:
def h_fs_get(_,path,eltName=''):
from stat import S_ISDIR
data = (escape(open(path).re... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Tephrosia/Tephrosia retamoides/ Syn. Tephrosia retamoides genuina/README.md | 197 | # Tephrosia retamoides var. genuina R.Vig. 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/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Marasmiaceae/Marasmius/Marasmius microhaedinus/README.md | 217 | # Marasmius microhaedinus Singer SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Sydowia 18(1-6): 260, 338 (1965)
#### Original name
Marasmius microhaedinus Singer
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Plantae/Bryophyta/Bryopsida/Bryales/Bryaceae/Bryum/Bryum lamprostegum/README.md | 193 | # Bryum lamprostegum C. Müller, 1853 SPECIES
#### 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/Rosales/Rosaceae/Malus/Malus asiatica/ Syn. Malus domestica asiatica/README.md | 203 | # Malus domestica var. asiatica (Nakai) Ponomar. 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/Sapindales/Rutaceae/Zanthoxylum/Zanthoxylum ochroxylum/README.md | 176 | # Zanthoxylum ochroxylum DC. 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/Amitostigma/Amitostigma hemipilioides/ Syn. Ponerorchis hemipilioides/README.md | 195 | # Ponerorchis hemipilioides (Finet) Soó SPECIES
#### 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/Bacillariophyta/Bacillariophyceae/Naviculales/Naviculaceae/Navicula/Navicula directa/Navicula directa remota/README.md | 201 | # Navicula directa var. remota (Grunow) Cleve VARIETY
#### 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/Brassicales/Brassicaceae/Draba/Draba nuda/ Syn. Sisymbrium nudum/README.md | 198 | # Sisymbrium nudum (Bél. ex Boiss.) Boiss. SPECIES
#### 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/Asterales/Asteraceae/Anthemis/Anthemis secundiramea/ Syn. Anthemis cossyrensis/README.md | 183 | # Anthemis cossyrensis Guss. SPECIES
#### 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/Pteridophyta/Lepidodendraceae/Lepidodendron/Lepidodendron crenatum/README.md | 188 | # Lepidodendron crenatum SPECIES
#### 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/Plantae/Magnoliophyta/Magnoliopsida/Myrtales/Melastomataceae/Pleroma/Pleroma erigeron/README.md | 183 | # Pleroma erigeron Spruce ex Triana 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/Sapindales/Meliaceae/Ruagea/Ruagea insignis/README.md | 202 | # Ruagea insignis (C.DC.) T.D.Penn. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Cabralea insignis C.DC.
### Remarks
null | apache-2.0 |
cwen0/cdb-syncer | db.go | 9435 | // Copyright 2016 PingCAP, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | apache-2.0 |
Ericliu001/basic-algorithms | src/test/java/com/basicalgorithms/coding_games/CodersStrikeBack.java | 6186 | package com.basicalgorithms.coding_games;
import java.util.HashSet;
import java.util.Objects;
import java.util.Scanner;
import java.util.Set;
/**
* Original question: https://www.codingame.com/multiplayer/bot-programming/coders-strike-back
*/
public class CodersStrikeBack {
static double longestDist = Integer.... | apache-2.0 |
videojs/grunt-videojs-languages | tasks/videojs_languages.js | 1338 | 'use strict';
var path = require('path');
var util = require('util');
module.exports = function(grunt) {
grunt.registerMultiTask('vjslanguages', 'A Grunt plugin for compiling VideoJS language assets.', function() {
var createLanguageFile = function(languageName, languageData, jsFilePath) {
var jsTemplate... | apache-2.0 |
shuizhuqing/WJQiuBai | 糗百框架(API数据)/糗百框架/WJAuthorView.h | 337 | //
// WJAuthorView.h
// 糗百框架
//
// Created by 孙文君 on 15/6/30.
// Copyright (c) 2015年 sunwenjun. All rights reserved.
//
#import <UIKit/UIKit.h>
@class WJFrameAuthor,WJAuthor;
@interface WJAuthorView : UIView
//@property(nonatomic,strong)WJAuthor *author;
@property(nonatomic,strong)WJFrameAuthor *authorFrame;
@end... | apache-2.0 |
CanIFuckYou/AirTouch | AirTouch/Framework/App/Controller/HomeManagementVC/AddHomeVC/AddHomeViewController.h | 355 | //
// AddHomeViewController.h
// AirTouch
//
// Created by kenny on 15/8/12.
// Copyright (c) 2015年 Honeywell. All rights reserved.
//
#import "BaseViewController.h"
#import "IContainerViewControllerDelegate.h"
@interface AddHomeViewController : BaseViewController
@property (nonatomic, weak) id<IContainerViewCon... | apache-2.0 |
ankuradhey/dealtrip | library/Zend/Filter/BaseName.php | 1408 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of th... | apache-2.0 |
prestodb/presto-admin | tests/unit/test_catalog.py | 9157 | # -*- 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 |
wxiwei/manage | src/main/webapp/WEB-INF/js/user/userEditor.js | 1536 | $(document).ready(function(){
$("#inc_tab #tb1").removeClass();
$("#inc_tab #tb4").addClass("active");
$("#user_name").blur(function(){
var user_name = $.trim($(this).val());
$(this).val(user_name);
if (user_name.length==0){
$(this).parent().find("#user_name_null_warn").show();
$(this).parent().fin... | apache-2.0 |
mdoering/backbone | life/Fungi/Basidiomycota/Exobasidiomycetes/Entylomatales/Entylomataceae/Entyloma/Entyloma ficariae/README.md | 278 | # Entyloma ficariae A.A. Fisch. Waldh., 1877 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Bull. Soc. nat. Moscou, Biol. 52: 309 (1877)
#### Original name
Entyloma ficariae A.A. Fisch. Waldh., 1877
### Remarks
null | apache-2.0 |
vespa-engine/vespa | jdisc_core/src/test/java/com/yahoo/jdisc/client/ClientDriverTestCase.java | 1946 | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.client;
import com.google.inject.AbstractModule;
import com.google.inject.Inject;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* @author Simon Thoresen Hult
*... | apache-2.0 |
cecortes/Rekor | Vb/rekorRfidWebCam/rekorRfidWebCam/mysqlSettings.vb | 714 | Public Class mysqlSettings
Private Sub btnSalvar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSalvar.Click
'Guardamos en sus respectivas variables globales
_varglobal.ip = txtIp.Text
_varglobal.pass = txtPass.Text
_varglobal.user = txtUser.Text
... | apache-2.0 |
omacarena/only-short-poc | java.multiversion/v1/src/main/sample/multiversion/Core.java | 117 | package sample.multiversion;
public interface Core {
String getVersion();
String getDependencyVersion();
}
| apache-2.0 |
camunda/camunda-consulting | snippets/dynamic-tenant-designation/src/main/java/org/example/CamundaApplication.java | 445 | package org.example;
import org.camunda.bpm.spring.boot.starter.annotation.EnableProcessApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@EnableProcessApplication("dynamic-tenant-designation")
public class Camun... | apache-2.0 |
dbolser/ensembl-variation | scripts/import/quality_check.pl | 40355 | #!/usr/bin/env perl
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the 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 obtain a copy of the License at
#
# http://ww... | apache-2.0 |