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 |
|---|---|---|---|---|---|
# Digitaria adscendens var. rhachiseta 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/Liliopsida/Poales/Poaceae/Digitaria/Digitaria nuda/ Syn. Digitaria adscendens rhachiseta/README.md | Markdown | apache-2.0 | 193 |
# Lepanthopsis michelii Dod SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Lepanthopsis/Lepanthopsis michelii/README.md | Markdown | apache-2.0 | 175 |
# Pinus strobiformis var. carvajalii Silba VARIETY
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Pinophyta/Pinopsida/Pinales/Pinaceae/Pinus/Pinus strobiformis/ Syn. Pinus strobiformis carvajalii/README.md | Markdown | apache-2.0 | 197 |
# Alseodaphne suboppositifolia Kosterm. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Laurales/Lauraceae/Alseodaphne/Alseodaphne suboppositifolia/README.md | Markdown | apache-2.0 | 187 |
package com.bootcamp.topic0.builder;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class ConexionBD {
private String host;
private String user;
private String pass;
private String dbname;
private String dbmotor;
private Connection con;
public Connection getCo... | rami51/java-bootcamp-2016 | Topics/Topic_0/src/com/bootcamp/topic0/builder/ConexionBD.java | Java | apache-2.0 | 1,265 |
#[doc = r" Value read from the register"]
pub struct R {
bits: u32,
}
#[doc = r" Value to write to the register"]
pub struct W {
bits: u32,
}
impl super::OR {
#[doc = r" Modifies the contents of the register"]
#[inline(always)]
pub fn modify<F>(&self, f: F)
where
for<'w> F: FnOnce(&R, &'... | pollen/stm32f0 | stm32f0x2/src/tim14/or/mod.rs | Rust | apache-2.0 | 2,554 |
using UnityEngine;
using System.Collections;
public class GameController : MonoBehaviour
{
public GameObject Player;
public GameObject TheCamera;
void Start ()
{
Player = Resources.Load <GameObject>("Prefabs/PlayerPrefabs/Serenity");
GameObject PlayerClone = (GameObject) Instantiate (Player);
... | MAVG-Programmers/Navis-Public | Assets/Scripts/GameController.cs | C# | apache-2.0 | 529 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Wed Feb 16 05:11:23 PST 2011 -->
<TITLE>
org.apache.pig.tools.pigstats (Pig 0.8.0-CDH3B4-SNAPSHOT API)
</TITLE>
<META NAME="date" CONTENT="20... | simplegeo/hadoop-pig | docs/api/org/apache/pig/tools/pigstats/package-summary.html | HTML | apache-2.0 | 10,434 |
# Copyright 2014 Rackspace
#
# 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... | jiahaoliang/group-based-policy | gbpservice/nfp/configurator/drivers/loadbalancer/v2/haproxy/octavia_lib/network/data_models.py | Python | apache-2.0 | 4,043 |
import angular from 'angular';
import gameboardComponent from './gameboard.component';
import Game from '../../common/game/game';
let gameboardModule = angular.module('gameboard', [
Game
])
.component('gameboard', gameboardComponent)
.name;
export default gameboardModule;
| zbicin/word-game | client/app/components/gameboard/gameboard.js | JavaScript | apache-2.0 | 283 |
# Command to invoke
> docker-compose run dockermon
or create an alias like
> alias mon="docker-compose -f /home/gianluca/Apps/docker-composer/docker-mon/docker-compose.yml run dockermon"
| gi4nks/docker-composer | docker-mon/README.md | Markdown | apache-2.0 | 192 |
package collector
import (
"fullerite/metric"
"testing"
l "github.com/Sirupsen/logrus"
"github.com/stretchr/testify/assert"
)
func TestNewProcNetUDPStats(t *testing.T) {
c := make(chan metric.Metric)
i := 10
l := defaultLog.WithFields(l.Fields{"collector": "Mesos"})
actual := newProcNetUDPStats(c, i, l).(*p... | baris/fullerite | src/fullerite/collector/net_udp_test.go | GO | apache-2.0 | 2,597 |
/*
* @license
* Copyright 2016 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | jacksonic/foamTableTop | bower_components/foam2-experimental/src/core/Constant.js | JavaScript | apache-2.0 | 1,859 |
#include "generator/translator.hpp"
#include "generator/collector_interface.hpp"
#include "generator/emitter_interface.hpp"
#include "generator/intermediate_data.hpp"
#include "generator/osm_element.hpp"
#include "base/assert.hpp"
using namespace feature;
namespace generator
{
Translator::Translator(std::shared_ptr... | VladiMihaylenko/omim | generator/translator.cpp | C++ | apache-2.0 | 1,840 |
package it.unibz.inf.ontop.iq.node;
/**
* Union of CommutativeJoinNode and FilterNode
*/
public interface CommutativeJoinOrFilterNode extends JoinOrFilterNode {
}
| ontop/ontop | core/model/src/main/java/it/unibz/inf/ontop/iq/node/CommutativeJoinOrFilterNode.java | Java | apache-2.0 | 167 |
#!/bin/bash
#
# honggfuzz libunwind build help script
# -----------------------------------------
#
# 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/licen... | google/honggfuzz | third_party/android/scripts/compile-libunwind.sh | Shell | apache-2.0 | 2,716 |
from django.shortcuts import render
from django.http import HttpResponse
from django.utils import simplejson as json
import ner
def index(request):
params = {'current': 'home'}
return render(request, 'index.html', params)
def name_entity_recognition(request):
if request.method == 'GET':
#Get the ... | smouzakitis/molly | molly/views.py | Python | apache-2.0 | 711 |
import { isInteger } from "../utils/native";
const ASCENDING = (a, b) => a - b;
const DESCENDING = (a, b) => b - a;
const isInRange = (value, start, end) => value >= start && value <= end;
const isValidIndex = function (keys, start, end) {
return function (key) {
return !(key in keys)
&& isInteger(key)
... | jrsearles/SandBoxr | src/iterators/sparse-iterator.js | JavaScript | apache-2.0 | 2,091 |
# 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 writing, ... | googleapis/python-dlp | samples/snippets/redact_test.py | Python | apache-2.0 | 1,601 |
<?php
error_reporting(-1);
require './luhn-creator.php';
define('PAYSTACK_SECRET_KEY', 'sk_test_xxx');
function getIp()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
... | ibrahimlawal/paystack-php-sample | donate/functions.php | PHP | apache-2.0 | 2,286 |
/*
* Copyright 2017 Martin Kouba
*
* 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 ... | mkouba/cdi-beyond-ee | src/main/java/com/githhub/mkouba/cdibee/HelloMessage.java | Java | apache-2.0 | 1,489 |
<th:block xmlns:th="http://www.thymeleaf.org">
<!--/*@thymesVar id="results" type="org.strangeforest.tcb.stats.model.TournamentEventResults"*/-->
<div th:unless="${results.isEmpty()}" th:include="fragments/eventResults :: eventResults('', -1, true, false)"></div>
<th:block th:if="${results.isEmpty()}">
<br/>
<di... | mcekovic/tennis-crystal-ball | tennis-stats/src/main/resources/templates/inProgressEventResults.html | HTML | apache-2.0 | 397 |
/*!
* Bootstrap-Showcase v1.0
*
* Copyright 2013-2014 www.abuabdul.com
*/
body {
background: #eeeeee;
/* background: #efefff; */
padding-top: 4px;
padding-bottom: 4px;
}
/* Custom container */
.container-narrow {
background: #ffffff;
margin: 0 auto;
max-width: 1000px;
padding: 10px;
-webkit-border-radi... | abuabdul/bootstrap-showcase | src/main/webapp/css/bootstrap-showcase.css | CSS | apache-2.0 | 1,475 |
/**
* Copyright 2020 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | GoogleChromeLabs/scheduler-polyfill | src/host-callback.js | JavaScript | apache-2.0 | 6,775 |
package com.dyz.myBatis.services;
import org.apache.ibatis.session.SqlSessionFactory;
import com.dyz.myBatis.dao.GameRecordMapper;
import com.dyz.myBatis.daoImp.GameRecordDaoImp;
public class GameRecordService {
private GameRecordMapper gameRecordMap;
private static GameRecordService gameService = new GameR... | XihuLai/GS | src/com/dyz/myBatis/services/GameRecordService.java | Java | apache-2.0 | 582 |
# Ugly Number II
## Problem:
<div class="question-content">
<p>
</p>
<p>
Write a program to find the
<code>
n
</code>
-th ugly number.
</p>
<p>
Ugly numbers are positive numbers whose prime factors only include
<code>
2, 3, 5
</code>
. For example,
<code>
1, 2, 3, 4, 5, 6, 8, 9, 10, 12... | Dragon-lake/leetcode | Java/264_Ugly_Number_II/README.md | Markdown | apache-2.0 | 1,740 |
// Copyright 2021 Google 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | googleapis/google-cloud-cpp | google/cloud/bigtable/admin/internal/bigtable_table_admin_auth_decorator.cc | C++ | apache-2.0 | 10,008 |
/*
* 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 ... | apacheignite/ignite | modules/core/src/main/java/org/apache/ignite/internal/portable/BinaryRawReaderEx.java | Java | apache-2.0 | 1,296 |
/*
* Copyright 2017-present Facebook, 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... | clonetwin26/buck | src/com/facebook/buck/js/JsLibraryDescription.java | Java | apache-2.0 | 17,462 |
/*
* Licensed to Crate.io GmbH ("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 f... | crate/crate | libs/dex/src/main/java/io/crate/data/join/LeftJoinNLBatchIterator.java | Java | apache-2.0 | 3,218 |
package com.wincom.mstar.domain;
import java.util.ArrayList;
import java.util.List;
public class CNumExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table nfjd502.dbo.CNum
*
* @mbggenerated Thu Mar 02 11:23:21 CST 2017
*/
protect... | xtwxy/cassandra-tests | mstar-server-dao/src/main/java/com/wincom/mstar/domain/CNumExample.java | Java | apache-2.0 | 10,330 |
/*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... | HuangLS/neo4j | community/kernel/src/main/java/org/neo4j/unsafe/impl/batchimport/input/Receiver.java | Java | apache-2.0 | 1,166 |
class RegisterPair:
def __init__(self, name, register_high, register_low):
self.name = name
self.register_high = register_high
self.register_low = register_low
| AlexLitvino/i8080_simulator | microprocessor/register_pair.py | Python | apache-2.0 | 189 |
# Neotrisauropus deambulator SPECIES
#### Status
ACCEPTED
#### According to
Paleobiology Database
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/incertae sedis/Neotrisauropus/Neotrisauropus deambulator/README.md | Markdown | apache-2.0 | 166 |
/*
* Copyright 2008, Unitils.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | arteam/unitils | unitils-test/src/test/java/org/unitils/util/ReflectionUtilsEnumTest.java | Java | apache-2.0 | 1,947 |
package org.sociesc.system.university.bo;
import org.sociesc.system.university.Course;
import org.sociesc.system.university.dao.CourseDAO;
import org.sociesc.util.bo.BaseBO;
public class CourseBO extends BaseBO<CourseDAO, Course> {
public CourseBO(){
super(CourseDAO.class);
}
public void insert(Course course... | diegoarcega/JAVAWEB-VRaptorFramework | src/org/sociesc/system/university/bo/CourseBO.java | Java | apache-2.0 | 573 |
package gr.iti.mklab.framework.retrievers.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import com.google.api.client.googleapi... | MKLab-ITI/mklab-socialmedia-abstractions | src/main/java/gr/iti/mklab/framework/retrievers/impl/GooglePlusRetriever.java | Java | apache-2.0 | 12,192 |
const path = require('path')
const config = require('config')
const git = require('git-rev-sync')
const CDN = config.get('cdn')
const appVersion = git.short()
const CDN_URI = appVersion
const CDN_URL = CDN ? `${CDN}/${CDN_URI}` : ''
const PUBLIC_PATH = CDN ? `${CDN}/${CDN_URI}/assets/` : '/assets/'
const ROOT_PATH ... | ecmadao/hacknical | config/path.js | JavaScript | apache-2.0 | 942 |
Sidekiq.configure_server do |config|
config.redis = { url: "redis://localhost:6379/" }
end
Sidekiq.configure_client do |config|
config.redis = { url: "redis://localhost:6379/" }
end
| smartbox-io/cell | config/initializers/sidekiq.rb | Ruby | apache-2.0 | 187 |
package org.esmerilprogramming.overtown.annotation.session;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(value = { ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface OnS... | EsmerilProgramming/overtown | src/main/java/org/esmerilprogramming/overtown/annotation/session/OnSessionCreate.java | Java | apache-2.0 | 338 |
package org.rabix.engine.rest.backend.stub.impl;
import org.apache.commons.configuration.Configuration;
import org.rabix.engine.rest.backend.stub.BackendStub;
import org.rabix.engine.rest.service.JobService;
import org.rabix.transport.backend.impl.BackendRabbitMQ;
import org.rabix.transport.backend.impl.BackendRabbitM... | markosbg/debug | rabix-engine-rest/src/main/java/org/rabix/engine/rest/backend/stub/impl/BackendStubRabbitMQ.java | Java | apache-2.0 | 2,646 |
import { connect } from 'react-redux';
import ErrorMessageList from '../../components/error_messages/list';
import {
fetchErrorMessagesIfNeeded,
searchErrorMessages,
loadNext
} from '../../actions/error_messages'
export default connect(
(state,ownProps) => {
let errorMessages;
let match = ownProps.m... | sapcc/elektra | plugins/shared_filesystem_storage/app/javascript/app/containers/error_messages/list.js | JavaScript | apache-2.0 | 916 |
package com.neustar.ultraservice.schema.v01;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for PasswordVe... | ultradns/ultra-java-api | src/main/java/com/neustar/ultraservice/schema/v01/PasswordVerificationQuestionList.java | Java | apache-2.0 | 2,280 |
package com.yourname.flixelgame.examples.timer;
import org.flixel.FlxG;
import org.flixel.FlxState;
import org.flixel.FlxText;
import org.flixel.FlxTimer;
import org.flixel.event.IFlxTimer;
/**
* A short demo how to use the methods for the plugins.
* In this demo the TimerManager is used.
*
* @author Ka Wing Ch... | jjhaggar/libGDX-flixel-test-autogenerated | flixelgame/src/com/yourname/flixelgame/examples/timer/PlayState.java | Java | apache-2.0 | 1,304 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
*
* Copyright 2013-2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | realjiangms/FreeRDP | client/Windows/wf_rail.c | C | apache-2.0 | 30,600 |
'use strict';
var common = require('../common');
var assert = require('assert');
var net = require('net');
var expected_bad_connections = 1;
var actual_bad_connections = 0;
var host = '********';
host += host;
host += host;
host += host;
host += host;
host += host;
function do_not_call() {
throw new Error('This f... | dreamllq/node | test/parallel/test-net-dns-error.js | JavaScript | apache-2.0 | 806 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(".NE... | JakeLardinois/NetMF.Toolbox | Framework/NET.TelnetServer/Properties/AssemblyInfo (4.2).cs | C# | apache-2.0 | 952 |
/*
* This file is part of ATLAS. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this distribution.
* (Also available at http://www.apache.org/licenses/LICENSE-2.0.txt)
* You may not use this file except in compliance with the License.
*/
package de.dfki.asr.atlas.conve... | dfki-asr/atlas-server | src/main/java/de/dfki/asr/atlas/convert/collada/ColladaMaterialExporter.java | Java | apache-2.0 | 8,169 |
<!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>nmod:comp</title>
<link rel... | UniversalDependencies/universaldependencies.github.io | ug/dep/nmod-comp.html | HTML | apache-2.0 | 7,229 |
/*
+----------------------------------------------------------------------+
| Zan |
+----------------------------------------------------------------------+
| Copyright (c) 2016-2017 Zan Group <https://github.com/youzan/zan> |
| Copyright (c) 2012... | springleng/zan | zan-extension/src/network/ReactorThread.c | C | apache-2.0 | 40,783 |
# Copyright 2014 Open Source Robotics Foundation, 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 ... | viccro/diarc | fabrik/flowlabel.py | Python | apache-2.0 | 1,392 |
#include <SFML/System.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#ifndef LIGHTH
#define LIGHTH
struct Wall
{
Wall (sf::Vector2f p1,sf::Vector2f p2)
{
pt1=p1;
pt2=p2;
}
// Pt1 et Pt2 sont les deux extrémités du mur
sf::Vector2f pt1;
sf::Vector... | anthonycorbacho/SFML-light | header/Light.h | C | apache-2.0 | 2,598 |
<!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_32) on Mon Oct 13 19:43:27 PKT 2014 -->
<title>Objects</title>
<meta name="date" content="2014-10-13">
<link rel="stylesheet" type="tex... | ziaagikian/linq4android | core/doc/org/linq4android/dependencies/java7/Objects.html | HTML | apache-2.0 | 21,073 |
/*
* Copyright (c) 2016-present, RxJava Contributors.
*
* 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... | ReactiveX/RxJava | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableTimeoutTests.java | Java | apache-2.0 | 18,918 |
package com.tedmemo.db;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import java.io.Serializable;
/**
* Created by Ted on 14-8-6.
*/
@DatabaseTable(tableName = "memoinfo")
public class MemoItemInfo implements Serializable {
private static final long serialVersionUID... | xiongwei-git/TedMemo | src/com/tedmemo/db/MemoItemInfo.java | Java | apache-2.0 | 1,804 |
#!/bin/bash
#placeholder for deployment script.
set -ex
case "$1" in
'nonha' )
cp nosdn/juju-deployer/ovs.yaml ./bundles.yaml
;;
'ha' )
cp nosdn/juju-deployer/ovs-ha.yaml ./bundles.yaml
;;
'tip' )
cp nosdn/juju-deployer/ovs-tip.yaml ./bundles.yaml
cp common/s... | opnfv/opnfv-ravello-demo | joid/ci/nosdn/01-deploybundle.sh | Shell | apache-2.0 | 4,978 |
package br.com.viewria.servlets;
import java.util.ArrayList;
import javax.servlet.ServletContext;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.web.context.WebApplicationContex... | g6tech/spring-corp-test | project/viewria/src/main/java/br/com/viewria/servlets/ProcessRequest.java | Java | apache-2.0 | 2,363 |
/**
* ****************************************************************************
* Copyright (c) 2008 SAP AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* ht... | ritterliu/AutoMemoryAnalysis | src/org/eclipse/mat/snapshot/model/IArray.java | Java | apache-2.0 | 748 |
/*
* Copyright 2020 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | GoogleForCreators/web-stories-wp | packages/patterns/src/test/createSolid.js | JavaScript | apache-2.0 | 1,195 |
"""
Ecks plugin to collect system memory usage information
Copyright 2011 Chris Read (chris.read@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.... | cread/ecks | ecks/plugins/memory.py | Python | apache-2.0 | 1,335 |
# Lepiurus strigosus Dumort. 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/Parapholis/Parapholis strigosa/ Syn. Lepiurus strigosus/README.md | Markdown | apache-2.0 | 183 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using Kitware.VTK;
namespace ActiViz.Examples {
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
}
private void... | lorensen/VTKExamples | src/CSharp/IO/WriteVTI.cs | C# | apache-2.0 | 4,073 |
# 为什么推荐我们用markdown
> 原创:余俊卿 转载请:<yujunqing@meizu.com>
----
> 一种适用于网络的书写语言
Markdown 是一种轻量级标记语言,使用易读易写的纯文本格式编写文档,然后转换成有效的XHTML(或者HTML)文档。
在我们还在用office、txt、html富文本编辑器等撰写文档的时候,殊不知世界上最活跃的程序员们正用markdown在github和博客上传播和展示着他们的成果。
优点:
简而言之,markdown是为在互联网上展示而生的编写文档的语法,它是传统的 **数据+展示** 里的那一个**数据**,当你需要展示的时候有相当高的兼容性和良好的结构性。
#... | kenaiX/snowball | 为什么推荐我们用markdown/README.md | Markdown | apache-2.0 | 2,863 |
# Module google/wiki40b-lm-it/1
Embeddings and negative log likelihood from a language model
trained on Italian from Wiki40B dataset with sentence-piece
vocabulary size 32k.
<!-- task: text-language-model -->
<!-- asset-path: legacy -->
<!-- fine-tunable: false -->
<!-- format: hub -->
<!-- language: it -->
<!-- netwo... | tensorflow/tfhub.dev | assets/docs/google/models/wiki40b-lm-it/1.md | Markdown | apache-2.0 | 5,456 |
/*
* 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 no... | boneman1231/org.apache.felix | trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/annotation/AspectLifecycleWithDynamicProxyAnnotationTest.java | Java | apache-2.0 | 4,203 |
package io.hightide.exceptions;
/**
* @author <a href="mailto:gpan@groundzerolabs.com">George Panagiotopoulos</a>
*/
public class HandlerInitializationException extends RuntimeException {
public HandlerInitializationException(String message, Throwable cause) {
super(message, cause);
}
}
| gzlabs/hightide | hightide-core/src/main/java/io/hightide/exceptions/HandlerInitializationException.java | Java | apache-2.0 | 308 |
%
% author: Ni Qingliang
% date: 2011-02-11
%
\startcomponent cpn-overview
\product fusion-splicer-SD
\chapter{技术选择}
相对于现有产品,下一代熔接机软件的最大变化在于 OS 的引入,
OS 的引入屏蔽了许多硬件细节,
使得我们可以更加专注于业务。
进而使得我们可以基于OS构建我们自己的软件平台,
以支持多种产品,并减少代码复用的难度;
在形成一个完整的软件平台后,可以缩短产品的开发周期,有利于快速推出新产品。
目前我们计划选用 GNU / Linux,
这也是目前的趋势,在嵌入式软件领域,还有其他许多 OS,
如 V... | walkthetalk/libem | doc/cpn-overview.tex | TeX | apache-2.0 | 4,157 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.8 on 2017-09-14 23:53
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('organization', '0004_teacher_image'),
('courses', '0... | LennonChin/Django-Practices | MxOnline/apps/courses/migrations/0007_course_teacher.py | Python | apache-2.0 | 640 |
# git_reposcan
# About
This tool scans the current directory for git repositories and prints out all branches for each found repository.
# Usage
### One time usage
Simply just ```source``` the file ```git_reposcan.sh``` and run the function ```git_reposcan```.
$ source ~/git_reposcan.sh
$ git_reposcan
... | alexanderfahlke/unix-toolbox | functions/git_reposcan/README.md | Markdown | apache-2.0 | 1,543 |
package com.github.pixelrunstudios.GdxTest;
public class BorderBlockHolder implements BlockHolder{
protected int width;
protected int height;
public BorderBlockHolder(int width, int height){
this.width = width;
this.height = height;
}
@Override
public boolean hasBlock(int x, int y, float tick){
if(x == ... | PixelRunStudios/GdxTest | core/src/com/github/pixelrunstudios/GdxTest/BorderBlockHolder.java | Java | apache-2.0 | 497 |
<!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.5.0_06) on Sun Jun 08 16:48:33 CEST 2008 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Package org.... | stumoodie/VisualLanguageToolkit | lib/slf4j-1.5.2/site/apidocs/org/apache/commons/logging/impl/package-use.html | HTML | apache-2.0 | 5,831 |
/*
* stream_iterator.cc
* Copyright 2014-2015 John Lawson
*
* 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... | jwlawson/qv | src/stream_iterator.cc | C++ | apache-2.0 | 1,563 |
# Copyright 2015 Isotoma 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 writing... | yaybu/touchdown | touchdown/provisioner/output.py | Python | apache-2.0 | 2,488 |
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2022] 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... | Ensembl/ensembl-analysis | scripts/ig/transfer_gene_segments.pl | Perl | apache-2.0 | 15,232 |
/*
* 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 ... | iemejia/incubator-beam | runners/google-cloud-dataflow-java/worker/src/test/java/org/apache/beam/runners/dataflow/worker/WindmillKeyedWorkItemTest.java | Java | apache-2.0 | 7,859 |
/*
* Copyright 2011-2022 GatlingCorp (https://gatling.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | gatling/gatling | gatling-http/src/main/scala/io/gatling/http/check/sse/SseCheck.scala | Scala | apache-2.0 | 1,290 |
/*
* Copyright 2018 Google 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 o... | nickbutcher/plaid | core/src/main/java/io/plaidapp/core/util/HtmlUtils.java | Java | apache-2.0 | 3,982 |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | tsib0/aw-reporting | aw-reporting-model/src/main/java/com/google/api/ads/adwords/awreporting/model/entities/ReportDestinationUrl.java | Java | apache-2.0 | 8,183 |
package pub.ayada.scala.sparkUtils.etl.transform
import scala.xml.Node
import org.apache.spark.sql.DataFrame
import org.apache.spark.sql.hive.HiveContext
import org.apache.spark.storage.StorageLevel
import pub.ayada.scala.utils.DateTimeUtils
import pub.ayada.scala.sparkUtils.cmn.UtilFuncs
object Transformer {
de... | k-ayada/SparkETL | pub/ayada/scala/sparkUtils/etl/transform/Transformer.scala | Scala | apache-2.0 | 6,459 |
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-10 col-md-8 col-sm-offset-1 col-md-offset-2">
<form (ngSubmit)="onFormSubmit()" #frm="ngForm">
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email"
... | davidokun/Angular-js | forms-td-assignment/src/app/app.component.html | HTML | apache-2.0 | 1,866 |
<html>
<head>
<title>Title</title>
</head>
<body>
<div>
<h2>Code example</h2>
<p>Here is some code sample <code>foo()</code></p>
<code><pre>
foo match {
case "fish" => <*->
case "pig" => ^ ^
/ * * \
| (..) |
\--------/
} & &
here()
an... | eigengo/sbt-mdrw | src/test/resources/code-activator.html | HTML | apache-2.0 | 382 |
from webfs import WebDirParser
testDoc = """
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /ubuntu</title>
</head>
<body>
<h1>Index of /ubuntu</h1>
<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified<... | harun-emektar/webfs | tests/Test_WebDirParser.py | Python | apache-2.0 | 1,416 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: storedserverpaymentchannel.proto
package com.google.leafcoin.protocols.channels;
public final class ServerState {
private ServerState() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
... | leafcoin/leafcoinj | core/src/main/java/com/google/leafcoin/protocols/channels/ServerState.java | Java | apache-2.0 | 63,519 |
/*
* The aspiredb project
*
* Copyright (c) 2012 University of British Columbia
*
* 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
*
* ... | ppavlidis/aspiredb | aspiredb/src/main/java/ubc/pavlab/aspiredb/server/model/CnvType.java | Java | apache-2.0 | 1,022 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | googleapis/google-api-java-client-services | clients/google-api-services-datacatalog/v1/1.31.0/com/google/api/services/datacatalog/v1/model/GoogleCloudDatacatalogV1UnstarEntryRequest.java | Java | apache-2.0 | 1,700 |
// Data Access is a Java library to store data
// Copyright (C) 2018-2019 Adrián Romero Corchado.
//
// This file is part of Data Access
//
// 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 c... | adrianromero/data | src/main/java/com/adr/data/mongo/DocumentResults.java | Java | apache-2.0 | 4,030 |
package configdefault
import (
openshiftcontrolplanev1 "github.com/openshift/api/openshiftcontrolplane/v1"
"github.com/openshift/library-go/pkg/config/configdefaults"
leaderelectionconverter "github.com/openshift/library-go/pkg/config/leaderelection"
)
func SetRecommendedOpenShiftControllerConfigDefaults(config *o... | hferentschik/origin | pkg/cmd/openshift-controller-manager/configdefault/openshiftcontrolplane_default.go | GO | apache-2.0 | 1,413 |
/*
* Copyright 2012 DigitasLBi Netherlands B.V.
*
* 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 ... | LBiNetherlands/LBi.LostDoc | LBi.LostDoc/XmlDocReader.cs | C# | apache-2.0 | 4,774 |
/*
* Copyright 2000-2013 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... | IllusionRom-deprecated/android_platform_tools_idea | plugins/gradle/src/org/jetbrains/plugins/gradle/model/impl/WarModelImpl.java | Java | apache-2.0 | 1,625 |
---
layout: base
title: 'Statistics of Polarity in UD_Portuguese-Bosque'
udver: '2'
---
## Treebank Statistics: UD_Portuguese-Bosque: Features: `Polarity`
This feature is universal.
It occurs with 1 different values: `Neg`.
1367 tokens (1%) have a non-empty value of `Polarity`.
5 types (0%) occur at least once with... | UniversalDependencies/docs | treebanks/pt_bosque/pt_bosque-feat-Polarity.md | Markdown | apache-2.0 | 904 |
package com.mobplug.games.framework.entities;
public class Vector2D {
private Point2D position;
private float speedX;
private float speedY;
public Vector2D() {
position = new Point2D(0.0f, 0.0f);
}
public Vector2D(float posx, float posy) {
position = new Point2D(posx, posy);
}
public Vector2D(float p... | andreban/GamesFramework | src/com/mobplug/games/framework/entities/Vector2D.java | Java | apache-2.0 | 2,421 |
/**
* Copyright 2016 StreamSets Inc.
*
* Licensed under 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 Lice... | WgStreamsets/datacollector | sdc-solr_cdh_4/src/main/java/com/streamsets/pipeline/solr/impl/SolrTarget04.java | Java | apache-2.0 | 4,867 |
/*
* 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... | freeVM/freeVM | enhanced/buildtest/tests/functional/src/test/functional/org/apache/harmony/test/func/api/javax/management/monitor/countermonitor/GranularityTest.java | Java | apache-2.0 | 4,659 |
/*
* Copyright 2008-2011 Wolfgang Keller
*
* 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... | dreamsxin/101_browser | src/gui/Texture.cpp | C++ | apache-2.0 | 3,141 |
# Pertusaria secedens SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Pertusariales/Pertusariaceae/Pertusaria/Pertusaria secedens/README.md | Markdown | apache-2.0 | 152 |
#include "testApp.h"
//--------------------------------------------------------------
void testApp::setup()
{
ofEnableSmoothing();
//ofBackground(0);
setGUI1();
setGUI2();
setGUI3();
setGUI4();
gui1->setDrawBack(false);
gui2->setDrawBack(false);
gui3->setDrawBack(false);
gui4-... | decebel/dataAtom_alpha | examples/example_menu_UI/testApp.cpp | C++ | apache-2.0 | 16,228 |
package io.gatekeeper.node.service;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import io.gatekeeper.configuration.Configuration;
import io.gatekeeper.configuration.data.ReplicationConfiguration;
import io.gatekeeper.logging.Loggers;
import io.gatekeeper.node.service.replication.common.Node;
import ... | JackPrice/gatekeeper | src/main/java/io/gatekeeper/node/service/ReplicationService.java | Java | apache-2.0 | 2,642 |
/*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... | OpenXIP/xip-libraries | src/extern/inventor/lib/database/include/Inventor/elements/SoGLCoordinateElement.h | C | apache-2.0 | 3,091 |
/*
* Licensed to ElasticSearch and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. ElasticSearch licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may... | speedplane/elasticsearch | src/main/java/org/elasticsearch/index/mapper/internal/SourceFieldMapper.java | Java | apache-2.0 | 17,772 |
/*
* Copyright 2014 Space Dynamics Laboratory - Utah State University Research 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... | Jedwondle/openstorefront | client/openstorefront/app/scripts/directives/services/filterquery.js | JavaScript | apache-2.0 | 9,465 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.