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 |
|---|---|---|---|---|---|
# -*- coding: utf-8 -*-
#
from datetime import datetime, timedelta
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.auth.decorators import login_required
from django.core.exceptions import PermissionDenied
from django.db import transaction
from django.http import HttpR... | kensonman/mansonsolutions.sugar | src/sugar/views.py | Python | apache-2.0 | 4,129 |
<?php
/**
* This file is part of the SfAdvanced package.
* (c) SfAdvanced Project (http://www.sfadvanced.jp/)
*
* For the full copyright and license information, please view the LICENSE
* file and the NOTICE file that were distributed with this source code.
*/
class saPluginDeactivateTask extends sfBaseTask
{
... | kashiwasan/symfony-advanced | lib/task/saPluginDeactivateTask.class.php | PHP | apache-2.0 | 1,691 |
import mongo.MongoOperations
import org.chepurnoy.timeseries.{TimeSeriesDatum, TimeSeriesStringDatum, TimeSeriesDoubleDatum}
import org.joda.time.DateTime
import org.specs2.mutable.Specification
import scala.concurrent.Await
import scala.concurrent.duration._
class IntegrationSpec extends Specification{
val db = ... | kushti/timeseries | src/test/scala/IntegrationSpec.scala | Scala | apache-2.0 | 1,669 |
#/bin/sh
#start or stop the im-server
LOGIN_SERVER=login_server
MSG_SERVER=msg_server
ROUTE_SERVER=route_server
HTTP_MSG_SERVER=http_msg_server
FILE_SERVER=file_server
PUSH_SERVER=push_server
DB_PROXY_SERVER=db_proxy_server
MSFS=msfs
function restart() {
cd $1
if [ ! -e *.conf ]
then
echo "no co... | zqiang/TeamTalk | server/run/restart.sh | Shell | apache-2.0 | 1,434 |
/*
* Copyright 2019 EPAM Systems
*
* 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 ... | reportportal/service-ui | app/src/components/inputs/inputCheckbox/index.js | JavaScript | apache-2.0 | 642 |
package model
// ArgBind bind args.
type ArgBind struct {
OpenID string
OutOpenID string
AppID int64
}
// ArgBindInfo bind info args.
type ArgBindInfo struct {
Mid int64
AppID int64
}
// ArgThirdPrizeGrant prize grant args.
type ArgThirdPrizeGrant struct {
Mid int64 `form:"mid" validate:"requir... | LQJJ/demo | 126-go-common-master/app/service/main/vip/model/associate_params.go | GO | apache-2.0 | 875 |
package com.f2prateek.rx.preferences2;
import android.annotation.TargetApi;
import android.content.SharedPreferences;
import androidx.annotation.NonNull;
import java.util.Set;
import static android.os.Build.VERSION_CODES.HONEYCOMB;
import static java.util.Collections.unmodifiableSet;
@TargetApi(HONEYCOMB) final clas... | f2prateek/rx-preferences | rx-preferences/src/main/java/com/f2prateek/rx/preferences2/StringSetAdapter.java | Java | apache-2.0 | 852 |
#ifndef DOBBY_SYMBOL_RESOLVER_H
#define DOBBY_SYMBOL_RESOLVER_H
#ifdef __cplusplus
extern "C" {
#endif
void *DobbySymbolResolver(const char *image_name, const char *symbol_name);
#ifdef __cplusplus
}
#endif
#endif | jmpews/HookZz | builtin-plugin/SymbolResolver/dobby_symbol_resolver.h | C | apache-2.0 | 217 |
# Heterococcus fuornensis Vischer SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Chromista/Ochrophyta/Xanthophyceae/Tribonematales/Heteropediaceae/Heterococcus/Heterococcus fuornensis/README.md | Markdown | apache-2.0 | 189 |
'use strict';
const nock = require('nock');
const watson = require('../../index');
const authHelper = require('./auth_helper.js');
const auth = authHelper.auth;
const describe = authHelper.describe; // this runs describe.skip if there is no auth.js file :)
const TWENTY_SECONDS = 20000;
const TWO_SECONDS = 2000;
descr... | JohnBorkowski/node-sdk | test/integration/test.language_translator.js | JavaScript | apache-2.0 | 1,335 |
package org.gradle.test.performance.mediummonolithicjavaproject.p383;
public class Production7669 {
private Production7666 property0;
public Production7666 getProperty0() {
return property0;
}
public void setProperty0(Production7666 value) {
property0 = value;
}
priv... | oehme/analysing-gradle-performance | my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p383/Production7669.java | Java | apache-2.0 | 1,963 |
/* Copyright 2019 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... | xzturn/tensorflow | tensorflow/compiler/mlir/tensorflow/utils/compile_mlir_util.cc | C++ | apache-2.0 | 13,146 |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>JsonException - com.ligadata.Serialize.JsonException</title>
<meta name="description" content="JsonException - com.ligadata.Serialize.... | traytonwhite/Kamanja | trunk/Documentation/KamanjaAPIDocs/com/ligadata/Serialize/JsonException.html | HTML | apache-2.0 | 32,984 |
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | ccrouch/python-tuskarclient | tuskarclient/tests/v1/test_resource_class.py | Python | apache-2.0 | 2,273 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\VarDumper\Caster;
use Symfony\Component\... | focuslife/v0.1 | vendor/symfony/var-dumper/Caster/AmqpCaster.php | PHP | apache-2.0 | 5,642 |
# only processes a single environment as the placeholder is not preserved
function prepareEnv() {
unset HTTPS_NAME
unset HTTPS_PASSWORD
unset HTTPS_KEYSTORE_DIR
unset HTTPS_KEYSTORE
unset HTTPS_KEYSTORE_TYPE
}
function configure() {
configure_https
}
function configureEnv() {
configure
}
function conf... | bdecoste/cct_module | os-eap7-launch/added/launch/https.sh | Shell | apache-2.0 | 1,504 |
# Hecatoncheir: The Data Stewardship Studio
## About Hecatoncheir
Hecatoncheir is software that helps data stewards to ensure data
quality management and data governance with using database metadata,
statistics and data profiles.
## Key Features
Hecatoncheir allows you to:
* Collect metadata from database dictio... | snaga/Hecatoncheir | README.md | Markdown | apache-2.0 | 2,511 |
# Cissus hochstetteri Planch. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Vitales/Vitaceae/Cissus/Cissus hochstetteri/README.md | Markdown | apache-2.0 | 177 |
{% extends '_layouts/base.html' %}
{% set title = 'Ionic Enterprise Edition: Trusted Solution for Building Enterprise Apps' %}
{% set meta_image = 'https://ionicframework.com/img/meta/products-ee-og.png' %}
{% set meta_description = "Ionic Enterprise Edition is a trusted foundation and full-stack solution to build and ... | driftyco/ionic-site | server/pages/products/enterprise-edition.html | HTML | apache-2.0 | 22,403 |
import React from 'react'
import Paper from 'material-ui/Paper';
import Grid from 'material-ui/Grid';
import Button from 'material-ui/Button';
import Card from 'material-ui/Card';
import TextField from 'material-ui/TextField';
import Typography from 'material-ui/Typography'
import Api from '../../../data/api'
import {... | Minoli/carbon-apimgt | features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/store/source/src/app/components/Apis/Details/Forum.js | JavaScript | apache-2.0 | 4,865 |
using Misakai.Kafka;
namespace Misakai.Kafka
{
public interface IPartitionSelector
{
/// <summary>
/// Select the appropriate partition post a message based on topic and key data.
/// </summary>
/// <param name="topic">The topic at which the message will be sent.</param>
... | Kelindar/misakai-kafka | Misakai.Kafka/Contracts/IPartitionSelector.cs | C# | apache-2.0 | 574 |
# AUTOGENERATED FILE
FROM balenalib/var-som-mx6-ubuntu:bionic-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python depe... | nghiant2710/base-images | balena-base-images/python/var-som-mx6/ubuntu/bionic/3.8.9/run/Dockerfile | Dockerfile | apache-2.0 | 4,070 |
/*
* Copyright 2013 Monoscape
*
* 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... | monoscape/monoscape | Monoscape.CloudController.Api/Services/Dashboard/Model/CcGetSubscriptionResponse.cs | C# | apache-2.0 | 1,074 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | hazendaz/assertj-core | src/main/java/org/assertj/core/error/ShouldHaveStamp.java | Java | apache-2.0 | 1,201 |
<!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" xml:lang="en" lang="en">
<!-- Mirrored from scaikeqc.org/xxxv/detail.php?Human=Ragnar%20Bloodaxe by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 26 Feb 2... | SandorDosa/ikeqc_historical | xxxv/detail92b9.html | HTML | apache-2.0 | 3,619 |
package com.google.api.ads.dfp.jaxws.v201602;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Updates... | gawkermedia/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201602/CompanyServiceInterfaceupdateCompanies.java | Java | apache-2.0 | 2,179 |
# Senecio dealbatus Phil. 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/Senecio/Senecio dealbatus/README.md | Markdown | apache-2.0 | 173 |
package test;
import java.util.List;
import news_type_mine_tool.HomePageMineUtil;
public class TestHomePageMineUtil {
public static void main(String[] args) {
System.setProperty("http.proxyHost","10.10.10.78");
System.setProperty("http.proxyPort","8080");
// String newsPageUrl = "http://www.banyuetan.org/ch... | sakuraloku/NewsTypeMineTool | test/TestHomePageMineUtil.java | Java | apache-2.0 | 1,266 |
---
layout: post
title: "关于MySQL在日常使用中遇到的一些问题"
subtitle: ""
description: "MySQL 问题 无法插入 中文 乱码 Error Code:1093 "
date: 2016-07-24 01:00:00
author: "Scalpel"
header-img: "img/home-bg-o.jpg"
tags:
- 数据库
- Linux
- 软件使用
---
### 问题一
由于MySQL默认字符编码为Latin,不支持中文,所以会遇到无法插入中文数据或者中文乱码的情况,这时我们可以更改其默认字符编码:打开`/e... | scalpelx/scalpelx.github.io | _posts/2016-07-24-mysqlproblem.markdown | Markdown | apache-2.0 | 2,226 |
# Episcia subacaulis Griseb. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Gesneriaceae/Episcia/Episcia subacaulis/README.md | Markdown | apache-2.0 | 176 |
/*
* Copyright (C) 2012 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | typetools/guava | guava/src/com/google/common/math/Stats.java | Java | apache-2.0 | 25,362 |
# Clerodendrum illustre N.E.Br. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lamiaceae/Clerodendrum/Clerodendrum illustre/README.md | Markdown | apache-2.0 | 179 |
package ch.plusminus.control.commands;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.World;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.invent... | silvan201/CTRL | src/ch/plusminus/control/commands/worlds.java | Java | apache-2.0 | 1,000 |
#ifndef Alchemy_ElePanda
#define Alchemy_ElePanda
#include "Common.h"
#include "../Monster.h"
class ElePanda : public Monster {
public:
ElePanda();
~ElePanda();
static Monster* create(void);
static PE_s_monster param_ElePanda;
private:
};
#endif | kkh029/Alchemy | Alchemy/Classes/Object/Monster/ElePanda.h | C | apache-2.0 | 280 |
using System.Diagnostics;
using System.IO;
using MO.Common.Lang;
namespace MO.Common.IO
{
//============================================================
// <T>目录工具类。</T>
//============================================================
public static class RDirectory
{
//==============================... | favedit/MoCross | Tools/1 - Common/MoCommon/IO/RDirectory.cs | C# | apache-2.0 | 6,367 |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 201... | thlaegler/microservice | microservice-adapter/src/main/java/com/laegler/microservice/adapter/lib/javaee/v7/XsdStringType.java | Java | apache-2.0 | 2,838 |
/*
* Copyright 2007-2009 Hidekatsu Izuno
*
* 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... | hisataka/altxt2db | target/altxt2db-0.0.1-jar-with-dependencies/net/arnx/jsonic/web/extension/package-info.java | Java | apache-2.0 | 709 |
/**
* Copyright (C) 2016 Dourachok Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | pyaniyMedved/dourachok | dourachok-core/src/main/java/com/ivan/dourachok/engine/runtime/utils/FactUtils.java | Java | apache-2.0 | 2,677 |
/*
* This file is part of the PSL software.
* Copyright 2011-2013 University of Maryland
*
* 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/LIC... | JackSullivan/psl | psl-core/src/main/java/edu/umd/cs/psl/optimizer/lbfgs/ConvexFunc.java | Java | apache-2.0 | 1,116 |
/*
* Copyright (c) 2007 Mike Heath. 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 re... | taojiaenx/tjeadbc | api/src/main/java/org/adbcj/PreparedUpdate.java | Java | apache-2.0 | 775 |
<!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_25) on Mon Jun 02 17:48:59 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.f... | FasterXML/jackson-databind | docs/javadoc/2.4/com/fasterxml/jackson/databind/jsontype/impl/class-use/TypeIdResolverBase.html | HTML | apache-2.0 | 8,382 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | hazendaz/assertj-core | src/test/java/org/assertj/core/internal/strings/Strings_assertIsUpperCase_Test.java | Java | apache-2.0 | 2,119 |
# -*- coding: utf-8 -*-
#
# Baobab documentation build configuration file, created by
# sphinx-quickstart on Tue Dec 7 00:44:28 2010.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All ... | riquito/Baobab | doc/source/conf.py | Python | apache-2.0 | 7,266 |
/*!
* Font Awesome 3.2.1
* the iconsic font designed for Bootstrap
* ------------------------------------------------------------------------------
* The full suite of pictographic iconss, examples, and documentation can be
* found at http://fontawesome.io. Stay up to date on Twitter at
* http://twitter.co... | wirekom/pantauharga | web-app/css/font-awesome.css | CSS | apache-2.0 | 27,772 |
package main
import (
"crypto/sha1"
"fmt"
"os"
"time"
"github.com/op/go-logging"
)
type Pinger interface {
Id() string
Ping()
}
type Radio struct {
Name string
Uri string
}
type Server struct {
Name string
Host string
Port int
Internal bool
LastPing int64
RadioId string
RadioUri strin... | felixb/ub0r-streaming | go/common.go | GO | apache-2.0 | 1,573 |
/*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... | HuangLS/neo4j | community/io/src/test/java/org/neo4j/graphdb/mockfs/DelegatingFileSystemAbstraction.java | Java | apache-2.0 | 4,641 |
package edu.samplu.admin.test;
import org.junit.Test;
import org.openqa.selenium.By;
import java.util.HashMap;
import java.util.Map;
import static com.thoughtworks.selenium.SeleneseTestBase.assertTrue;
/**
* @author Kuali Rice Team (rice.collab@kuali.org)
*/
public class DocumentSearchURLParametersIT_testAdvanced... | ua-eas/ksd-kc5.2.1-rice2.3.6-ua | rice-middleware/sampleapp/src/it/java/edu/samplu/admin/test/DocumentSearchURLParametersIT_testAdvancedSearchFieldsAndExecuteSearch.java | Java | apache-2.0 | 1,156 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Sat Jun 18 13:56:55 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.c... | play2-maven-plugin/play2-maven-plugin.github.io | external-apidocs/org/codehaus/plexus/plexus-archiver/3.4/org/codehaus/plexus/archiver/snappy/class-use/SnappyArchiver.html | HTML | apache-2.0 | 4,621 |
package org.etl.config
import java.sql._
import org.slf4j.Logger
import com.typesafe.config._
import com.typesafe.scalalogging.LazyLogging
/**
* @author jpvel
TODO I would like to use immutable map instead of mutable map
*/
case class Resource(configType:String, auth_info:String, url:String, name:Stri... | jpvelsamy/sparrow | sparrow-server/src/main/scala/org/etl/config/ConfigurationService.scala | Scala | apache-2.0 | 6,489 |
/**
* 日 期:12-5-29
*/
package com.appleframework.rest.marshaller;
import com.fasterxml.jackson.core.JsonEncoding;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.dataformat.... | xushaomin/apple-rest | src/main/java/com/appleframework/rest/marshaller/MessageMarshallerUtils.java | Java | apache-2.0 | 3,931 |
package com.fionapet.business.service;
import com.fionapet.business.entity.UserDict;
import com.fionapet.business.repository.UserDictDao;
import com.fionapet.business.repository.UserDictDetailDao;
import org.dubbo.x.repository.DaoBase;
import org.dubbo.x.service.CURDServiceBase;
import org.slf4j.Logger;
import org.slf... | fiona-pet/business | fionapet-business-service-provider/src/main/java/com/fionapet/business/service/UserDictServiceImpl.java | Java | apache-2.0 | 1,862 |
#include "TransparentVRPSolver.h"
namespace Scheduler
{
void TransparentVRPSolver::optimize(Scene& scene) const
{
}
}
| Eaglegor/SchedulerEngine | Engine/Algorithms/VRPSolvers/Utilitary/Transparent/TransparentVRPSolver.cpp | C++ | apache-2.0 | 122 |
/*
* customgroupservice.java
*
* Created on July 17, 2007, 9:30 AM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package tutorial.customgroupservice;
import java.io.File;
import java.net.URI;
import java.util.Arrays;
import net.jxta.document.Advertiseme... | johnjianfang/jxse | tutorials/src/main/java/tutorial/customgroupservice/CustomGroupService.java | Java | apache-2.0 | 8,249 |
/*
* Copyright 2013 Simone Campagna
*
* 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... | simone-campagna/Configment | configment/configment/base.h | C | apache-2.0 | 7,689 |
Starting with Babylon.js 2.3 the loading screen (the screen used when loading assets or a scene) can be changed by the developer.
To create a new loading screen, you will have to create a simple class, implementing the following interface:
```javascript
interface ILoadingScreen {
//What happens when loading starts
... | h53d/babylonjs-doc-cn | target/tutorials/02_Mid_Level/Creating_a_custom_loading_screen.md | Markdown | apache-2.0 | 1,490 |
/*
* PowerAuth Web Flow and related software components
* Copyright (C) 2019 Wultra s.r.o.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (... | lime-company/powerauth-webflow | powerauth-webflow-authentication-login-sca/src/main/java/io/getlime/security/powerauth/lib/webflow/authentication/method/loginsca/controller/LoginScaController.java | Java | apache-2.0 | 28,707 |
# TODO: Yes need to fix this violation of visibility
from functools import partial
from jarvis_cli.client.common import _get_jarvis_resource, _post_jarvis_resource, \
_put_jarvis_resource, query
def _construct_log_entry_endpoint(event_id):
return "events/{0}/logentries".format(event_id)
def get_log_entry(eve... | clb6/jarvis-cli | jarvis_cli/client/log_entry.py | Python | apache-2.0 | 938 |
/*
Copyright 2019 The Vitess Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | vitessio/vitess | go/vt/wrangler/materializer.go | GO | apache-2.0 | 41,238 |
\section{Introduction}
Introduction Section: Avadhoot
\section{Client Requirements and Visualization Goals}
\section{Technical Solution}
\section{Visualizations}
\subsection{Dashboard}
\subsection{Top Agents and Trends}
\subsection{Top Searches and Trends}
\subsection{Top Countries and Trends}
\subsection{To... | avadhoot-agasti/ivmooc-scimap-webanalytics | report/section.tex | TeX | apache-2.0 | 537 |
//
// BindingPlatesViewController.h
// sgSalerReport
//
// Created by YaoHuiQiu on 16/5/4.
// Copyright © 2016年 dwolf. All rights reserved.
//
#import "BaseViewController.h"
//解除绑定or绑定
@interface BindingPlatesViewController : BaseViewController
@end
| caolonghan/First | CapitaStar_IOS_1.2.4 2 11.14适配x/kaidexing/MWM/Register/BindingPlatesViewController.h | C | apache-2.0 | 271 |
# 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 applica... | keras-team/keras | keras/initializers/__init__.py | Python | apache-2.0 | 7,577 |
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under ... | OpenPOWER-BigData/HDP-falcon | src/bin/prism_stop.py | Python | apache-2.0 | 848 |
package com.google.devrel.training.conference.domain;
import static com.google.devrel.training.conference.service.OfyService.ofy;
import com.google.api.server.spi.config.AnnotationBoolean;
import com.google.api.server.spi.config.ApiResourceProperty;
import com.google.devrel.training.conference.form.ClientForm;
import... | SudarshN/GoalScaleApplication-for-OT | src/main/java/com/google/devrel/training/conference/domain/Client.java | Java | apache-2.0 | 4,359 |
<!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... | scottdarch/Noer | FRDMK66NoEr/SDK_2.1_FRDM-K66F-GCC-Full/middleware/multicore_2.1.0/erpc/doc/eRPC_infrastructure/erpcgen/class_opt_iter-members.html | HTML | apache-2.0 | 6,360 |
package org.light4j.servlet3.asyn;
import java.io.IOException;
import java.util.Date;
import javax.servlet.AsyncEvent;
import javax.servlet.AsyncListener;
public class MyAsyncListener implements AsyncListener {
public void onComplete(AsyncEvent event) throws IOException {
System.out.println("------异步调用完... | longjiazuo/java-project | j2ee-project/java-servlet3/src/main/java/org/light4j/servlet3/asyn/MyAsyncListener.java | Java | apache-2.0 | 640 |
=head1 LICENSE
Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | willmclaren/ensembl | modules/Bio/EnsEMBL/IdMapping/SyntenyRegion.pm | Perl | apache-2.0 | 14,970 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | ohac/sha1coinj | core/src/main/java/com/google/sha1coin/protocols/channels/PaymentChannelServerState.java | Java | apache-2.0 | 29,162 |
#!/usr/bin/python2.5
#
# Copyright 2009 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... | alexisvincent/downy | app.py | Python | apache-2.0 | 2,858 |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | stnava/ITK | Modules/Registration/PDEDeformable/include/itkESMDemonsRegistrationFunction.h | C | apache-2.0 | 10,836 |
<html>
<head>
<link rel="stylesheet" href="maven-theme.css">
<title>AppSecInc. MSI Extensions</title>
</head>
<body>
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><... | developmentalmadness/HelloWiX | lib/msiext-1.4/Docs/_win32_copy_files_u_i_8wxi.html | HTML | apache-2.0 | 1,792 |
package com.bjlx.QinShihuang.requestmodel;
/**
* 登录参数
* @author xiaozhi
*
*/
public class LoginReq {
/**
* 账户
*/
private String account;
/**
* 密码
*/
private String password;
/**
* 个推的clientId
*/
private String clientId;
public String getAccount() {
return account;
}
public void setAcc... | bujilvxing/QinShihuang | src/main/java/com/bjlx/QinShihuang/requestmodel/LoginReq.java | Java | apache-2.0 | 656 |
div#logo a {
display: block;
width: 100%;
height: 100%;
}
#footer_text a {
font-family: Arial,sans-serif;
font-style: normal;
font-size: 11px;
font-weight: normal;
color: #000000;
text-decoration: underline; white-space: nowrap;
}
#key_visual {
background: url(colorschemes/c... | CGVA/cgva_asp_website | lastdigindenver/style.css | CSS | apache-2.0 | 3,825 |
# @scheduled example
| arc-repos/arc-docs | en/aws/examples-scheduled.md | Markdown | apache-2.0 | 22 |
<app-main-layout [dataset]="dataset">
<mat-card>
<mat-card-title><mat-icon matListIcon>contacts</mat-icon> Submitters</mat-card-title>
<mat-card-content>
<div class="ui-g">
<div class="ui-g-12">
<mat-card class="inner-card">
<mat-card-title>
<mat-toolbar>
... | dickschoeller/gedbrowser | gedbrowserng-frontend/src/app/modules/submitter-list/submitter-list.component.html | HTML | apache-2.0 | 2,630 |
//var hostname = "emobile.no-ip.org:8081"
var hostname = "192.168.1.188:3000"
exports.singIn = function(username, password, callback) {
var credentials = '{"utf8":"✓", "authenticity_token":"fLDXlKyfXTlgnltRC3Ab23UQqGrGz/p/klJ9TZfW2r8=", "user":{"login": "' + username + '", "password": "' + password + '"}, "commit": "... | alexjabf/gestorum | Resources/lib/network.js | JavaScript | apache-2.0 | 9,600 |
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | midonet/kuryr | kuryr/schemata/endpoint_delete.py | Python | apache-2.0 | 1,400 |
//
// MeeRefreshFooter.h
// MeeBS
//
// Created by 扬帆起航 on 15/12/19.
// Copyright © 2015年 Lee. All rights reserved.
//
#import <MJRefresh/MJRefresh.h>
@interface MeeRefreshFooter : MJRefreshAutoNormalFooter
@end
| MeeMi/MeeBS | MeeBS/Classes/Other-其他/MeeRefreshFooter.h | C | apache-2.0 | 230 |
#!/usr/bin/env bash
# resolve-run-targets.sh -- Resolves unqualified names to do into run/Makefile targets
##
DEEPDIVE_APP=$(find-deepdive-app)
export DEEPDIVE_APP
# check if already fully compiled first
app-has-been-compiled
# when our make commands are nested under an outer make, e.g., our own `make
# test`, some ... | zifeishan/deepdive | runner/resolve-args-to-do.sh | Shell | apache-2.0 | 1,191 |
package com.Android2.controller;
/**
* Created by cirkus on 03.08.2017.
*/
public interface IHasActionBarItems {
void setOnActionBarItemEnabledEnabledChanged(OnActionBarItemEnabledChangedListener listener);
boolean isActionBarItemEnabled(int itemId);
int[] getOwnedActionBarItemIds();
boolean onActio... | j0rg3n/skattejakt | app/src/main/java/com/Android2/controller/IHasActionBarItems.java | Java | apache-2.0 | 501 |
"""Tests for greeneye_monitor sensors."""
from unittest.mock import AsyncMock, MagicMock
from homeassistant.components.greeneye_monitor.sensor import (
DATA_PULSES,
DATA_WATT_SECONDS,
)
from homeassistant.const import STATE_UNKNOWN
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_... | jawilson/home-assistant | tests/components/greeneye_monitor/test_sensor.py | Python | apache-2.0 | 7,421 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_74) on Fri Apr 01 14:42:07 CDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.apache.sol... | Velaya/gbol_solr | docs/solr-core/org/apache/solr/rest/schema/analysis/class-use/BaseManagedTokenFilterFactory.html | HTML | apache-2.0 | 8,322 |
void my_add() {
}
void my_del() {
}
| imay/palo | be/test/runtime/test_data/user_function_cache/lib/my_add.cc | C++ | apache-2.0 | 36 |
# Lyonia brachytricha Urb. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Ericales/Ericaceae/Lyonia/Lyonia brachytricha/README.md | Markdown | apache-2.0 | 174 |
package com.thunisoft.mediax.core.vfs;
import java.util.Arrays;
import junit.framework.TestCase;
import com.thunisoft.mediax.http.HttpRange;
public class TestHttpRange extends TestCase {
public void test() {
// 区间在总长度里面
HttpRange r1 = HttpRange.newInstance(50, 20, 200);
... | chenxiuheng/httpstreams | streamserver/test/com/thunisoft/mediax/core/vfs/TestHttpRange.java | Java | apache-2.0 | 1,649 |
package view_inspector.ui.dialog.adapter;
import android.content.Context;
import android.view.ContextThemeWrapper;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ListView;
import android.widget.TextView;
import java.... | xfumihiro/ViewInspector | view-inspector-runtime/src/main/java/view_inspector/ui/dialog/adapter/ViewRootAdapter.java | Java | apache-2.0 | 2,391 |
/*
* Copyright (c) 2011-2016 Pivotal Software 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
*
* Unles... | reactor/reactor-pylon | src/main/app/components/metric/Metric.js | JavaScript | apache-2.0 | 877 |
package br.com.marcelogomes.exomeanalysis.managedbean.manager;
import br.com.marcelogomes.exomeanalysis.managedbean.UserMB;
import br.com.marcelogomes.exomeanalysis.model.Project;
import br.com.marcelogomes.exomeanalysis.service.ProjectService;
import java.io.Serializable;
import java.util.ArrayList;
import jav... | marcelogomesrp/ExomeAnalysis | ExomeAnalysis/src/main/java/br/com/marcelogomes/exomeanalysis/managedbean/manager/ProccessedMB.java | Java | apache-2.0 | 1,161 |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | ChangerYoung/alluxio | core/server/worker/src/main/java/alluxio/worker/block/TieredBlockStore.java | Java | apache-2.0 | 37,444 |
<!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) on Thu Aug 09 18:46:45 EDT 2012 -->
<title>Period</title>
<meta name="date" content="2012-08-09">
<link rel="stylesheet" type="... | tectronics/creditsuite | 1.6/docs/Javadoc/org/drip/analytics/period/Period.html | HTML | apache-2.0 | 25,326 |
from migrate.changeset import UniqueConstraint
from migrate import ForeignKeyConstraint
from sqlalchemy import Boolean, BigInteger, Column, DateTime, Enum, Float
from sqlalchemy import dialects
from sqlalchemy import ForeignKey, Index, Integer, MetaData, String, Table
from sqlalchemy import Text
from sqlalchemy.types i... | ashepelev/TopologyWeigher | source/migrate_versions/243_topology_tables.py | Python | apache-2.0 | 2,616 |
/*
* 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 ... | deepakddixit/incubator-geode | geode-core/src/distributedTest/java/org/apache/geode/internal/cache/PartitionedRegionLowBucketRedundancyDistributedTest.java | Java | apache-2.0 | 8,394 |
/*
* Copyright 2013-2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-projects/spring-data-examples | jpa/example/src/main/java/example/springdata/jpa/custom/User.java | Java | apache-2.0 | 2,041 |
# Kobresia curvula (All.) N.A.Ivanova SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Cyperaceae/Carex/Carex curvula/ Syn. Kobresia curvula/README.md | Markdown | apache-2.0 | 192 |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: https://plantuml.com
*
* If you like this project or if ... | talsma-ict/umldoclet | src/plantuml-asl/src/net/sourceforge/plantuml/svek/image/EntityImageBranch.java | Java | apache-2.0 | 3,975 |
/*
* Copyright 2011 Shou Takenaka
*
* 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 ... | angelovstanton/AutomateThePlanet | dotnet/Development-Series/FidelyOpenSourceDotNetSearchQueryCompiler/Operators/Divide.cs | C# | apache-2.0 | 3,994 |
package water.rapids.ast.prims.advmath;
import water.MRTask;
import water.fvec.Chunk;
import water.fvec.Frame;
import water.fvec.Vec;
import water.rapids.Env;
import water.rapids.vals.ValFrame;
import water.rapids.ast.AstPrimitive;
import water.rapids.ast.AstRoot;
import water.util.VecUtils;
import java.util.Random;
... | jangorecki/h2o-3 | h2o-core/src/main/java/water/rapids/ast/prims/advmath/AstKFold.java | Java | apache-2.0 | 4,723 |
<div class="form-group" ng-class="{'has-error': invalid }">
<label class="control-label">{{label}}</label>
<span ng-transclude></span>
</div>
| aweiland/grails3-angular-bootstrap | grails-app/assets/vendor/grails/templates/directives/fields/field-container.tpl.html | HTML | apache-2.0 | 154 |
package com.tenforwardconsulting.cordova.bgloc.data;
import java.util.Date;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.preference.PreferenceManager;
import android.os.SystemClock;
import android.util.Log;
import com.tenfor... | Juanjojara/cordova-plugin-background-geolocation | src/android/data/Card.java | Java | apache-2.0 | 3,080 |
package org.hl7.v3;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/... | KRMAssociatesInc/eHMP | lib/mvi/org/hl7/v3/COCTMT290000UV06PatientEncounter.java | Java | apache-2.0 | 12,469 |
/*
* Copyright 2016 Igor Maznitsa.
*
* 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... | raydac/mvn-golang | mvn-golang-wrapper/src/main/java/com/igormaznitsa/mvngolang/AbstractGolangMojo.java | Java | apache-2.0 | 76,810 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.