code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
/*
* 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... | Java |
<template name="ListStudent">
{{#IfLoggedIn}}
<div class="row" style="background-image: url('/images/textbookheader.png'); background-size: cover;">
<div class="col-md-10">
<div class="bumper">
<table class="table table-hover" style="background-color: white; border-top: 5px solid #00AFDD;">
... | Java |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Twig_' => array($vendorDir . '/twig/twig/lib'),
'Symfony\\Component\\Icu\\' => array($vendorDir . '/symfony/icu'),
'Symfony\\Bundle\\SwiftmailerBundle' => array(... | Java |
/*
* Copyright 2019 Stephane Nicolas
* Copyright 2019 Daniel Molinero Reguera
*
* 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
*
... | Java |
<?php
function geoip($dbipcsv, $ip){
$csvData = file_get_contents("/lib/".$dbipcsv);
$lines = explode(PHP_EOL, $csvData);
$rangeArray = array();
foreach ($lines as $line) {
$rangeArray[] = str_getcsv($line);
}
$input = $ip;
$array_input = explode(".", $input);
foreach($rangeArray as $current)
{
... | Java |
# Contributing to SlicerITKUltrasound
Contributions are welcome and encouraged.
To contribute, create a pull request on the [project's GitHub
repository](https://github.com/KitwareMedical/SlicerITKUltrasound).
Respectful and collaborative discourse is appreciated and expected.
Please patiently address all automated b... | Java |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ttt</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div>
<form method="post" action="/shop/register">
</form>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script typ... | Java |
#!/usr/bin/env python
"""
This pretty much just tests creating a user, a universe, a planet, a building type name, a building
type, and a building.
"""
import os
import sys
import sqlalchemy
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import legendary_waffle
# Database setup
... | Java |
package io.taric.domains
import concurrent.Future
import io.taric.services.FlatFileRecord
/**
* File created: 2013-01-13 18:46
*
* Copyright Solvies AB 2013
* For licensing information see LICENSE file
*/
object LocatingTaricFiles {
private[this] def fNum( f: String ): Int = f.take( 4 ).toInt
def latestFil... | Java |
/*
* 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 ... | Java |
<pr-stack-widget options="widget.options" params="widget.params" filters="filters"></pr-stack-widget> | Java |
body {
font-size: 1rem;
font-weight: 300;
background-color: #292B36;
color: #d0d0d0;
font-family: "Roboto", "sans-serif";
width: 100%;
}
header, main, footer {
margin: 3rem;
}
pre {
margin-top: 1.75rem;
}
pre, code {
font-family: "Hack", "monospace";
font-size: .75rem;
}
a {
... | Java |
package io.swagger.client.api;
import com.sun.jersey.api.client.GenericType;
import io.swagger.client.ApiException;
import io.swagger.client.ApiClient;
import io.swagger.client.Configuration;
import io.swagger.client.Pair;
import io.swagger.client.model.CodeSnippet;
import io.swagger.client.model.CodeSnippetList;
i... | Java |
# Epipactis leptochila subsp. naousaensis SUBSPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Epipactis naousaensis Robatsch
### Remarks
null | Java |
# Hartighsea alliaria Arn. ex Wight & Arn. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | Java |
// Copyright 2016-2022 The Libsacloud 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... | Java |
/**
* CommonFramework
*
* Copyright (C) 2017 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* 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 o... | Java |
package org.test;
import org.test.act.MainGame;
import loon.LSetting;
import loon.LSystem;
import loon.LazyLoading;
import loon.Screen;
import loon.javase.Loon;
public class JavaSEMain {
public static void main(String[]args){
LSetting setting = new LSetting();
setting.isFPS = true;
setting.isLogo = false;
... | Java |
// Diamond-in-the-Rough
// Code Wars program written in JavaScript for the RingoJS environment
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Lee Jenkins
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software... | Java |
package apple.uikit;
import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices.*;
impo... | Java |
/**
* @private
* @providesModule CustomTabsAndroid
* @flow
*/
'use strict';
import { NativeModules } from 'react-native';
import type { TabOption } from './TabOption';
const CustomTabsManager = NativeModules.CustomTabsManager;
/**
* To open the URL of the http or https in Chrome Custom Tabs.
* If Chrome is not... | Java |
package com.swifts.frame.modules.wx.fastweixin.company.message.req;
/**
* 微信企业号异步任务类型
* ====================================================================
*
* --------------------------------------------------------------------
* @author Nottyjay
* @version 1.0.beta
* @since 1.3.6
* ===================... | Java |
/**
* 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... | Java |
/*
* Copyright (c) 2010-2017 Evolveum
*
* 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... | Java |
package com.koch.ambeth.util;
import org.junit.Assert;
import org.junit.Test;
import com.koch.ambeth.ioc.util.ImmutableTypeSet;
public class ImmutableTypeSetTest {
public interface MyType {
// intended blank
}
public class MyClass implements MyType {
// intended blank
}
@Test
public void... | Java |
/*
* Copyright 2010-2020 Alfresco Software, 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 applicable ... | Java |
// Originally submitted to OSEHRA 2/21/2017 by DSS, Inc.
// Authored by DSS, Inc. 2014-2017
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VA.Gov.Artemis.Vista.Broker
{
internal enum RpcMessageStatus { Uknown, Ready, Error }
}
| Java |
/*
* Copyright 2017-present Facebook, 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... | Java |
package android_testsuite;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android_testsuite.mytest.application_search.AppSearchActivity;
import android_testsuite.mytest.application_search.UidActivity;
import android_... | Java |
using System;
using Microsoft.SPOT;
namespace WeatherStation.WebServer
{
/// <summary>
/// Base class for HTTP object (request/response)
/// </summary>
public class HttpBase
{
#region Constants ...
// const string separator
protected const char CR = '\r';
protected ... | Java |
// 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... | Java |
package info.cyanac.plugin.bukkit;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.command.TabCompleter;
public class CyanACTabCompleter implements TabCompleter {
@Override
public List<String> onTabComplete(CommandSen... | Java |
<?php
/**
* This file is part of the SevenShores/NetSuite library
* AND originally from the NetSuite PHP Toolkit.
*
* New content:
* @package ryanwinchester/netsuite-php
* @copyright Copyright (c) Ryan Winchester
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
* @link https://githu... | Java |
<?php
/**
* Menu Module
*
* @author Bálint Horváth <balint@snett.net>
*/
namespace Franklin\Component;
class Menu extends \Franklin\System\Object{
public $Id;
public $Name;
public $Status;
public $CleanURL;
public function __construct($Parent) {
parent::__construct($Parent);
... | Java |
package pe.com.ccpl.siconc.web.service;
import pe.com.ccpl.siconc.web.model.Role;
public interface RoleService {
public Role getRole(int id);
}
| Java |
BrowseEverythingController.before_filter do
if params[:context]
collection = Admin::Collection.find(params[:context])
browser.providers['file_system'].config[:home] = collection.dropbox_absolute_path
end
end
| Java |
<!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">
<title>Hello Wooorld</title>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/... | Java |
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<span class='rank5 5.23758013687111'>?NEW</span>
<span class='rank5 5.092407184714711'>YORK</span>
<span class='rank4 4.3452095742978045'>BOTANICAL</span>
<span class='rank5 4.836230413135688'>GARDEN</span>
</br>
<span class='rank24 2... | Java |
/*
* Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) 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
*
* Un... | Java |
#import "RLDTableViewModelProtocol.h"
#pragma mark - RLDTableViewGenericEventHandler protocol
@protocol RLDTableViewGenericEventHandler <NSObject>
// Suitability checking
+ (BOOL)canHandleTableView:(UITableView *)tableView viewModel:(id<RLDTableViewReusableViewModel>)viewModel view:(UIView *)view;
// Collaborators
... | Java |
---
title: Contributing Misc and CLA
---
### Miscellaneous
#### Contributor license agreement (CLA)
*When you contribute code, you affirm that the contribution is your original work and that you license the work to the project under the project’s open source license. Whether or not you state this explicitly, by sub... | Java |
/*
* Copyright (C) 2008 ZXing 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 l... | Java |
/**
\file parse_options.cpp
\author michael.zohner@ec-spride.de
\copyright ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation
Copyright (C) 2015 Engineering Cryptographic Protocols Group, TU Darmstadt
This program is free software: you can redistribute it and/or modify
it under t... | Java |
---
copyright:
years: 2015, 2016
---
# Gradle을 사용하여 클라이언트 푸시 SDK 설치
{: #android_install}
이 섹션에서는 클라이언트 푸시 SDK를 설치하고 이를 사용하여 추가적으로 Android 애플리케이션을 개발하는 방법에 대해 설명합니다.
Gradle을 사용하여 Bluemix® 모바일 서비스 푸시 SDK를 추가할 수 있습니다. Gradle은 저장소에서 아티팩트를 자동으로 다운로드하여 Android 애플리케이션에 제공합니다. Android Studio 및 Android Studio ... | Java |
"""heroku_blog URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Clas... | Java |
/**
* Copyright (c) 2005-2012 https://github.com/zhangkaitao Licensed under the Apache License, Version 2.0 (the
* "License");
*/
package com.yang.spinach.common.utils.spring;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
impo... | Java |
package org.javacore.io.zip;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import ... | Java |
package Zoe::Runtime::Database;
use Mojo::Base 'Zoe::Runtime';
sub new
{
my $class = shift;
my %arg = @_;
my $self = {
type => undef, #database type (mysql | sqlite| perl DBD driver name])
dbfile => undef, #path to database
# required if type is ... | Java |
/**
*
* Copyright 2014-2017 Florian Schmaus
*
* 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 ... | Java |
body {
margin:0px;
background-image:none;
position:relative;
left:-0px;
width:1074px;
margin-left:auto;
margin-right:auto;
text-align:left;
}
#base {
position:absolute;
z-index:0;
}
#u6641 {
position:absolute;
left:0px;
top:63px;
width:128px;
height:320px;
}
#u6641_menu {
position:absol... | Java |
# Lactarius peckii var. peckii VARIETY
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mem. Torrey bot. Club 14: 76 (1908)
#### Original name
Lactarius peckii var. peckii
### Remarks
null | Java |
/*
* Copyright 2014 Richard Thurston.
*
* 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... | Java |
@import url('../../../assets/css/app.css');
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 400;
src: local('Muli'), url(../fonts/Muli.woff) format('woff');
}
body {
background-color: #e7a279;
color: #434343;
font-family: 'Muli', sans-serif;
font-size: 14px;
max-... | Java |
<?php
/**
* NewExten listener, will capture extensions as channels step by them.
*
* PHP Version 5
*
* @category AsterTrace
* @package EventHandlers
* @author Marcelo Gornstein <marcelog@gmail.com>
* @license http://marcelog.github.com/ Apache License 2.0
* @version SVN: $Id$
* @link http://marcelog.... | Java |
/**
* ActivateRateCardCustomizations.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201306;
/**
* The action used to activate {@link RateCardCustomization} objects.
*/
public class ActivateRateCard... | Java |
<?php
namespace Elastica\Filter;
use Elastica\Exception\InvalidException;
/**
* Geo distance filter
*
* @category Xodoa
* @package Elastica
* @author Nicolas Ruflin <spam@ruflin.com>
* @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-distance-filter.html
*/
abstract class Abstrac... | Java |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Mon May 07 13:00:01 PDT 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.mapred.TaskTracker (Hadoop 0.20.2-cdh3u4 API)
</TITLE>
<META NAME="d... | Java |
/**
* Copyright (C) 2015 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... | Java |
<?php
declare(strict_types=1);
/**
* DO NOT EDIT THIS FILE as it will be overwritten by the Pbj compiler.
* @link https://github.com/gdbots/pbjc-php
*
* Returns an array of curies using mixin "triniti:curator:mixin:has-related-teasers:v1"
* @link http://schemas.triniti.io/json-schema/triniti/curator/mixin/has-rel... | Java |
<!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 Tue Dec 12 12:37:08 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HTTPAcceptorSupplier (BOM: ... | Java |
/**
* 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 ... | Java |
package com.google.api.ads.adwords.jaxws.v201406.cm;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
*
*... | Java |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Test lasp_SUITE:enforce_once_test result</title>
<meta http-equiv="cache-control" content="no-cache"></meta>
<meta h... | Java |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | Java |
/*
* Copyright 2009-2020 Aarhus University
*
* 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 applicab... | Java |
package com.svcet.cashportal.service;
import com.svcet.cashportal.web.beans.UserRequest;
import com.svcet.cashportal.web.beans.UserRolesScreenRequest;
import com.svcet.cashportal.web.beans.UserRolesScreenResponse;
public interface UserRoleService {
UserRolesScreenResponse editUserRoles(UserRequest userRequest);
v... | Java |
# New-VSRoboMakerRobot
## SYNOPSIS
Adds an AWS::RoboMaker::Robot resource to the template.
The AWS::RoboMaker::RobotApplication resource creates an AWS RoboMaker robot.
## SYNTAX
```
New-VSRoboMakerRobot [-LogicalId] <String> [-Fleet <Object>] -Architecture <Object> -GreengrassGroupId <Object>
[-Tags <Object>] [-Na... | Java |
package com.igoldin.qa.school.appmanager;
import com.igoldin.qa.school.model.ContactData;
import com.igoldin.qa.school.model.Contacts;
import com.igoldin.qa.school.model.GroupData;
import com.igoldin.qa.school.model.Groups;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.boot.Me... | Java |
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | Java |
<?php
/**
* User: shenzhe
* Date: 13-6-17
*
*/
namespace ZPHP\Rank;
use ZPHP\Core\Factory as CFactory;
use ZPHP\Core\Config as ZConfig;
class Factory
{
public static function getInstance($adapter = 'Redis', $config = null)
{
if (empty($config)) {
$config = ZConfig::get('rank');
... | Java |
package org.netbeans.modules.manifestsupport.dataobject;
import org.openide.loaders.DataNode;
import org.openide.nodes.Children;
public class ManifestDataNode extends DataNode {
private static final String IMAGE_ICON_BASE = "SET/PATH/TO/ICON/HERE";
public ManifestDataNode(ManifestDataObject obj) {
... | Java |
<?php
session_start();
if(isset($_SESSION['id']))
{
$zoubouboubou=$_SESSION['mail'];
$id_etudiant=$_SESSION['id'];
require_once("includes/connexion.php");
$sql="SELECT id, mail FROM compte_etudiant WHERE id='$id_etudiant'";
$req=mysql_query($sql);
$ligne=mysql_fetch_assoc($req);
if($id_etudiant... | Java |
using Aggregator.Core.Monitoring;
namespace Aggregator.Core.Configuration
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Schema;
#pragma warning disable S101 // Types should be named i... | Java |
# Add-VSEMRClusterKerberosAttributes
## SYNOPSIS
Adds an AWS::EMR::Cluster.KerberosAttributes resource property to the template.
KerberosAttributes is a property of the AWS::EMR::Cluster resource.
KerberosAttributes define the cluster-specific Kerberos configuration when Kerberos authentication is enabled using a secu... | Java |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0-google-v3) on Fri May 13 11:40:11 CDT 2011 -->
<TITLE>
com.google.appengine.api.blobstore.dev
</TITLE>
<META NAME="date" CONTENT="2011-05-13">
<LIN... | Java |
<!DOCTYPE html>
<html>
<head>
<title>PoseNet - Camera Feed Demo</title>
<style>.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
color: black;
}
.footer-text {
max-width: 600px;
text-align: center;
... | Java |
/**
* Copyright [2009-2010] [dennis zhuang(killme2008@gmail.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 la... | Java |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Reflection;
namespace System.Web.OData.Builder
{
/// <summary>
/// Represents the configuration for a complex property of a structural type (an entity type or a co... | Java |
---
copyright:
years: 2015, 2016
---
{:shortdesc: .shortdesc}
{:new_window: target="_blank"}
{:codeblock: .codeblock}
{:screen: .screen}
#Protezione delle applicazioni
{: #securingapps}
*Ultimo aggiornamento: 9 maggio 2016*
{: .last-updated}
Puoi proteggere le tue applicazioni caricando dei ... | Java |
/*
* Copyright (c) 2018 <Carlos Chacón>
* 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 ... | Java |
#!/bin/sh
$SPARK_HOME/bin/spark-submit \
--master "local[*]" \
--deploy-mode client \
--class com.godatadriven.twitter_classifier.HdfsToKafka \
target/scala-2.10/twitter-to-neo4j-assembly-1.0.jar | Java |
package com.gbaldera.yts.fragments;
import android.content.Loader;
import com.gbaldera.yts.loaders.PopularMoviesLoader;
import com.jakewharton.trakt.entities.Movie;
import java.util.List;
public class PopularMoviesFragment extends BaseMovieFragment {
@Override
protected int getLoaderId() {
return B... | Java |
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml;
using System.Xml.XPath;
namespace PlaylistEditor
{
class HTMLHandler
{
public static string XPathHTML(HtmlElement elem)
{
string elemXPath = "";
string children = "";
List<string... | Java |
/*
* Copyright 2003-2019 Dave Griffith, Bas Leijdekkers
*
* 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 applicab... | Java |
/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Yo... | Java |
#!/usr/bin/env ruby
# Encoding: utf-8
#
# Author:: api.davidtorres@gmail.com (David Torres)
#
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
#
# License:: Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ... | Java |
package com.google.api.ads.adwords.jaxws.v201406.video;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import com.google.api.ads.adwords.jaxws.v201406.cm.Money;
/**
*
* Class representing the various summary ... | Java |
var assert = require("assert"),
expect = require('expect.js'),
cda = require("../utils/xml.js").cda,
DOMParser = require('xmldom').DOMParser,
XmlSerializer = require('xmldom').XMLSerializer,
xmlUtils = require("../utils/xml.js").xml,
FunctionalStatusSectionCreator = require("../Model/Functional... | Java |
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*-
# ex: set expandtab softtabstop=4 shiftwidth=4:
#
# Copyright (C) 2008,2009,2010,2011,2012,2013,2014,2018 Contributor
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obt... | Java |
# New-VSPinpointAPNSChannel
## SYNOPSIS
Adds an AWS::Pinpoint::APNSChannel resource to the template.
A *channel* is a type of platform that you can deliver messages to.
You can use the APNs channel to send push notification messages to the Apple Push Notification service (APNs.
Before you can use Amazon Pinpoint to se... | Java |
package com.rodbate.httpserver.nioserver.old;
public interface WriterChannel {
}
| Java |
package com.glaf.base.modules.sys.model;
import java.io.Serializable;
import java.util.Date;
public class Dictory implements Serializable {
private static final long serialVersionUID = 2756737871937885934L;
private long id;
private long typeId;
private String code;
private String name;
private int sort;
privat... | Java |
/**
* AudienceSegmentAudienceSegmentType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201311;
public class AudienceSegmentAudienceSegmentType implements java.io.Serializable {
private java.lang.... | Java |
# Copyright 2018 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 in writing, ... | Java |
## COMISS - Compare Scalar Ordered Single-Precision Floating-Point Values and Set EFLAGS
> Operation
``` slim
RESULT <- OrderedCompare(SRC1[31:0] <> SRC2[31:0]) {
(\* Set EFLAGS \*) CASE (RESULT) OF```
### UNORDERED
### GREATER_THAN
### LESS_THAN
### EQUAL
ESAC;
OF,AF,SF <- 0; }
> Intel C/C++ Compiler Intri... | Java |
<?php
namespace OpenOrchestra\ModelBundle\Repository;
use OpenOrchestra\ModelInterface\Repository\RedirectionRepositoryInterface;
use OpenOrchestra\Repository\AbstractAggregateRepository;
use OpenOrchestra\Pagination\Configuration\PaginateFinderConfiguration;
use Solution\MongoAggregation\Pipeline\Stage;
/**
* Clas... | Java |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['phone']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = $_POST['name'];
$email_address = $_POST['em... | Java |
---
code: true
type: page
title: mCreateOrReplace
description: Creates or replaces documents in kuzzle
---
# MCreateOrReplace
Creates or replaces multiple documents.
Returns a partial error (error code 206) if one or more document creations/replacements fail.
## Arguments
```go
MCreateOrReplace(
index string,
... | Java |
<!-- About Section -->
<section id="about" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>About Me</h2>
<p>I am a Computer Science Undergrad from <span>National Institute of Technology, Silchar.</spa... | Java |
/**
* DeleteCustomTargetingValues.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201308;
/**
* Represents the delete action that can be performed on
* {@link CustomTargetingValue} objec... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.