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 |
|---|---|---|---|---|---|
/*
* Copyright 2011 Thingtrack, S.L.
*
* 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... | thingtrack/konekti | core/konekti.dao.api/src/main/java/com/thingtrack/konekti/dao/api/SupplierTypeDao.java | Java | apache-2.0 | 1,128 |
package com.sixsq.slipstream.authn;
/*
* +=================================================================+
* SlipStream Server (WAR)
* =====
* Copyright (C) 2013 SixSq Sarl (sixsq.com)
* =====
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... | slipstream/SlipStreamServer | jar-service/src/main/java/com/sixsq/slipstream/authn/AuthnResource.java | Java | apache-2.0 | 2,892 |
package io.eels.component.hive
import org.apache.hadoop.fs.FileSystem
import org.apache.hadoop.hive.metastore.IMetaStoreClient
import scala.collection.JavaConverters._
case class HiveDatabase(dbName: String)(implicit fs: FileSystem, client: IMetaStoreClient) {
def tables(): List[HiveTable] = {
val tables = clie... | stheppi/eel | eel-hive/src/main/scala/io/eels/component/hive/HiveDatabase.scala | Scala | apache-2.0 | 646 |
.accordion{background:#fff;overflow:hidden;}
.accordion .accordion-header{background:#efefef;border-top-width:0;cursor:pointer;}
.accordion .accordion-header .panel-title{font-weight:normal;}
.accordion .accordion-header-selected .panel-title{font-weight:bold;}
.accordion-noborder .accordion-header{border-width:0 0... | kamiba/CSharpGoWeb | CSharpGoWeb/js/themes/gray/easyui.css | CSS | apache-2.0 | 26,621 |
import * as awsExpress from "aws-serverless-express";
import * as log4js from "log4js";
import * as App from "./app";
log4js.configure({
appenders: {out: {type: "stdout"}},
categories: {
default: {appenders: ["out"], level: "debug"},
},
});
const server = awsExpress.createServer(App.app);
exports.handler =... | fgauthier/xustosbe | src/index.ts | TypeScript | apache-2.0 | 481 |
/*
* Copyright (C) 2013 salesforce.com, 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 ... | madmax983/aura | aura-components/src/main/components/ui/inputSelect/inputSelectHelper.js | JavaScript | apache-2.0 | 18,634 |
body.f-body {
height: auto;
/*background-image: url(../images/square.gif);*/
padding: 10px;
}
body.f-body.f-theme-access {
background-image: none;
}
.marginr {
margin-right: 5px;
}
.formitem {
margin-bottom: 5px;
}
.clear {
clear: both;
}
ol.result {
... | u0hz/FineUI | src/FineUI.Examples/res/css/main.css | CSS | apache-2.0 | 680 |
/*
* Licensed to Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... | EvilMcJerkface/crate | server/src/main/java/io/crate/execution/engine/indexing/UpsertResultContext.java | Java | apache-2.0 | 5,582 |
package org.docksidestage.hanger.simpleflute.dto.bs;
import java.io.Serializable;
import java.util.*;
import net.vvakame.util.jsonpullparser.annotation.*;
import org.docksidestage.hanger.simpleflute.AppCDef;
import org.docksidestage.hanger.simpleflute.dto.*;
/**
* The simple DTO of (地域)REGION as TABLE. <br>
* <pre... | dbflute-test/dbflute-test-active-hanger | src/main/java/org/docksidestage/hanger/simpleflute/dto/bs/BsRegionDto.java | Java | apache-2.0 | 10,838 |
/* ========================================================================
* 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/ugraphic/MinMaxMutable.java | Java | apache-2.0 | 3,153 |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.content.parser.impl.poi;
import java.io.InputStream;
import net.sf.mmm.content.parser.api.ContentParserOptions;
import net.sf.mmm.content.parser.base.AbstractContentParse... | m-m-m/search | content-parser/impl-poi/src/main/java/net/sf/mmm/content/parser/impl/poi/AbstractContentParserPoi.java | Java | apache-2.0 | 2,988 |
.kchart{position:relative}
.danmaku_view{position:absolute;top:96px;left:0;width:100%;height:256px;overflow:hidden;text-align:left;z-index:100}
.danmaku_item{display:block;*zoom:1;position:absolute;left:100%;margin:4px 0;padding:0 3px;white-space:nowrap;font-family:"simsong",serif;font-size:14px;letter-spacing:1px;back... | StockFucker/BankRoll | diverseData/浦发银行 17.80 (-2.57%) (600000)_个股行情_网易财经_files/danmaku.959699.css | CSS | apache-2.0 | 2,741 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | gingerwizard/elasticsearch | server/src/test/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramAggregatorTestCase.java | Java | apache-2.0 | 5,523 |
-- /useSkill skillName uses filter
-- skillName vai ser o nome usado para acessar essa skill, não use nomes separados por espaços
-- uses vai marcar quantos usos da habilidade vão ser gastos, se por um numero negativo vai recuperar ao inves de gastar
-- filter permite escolher de que personagem essa habilidade vai ser ... | rrpgfirecast/firecast | Macros/Ficha/useSkill.lua | Lua | apache-2.0 | 2,025 |
/*
* Copyright 2019 Wultra s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | lime-company/lime-security-powerauth-webauth | powerauth-webflow-authentication-approval-sca/src/main/java/io/getlime/security/powerauth/lib/webflow/authentication/method/approvalsca/model/request/ApprovalScaAuthRequest.java | Java | apache-2.0 | 1,205 |
/*
* Copyright (c) 2017 SamuelGjk <samuel.alva@outlook.com>
*
* This file is part of DiyCode
*
* DiyCode 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 version 3 of the License, or
* (at your o... | chengzijian/Bibabo | app/src/main/java/com/bibabo/fragment/watch/BabyWatchPresenter.java | Java | apache-2.0 | 975 |
/*
* File: TFileHandler.java
* This file is part of Tico, an application to create and perform
* interactive communication boards to be used by people with
* severe motor disabilities.
*
* Authors: Pablo Muñoz
*
* Date: Aug 22, 2006
*
* Company: Universidad de Zaragoza, CPS, DIIS
*
* License:
* ... | ProgettoRadis/ArasuiteIta | AraWord/src/araword/utils/TFileHandler.java | Java | apache-2.0 | 9,264 |
// Copyright 2016 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 in ... | mandarjog/mixr | pkg/aspectsupport/uber/manager_test.go | GO | apache-2.0 | 1,514 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var index_1 = require("./index");
var express = require("express");
var jwt = require("jsonwebtoken");
var cors = require("cors");
var app = express();
app.use(cors());
var mountpoint = '/';
var prefix = '';
var options = {};
if (!process.env.... | dottgonzo/express-media-files | server.js | JavaScript | apache-2.0 | 1,391 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache/openejb | itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/entity/cmr/onetomany/ArtistLocal.java | Java | apache-2.0 | 1,416 |
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "boot.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that the
... | micbuz/project2 | boot/manage.py | Python | apache-2.0 | 802 |
{% from 'admin/macros.html' import entries_list %}
{% extends 'admin/layout_schedule_history.html' %}
{% set active_tab = 'game' %}
{% block tabcontent %}
<table class="table table-bordered" style="margin-top: 12px;">
<thead>
<tr>
<th>詳細</th>
<th>状況</... | kzkn/fc | fcsite/templates/admin/show_game.html | HTML | apache-2.0 | 1,520 |
package com.bright.coolweather.db;
import org.litepal.crud.DataSupport;
/**
* @author Bright on 2017/2/10
* 描述: 城市的实体类
*/
public class City extends DataSupport {
private int id;
private String cityName;
//当前市所属省份的id值
private int provinceId;
private int cityCode;
public int getI... | BrightLeeDev/coolweather | app/src/main/java/com/bright/coolweather/db/City.java | Java | apache-2.0 | 910 |
import { Button } from './Button';
import * as Cards from './Card';
import { TextInput } from './Input';
import { NavBar } from './NavBar';
export {
Button,
Cards,
TextInput,
NavBar
}; | rishabhnehra/Invoicer | src/components/index.ts | TypeScript | apache-2.0 | 201 |
/*
* Copyright (c) 2010, Stanislav Muhametsin. 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... | Qi4j/qi4j-libraries | sql/src/main/java/org/qi4j/library/sql/common/SQLConfiguration.java | Java | apache-2.0 | 1,293 |
/*
* Copyright 2014 David Moreno
*
* 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 ... | davidmoreno/loglang | src/value.hpp | C++ | apache-2.0 | 2,181 |
# -*- coding: utf-8 -*-
# Copyright 2017 IBM RESEARCH. 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 requ... | ChristopheVuillot/qiskit-sdk-py | qiskit/qasm/_node/_nodeexception.py | Python | apache-2.0 | 1,054 |
/*
* Copyright 2012-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 "licen... | dagnir/aws-sdk-java | aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/AbstractAmazonCodeDeploy.java | Java | apache-2.0 | 9,991 |
<div>
<div class="row">
<div class="col-md-4">
<h3>Events</h3>
</div>
<div class="col-md-3">
<alert type="info" ng-show="newItems" role="alert" style=" margin-bottom: 0;padding-top: 6px; padding-bottom: 6px;"><i class="fa fa-info-circle"></i> {{ newItems }}</alert>
... | gec/greenbus-web-views | template/event/events.html | HTML | apache-2.0 | 1,912 |
package com.lucien.spirit.admin.controller;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AccountException;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.Inc... | lijunf/spirit-parent | spirit-web-admin/src/main/java/com/lucien/spirit/admin/controller/LoginController.java | Java | apache-2.0 | 3,626 |
/*
* 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... | sserrano44/bitcoinj-watcher-service | core/src/main/java/com/google/bitcoin/protocols/channels/PaymentChannelServer.java | Java | apache-2.0 | 23,823 |
/*
* Copyright 2013 Gunnar Kappei.
*
* 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... | moosbusch/xbLIDO | src/net/opengis/gml/TopoVolumePropertyDocument.java | Java | apache-2.0 | 8,962 |
package io.github.greyp9.arwo.core.jdbc.op;
import io.github.greyp9.arwo.core.cache.ResourceCache;
import io.github.greyp9.arwo.core.charset.UTF8Codec;
import io.github.greyp9.arwo.core.file.meta.MetaFile;
import io.github.greyp9.arwo.core.glyph.UTF16;
import io.github.greyp9.arwo.core.hash.CRCU;
import io.github.grey... | greyp9/arwo | src/main/core/java/io/github/greyp9/arwo/core/jdbc/op/JDBCQuery.java | Java | apache-2.0 | 6,742 |
package ru.job4j.tasksortdeparament;
import java.util.Comparator;
public class ComporatorLengtch implements Comparator<String> {
public int compare(String o1, String o2) {
int res;
if (o1.length() > o2.length()) {
res = 1;
} else if (o1.length() == o2.length()) {
... | ogneyar79/Sirotkin_M | chapter_002/src/main/java/ru/job4j/tasksortdeparament/ComporatorLengtch.java | Java | apache-2.0 | 410 |
#include <aplicacion/include/GestorRelaciones.h>
// aplicacion
#include <aplicacion/include/IAdministradorAplicacion.h>
using namespace visualizador::aplicacion;
using namespace visualizador;
GestorRelaciones::GestorRelaciones()
{
this->admin_app = IAdministradorAplicacion::getInstanciaAdminEntidades()... | miglesias91/visualizador-de-contextos | aplicacion/source/GestorRelaciones.cpp | C++ | apache-2.0 | 20,309 |
public class Subject {
private String name;
private int unit;
private int score;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getUnit() {
return unit;
}
public void setUnit(int unit) {
... | frank29259/java | Object/GPA_AUTO/src/Subject.java | Java | apache-2.0 | 479 |
/***************************************************************************//**
* @file
* @brief EFM32LG_TIMER register and bit field definitions
*******************************************************************************
* # License
* <b>Copyright 2019 Silicon Laboratories Inc. www.silabs.com</b>
**********... | kjbracey-arm/mbed | targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG/device/efm32lg_timer.h | C | apache-2.0 | 113,910 |
var data_cost = []; //Kosten
function createHistoryCostChart(){
var margin = {top: 60, right: 20, bottom: 120, left: 200},
width = 1160 - margin.right,
height = 500 - margin.top - margin.bottom;
var x,y,z,xAxis,yAxis,area_pos,area_neg,chart;
// chart Kosten
x = d3.scaleTime().r... | SES-fortiss/SmartGridCoSimulation | javascript/memapScenarioFortiss/memap_d3/js/charts/history_cost_chart.js | JavaScript | apache-2.0 | 5,644 |
import os
from jenkins_jobs import cmd
from tests.base import mock
from tests.cmd.test_cmd import CmdTestsBase
@mock.patch('jenkins_jobs.builder.Jenkins.get_plugins_info', mock.MagicMock)
class DeleteTests(CmdTestsBase):
@mock.patch('jenkins_jobs.cmd.Builder.delete_job')
def test_delete_single_job(self, del... | lukas-bednar/jenkins-job-builder | tests/cmd/subcommands/test_delete.py | Python | apache-2.0 | 1,878 |
// Copyright 2017 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, software... | Arc3D/arcgis-runtime-samples-dotnet | src/WPF/ArcGISRuntime.WPF.Samples/Samples/Layers/SceneLayerUrl/SceneLayerUrl.xaml.cs | C# | apache-2.0 | 1,895 |
#include <iostream>
int main()
{
std::cout << "Hello World 1 !\n";
std::cout << "Hello World 2 !\n";
return 0;
}
| csulisti/HelloWorld | hello.cpp | C++ | apache-2.0 | 117 |
#
# 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 ... | rdo-management/tuskar | tuskar/tests/api/controllers/v1/test_overcloud_roles.py | Python | apache-2.0 | 4,280 |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | GoogleCloudPlatform/terraform-validator | cmd/validate.go | GO | apache-2.0 | 5,209 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/appflow/model/CustomAuthConfig.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
name... | aws/aws-sdk-cpp | aws-cpp-sdk-appflow/source/model/CustomAuthConfig.cpp | C++ | apache-2.0 | 2,058 |
'use strict';
angular.module('fireUser', ['firebase','ui.router'])
.constant('FireUserDefault', {
redirectPath:'/',
dataLocation:'data',
userData:'user',
routing: false,
routeAccess: 'private',
routeRedirect: 'login'
})
.service('FireUserValues',['FireUserDefault','FireUserConfig',function (FireUserDefault... | fondfrukt/Feeds | js/side/FireUser.js | JavaScript | apache-2.0 | 9,536 |
<!-- styles -->
<?php if (isset($doc->styles) and $doc->styles) {
foreach ($doc->styles as $st_id => $st_obj) {
if ($st_obj->class == 'path') {
?>
<Style id="<?=$st_id;?>">
<LineStyle>
<color>af<?=substr($st_obj->color, 2);?></color>
<width>3</width>
</LineStyle>
</Style>
<?php
} /* end if ... | millsd/gswx_site | ci_application/views/kml/styles.kml.php | PHP | apache-2.0 | 1,331 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the ... | ankuradhey/dealtrip | library/Zend/Search/Lucene/Index/DocsFilter.php | PHP | apache-2.0 | 2,253 |
/*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... | husky-koglhof/crate | core/src/main/java/io/crate/Version.java | Java | apache-2.0 | 4,535 |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.depgraph;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.at... | McLeodMoores/starling | projects/engine/src/main/java/com/opengamma/engine/depgraph/InstanceCount.java | Java | apache-2.0 | 1,743 |
/*
* 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-elasticbeanstalk/source/model/DescribeConfigurationOptionsResult.cpp | C++ | apache-2.0 | 2,818 |
require 'spec_helper'
require './spec/api_docs/image_hack'
resource "Users" do
let(:user) { users(:admin) }
let(:other_user) { users(:the_collaborator) }
before do
log_in user
end
get "/users" do
pagination
example_request "Get a list of users" do
status.should == 200
end
end
po... | mpushpav/chorus | spec/api_docs/users_spec.rb | Ruby | apache-2.0 | 3,475 |
package de.imc.mirror.sdk.android.filter;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import org.jdom2.Element;
import de.imc.mirror.sdk.DataObject;
import de.imc.mirror.sdk.android.utils.DatatypeConverter;
/**
* Restricts the period in time the... | MirrorIP/msf-spaces-sdk-android | src/de/imc/mirror/sdk/android/filter/PeriodFilter.java | Java | apache-2.0 | 3,093 |
import { IPromise } from 'angular';
import React from 'react';
import { AccountService } from './AccountService';
export interface IAccountTagProps {
account: string;
className?: string;
}
export interface IAccountTagState {
isProdAccount: boolean;
}
export class AccountTag extends React.Component<IAccountTagP... | duftler/deck | app/scripts/modules/core/src/account/AccountTag.tsx | TypeScript | apache-2.0 | 1,571 |
/*
* 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 ... | Distrotech/fop | src/java/org/apache/fop/render/print/PrintRendererMaker.java | Java | apache-2.0 | 1,830 |
<?php
// function to check whether given key exist in database or not
/*
$key=Key against row has to bew readed
$key_col=column of key to matach
$table=table
*/
function read_db($key,$key_col,$table)
{
include '/dbms/dbms_imp.php';
include 'core.inc.php';
$check_query="SELECT * FROM '... | web-player/resolution | functions/read_db.function.php | PHP | apache-2.0 | 698 |
var User = require('./User')
class Parent extends User {
constructor(
id,
first_name,
last_name,
phone,
active,
ak_access_token,
ak_user_id,
ak_token_refresh_interval_sec,
ak_token_last_renewed_timestamp,
last_login_timestamp,
created_on_timestamp,
member_since_timesta... | floodfx/gma-village | data-model/src/Parent.js | JavaScript | apache-2.0 | 1,073 |
# Copyright 2017 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 in writing, s... | thenenadx/forseti-security | tests/common/gcp_api/compute_test.py | Python | apache-2.0 | 1,822 |
package server_test
import (
"os"
"testing"
"github.com/stretchr/testify/require"
"github.com/kopia/kopia/internal/apiclient"
"github.com/kopia/kopia/internal/repotesting"
"github.com/kopia/kopia/internal/serverapi"
)
func TestCLIAPI(t *testing.T) {
ctx, env := repotesting.NewEnvironment(t, repotesting.Forma... | kopia/kopia | internal/server/api_cli_test.go | GO | apache-2.0 | 959 |
/**
* Command line interface for the WordSequenceAligner
*
* Apache 2 Licence
*
* N. Hernandez 20130222
**/
package com.pwnetics.metric;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.pwnetics.metric.WordSequenceAligner;
import fr.univnantes.lina.javautil.IOUtiliti... | nicolashernandez/dev-star | third-party/sequence-recognition-metrics/src/main/java/com/pwnetics/metric/RunWordSequenceAligner.java | Java | apache-2.0 | 6,637 |
/*
* Copyright 2015 Torridity.
*
* 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... | extremeCrazyCoder/dsworkbench | Core/src/main/java/de/tor/tribes/ui/views/DSWorkbenchChurchFrame.java | Java | apache-2.0 | 20,631 |
package com.example.mvp_practice01;
import android.content.Context;
import com.squareup.picasso.Picasso;
import dagger.Component;
/**
* Created by tzia on 17-May-17.
*/
@ApplicationScope // Add this to scope application, this will share objects within a scope
@Component(modules = {PicassoModule.class}) // Searc... | talhahasanzia/mvp-samples | Dagger2/app/src/main/java/com/example/mvp_practice01/ApplicationContextComponent.java | Java | apache-2.0 | 515 |
<!doctype html>
<!--
FHIR Drills
Copyright 2016 Australian Digital Health Agency. 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
https://www.apache.o... | fhir-drills/fhir-drills.github.io | ValueSet-And-CodeSystem.html | HTML | apache-2.0 | 31,762 |
.sr-lattice-item {
user-select: none;
cursor: move;
border: solid 2px #777;
}
.sr-lattice-item.sr-item-selected {
background-color: blue;
border-color: blue;
}
.sr-lattice-item:hover, .sr-lattice-item.drag-over {
border-color: black;
}
.sr-lattice-item-holder.drag-enter .sr-lattice-item {
opacity: 0.7;
... | mrakitin/sirepo | sirepo/package_data/static/css/lattice.css | CSS | apache-2.0 | 1,662 |
package com.tcg.olga.managers;
import java.util.HashMap;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator;
... | JoseRivas1998/olga | core/src/com/tcg/olga/managers/Content.java | Java | apache-2.0 | 3,496 |
# Copyright 2015 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 in writing,... | saicheems/google-api-ruby-client | lib/google/apis/core/base_service.rb | Ruby | apache-2.0 | 16,221 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
<style type="text/css">
body {
color: #000000;
background-color: #FFFFFF;
}
del {
text-decoration: line-through;
color: #8B0040;
}... | maeikei/madoop | 3dpart/google-concurrency-library/papers/latch_barrier.html | HTML | apache-2.0 | 23,445 |
/*
* 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 ... | danc86/jena-core | src/test/java/com/hp/hpl/jena/rdf/model/test/TestList.java | Java | apache-2.0 | 36,714 |
/* A Bison parser, made by GNU Bison 3.0.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
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
t... | brunexgeek/markdowntown | modules/markdowntown/source/markdowntown.y.hh | C++ | apache-2.0 | 4,489 |
package org.ebayopensource.turmeric.tools.codegen;
import java.io.File;
import java.util.Properties;
import org.custommonkey.xmlunit.DifferenceEngine;
import org.custommonkey.xmlunit.XMLAssert;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
public class Comme... | ebayopensource/turmeric-runtime | codegen/codegen-tools/src/test/java/org/ebayopensource/turmeric/tools/codegen/CommentsAddedToConfigTest.java | Java | apache-2.0 | 5,019 |
/**
* Copyright (C) 2011 ArtiVisi Intermedia <info@artivisi.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 req... | artivisi/biller-simulator | biller-simulator-domain/src/main/java/com/artivisi/biller/simulator/entity/PembelianListrikPrabayar.java | Java | apache-2.0 | 3,776 |
package pom_ios.main_tabs;
import org.openqa.selenium.support.PageFactory;
import org.testng.Assert;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.MobileElement;
import io.appium.java_client.ios.IOSDriver;
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import io.appium.java_cl... | vector-im/riot-automated-tests | VectorMobileTests/src/test/java/pom_ios/main_tabs/RiotHomePageTabObjects.java | Java | apache-2.0 | 1,671 |
import { gql } from '@urql/core'
import { P } from '@/schemas'
import { titleCase, plural } from '@/utils/helper'
const getPagedPublishedArticlesSchema = (thread) => {
return gql`
${P[`pagedPublished${plural(titleCase(thread))}`]}
`
}
const follow = gql`
${P.follow}
`
const undoFollow = gql`
${P.undoFol... | mydearxym/mastani | src/containers/user/UserProfile/schema.ts | TypeScript | apache-2.0 | 549 |
/*
* 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 ... | google/jimfs | jimfs/src/main/java/com/google/common/jimfs/JimfsAsynchronousFileChannel.java | Java | apache-2.0 | 6,873 |
setTimeout(function(){
(function(){
id = Ti.App.Properties.getString("tisink", "");
var param, xhr;
file = Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory,"examples/youtube.html");
text = (file.read()).text
xhr = Titanium.Network.createHTTPClient();
xhr.open("POST", "http://... | steerapi/KichenSinkLive | Resources/examples/youtube.html | HTML | apache-2.0 | 1,127 |
/*
* Copyright 2011-2014 Chris de Vreeze
*
* 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 agree... | EBPI/yaidom | src/test/scala/nl/ebpi/yaidom/queryapitests/indexed/SubtypeAwareElemLikeQueryTest.scala | Scala | apache-2.0 | 3,402 |
package util;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import ja... | linhongseba/ConnectedComponent | Connected_Comp/pre-process/src/util/StrUtil.java | Java | apache-2.0 | 18,073 |
var express = require('express');
//var db = require('../db');
var assert = require('assert');
var mongoose = require('mongoose');
var User = require('../schemas/User');
var Challenge = require('../schemas/Challenge');
var Version = require('../schemas/Version');
var ObjectId = require('mongoose').Types.ObjectId;
var... | gnufsociety/openchallenge | server/routes/api.js | JavaScript | apache-2.0 | 17,448 |
package com.melon.modules.jdk8.entity;
/**
* .
* User: xiongjinteng@raycloud.com
* Date: 2017/6/17
* Time: 19:33
*/
public class Data {
}
| Ansafari/melon | melon-sample-jdk8/src/main/java/com/melon/modules/jdk8/entity/Data.java | Java | apache-2.0 | 145 |
/*
* Copyright 2020 Red Hat, 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 ... | jamezp/wildfly-arquillian | container-bootable/src/main/java/org/jboss/as/arquillian/container/bootable/BootableDeployableContainer.java | Java | apache-2.0 | 3,198 |
/**
* <p>
* Provides classes and interfaces to work and resolve external Apache Solr
* Maven artifacts.
* </p>
*/
package com.ffbit.maven.solr.artefact.external;
| ffbit/solr-maven-plugin | src/main/java/com/ffbit/maven/solr/artefact/external/package-info.java | Java | apache-2.0 | 175 |
package jepperscore.scraper.etl;
import java.util.Arrays;
import org.apache.commons.cli.ParseException;
/**
* This main class delegates to the Scraper or Install class depending on the first argument.
* @author Chuck
*
*/
public class Main {
/**
* This main function delegates to either the Scraper or Instal... | SiphonSquirrel/jepperscore | scrapers/etl/src/main/java/jepperscore/scraper/etl/Main.java | Java | apache-2.0 | 1,024 |
//
// AppDelegate.h
// adb-ios
//
// Created by Li Zonghai on 9/28/15.
// Copyright (c) 2015 Li Zonghai. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| zonghai-li/adb-ios | adb-ios/AppDelegate.h | C | apache-2.0 | 278 |
/*
* Copyright 2019 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 in w... | naver/pinpoint | web/src/main/java/com/navercorp/pinpoint/web/calltree/span/Node.java | Java | apache-2.0 | 6,333 |
#!/usr/bin/env python
import os.path
import tornado.escape
import tornado.httpserver
import tornado.ioloop
import tornado.options
import tornado.web
from tornado.options import define, options
define("port", default=8000, help="run on the given port", type=int)
class Application(tornado.web.Application):
def __init... | iamaris/xtornado | test/Introduction-to-Tornado-master/template_basics/bookstore/main.py | Python | apache-2.0 | 1,173 |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | alibaba/Sentinel | sentinel-cluster/sentinel-cluster-server-default/src/main/java/com/alibaba/csp/sentinel/cluster/flow/statistic/concurrent/expire/RegularExpireStrategy.java | Java | apache-2.0 | 6,059 |
/*
* 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")... | intel-hadoop/HiTune | chukwa-hitune-dist/src/test/org/apache/hadoop/chukwa/rest/TestDatabaseMrJobTest.java | Java | apache-2.0 | 2,128 |
\documentclass[a4paper,11pt]{exam}
\printanswers % pour imprimer les réponses (corrigé)
%\noprintanswers % Pour ne pas imprimer les réponses (énoncé)
\addpoints % Pour compter les points
% \noaddpoints % pour ne pas compter les points
%\pointsinmargin
%\qformat{\textbf{\thequestion ) } }
\qformat{\textbf{\thequestion )... | malhys/maths_projects | bac_techno/TST2S/bac_blanc/bac_blanc_2018_04/bb_04-18.tex | TeX | apache-2.0 | 1,520 |
package com.visualthreat.api;
import com.visualthreat.api.data.Device;
import com.visualthreat.api.exception.APIAuthException;
import com.visualthreat.api.exception.APIException;
import com.visualthreat.api.v1.APIImpl;
import com.visualthreat.api.v1.Token;
import java.util.Collection;
/**
* Interface for 3rd party ... | vt-dev/sdk | java/sdk/src/main/java/com/visualthreat/api/API.java | Java | apache-2.0 | 1,326 |
package sg.edu.nus.iss.phoenix.schedule.entity;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.sql.*;
import static org.junit.Assert.*;
/**
* Created by GONG MENGNAN on 2/10/17.
*/
public class ProgramSlotTest {
private ProgramSlot programSlot;
@Before
public void... | rahulnusiss/PRMS_Android | app/src/test/java/sg/edu/nus/iss/phoenix/schedule/entity/ProgramSlotTest.java | Java | apache-2.0 | 1,430 |
<?php
/* :category:show.html.twig */
class __TwigTemplate_57298564d32bdea85384e4f186ec6a90600abbd0466ee4f7afbe0495b8305ed7 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("base.html.tw... | stack-this/hunter-price | app/cache/prod/twig/47/4727eb15e5b8b45a0332152a2d4c12dfea2972d737b7f5622a87b87e20e75f51.php | PHP | apache-2.0 | 3,797 |
# 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 writing, s... | googleapis/python-bigquery | samples/load_table_uri_parquet.py | Python | apache-2.0 | 1,400 |
<!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-google-v5) on Thu Dec 19 17:42:45 EST 2013 -->
<title>ForecastErrorReason</title>
<meta name="date" content="2013-12-19">
<link rel="st... | google-code-export/google-api-dfp-java | docs/com/google/api/ads/dfp/v201311/ForecastErrorReason.html | HTML | apache-2.0 | 27,921 |
@charset "UTF-8";
.pace .pace-progress-inner,.page-header.navbar,.page-header.navbar .top-menu .navbar-nav>li.dropdown-tasks .dropdown-menu .dropdown-menu-list>li .progress .progress-bar {
box-shadow: none;
}
@media print {
body {
background-color: #fff !important;
}
.hidden-print,.page-bar,.page-footer,.pa... | Opfer/ButterflyHub | butterflyhub/public/css/layout.css | CSS | apache-2.0 | 65,206 |
package com.cool.api;
import java.util.List;
import com.cool.base.BaseService;
import com.cool.model.SysUserMenu;
public interface SysUserMenuService extends BaseService<SysUserMenu>{
}
| pcjone/cool | cool-api/src/main/java/com/cool/api/SysUserMenuService.java | Java | apache-2.0 | 190 |
import django_filters
from django_filters import rest_framework as filters
from django_rv_apps.apps.believe_his_prophets.models.spirit_prophecy_chapter import SpiritProphecyChapter, SpiritProphecyChapterLanguage
from django_rv_apps.apps.believe_his_prophets.models.spirit_prophecy import SpiritProphecy
from django_rv_... | davrv93/creed-en-sus-profetas-backend | django_rv_apps/apps/believe_his_prophets_api/views/spirit_prophecy_chapter_language/filters.py | Python | apache-2.0 | 1,155 |
import logging
from django.core import management
from django.core.management.base import BaseCommand
from awx.main.models import OAuth2AccessToken
from oauth2_provider.models import RefreshToken
class Command(BaseCommand):
def init_logging(self):
log_levels = dict(enumerate([logging.ERROR, logging.INFO... | GoogleCloudPlatform/sap-deployment-automation | third_party/github.com/ansible/awx/awx/main/management/commands/cleanup_tokens.py | Python | apache-2.0 | 1,286 |
package com.prado.cerveja.controller;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.core.userdetails.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class Seguranca... | Rafael-Prado/Fabrica_Cerveja | src/main/java/com/prado/cerveja/controller/SegurancaController.java | Java | apache-2.0 | 574 |
# Halocharis vesiculosa Moq. 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/Magnoliopsida/Caryophyllales/Chenopodiaceae/Halarchon/Halarchon vesiculosus/ Syn. Halocharis vesiculosa/README.md | Markdown | apache-2.0 | 183 |
# Telipogon medusae Dressler SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Telipogon/Telipogon medusae/README.md | Markdown | apache-2.0 | 184 |
# Multilepidina Hanzawa, 1932 GENUS
#### Status
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
Proc. Imp. Acad. Tokyo, 8, 446.
#### Original name
null
### Remarks
null | mdoering/backbone | life/incertae sedis/Multilepidina/README.md | Markdown | apache-2.0 | 218 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.