repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
Esri/arcobjects-sdk-community-samples
Net/Framework/RecentFilesCommands/CSharp/RecentFilesRegistryHelper.cs
1930
/* Copyright 2019 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
istopwg/website
blog/w3c-workshop-september-2013.html
4481
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=9"> <title>W3C Workshop on Publishing and the Open Web Platform - Printer Working Group</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width"> <link...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Solanales/Solanaceae/Solanum/Solanum lasiocarpum/ Syn. Solanum ferox lasiocarpum/README.md
200
# Solanum ferox var. lasiocarpum (Dunal) Miq. VARIETY #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
euniceschoi/euniceschoi
blog/arrays-hashes.html
10680
<!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="description" content=""> <meta name="author" content=""> <title>Eunice Choi - About</title> ...
apache-2.0
rsertelon/habitat
components/core/src/os/signals.rs
1060
//! Contains the cross-platform signal behavior. // If signal handling ever becomes part of the rust stdlib, consider removing // our homespun implementation. Check for status of that here: // https://github.com/rust-lang/rfcs/issues/1368 use std::sync::atomic::{AtomicBool, Ordering}; #[cfg(un...
apache-2.0
greghogan/flink
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/plan/stream/table/PythonAggregateTest.scala
4608
/* * 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 ...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Sophora/Sophora tonkinensis/ Syn. Cephalostigmaton tonkinense/README.md
203
# Cephalostigmaton tonkinense (Gagnep.) Yakovlev SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
GoogleCloudPlatform/stackdriver-reverse-proxy
cmd/stackdriver-reverse-proxy/main.go
3169
// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DescribeInventoryDeletionsRequestProtocolMarshaller.java
2897
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
UW-Madison-DoIT/widget-creator
src/main/webapp/my-app/navigation/drawer.html
1221
<md-menu-item> <md-button href="/" ng-click="vm.closeMainMenu();" layout="row" layout-align="start center"> <span> <md-icon>home</md-icon> </span> <span>Widget creator home</span> </md-button> </md-menu-item> <md-menu-item> <md-button href="/about" ng-click="vm.closeMainMenu();" layout="row" lay...
apache-2.0
asakusafw/asakusafw
core-project/asakusa-runtime/src/main/java/com/asakusafw/runtime/flow/ListBuffer.java
3339
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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...
apache-2.0
wanhao/IRIndex
docs/apidocs/org/apache/hadoop/hbase/master/metrics/package-use.html
8449
<!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_45) on Fri Jan 10 21:37:07 UTC 2014 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Package org.apache.hadoop...
apache-2.0
wildfly-swarm/wildfly-swarm-javadocs
2.3.1.Final-SNAPSHOT/apidocs/org/wildfly/swarm/jose/class-use/VerificationOutput.html
10621
<!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 Sat Mar 16 04:11:58 MST 2019 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.wildfly.s...
apache-2.0
metrilyx/metrilyx-web
app/timeselector/time-selector.html
1445
<table class="table" style="margin-bottom:0px;border:none;" time-selector ng-switch="timeDimension.activeType"> <tr ng-switch-when="Absolute"> <td style="border-left: 1px solid #ccc;padding:0;vertical-align:middle"> <div style="border-left: 1px solid #fff"> <time-range-selector><...
apache-2.0
yannicl/fba
README.md
8
fba ===
apache-2.0
luoqii/osgi_android_demos_from_network
apkplug/apkplugDemo/bundle/BundleDemoApkplugService/src/net/tsz/afinal/bitmap/core/BaseMemoryCacheImpl.java
1471
/** * Copyright (c) 2012-2013, Michael Yang 杨福海 (www.yangfuhai.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 * * ...
apache-2.0
renmaoting/maze-storm
maze storm/Assets/script/level7/monkey7.cs
4277
using UnityEngine; using System.Collections; public class monkey7 : MonoBehaviour { public float speed = 100f;//英雄速度 public Vector2 current_position; Animator animator; public Grid grid = new Grid(14,10); public AStar astar; public float time = 0; public bool finish = false;//是否已经完成 public bool walk = false...
apache-2.0
livingvirus/jphp
jphp-swing-ext/src/org/develnext/jphp/swing/loader/support/propertyreaders/JToolBarPropertyReaders.java
1566
package org.develnext.jphp.swing.loader.support.propertyreaders; import org.develnext.jphp.swing.loader.support.PropertyReader; import org.develnext.jphp.swing.loader.support.Value; import javax.swing.*; import java.util.HashMap; import java.util.Map; public class JToolBarPropertyReaders extends PropertyReaders<JToo...
apache-2.0
Orange-OpenSource/matos-profiles
matos-android/src/main/java/android/nfc/NfcEvent.java
842
package android.nfc; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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.apac...
apache-2.0
LiuRanchao/LiuRanchao.github.io
_posts/《敏捷技能修炼》.md
8816
--- layout: post title: 《敏捷技能修炼》 tags: - 敏捷开发 categories: Book description: 《敏捷技能修炼》 --- ![](http://ww2.sinaimg.cn/mw690/5ecfffbajw1f6inb9cn9yj208x0biq37.jpg) # 第一部分 最关键的小舵板 ## 第1章 意图导向编程 从上至下的一步步实现,先声明好方法,一步步为了最重编译通过而实现。 **优点:** - 更加内聚(职责单一) - 更加可读和清晰 - 更易于调试 - 更易于重构和优化,所以只做最少设计,满足当前需要 - 更易于单元测试 - 模式更容易应用到代码中 - ...
apache-2.0
OHDSI/Circe
js/modules/cohortdefinitionviewer/main.js
2914
define(function (require, exports) { var ko = require('knockout') var expressionViewer = require('./components/CohortExpressionViewer'); ko.components.register('cohort-expression-viewer', expressionViewer); var criteriaGroup = require('./components/CriteriaGroup'); ko.components.register('criteria-group-view...
apache-2.0
zinic/jliocc
src/main/java/net/jps/lioc/context/ContextReferenceAliaser.java
860
/* * Copyright 2010 John Hopper * * 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 writ...
apache-2.0
Guitjerry/schoolApp
src/com/sushe/service/SchoolService.java
296
package com.sushe.service; import com.sushe.entity.School; import java.util.List; /** * Created by jiangbin on 15/4/23. */ public interface SchoolService { /** * 查询学校 * @return */ public List<School> selectAll(); public School selectByName(String name); }
apache-2.0
wspeirs/sop4j-base
src/main/java/com/sop4j/base/google/common/util/concurrent/FutureCallback.java
1509
/* * Copyright (C) 2011 The Guava 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 agre...
apache-2.0
liosha2007/temporary-groupdocs-java-sdk
src/main/java/com/groupdocs/sdk/common/FileStream.java
2541
/** * Copyright 2012 GroupDocs. * * 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...
apache-2.0
nischalsheth/contrail-controller
src/opserver/alarmgen_cfg.py
11029
# # Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. # import argparse, os, ConfigParser, sys, re from pysandesh.sandesh_base import * from pysandesh.gen_py.sandesh.ttypes import SandeshLevel from sandesh_common.vns.constants import SERVICE_ALARM_GENERATOR, \ ServicesDefaultConfigurationFiles class ...
apache-2.0
carnegiespeech/translations
az/book.php
4904
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
apache-2.0
lihongzheshuai/shurnim-storage
src/main/java/com/coderli/shurnim/storage/plugin/PluginResource.java
648
package com.coderli.shurnim.storage.plugin; import java.io.File; /** * 插件资源<br> * 定义了插件的描述信息以及对应的处理器信息(例如: 文件解析器。{@code PluginParser}) * * @author OneCoder * @date 2014年4月20日 下午8:53:17 * @website http://www.coderli.com */ public interface PluginResource { /** * 获取对应的配置文件解析器 * * @return * @author On...
apache-2.0
fnproject/fn
api/datastore/sql/migrations/migs.go
256
package migrations import ( "github.com/fnproject/fn/api/datastore/sql/migratex" ) // Migrations is the list of fn specific sql migrations to run var Migrations []migratex.Migration func vfunc(v int64) func() int64 { return func() int64 { return v } }
apache-2.0
renyh1013/dp2
dp2LibraryXE/LibraryHost.cs
17502
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; // using System.ServiceProcess; using System.Text; using System.Threading; using System.Security.Cryptography.X509Certificates; using System.ServiceModel; using System.ServiceMod...
apache-2.0
NLeSC/Xenon
src/main/java/nl/esciencecenter/xenon/filesystems/FileSystem.java
63280
/* * Copyright 2013 Netherlands eScience Center * * 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 ...
apache-2.0
lejandro83/AdMint
Publicidad.html
2963
<!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="description" content=""> <meta name="author" content=""> <title>AdMint</title> <!-- Bootst...
apache-2.0
wesleyan/chef-cookbooks
cookbooks/launch_association/metadata.rb
311
maintainer 'Wesleyan University' maintainer_email 'software@wesleyan.edu' license 'Apache 2.0' description 'Manages file type associations' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.2.0' depends 'common' depends 'homebrew'
apache-2.0
tsvetie/nativescript-cli
resources/vr/Assets/NVR/Interfaces/Elements/IElement.cs
278
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Assets.NVR.Interfaces.Elements { public interface IElement : IUnit { void SetColor(string color); void SetPosition(float pos); } }
apache-2.0
jmarkos/protostream
core/src/main/java/org/infinispan/protostream/UnknownFieldSetHandler.java
445
package org.infinispan.protostream; /** * An interface to be implemented by marshaller objects of type {@link MessageMarshaller}) that are able to handle * unknown fields by storing them into an {@link UnknownFieldSet}. * * @author anistor@redhat.com * @since 3.0 */ public interface UnknownFieldSetHandler<T> { ...
apache-2.0
chicofilho/fst
events/mjun/2018/eleclerc-pont-labbe-junior-pro-.html
37196
<!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>Fantasy Surfing Tips - Stats from mjun E.Leclerc Pont-l&amp;apos;Abbe Junior Pro La Torche 2018 </title> ...
apache-2.0
consulo/consulo-csharp
csharp-impl/src/test/resources/resolve/other/Issue424.cs
306
public struct SomeValue { public static SomeValue operator-(SomeValue someValue, SomeValue someValue2) { return new SomeValue(); } } public class Program { public static void Main() { SomeValue? nullable = new SomeValue(); SomeValue someValue = new SomeValue(); nullable -= someValue; } }
apache-2.0
dcarda/aba.route.validator
target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_13b_testAbaNumberCheck_28522_bad_8yp.html
10992
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" /> <link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Cornales/Hydrangeaceae/Philadelphus/Philadelphus cinereus/README.md
183
# Philadelphus cinereus Hand.-Mazz. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
apache-2.0
BenjaminRepingon/fractal
includes/mandelbrot.h
1505
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* mandelbrot.h :+: :+: :+: ...
apache-2.0
FasterXML/jackson-annotations
src/main/java/com/fasterxml/jackson/annotation/JsonAlias.java
1130
package com.fasterxml.jackson.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotation that can be used to define one or more alternative names for * a property, accepted during deser...
apache-2.0
lab702-flyme/sweo_android
app/src/main/java/com/example/linxj/tool/RequestListener.java
787
package com.example.linxj.tool; public interface RequestListener { public static final int EVENT_BASE = 0x100; /** * 没有网络的信息提示 * */ public static final int EVENT_NOT_NETWORD = EVENT_BASE + 1; /** * 网络异常的信息提示 * */ public static final int EVENT_NETWORD_EEEOR = EVENT_...
apache-2.0
jlinn/riot-api-java
src/main/java/net/joelinn/riot/staticdata/dto/RuneType.java
173
package net.joelinn.riot.staticdata.dto; /** * Joe Linn * 2/1/14 */ public class RuneType { public boolean isrune; public String tier; public String type; }
apache-2.0
grogdj/codename
codename-html5/app/views/messages.html
11362
<div class="user-section-title"> <div class="container"> <h2>My Messages</h2> </div> </div> <div ng-if="chatStatus === 'loading'"> <div class="container"> <div class="row"> <div class="col-md-12 text-center"> <div class="loader"> <i class="fa fa-...
apache-2.0
mkfeuhrer/TPO-MNNIT
app/src/main/java/com/example/mohit/tpomnnit/tpo/TpoHome.java
15187
package com.example.mohit.tpomnnit.tpo; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.database.sqlite.SQLiteDatabase; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bun...
apache-2.0
ambasta/aws-sdk-cpp
aws-cpp-sdk-support/include/aws/support/model/AddCommunicationToCaseResult.h
1898
/* * 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...
apache-2.0
aayaam/website
contact.html
7041
<!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="description" content=""> <meta name="author" content=""> <title>Contact - Business Casual - Sta...
apache-2.0
cwx521/Husky
src/Husky.Helpers/Enums/OnOff.cs
154
namespace Husky { public enum OnOff { [Label("关闭", CssClass = "text-danger")] Off, [Label("开启", CssClass = "text-success")] On } }
apache-2.0
kumarsumit1/learning
src/main/java/com/packt/sfjd/ch11/AbsFunc2.java
283
package com.packt.sfjd.ch11; import java.io.Serializable; import scala.runtime.AbstractFunction2; public class AbsFunc2 extends AbstractFunction2<Object, String, Object> implements Serializable{ @Override public Object apply(Object arg0, String arg1) { return true; } }
apache-2.0
jintou/jintou-backend
server/auth/index.js
664
'use strict'; import express from 'express'; import passport from 'passport'; import config from '../config/environment'; import {User} from '../sqldb'; // Passport Configuration require('./local/passport').setup(User, config); require('./facebook/passport').setup(User, config); require('./google/passport').setup(Use...
apache-2.0
stuffer2325/Makagiga
src/org/makagiga/commons/swing/MWindow.java
3865
// Copyright 2006 Konrad Twardowski // // 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...
apache-2.0
bcgov/MyGovBC-MSP
src/app/modules/assistance/pages/review/review.component.spec.ts
1356
import { TestBed } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; import { AssistanceReviewComponent } from './review.component'; import { MspDataService } from '../../../../services/msp-data.service'; import { LocalStorageModule } from 'angular-2-local-storage'; import {RouterTestingModule...
apache-2.0
beckettkev/react-chat-back
src/utils/shared.js
867
export default class Shared { getPrettyDate(time) { const date = new Date((time || '').replace(/-/g,'/').replace(/[TZ]/g,' ')); const diff = (((new Date()).getTime() - date.getTime()) / 1000); const day_diff = Math.floor(diff / 86400); // return date for anything greater than a day if (i...
apache-2.0
DomDerrien/amazon-fps-gaej
src/com/amazonaws/fps/model/WriteOffDebtResult.java
7331
package com.amazonaws.fps.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. ...
apache-2.0
brain-research/data-linter
README.md
2772
# Data Linter ## Summary This code accompanies the [NIPS 2017 ML Systems Workshop](http://learningsys.org/nips17/) paper/poster, "The Data Linter: Lightweight, Automated Sanity Checking for ML Data Sets." The Data Linter identifies potential issues (lints) in your ML training data. # Using the Data Linter ## Prere...
apache-2.0
james-hu/jabb-core
src/main/java/net/sf/jabb/util/db/impl/TryDataSourceProvider.java
1868
/* Copyright 2010 Zhengmao HU (James) 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 writ...
apache-2.0
BeoBuzzDev/artryvis.com
_includes/contact_static.html
1952
<!-- Contact Section --> <section id="contact"> <div class="container"> <div class="row"> <div class="col-lg-12 text-center"> <h2>Contact Us</h2> <hr class="star-primary"> </div> </div> <div class="row"> <div class="col-lg-8 col-lg-offset-2"> <form action="//formspree.io/hello@artryvis.com"...
apache-2.0
fperignon/siconos
externals/sort/sort.h
57106
/* Copyright (c) 2010-2017 Christopher Swenson. */ /* Copyright (c) 2012 Vojtech Fried. */ /* Copyright (c) 2012 Google Inc. All Rights Reserved. */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdint.h> #ifndef SORT_NAME #error "Must declare SORT_NAME" #endif #ifndef SORT_TYPE #error "Must d...
apache-2.0
quarkusio/quarkus
independent-projects/resteasy-reactive/server/vertx/src/test/java/org/jboss/resteasy/reactive/server/vertx/test/customproviders/UniExceptionMapper.java
409
package org.jboss.resteasy.reactive.server.vertx.test.customproviders; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; @Provider public class UniExceptionMapper implements ExceptionMapper<UniException> { @Override public Response toResponse(UniExcept...
apache-2.0
tensorflow/recommenders-addons
demo/dynamic_embedding/movielens-100k-estimator-with-warmup/warmup_train.sh
692
#!/usr/bin/env bash sh stop.sh sleep 1 export TF_CONFIG='{"cluster": {"worker": ["localhost:2222"], "ps": ["localhost:2223"], "chief": ["localhost:2224"]}, "task": {"type": "chief", "index": 0}}' python movielens-100k-estimator.py --mode warmup & sleep 1 export TF_CONFIG='{"cluster": {"worker": ["localhost:2222"], "...
apache-2.0
fiatjaf/summadb
utils/random.go
964
package utils import ( "math/rand" "time" ) const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" const ( letterIdxBits = 6 // 6 bits to represent a letter index letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits letterIdxMax = 63 / let...
apache-2.0
redhat-cip/openstack-logcollector
openstack-logcollector/openstack/common/rpc/impl_qpid.py
29688
# Copyright 2011 OpenStack Foundation # Copyright 2011 - 2012, 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-...
apache-2.0
snowplow/snowplow-unity-tracker
SnowplowTracker.Tests/Assets/Tests/TestTracker.cs
5574
/* * TestTracker.cs * SnowplowTrackerTests * * Copyright (c) 2015 Snowplow Analytics Ltd. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apach...
apache-2.0
William-Yeh/build-docker-with-ansible
lab-nginx/step-2/Dockerfile
406
# Dockerfile for building image that contains software stack provisioned by Ansible. # # pull base image FROM williamyeh/ansible:debian8-onbuild MAINTAINER William Yeh <william.pjyeh@gmail.com> # # build phase # #ENV PLAYBOOK playbook.yml RUN ansible-playbook-wrapper # # runtime spec # EXPOSE 80 # # fix for...
apache-2.0
SkyRocketGWT/skyrocketgwt
skyrocket-core/src/main/java/com/skyrocketgwt/core/client/layouts/layoutpanel/appearance/SkySplitterAppearance.java
237
package com.skyrocketgwt.core.client.layouts.layoutpanel.appearance; import com.google.gwt.dom.client.Element; /** * Created by v on 2/22/2015. */ public interface SkySplitterAppearance { Element render(double splitterSize); }
apache-2.0
firstbytegithub/MyCodeRepo
app/src/main/java/com/example/chengqi/mycoderepo/layouts/RelativeLayoutActivity.java
415
package com.example.chengqi.mycoderepo.layouts; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.example.chengqi.mycoderepo.R; public class RelativeLayoutActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onC...
apache-2.0
trevor/calendarserver
twistedcaldav/test/test_memcacheprops.py
14385
## # Copyright (c) 2009-2014 Apple Inc. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, mod...
apache-2.0
yvasilevskaya/java_pft
sandbox/src/main/java/ru/stqa/pft/sandbox/Equality.java
279
package ru.stqa.pft.sandbox; /** * Created by Yulia on 3/1/2017. */ public class Equality { public static void main(String [] args){ String s1 = "firefox"; String s2 = new String(s1); System.out.println(s1 == s2); System.out.println(s1.equals(s2)); } }
apache-2.0
zy4kamu/Coda
src/nlp-stack/Disambiguator/Core/Settings/IDisambiguatorSettings.h
2747
/** * * .. invisible: * _ _ _____ _ _____ _____ * * | | | | ___| | | ___/ ___| * * | | | | |__ | | | |__ \ `--. * * | | | | __|| | | __| `--. \ * * \ \_/ / |___| |___| |___/\__/ / * * \___/\____/\_____|____/\____/ * * Licensed to the Apache Software Foundation (ASF) u...
apache-2.0
vpalex999/python_training
fixture/application.py
1165
# -*- coding: utf-8 -*- from selenium import webdriver from fixture.session import SessionHelper from fixture.group import GroupHelper from fixture.address import AddressHelper class Application(object): def __init__(self, browser, base_url): if browser == "firefox": self.wd = webdriver.Firef...
apache-2.0
shwinpiocess/fire
job/static/job/css/newTask.css
1790
@CHARSET "UTF-8"; ul.group-ul,ul.group-node-ul{ margin:0; padding:0; } ul.group-ul>li,ul.group-node-ul>li{ margin:0; padding:0; } li.group-li{ padding:5px 0!important; } .group-node-table{ margin-bottom: 0; } .group-node-header .group-node-table{ background-color:#f0f0f0; } .group-node-top{ height: 45px; colo...
apache-2.0
Luehrsen/good_morning_news
www/wp-content/plugins/goodmorning_plugin/js/admin.js
787
jQuery(document).ready(function($){ $("a[data-upvote-id]").click(function(){ var id = $(this).attr('data-upvote-id'); $.ajax( { url: WP_API_Settings.root + 'goodmorning-news/1.0/upvote/' + id, method: 'GET', beforeSend: function ( xhr ) { xhr.setRequestHeader( 'X-WP-Nonce', WP_API_Settings.nonce ...
apache-2.0
blackcathacker/kc.preclean
coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/log/Release_2_0_logs/KCIRB-195a.sql
104
alter table protocol_actions drop column action_date; alter table protocol_actions add action_date date;
apache-2.0
hkbhkb7/online_complaitbox
login.php
672
<?php include 'db.php';?> <?php if(isset($_POST["login-submit"])) { $sql="SELECT `email`, `passwd` FROM `register` WHERE email ='".$_POST['email']."';"; if($res = $mysqli->query($sql)) { if ($res->num_rows > 0) { // output data of each row while($row = $res->fetch_as...
apache-2.0
githubdiarra/playground-repo
playground/src/main/java/edu/mycourses/adt/st/BasicST.java
407
/** * */ package edu.mycourses.adt.st; /** * @author Ibrahima Diarra * */ public class BasicST<Key, Value> extends AbstractST<Key, Value> { @Override public void put(Key key, Value value) { } @Override public Value get(Key key) { return null; } @Override public int size() { ...
apache-2.0
wildfly-swarm/wildfly-swarm-javadocs
2.4.1.Final-SNAPSHOT/apidocs/org/wildfly/swarm/config/undertow/configuration/class-use/RewriteConsumer.html
12361
<!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 Wed Jul 17 09:40:07 MST 2019 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wildf...
apache-2.0
nmcspadden/PrinterGenerator
print_generator.py
10809
#!/usr/bin/python from __future__ import absolute_import, print_function import argparse import csv import os import re import sys try: from plistlib import load as load_plist # Python 3 from plistlib import dump as dump_plist except ImportError: from plistlib import readPlist as load_plist # Python 2 ...
apache-2.0
mdoering/backbone
life/Plantae/Bryophyta/Bryopsida/Funariales/Funariaceae/Funaria/Funaria beyrichii/README.md
187
# Funaria beyrichii Hampe, 1879 SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
bruiserventures/bruiserventures.github.io
legal/terms_of_use.html
38130
<!DOCTYPE html> <!--[if lt IE 7 ]><html lang="en-US" class="no-js ie ie6 lte7 lte8 lte9"><![endif]--> <!--[if IE 7 ]><html lang="en-US" class="no-js ie ie7 lte7 lte8 lte9"><![endif]--> <!--[if IE 8 ]><html lang="en-US" class="no-js ie ie8 lte8 lte9"><![endif]--> <!--[if IE 9 ]><html lang="en-US" class="no-js ie ie9 lt...
apache-2.0
hisataka/altxt2db
src/main/java/jp/co/altxt2db/dto/EnvironmentDto.java
236
package jp.co.altxt2db.dto; /** * 環境情報保持DTO * */ public class EnvironmentDto { /** 実行用アクションクラスパス */ public String actionClass; /** 実行時引数 */ public String[] args; }
apache-2.0
ViteFalcon/RokLegend
source/network/packets/RoDeleteCharacterAcceptRequest.h
343
#pragma once #include "RoPacket.h" roDEFINE_PACKET(RoDeleteCharacterAcceptRequest) { public: RoDeleteCharacterAcceptRequest(); ~RoDeleteCharacterAcceptRequest() = default; void setCharacterId(const uint32 characterId); void setBirthDate(const RoDate& birthDate); private: uint32 mCharacterId; R...
apache-2.0
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p438/Test8764.java
2111
package org.gradle.test.performance.mediummonolithicjavaproject.p438; import org.junit.Test; import static org.junit.Assert.*; public class Test8764 { Production8764 objectUnderTest = new Production8764(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
apache-2.0
willmclaren/ensembl
sql/patch_39_40_h.sql
1081
-- Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute -- -- 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/...
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Dothideomycetes/Ceratonema/Ceratonema tenacissimum/README.md
215
# Ceratonema tenacissimum (Roth) Roth SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in Catalecta botanica 2: 253 (1800) #### Original name Byssus tenacissima Roth ### Remarks null
apache-2.0
grzegorz2047/UAMRepo
POB/po-c1/po-c1.cpp
2750
#include <iostream> #include <ctime> class Stos { private: int dane[100]; int n; int id; public: Stos(int id){ this->id = id; n=0; std::cout << "["<< id <<"] Pojawiam sie!" << std::endl; } ~Stos(){ std::cout << "["<< id <<"] Znikam!" << std::endl; } ...
apache-2.0
jerrytang67/jw_ionic_myapp
wx_youxuan/src/components/buy-item/buy-item.html
1151
<ion-card> <ion-row *ngIf="item.Shop"> <h2 style="font-weight:normal;font-size:1.8rem;height:2.5rem;line-height: 2.5rem;padding-left:10px;border-left:solid 8px #EA1A59;">{{item.Shop.ShopName}}</h2> </ion-row> <ion-row> <ion-col col-4> <img class="logoImg" [src]="item.LogoList[0]+'!w100h100'" (click...
apache-2.0
google/agi
gapis/resolve/delete_test.go
5365
// Copyright (C) 2019 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...
apache-2.0
archiecobbs/jsimpledb
site/apidocs/io/permazen/schema/class-use/SetSchemaField.html
9132
<!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 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class io.permazen.schema.SetSchemaField (Permazen 4.1.6 API)</t...
apache-2.0
fpompermaier/onvif
onvif-ws-client/src/main/java/org/onvif/ver10/schema/IOCapabilitiesExtension2.java
2379
package org.onvif.ver10.schema; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builder.ToStrin...
apache-2.0
consulo/consulo-scala
src/org/jetbrains/plugins/scala/lang/parser/parsing/types/Type.scala
2634
package org.jetbrains.plugins.scala package lang package parser package parsing package types import com.intellij.lang.PsiBuilder, org.jetbrains.plugins.scala.lang.lexer.ScalaTokenTypes import org.jetbrains.plugins.scala.lang.parser.ScalaElementTypes import org.jetbrains.plugins.scala.ScalaBundle import builder.ScalaP...
apache-2.0
soeminnminn/LatinIME_ICS_ported
src/com/android/inputmethod/compat/ArraysCompatUtils.java
2027
/* * Copyright (C) 2011 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 requir...
apache-2.0
aws/aws-sdk-cpp
aws-cpp-sdk-inspector2/source/model/GetFindingsReportStatusResult.cpp
1854
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/inspector2/model/GetFindingsReportStatusResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #in...
apache-2.0
ingarabr/java-object-validator
readme.md
1387
Validation ========== This is a library used to validate java object against a set of validation rules. This is inspired by mockito and hamcrest so it should be familiar to use if you know those tools. Limitations ----------- It requires that the objects follow the java bean convention with a field and a getter is ...
apache-2.0
asomya/test
horizon/test.py
14512
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no...
apache-2.0
CanIFuckYou/AirTouch
AirTouch/Framework/View/HWKChart/Plots/HWMPlot.h
1763
// // HWMPlot.h // Weather // // Created by kenny on 15/9/25. // Copyright (c) 2015年 honeywell. All rights reserved. // #import "HWMLayer.h" typedef NS_ENUM(NSUInteger, HWMPlotType) { HWMPlotTypeScatter, HWMPlotTypeBar }; @interface HWMRainRange: NSObject @property (nonatomic, assign) NSUInteger start; @...
apache-2.0
skyofthinking/AndRapid
gankio/src/main/java/com/joyue/tech/gankio/mvp/history/HistoryModel.java
764
package com.joyue.tech.gankio.mvp.history; import com.joyue.tech.core.mvp.listener.OnLoadDataListListener; import com.joyue.tech.gankio.api.GankApi; import rx.Observer; public class HistoryModel implements HistoryContract.Model { @Override public void history(OnLoadDataListListener listener) { GankA...
apache-2.0
eropple/amigrind
lib/amigrind/repo.rb
6902
module Amigrind class Repo include Amigrind::Core::Logging::Mixin attr_reader :path def initialize(path) @path = File.expand_path path raise "'path' (#{path}) is not a directory." unless Dir.exist?(path) raise "'path' is not an Amigrind root (lacks .amigrind_root file)." \ unl...
apache-2.0
sendwithus/sendwithus_ruby
test/lib/send_with_us/version_test.rb
156
require_relative '../../test_helper' class TestVersion < Minitest::Test def test_version assert_equal( false, SendWithUs::VERSION.nil? ) end end
apache-2.0
sabob/ratel
ratel/src/com/google/ratel/deps/jackson/databind/ser/std/StringSerializer.java
1752
package com.google.ratel.deps.jackson.databind.ser.std; import java.io.IOException; import java.lang.reflect.Type; import com.google.ratel.deps.jackson.core.*; import com.google.ratel.deps.jackson.databind.JavaType; import com.google.ratel.deps.jackson.databind.JsonMappingException; import com.google.ratel.deps.jack...
apache-2.0
pellse/decorator
src/test/java/io/github/pellse/decorator/collection/InitializedBoundedList.java
772
/** * Copyright 2016 Sebastien Pelletier * * 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...
apache-2.0