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 |
|---|---|---|---|---|---|
# Generated by Django 2.1 on 2018-08-13 08:04
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('ibms', '0006_auto_20180813_1603'),
]
operations = [
migrations.RenameField(
model_name='serviceprioritymappings',
old_name='co... | parksandwildlife/ibms | ibms_project/ibms/migrations/0007_auto_20180813_1604.py | Python | apache-2.0 | 391 |
"""
Python wrapper for functionality exposed in the TemcaGraph dll.
@author: jayb
"""
from ctypes import *
import logging
import threading
import time
import os
import sys
import numpy as np
from pytemca.image.imageproc import fit_sin
from numpy.ctypeslib import ndpointer
if sys.flags.debug:
rel = "../x64/Debug... | jaybo/OpenCVGraph | TemcaGraphPy/temca_graph.py | Python | apache-2.0 | 21,780 |
/*
overrides_ie8.css - contains override styles for Internet Explorer version 8
All IE8 styles have been moved to individual core stylesheets.
IE8-specific styles are denoted with one of the following comments after each individual attribute and value:
*/
/* IE8 */
/* IE8 and IE9 */
/* This file is still fully fun... | SmarterApp/ItemAuthoring | sbac-iaip-rpm-installer/iaip-tomcatjasper-rpm/src/main/opt/tomcat-jasper/webapps/jasperserver/themes/default/overrides_ie8.css | CSS | apache-2.0 | 398 |
# --------------------------------------------------------
# Deformable Convolutional Networks
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Zheng Zhang
# --------------------------------------------------------
impor... | deepinsight/Deformable-ConvNets | deeplab/core/loader.py | Python | apache-2.0 | 9,374 |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.11/esri/copyright.txt for details.
//>>built
define("esri/nls/widgets_pl",{"dijit/_editor/nls/commands":{removeFormat:"Usu\u0144 formatowanie",copy:"Kopiuj",paste:"Wklej",selectAll:"Wybierz wszystko",insertOrd... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.11/3.11/esri/nls/widgets_pl.js | JavaScript | apache-2.0 | 8,156 |
/*
* 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
* distribut... | smartnews/presto | presto-main/src/main/java/io/prestosql/sql/gen/BytecodeUtils.java | Java | apache-2.0 | 21,345 |
namespace Amazon.SQS.ExtendedClient.Tests
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Model;
using Moq;
using NUnit.Framework;
[TestFixture]
public class When_Extended_Client_Deletes : ExtendedClientTestBase
{
#if NET45
[Test]
public... | raol/amazon-sqs-net-extended-client-lib | src/Amazon.SQS.ExtendedClient.Tests/When_Extended_Client_Deletes.cs | C# | apache-2.0 | 4,730 |
/**
* Licensed to Cloudera, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Cloudera, Inc. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use th... | hammer/flume | src/java/com/cloudera/flume/handlers/syslog/SyslogTcpSourceThreads.java | Java | apache-2.0 | 7,278 |
/*
* Copyright 2002-2015 the original author or 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 ap... | qobel/esoguproject | spring-framework/spring-core/src/main/java/org/springframework/util/ResizableByteArrayOutputStream.java | Java | apache-2.0 | 3,366 |
/**
* Copyright IBM Corp. 2016, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import React, { useState, useCallback, useEffect } from 'react';
import classnames from 'classnames';
import { settings } from 'carbon-compon... | carbon-design-system/carbon-components | packages/react/src/components/FileUploader/stories/drop-container.js | JavaScript | apache-2.0 | 5,193 |
//catalan数的应用 形如f(n) = f(n-1) + f(n-2)f(1) + f(n-3)f(2) + … + f(1)f(n-2) + f(n-1)的特征结构
int numTrees(int n) {
int a = n+1;
int b = n;
long ret = 1;
for(int i = 1; i <= b; i++)
{
ret = ret * a;
ret = ret / i;
a++;
}
return ret / (n+1);
}
| MingfeiPan/leetcode | tree/96.c | C | apache-2.0 | 313 |
# Pavonia hastata var. hastata VARIETY
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malvales/Malvaceae/Pavonia/Pavonia hastata/Pavonia hastata hastata/README.md | Markdown | apache-2.0 | 170 |
using System;
using System.Threading;
namespace mappingrpc
{
public class CallResultFuture
{
public Type resultType;
public bool done = false;
public bool isExceptionResult = false;
public object result;
public object monitorLock = new System.Object();
public CallResultFuture(){
}
public object getR... | zhoufenglokki/mappingrpc | csharp/mappingrpc/CallResultFuture.cs | C# | apache-2.0 | 569 |
#include "envswitch.h"
#include "dynrm.h"
#include "resqueuecommand.h"
#include "miscadmin.h"
#include "communication/rmcomm_QD2RM.h"
#include "utils/linkedlist.h"
#include "catalog/pg_resqueue.h"
#include "utils/resscheduler.h"
#include "commands/defrem.h"
/***********************************************************... | hornn/interviews | src/backend/resourcemanager/resqueuecommand.c | C | apache-2.0 | 16,970 |
/*
* Muhimbi PDF
*
* Convert, Merge, Watermark, Secure and OCR files.
*
* OpenAPI spec version: 9.15
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
usi... | Muhimbi/PDF-Converter-Services-Online | clients/v1/csharp/client/src/Muhimbi.PDF.Online.Client/Model/CopyMetadataData.cs | C# | apache-2.0 | 11,226 |
drop table if exists data_attribute_file_info cascade;
drop table if exists data_object_attribute_file_info cascade;
-- 데이터 속성 파일 관리
create table data_attribute_file_info(
data_attribute_file_info_id bigint,
data_id bigint,
user_id varchar(32) not null,
file_name varchar(100) not null... | Gaia3D/mago3d | doc/database/ddl/data_attribute_file_info.sql | SQL | apache-2.0 | 4,256 |
/*
* 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
* d... | OSEHRA/ISAAC | core/model/src/main/java/sh/isaac/model/logic/node/LiteralNode.java | Java | apache-2.0 | 3,914 |
/**
* 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... | lfzCarlosC/test | flume-ng-core/src/main/java/org/apache/flume/Channel.java | Java | apache-2.0 | 3,442 |
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>AngularJs</title>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<body ng-app="CrudApp">
<p>hello from Spring boot 5 </p>
<div class="container">
<div ng-view></div>
</div>
<script type="text/javascript"... | amoAHCP/openshift-workshop | spring-boot-CRUD-admin-step5/src/main/resources/static/index.html | HTML | apache-2.0 | 488 |
package org.jsmart.zerocode.core.domain;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.jsmart.zerocode.core.kafka.client.BasicKafkaClient;
@Retention(Ret... | authorjapps/zerocode | core/src/main/java/org/jsmart/zerocode/core/domain/UseKafkaClient.java | Java | apache-2.0 | 576 |
/*
* Configuration.java
* Created by: Scott A. Roehrig
* Created on: Aug 17, 2016 at 9:31:09 PM
*/
package org.apache.bazaar.web.config;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.... | saroehr/Bazaar | BazaarWebClient/src/org/apache/bazaar/web/config/Configuration.java | Java | apache-2.0 | 5,744 |
package ${package}.dao.impl.es;
import graphene.dao.TransactionDAO;
import graphene.model.query.BasicQuery;
import graphene.model.view.events.DirectedEventRow;
import graphene.util.G_CallBack;
import java.util.List;
public class TransactionDAOESImpl implements TransactionDAO<Object, BasicQuery> {
@Override
public... | codeaudit/graphene | graphene-parent/graphene-archetype/src/main/resources/archetype-resources/src/main/java/dao/impl/es/TransactionDAOESImpl.java | Java | apache-2.0 | 1,522 |
/*
* 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 ... | treenew/sofire | src/Core/Sofire.Extends/Excel/NPOI/SS/Formula/Functions/Npv.cs | C# | apache-2.0 | 4,725 |
/*
* Copyright 2012 the original author or 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 applica... | lsmaira/gradle | subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/VersionSelectionReasons.java | Java | apache-2.0 | 7,918 |
/*
* Copyright 2010-2017 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 "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-chime/source/model/UpdateVoiceConnectorGroupRequest.cpp | C++ | apache-2.0 | 1,706 |
# Celmisia sessiliflora var. sessiliflora 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/Asterales/Asteraceae/Celmisia sessiliflora/ Syn. Celmisia sessiliflora sessiliflora/README.md | Markdown | apache-2.0 | 196 |
/*
* Copyright 2014-2019 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... | jentfoo/aws-sdk-java | aws-java-sdk-neptune/src/main/java/com/amazonaws/services/neptune/model/DescribeDBClusterParameterGroupsRequest.java | Java | apache-2.0 | 15,228 |
// @flow
import React, { Component } from "react";
import PropTypes from "prop-types";
import { bindActionCreators } from "redux";
import { connect } from "react-redux";
import * as actions from "./actions";
import { defaultStyles } from "../../styles/default-styles";
import { StyleSheet, View, TouchableOpacity, Text }... | johnneed/GreenUpVermont | screens/trash-tracker-screen/trash-toggles.js | JavaScript | apache-2.0 | 5,277 |
/*
Copyright 2018 Esri
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, ... | Esri/arcgis-pro-sdk | Examples/SceneLayers/ProSnippets.cs | C# | apache-2.0 | 2,211 |
<!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_03) on Mon Sep 10 14:25:59 CDT 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface o... | friendranjith/vizzly | jetty-runtime/javadoc/org/eclipse/jetty/annotations/class-use/ClassNameResolver.html | HTML | apache-2.0 | 12,063 |
/*-------------------------------------------------------------------------+
| |
| Copyright 2005-2012 the ConQAT Project |
| |
| Licensed u... | vimaier/conqat | org.conqat.engine.html_presentation/src/org/conqat/engine/html_presentation/javascript/config/LogPage.js | JavaScript | apache-2.0 | 7,919 |
/* @internal */
namespace ts {
function getModuleTransformer(moduleKind: ModuleKind): TransformerFactory<SourceFile | Bundle> {
switch (moduleKind) {
case ModuleKind.ESNext:
case ModuleKind.ES2015:
return transformES2015Module;
case ModuleKind.Syste... | weswigham/TypeScript | src/compiler/transformer.ts | TypeScript | apache-2.0 | 18,593 |
// Copyright 2020 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | google/fhir | go/proto/google/fhir/proto/r5/core/resources/medication_usage_go_proto/medication_usage.pb.go | GO | apache-2.0 | 47,253 |
package Paws::ES::InstanceCountLimits;
use Moose;
has MaximumInstanceCount => (is => 'ro', isa => 'Int');
has MinimumInstanceCount => (is => 'ro', isa => 'Int');
1;
### main pod documentation begin ###
=head1 NAME
Paws::ES::InstanceCountLimits
=head1 USAGE
This class represents one of two things:
=head3 Arg... | ioanrogers/aws-sdk-perl | auto-lib/Paws/ES/InstanceCountLimits.pm | Perl | apache-2.0 | 1,484 |
/*
* Copyright 2013 must-be.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | consulo/consulo-css | xstylesheet-api/src/main/java/consulo/xstylesheet/definition/impl/XStyleSheetPropertyValuePartImpl.java | Java | apache-2.0 | 2,084 |
package com.tomorrowhi.thdemo.activitys;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.content.ContextCompat;
import android.view.View;
import android.widget.ImageButton;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.amap.api.maps.AMap;
import com.am... | Tomorrowhi/THDemo | THDemo/app/src/main/java/com/tomorrowhi/thdemo/activitys/AMapLocusActivity.java | Java | apache-2.0 | 14,930 |
# coding=utf-8
import json
from django.utils.translation import ugettext_lazy as _
from django.http import HttpResponse
import django.views
from django.template import defaultfilters as template_filters
from horizon import tables
from horizon import exceptions
from cloudkittydashboard.api import cloudkitty as api
f... | FNST-OpenStack/cloudkitty-dashboard | cloudkittydashboard/dashboards/project/billing_overview/views.py | Python | apache-2.0 | 14,849 |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | googleapis/java-compute | proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectRequest.java | Java | apache-2.0 | 21,025 |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddScoresTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('scores', function (Blueprint $table) {
$table-... | JohannesSanders/Snake-Angular-Laravel | snake/database/migrations/2015_08_14_144858_add_scores_table.php | PHP | apache-2.0 | 650 |
// 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... | mufaddalq/cloudstack-datera-driver | awsapi/src/com/amazon/ec2/AssignPrivateIpAddressesSetItemRequestType.java | Java | apache-2.0 | 22,350 |
<#escape x as x?html>
<p>
<b>Hello, ${user.getFirstName()} ${user.getLastName()}.</b>
</p>
<p>
Welcome to ${config.get('application.titleCommon')}.
</p>
<p>
Please confirm your email address by following this link in your browser:<br/><br/>
<a href="${confirmUrl}">c... | janenik/ninja-sso-um | src/main/java/views/sso/mail/signUpConfirmation.en.ftl.html | HTML | apache-2.0 | 791 |
/*
* Copyright 2009, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | leethree/attentive-ui | SuperMonkey/src/com/android/commands/monkey/MonkeySourceNetwork.java | Java | apache-2.0 | 33,447 |
<html>
<body>
Reports calls to static methods or accesses of static fields
on the current class which are qualified with the class name. Such qualification is unnecessary,
and may be safely removed.
<!-- tooltip end -->
<p>
<small>Powered by InspectionGadgets</small>
</body>
</html> | consulo/consulo-java | java-analysis-impl/src/main/resources/inspectionDescriptions/UnnecessarilyQualifiedStaticUsage.html | HTML | apache-2.0 | 283 |
package agent
import (
"flag"
)
func (this *Agent) BindFlags() {
flag.BoolVar(&this.selfRegister, "self_register", true, "Registers self with the registry.")
flag.IntVar(&this.ListenPort, "port", 25657, "Listening port for agent")
flag.StringVar(&this.StatusPubsubTopic, "status_topic", "", "Status pubsub topic")
... | infradash/dash | pkg/agent/flags.go | GO | apache-2.0 | 540 |
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
namespace RestSamples.Service
{
public class ApiServiceWithHttpClient : IApiService
{
private HttpMessageHandler _messageHandler;
public ApiServiceWithHtt... | chniotis/PlayGround | RestSamples/RestSamples/Service/ApiServiceWithHttpClient.cs | C# | apache-2.0 | 1,421 |
/*
*
* 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... | jeckersb/Proton | proton-c/src/transport/transport.c | C | apache-2.0 | 90,312 |
<!-- This file is machine generated: DO NOT EDIT! -->
# Losses (contrib)
[TOC]
Ops for building neural network losses.
## Other Functions and Classes
- - -
### `tf.contrib.losses.absolute_difference(predictions, targets, weight=1.0, scope=None)` {#absolute_difference}
Adds an Absolute Difference loss to the traini... | HaebinShin/tensorflow | tensorflow/g3doc/api_docs/python/contrib.losses.md | Markdown | apache-2.0 | 10,783 |
var searchData=
[
['joystick',['Joystick',['../class_tri_1_1_input_1_1_joystick.html#a2b9df8a7989454ead020526745d49fdb',1,'Tri::Input::Joystick']]]
];
| TriantEntertainment/TritonEngine | docs/html/search/functions_8.js | JavaScript | apache-2.0 | 153 |
[](https://travis-ci.org/NickAger/aerogear-diffmatchpatch-ios)
[](http://cocoapods.org/pods/DiffMatchPatch)
[;
float: left;
margin-bottom: 10px;
font-weight: bold;
}
.code-editor {
background: rgb(88, 80, 78);
color: white;
border: 0;
border-radius: 5px;
width: calc(100%/3 - 5px);
max-width: calc(100%/3 - 5px);
... | ProgrammerKid/code-bit | app/ext/css/editor.css | CSS | apache-2.0 | 404 |
/**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | Unicon/openregistry | openregistry-test-support/src/main/java/org/jasig/openregistry/test/domain/MockPerson.java | Java | apache-2.0 | 11,410 |
/*
* Copyright (c) 2015-2016 Fraunhofer FOKUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | nubomedia/nubomedia-paas | src/main/resources/static/bower_components/morrisjs/morris.css | CSS | apache-2.0 | 1,061 |
export GOPATH:=$(shell pwd)
GO ?= go
PKG := ./src/diato/
# TODO: Do we also want to run with debug in production?
# the github.com/rjeczalik/notify prints a lot of debug
# stuff when this is set.
BUILDTAGS := debug
VERSION ?= $(shell git describe --dirty --tags | sed 's/^v//' )
.PHONY: default
default:... | Freeaqingme/diato | Makefile | Makefile | apache-2.0 | 1,261 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1">
<title>Greenshocks 101 - labels</title>
<meta name="description" content="labels">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="styles... | martin-fabbri/greensock-playground | greenshock-101/7-timelinelite/index.html | HTML | apache-2.0 | 2,801 |
<?php
/***************************************************************************
* copyright : (C) 2008 - 2016 WeBid
* site : http://www.webidsupport.com/
***************************************************************************/
/**********************************************************************... | nath-haran/jivass | WeBid-1.2.1/admin/fees.php | PHP | apache-2.0 | 6,662 |
# 1.0.0 (unfixed)
- **Nouveautés
- Autoloader retravaillé, tous les fichiers et ceux des sous répertoires du dossier "core" sont inclus au projet.
- Création d'un fichier de configuration `settings.php` permettant de définir des variables superglobales.
- Bootstrap d'initialisation des variables de l'application
... | r0mdau/flashsms | CHANGELOG.md | Markdown | apache-2.0 | 1,359 |
package org.openengsb.loom.java;
import org.openengsb.core.api.AliveState;
import org.openengsb.core.api.Connector;
import org.openengsb.domain.example.ExampleDomain;
import org.openengsb.domain.example.event.LogEvent;
import org.openengsb.domain.example.model.ExampleRequestModel;
import org.openengsb.domain.example.m... | openengsb/loom-java | bridge/src/test/java/org/openengsb/loom/java/ExampleConnector.java | Java | apache-2.0 | 1,568 |
package org.pedrohos.business.notas;
import java.math.BigInteger;
import org.pedrohos.model.dto.NotaDTO;
public abstract class NotaDefault {
public NotaDTO calcula(BigInteger valor) {
NotaDTO nota = new NotaDTO();
nota.setNota(getValorNota());
BigInteger quantidade = valor.divide(getValorNota());
... | pedro-hos/caixa-eletronico | ce-core/src/main/java/org/pedrohos/business/notas/NotaDefault.java | Java | apache-2.0 | 646 |
/*******************************************************************************
* Copyright 2016 Jalian Systems Pvt. 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:... | jalian-systems/marathonv5 | marathon-core/src/main/java/net/sourceforge/marathon/resource/navigator/Copy.java | Java | apache-2.0 | 8,386 |
# Taraxacum staticifolium Soest 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/Taraxacum staticifolium/README.md | Markdown | apache-2.0 | 179 |
/*!
\file main.c
\brief CAN networking communication in normal mode
*/
/*
Copyright (C) 2016 GigaDevice
2014-12-26, V1.0.0, firmware for GD32F1x0(x=3,5)
2016-01-15, V2.0.0, firmware for GD32F1x0(x=3,5,7,9)
2016-04-30, V3.0.0, firmware update for GD32F1x0(x=3,5,7,9)
*/
#include "gd32f1x0.h"
#... | liuxuming/trochili | firmware/GD32F1x0_Firmware_Library_V3.0.0/Examples/CAN/Network_communication/main.c | C | apache-2.0 | 6,662 |
package de.peeeq.wurstscript.validation;
import com.google.common.collect.*;
import de.peeeq.wurstio.utils.FileUtils;
import de.peeeq.wurstscript.WLogger;
import de.peeeq.wurstscript.ast.*;
import de.peeeq.wurstscript.attributes.CofigOverridePackages;
import de.peeeq.wurstscript.attributes.CompileError;
import de.peee... | wurstscript/WurstScript | de.peeeq.wurstscript/src/main/java/de/peeeq/wurstscript/validation/WurstValidator.java | Java | apache-2.0 | 98,606 |
package fr.iut.csid.empower.elearning.core.service.impl;
import javax.inject.Inject;
import javax.inject.Named;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Propagation;
import org.springframewo... | piibl/elearning-parent | elearning-core/src/main/java/fr/iut/csid/empower/elearning/core/service/impl/TeacherServiceImpl.java | Java | apache-2.0 | 2,254 |
package com.damocles.sample;
import com.damocles.R;
import com.damocles.sample.util.Utils;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.ArrayAdapter;
import android.widget.Li... | zhanglong-daniel/Damocles | app/src/main/java/com/damocles/sample/ListViewSectionActivity.java | Java | apache-2.0 | 6,973 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ga4gh/sequence_annotation_service.proto
package ga4gh;
public final class SequenceAnnotationServiceOuterClass {
private SequenceAnnotationServiceOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegis... | opencb/ga4gh | src/main/java/ga4gh/SequenceAnnotationServiceOuterClass.java | Java | apache-2.0 | 192,853 |
// Copyright (c) 2002-2019 "Neo4j,"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// 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... | ali-ince/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests/Types/ZonedDateTimeWithZoneIdTests.cs | C# | apache-2.0 | 15,028 |
// Copyright © 2017-2018 Andy Goryachev <andy@goryachev.com>
package goryachev.findfiles;
import goryachev.common.util.CList;
import java.util.List;
/**
* Text Model With Highlights.
*/
public class TextModelWithHighlights
extends StyledTextModel
{
private final CList<Integer> highlightedLines;
... | andy-goryachev/FindFiles | src/goryachev/findfiles/TextModelWithHighlights.java | Java | apache-2.0 | 589 |
## How to read barcodes from subfolder with barcode reader sdk in Delphi and ByteScout Premium Suite
### How to write a robust code in Delphi to read barcodes from subfolder with barcode reader sdk with this step-by-step tutorial
On this page you will learn from code samples for programming in Delphi.Writing of the c... | bytescout/ByteScout-SDK-SourceCode | Premium Suite/Delphi/Read barcodes from subfolder with barcode reader sdk/README.md | Markdown | apache-2.0 | 5,900 |
all:
rebar3 compile
clean:
rebar3 clean && rm -rf _build
| rabbitmq/rabbitmq-tutorials | erlang/Makefile | Makefile | apache-2.0 | 62 |
[](https://hub.docker.com/r/capitalone/hygieia-api/)
[](https://hub.docker.com/r/capitalone/hygieia-api/)
## Hygieia℠ UI
### Requirements
- NodeJS
- npm
- gulp
-... | sagarvsh/test | UI/README.md | Markdown | apache-2.0 | 3,309 |
/*
* Copyright 2013 Muthukumaran (https://github.com/muthuishere/).
*
* 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 re... | muthuishere/sshcommandbroadcaster | src/com/sshutils/views/console/ConsoleCommand.java | Java | apache-2.0 | 849 |
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | googlestadia/vsi-lldb | VSFake/VisualStudioFake/Internal/Jobs/IJobQueue.cs | C# | apache-2.0 | 1,124 |
/*
Copyright (c) 2016 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | RotatingFans/govmomi | govc/folder/create.go | GO | apache-2.0 | 2,092 |
SET NAMES 'utf8';
ALTER TABLE `PREFIX_order_invoice_tax` ADD INDEX (`id_tax`);
INSERT IGNORE INTO `PREFIX_meta` (`id_meta`, `page`, `configurable`) VALUES
(NULL, 'products-comparison', '1'),
(NULL, 'cms', '0'),
(NULL, 'category', '0'),
(NULL, 'product', '0'),
(NULL, 'module-bankwire-payment', '0'),
(NULL,... | djfm/pstaf | FunctionalTest/UpgradeTest/prestashop/install-dev/upgrade/sql/1.6.0.6.sql | SQL | apache-2.0 | 1,340 |
package com.tlorrain.android.rezenerator.core.log;
public class NoopLogger implements Logger {
@Override
public void info(String info) {
}
@Override
public void verbose(String debug) {
}
@Override
public void error(String error) {
}
@Override
public void verbose(Exception exception) {
}
}
| fredszaq/Rezenerator | rezenerator-core/src/main/java/com/tlorrain/android/rezenerator/core/log/NoopLogger.java | Java | apache-2.0 | 308 |
<?php
namespace Modules\Blog\Http\Controllers;
use Illuminate\Routing\Controller;
class CategoryController extends Controller
{
public function show($slug)
{
dd('NYI');
}
}
| vainproject/vain-blog | src/Blog/Http/Controllers/CategoryController.php | PHP | apache-2.0 | 196 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_12) on Sun Feb 08 17:27:07 PST 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
net.sourceforge.pmd.util.vie... | deleidos/digitaledge-platform | commons/buildtools/pmd/docs/apidocs/net/sourceforge/pmd/util/viewer/gui/menu/package-tree.html | HTML | apache-2.0 | 8,134 |
// Copyright 2014 The Bazel 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 appl... | dropbox/bazel | src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkRuleClassFunctions.java | Java | apache-2.0 | 30,252 |
package com.java110.fee.bmo.feeFormula;
import com.java110.po.feeFormula.FeeFormulaPo;
import org.springframework.http.ResponseEntity;
public interface IDeleteFeeFormulaBMO {
/**
* 修改费用公式
* add by wuxw
* @param feeFormulaPo
* @return
*/
ResponseEntity<String> delete(FeeFormulaPo feeF... | java110/MicroCommunity | service-fee/src/main/java/com/java110/fee/bmo/feeFormula/IDeleteFeeFormulaBMO.java | Java | apache-2.0 | 347 |
1 /*
2 * $Id: TestActionRedirect.java 514052 2007-03-03 02:00:37Z pbenedict $
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 *... | ExclamationLabs/struts-1.3.10_docs | struts-core/xref-test/org/apache/struts/action/TestActionRedirect.html.md | Markdown | apache-2.0 | 8,746 |
package org.danielnixon.playwarts
import org.wartremover.{ WartTraverser, WartUniverse }
abstract class ObjectMultiWart(
wartClassName: String,
targetObjectName: String,
methods: List[(String, String)]
) extends WartTraverser {
class Op(name: String, error: String) extends WartTraverser {
override ... | danielnixon/playwarts | core/src/main/scala/org/danielnixon/playwarts/ObjectMultiWart.scala | Scala | apache-2.0 | 1,040 |
/*
* Copyright 2015 Foundational Development
*
* 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 appl... | rssvihla/datastax_work | spark_commons/benchmarks/low_latency_spark/src/main/scala/pro/foundev/reporting/RunTimeOptions.scala | Scala | apache-2.0 | 766 |
/*
* ====================================================================
* 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
... | ok2c/httpcore | httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/AsyncServer.java | Java | apache-2.0 | 2,674 |
/*
* 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 n... | Ishiihara/kafka | streams/src/test/java/org/apache/kafka/streams/integration/RestoreIntegrationTest.java | Java | apache-2.0 | 18,703 |
package main
import (
"fmt"
"sort"
"strings"
)
type State struct {
hand []string
discard []string
deck []string
Picks []string
victory int
numProv int
}
func (s *State) NewCopy() State {
ds := State{}
ds.hand = make([]string, len(s.hand))
ds.discard = make([]string, len(s.discard))
ds.deck = ma... | manishrjain/dominion | state.go | GO | apache-2.0 | 4,477 |
package org.arquillian.algeron.pact.consumer.core;
import au.com.dius.pact.consumer.dsl.PactDslWithProvider;
import au.com.dius.pact.model.RequestResponsePact;
import org.arquillian.algeron.pact.consumer.core.client.StandaloneConsumerPactTest;
import org.arquillian.algeron.pact.consumer.spi.Pact;
import org.arquillian... | arquillian/arquillian-algeron | pact/consumer/core/src/test/java/org/arquillian/algeron/pact/consumer/core/ConsumerPactTestTest.java | Java | apache-2.0 | 6,791 |
# Persicaria utriculosa (Tikovsky) Soják SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Polygonaceae/Persicaria/Persicaria utriculosa/README.md | Markdown | apache-2.0 | 189 |
---
layout: post
title: "pip install guide"
subtitle: "pip install guide"
date: 2016-12-07 22:00:00
author: "Haoking"
header-img: "img/post-bg-re-vs-ng2.jpg"
tags:
- iOS
- Front-end
- OSX
- pip
- python
---
> [Please indicate the source of forwarding and be a follower of my Git... | haoking/haoking.github.io | _posts/2016-12-07-pip-install.markdown | Markdown | apache-2.0 | 789 |
package foo.user;
import javax.persistence.*;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
@Repository
@Transactional(readOnly = true)
public class UserRepository {
@PersistenceContext
private EntityManager entityManager;
@Tra... | jordanbaucke/spring-fabric | src/main/java/foo/user/UserRepository.java | Java | apache-2.0 | 672 |
package com.buddysearch.android.data.util;
import lombok.experimental.UtilityClass;
@UtilityClass
public class StringUtil {
/**
* Examples:
* concatLinearly("_", one, 123) -> one_123
* concatLinearly("-", null, 123) -> 123
* concatLinearly("-", one, null) -> one
*/
public static Stri... | ihorvitruk/buddysearch | data/src/main/java/com/buddysearch/android/data/util/StringUtil.java | Java | apache-2.0 | 831 |
/**
*
* 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 ... | brosander/nifi-minifi-cpp | libminifi/src/processors/InvokeHTTP.cpp | C++ | apache-2.0 | 19,667 |
#!/usr/bin/env bash
############ CODE
ZCodeConfig() {
if [ -e /opt/code ] && [ "$(uname)" != "Darwin" ] ; then
export ZCODEDIR=${ZCODEDIR:-/opt/code}
else
export ZCODEDIR=${ZCODEDIR:-~/code}
fi
}
ZCodeGetJSUsage() {
cat <<EOF
Usage: ZCodeGet [-r reponame] [-g giturl] [-a account] [-b ... | Jumpscale/core9 | bash/lib/code_lib.sh | Shell | apache-2.0 | 8,213 |
// native Promises are supported from Node.js 6.10 on AWS lambdas
module.exports.handler = function (event, context) {
if (event.succeed) {
const delay = event.succeed.delay;
const result = event.succeed.result;
return new Promise((resolve) => setTimeout(resolve,delay))
.then(... | bbc/aws-lambda-runner | spec/test_promise.js | JavaScript | apache-2.0 | 602 |
# Valeriana minutiflora Hand.-Mazz. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Dipsacales/Valerianaceae/Valeriana/Valeriana minutiflora/README.md | Markdown | apache-2.0 | 183 |
<?php /* Smarty version Smarty3-b8, created on 2011-05-25 17:00:01
compiled from "D:\htdocs\yulog.net.shehua\backadmin/Template/product_detail.html" */ ?>
<?php /*%%SmartyHeaderCode:203404ddcc511941f53-64435125%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array... | Capitalwang/shehuahk | smarty/temp/81be815715f51430c231e3f87aefdaf3814e919c.file.product_detail.html.php | PHP | apache-2.0 | 7,390 |
/*
* Copyright 2014 Red Hat, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.o... | sibay/vertx-web | vertx-web/src/main/java/io/vertx/ext/web/sstore/impl/SessionImpl.java | Java | apache-2.0 | 12,081 |
/* Copyright 2015 The TensorFlow 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 a... | HaebinShin/tensorflow | tensorflow/core/ops/nn_ops.cc | C++ | apache-2.0 | 45,533 |
/*
* 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-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/transform/DeactivateAnomalyDetectorResultJsonUnmarshaller.java | Java | apache-2.0 | 1,747 |
---
layout: post
title: 使用PDF等矢量图适配
date: 2015-01-14 12:03:02
tags: 矢量图适配
excerpt: "用矢量图来适配."
comments: true
---
#使用PDF等矢量图适配
####使用方法
在你的项目中有个文件夹叫 `Images.xcassets` 把pdf图放在这个文件夹里面 单击图片 右边工具栏可设置图片types 将其设置为`vestors`
给个详细链接吧 感谢此博主<http://blog.csdn.net/cuibo1123/article/details/39486197> | Onery/onery.github.io | _posts/2015-01-14-使用PDF等矢量图适配.md | Markdown | apache-2.0 | 461 |
package at.spenger.git.start;
import java.time.Instant;
import java.time.LocalDate;
import java.time.Period;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
public class Haupt {
public static void main(String[] args) {
System.out.println("Hallo Welt!");
System.out.println("Ci... | htlspenger2013/startgit | git-start/src/at/spenger/git/start/Haupt.java | Java | apache-2.0 | 1,052 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.