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 |
|---|---|---|---|---|---|
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]... | Diablohu/WhoCallsTheFleet-React | src/api/bgimg/api.js | JavaScript | apache-2.0 | 2,700 |
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... | sbespalov/strongbox | strongbox-web-core/src/main/java/org/carlspring/strongbox/validation/UniqueRoleNameValidator.java | Java | apache-2.0 | 922 |
# 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 ... | estolfo/mongo-ruby-driver | lib/mongo/server_selector/primary_preferred.rb | Ruby | apache-2.0 | 3,030 |
#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
... | sumomoshinqi/tips4mb | filename-chmod.md | Markdown | apache-2.0 | 591 |
/*
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... | dcbw/kubernetes | cmd/kube-apiserver/app/options/options.go | GO | apache-2.0 | 16,709 |
/**
* 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... | awslabs/aws-sdk-cpp | aws-cpp-sdk-proton/include/aws/proton/model/DeleteEnvironmentTemplateVersionRequest.h | C | apache-2.0 | 6,027 |
/*
* 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... | Netbrasoft/gnuob-api | src/main/java/br/com/netbrasoft/gnuob/api/category/CategoryWebServiceRepository.java | Java | apache-2.0 | 5,406 |
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... | 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 | Java | apache-2.0 | 2,369 |
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... | sergiolucas/Projects | Guellcom/calculadora/platforms/android/platform_www/cordova_plugins.js | JavaScript | apache-2.0 | 6,421 |
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... | GoogleCloudPlatform/sap-deployment-automation | third_party/github.com/ansible/awx/awx/ui/client/src/credential-types/credential-types.strings.js | JavaScript | apache-2.0 | 504 |
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... | Microsoft/libnetwork | error.go | GO | apache-2.0 | 5,043 |
/**
* 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... | awslabs/aws-sdk-cpp | aws-cpp-sdk-servicediscovery/source/model/PublicDnsPropertiesMutable.cpp | C++ | apache-2.0 | 1,079 |
# 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... | dreamhost/dpkg-ndn-perl-mod-perl | t/response/TestApache/scanhdrs2.pm | Perl | apache-2.0 | 465 |
/*
* 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... | pavolloffay/hawkular-agent | hawkular-wildfly-monitor/src/test/java/org/hawkular/agent/monitor/inventory/ResourceManagerTest.java | Java | apache-2.0 | 6,531 |
/**
* 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... | koscejev/camel | components/camel-docker/src/test/java/org/apache/camel/component/docker/headers/ListContainersCmdHeaderTest.java | Java | apache-2.0 | 2,786 |
<!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... | imtoantran/md | resources/views/auth/login.blade.php | PHP | apache-2.0 | 6,104 |
/*
* 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 ... | 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 | Java | apache-2.0 | 1,874 |
// 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... | che2/bde | groups/bsl/bsla/bsla_scanf.cpp | C++ | apache-2.0 | 915 |
/*
* 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
*
... | BioMedIA/MIRTK | Applications/src/calculate-element-wise.cc | C++ | apache-2.0 | 50,080 |
<%#
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... | fjuriolli/scribble | node_modules/generator-jhipster/generators/client/templates/angular/src/test/javascript/spec/helpers/_mock-principal.service.ts | TypeScript | apache-2.0 | 1,203 |
/*
* 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... | joewalnes/idea-community | java/java-impl/src/com/intellij/codeInsight/template/macro/IterableComponentTypeMacro.java | Java | apache-2.0 | 3,485 |
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',
... | porybox/porybox | client/static/static.module.js | JavaScript | apache-2.0 | 696 |
---
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... | h53d/babylonjs-doc-cn | target/tutorials/03_Advanced/How_to_use_LOD.md | Markdown | apache-2.0 | 2,463 |
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", ... | osisoft/PI-Coresight-Custom-Symbols | Community Samples/OSIsoft/plotly-simpleTrend/README.md | Markdown | apache-2.0 | 1,491 |
---
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... | Tensibai/chef | docs/dev/design_documents/action_collection.md | Markdown | apache-2.0 | 6,542 |
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/).
| alexsh/cw-omnibus | MapsV2/Pager/README.markdown | Markdown | apache-2.0 | 286 |
/*
* 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... | semonte/intellij-community | platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.java | Java | apache-2.0 | 29,248 |
/**
* 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... | yunseong/incubator-reef | lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportServer.cs | C# | apache-2.0 | 7,834 |
/*
* 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 ... | tombujok/hazelcast | hazelcast/src/main/java/com/hazelcast/cluster/impl/TcpIpJoiner.java | Java | apache-2.0 | 22,055 |
# 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, ... | google-research/remixmatch | mixup.py | Python | apache-2.0 | 4,608 |
package connect
import (
"strings"
"testing"
)
func TestCatalogCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New().Help(), '\t') {
t.Fatal("help has tabs")
}
}
| mhausenblas/burry.sh | vendor/github.com/hashicorp/consul/command/connect/connect_test.go | GO | apache-2.0 | 191 |
/**
* 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... | omalley/orc | c++/src/StripeStream.hh | C++ | apache-2.0 | 6,482 |
@charset "utf-8";
/* CSS Document */
| yanchhuong/ngday | src/main/webapp/css/css_page/button.css | CSS | apache-2.0 | 42 |
# 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... | TeaBough/calico-docker | calico_containers/tests/unit/container_test.py | Python | apache-2.0 | 39,497 |
/*
* 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... | marques-work/gocd | server/src/test-shared/java/com/thoughtworks/go/server/perf/commands/RegisterAgentCommand.java | Java | apache-2.0 | 1,951 |
/*
* 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... | drchrislewis/industrial_calibration | industrial_extrinsic_cal/include/industrial_extrinsic_cal/ceres_costs_utils_test.hpp | C++ | apache-2.0 | 5,769 |
<?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... | googleapis/google-api-php-client-services | src/CloudSourceRepositories/UpdateProjectConfigRequest.php | PHP | apache-2.0 | 1,552 |
<!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中文,后台管理系统模版,后台模... | hubcarl/smart-nodejs-express-ejs | demo/manage/widgets3.html | HTML | apache-2.0 | 32,115 |
/*
* (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... | OnurKirkizoglu/master_thesis | at.jku.sea.cloud/src/main/java/at/jku/sea/cloud/exceptions/ArtifactIsNotACollectionException.java | Java | apache-2.0 | 2,111 |
/*
* 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... | ning/collector | src/test/java/com/ning/metrics/collector/filtering/TestPatternSetFilter.java | Java | apache-2.0 | 3,816 |
/*
* 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 ... | pivotal-amurmann/geode | geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ExportLogsStatsOverHttpDUnitTest.java | Java | apache-2.0 | 2,773 |
# 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 ... | estolfo/mongo-ruby-driver | lib/mongo/operation/takes_write_concern.rb | Ruby | apache-2.0 | 1,031 |
// 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... | Terminator-Aaron/Katana | aspnetwebsrc/System.Web.Razor/Parser/BalancingModes.cs | C# | apache-2.0 | 386 |
/*
* 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 ... | clicktravel-martindimitrov/Cheddar | cheddar/cheddar-integration-aws/src/test/java/com/clicktravel/infrastructure/persistence/aws/dynamodb/DynamoDocumentStoreTemplateTest.java | Java | apache-2.0 | 16,505 |
// __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... | oleg-alexandrov/StereoPipeline | src/asp/GUI/MainWindow.h | C | apache-2.0 | 6,849 |
/*
* 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
*
* ... | azkaoru/migration-tool | src/tubame.knowhow/src/tubame/knowhow/plugin/ui/view/remove/RemoveRelationKnowhow.java | Java | apache-2.0 | 5,041 |
/*
* 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... | eccyan/SpinningTabStrip | spinning/src/main/java/com/eccyan/widget/SpinningViewPager.java | Java | apache-2.0 | 6,099 |
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... | quattor/aquilon | upgrade/1.11.32/port_group.sql | SQL | apache-2.0 | 3,619 |
/* $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")... | OBIGOGIT/etch | util/src/test/java/org/apache/etch/util/core/io/TestUdpConnection.java | Java | apache-2.0 | 3,671 |
/*
* 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/zest-qi4j | libraries/sql-generator/src/main/java/org/apache/polygene/library/sql/generator/implementation/grammar/builders/query/OrderByBuilderImpl.java | Java | apache-2.0 | 2,500 |
// 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
... | micro/go-plugins | registry/gossip/proto/gossip.pb.go | GO | apache-2.0 | 4,480 |
/*
* 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 ... | pivotal-amurmann/geode | geode-core/src/main/java/org/apache/geode/management/internal/cli/GfshParseResult.java | Java | apache-2.0 | 4,495 |
/*
* 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... | mhmdfy/autopsy | Core/src/org/sleuthkit/autopsy/corecomponents/Installer.java | Java | apache-2.0 | 6,087 |
#!/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... | piraz/firenado | tests/util/sqlalchemy_util_test.py | Python | apache-2.0 | 3,289 |
# 如何在本地运行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... | xiaoxq/apollo | docs/howto/how_to_run_RTK_localization_module_on_your_local_computer_cn.md | Markdown | apache-2.0 | 2,005 |
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;
| rwhitworth/precompiled-perl-mods | old/cygwin-per5.14/lib/String/CRC32.pm | Perl | artistic-2.0 | 290 |
/*
* 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... | ludo1026/tuto | generator-uml-to-config-xml/save/_3/src/org/ludo/codegenerator/core/gen/bean/IStereotype.java | Java | artistic-2.0 | 562 |
<!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... | cebericus/DemoTown | doc/class-use/Img.html | HTML | artistic-2.0 | 7,029 |
/*
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... | TurpIF/data-gouv | web/js/lib/angular.min.js | JavaScript | artistic-2.0 | 100,084 |
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... | AeroGlass/g3m | JavaDesktop/G3MJavaDesktopSDK/src/org/glob3/mobile/specific/JSONParser_JavaDesktop.java | Java | bsd-2-clause | 3,373 |
/* 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... | kc284/xenadmin | XenModel/Actions/Pool/EnableHAAction.cs | C# | bsd-2-clause | 5,306 |
<?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... | MindyPHP/Mindy_Orm | Tests/Databases/Sqlite/SqliteQueryTest.php | PHP | bsd-2-clause | 374 |
# 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... | deivid-rodriguez/byebug | lib/byebug/commands/info/file.rb | Ruby | bsd-2-clause | 1,863 |
#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... | ihorlaitan/terminology | src/bin/options_wallpaper.c | C | bsd-2-clause | 15,837 |
/*
* 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... | Treeeater/WebPermission | websockets/WebSocketHandshake.cpp | C++ | bsd-2-clause | 24,458 |
/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | axeisghost/DART6motionBlur | dart/external/odelcpsolver/matrix.h | C | bsd-2-clause | 11,792 |
<!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... | priteshgupta/connoisseur | reviews.html | HTML | bsd-2-clause | 5,233 |
/*
* 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... | Treeeater/WebPermission | rendering/RenderTableSection.cpp | C++ | bsd-2-clause | 49,679 |
<?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>
... | Juniper/netconf-php | phpdoc/default/_examples---edit_clock.php.html | HTML | bsd-2-clause | 1,821 |
#!/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 ... | ChristianFrisson/papermachines | chrome/content/papermachines/processors/mallet_lda_tags.py | Python | bsd-2-clause | 1,353 |
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... | williamboman/homebrew-cask | Casks/kanmusmemory.rb | Ruby | bsd-2-clause | 490 |
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... | jdubois/homebrew-core | Formula/zmap.rb | Ruby | bsd-2-clause | 1,142 |
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... | yhalpern/anchorExplorer | examples/ICD9/load_ICD9_structure.py | Python | bsd-2-clause | 971 |
<?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... | bluethrust/cs4 | themes/guildwars/guildwarsmenu.php | PHP | bsd-2-clause | 2,632 |
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... | kevinschaul/nunjucks | CHANGELOG.md | Markdown | bsd-2-clause | 21,487 |
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... | nelsonjchen/homebrew-cask | Casks/chunkulus.rb | Ruby | bsd-2-clause | 730 |
// 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... | seppo0010/notion-ios | Pods/ohmoc/Pod/Classes/OOCdeletelua.h | C | bsd-2-clause | 2,267 |
/* 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... | stephen-turner/xenadmin | XenServerHealthCheck/XenServerHealthCheckBugTool.cs | C# | bsd-2-clause | 8,841 |
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 "... | lembacon/homebrew-core | Formula/pure-ftpd.rb | Ruby | bsd-2-clause | 2,125 |
<!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>
<... | yhbyun/php-dbsync | docs/html/interfaceDbSync__DbAdapter__AdapterInterface.html | HTML | bsd-2-clause | 26,730 |
<?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... | emedinaa/ubigeo-peru | app/srv_departamentos.php | PHP | bsd-2-clause | 885 |
#!/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, ... | mtholder/peyotl | ez_setup.py | Python | bsd-2-clause | 10,592 |
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... | beardypig/streamlink | tests/test_plugin_utils.py | Python | bsd-2-clause | 3,845 |
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... | javascript-obfuscator/javascript-obfuscator | src/node-transformers/converting-transformers/object-expression-extractors/ObjectExpressionToVariableDeclarationExtractor.ts | TypeScript | bsd-2-clause | 7,524 |
# $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>
| dplbsd/zcaplib | head/usr.sbin/nfsdumpstate/Makefile | Makefile | bsd-2-clause | 163 |
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");
... | MechanisM/wagtailplus | wagtailplus/wagtailaddresses/templates/wagtailaddresses/component-chooser/chooser.js | JavaScript | bsd-2-clause | 3,032 |
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... | jppelteret/homebrew-cask | spec/cask/cli_spec.rb | Ruby | bsd-2-clause | 1,816 |
# $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>
| dplbsd/soc2013 | head/lib/libiconv_modules/UTF1632/Makefile | Makefile | bsd-2-clause | 210 |
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... | rwhogg/homebrew-core | Formula/fio.rb | Ruby | bsd-2-clause | 1,150 |
<!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... | dc1394/kakegruitwin_MC | src/SFMT-src-1.5.1/html/globals_type.html | HTML | bsd-2-clause | 1,925 |
/****************************************************************************
* 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... | IUTInfoAix/terrarium_2015 | nuttx/arch/arm/src/nuc1xx/nuc_lowputc.c | C | bsd-2-clause | 12,821 |
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... | aren55555/homebrew-core | Formula/purescript.rb | Ruby | bsd-2-clause | 1,593 |
# 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 | ... | rurban/pony-tutorial | appendices/keywords.md | Markdown | bsd-2-clause | 2,703 |
/*
* 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 ... | yoavweiss/RespImg-WebCore | html/HTMLButtonElement.h | C | bsd-2-clause | 2,638 |
/*
* 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... | ColaMachine/MyBlock | src/main/java/de/matthiasmann/twl/WheelWidget.java | Java | bsd-2-clause | 16,353 |
/*
* 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... | dplbsd/zcaplib | head/lib/libkse/thread/thr_rtld.c | C | bsd-2-clause | 6,843 |
<!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... | keera-studios/hsQt | doc/apiGuide/Qtc-Classes-Types.html | HTML | bsd-2-clause | 253,925 |
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... | antonio-bakula/simpleDLNA | util/Repository.cs | C# | bsd-2-clause | 2,638 |
// Package tag.
package tag
println("tag27")
| ckxng/wakeup | tag/tag27.go | GO | bsd-2-clause | 46 |
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... | agimofcarmen/xenadmin | XenAdmin/Dialogs/AboutDialog.Designer.cs | C# | bsd-2-clause | 5,068 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.