repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Diablohu/WhoCallsTheFleet-React | src/api/bgimg/api.js | 2700 | import backgroundImages from '@const/background-images';
import * as actions from './actions.js';
import Background from './class.js';
// const getObj = (indexString) => {
/*
const [type, index] = indexString.split('-')
if (typeof index === 'undefined') return {}
return store.getState().bgimgState.list[type][index]... | apache-2.0 |
sbespalov/strongbox | strongbox-web-core/src/main/java/org/carlspring/strongbox/validation/UniqueRoleNameValidator.java | 922 | package org.carlspring.strongbox.validation;
import javax.inject.Inject;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import org.carlspring.strongbox.authorization.service.AuthorizationConfigService;
import org.springframework.util.StringUtils;
/**
* @author Pablo... | apache-2.0 |
estolfo/mongo-ruby-driver | lib/mongo/server_selector/primary_preferred.rb | 3030 | # Copyright (C) 2014-2016 MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | apache-2.0 |
sumomoshinqi/tips4mb | filename-chmod.md | 591 | #chmod
change a file's access permision:
```
chomd mode file
```
```
chmod -R 777 [dir_name] //所有人可以读,写,执行
chmod 777 [file_name]
chmod a=rwx [file_name]
chmod ugo+r [file_name] //所有人可以读
chmod a+r [file_name]
chmod ug+w,o-w [filename] //用户和用户组内用户可以写,其他人可以写 。
chmod -R a+r *
```
first 7 -->User
... | apache-2.0 |
dcbw/kubernetes | cmd/kube-apiserver/app/options/options.go | 16709 | /*
Copyright 2014 The Kubernetes Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | apache-2.0 |
awslabs/aws-sdk-cpp | aws-cpp-sdk-proton/include/aws/proton/model/DeleteEnvironmentTemplateVersionRequest.h | 6027 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/proton/Proton_EXPORTS.h>
#include <aws/proton/ProtonRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Proton
{
namesp... | apache-2.0 |
Netbrasoft/gnuob-api | src/main/java/br/com/netbrasoft/gnuob/api/category/CategoryWebServiceRepository.java | 5406 | /*
* Copyright 2016 Netbrasoft
*
* 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 writi... | apache-2.0 |
nuwand/carbon-apimgt | components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/gen/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/dto/AlertTypesListDTO.java | 2369 | package org.wso2.carbon.apimgt.rest.api.publisher.v1.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.ArrayList;
import java.util.List;
import org.wso2.carbon.apimgt.rest.api.publisher.v1.dto.AlertTypeDTO;
import javax.validation.constrain... | apache-2.0 |
sergiolucas/Projects | Guellcom/calculadora/platforms/android/platform_www/cordova_plugins.js | 6421 | cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"file": "plugins/cordova-plugin-whitelist/whitelist.js",
"id": "cordova-plugin-whitelist.whitelist",
"pluginId": "cordova-plugin-whitelist",
"runs": true
},
{
"file": "plug... | apache-2.0 |
GoogleCloudPlatform/sap-deployment-automation | third_party/github.com/ansible/awx/awx/ui/client/src/credential-types/credential-types.strings.js | 504 | function CredentialTypesStrings (BaseString) {
BaseString.call(this, 'credential_types');
let t = this.t;
let ns = this.credential_types;
ns.deleteCredentialType = {
CREDENTIAL_TYPE_IN_USE: t.s('This credential type is currently being used by one or more credentials. Credentials that use this... | apache-2.0 |
Microsoft/libnetwork | error.go | 5043 | package libnetwork
import (
"fmt"
)
// ErrNoSuchNetwork is returned when a network query finds no result
type ErrNoSuchNetwork string
func (nsn ErrNoSuchNetwork) Error() string {
return fmt.Sprintf("network %s not found", string(nsn))
}
// BadRequest denotes the type of this error
func (nsn ErrNoSuchNetwork) BadR... | apache-2.0 |
awslabs/aws-sdk-cpp | aws-cpp-sdk-servicediscovery/source/model/PublicDnsPropertiesMutable.cpp | 1079 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/servicediscovery/model/PublicDnsPropertiesMutable.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
n... | apache-2.0 |
dreamhost/dpkg-ndn-perl-mod-perl | t/response/TestApache/scanhdrs2.pm | 465 | # please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
package TestApache::scanhdrs2;
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache2::Const -compile => 'OK';
sub handler {
my $r = shift;
my $lo... | apache-2.0 |
pavolloffay/hawkular-agent | hawkular-wildfly-monitor/src/test/java/org/hawkular/agent/monitor/inventory/ResourceManagerTest.java | 6531 | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.ap... | apache-2.0 |
koscejev/camel | components/camel-docker/src/test/java/org/apache/camel/component/docker/headers/ListContainersCmdHeaderTest.java | 2786 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 |
imtoantran/md | resources/views/auth/login.blade.php | 6104 | <!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8"/>
<title>DHP Đăng nhập quản trị</title>
<meta http-equiv="X-UA-Compatible... | apache-2.0 |
elasticjob/elastic-job | elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/src/test/java/org/apache/shardingsphere/elasticjob/lite/spring/boot/reg/snapshot/ElasticJobSnapshotServiceConfigurationTest.java | 1874 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
che2/bde | groups/bsl/bsla/bsla_scanf.cpp | 915 | // bsla_scanf.cpp -*-C++-*-
#include <bsla_scanf.h>
#include <bsls_ident.h>
BSLS_IDENT("$Id$ $CSID$")
// ----------------------------------------------------------------------------
// Copyright 2019 Bloomberg Finance L.P.
//
// Licensed under the Apache License, Ve... | apache-2.0 |
BioMedIA/MIRTK | Applications/src/calculate-element-wise.cc | 50080 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2015-2017 Imperial College London
* Copyright 2015-2017 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | apache-2.0 |
fjuriolli/scribble | node_modules/generator-jhipster/generators/client/templates/angular/src/test/javascript/spec/helpers/_mock-principal.service.ts | 1203 | <%#
Copyright 2013-2017 the original author or authors.
This file is part of the JHipster project, see https://jhipster.github.io/
for more information.
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 L... | apache-2.0 |
joewalnes/idea-community | java/java-impl/src/com/intellij/codeInsight/template/macro/IterableComponentTypeMacro.java | 3485 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
porybox/porybox | client/static/static.module.js | 696 | const ng = require('angular');
ng.module('porybox.static', ['ngRoute']).config(['$routeProvider', $routeProvider => {
[
'about',
'donate',
'extracting-pokemon-files',
'faq',
'how-to-pk6-1-bvs',
'how-to-pk6-2-homebrew',
'how-to-pk6-3-4-save-files',
'how-to-pk6-6-decrypted-powersaves',
... | apache-2.0 |
h53d/babylonjs-doc-cn | target/tutorials/03_Advanced/How_to_use_LOD.md | 2463 | ---
ID_PAGE: 22591
PG_TITLE: How to use LOD
---
Babylon.js comes with an integrated support for level of detail.
This feature allows you to specify different meshes based on distance to viewer.
For instance, here is how to define 4 levels of details for a given mesh:
```javascript
var knot00 = BABYLON.Mesh.CreateToru... | apache-2.0 |
osisoft/PI-Coresight-Custom-Symbols | Community Samples/OSIsoft/plotly-simpleTrend/README.md | 1491 | Follow these simple instructions to install this custom symbol; the overall process should only take a minutes.
1. In Windows Explorer, navigate to the "PIPC\PIVision" installation folder on your PI Vision server; typically, it's located in "C:\Program Files\PIPC\PIVision"
2. From within the folder named "PIVision", ... | apache-2.0 |
Tensibai/chef | docs/dev/design_documents/action_collection.md | 6542 | ---
title: Action Collection
---
# Action Collection Design
* Extract common code from the Resource Reporter and Data Collector.
* Expose a general purpose API for querying a record of all actions taken during the Chef run.
* Enable utilities like the 'zap' cookbook to be written to interact properly with Custom Reso... | apache-2.0 |
alexsh/cw-omnibus | MapsV2/Pager/README.markdown | 286 | This sample Android app demonstrates
having several maps as pages in a `ViewPager`.
This app is covered in
[the chapter on Maps V2](https://commonsware.com/Android/previews/mapping-with-maps-v2)
in [*The Busy Coder's Guide to Android Development*](https://commonsware.com/Android/).
| apache-2.0 |
semonte/intellij-community | platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.java | 29248 | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
yunseong/incubator-reef | lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportServer.cs | 7834 | /**
* 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 |
tombujok/hazelcast | hazelcast/src/main/java/com/hazelcast/cluster/impl/TcpIpJoiner.java | 22055 | /*
* 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 |
google-research/remixmatch | mixup.py | 4608 | # Copyright 2019 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 writing, ... | apache-2.0 |
mhausenblas/burry.sh | vendor/github.com/hashicorp/consul/command/connect/connect_test.go | 191 | package connect
import (
"strings"
"testing"
)
func TestCatalogCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New().Help(), '\t') {
t.Fatal("help has tabs")
}
}
| apache-2.0 |
omalley/orc | c++/src/StripeStream.hh | 6482 | /**
* 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... | apache-2.0 |
yanchhuong/ngday | src/main/webapp/css/css_page/button.css | 42 | @charset "utf-8";
/* CSS Document */
| apache-2.0 |
TeaBough/calico-docker | calico_containers/tests/unit/container_test.py | 39497 | # Copyright 2015 Metaswitch Networks
#
# 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... | apache-2.0 |
marques-work/gocd | server/src/test-shared/java/com/thoughtworks/go/server/perf/commands/RegisterAgentCommand.java | 1951 | /*
* Copyright 2021 ThoughtWorks, 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 agr... | apache-2.0 |
drchrislewis/industrial_calibration | industrial_extrinsic_cal/include/industrial_extrinsic_cal/ceres_costs_utils_test.hpp | 5769 | /*
* Software License Agreement (Apache License)
*
* Copyright (c) 2014, Southwest Research 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://www.apache.org/lice... | apache-2.0 |
googleapis/google-api-php-client-services | src/CloudSourceRepositories/UpdateProjectConfigRequest.php | 1552 | <?php
/*
* Copyright 2014 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 t... | apache-2.0 |
hubcarl/smart-nodejs-express-ejs | demo/manage/widgets3.html | 32115 | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<!-- Title and other stuffs -->
<title>插件3页面 Bootstrap响应式后台管理系统模版Mac - JS代码网</title>
<meta name="keywords" content="Bootstrap模版,Bootstrap模版下载,Bootstrap教程,Bootstrap中文,后台管理系统模版,后台模... | apache-2.0 |
OnurKirkizoglu/master_thesis | at.jku.sea.cloud/src/main/java/at/jku/sea/cloud/exceptions/ArtifactIsNotACollectionException.java | 2111 | /*
* (C) Johannes Kepler University Linz, Austria, 2005-2013
* Institute for Systems Engineering and Automation (SEA)
*
* The software may only be used for academic purposes (teaching, scientific
* research). Any redistribution or commercialization of the software program
* and documentation (or any part thereo... | apache-2.0 |
ning/collector | src/test/java/com/ning/metrics/collector/filtering/TestPatternSetFilter.java | 3816 | /*
* Copyright 2010-2012 Ning, Inc.
*
* Ning licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
pivotal-amurmann/geode | geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsStatsOverHttpDUnitTest.java | 2773 | /*
* 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 ... | apache-2.0 |
estolfo/mongo-ruby-driver | lib/mongo/operation/takes_write_concern.rb | 1031 | # Copyright (C) 2014-2016 MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | apache-2.0 |
Terminator-Aaron/Katana | aspnetwebsrc/System.Web.Razor/Parser/BalancingModes.cs | 386 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Web.Razor.Parser
{
[Flags]
public enum BalancingModes
{
None = 0,
BacktrackOnFailure = 1,
NoErrorOnFailure = 2,
AllowComment... | apache-2.0 |
clicktravel-martindimitrov/Cheddar | cheddar/cheddar-integration-aws/src/test/java/com/clicktravel/infrastructure/persistence/aws/dynamodb/DynamoDocumentStoreTemplateTest.java | 16505 | /*
* Copyright 2014 Click Travel Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | apache-2.0 |
oleg-alexandrov/StereoPipeline | src/asp/GUI/MainWindow.h | 6849 | // __BEGIN_LICENSE__
// Copyright (c) 2006-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NGT platform is licensed under the Apache License, Version 2.0 (the
// "License"); you may not use this file excep... | apache-2.0 |
azkaoru/migration-tool | src/tubame.knowhow/src/tubame/knowhow/plugin/ui/view/remove/RemoveRelationKnowhow.java | 5041 | /*
* RemoveRelationKnowhow.java
* Created on 2013/06/28
*
* Copyright (C) 2011-2013 Nippon Telegraph and Telephone Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | apache-2.0 |
eccyan/SpinningTabStrip | spinning/src/main/java/com/eccyan/widget/SpinningViewPager.java | 6099 | /*
* Copyright (C) 2013 Leszek Mzyk
* Modifications Copyright (C) 2015 eccyan <g00.eccyan@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.org/lic... | apache-2.0 |
quattor/aquilon | upgrade/1.11.32/port_group.sql | 3619 | CREATE TABLE port_group (
id INTEGER CONSTRAINT port_group_id_nn NOT NULL,
network_id INTEGER CONSTRAINT port_group_network_id_nn NOT NULL,
network_tag INTEGER CONSTRAINT port_group_network_tag_nn NOT NULL,
usage VARCHAR2(32) CONSTRAINT port_group_usage_nn NOT NULL,
creation_date DATE CONSTRAINT port_group_cr_date... | apache-2.0 |
OBIGOGIT/etch | util/src/test/java/org/apache/etch/util/core/io/TestUdpConnection.java | 3671 | /* $Id$
*
* 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")... | apache-2.0 |
apache/zest-qi4j | libraries/sql-generator/src/main/java/org/apache/polygene/library/sql/generator/implementation/grammar/builders/query/OrderByBuilderImpl.java | 2500 | /*
* 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")... | apache-2.0 |
micro/go-plugins | registry/gossip/proto/gossip.pb.go | 4480 | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: micro/go-plugins/registry/gossip/proto/gossip.proto
package gossip
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
... | apache-2.0 |
pivotal-amurmann/geode | geode-core/src/main/java/org/apache/geode/management/internal/cli/GfshParseResult.java | 4495 | /*
* 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 ... | apache-2.0 |
mhmdfy/autopsy | Core/src/org/sleuthkit/autopsy/corecomponents/Installer.java | 6087 | /*
* Autopsy Forensic Browser
*
* Copyright 2011-2015 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> 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... | apache-2.0 |
piraz/firenado | tests/util/sqlalchemy_util_test.py | 3289 | #!/usr/bin/env python
#
# Copyright 2015-2021 Flavio Garcia
#
# 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 |
xiaoxq/apollo | docs/howto/how_to_run_RTK_localization_module_on_your_local_computer_cn.md | 2005 | # 如何在本地运行RTK定位模块
本文档提供了如何在本地运行RTK定位模块的方法。
## 1. 事先准备
- 从[GitHub网站](https://github.com/ApolloAuto/apollo)下载Apollo源代码
- 按照[教程](../quickstart/apollo_software_installation_guide.md)设置Docker环境
- 从[Apollo数据平台](http://data.apollo.auto/?name=sensor%20data&data_key=multisensor&data_type=1&locale=en-us&lang=en)下载多传感器融合定位dem... | apache-2.0 |
rwhitworth/precompiled-perl-mods | old/cygwin-per5.14/lib/String/CRC32.pm | 290 |
package String::CRC32;
require Exporter;
require DynaLoader;
@ISA = qw(Exporter DynaLoader);
$VERSION = 1.5;
# Items to export into callers namespace by default
@EXPORT = qw(crc32);
# Other items we are prepared to export if requested
@EXPORT_OK = qw();
bootstrap String::CRC32;
1;
| artistic-2.0 |
ludo1026/tuto | generator-uml-to-config-xml/save/_3/src/org/ludo/codegenerator/core/gen/bean/IStereotype.java | 562 | /*
* Package : org.ludo.codegenerator.core.gen.bean
* Source : IStereotype.java
*/
package org.ludo.codegenerator.core.gen.bean;
import java.io.Serializable;
import java.util.Date;
import java.util.ArrayList;
import java.util.List;
import org.ludo.codegenerator.core.gen.bean.impl.AttributBean;
import org.ludo.c... | artistic-2.0 |
cebericus/DemoTown | doc/class-use/Img.html | 7029 | <!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_147-icedtea) on Tue Mar 27 20:06:55 PDT 2012 -->
<title>Uses of Class Img</title>
<meta name="date" content="2012-03-27">
<link rel="st... | artistic-2.0 |
TurpIF/data-gouv | web/js/lib/angular.min.js | 100084 | /*
AngularJS v1.2.10
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(Z,Q,r){'use strict';function F(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.2.10/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURI... | artistic-2.0 |
AeroGlass/g3m | JavaDesktop/G3MJavaDesktopSDK/src/org/glob3/mobile/specific/JSONParser_JavaDesktop.java | 3373 |
package org.glob3.mobile.specific;
import java.util.Map;
import org.glob3.mobile.generated.IByteBuffer;
import org.glob3.mobile.generated.IJSONParser;
import org.glob3.mobile.generated.JSONArray;
import org.glob3.mobile.generated.JSONBaseObject;
import org.glob3.mobile.generated.JSONBoolean;
import org.glob3.mobile... | bsd-2-clause |
kc284/xenadmin | XenModel/Actions/Pool/EnableHAAction.cs | 5306 | /* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | bsd-2-clause |
MindyPHP/Mindy_Orm | Tests/Databases/Sqlite/SqliteQueryTest.php | 374 | <?php
declare(strict_types=1);
/*
* Studio 107 (c) 2018 Maxim Falaleev
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Mindy\Orm\Tests\Databases\Sqlite;
use Mindy\Orm\Tests\QueryBuilder\QueryTest;
class SqliteQueryTest... | bsd-2-clause |
deivid-rodriguez/byebug | lib/byebug/commands/info/file.rb | 1863 | # frozen_string_literal: true
require_relative "../../helpers/file"
module Byebug
#
# Reopens the +info+ command to define the +file+ subcommand
#
class InfoCommand < Command
#
# Information about a particular source file
#
class FileCommand < Command
include Helpers::FileHelper
in... | bsd-2-clause |
ihorlaitan/terminology | src/bin/options_wallpaper.c | 15837 | #include "private.h"
#include <Elementary.h>
#include "config.h"
#include "termio.h"
#include "media.h"
#include "options.h"
#include "options_wallpaper.h"
#include "extns.h"
#include "media.h"
#include "main.h"
#include <sys/stat.h>
typedef struct _Background_Item
{
const char *path;
Eina_Bool selected;
Elm... | bsd-2-clause |
Treeeater/WebPermission | websockets/WebSocketHandshake.cpp | 24458 | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
* Copyright (C) Research In Motion Limited 2011. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of sour... | bsd-2-clause |
axeisghost/DART6motionBlur | dart/external/odelcpsolver/matrix.h | 11792 | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | bsd-2-clause |
priteshgupta/connoisseur | reviews.html | 5233 | <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Connoisseur</title>
<link href="styles/style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="container">
<header>
<nav>
<ul id="nav">
<li><a href="inde... | bsd-2-clause |
Treeeater/WebPermission | rendering/RenderTableSection.cpp | 49679 | /*
* Copyright (C) 1997 Martin Jones (mjones@kde.org)
* (C) 1997 Torben Weis (weis@kde.org)
* (C) 1998 Waldo Bastian (bastian@kde.org)
* (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2010... | bsd-2-clause |
Juniper/netconf-php | phpdoc/default/_examples---edit_clock.php.html | 1821 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page edit_clock.php</title>
... | bsd-2-clause |
ChristianFrisson/papermachines | chrome/content/papermachines/processors/mallet_lda_tags.py | 1353 | #!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
import os
import logging
import traceback
import mallet_lda
class MalletTagTopics(mallet_lda.MalletLDA):
"""
Topic modeling with separation based on tags
"""
def _basic_params(self):
self.name = 'mallet_lda_tags'
self.categorical ... | bsd-2-clause |
williamboman/homebrew-cask | Casks/kanmusmemory.rb | 490 | cask 'kanmusmemory' do
version '0.15'
sha256 'af64ae0846ab0b4366693bc602a81ba7e626bafee820862594c4bcbf92acfcef'
url "http://relog.xii.jp/download/kancolle/KanmusuMemory-#{version}-mac.dmg"
appcast 'https://github.com/ioriayane/KanmusuMemory/releases.atom',
:checkpoint => 'f8cddbd8afc99bff82204851ed91... | bsd-2-clause |
jdubois/homebrew-core | Formula/zmap.rb | 1142 | class Zmap < Formula
desc "Network scanner for Internet-wide network studies"
homepage "https://zmap.io"
url "https://github.com/zmap/zmap/archive/v2.1.1.tar.gz"
sha256 "29627520c81101de01b0213434adb218a9f1210bfd3f2dcfdfc1f975dbce6399"
revision 1
head "https://github.com/zmap/zmap.git"
bottle do
rebu... | bsd-2-clause |
yhalpern/anchorExplorer | examples/ICD9/load_ICD9_structure.py | 971 | import sys
import os
import subprocess
import string
printable = set(string.printable)
def sanitize(txt):
txt = ''.join(filter(lambda c: c in printable, txt))
return txt
def traverse(t, outfile):
print>>outfile, sanitize(t.code+'\t'+t.description)
for c in t.children:
traverse(c, outfile)
de... | bsd-2-clause |
bluethrust/cs4 | themes/guildwars/guildwarsmenu.php | 2632 | <?php
class GuildWarsMenu extends btThemeMenu {
public function __construct($sqlConnection) {
parent::__construct("guildwars", $sqlConnection);
}
public function displayLink() {
if($this->intMenuSection == 3) {
$menuLinkInfo = $this->menuItemObj->objLink->get_info();
$checkURL = p... | bsd-2-clause |
kevinschaul/nunjucks | CHANGELOG.md | 21487 | Changelog
=========
3.x (unreleased)
----------------
* Allow including many templates without reaching recursion limits. Merge of
[#787](https://github.com/mozilla/nunjucks/pull/787). Thanks Gleb Khudyakov.
* Allow explicitly setting `null` (aka `none`) as the value of a variable;
don't ignore that value and l... | bsd-2-clause |
nelsonjchen/homebrew-cask | Casks/chunkulus.rb | 730 | cask :v1 => 'chunkulus' do
version :latest
sha256 :no_check
url 'http://presstube.com/screensavers/presstube-chunkulus-mac.zip'
homepage 'http://presstube.com/blog/2011/chunkulus/'
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
screen_save... | bsd-2-clause |
seppo0010/notion-ios | Pods/ohmoc/Pod/Classes/OOCdeletelua.h | 2267 | // I would prefer this to be delete.lua and load it using NSBundle
// But I failed. I don't know why.
static const char * deletelua = ""
"-- This script receives three parameters, all encoded with\n"
"-- MessagePack. The decoded values are used for deleting a model\n"
"-- instance in Redis and removing any reference t... | bsd-2-clause |
stephen-turner/xenadmin | XenServerHealthCheck/XenServerHealthCheckBugTool.cs | 8841 | /* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this l... | bsd-2-clause |
lembacon/homebrew-core | Formula/pure-ftpd.rb | 2125 | class PureFtpd < Formula
desc "Secure and efficient FTP server"
homepage "https://www.pureftpd.org/"
url "https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.49.tar.gz"
sha256 "767bf458c70b24f80c0bb7a1bbc89823399e75a0a7da141d30051a2b8cc892a5"
revision 1
bottle do
cellar :any
sha256 "... | bsd-2-clause |
yhbyun/php-dbsync | docs/html/interfaceDbSync__DbAdapter__AdapterInterface.html | 26730 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>DbSync: DbSync_DbAdapter_AdapterInterface Interface Reference</title>
<... | bsd-2-clause |
emedinaa/ubigeo-peru | app/srv_departamentos.php | 885 | <?php
$service_doc['departamentos|departments'] = array(
'en' => array (
'pattern' => '/ubigeo/departments',
'description' => 'Lists the ubigeo codes for all departments',
),
'es' => array(
'patron' => '/ubigeo/departamentos',
'descripción' => 'Lista los códigos de ubigeo de... | bsd-2-clause |
mtholder/peyotl | ez_setup.py | 10592 | #!/usr/bin/env python
"""Bootstrap setuptools installation
To use setuptools in your package's setup.py, include this
file in the same directory and add this to the top of your setup.py::
from ez_setup import use_setuptools
use_setuptools()
To require a specific version of setuptools, set a download
mirror, ... | bsd-2-clause |
beardypig/streamlink | tests/test_plugin_utils.py | 3845 | import sys
import unittest
from streamlink.plugin.api.utils import itertags
def unsupported_versions_1979():
"""Unsupported python versions for itertags
3.7.0 - 3.7.2 and 3.8.0a1
- https://github.com/streamlink/streamlink/issues/1979
- https://bugs.python.org/issue34294
"""
v = sys.v... | bsd-2-clause |
javascript-obfuscator/javascript-obfuscator | src/node-transformers/converting-transformers/object-expression-extractors/ObjectExpressionToVariableDeclarationExtractor.ts | 7524 | import { inject, injectable } from 'inversify';
import { ServiceIdentifiers } from '../../../container/ServiceIdentifiers';
import * as ESTree from 'estree';
import { TNodeWithStatements } from '../../../types/node/TNodeWithStatements';
import { TObjectExpressionKeysTransformerCustomNodeFactory } from '../../../types... | bsd-2-clause |
dplbsd/zcaplib | head/usr.sbin/nfsdumpstate/Makefile | 163 | # $FreeBSD: soc2013/dpl/head/usr.sbin/nfsdumpstate/Makefile 192854 2009-05-26 15:19:04Z rmacklem $
PROG= nfsdumpstate
MAN= nfsdumpstate.8
.include <bsd.prog.mk>
| bsd-2-clause |
MechanisM/wagtailplus | wagtailplus/wagtailaddresses/templates/wagtailaddresses/component-chooser/chooser.js | 3032 | function(modal) {
function ajaxifyLinks (context) {
$('a.address-choice', context).click(function() {
modal.loadUrl(this.href);
return false;
});
$('.pagination a', context).click(function() {
var page = this.getAttribute("data-page");
... | bsd-2-clause |
jppelteret/homebrew-cask | spec/cask/cli_spec.rb | 1816 | require 'spec_helper'
describe Hbc::CLI do
it "lists the taps for Casks that show up in two taps" do
listing = Hbc::CLI.nice_listing(%w[
caskroom/cask/adium
caskroom/cask/google-chrome
passcod/homebrew-cask/adium
])
expect(listing).to eq(%w[
caskroom/cask/adium
google-chrom... | bsd-2-clause |
dplbsd/soc2013 | head/lib/libiconv_modules/UTF1632/Makefile | 210 | # $FreeBSD: soc2013/dpl/head/lib/libiconv_modules/UTF1632/Makefile 219062 2011-02-25 00:04:39Z gabor $
SHLIB= UTF1632
SRCS+= citrus_utf1632.c
CFLAGS+= --param max-inline-insns-single=32
.include <bsd.lib.mk>
| bsd-2-clause |
rwhogg/homebrew-core | Formula/fio.rb | 1150 | class Fio < Formula
desc "I/O benchmark and stress test"
homepage "https://github.com/axboe/fio"
url "https://github.com/axboe/fio/archive/fio-3.19.tar.gz"
sha256 "809963b1d023dbc9ac7065557af8129aee17b6895e0e8c5ca671b0b14285f404"
license "GPL-2.0"
bottle do
cellar :any_skip_relocation
sha256 "252dd... | bsd-2-clause |
dc1394/kakegruitwin_MC | src/SFMT-src-1.5.1/html/globals_type.html | 1925 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | bsd-2-clause |
IUTInfoAix/terrarium_2015 | nuttx/arch/arm/src/nuc1xx/nuc_lowputc.c | 12821 | /****************************************************************************
* arch/arm/src/nuc1xx/nuc_lowputc.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permi... | bsd-2-clause |
aren55555/homebrew-core | Formula/purescript.rb | 1593 | require "language/haskell"
class Purescript < Formula
include Language::Haskell::Cabal
desc "Strongly typed programming language that compiles to JavaScript"
homepage "http://www.purescript.org"
url "https://github.com/purescript/purescript/archive/v0.11.7.tar.gz"
sha256 "56b715acc4b92a5e389f7ec5244c9306769... | bsd-2-clause |
rurban/pony-tutorial | appendices/keywords.md | 2703 | # Keywords
This listing explains the usage of every Pony keyword.
|Keyword | Usage|
| --- | --- |
| actor | defines an actor
| as | conversion of a value to another Type (can raise an error)
| be | behavior, executed asynchronously
| box | default reference capability – object is readable, but not writable
| break | ... | bsd-2-clause |
yoavweiss/RespImg-WebCore | html/HTMLButtonElement.h | 2638 | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it ... | bsd-2-clause |
ColaMachine/MyBlock | src/main/java/de/matthiasmann/twl/WheelWidget.java | 16353 | /*
* Copyright (c) 2008-2011, Matthias Mann
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this... | bsd-2-clause |
dplbsd/zcaplib | head/lib/libkse/thread/thr_rtld.c | 6843 | /*
* Copyright (c) 2001 Alexander Kabaev
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of con... | bsd-2-clause |
keera-studios/hsQt | doc/apiGuide/Qtc-Classes-Types.html | 253925 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Qtc.Classes.Types</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="t... | bsd-2-clause |
antonio-bakula/simpleDLNA | util/Repository.cs | 2638 | using System;
using System.Collections.Generic;
namespace NMaier.SimpleDlna.Utilities
{
public abstract class Repository<TInterface>
where TInterface : class, IRepositoryItem
{
private static readonly Dictionary<string, TInterface> items =
BuildRepository();
private static Dictionary<string, TI... | bsd-2-clause |
ckxng/wakeup | tag/tag27.go | 46 | // Package tag.
package tag
println("tag27")
| bsd-2-clause |
agimofcarmen/xenadmin | XenAdmin/Dialogs/AboutDialog.Designer.cs | 5068 | namespace XenAdmin.Dialogs
{
partial class AboutDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... | bsd-2-clause |