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 |
|---|---|---|---|---|---|
/**
* 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... | nafae/developer | modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201306/ActivateRateCardCustomizations.java | Java | apache-2.0 | 2,796 |
<?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... | ramanna/elastica | lib/Elastica/Filter/AbstractGeoDistance.php | PHP | apache-2.0 | 5,209 |
<!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... | Shmuma/hadoop | docs/api/org/apache/hadoop/mapred/class-use/TaskTracker.html | HTML | apache-2.0 | 8,472 |
/**
* 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... | fabric8io/kubernetes-client | kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/WatchHTTPManager.java | Java | apache-2.0 | 4,143 |
<?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... | triniti/schemas | build/php/src/manifests/triniti/curator/mixin/has-related-teasers/v1.php | PHP | apache-2.0 | 362 |
<!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: ... | wildfly-swarm/wildfly-swarm-javadocs | 2012.12.0/apidocs/org/wildfly/swarm/config/messaging/activemq/server/HTTPAcceptorSupplier.html | HTML | apache-2.0 | 9,740 |
/**
* 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 ... | GoogleCloudPlatform/iot-smart-home-cloud | firebase/functions/device-cloud/register-device.js | JavaScript | apache-2.0 | 4,394 |
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;
/**
*
*... | nafae/developer | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/cm/CampaignFeedServiceInterface.java | Java | apache-2.0 | 4,521 |
<!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... | anne-france/finalproject | _build/test/logs/ct_run.nonode@nohost.2017-05-05_21.47.49/lib.lasp.lasp_SUITE.logs/run.2017-05-05_21.47.49/lasp_suite.enforce_once_test.html | HTML | apache-2.0 | 10,821 |
/*
* 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... | pdeva/druid | processing/src/main/java/io/druid/query/extraction/MatchingDimExtractionFn.java | Java | apache-2.0 | 2,777 |
/*
* 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... | cs-au-dk/TAJS | src/dk/brics/tajs/analysis/dom/event/EventException.java | Java | apache-2.0 | 2,982 |
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... | blessonkavala/cp | cashportal/src/main/java/com/svcet/cashportal/service/UserRoleService.java | Java | apache-2.0 | 391 |
# 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... | scrthq/Vaporshell | docs/docs/glossary/New-VSRoboMakerRobot.md | Markdown | apache-2.0 | 9,910 |
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... | igoldin74/java_for_testers | addressbook_tests/src/test/java/com/igoldin/qa/school/appmanager/DbHelper.java | Java | apache-2.0 | 1,614 |
# 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... | berrange/nova | nova/tests/console/test_websocketproxy.py | Python | apache-2.0 | 4,576 |
<?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');
... | shenzhe/zphp | ZPHP/Rank/Factory.php | PHP | apache-2.0 | 559 |
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) {
... | bernhardhuber/netbeansplugins | nb-manifest-support/zip/ManifestSupport/src/org/netbeans/modules/manifestsupport/dataobject/ManifestDataNode.java | Java | apache-2.0 | 805 |
<?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... | r0mdau/espelette | effUser.php | PHP | apache-2.0 | 880 |
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... | tfsaggregator/tfsaggregator | Aggregator.Core/Aggregator.Core/Configuration/TFSAggregatorSettings.cs | C# | apache-2.0 | 3,073 |
# 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... | scrthq/Vaporshell | docs/docs/glossary/Add-VSEMRClusterKerberosAttributes.md | Markdown | apache-2.0 | 4,948 |
<!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... | BobEvans/omgpaco | tools/appengine-java-sdk-1.5.0.1/docs/testing/javadoc/com/google/appengine/api/blobstore/dev/package-frame.html | HTML | apache-2.0 | 2,154 |
<!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;
... | googleinterns/pose-playground | docs/index.html | HTML | apache-2.0 | 4,667 |
/**
* 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... | killme2008/xmemcached | src/main/java/net/rubyeye/xmemcached/command/text/TextGetOneCommand.java | Java | apache-2.0 | 2,662 |
// 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... | Terminator-Aaron/Katana | OData/src/System.Web.OData/OData/Builder/ComplexPropertyConfiguration.cs | C# | apache-2.0 | 1,872 |
---
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 ... | patsmith-ibm/docs | manageapps/nl/it/secapps.md | Markdown | apache-2.0 | 8,670 |
/*
* 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 ... | aliascc/Arenal-Engine | CodeSolution/Code/AEngine_GameComponents/Game Objects Debug/GameObjectsDebugDefs.h | C | apache-2.0 | 3,699 |
#!/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 | rweverwijk/twitter-to-neo4j | hdfs_to_kafka.sh | Shell | apache-2.0 | 204 |
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... | gbaldera/Yts | app/src/main/java/com/gbaldera/yts/fragments/PopularMoviesFragment.java | Java | apache-2.0 | 495 |
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... | jeborgesm/PlaylistEditor | PlaylistEditor/Objects/HTMLHandler.cs | C# | apache-2.0 | 9,234 |
/*
* 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... | leafclick/intellij-community | plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/javadoc/MissingDeprecatedAnnotationInspection.java | Java | apache-2.0 | 8,667 |
/***************************************************************
*
* 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... | htcondor/htcondor | src/condor_utils/my_hostname.h | C | apache-2.0 | 1,965 |
#!/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.
# ... | pngarland/google-api-ads-ruby | dfp_api/examples/v201405/contact_service/get_uninvited_contacts.rb | Ruby | apache-2.0 | 2,965 |
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 ... | nafae/developer | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/video/SummaryBudgets.java | Java | apache-2.0 | 3,027 |
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... | lantanagroup/SEE-Tool | test/functionalStatus.js | JavaScript | apache-2.0 | 2,525 |
# -*- 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... | quattor/aquilon | lib/aquilon/worker/commands/add_rack_bunker.py | Python | apache-2.0 | 1,006 |
# 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... | scrthq/Vaporshell | docs/docs/glossary/New-VSPinpointAPNSChannel.md | Markdown | apache-2.0 | 12,932 |
package com.rodbate.httpserver.nioserver.old;
public interface WriterChannel {
}
| rodbate/httpserver | src/main/java/com/rodbate/httpserver/nioserver/old/WriterChannel.java | Java | apache-2.0 | 86 |
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... | jior/glaf-gac | glaf-base/src/main/java/com/glaf/base/modules/sys/model/Dictory.java | Java | apache-2.0 | 1,856 |
/**
* 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.... | nafae/developer | modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201311/AudienceSegmentAudienceSegmentType.java | Java | apache-2.0 | 3,381 |
# 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, ... | openvswitch/ovn-scale-test | rally_ovs/plugins/ovs/ovnclients.py | Python | apache-2.0 | 5,955 |
## 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... | Rami114/x86.help | includes/instruction/_comiss.md | Markdown | apache-2.0 | 3,137 |
<?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... | open-orchestra/open-orchestra-model-bundle | ModelBundle/Repository/RedirectionRepository.php | PHP | apache-2.0 | 4,860 |
<?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... | seanwash/sharay.com | mail/contact_me.php | PHP | apache-2.0 | 1,091 |
---
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,
... | kuzzleio/sdk-go | .doc/3/controllers/document/mCreateOrReplace/index.md | Markdown | apache-2.0 | 2,833 |
<!-- 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... | jamesBondu/test | _includes/about.html | HTML | apache-2.0 | 1,015 |
/**
* 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... | nafae/developer | modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201308/DeleteCustomTargetingValues.java | Java | apache-2.0 | 2,806 |
'use strict';
goog.provide('Blockly.JavaScript.serial');
goog.require('Blockly.JavaScript');
Blockly.JavaScript.serial_print = function() {
var content = Blockly.JavaScript.valueToCode(this, 'CONTENT', Blockly.JavaScript.ORDER_ATOMIC) || '\"\"'
var code = 'serial.writeString(\'\' + '+content+');\n';
return code... | xbed/Mixly_Arduino | mixly_arduino/blockly/generators/microbit_js/serial.js | JavaScript | apache-2.0 | 2,128 |
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.cloud.spanner_v1.proto import (
result_set_pb2 as google_dot_cloud_dot_spanner__v1_dot_proto_dot_result__set__pb2,
)
from google.cloud.spanner_v1.proto import (
spanner_pb2 as google_dot_cloud_dot_spanner__v1_dot_prot... | tseaver/google-cloud-python | spanner/google/cloud/spanner_v1/proto/spanner_pb2_grpc.py | Python | apache-2.0 | 22,552 |
package com.comps.util;
import com.google.gson.Gson;
public class GsonManager {
private static Gson instance;
public static Gson getInstance(){
if (instance == null){
instance = new Gson();
}
return instance;
}
}
| diogocs1/comps | mobile/src/com/comps/util/GsonManager.java | Java | apache-2.0 | 231 |
/**
* Blueprint API Configuration
* (sails.config.blueprints)
*
* These settings are for the global configuration of blueprint routes and
* request options (which impact the behavior of blueprint actions).
*
* You may also override any of these settings on a per-controller basis
* by defining a '_config' key in... | kmangutov/leaguemontages | config/blueprints.js | JavaScript | apache-2.0 | 9,115 |
-------------------------------------------------------------------------------
-- budget info
-------------------------------------------------------------------------------
CREATE TABLE BUDGET_INFO(
ID BIGINT NOT NULL,
NAME VARCHAR(200),
CREATE_TIME DATETIME,
STATUS VARCHAR(50),
TYPE VARCHAR(50),
MONE... | topie/topie-oa | src/main/resources/dbmigrate/mysql/budget/V0_0_0_1__budget_info.sql | SQL | apache-2.0 | 518 |
import { IInjectable } from "../common/common";
import { TypedMap } from "../common/common";
import { StateProvider } from "./stateProvider";
import { ResolveContext } from "../resolve/resolveContext";
import * as angular from 'angular';
import IScope = angular.IScope;
/**
* Annotates a controller expression (m... | sztymelq/sztymelscy-webpack | node_modules/angular-ui-router/release/ng1/services.d.ts | TypeScript | apache-2.0 | 1,103 |
// This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | sosy-lab/java-smt | src/org/sosy_lab/java_smt/test/FormulaManagerTest.java | Java | apache-2.0 | 14,364 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.09.17 at 0... | OpenSourceConsulting/athena-chameleon | src/main/java/com/athena/chameleon/engine/entity/xml/application/jeus/v5_0/VendorType.java | Java | apache-2.0 | 1,969 |
#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
while [ -h ${SOURCE} ];do
DIR=$( cd -P $( dirname ${SOURCE} ) && pwd )
SOURCE="$(readlink ${SOURCE})"
[[ ${SOURCE} != /* ]] && SOURCE=${DIR}/${SOURCE}
done
BASEDIR="$( cd -P $( dirname ${SOURCE} ) && pwd )"
cd ${BASEDIR}
docker build -t zkpregistry.com:5043/alpine-tomcat:jr... | blackfishdel/paas | docker-script/docker-alpine3.4-jre7-tomcat7/build.sh | Shell | apache-2.0 | 367 |
package it.unibz.inf.ontop.renderer;
/*
* #%L
* ontop-obdalib-core
* %%
* Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano
* %%
* 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 a... | srapisarda/ontop | obdalib-core/src/main/java/it/unibz/inf/ontop/renderer/TargetQueryRenderer.java | Java | apache-2.0 | 9,391 |
#define SQLITE_ASCII
#define SQLITE_DISABLE_LFS
#define SQLITE_ENABLE_OVERSIZE_CELL_CHECK
#define SQLITE_MUTEX_OMIT
#define SQLITE_OMIT_AUTHORIZATION
#define SQLITE_OMIT_DEPRECATED
#define SQLITE_OMIT_GET_TABLE
#define SQLITE_OMIT_INCRBLOB
#define SQLITE_OMIT_LOOKASIDE
#define SQLITE_OMIT_SHARED_CACHE
#define SQLITE_OM... | hsu1994/Terminator | Client/Assets/Scripts/Air2000/Utility/Sqlite/Sqlite3/source/src/attach_c.cs | C# | apache-2.0 | 19,135 |
/*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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 i... | DenverM80/ds3_java_sdk | ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/ModifyUserSpectraS3ResponseParser.java | Java | apache-2.0 | 2,377 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2016 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.m.MessagePopover.
sap.ui.define(["jquery.sap.global", "./ResponsivePopover", "./Button", "./Toolbar", "./Tool... | pro100den/openui5-bundle | Resources/public/sap/m/MessagePopover-dbg.js | JavaScript | apache-2.0 | 37,700 |
using BdlIBMS.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BdlIBMS.Repositories
{
public interface IUserRepository : IRepository<string, User>
{
User FindByUserNameAndPassword(string userName, string password);
... | chengliangkaka/PazhouBanghua_BMS | BdlIBMS/Repositories/IUserRepository.cs | C# | apache-2.0 | 328 |
<div class="table-overflow overflow">
<table class="efor-table-logs mdl-data-table mdl-shadow--2dp">
<thead>
<tr>
<th class="mdl-data-table__cell--non-numeric">Nombre</th>
<th class="mdl-data-table__cell--non-numeric" width="280px">Email</th>
<th c... | Eforcers/python-gae-template | static/html/partials/user_list.html | HTML | apache-2.0 | 1,560 |
package com.github.particlesystem.modifiers;
import com.github.particlesystem.Particle;
public interface ParticleModifier {
/**
* modifies the specific value of a particle given the current miliseconds
*
* @param particle
* @param miliseconds
*/
void apply(Particle particle, long mi... | rohitiskul/ParticleSystem | particlesystem/src/main/java/com/github/particlesystem/modifiers/ParticleModifier.java | Java | apache-2.0 | 335 |
package com.ftfl.icare;
import java.util.List;
import com.ftfl.icare.adapter.CustomAppointmentAdapter;
import com.ftfl.icare.adapter.CustomDoctorAdapter;
import com.ftfl.icare.helper.AppointmentDataSource;
import com.ftfl.icare.helper.DoctorProfileDataSource;
import com.ftfl.icare.model.Appointment;
import com.ftfl.i... | FTFL02-ANDROID/julkarnine | ICare/src/com/ftfl/icare/FragmentAppointmentList.java | Java | apache-2.0 | 3,803 |
---
title: IDEA
date: 2017-05-27 10:50:00
tags: idea
categories: tools
---
## [下载](https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+EAP)
- [Windows](https://download.jetbrains.com/idea/ideaIU-14.1.7.zip)
- [OS X](https://download.jetbrains.com/idea/ideaIU-14.1.7.dmg)
- [Linux](https://download.jetbrains.com/... | lugavin/blog | source/_posts/tools/idea.md | Markdown | apache-2.0 | 1,866 |
package com.ymsino.water.service.manager.manager;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* This class was generated by the JAX-WS RI.... | xcjava/ymWaterWeb | manager_ws_client/com/ymsino/water/service/manager/manager/ManagerService.java | Java | apache-2.0 | 6,070 |
# -*- coding: utf-8 -*-
import allure
from selenium.webdriver.common.by import By
from .base import BasePage
from .elements import SimpleInput, SimpleText
from .blocks.nav import NavBlock
class BrowseMoviePageLocators(object):
"""Локаторы страницы просмотра информации о фильме"""
TITLE_LOCATOR = (By.CSS_SE... | adv-tsk/Course-Se-Python | php4dvd/pages/movie.py | Python | apache-2.0 | 5,067 |
Contextual Image Delivery
=============================
This is an optional module for the SDL Digital Experience Accelerator Java web application. It contains an implementation
of interface `MediaHelper` that uses Tridion Contextual Image Delivery (CID) to resize images on the server side.
Note that in order to use ... | sdl/dxa-modules | webapp-java/dxa-module-cid/README.md | Markdown | apache-2.0 | 1,451 |
//
// DZYSquareCell.h
// budejie
//
// Created by dzy on 16/1/7.
// Copyright © 2016年 董震宇. All rights reserved.
//
#import <UIKit/UIKit.h>
@class DZYSquareModel;
@interface DZYSquareCell : UICollectionViewCell
/** 方块模型 */
@property (nonatomic, strong) DZYSquareModel *squareModel;
@end
| dongzhenyu/CoderBS | budejie/budejie/Classes/Me(我)/View/DZYSquareCell.h | C | apache-2.0 | 310 |
package app.yweather.com.yweather.util;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
import android.preference.PreferenceManager;
import org.json.JSONArray;
import org.json.JSONObject;
import java.text.SimpleDateFormat;
import... | llxyhuang/YWeather | app/src/main/java/app/yweather/com/yweather/util/Utility.java | Java | apache-2.0 | 2,845 |
package pl.touk.nussknacker.engine.flink.util.timestamp
import com.github.ghik.silencer.silent
import org.apache.flink.streaming.api.functions.AssignerWithPeriodicWatermarks
import org.apache.flink.streaming.api.watermark.Watermark
import scala.annotation.nowarn
/**
* It is a copy-paste of BoundedOutOfOrdernessTim... | TouK/nussknacker | engine/flink/components-utils/src/main/scala/pl/touk/nussknacker/engine/flink/util/timestamp/BoundedOutOfOrderPreviousElementAssigner.scala | Scala | apache-2.0 | 1,340 |
/*
* Copyright (C) 2017 grandcentrix GmbH
* 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... | grandcentrix/ThirtyInch | thirtyinch/src/main/java/net/grandcentrix/thirtyinch/TiActivity.java | Java | apache-2.0 | 7,692 |
/*jslint browser: true*/
/*global $, jQuery, alert*/
(function ($) {
"use strict";
$(document).ready(function () {
$("input[name=dob]").datepicker({
dateFormat: 'yy-mm-dd',
inline: true,
showOtherMonths: true
});
});
$(document).ready(functi... | manoj2509/Sensa | js/logIn.js | JavaScript | apache-2.0 | 1,018 |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V. licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// Code generated from specification version 7.7.0: DO NOT EDIT
package esapi
import (
"context"
"io"
"ne... | control-center/serviced | vendor/github.com/elastic/go-elasticsearch/v7/esapi/api.xpack.autoscaling.put_autoscaling_policy.go | GO | apache-2.0 | 4,902 |
"""
Copyright 2015-2018 IBM
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
di... | ibm-messaging/message-hub-samples | kafka-python-console-sample/producertask.py | Python | apache-2.0 | 1,944 |
/*
* Copyright 2012 International Business Machines Corp.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You ... | papegaaij/jsr-352 | JSR352.JobXML.Model/src/main/java/com/ibm/jbatch/jsl/util/JSLValidationEventHandler.java | Java | apache-2.0 | 2,107 |
---
layout: post
title: Underperformance of Lenovo ThinkBook Intel i7-8565U with Windows 10 pro
date: 2021-07-07
type: post
published: true
status: publish
categories: [travel]
tags:
author:
login: MiguelGamboa
email:
display_name: Miguel Gamboa
---
The stack Lenovo-Intel-Win10 is a completely rubbish for r... | fmcarvalho/fmcarvalho.github.io | _posts/2021-07-07-lenovo-thinkbook-rubbish.markdown | Markdown | apache-2.0 | 805 |
# -*- coding: utf-8 -*-
import unittest
import pykintone
from pykintone.model import kintoneModel
import tests.envs as envs
class TestAppModelSimple(kintoneModel):
def __init__(self):
super(TestAppModelSimple, self).__init__()
self.my_key = ""
self.stringField = ""
class TestComment(uni... | icoxfog417/pykintone | tests/test_comment.py | Python | apache-2.0 | 1,667 |
package com.iclockwork.percy.wechat4j;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
/**
* HelloWorldTest
*
* @author: fengwang
* @date: 2016/3/9 13:40
* @version: 1.0
* @since: JDK 1.7
*/
public class HelloWorldTest {
/**
* ... | iclockwork/percy | wechat4j/src/test/java/com/iclockwork/percy/wechat4j/HelloWorldTest.java | Java | apache-2.0 | 646 |
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | kargakis/test-infra | prow/plugins/buildifier/buildifier.go | GO | apache-2.0 | 6,914 |
#!/bin/bash
# Copyright 2016 Nitor Creations Oy
#
# 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... | NitorCreations/nitor-deploy-tools | n_utils/includes/deploy-serverless.sh | Shell | apache-2.0 | 3,341 |
package com.scicrop.se.commons.utils;
import java.io.IOException;
import org.apache.commons.logging.Log;
import org.apache.log4j.ConsoleAppender;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.RollingFileAppender;
public class LogHelper... | Scicrop/sentinel-extractor | source-code/sentinel-extractor-commons/src/com/scicrop/se/commons/utils/LogHelper.java | Java | apache-2.0 | 1,743 |
function Add-VSWAFv2RuleGroupCountAction {
<#
.SYNOPSIS
Adds an AWS::WAFv2::RuleGroup.CountAction resource property to the template.
.DESCRIPTION
Adds an AWS::WAFv2::RuleGroup.CountAction resource property to the template.
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/la... | scrthq/Vaporshell | VaporShell/Public/Resource Property Types/Add-VSWAFv2RuleGroupCountAction.ps1 | PowerShell | apache-2.0 | 1,332 |
// Copyright 2015 Thomas Trapp
//
// 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... | thomastrapp/hext | htmlext/htmlext/File.h | C | apache-2.0 | 1,104 |
# -*- coding: utf-8 -*-
'''
The Salt Key backend API and interface used by the CLI. The Key class can be
used to manage salt keys directly without interfacing with the CLI.
'''
# Import python libs
from __future__ import absolute_import, print_function
import os
import copy
import json
import stat
import shutil
import... | smallyear/linuxLearn | salt/salt/key.py | Python | apache-2.0 | 48,988 |
/* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'chapter4-components',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.... | ubuntuvim/my_emberjs_code | chapter4_components/config/environment.js | JavaScript | apache-2.0 | 1,376 |
require_relative '../lib/rails_stub'
require_relative 'lib/pb_core_ingester'
require_relative '../lib/has_logger'
require 'rake'
require_relative '../app/models/collection'
require_relative '../app/models/exhibit'
class Exception
def short
message + "\n" + backtrace[0..2].join("\n")
end
end
class ParamsError... | WGBH/openvault3 | scripts/ingest.rb | Ruby | apache-2.0 | 5,618 |
Python 机器学习的必备技巧
======
> 尝试使用 Python 掌握机器学习、人工智能和深度学习。

想要入门机器学习并不难。除了<ruby>大规模网络公开课<rt>Massive Open Online Courses</rt></ruby>(MOOCs)之外,还有很多其它优秀的免费资源。下面我分享一些我觉得比较有用的方法。
1. 阅... | Flowsnow/TranslateProject | translated/tech/20181029 Machine learning with Python- Essential hacks and tricks.md | Markdown | apache-2.0 | 9,090 |
/*
* 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 ... | salyh/jm14specsvn | src/main/java/javax/mail/search/AddressTerm.java | Java | apache-2.0 | 2,071 |
// ==UserScript==
// @name tabtweet
// @namespace http://chiptheglasses.com
// @description add a classic RT button to tweets
// @include http://*twitter.com*
// ==/UserScript==
// contains jQuery 1.4.1; It is patched.
/*!
* jQuery JavaScript Library v1.4.1
* http://jquery.com/
*
* Copyright 2010, John Resig
* D... | nathanielksmith/classicrt | grease/tabtweet.user.js | JavaScript | artistic-2.0 | 71,750 |
# Shamelessly stolen from http://github.com/masak/yapsi/blob/master/Makefile
# With alpha replaced with perl6 & SOURCES changed to my sources.
PERL6 = perl6
SOURCES=lib/SIC/AST.pm lib/SIC/Grammar.pm \
lib/SIC/Actions.pm lib/SIC/Compiler.pm
PIRS=$(SOURCES:.pm=.pir)
all: $(PIRS)
%.pir: %.pm
env PERL6LIB=`pwd`/lib ... | ekiru/Bennu | Makefile | Makefile | artistic-2.0 | 451 |
# GitURL
GitURL represents something that can be passed to `git clone`.
## clone
>method clone([Str](./Str.md) **:$to** ⟶ [File](./File.md))
Calls `git clone` on the the url and returns the path to the cloned directory.
```perl6
GitURL<https://github.com/spitsh/spitsh.git/>.clone.cd;
say ${ $*git status };
```
|Par... | spitsh/spitsh | doc/classes/GitURL.md | Markdown | artistic-2.0 | 653 |
// (c) Jean Fabre, 2011-2013 All rights reserved.
// http://www.fabrejean.net
// contact: http://www.fabrejean.net/contact.htm
//
// Version Alpha 0.92
// INSTRUCTIONS
// Drop a PlayMakerArrayList script onto a GameObject, and define a unique name for reference if several PlayMakerArrayList coexists on that GameObjec... | maxbottega/wheelie | Assets/PlayMaker ArrayMaker/Actions/ArrayList/ArrayListSet.cs | C# | artistic-2.0 | 2,041 |
#!/bin/sh
#------------------------------------------------------------------------------
#
# MyRPM - Rpm Utilities
# Copyright (c) Jean-Marie RENOUARD 2014 - LightPath
# Contact : Jean-Marie Renouard <jmrenouard at gmail.com>
#
# This program is open source, licensed under the Artistic Licence v2.0.
#
# Artistic Licen... | jmrenouard/jmxclient | jmxClient.sh | Shell | artistic-2.0 | 1,345 |
<!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_292) on Fri Jul 02 03:47:37 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.destroystokyo.paper (Gl... | GlowstoneMC/glowstonemc.github.io | content/jd/glowkit/1.12/com/destroystokyo/paper/package-summary.html | HTML | artistic-2.0 | 6,298 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Transforms</title>
<style>
#threed-example {
margin: 50px 20px;
-webkit-transform: rotateZ(5deg);
-moz-transform: rotateZ(5deg);
-o-transform: rotateZ(5deg);
transform: rotateZ(5deg);
-webkit-transition: -webkit-transform 2s ease-in-o... | kenu/oksample | html5/WebContent/css3/transform.html | HTML | artistic-2.0 | 1,465 |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>De Mulierum Subtili Deceptione</title>
</head>
<body>
<!--XXVII De Mulierum Subtili Deceptione-->
<h4>The Subtle Deciption of a Woman</h4>
<p>
<!--
Darius regnavit prudens valde, qui ... | alijc/Latin | medlat/028-mulierum-deceptione.html | HTML | artistic-2.0 | 16,268 |
// Convert DMD CodeView debug information to PDB files
// Copyright (c) 2009-2010 by Rainer Schuetze, All Rights Reserved
//
// License for redistribution is given by the Artistic License 2.0
// see file LICENSE for further details
#include "mspdb.h"
#include <windows.h>
#pragma comment(lib, "rpcrt4.lib")
... | MartinNowak/cv2pdb | src/mspdb.cpp | C++ | artistic-2.0 | 2,441 |
package TearDrop::Command::import_blast;
use 5.12.0;
use Mojo::Base 'Mojolicious::Command';
use Carp;
use Try::Tiny;
use TearDrop::Task::ImportBLAST;
use Getopt::Long qw(GetOptionsFromArray :config no_auto_abbrev no_ignore_case);
has description => 'Import BLAST results (currently only custom format)';
has usage =... | h3kker/tearDrop | lib/TearDrop/Command/import_blast.pm | Perl | artistic-2.0 | 2,639 |
public class Lab4_2
{
public static void main(String[] arg)
{
System.out.print(" * |");
for(int x=1;x<=12;x++) {
if (x<10) System.out.print(' ');
if (x<100) System.out.print(' ');
System.out.print(x+" ");
}
System.out.println();
for(int x=1;x<=21;x++) {
if (x<10) System.... | Seven-and-Nine/example-code-for-nine | Java/normal code/Java I/Lab4/Lab4_2.java | Java | artistic-2.0 | 1,401 |
var HLSP = {
/*
set squareness to 0 for a flat land
*/
// intensità colore land audioreattivab più bassa
mizu: {
cameraPositionY: 10,
seaLevel: 0,
displayText: '<b>CHAPTER ONE, MIZU</b><br/><i>TO BE TRAPPED INTO THE MORNING UNDERTOW</i>',
speed: 10,
modelsParams... | stmaccarelli/HYPERLAND | src/sceneParams_0.js | JavaScript | artistic-2.0 | 9,148 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.