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 |
|---|---|---|---|---|---|
/**
* Copyright 2015 Benjamin Navetta
*
* 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 ... | roguePanda/Aeneas | mesos/mesos-slave/src/main/java/com/bennavetta/aeneas/mesos/slave/Main.java | Java | apache-2.0 | 2,411 |
module MetsStructure
def structure
structure_type('Logical') || default_structure
end
def structure_for_volume(volume_id)
return {} if structureless?
volume = logical_node_for_volume(volume_id) || volume_nodes.find { |vol| vol.attribute("ID").value == volume_id }
{ nodes: structure_for_nodeset(vo... | pulibrary/plum | app/models/concerns/mets_structure.rb | Ruby | apache-2.0 | 2,974 |
#!/usr/bin/env bash
while read SCRIPT
do
echo "Checking for script $SCRIPT.sh"
if [ -e $SCRIPT.sh ]
then
echo "Running $SCRIPT.sh"
source ./$SCRIPT.sh $@ && echo "$SCRIPT.sh succeeded" || (echo "$SCRIPT.sh failed" && exit 1)
fi
done < ../../node_tags
| dhague/maas-k8s | scripts/run_node_tag_scripts.sh | Shell | apache-2.0 | 284 |
# Sciobia H.G.L. Reichenbach, 1841 GENUS
#### Status
ACCEPTED
#### According to
IRMNG Homonym List
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Urticaceae/Sciobia/README.md | Markdown | apache-2.0 | 167 |
# Taraxacum fulvum f. fulvum FORM
#### 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/Asterales/Asteraceae/Taraxacum/ Syn. Taraxacum fulvum fulvum/README.md | Markdown | apache-2.0 | 180 |
# Stipa kyzylkiensis Kotukhov 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/Liliopsida/Poales/Poaceae/Stipa/Stipa kyzylkiensis/README.md | Markdown | apache-2.0 | 185 |
# Fleischeria geropogon Hochst. & Steud. ex Boiss. 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/Asterales/Asteraceae/Scorzonera/Scorzonera elata/ Syn. Fleischeria geropogon/README.md | Markdown | apache-2.0 | 205 |
# Anacamptis pyramidalis f. nivea FORM
#### 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/Asparagales/Orchidaceae/Anacamptis/Anacamptis pyramidalis/ Syn. Anacamptis pyramidalis nivea/README.md | Markdown | apache-2.0 | 185 |
# Leucosphaera Henryk Raabe, 1940 GENUS
#### Status
ACCEPTED
#### According to
IRMNG Homonym List
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Chlorophyta/Leucosphaera/README.md | Markdown | apache-2.0 | 166 |
# Ruprechtia laurifolia C.A.Mey. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Ranunculales/Ranunculaceae/Ruprechtia/Ruprechtia laurifolia/README.md | Markdown | apache-2.0 | 180 |
# Sophora flavescens var. favescens Aiton 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/Fabales/Fabaceae/Sophora/Sophora flavescens/ Syn. Sophora flavescens favescens/README.md | Markdown | apache-2.0 | 196 |
# Oakesia floridana (Chapm.) J.F.Macbr. 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/Liliales/Colchicaceae/Uvularia/Uvularia floridana/ Syn. Oakesia floridana/README.md | Markdown | apache-2.0 | 194 |
# Rhynchosia caribaea var. picta (E. Mey.) Baker f. VARIETY
#### Status
ACCEPTED
#### According to
GRIN Taxonomy for Plants
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Rhynchosia/Rhynchosia caribaea/Rhynchosia caribaea picta/README.md | Markdown | apache-2.0 | 192 |
# Dasyscyphus agassizii var. agassizii VARIETY
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Syll. fung. (Abellini) 8: 438 (1889)
#### Original name
Dasyscyphus agassizii var. agassizii
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Leotiomycetes/Helotiales/Hyaloscyphaceae/Lachnellula/Lachnellula agassizii/Dasyscyphus agassizii agassizii/README.md | Markdown | apache-2.0 | 233 |
/*
* Copyright 2010-2016 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 "lice... | trasa/aws-sdk-java | aws-java-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/transform/RedshiftDatabaseJsonUnmarshaller.java | Java | apache-2.0 | 3,130 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>User ID Modules Example</title>
<script>
var FAILSAFE_TIMEOUT = 2000;
var adUnits = [
{
code: 'test-div',
mediaTypes: {
banner: {
sizes: [[300, 250], [300, 600], [728, 90]]
}
},
bids: [
... | tchibirev/Prebid.js | integrationExamples/gpt/userId_example.html | HTML | apache-2.0 | 10,441 |
package hr.istratech.bixolon.driver.command.print;
import org.junit.Assert;
import org.junit.Test;
import java.util.Arrays;
/**
* @author ksaric
*/
public class PrintTest {
@Test
public void testInitCommand() throws Exception {
//Before
final byte[] printLineFeedCommand = new byte[]{(byte... | IstraTech/bixolon-driver | bixolon-driver/src/test/java/hr/istratech/bixolon/driver/command/print/PrintTest.java | Java | apache-2.0 | 898 |
#ifndef _MEMORY_H_
#define _MEMORY_H_
#include <stdint.h>
struct memory;
struct memory* memory_new();
void memory_read(struct memory* memory, uint32_t addr, int bytes,
uint8_t *data);
void memory_write(struct memory* memory, uint32_t addr, int bytes,
uint8_t *data);
#endif // _MEMORY_H_
| floh1695/vm | src/memory.h | C | apache-2.0 | 308 |
---
layout: model
title: Fast Neural Machine Translation Model from English to Afro-Asiatic Languages
author: John Snow Labs
name: opus_mt_en_afa
date: 2020-12-28
task: Translation
language: xx
edition: Spark NLP 2.7.0
spark_version: 2.4
tags: [open_source, seq2seq, translation, en, afa, xx]
supported: true
article_hea... | JohnSnowLabs/spark-nlp | docs/_posts/maziyarpanahi/2020-12-28-opus_mt_en_afa_xx.md | Markdown | apache-2.0 | 3,098 |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2010 by opensauce, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
*/
#impo... | bennpearson/opensauce | build/iphone/Classes/TiUIiOSAdView.h | C | apache-2.0 | 556 |
/* 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... | yvoswillens/flowable-engine | modules/flowable-engine/src/main/java/org/flowable/engine/impl/agenda/ContinueProcessOperation.java | Java | apache-2.0 | 18,441 |
/** Copyright 2015 TappingStone, 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 ... | alex9311/PredictionIO | data/src/main/scala/org/apache/predictionio/data/webhooks/ConnectorUtil.scala | Scala | apache-2.0 | 1,596 |
# Senecio uintahensis (A.Nelson) Greenm. 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/Asterales/Asteraceae/Packera/Packera multilobata/ Syn. Senecio uintahensis/README.md | Markdown | apache-2.0 | 195 |
// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
// source: /usr/share/vpp/api/core/syslog.api.json
/*
Package syslog is a generated VPP binary API for 'syslog' module.
It consists of:
5 enums
5 aliases
6 types
1 union
8 messages
4 services
*/
package syslog
import (
"bytes"
"context"
... | VladoLavor/vpp-agent | examples/customize/custom_vpp_plugin/binapi/syslog/syslog.ba.go | GO | apache-2.0 | 16,205 |
# CYXSwift2.0
- Swift基本语法汇总(每周更新)
- 01 变量、常量
- 02 元祖
- 03 分支
- 04 可选类型
- 05 循环
- 06 数组
- 07 字典
- 08 字符串
- 09 函数
- 10 闭包
- 11 Block
- 12 闭包循环引用
- 13 懒加载
- 14 构造函数
- 15 属性
| CYXiang/CYXSwift2.0 | README.md | Markdown | apache-2.0 | 273 |
/*
* 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 ... | smanvi-pivotal/geode | geode-core/src/main/java/org/apache/geode/internal/cache/map/RegionMapDestroy.java | Java | apache-2.0 | 29,181 |
/*
* 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-medialive/src/main/java/com/amazonaws/services/medialive/model/transform/InputDeviceSummaryJsonUnmarshaller.java | Java | apache-2.0 | 5,561 |
/* Copyright 2015 Sindre Ilebekk Johansen and Andreas Sløgedal Løvland
* 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... | HighwayFlocking/HighwayFlocking | Source/HighwayFlocking/VehicleSpectatorPawn.h | C | apache-2.0 | 936 |
/*
* Copyright (c) 2008-2016 Haulmont.
*
* 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... | dimone-kun/cuba | modules/web/test/com/haulmont/cuba/web/test/ds/api/consistency/WebLookupFieldDsTest.java | Java | apache-2.0 | 1,973 |
/*
* =============================================================================
*
* Copyright (c) 2011-2014, The THYMELEAF team (http://www.thymeleaf.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 ... | magat/thymeleaf | src/main/java/org/thymeleaf/engine/UnmatchedCloseElementTag.java | Java | apache-2.0 | 4,224 |
<!--Charts styles-->
<link type="text/css" rel="stylesheet" href="<?php echo base_url() ?>assets/ishan/css/charts.css">
<!--end chart style-->
<!--my styles-->
<link type="text/css" rel="stylesheet" href="<?php echo base_url() ?>assets/ishan/css/style.css">
<!--end my style-->
<!--pagination styles-->
<link type="tex... | sepProjectTeam/TourismApplication | sep_ii_pro/application/views/admin/charts.php | PHP | apache-2.0 | 13,224 |
<!--
Copyright (C) 2010-2013 Andrei Pozolotin <Andrei.Pozolotin@gmail.com>
All rights reserved. Licensed under the OSI BSD License.
http://www.opensource.org/licenses/bsd-license.php
-->
jwrapper-maven-plugin
=====================
JWrapper Maven plugin.
| jwrapper/jwrapper-maven-plugin | readme.md | Markdown | apache-2.0 | 271 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("distfs/codemirror/lib/codemirror"));
else if (typeof define == "function" && defi... | feaster83/elasticsearch-distfs | src/_site/codemirror/mode/apl/apl.js | JavaScript | apache-2.0 | 4,797 |
/*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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:... | aevum/libgdx-cpp | src/gdx-cpp/backends/android/android_support/src/com/badlogic/gdx/backends/android/AndroidSound.java | Java | apache-2.0 | 1,710 |
package co.com.codesoftware.beans.productos;
import java.util.Date;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.context.FacesContext;
import org.primefaces.contex... | codesoftware/NSIGEMCO | src/main/java/co/com/codesoftware/beans/productos/SolicitudesBean.java | Java | apache-2.0 | 5,674 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Tue Aug 14 15:31:45 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CustomRealmMapperConsumer (... | wildfly-swarm/wildfly-swarm-javadocs | 2.1.0.Final/apidocs/org/wildfly/swarm/config/elytron/CustomRealmMapperConsumer.html | HTML | apache-2.0 | 11,498 |
package com.morgan.design.activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.DataSetObserver;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.view.KeyEvent;
import android.view.Menu;
import and... | jamesmorgan/WhosMakingTheBrew | src/com/morgan/design/activity/TeaRoundHomeActivity.java | Java | apache-2.0 | 14,803 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Mon Jan 15 08:36:51 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | wildfly-swarm/wildfly-swarm-javadocs | 2018.1.0/apidocs/org/wildfly/swarm/config/elytron/class-use/AuthenticationConfiguration.ForwardingMode.html | HTML | apache-2.0 | 10,798 |
package com.fishercoder.solutions;
import java.util.ArrayList;
import java.util.List;
public class _294 {
public static class Solution1 {
public boolean canWin(String s) {
List<String> res = new ArrayList<>();
char[] charArray = s.toCharArray();
for (int i = 0; i < s.l... | fishercoder1534/Leetcode | src/main/java/com/fishercoder/solutions/_294.java | Java | apache-2.0 | 1,127 |
<table border='1'>
<tr>
<th>Class name</th>
<th>Method name</th>
<th>Groups</th>
</tr><tr>
<td>parallel.test1</td>
<td> </td><td> </td></tr>
<tr>
<td align='center' colspan='3'>@Test</td>
</tr>
<tr>
<td> </td>
<td>f</td>
<td> </td></tr>
<tr>
<td align='center' colspan='3'>@BeforeClass</td>
</tr>
<tr... | dagiguevara/seleniumTests | test-output/old/aqua gem parallel/classes.html | HTML | apache-2.0 | 917 |
package com.SqsHipchatRouter;
import java.util.HashMap;
import java.util.Map;
/**
* Created by marlow on 10/5/15.
*/
public class SqsHipchatRouterConst {
public static final String AWS_ACCOUNT_NUMBER = "999999999999";
public static final String SQS_BASE_URL = "https://queue.amazonaws.com/" + AWS_ACCOUNT_NU... | catblade/SqsHipchatRouter | src/main/java/com/SqsHipchatRouter/SqsHipchatRouterConst.java | Java | apache-2.0 | 1,028 |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
#include <list>
#include <fstream>
using namespace std;
static const double Pi = ... | JohnyEngine/CNC | libarea/pocket/stdafx.h | C | apache-2.0 | 478 |
//////////////////////////////////////////////////////////
// This class has been automatically generated on
// Tue Sep 27 10:49:47 2011 by ROOT version 4.00/08
// from TChain Photon/
//////////////////////////////////////////////////////////
#ifndef ydarkp_h
#define ydarkp_h
#include <TROOT.h>
#include <TChain.h>
#i... | iamaris/CDFCodes | results/ydarkp.h | C | apache-2.0 | 32,375 |
package com.yunos.alicontacts.sim;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
public class SimContactLoadReceiver extends BroadcastReceiver {
private static final String TAG = "SimContactLoadReceiver";
@Override
publi... | miswenwen/My_bird_work | Bird_work/我的项目/Contacts/Contacts_liuqipeng/src/com/yunos/alicontacts/sim/SimContactLoadReceiver.java | Java | apache-2.0 | 3,908 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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 Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... | carnegiespeech/translations | zh_tw/qtype_match.php | PHP | apache-2.0 | 2,487 |
# Copyright 2013 OpenStack Foundation
# 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 requ... | hanlind/nova | nova/tests/unit/virt/xenapi/image/test_glance.py | Python | apache-2.0 | 10,892 |
\documentclass{standalone}
%----------------------------------------------------------------------------------------------%
% Packages and basic declarations
%----------------------------------------------------------------------------------------------%
\usepackage[utf8]{inputenc}
\us... | LucaDiStasio/thinPlyMechanics | tex/04_Preprints/16_debonds-microstructure-clustering/11xk-1t90-vf70-GI.tex | TeX | apache-2.0 | 5,682 |
# Allantodia yaoshanicola Ching SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Pteridophyta/Polypodiopsida/Polypodiales/Woodsiaceae/Allantodia/Allantodia yaoshanicola/README.md | Markdown | apache-2.0 | 179 |
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("Ge... | gcvalderrama/Jarvis | Lincoln/01DocumentExpansion/Jarvis/GenerateDocsFromSintacticParser/Properties/AssemblyInfo.cs | C# | apache-2.0 | 1,438 |
# Stirtonia psoromica Aptroot & Wolseley SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Arthoniomycetes/Arthoniales/Arthoniaceae/Stirtonia/Stirtonia psoromica/README.md | Markdown | apache-2.0 | 196 |
# Sedum annuum subsp. gussonei Brullo & Spamp. SUBSPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Saxifragales/Crassulaceae/Sedum/Sedum annuum/Sedum annuum gussonei/README.md | Markdown | apache-2.0 | 197 |
require 'spec_helper'
describe 'kubernetes::proxy' do
context 'with default values for all parameters' do
it { should contain_class('kubernetes::proxy') }
it 'should install kube-proxy package' do
is_expected.to contain_package('kube-proxy')
end
it 'should configure upstart' do
is_expect... | mwhahaha/fuel-plugin-kubernetes | deployment_scripts/puppet/modules/kubernetes/spec/classes/proxy_spec.rb | Ruby | apache-2.0 | 594 |
name "cloudify-agent"
ENV['CORE_TAG_NAME'] || raise('CORE_TAG_NAME environment variable not set')
default_version ENV['CORE_TAG_NAME']
source :git => "https://github.com/cloudify-cosmo/cloudify-agent"
build do
command ["#{install_dir}/embedded/bin/pip",
"install", "--build=#{project_dir}/cloudify-agent"... | isaac-s/cloudify-manager | packaging/mgmtworker/omnibus/config/software/cloudify-agent.rb | Ruby | apache-2.0 | 330 |
package org.ssh.pm.common.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServ... | yangjiandong/sshapp | application/pm/src/main/java/org/ssh/pm/common/filter/CheckSessionFilter.java | Java | apache-2.0 | 3,480 |
package com.googlecode.totallylazy;
import com.googlecode.totallylazy.time.Dates;
import org.junit.Test;
import static com.googlecode.totallylazy.Arrays.list;
import static com.googlecode.totallylazy.Sequences.sequence;
import static com.googlecode.totallylazy.Strings.join;
import static org.hamcrest.MatcherAssert.as... | bodar/totallylazy | test/com/googlecode/totallylazy/IteratorsTest.java | Java | apache-2.0 | 1,840 |
<?php
require('core.php');
$filename = dirname($_SERVER['SCRIPT_FILENAME']);
$f = file_get_contents($filename . '/groc');
$gl = unserialize($f) ;
print "<pre>";
print_r($gl);
print "</pre>"; | shavez00/groceryList | test2.php | PHP | apache-2.0 | 194 |
var Portfolio = function () {
this.performance = [];
this.dateToIndexMap = [];
var index = 0;
for (var i = 0; i <= 30; i++) {
var date = moment().subtract(30 - i, 'days');
if (date.day() != 0 && date.day() != 6) {
var formattedDate = date.format("YYYY-MM-DD");
t... | vaadin-kim/stockwatcher-polymer | src/portfolio.js | JavaScript | apache-2.0 | 4,619 |
# Docker Hub Enterprise用户指南
本指南包含Docker DHE需要知道的功能和任务,例如push或者pull镜像等。对于DHE管理员需要完成的任务,例如配置和管理DHE,请阅读[DHE管理员指南](adminguide.md)
## 概述
对于DHE使用者最基础的使用示例就是push和pull镜像。例如,你可能pull官方镜像从Docker Hub,定制它通过配置相应的参数,然后push定制的镜像到你的DHE镜像存储,以提供给其他开发人员pull和使用。
Push和pull镜像的工作性质很像其他Docker registry:你使用docker pull命令获取镜像,dockerpush命令添加一个镜... | liuhong1happy/dockerdocs | DockerHubEnterprise/userguide.md | Markdown | apache-2.0 | 4,250 |
# Baccharis rufescens Spreng. 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/Baccharis/Baccharis rufescens/README.md | Markdown | apache-2.0 | 177 |
<!-- THIS IS AUTO-GENERATED CONTENT. DO NOT MANUALLY EDIT. -->
This image is part of the [balena.io][balena] base image series for IoT devices. The image is optimized for use with [balena.io][balena] and [balenaOS][balena-os], but can be used in any Docker environment running on the appropriate architecture.
![balena... | nghiant2710/base-images | balena-base-images/docs/dockerhub/raspberry-pi2-alpine-golang-full-description.md | Markdown | apache-2.0 | 6,267 |
<!-- Portfolio Grid Section -->
<section id="portfolio">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2>Apartment Communities</h2>
<h4>
(Click for more info)
</h4>
<!-- <hr class=... | themezzilla/kramer-saxl | _includes/apartments.html | HTML | apache-2.0 | 1,113 |
package com.intuso.housemate.client.v1_0.proxy.object;
import com.google.inject.Inject;
import com.google.inject.assistedinject.Assisted;
import com.intuso.housemate.client.v1_0.api.object.Parameter;
import com.intuso.housemate.client.v1_0.api.object.Tree;
import com.intuso.housemate.client.v1_0.api.object.view.Parame... | Intuso/housemate-client | proxy/src/main/java/com/intuso/housemate/client/v1_0/proxy/object/ProxyParameter.java | Java | apache-2.0 | 2,681 |
export default {
name: "Zena",
x: 0,
y: 0,
control: "us",
zone: "green",
star: {
spectrum: "K",
temperature: "0",
size: "V"
},
planets: [
{
name: "Marider",
shape: "terrestrial",
size: "medium",
atmosphere: "trace",
hydrosphere: "dry",
biosphere: "remn... | almightynassar/BrokenStarsAndroid | src/data/regions/us-zena.js | JavaScript | apache-2.0 | 2,680 |
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
#
# Copyright (c) 2015 Juniper Networks, Inc.
# All rights reserved.
#
# Use is subject to license terms.
#
# 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... | Juniper/py-space-platform | jnpr/space/connection.py | Python | apache-2.0 | 5,362 |
import Utils
from Utils import printe
class CommandBuilder(object):
def __init__(self, *command_args):
self.command_args = list(command_args)
def append(self, *args):
for arg in args:
if isinstance(arg, str):
self.command_args += [arg]
elif isinstance(... | bytejive/lazy-docker | CommandBuilder.py | Python | apache-2.0 | 828 |
/**
* Copyright 2014 Christian Kreutzfeldt
*
* 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 ... | mnxfst/webtrends-kafka-producer | src/main/java/com/mnxfst/streams/webtrends/kafka/socket/WebtrendsTokenRequest.java | Java | apache-2.0 | 6,519 |
/*
* Copyright 2014 ZXing 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 o... | bsoja/ZXing.Net | Source/lib/client/result/VINParsedResult.cs | C# | apache-2.0 | 2,999 |
include_recipe 'bcpc-hadoop::hadoop_config'
include_recipe 'bcpc-hadoop::hive_config'
node.default['bcpc']['hadoop']['copylog']['datanode'] = {
'logfile' => "/var/log/hadoop-hdfs/hadoop-hdfs-datanode-#{node.hostname}.log",
'docopy' => true
}
%w{hadoop-yarn-nodemanager
hadoop-hdfs-datanode
hadoop-mapredu... | mlongob/chef-bach | cookbooks/bcpc-hadoop/recipes/datanode.rb | Ruby | apache-2.0 | 8,861 |
package life.catalogue.api.model;
import java.util.Objects;
public class RematchRequest extends RequestScope {
private Integer decisionKey;
private Integer estimateKey;
public static RematchRequest all() {
RematchRequest req = new RematchRequest();
req.setAll(true);
return req;
}
public st... | Sp2000/colplus-backend | colplus-api/src/main/java/life/catalogue/api/model/RematchRequest.java | Java | apache-2.0 | 1,757 |
/*
* Copyright 2013 Square 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 w... | cailingxiao/wire | wire-gson-support/src/main/java/com/squareup/wire/MessageTypeAdapter.java | Java | apache-2.0 | 8,290 |
package com.wusong.mygobang.myview;
import com.wusong.mygobang.R;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.res.Resources;
import android.graphics.Bitmap;... | rookieWu/gobang | src/com/wusong/mygobang/myview/GobangView.java | Java | apache-2.0 | 10,736 |
import React from "react"
import PropTypes from "prop-types"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import Link from "./Link"
const BoxNav = ({ navItems }) => (
<div className="card-footer">
{navItems.map((navItem, navIndex) => (
<Link href={navItem.link} className="card-footer... | aokashi/aokashi_home | src/components/BoxNav.js | JavaScript | apache-2.0 | 767 |
package v3public
import (
"github.com/rancher/norman/lifecycle"
"github.com/rancher/norman/resource"
"k8s.io/apimachinery/pkg/runtime"
)
type AuthProviderLifecycle interface {
Create(obj *AuthProvider) (runtime.Object, error)
Remove(obj *AuthProvider) (runtime.Object, error)
Updated(obj *AuthProvider) (runtime.... | cjellick/rancher | vendor/github.com/rancher/types/apis/management.cattle.io/v3public/zz_generated_auth_provider_lifecycle_adapter.go | GO | apache-2.0 | 1,898 |
/*
* Copyright 2017 Mirko Sertic
*
* 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 ... | mirkosertic/Bytecoder | core/src/main/java/de/mirkosertic/bytecoder/core/BytecodeUnknownAttributeInfo.java | Java | apache-2.0 | 1,001 |
/*
* 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 ... | PurelyApplied/geode | geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DisconnectCommand.java | Java | apache-2.0 | 2,685 |
// 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 required by applicable... | adfin/statster | metrics/sinks/hawkular/types.go | GO | apache-2.0 | 1,757 |
module.exports = checkQuote
function checkQuote(context) {
var marker = context.options.quote || '"'
if (marker !== '"' && marker !== "'") {
throw new Error(
'Cannot serialize title with `' +
marker +
'` for `options.quote`, expected `"`, or `\'`'
)
}
return marker
}
| kyleterry/sufr | pkg/ui/node_modules/mdast-util-to-markdown/lib/util/check-quote.js | JavaScript | apache-2.0 | 309 |
# Orthosiphon debilis Hemsl. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lamiaceae/Orthosiphon/Orthosiphon debilis/README.md | Markdown | apache-2.0 | 176 |
package org.mingy.jmud.model.pkuxkx;
import org.eclipse.swt.SWT;
import org.mingy.jmud.model.Constants;
import org.mingy.jmud.model.Context;
import org.mingy.jmud.model.Scope;
import org.mingy.jmud.ui.pkuxkx.CharacterView;
/**
* 北大侠客行的通用配置定义。
*
* @author Mingy
* @since 1.0.0
*/
public class Configuration extend... | wuzhengmao/jmud | src/org/mingy/jmud/model/pkuxkx/Configuration.java | Java | apache-2.0 | 3,198 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package net.opengis.citygml.relief.util;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
import org.eclipse.emf.ecore.xmi.XMLResource;
/**
* <!-- begin-user-doc --... | markus1978/citygml4emf | de.hub.citygml.emf.ecore/src/net/opengis/citygml/relief/util/ReliefResourceFactoryImpl.java | Java | apache-2.0 | 1,576 |
/* First created by JCasGen Fri Jan 03 13:40:15 CST 2014 */
package org.apache.ctakes.typesystem.type.refsem;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.jcas.cas.TOP_Type;
/** The amount of time after which a medication should stop
being used, e.g., "2 ... | schorndorfer/uima-components | annotator-parent/type-system/src/main/java/org/apache/ctakes/typesystem/type/refsem/MedicationDuration.java | Java | apache-2.0 | 2,512 |
# 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 obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... | gene1wood/chef | chef-config/lib/chef-config/version.rb | Ruby | apache-2.0 | 737 |
package de.schub.docker_controller.Metadata.Storage;
import de.schub.docker_controller.Metadata.ContainerService;
import java.util.Map;
public interface ServiceDiscoveryStorage
{
/**
* @return all services running in the cluster. Container ID as key
*/
Map<String, ContainerService> getServices();
}... | Marmelatze/docker-controller | docker-controller/src/main/java/de/schub/docker_controller/Metadata/Storage/ServiceDiscoveryStorage.java | Java | apache-2.0 | 321 |
/*
* Copyright 2001-2009 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | KurtStam/juddi | uddi-ws/src/main/java/org/apache/juddi/api_v3/Node.java | Java | apache-2.0 | 4,184 |
/*
*
* 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"); y... | HubSpot/hbase | hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RegionsResource.java | Java | apache-2.0 | 4,132 |
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Emscripten-Generated Code</title>
<style>
.emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; }
textarea.emscripte... | slightperturbation/Cobalt | ext/emsdk_portable/emscripten/tag-1.34.1/tests/sdl_canvas_size.html | HTML | apache-2.0 | 3,978 |
# Copyright (c) 2015-2016 Tigera, 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 applicabl... | projectcalico/calico | calicoctl/tests/st/utils/utils.py | Python | apache-2.0 | 20,521 |
body
{
margin: 0px;
}
#reply_main
{
width: 1000px;
margin: auto;
font-family: "方正大黑";
font-size: 20px;
color: #666666;
}
#message
{
width: 960px;
padding: 30px;
margin: auto;
}
#reply_main textarea
{
width: 960px;
height: 250px;
margin: auto;
}
| hfutxqd/keding_website | css/reply.css | CSS | apache-2.0 | 295 |
python manage.py collectstatic
python manage.py runserver --nostatic
urlpatterns += patterns('',
(r'^static/suit/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.DJANGO_SUIT_TEMPLATE}),
)
urlpatterns += patterns('',
(r'^static/admin/(?P<path>.*)$', 'django.views.static.serve', {'documen... | pisun2/python | static.py | Python | apache-2.0 | 711 |
package com.wolfsoft.epower;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
public class Tot... | harshdattani/power-consumption-android | src/com/wolfsoft/epower/Total.java | Java | apache-2.0 | 3,462 |
using System.Collections.Generic;
namespace ServerMonitoring.WindowsAgent.Services.CPU
{
public interface ICpuNameService
{
IEnumerable<string> GetCPUNames();
}
}
| ZOXEXIVO/ServerMonitoring | src/Agents/ServerMonitoring.WindowsAgent/Services/CPU/ICPUNameService.cs | C# | apache-2.0 | 196 |
#!/usr/bin/env python
# Copyright 2015 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... | GoogleCloudPlatform/psq | psq/psqworker.py | Python | apache-2.0 | 2,499 |
"use strict";
/** @test {index} */
describe("index", () => {
});
| Product-Foundry/business-elements-angular | test/index_test.js | JavaScript | apache-2.0 | 66 |
/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef FREERTOS_CONFIG_SMP_H
#define FREERTOS_CONFIG_SMP_H
#include "sdkconfig.h"
/*
This file get's pulled into assembly sources. Therefore, some includes need to be wrapped in #ifndef __ASSEMBLER__... | espressif/esp-idf | components/freertos/FreeRTOS-Kernel-SMP/portable/xtensa/include/freertos/FreeRTOSConfig_smp.h | C | apache-2.0 | 14,236 |
// Copyright (C) 2016 History in Paderborn App - Universität Paderborn
//
// 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
//
// U... | HiP-App/HiP-Forms | Sources/HipMobileUI/ViewModels/NavigationViewModel.cs | C# | apache-2.0 | 4,919 |
package com.sync.sz.web.servlet.session;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
/**
* Crea... | MariShunxiang/JavaWebSample | sample-servlet/src/main/java/com/sync/sz/web/servlet/session/SessionDemo2.java | Java | apache-2.0 | 990 |
# rustfmt [](https://travis-ci.org/rust-lang-nursery/rustfmt) [](https://ci.appveyor.com/api/projects/status/github/rust-lang-nursery/rustfmt)
A tool... | Emilgardis/rustfmt | README.md | Markdown | apache-2.0 | 7,146 |
---
layout: post
title: "Linux Command"
subtitle: "awk"
date: 2017-09-25 12:00:00
author: "Dingding"
header-img: "img/post/thrift-header.jpg"
header-mask: 0.3
catalog: true
tags:
- awk
- linux command
---
引用自:[三十分钟学会AWK](http://blog.jobbole.com/109089/)
## awk
pattern scanning and tex... | DingdingZhou/dingdingzhou.github.io | _posts/2017-10-01-LinuxCommand-awk.md | Markdown | apache-2.0 | 1,032 |
# -*- coding: utf-8 -*-
# --------------------------------------------------------------------------- #
#
# socialdata.rb
#
# Copyright (c) 2013 clown.
#
# 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 t... | clown/socialdata | lib/socialdata.rb | Ruby | apache-2.0 | 1,145 |
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | openstack/os-collect-config | os_collect_config/tests/test_cfn.py | Python | apache-2.0 | 10,601 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.