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 |
|---|---|---|---|---|---|
// PathVisio,
// a tool for data visualization and analysis using Biological Pathways
// Copyright 2006-2011 BiGCaT Bioinformatics
//
// 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... | wikipathways/org.wikipathways.client | wp-client/src/org/wikipathways/client/WikiPathwaysClient.java | Java | apache-2.0 | 13,662 |
package pl.touk.nussknacker.ui.security.oauth2
import akka.http.scaladsl.marshalling.ToResponseMarshallable
import akka.http.scaladsl.model.StatusCodes.NotFound
import akka.http.scaladsl.model.{ContentTypes, HttpEntity, HttpResponse, StatusCodes}
import akka.http.scaladsl.server.directives.{AuthenticationDirective, Se... | TouK/nussknacker | security/src/main/scala/pl/touk/nussknacker/ui/security/oauth2/OAuth2AuthenticationResources.scala | Scala | apache-2.0 | 3,344 |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.lang.ant.config.explorer;
import com.intellij.ide.util.treeView.AbstractTreeStructure;
import com.intellij.ide.util.treeView.NodeDescriptor;
import com.intel... | leafclick/intellij-community | plugins/ant/src/com/intellij/lang/ant/config/explorer/AntExplorerTreeStructure.java | Java | apache-2.0 | 5,411 |
# Pilobolus roridus var. umbonatus (Buller) F.M. Hu & R.Y. Zheng, 1989 VARIETY
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
in Hu, Zheng & Chen, Mycosystema 2: 129 (1989)
#### Original name
Pilobolus umbonatus Buller, 1934
### Remarks
null | mdoering/backbone | life/Fungi/Zygomycota/Mucorales/Pilobolaceae/Pilobolus/Pilobolus roridus/Pilobolus roridus umbonatus/README.md | Markdown | apache-2.0 | 296 |
/*
* Copyright 2014-2016 See AUTHORS file.
*
* 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... | piotr-j/VisEditor | editor/src/main/java/com/kotcrab/vis/editor/util/vis/PrettyEnumNameProvider.java | Java | apache-2.0 | 972 |
package org.o2i2b2.utils;
import java.io.*;
public class LogHelper {
Exception exception = null;
public LogHelper () {}
public LogHelper (Exception exception) {
this.exception = exception;
}
public String toString () {
return stack2string(exception);
}
public String stack2string() {
return stack2s... | stephenlorenz/o2i2b2 | src/main/java/org/o2i2b2/utils/LogHelper.java | Java | apache-2.0 | 626 |
/*
* 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-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/transform/DocumentationVersionJsonUnmarshaller.java | Java | apache-2.0 | 3,306 |
using System;
using System.Collections.Generic;
using SmartQuant.Charting;
using SmartQuant.ChartViewers;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
#if GTK
using Compatibility.Gtk;
using Gtk;
#else
using System.Windows.Forms;
#endif
namespace SmartQuant.Controls.BarChart
{
... | fastquant/fastquant.dll | test/DnxForm/src/SmartQuant.Controls/BarChart/BarChart.cs | C# | apache-2.0 | 21,318 |
# Cassia discolor Desv. 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/Fabales/Fabaceae/Senna/Senna pallida/ Syn. Cassia discolor/README.md | Markdown | apache-2.0 | 178 |
/*
* 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 ... | afiantara/apache-wicket-1.5.7 | src/wicket-util/src/main/java/org/apache/wicket/util/LongEncoder.java | Java | apache-2.0 | 3,259 |
/*
* Copyright (C) 2016 Benjamin Fry <benjaminfry@me.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 ap... | tempbottle/trust-dns | crates/proto/src/rr/dnssec/rdata/ds.rs | Rust | apache-2.0 | 9,641 |
/*
* 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 ... | firebase/firebase-cpp-sdk | firestore/src/android/timestamp_android.cc | C++ | apache-2.0 | 1,870 |
package com.devin.client.mysise.model.parse;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import com.devin.client.mysise.model.base.WebBody;
import com.devin.client.mysise.model.bean.Encourage;
import com.devin.client.mysise.model.bean.Encourages;
import com.devin... | DevinShuFan/mysise | app/src/main/java/com/devin/client/mysise/model/parse/ParseEncouragePunish.java | Java | apache-2.0 | 1,396 |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unl... | stevenhva/InfoLearn_OpenOLAT | src/main/java/org/olat/core/commons/services/tagging/ui/TaggingController.java | Java | apache-2.0 | 2,017 |
/**
* Copyright (c) 2013-2021 Nikita Koksharov
*
* 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... | redisson/redisson | redisson/src/main/java/org/redisson/liveobject/core/RObjectInterceptor.java | Java | apache-2.0 | 1,403 |
#!/bin/sh
########################## Various utility functions ##########################
# Canonicalize a directory name
canon_dir () {
(cd "$1" && pwd -P)
}
# Extract the argument from "--foo=..." style arguments
get_arg () {
echo "$1" | sed 's/[^=]*=//'
}
# Add a parameter to the set of parameters with w... | rackerlabs/striker | run_tests.sh | Shell | apache-2.0 | 5,716 |
#include <stdio.h>
#include <stdlib.h>
#include "../common/matrix.h"
#include "../common/file_io.h"
#include "../common/vector.h"
#define FILENAME_IN "in.txt"
// TODO: reuse it from lab6
double getA(Matrix *matrix, int ai) {
return matrix->data[ai][matrix->w - 1];
}
double getB(Matrix *matrix, int bj) {
return ... | gutachok/lnu_mmoi | lab7/main.c | C | apache-2.0 | 2,876 |
package dto
type ProcessStartRequest struct {
Variables VariableList `json:"variables"`
} | bigbank-as/go_camunda_client | rest/dto/process_start_request.go | GO | apache-2.0 | 91 |
<!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 Dec 05 05:02:04 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PeriodicRotatingFileHandler... | wildfly-swarm/wildfly-swarm-javadocs | 2.6.0.Final/apidocs/org/wildfly/swarm/config/logging/logging_profile/PeriodicRotatingFileHandlerSupplier.html | HTML | apache-2.0 | 9,986 |
---
title: Gameloft races to 9X more revenue by optimizing for Chrome OS
metadesc: When Gameloft optimized for Chromebooks, their game Asphalt 8 saw a 6× increase in daily app users and a nearly 9× boost in their Chrome OS app revenue.
app:
name: Asphalt 8
logo: ix://stories/asphalt-8/asphalt8-icon.240.png
compan... | chromeos/chromeos.dev | site/en/stories/asphalt-8.md | Markdown | apache-2.0 | 3,725 |
package com.ts.service.information.attachedmx;
import java.util.List;
import com.ts.entity.Page;
import com.ts.util.PageData;
/**
* 说明: 明细表接口
* 创建人:
* 创建时间:2016-04-17
* @version
*/
public interface AttachedMxManager{
/**新增
* @param pd
* @throws Exception
*/
public void save(PageData... | ljcservice/autumnprogram | src/main/java/com/ts/service/information/attachedmx/AttachedMxManager.java | Java | apache-2.0 | 1,254 |
// Copyright 2010-2014, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | kishikawakatsumi/Mozc-for-iOS | src/converter/converter.cc | C++ | apache-2.0 | 35,260 |
/*
* Copyright 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | naroate/androidtv-sample-inputs | app/src/main/java/com/example/android/sampletvinput/simple/SimpleTvInputService.java | Java | apache-2.0 | 7,181 |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap... | mertnuhoglu/study | html/cssgrid_02/ex04_master01/index.html | HTML | apache-2.0 | 1,913 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FST - Summer Romero</title>
<meta name="description" content="Keep track of the statistics from Summer Romer... | chicofilho/fst | surfers/wlt/srome.html | HTML | apache-2.0 | 12,004 |
/*
* Copyright 2013 Goran Ehrsson.
*
* 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... | goeh/grails-crm-core | src/java/grails/plugins/crm/core/Pair.java | Java | apache-2.0 | 1,843 |
DROP TABLE IF EXISTS karma;
DROP TABLE IF EXISTS need;
DROP TABLE IF EXISTS message;
DROP TABLE IF EXISTS profile;
DROP TABLE IF EXISTS member;
CREATE TABLE member (
memberId INT UNSIGNED AUTO_INCREMENT NOT NULL,
memberAccessLevel CHAR(1) NOT NULL,
memberEmail VARCHAR(255) NOT NULL,
memberEmailActivation CHAR(16),
me... | Derek-Mauldin/karma | sql/karma.sql | SQL | apache-2.0 | 1,949 |
/*--------------------------------------------------------------------------
Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source... | indashnet/InDashNet.Open.UN2000 | android/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp | C++ | apache-2.0 | 128,310 |
# Aglaia marginata Craib SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Sapindales/Meliaceae/Aglaia/Aglaia marginata/README.md | Markdown | apache-2.0 | 172 |
<!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 (1.8.0_231) on Sun Nov 17 02:10:24 CET 2019 -->
<title>Serialized Form</title>
<meta name="date" content="2019-11-17">
<link rel="stylesheet" t... | arx-deidentifier/arx | doc/serialized-form.html | HTML | apache-2.0 | 220,585 |
'use strict';
var commentLineExp = /^[\s]*<!-- (\/|#) (CE|EE)/;
var requireConfExp = /require-conf.js$/;
module.exports = function(config, copyConf) {
var grunt = config.grunt;
var path = require('path');
var now = (new Date()).getTime();
var version = grunt.file.readJSON(path.resolve(__dirname, '../../../... | xlinur/camunda-bpm-webapp | ui/cockpit/grunt/config/copy.js | JavaScript | apache-2.0 | 4,012 |
#ifndef GRAPHICS_MATERIAL_HPP
#define GRAPHICS_MATERIAL_HPP
#include <map>
#include "OE/Graphics/API/UniformsPack.hpp"
#include "OE/Graphics/API/Texture.hpp"
#include "OE/Graphics/ManagedShader.hpp"
#include "OE/Math/Vec3.hpp"
#include "OE/Math/Color.hpp"
namespace OrbitEngine { namespace Graphics {
enum MaterialM... | mlomb/OrbitEngine | Code/include/OE/Graphics/3D/Material.hpp | C++ | apache-2.0 | 1,558 |
// ======================================================================== //
// Copyright 2009-2018 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | RichieSams/lantern | third_party/embree/kernels/geometry/triangle_intersector_moeller.h | C | apache-2.0 | 17,078 |
# AUTOGENERATED FILE
FROM balenalib/ccimx8x-sbc-pro-fedora:35-build
ENV NODE_VERSION 14.18.3
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ... | resin-io-library/base-images | balena-base-images/node/ccimx8x-sbc-pro/fedora/35/14.18.3/build/Dockerfile | Dockerfile | apache-2.0 | 2,752 |
/*
* Copyright 2010-2016 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... | ambasta/aws-sdk-cpp | aws-cpp-sdk-ec2/source/model/ExportToS3Task.cpp | C++ | apache-2.0 | 4,058 |
html, body{
font-family: 'Press Start 2P', cursive;
height:100%;
width:100%;
margin:0;
padding:0;
}
body{
padding:30px 0 100px 0;
box-sizing: border-box;
background: #458AF3;
background: -moz-linear-gradient(top, #010c5d 0%, #3867c4 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #010c5d 0%,#... | eumendoza/codemotion-monkeySearch | styles.css | CSS | apache-2.0 | 694 |
package service
import (
"context"
"encoding/json"
"strconv"
"time"
"go-common/app/job/main/passport-game-local/model"
"go-common/library/log"
"go-common/library/queue/databus"
)
func (s *Service) asobinlogconsumeproc() {
mergeNum := int64(s.c.Group.AsoBinLog.Num)
for {
msg, ok := <-s.dsAsoBinLogSub.Messa... | LQJJ/demo | 126-go-common-master/app/job/main/passport-game-local/service/aso_bin_log.go | GO | apache-2.0 | 3,287 |
<?php
function koneksidatabase()
{
include('isi/koneksi/koneksi.php');
return $kdb;
}
$kdb = koneksidatabase();
if(isset($_POST['register_btn']))
{
$name = $_POST['nama'];
$alamat = $_POST['alamat'];
$telp = $_POST['telepon'];
$sex = $_POST['jen_kelamin'];
$username = $_POST['username'];
$password... | LubnaAbidah/travel | regis2.php | PHP | apache-2.0 | 2,670 |
// 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 agreed to in... | mbrukman/gamebuilder | src/js/games/chess/chess_theme.js | JavaScript | apache-2.0 | 6,601 |
//
// BakeMutton.h
// Command
//
// Created by btw on 15/2/26.
// Copyright (c) 2015年 Nihility. All rights reserved.
//
#import "Command.h"
@interface BakeMutton : Command <Command>
@end
| Nihility-Ming/Design_Patterns_In_Objective-C | 行为型模式/命令模式/Example_02/Command/BakeMutton.h | C | apache-2.0 | 197 |
package com.waka.workspace.wakapedometer.weather;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.design.widget.Snackbar;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import an... | BadWaka/WakaPedometer | app/src/main/java/com/waka/workspace/wakapedometer/weather/WeatherActivity.java | Java | apache-2.0 | 19,506 |
//Requires
var lirc = require("./modules/lirc.js");
var sonybravia = require("./modules/sonybravia.js");
var exec = require('child_process').exec;
var alarms = require("./modules/alarms.js").initialize();
var express = require('express');
var app = express();
var fs = require('fs');
var moment = require('moment');
var ... | RobQuistNL/PieStation | app.js | JavaScript | apache-2.0 | 11,969 |

# ArangoDB-PHP - A PHP client for ArangoDB
The official ArangoDB PHP Driver.
3.6: [](https://travis-ci.com/arangodb/arangodb-php)
3.7: [![Build Status]... | arangodb/arangodb-php | README.md | Markdown | apache-2.0 | 1,307 |
</div><form action="search.asp" name="form1" id="form1">
<table border="1" id="table1" style="border-collapse: collapse">
<tr>
<td height="25" align="center"><span style="font-size: 16px">清</span></td>
<td height="25" align="center"><span style="font-size: 16px">公元1890年</span></td>
<td height="25" align=... | ilearninging/xxhis | all/2817.html | HTML | apache-2.0 | 3,299 |
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp" xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="Styles/branding.css"/>
<title>Unrestricted Layouts Page</t... | Sowz/SharePoint-Software-Factory | SPALM.SPSF/Help/OutputHelp3/SPSF_RECIPE_UNSECUREDAPPLICATIONPAGE.html | HTML | apache-2.0 | 5,902 |
/*
* 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/kernel/src/test/java/org/neo4j/kernel/impl/util/ConvertersTest.java | Java | apache-2.0 | 2,020 |
# Limnonesis friedrichsthaliana Klotzsch 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/Alismatales/Araceae/Pistia/Pistia stratiotes/ Syn. Limnonesis friedrichsthaliana/README.md | Markdown | apache-2.0 | 195 |
<!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 Mon Dec 16 23:53:27 EST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.a... | arrowli/RsyncHadoop | hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/target/org/apache/hadoop/mapreduce/jobhistory/class-use/JobFinishedEvent.html | HTML | apache-2.0 | 4,673 |
// -*- coding: us-ascii-unix -*-
// Copyright 2013 Lukas Kemmer
//
// 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... | tectronics/faint-graphics-editor | geo/scale.cpp | C++ | apache-2.0 | 1,336 |
// Copyright 2017 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | petroseskinder/migration-tooling | generate_workspace/src/test/java/com/google/devtools/build/workspace/output/BzlWriterTest.java | Java | apache-2.0 | 3,400 |
/*
* 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 ... | smanvi-pivotal/geode | geode-core/src/main/java/org/apache/geode/cache/client/internal/ServerProxy.java | Java | apache-2.0 | 2,156 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- *************************GO-LICENSE-START******************************
* Copyright 2014 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... | 10fish/gocd | server/jsunit/tests/build_detail_observer_test.html | HTML | apache-2.0 | 4,408 |
/*
* Copyright 2022 Red Hat
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | michpetrov/hal.next | ballroom/src/main/java/org/jboss/hal/ballroom/chart/Api.java | Java | apache-2.0 | 892 |
package dev.jinkim.snappollandroid.imgur;
import android.content.Context;
import android.content.SharedPreferences;
import android.text.TextUtils;
import android.util.Log;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.message.BasicNameValuePair... | jinkim608/SnapPoll | SnapPollAndroidClient/app/src/main/java/dev/jinkim/snappollandroid/imgur/ImgurAuthorization.java | Java | apache-2.0 | 6,167 |
package de.otto.rx.composer.content;
import static de.otto.rx.composer.content.Headers.emptyHeaders;
/**
* Static Content that may be used as fallback content.
*/
public class StaticTextContent extends SingleContent {
private final String source;
private final String text;
private final Position positio... | gsteinacker/rx-composer | composer-core/src/main/java/de/otto/rx/composer/content/StaticTextContent.java | Java | apache-2.0 | 1,901 |
'use strict';
let Joi = require('joi');
class RequestVaildator {
getListParameterValidator() {
return {
type: Joi.any().valid(process.env.TEMPLATE_PARTS.split(','))
}
}
getListQueryValidator() {
return {
page: Joi.number().min(1),
limit: Joi.number().min(parseInt(process.env.PAGI... | omrsmeh/fuse-cloud | server/api/template/validators/request.validator.js | JavaScript | apache-2.0 | 990 |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | leafclick/intellij-community | platform/util/src/com/intellij/util/containers/FList.java | Java | apache-2.0 | 4,095 |
/*
* Copyright (c) 2017 Aniket Divekar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | Codigami/pinterest4j | src/main/java/pinterest4j/config/Configuration.java | Java | apache-2.0 | 991 |
/*
* Copyright (c) 2013-2014 Telefónica Investigación y Desarrollo S.A.U.
*
* 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... | telefonicaid/fiware-cosmos-platform | infinity/common/src/main/scala/es/tid/cosmos/infinity/common/fs/PathMetadata.scala | Scala | apache-2.0 | 5,192 |
package egovframework.com.cop.smt.sdm.service;
import java.util.List;
import java.util.Map;
import egovframework.com.cmm.ComDefaultVO;
/**
* 부서일정관리를 처리하는 Service Class 구현
* @author 공통서비스 장동한
* @since 2009.04.10
* @version 1.0
* @see
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수... | dasomel/egovframework | common-component/v2.3.2/src/main/java/egovframework/com/cop/smt/sdm/service/EgovDeptSchdulManageService.java | Java | apache-2.0 | 2,497 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>帮助 - Bootstrap后台管理系统模版Ace下载</title>
<meta name="keywords" content="Bootstrap模版,Bootstrap模版下载,Bootstrap教程,Bootstrap中文" />
<meta name="description" content="站长素材提供Bootstrap模版,Bootstrap教程,Bootstrap中文翻译等相关Bootstrap插件下载" />
<meta name="vie... | liwanzhang/learning-zwl | learning-bootstrap/src/main/webapp/static/ace/faq.html | HTML | apache-2.0 | 44,389 |
package cn.changhong.ancare
import cn.changhong.ancare.util.{AncareTools, SMSUtil}
import com.flashbird.http.framework.request.DynamicPathParamsRequest
import com.flashbird.http.framework.{HttpControllerFilter, DefaultResponseCode, DefaultResponseContent, Controller}
import com.flashbird.http.framework.authorization.{... | guoyang2011/ancare | src/main/scala-2.10/cn/changhong/ancare/AccountService.scala | Scala | apache-2.0 | 6,605 |
package com.communote.plugins.api.rest.resource.validation;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author Communote GmbH - <a href="http://www.communote.com/">http://www.communote.com/</a>
*/
public class ValidationHelper {... | Communote/communote-server | communote/plugins/rest-api/1.3/implementation/src/main/java/com/communote/plugins/api/rest/resource/validation/ValidationHelper.java | Java | apache-2.0 | 2,475 |
<div class="row" ng-controller="VirusCtrl as vc">
 
<h4><b>MD5</b>: {{ vc.viruses[0].MD5 }}</h4>
<div class="row">
<ul ng-init="tab = 1">
<li ng-class="{active:tab===1}">
<a href class="btn btn-primary" ng-click="tab = 1">General Information</a>
... | PSUPing/CS575-Final-Project | public/partials/virus.html | HTML | apache-2.0 | 2,610 |
// RUN: %clang_cc1 -verify -fopenmp %s
// RUN: %clang_cc1 -verify -fopenmp-simd %s
typedef void **omp_allocator_handle_t;
extern const omp_allocator_handle_t omp_default_mem_alloc;
extern const omp_allocator_handle_t omp_large_cap_mem_alloc;
extern const omp_allocator_handle_t omp_const_mem_alloc;
extern const omp_al... | apple/swift-clang | test/OpenMP/target_teams_distribute_parallel_for_private_messages.cpp | C++ | apache-2.0 | 5,884 |
//package io.skysail.core.server.routes
//
//import akka.http.scaladsl.server.Directives._
//import akka.http.scaladsl.server.{PathMatcher, _}
//import akka.http.scaladsl.testkit.ScalatestRouteTest
//import org.junit.runner.RunWith
//import org.scalatest.junit.JUnitRunner
//import org.scalatest.{Matchers, WordSpec, _}
... | evandor/skysail-core | skysail.core/test/io/skysail/core/server/routes/PathMatcherFactorySpec.scala | Scala | apache-2.0 | 7,809 |
package com.bn.picpanel;
import javax.swing.JFrame;
import com.bn.picpanel.JAddPicPanel;
public class JAddPicFrame extends JFrame
{
/**
*
*/
private static final long serialVersionUID = 1L;
JAddPicPanel jpic;
public JAddPicFrame()
{
jpic=new JAddPicPanel();
this.setTitle("Ìí¼ÓͼƬ");
this.add(j... | roubofenyong/bnmusic1 | Mymusic/src/com/bn/picpanel/JAddPicFrame.java | Java | apache-2.0 | 392 |
package com.sfl.pms.api.internal.facade.order.impl;
import com.sfl.pms.api.internal.facade.test.AbstractFacadeUnitTest;
import com.sfl.pms.core.api.internal.model.common.result.ErrorType;
import com.sfl.pms.core.api.internal.model.common.result.ResultResponseModel;
import com.sfl.pms.core.api.internal.model.customer.C... | sflpro/ms_payment | api/api_internal/api_internal_facade/src/test/java/com/sfl/pms/api/internal/facade/order/impl/OrderPaymentFacadeImplTest.java | Java | apache-2.0 | 19,460 |
var express = require('express');
var path = require('path');
var favicon = require('static-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var routes = require('./routes/index');
var users = require('./routes/users');
var app = express(... | rgbkrk/bot-in-a-bottle | app.js | JavaScript | apache-2.0 | 1,454 |
/*
* Copyright 2014 - 2017 Cognizant Technology Solutions
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | CognizantQAHub/Cognizant-Intelligent-Test-Scripter | ExtensionConnect/src/main/java/com/cognizant/cognizantits/extension/logger/LogUtil.java | Java | apache-2.0 | 1,762 |
/*******************************************************************************
* (c) Copyright 2017 Hewlett-Packard Development Company, L.P.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* T... | robert-sandor/cs-actions | cs-vmware/src/main/java/io/cloudslang/content/vmware/entities/http/HttpInputs.java | Java | apache-2.0 | 2,895 |
/*
* Autopsy Forensic Browser
*
* Copyright 2011-2017 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | narfindustries/autopsy | Core/src/org/sleuthkit/autopsy/directorytree/DirectoryTreeFilterNode.java | Java | apache-2.0 | 7,184 |
const path = require('path');
const fs = require('fs');
const morgan = require('morgan');
const morganDebug = require('morgan-debug');
const rfs = require('rotating-file-stream');
const config = require(path.join(__dirname, '..', 'logging'));
module.exports = function () {
if (!config.enabled) {
return;
... | Mrtenz/morten.js | config/initializers/01-logging.js | JavaScript | apache-2.0 | 686 |
<!-- THIS IS AUTO-GENERATED CONTENT. DO NOT MANUALLY EDIT. -->
This image is part of the [balena.io][balena] base image series for IoT devices. The image is optimized for use with [balena.io][balena] and [balenaOS][balena-os], but can be used in any Docker environment running on the appropriate architecture.
![balena... | resin-io-library/base-images | balena-base-images/docs/dockerhub/up-core-ubuntu-python-full-description.md | Markdown | apache-2.0 | 6,160 |
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | ernestp/consulo | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesCache.java | Java | apache-2.0 | 43,213 |
#!/usr/bin/env python
"""
conference.py -- Udacity conference server-side Python App Engine API;
uses Google Cloud Endpoints
$Id: conference.py,v 1.25 2014/05/24 23:42:19 wesc Exp wesc $
created by wesc on 2014 apr 21
"""
__author__ = 'wesc+api@google.com (Wesley Chun)'
from datetime import datetime
import ... | befeltingu/UdacityFinalProject4 | conference.py | Python | apache-2.0 | 33,399 |
namespace Stripe.Client.Sdk.Constants
{
public static class TransferFailureCodes
{
public const string AccountClosed = "account_closed";
public const string AccountFrozen = "account_frozen";
public const string BankAccountRestricted = "bank_account_restricted";
public const stri... | smiggleworth/Stripe.Client | src/Stripe.Client.Sdk/Constants/TransferFailureCodes.cs | C# | apache-2.0 | 788 |
# Gloniella clavatispora Steinke & K.D. Hyde, 1997 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycoscience 38(1): 7 (1997)
#### Original name
Gloniella clavatispora Steinke & K.D. Hyde, 1997
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Hysteriales/Hysteriaceae/Gloniella/Gloniella clavatispora/README.md | Markdown | apache-2.0 | 273 |
#include <iostream>
#include <string>
#include "DepthStat.h"
#include "Annotate.h"
#include "RegionGet.h"
#include "RegionCount.h"
#include "version.h"
static void PrintUsage(const char* progname)
{
std::cout << "\n"
"Program: Crabber catches crabs :P\n"
"Version: " << VERSION << "\n"
"\n"
"Usage: " << progna... | yanlinlin82/crabber | main.cpp | C++ | apache-2.0 | 1,157 |
package org.datavec.api.transform.schema.conversion;
import org.datavec.api.writable.Writable;
public class TypeConversion {
private static TypeConversion SINGLETON = new TypeConversion();
private TypeConversion() {}
public static TypeConversion getInstance() {
return SINGLETON;
}
publ... | deeplearning4j/DataVec | datavec-api/src/main/java/org/datavec/api/transform/schema/conversion/TypeConversion.java | Java | apache-2.0 | 2,462 |
import { LightningElement } from 'lwc';
export default class Example1 extends LightningElement {
} | forcedotcom/aura | aura-modules/src/test/modules/moduletest/examplesDoc/__examples__/example1/example1.js | JavaScript | apache-2.0 | 101 |
#!/bin/bash
SRV=client.radosgw
if [ $(find /var/run/ceph/ -name "ceph-${SRV}*asok" | wc -l) -ne 1 ];then
echo "ERROR - zero or more then one ceph-${SRV} socket? Dunno if this is right, would expect exactly one"
echo '>> find /var/run/ceph/ -name "ceph-${SRV}*asok"'
find /var/run/ceph/ -name "ceph-${SRV}*asok... | qnib/docker-ceph-mono | opt/qnib/ceph/radosgw/bin/isok.sh | Shell | apache-2.0 | 461 |
using System;
using OxyPlot;
namespace OxyPlotWpfTests
{
public class CustomTooltipProvider
{
public Func<TrackerHitResult, string> GetCustomTooltip { set; get; }
}
} | VahidN/OxyPlotWpfTests | OxyPlotWpfTests/CustomTooltipProvider.cs | C# | apache-2.0 | 187 |
# encoding: UTF-8
# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0
require 'spec_helper'
describe TwitterCldr::Transforms::TransformId do
describe '.find' do
it 'finds a transformer when given two locales' do
id = described_class.find('cs', 'ja')
expect(id.source).to eq('c... | twitter/twitter-cldr-rb | spec/transforms/transform_id_spec.rb | Ruby | apache-2.0 | 4,615 |
/*
* Copyright 2013 Thomas Hoffmann
*
* 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... | j4velin/Pedometer | src/main/java/de/j4velin/pedometer/SensorListener.java | Java | apache-2.0 | 10,492 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="it_IT">
<context>
<name>ConfigureOSC</name>
<message>
<location filename="configureosc.ui" line="14"/>
<source>Configure OSC Plugin</source>
<translation>Configurazione plugin OSC</translation>
</message... | bjlupo/rcva_qlcplus | plugins/osc/OSC_it_IT.ts | TypeScript | apache-2.0 | 3,361 |
/*
* Copyright 2010-2016 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... | trasa/aws-sdk-java | aws-java-sdk-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/Selector.java | Java | apache-2.0 | 6,176 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Packaging;
usi... | TyOverby/roslyn | src/VisualStudio/Core/Def/Implementation/LanguageService/AbstractPackage`2.cs | C# | apache-2.0 | 7,493 |
# Opuntia corrugata subsp. corrugata SUBSPECIES
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Cactaceae/Opuntia/Opuntia corrugata/Opuntia corrugata corrugata/README.md | Markdown | apache-2.0 | 179 |
package logh
import (
"encoding/json"
"net/http"
"net/http/httptest"
"net/url"
"testing"
"time"
"github.com/dilfish/tools/io"
)
func TestRequestToInfo(t *testing.T) {
var req http.Request
tx := time.Now()
req.Method = "POST"
req.URL = &url.URL{}
req.URL.Path = "/test"
req.RemoteAddr = "1.1.1.1"
ri := R... | dilfish/tools | logh/loghttp_test.go | GO | apache-2.0 | 2,858 |
# Chiloglottis chlorantha D.L.Jones 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/Chiloglottis/Chiloglottis chlorantha/README.md | Markdown | apache-2.0 | 191 |
// Copyright 2020 The gVisor 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 agree... | google/gvisor | test/packetimpact/testbench/testbench.go | GO | apache-2.0 | 5,814 |
# coding: utf-8
"""
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.23
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import si... | kubernetes-client/python | kubernetes/client/models/v1_server_address_by_client_cidr.py | Python | apache-2.0 | 5,238 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ retu... | DBosley/BOOTSTRA.386 | dist/Bootstrap.js | JavaScript | apache-2.0 | 2,853 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="telephone=no"/>
<title>北京纵横马术-北京马术|北京儿童骑马|北京儿童马术</title>
<meta name="ke... | caoxile/QslmClub | html/show/show_diary_3.html | HTML | apache-2.0 | 21,853 |
//
// 이 파일은 JAXB(JavaTM Architecture for XML Binding) 참조 구현 2.2.6 버전을 통해 생성되었습니다.
// <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>를 참조하십시오.
// 이 파일을 수정하면 소스 스키마를 재컴파일할 때 수정 사항이 손실됩니다.
// 생성 날짜: 2012.09.05 시간 05:10:33 PM KST
//
package com.athena.chameleon.engine.entity.xml.webapp... | OpenSourceConsulting/athena-chameleon | src/main/java/com/athena/chameleon/engine/entity/xml/webapp/v2_3/Listener.java | Java | apache-2.0 | 2,334 |
/*
* Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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... | xasx/camunda-bpm-platform | engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/spi/impl/MockedProcessEngineProvider.java | Java | apache-2.0 | 5,092 |
using Sputnik.Selenium;
namespace Sputnik.Core.Commands
{
public class GotoCommand
{
/// <summary>
/// Will navigate to the Url set on a page's Url property
/// </summary>
/// <param name="Url">The Url to navigate to</param>
public void ByUrl(string Url)
{
... | JotaAlava/Sputnik | Sputnik/Commands/GotoCommand.cs | C# | apache-2.0 | 388 |
/*
* 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")... | mike10004/appengine-imaging | gaecompat-awt-imaging/src/awt/com/google/code/appengine/awt/Stroke.java | Java | apache-2.0 | 1,061 |
/**
* Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.facebook.buck.artifact_cache.thrift;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thri... | zpao/buck | src-gen/com/facebook/buck/artifact_cache/thrift/ArtifactMetadata.java | Java | apache-2.0 | 64,697 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.