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 |
|---|---|---|---|---|---|
package com.fantasy.lulutong.activity.me;
import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import com.fantasy.lulutong.R;
import com.fantasy.lulutong.activity.BaseActivity;
/**
* “注册”的页面
* @author Fantasy
* @version 1.0, 2017-02-
*/
public class RegisterActi... | FantasyLWX/LuLuTong | app/src/main/java/com/fantasy/lulutong/activity/me/RegisterActivity.java | Java | apache-2.0 | 863 |
package com.blackducksoftware.integration.hub.detect.tool.bazel;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.Test;
public class BazelVariableSubstitutorTest {
@Test
public void testTargetOnly() {
BazelV... | blackducksoftware/hub-detect | hub-detect/src/test/groovy/com/blackducksoftware/integration/hub/detect/tool/bazel/BazelVariableSubstitutorTest.java | Java | apache-2.0 | 1,618 |
package com.dyhpoon.fodex.navigationDrawer;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.dyhpoon.fodex.R;
/**
* Created by darrenpoon on 3/2/15.
*/
public class NavigationDrawerAdapter extends SectionAdapter {
private Context mContext;
public class V... | dyhpoon/Fo.dex | app/src/main/java/com/dyhpoon/fodex/navigationDrawer/NavigationDrawerAdapter.java | Java | apache-2.0 | 4,636 |
// Copyright (c) 2021 Tigera, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | neiljerram/felix | bpf/cachingmap/caching_map_test.go | GO | apache-2.0 | 13,257 |
# frozen_string_literal: true
# Copyright 2015 Australian National Botanic Gardens
#
# This file is part of the NSL Editor.
#
# 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
#
# ht... | bio-org-au/nsl-editor | test/controllers/references/edit/iso_publication_date/partial_date/day_only_test.rb | Ruby | apache-2.0 | 1,697 |
/**
* This class hierarchy was generated from the Yang module hcta-epc
* by the <a target="_top" href="https://github.com/tail-f-systems/JNC">JNC</a> plugin of <a target="_top" href="http://code.google.com/p/pyang/">pyang</a>.
* The generated classes may be used to manipulate pieces of configuration data
* with NET... | jnpr-shinma/yangfile | hitel/src/hctaEpc/mmeSgsn/interface_/ge/package-info.java | Java | apache-2.0 | 1,235 |
# Copyright 2014 Rackspace Hosting
# Copyright 2014 Hewlett-Packard Development Company, L.P.
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/li... | redhat-openstack/trove | trove/tests/unittests/instance/test_instance_models.py | Python | apache-2.0 | 11,729 |
# tldbinit
tldbinit initialize PostgrSQL database environment droping, creating tables:
* symbols
* quotes
# Environment
* Operating System: openSUSE 13.1
* Development tool: KDevelop 4.5.2 for KDE 4.11.5
* Languaje: C++
* Program directory; HOME/TradingLab/tldbinit
* PostgreSQL lib: libpqxx
| TradingLab/tldbinit | README.md | Markdown | apache-2.0 | 296 |
<!DOCTYPE html>
<html lang="zh-cn" class="js csstransforms3d">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Hugo 0.56.0" />
<meta name="description" content="Documentation for Selenium">
<link rel="icon" href... | SeleniumHQ/docs | site/zh-cn/driver_idiosyncrasies/index.html | HTML | apache-2.0 | 60,660 |
package ibmmq
/*
Copyright (c) IBM Corporation 2018
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... | ibm-messaging/mq-golang | ibmmq/mqiCBD.go | GO | apache-2.0 | 1,975 |
#ifndef LMS7002M_COMMANDS_H
#define LMS7002M_COMMANDS_H
const int LMS_RST_PULSE = 2;
enum eCMD_LMS
{
CMD_GET_INFO = 0x00,
///Writes data to SI5356 synthesizer via I2C
CMD_SI5356_WR = 0x11,
///Reads data from SI5356 synthesizer via I2C
CMD_SI5356_RD = 0x12,
///Writes data to SI5351... | myriadrf/lms-suite | LMS6002D/legacy/control_LMS6002/src/Logic/include/LMS_Commands.h | C | apache-2.0 | 1,170 |
/*
* Copyright 2011-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 "lice... | jentfoo/aws-sdk-java | aws-java-sdk-core/src/main/java/com/amazonaws/client/builder/AwsClientBuilder.java | Java | apache-2.0 | 22,211 |
package com.jukusoft.libgdx.rpg.engine.story.impl;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.jukusoft.libgdx.rpg.engine.story.StoryPart;
import com.jukusoft.libgdx.rpg.engine.story.StoryTeller;
import com.jukusoft.libgdx.rpg.engine.time.GameTime;
impo... | JuKu/libgdx-test-rpg | engine/src/main/java/com/jukusoft/libgdx/rpg/engine/story/impl/DefaultStoryTeller.java | Java | apache-2.0 | 3,080 |
/*
* Copyright to 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 applicabl... | khartig/assimilator | rio-test/src/test/java/org/rioproject/test/log/LogbackServiceLogEventAppenderTest.java | Java | apache-2.0 | 926 |
/*
* Copyright 2014 NAVER Corp.
*
* 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 ... | wziyong/pinpoint | web/src/main/java/com/navercorp/pinpoint/web/controller/ItemController.java | Java | apache-2.0 | 2,732 |
extern crate ai_behavior;
extern crate find_folder;
extern crate gfx_device_gl;
extern crate graphics;
extern crate nalgebra;
extern crate ncollide;
extern crate piston_window;
extern crate rand;
extern crate sprite;
extern crate uuid;
mod mobs;
use gfx_device_gl::Resources;
use graphics::Image;
use graphics::rectang... | commandline/susuwatari-game | src/lib.rs | Rust | apache-2.0 | 6,452 |
var editMode = portal.request.mode == 'edit';
var content = portal.content;
var component = portal.component;
var layoutRegions = portal.layoutRegions;
var body = system.thymeleaf.render('view/layout-70-30.html', {
title: content.displayName,
path: content.path,
name: content.name,
editable: editMode,... | RF0/wem-sample-package | modules/xeon-1.0.0/component/layout-70-30/get.js | JavaScript | apache-2.0 | 607 |
# jsp-aufgabe04ab_api
jsp-aufgabe04ab_api
| hemmerling/jsp-aufgabe04ab_api | README.md | Markdown | apache-2.0 | 42 |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ASC.Data.Backup.Console")]
[assembl... | ONLYOFFICE/CommunityServer | common/ASC.Data.Backup.Console/Properties/AssemblyInfo.cs | C# | apache-2.0 | 1,460 |
/*
* Copyright 2009-2021 The VOTCA Development Team (http://www.votca.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
*
* Unle... | votca/csg | src/tests/test_beadstructure_base.cc | C++ | apache-2.0 | 10,755 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arch.CMessaging.Client.Impl.Consumer
{
public interface IDisposed
{
bool IsDispose { get; }
}
}
| zesus19/hermes.net | Arch.CMessaging.Client/CMessagingV1/Impl/Consumer/IDisposed.cs | C# | apache-2.0 | 216 |
SqlDataModel
============
A small example of implementing a SQL CRUD in Qt that can be used in a DataModel (already integrated and functional in a DataModel).
| danielsanfr/sqldatamodel | README.md | Markdown | apache-2.0 | 160 |
/**
* Solutii Ecommerce, Automatizare, Validare si Analiza | Seava.ro
* Copyright: 2013 Nan21 Electronics SRL. All rights reserved.
* Use is subject to license terms.
*/
Ext.define("seava.ad.ui.extjs.frame.DateFormatMask_Ui", {
extend: "e4e.ui.AbstractUi",
alias: "widget.DateFormatMask_Ui",
/**
* Data-contro... | seava/seava.mod.ad | seava.mod.ad.ui.extjs/src/main/resources/webapp/seava/ad/ui/extjs/frame/DateFormatMask_Ui.js | JavaScript | apache-2.0 | 1,296 |
// modules are defined as an array
// [ module function, map of requireuires ]
//
// map of requireuires is short require name -> numeric require
//
// anything defined in a previous bundle is accessed via the
// orig method which is the requireuire for previous bundles
(function outer (modules, cache, entry) {
//... | stdlib-js/www | public/docs/api/latest/@stdlib/utils/every-by/benchmark_bundle.js | JavaScript | apache-2.0 | 750,474 |
package org.renjin.primitives;
import org.renjin.eval.Context;
import org.renjin.eval.EvalException;
import org.renjin.primitives.annotations.processor.ArgumentException;
import org.renjin.primitives.annotations.processor.ArgumentIterator;
import org.renjin.primitives.annotations.processor.WrapperRuntime;
import org.... | bedatadriven/renjin-statet | org.renjin.core/src-gen/org/renjin/primitives/R$primitive$attr$assign.java | Java | apache-2.0 | 3,078 |
/**
--| ADAPTIVE RUNTIME PLATFORM |----------------------------------------------------------------------------------------
(C) Copyright 2013-2015 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi... | AdaptiveMe/adaptive-arp-windows | adaptive-arp-lib/adaptive-arp-lib/Sources/Adaptive.Arp.Api/EmailAttachmentData.cs | C# | apache-2.0 | 6,042 |
# Crataegus peruviana K.Koch SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Crataegus/Crataegus peruviana/README.md | Markdown | apache-2.0 | 176 |
<!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_75) on Sat May 16 22:22:26 CEST 2015 -->
<title>RangeTombstoneListTest</title>
<meta name="date" content="2015-05-16">
<link rel="style... | sayanh/ViewMaintenanceCassandra | doc/org/apache/cassandra/db/RangeTombstoneListTest.html | HTML | apache-2.0 | 14,156 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WpfApplicationLauncher.GUI;
namespace WpfApplicationLauncher.Logging
{
public static class Log
{
public enum EntrySeverity
{
Info,
Warning,
Error,
FatalE... | tlmorgen/WpfApplicationLauncher | WpfApplicationLauncher/WpfApplicationLauncher/Logging/Log.cs | C# | apache-2.0 | 1,668 |
# Paramicropholis Aubrév. & Pellegr. GENUS
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Ericales/Sapotaceae/Paramicropholis/README.md | Markdown | apache-2.0 | 183 |
package com.chinare.rop.server;
import javax.servlet.http.HttpServletRequest;
/**
* @author 王贵源(wangguiyuan@chinarecrm.com.cn)
*/
public interface RequestChecker {
public boolean check(HttpServletRequest request);
}
| ZHCS-CLUB/AXE | axe/axe-chinare-rop/axe-chinare-rop-server/src/main/java/com/chinare/rop/server/RequestChecker.java | Java | apache-2.0 | 242 |
/*
* Copyright (c) 2018.
* J. Melzer
*/
package com.jmelzer.jitty.utl;
import org.junit.Test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
/**
* Created by J. Melzer on 27.03.2018.
*/
public class RandomUtilTest {
@Test
public void randomIntFromInterval() {
... | chokdee/jitty | data/src/test/java/com/jmelzer/jitty/utl/RandomUtilTest.java | Java | apache-2.0 | 890 |
using System;
using System.Xml.Serialization;
namespace SvnBridge.Protocol
{
[Serializable]
[XmlRoot("get-locks-report", Namespace = WebDav.Namespaces.SVN)]
public class GetLocksReportData
{
}
} | Dynamsoft/SVN-SourceAnywhere-Bridge | SvnBridgeLibrary/Protocol/GetLocksReportData.cs | C# | apache-2.0 | 215 |
google.maps.__gjsload__('drawing', '\'use strict\';function Hj(a){var b=this;a=a||{};a.drawingMode=a.drawingMode||l;b[ub](a);Mf(Re,function(a){new a.b(b)})}L(Hj,T);ig(Hj[H],{map:ye(vg),drawingMode:Ee});Jf.drawing=function(a){eval(a)};dd.google.maps.drawing={DrawingManager:Hj,OverlayType:{MARKER:"marker",POLYGON:"polygo... | 39mi/jtd | WebRoot/mapfiles/api-3/13/1/drawing.js | JavaScript | apache-2.0 | 404 |
# BridgeUserDataDownloadService
Bridge User Data Download (BUDD) Service
Pre-reqs:
Java Cryptography Extensions - http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
(if using Oracle JDK, not required if using Open JDK)
Set-up:
In your home directory, add a file BridgeUserDataDownloadSe... | Sage-Bionetworks/BridgeUserDataDownloadService | README.md | Markdown | apache-2.0 | 1,323 |
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.53
* Generated at: 2015-06-08 03:36:45 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.ap... | freedomkk-qfeng/docker-sakai | demo/10.2-fudan/sakai-demo-10.2/work/Catalina/localhost/sakai-user-tool-prefs/org/apache/jsp/prefs/tab_jsp.java | Java | apache-2.0 | 292,251 |
# Aeodes lanceolata var. lanceolata VARIETY
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Rhodophyta/Florideophyceae/Halymeniales/Halymeniaceae/Aeodes/Aeodes lanceolata/Aeodes lanceolata lanceolata/README.md | Markdown | apache-2.0 | 175 |
<!-- Intro Header -->
<header class="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h1 class="brand-heading">Crowdlift</h1>
<p class="intro-... | crowdlift/crowdlift.github.io | _includes/header.html | HTML | apache-2.0 | 703 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Thu Feb 08 09:04:08 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | wildfly-swarm/wildfly-swarm-javadocs | 2018.2.0/apidocs/org/wildfly/swarm/transactions/class-use/TransactionsFraction.html | HTML | apache-2.0 | 8,598 |
package com.hotcloud.util;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class CookieUtil {
public static Map<String, String... | shizicheng/spring_mvc_template | src/main/java/com/hotcloud/util/CookieUtil.java | Java | apache-2.0 | 2,493 |
/********************************************************************************
* Copyright (c) 2019 Stephane Bastian
*
* This program and the accompanying materials are made available under the 2
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-L... | vert-x3/vertx-auth | vertx-auth-common/src/main/java/io/vertx/ext/auth/authorization/impl/PermissionBasedAuthorizationImpl.java | Java | apache-2.0 | 4,026 |
<?php
/**
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
*/
namespace Magento\Framework\Stdlib\DateTime;
interface DateInterface
{
/**
* Sets class wide options, if no option was given, the actual set options will be returned
*
* @param array $options \Options... | webadvancedservicescom/magento | lib/internal/Magento/Framework/Stdlib/DateTime/DateInterface.php | PHP | apache-2.0 | 59,193 |
package org.polyglotted.xpathstax.model;
import com.google.common.base.Splitter;
import com.google.common.collect.Iterables;
import org.codehaus.stax2.XMLStreamReader2;
import org.polyglotted.xpathstax.data.Value;
import javax.annotation.concurrent.ThreadSafe;
import java.util.Iterator;
import java.util.Map.Entry;
im... | polyglotted/xpath-stax | src/main/java/org/polyglotted/xpathstax/model/XmlAttribute.java | Java | apache-2.0 | 4,780 |
<head>
<title>Vault Search</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="vapir.min.css">
</head>
<body>
<div class="container">
<h1>VAULT Search</h1>
<!-- note: jQuery 1.4.1 is what we have on Drupal & Millennium -... | cca/equella_api | vapir.html | HTML | apache-2.0 | 1,244 |
# Navicula capitata luneburgensis (Grunow) Patr. SUBSPECIES
#### Status
ACCEPTED
#### According to
The National Checklist of Taiwan
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Bacillariophyta/Bacillariophyceae/Naviculales/Naviculaceae/Navicula/Navicula capitata/Navicula capitata luneburgensis/README.md | Markdown | apache-2.0 | 200 |
package com.caozeal.practice;
import static org.assertj.core.api.Assertions.*;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
public class TestTryTest {
// @OdevityMain2
// publ... | caozeal/Utopia | Source/UtopiaLand/test/com/caozeal/someTry/TestTryTest.java | Java | apache-2.0 | 786 |
package org.javarosa.model.xform;
import org.javarosa.core.data.IDataPointer;
import org.javarosa.core.model.IAnswerDataSerializer;
import org.javarosa.core.model.instance.FormInstance;
import org.javarosa.core.model.instance.TreeElement;
import org.javarosa.core.model.instance.TreeReference;
import org.javarosa.core.... | dimagi/javarosa | javarosa/core/src/main/java/org/javarosa/model/xform/XFormSerializingVisitor.java | Java | apache-2.0 | 8,206 |
package io.silverspoon.bulldog.beagleboneblack.devicetree;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
public class DeviceTreeCompiler {
private static final String FIRMWARE_PATH = "/lib/firmware/";
private static final String OBJECT_FILE_PATTER... | xjaros1/bulldog | bulldog-board-beagleboneblack/src/main/java/io/silverspoon/bulldog/beagleboneblack/devicetree/DeviceTreeCompiler.java | Java | apache-2.0 | 1,303 |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/dom/interfaces/html/nsIDOMHTMLMapElement.idl
*/
#ifndef __gen_nsIDOMHTMLMapElement_h__
#define __gen_nsIDOMHTMLMapElement_h__
#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.h"
#endif
/* For ID... | akiellor/selenium | third_party/gecko-2/win32/include/nsIDOMHTMLMapElement.h | C | apache-2.0 | 4,045 |
# Copyright 2016 Nuage Netowrks USA 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 l... | naveensan1/nuage-openstack-neutron | nuage_neutron/vpnaas/device_drivers/driver.py | Python | apache-2.0 | 12,933 |
package com.xyp.sapidoc.idoc.enumeration;
import java.util.HashSet;
import java.util.Set;
/**
*
* @author Yunpeng_Xu
*/
public enum TagEnum {
FIELDS("FIELDS"),
RECORD_SECTION("RECORD_SECTION"),
CONTROL_RECORD("CONTROL_RECORD"),
DATA_RECORD("DATA_RECORD"),
STATUS_RECORD("ST... | PeterXyp/sapidoc | src/main/java/com/xyp/sapidoc/idoc/enumeration/TagEnum.java | Java | apache-2.0 | 1,036 |
/*******************************************************************************
* Copyright 2016 Intuit
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.o... | intuit/wasabi | modules/auditlog-objects/src/test/java/com/intuit/wasabi/auditlogobjects/AuditLogEntryFactoryTest.java | Java | apache-2.0 | 3,157 |
package org.artifactory.ui.rest.service.admin.configuration.mail;
import org.artifactory.api.config.CentralConfigService;
import org.artifactory.descriptor.config.MutableCentralConfigDescriptor;
import org.artifactory.rest.common.service.ArtifactoryRestRequest;
import org.artifactory.rest.common.service.RestResponse;
... | alancnet/artifactory | web/rest-ui/src/main/java/org/artifactory/ui/rest/service/admin/configuration/mail/GetMailService.java | Java | apache-2.0 | 2,025 |
from django.conf.urls import patterns, include, url
from django.contrib import admin
from api import views
admin.autodiscover()
from rest_framework.routers import DefaultRouter
router = DefaultRouter()
router.register(r'headings', views.HeadingViewSet)
router.register(r'users', views.UserViewSet)
urlpatterns = patte... | timokoola/okrest | okrest/okrest/urls.py | Python | apache-2.0 | 449 |
<!DOCTYPE html>
<html>
<head>
<title>OzzA - Apresentação do Layout</title>
<meta charset="utf-8" />
<meta lang="pt-BR" />
<meta name="description" content="OzzA - Apresentação do Layout" />
<meta name="keywords" content="OzzA - Apresentação do Layout" />
<meta name="author" content="Mais... | RuanBoaventura/ozza | editarperfil-loja-dadospessoais-hover.html | HTML | apache-2.0 | 566 |
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;... | alanfgates/hive | standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java | Java | apache-2.0 | 30,759 |
//
// Ingredient.cs
//
// Author:
// Benito Palacios <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either vers... | pleonex/Ninokuni | Programs/Downlitor/Downlitor/Ingredient.cs | C# | apache-2.0 | 1,310 |
/*
* Copyright (c) 2009, Rickard Öberg. 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 l... | Qi4j/qi4j-core | bootstrap/src/main/java/org/qi4j/bootstrap/AssemblyVisitorAdapter.java | Java | apache-2.0 | 1,820 |
package com.ctrip.framework.cs.enterprise;
import com.ctrip.framework.cs.configuration.ConfigurationManager;
import com.ctrip.framework.cs.configuration.InitConfigurationException;
import com.ctrip.framework.cs.util.HttpUtil;
import com.ctrip.framework.cs.util.PomUtil;
import com.google.gson.Gson;
import org.slf4j.Log... | ctripcorp/cornerstone | cornerstone/src/main/java/com/ctrip/framework/cs/enterprise/NexusEnMaven.java | Java | apache-2.0 | 5,024 |
<div class="navbar-default sidebar" role="navigation">
<div class="sidebar-nav navbar-collapse collapse">
<ul class="nav in" id="side-menu">
<!--<sidebar-search></sidebar-search>-->
<li>
<a href="" style="border:none; text-align:left;" class="btn btn-default" ng-clic... | carre-project/carre-entry-system | src/app/components/sidebar/sidebar.html | HTML | apache-2.0 | 3,575 |
#
# Copyright 2013 Quantopian, 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 wr... | lsbardel/zipline | zipline/finance/risk/period.py | Python | apache-2.0 | 9,654 |
/*
* 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... | googleapis/google-api-java-client-services | clients/google-api-services-speech/v1/1.31.0/com/google/api/services/speech/v1/model/WordInfo.java | Java | apache-2.0 | 7,866 |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2012 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
... | irosenb/symble-app | build/iphone/Classes/TiUIView.h | C | apache-2.0 | 7,509 |
<!doctype html>
<html class="theme-next use-motion ">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv=... | AfirSraftGarrier/AfirSraftGarrier.github.io | tags/CDN/index.html | HTML | apache-2.0 | 27,288 |
package org.squbs.httpclient.japi
import org.squbs.httpclient.endpoint.Endpoint
/**
* Created by lma on 7/15/2015.
*/
object EndpointFactory {
def create(uri: String) = Endpoint(uri)
}
| keshin/squbs | squbs-httpclient/src/main/scala/org/squbs/httpclient/japi/EndpointFactory.scala | Scala | apache-2.0 | 193 |
#!/usr/bin/python
#-*-coding:utf8-*-
from bs4 import BeautifulSoup as Soup
#import pandas as pd
import glob
import sys
import re
"""
Version xml de cfdi 3.3
"""
class CFDI(object):
def __init__(self, f):
"""
Constructor que requiere en el parámetro una cadena con el nombre del
cfdi.
... | sergiohzlz/lectorcfdi | extrainfo.py | Python | apache-2.0 | 8,345 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Statistics of Degree in UD_Croa... | UniversalDependencies/universaldependencies.github.io | treebanks/hr_set/hr_set-feat-Degree.html | HTML | apache-2.0 | 27,672 |
require "decoplan/algorithm"
require "decoplan/dive_profile"
module Decoplan
class Algorithm
class Buhlmann < Algorithm
attr_accessor :lo
attr_accessor :hi
attr_accessor :compartments
N2_HALF = [ 4.0, 5.0, 8.0, 12.5, 18.5, 27.0, 38.3, 54.3, 77.0, 109.0, 146.0, 187.0, 239.0, 305.0, 390.0... | lamont-granquist/decoplan | lib/decoplan/algorithm/buhlmann.rb | Ruby | apache-2.0 | 2,171 |
#!/usr/bin/python3
from colorama import Fore, Back
class frets:
tuning = list()
max_string_name_len = 0;
frets_count = 0;
strings = dict()
NOTES = ('E', 'F', 'F#', 'G', 'G#', 'A', 'A#', 'B', 'C', 'C#', 'D', 'D#')
def __init__(self,
tuning=('E', 'A', 'D', 'G'),
... | mariuszlitwin/frets | frets.py | Python | apache-2.0 | 4,690 |
/*
* PartitioningOperators.java Feb 3 2014, 03:44
*
* Copyright 2014 Drunken Dev.
*
* 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... | brettryan/jdk8-lambda-samples | src/main/java/com/drunkendev/lambdas/PartitioningOperators.java | Java | apache-2.0 | 6,846 |
package com.esri.mapred;
import com.esri.io.PointFeatureWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.mapred.InputSplit;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapred.RecordReader;
import org.apache.hadoop.mapred.Reporter;
import java.io.IOException;
/**
*/
... | syntelos/shapefile-java | src/com/esri/mapred/PointFeatureInputFormat.java | Java | apache-2.0 | 1,483 |
## Ghost.org
##### Downloading & Using Theme
```bash
apt-get update && apt-get install git-core -y # needed to clone theme
git clone https://github.com/polygonix/N-Coded.git /var/www/ghost/content/themes/ # clone theme
# Login to admin and go this url to change it /ghost/settings/general/
```
| Fuxingloh/Cheatsheet | ghost.md | Markdown | apache-2.0 | 297 |
// -----------------------------------------------------------------------------------------
// <copyright file="TableSasUnitTests.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in comp... | MatthewSteeples/azure-storage-net | Test/ClassLibraryCommon/Table/SAS/TableSasUnitTests.cs | C# | apache-2.0 | 67,776 |
/* Copyright 2018 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 writing... | GoogleCloudPlatform/dlp-rdb-bq-import | src/main/java/com/google/swarm/sqlserver/migration/common/SqlDataType.java | Java | apache-2.0 | 1,596 |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
usin... | WindyDarian/Art-of-Destiny | CombatLibrary/Spells/SpaceBomb.cs | C# | apache-2.0 | 2,681 |
/**
* echarts组件:孤岛数据
*
* @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。
* @author Kener (@Kener-林峰, linzhifeng@baidu.com)
*
*/
define(function (require) {
/**
* 构造函数
* @param {Object} messageCenter echart消息中心
* @param {ZRender} zr zrender实例
* @param {Object} option 图表选项
... | ghostry/Gadmin | Public/Lib/echarts/chart/island.js | JavaScript | apache-2.0 | 8,473 |
/*
* Copyright 2004-2013 the Seasar Foundation and the Others.
*
* 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 ... | dbflute-test/dbflute-test-dbms-mysql | src/main/java/org/docksidestage/mysql/dbflute/bsentity/BsWhiteImplicitReverseFkRef.java | Java | apache-2.0 | 10,962 |
<!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.6.0_27) on Wed Mar 18 13:57:07 CET 2015 -->
<title>Uses of Class com.tailf.maapi.MaapiSchemas.ListRestrictionTypeMethodsImpl (CONF API Vers... | ralph-mikera/routeflow5 | rftest/confd_src/confd-basic-5.4/doc/api/java/com/tailf/maapi/class-use/MaapiSchemas.ListRestrictionTypeMethodsImpl.html | HTML | apache-2.0 | 4,375 |
## 重要提示:
> 请点击以下链接查看最新[YMP v2](https://gitee.com/suninformation/ymate-platform-v2)版本仓库:
>
> - [码云:https://gitee.com/suninformation/ymate-platform-v2](https://gitee.com/suninformation/ymate-platform-v2)
> - [GitHub:https://github.com/suninformation/ymate-platform-v2](https://github.com/suninformation/ymate-platfor... | suninformation/ymateplatform | README.md | Markdown | apache-2.0 | 777 |
# Myrica vidaliana Rolfe SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fagales/Myricaceae/Myrica/Myrica vidaliana/README.md | Markdown | apache-2.0 | 172 |
class Addon < ActiveRecord::Base
has_many :server_addons
has_many :servers, through: :server_addons
scope :available, -> { where(hidden: false).order(:created_at) }
end
| OnApp/cloudnet | app/models/addon.rb | Ruby | apache-2.0 | 184 |
/**
* Copyright (c) 2016 Lemur Consulting Ltd.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by appli... | flaxsearch/BioSolr | ontology/ontology-annotator/elasticsearch-ontology-annotator/es-ontology-annotator-es2.2/src/main/java/uk/co/flax/biosolr/elasticsearch/OntologyHelperBuilder.java | Java | apache-2.0 | 4,116 |
'use strict';
/**
* @ngdoc function
* @name freshcardUiApp.controller:TemplatesCtrl
* @description
* # TemplatesCtrl
* Controller of the freshcardUiApp
*/
angular.module('freshcardUiApp')
.controller('TemplatesCtrl', function (
$scope,
$rootScope,
$localStorage,
$filter,
$timeout,
FileUploader,
Organizati... | BjoernKW/FreshcardUI | app/scripts/controllers/templates.js | JavaScript | apache-2.0 | 4,492 |
# 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... | rahulunair/nova | nova/tests/functional/wsgi/test_services.py | Python | apache-2.0 | 19,683 |
/*
* Copyright 2004-2013 the Seasar Foundation and the Others.
*
* 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 ... | dbflute-test/dbflute-test-dbms-mysql | src/main/java/org/docksidestage/mysql/dbflute/immuhama/bsbhv/loader/ImmuLoaderOfMemberLogin.java | Java | apache-2.0 | 3,938 |
/*
*
* Copyright 2015 Netflix, 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 a... | Netflix/Fido | Fido_Support/Objects/Fido/Object_Fido_ConfigClass.cs | C# | apache-2.0 | 3,292 |
export const VERSION = 1;
/** Same as DexieExportJsonStructure but without the data.data array */
export interface DexieExportJsonMeta {
formatName: 'dexie';
formatVersion: typeof VERSION;
data: {
databaseName: string;
databaseVersion: number;
tables: Array<{
name: string;
schema: string;... | dfahlander/Dexie.js | addons/dexie-export-import/src/json-structure.ts | TypeScript | apache-2.0 | 890 |
/*
* Copyright © 2009 HotPads (admin@hotpads.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/licenses/LICENSE-2.0
*
* Unless required by applicable... | hotpads/datarouter | datarouter-webapp-instance/src/main/java/io/datarouter/webappinstance/storage/webappinstancelog/DatarouterWebappInstanceLogDao.java | Java | apache-2.0 | 3,351 |
package nl.galesloot_ict.efjenergy.MeterReading;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.util.Array... | fjgalesloot/eFJenergy | Android/app/src/main/java/nl/galesloot_ict/efjenergy/MeterReading/MeterReadingsList.java | Java | apache-2.0 | 794 |
@route += '/' + ARGV[0] + '/' + ARGV[1] + '/'+ ARGV[2] + '/' + ARGV[3]
@route += '/' + ARGV[4] if ARGV.count == 5
perform_get | EnginesOS/System | src/client/commands/schedules.rb | Ruby | apache-2.0 | 128 |
# AUTOGENERATED FILE
FROM balenalib/odroid-ux3-alpine:3.10-run
ENV GO_VERSION 1.16.3
# set up nsswitch.conf for Go's "netgo" implementation
# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && ec... | nghiant2710/base-images | balena-base-images/golang/odroid-ux3/alpine/3.10/1.16.3/run/Dockerfile | Dockerfile | apache-2.0 | 2,467 |
package com.walmart.labs.pcs.normalize.MongoDB.SpringBoot.service;
import com.walmart.labs.pcs.normalize.MongoDB.SpringBoot.entity.Person;
import com.walmart.labs.pcs.normalize.MongoDB.SpringBoot.repository.PersonRepository;
import com.walmart.labs.pcs.normalize.MongoDB.SpringBoot.repository.PersonRepositoryImp;
impor... | ArthurZhong/SparkStormKafkaTest | src/main/java/com/walmart/labs/pcs/normalize/MongoDB/SpringBoot/service/PersonService.java | Java | apache-2.0 | 925 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>WPILIB: Class Members</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Genera... | rubik951/Neat-Team-1943 | Documentation/WPILib-doxygen/html/globals_0x6c.html | HTML | apache-2.0 | 6,933 |
package edu.wsu.weather.agweathernet.helpers;
import java.io.Serializable;
public class StationModel implements Serializable {
private static final long serialVersionUID = 1L;
private String unitId;
private String name;
private String county;
private String city;
private String state;
private String installati... | levanlevi/AgWeatherNet | src/edu/wsu/weather/agweathernet/helpers/StationModel.java | Java | apache-2.0 | 2,366 |
# Burmeistera matthaei (DC.) Hook.f. & B.D.Jacks. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Campanulaceae/Burmeistera/Burmeistera matthaei/README.md | Markdown | apache-2.0 | 197 |
module Bosh
module Director
end
end
require 'digest/sha1'
require 'erb'
require 'fileutils'
require 'forwardable'
require 'logger'
require 'logging'
require 'monitor'
require 'optparse'
require 'ostruct'
require 'pathname'
require 'pp'
require 'tmpdir'
require 'yaml'
require 'time'
require 'zlib'
require 'ipaddr'
... | barthy1/bosh | src/bosh-director/lib/bosh/director.rb | Ruby | apache-2.0 | 10,606 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang='en'>
<head>
<meta name="generator" content="AWStats 6.7 (build 1.892) from config file awstats.2818332.conf (http://awstats.sourceforge.net)">
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="content-type" content="text/html; c... | zparnold/cd-risc | awstats/1309/awstats.2818332.1309.urldetail.html | HTML | apache-2.0 | 10,779 |
#!/usr/bin/env python
# SIM-CITY client
#
# Copyright 2015 Netherlands eScience Center <info@esciencecenter.nl>
#
# 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/l... | nlesc-sherlock/analyzing-corpora | corpora/load_archive.py | Python | apache-2.0 | 1,507 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Qu... | qulia/CrackingTheCodingInterview | Question_04_09_BSTSequences/Properties/AssemblyInfo.cs | C# | apache-2.0 | 1,430 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta content="2013-12-2... | ahsbjunior/biblia-para-igrejas | ara/2-32.html | HTML | apache-2.0 | 8,041 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.