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 |
|---|---|---|---|---|---|
# Deprecated in favor of [Apple News App](https://www.apple.com/news/)
## (Unofficial) Mac Rumors App for iOS
The app fetches the RSS feed of http://www.macrumors.com and displays them in a Table view.
### Features included:
* Works on iPhone and iPads
* Saving articles as favorites
* Sorting favorite articles base... | publicarray/Mac-Rumors-iOS-app | README.md | Markdown | apache-2.0 | 4,250 |
# -*- coding: utf-8 -*-
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoAlertPresentException... | gena701/Seleniun_php4dvd_lesson2_Rovinsky | php4dvd/php4dvd_negative.py | Python | apache-2.0 | 2,371 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... | sskorol/jvm-tools | hprof-heap/src/main/java/org/netbeans/lib/profiler/heap/PrimitiveArrayInstance.java | Java | apache-2.0 | 3,040 |
# Magento-addressAutoComplete
Magneto checkout address autocompelete
only Test CANADA AND USA for magento default checkout.
| curkle/Magento-addressAutoComplete | README.md | Markdown | apache-2.0 | 126 |
/**
* maps4cim - a real world map generator for CiM 2
* Copyright 2013 Sebastian Straub
*
* 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-... | Klamann/maps4cim | maps4cim-gui/src/main/java/de/nx42/maps4cim/gui/window/ConstraintViolationReportWindow.java | Java | apache-2.0 | 4,148 |
/**************************************************************************
ScreenShotCallbackArguments.java is part of Titanium4j Mobile 3.0. Copyright 2012 Emitrom 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... | CraigAndrew/titanium4j | src/com/emitrom/ti4j/mobile/client/media/ScreenShotCallbackArguments.java | Java | apache-2.0 | 1,542 |
<!DOCTYPE html>
<html>
<head>
<title>Assignment 4 - Pietro Ferretti</title>
</head>
<body>
<div class="container">
<div class='row'>
<div class='col-lg-12'>
<h1>Assignment 4 by Pietro Ferretti</h1>
<p>Our server is running at <code>{{ url_for('first_page', _external=True) }}</code></p>
</di... | PietroFerretti/sw-assignment4 | src/templates/index.html | HTML | apache-2.0 | 3,028 |
<!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 Mon Jun 24 22:25:09 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | zqxjjj/NobidaBase | docs/apidocs/org/apache/hadoop/hbase/rest/provider/consumer/class-use/ProtobufMessageBodyConsumer.html | HTML | apache-2.0 | 6,634 |
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title>Topic 01 -- Abstracts with Biological Entities (English) - 75 Topics / Sub-Topic Model 21 - 15 Topics</title>
<style>
table {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px... | roaminsight/roamresearch | docs/CORD19_topics/cord19-2020-04-24-v9/text-ents-en-75-t21-15/Topic_01.html | HTML | apache-2.0 | 350,852 |
package jp.azuki.business.paging;
/**
* このクラスは、ページ機能を実装するクラスです。
*
* @since 1.0.0
* @version 1.0.0 2013/02/03
* @author Kawakicchi
*/
public class PagePaging implements Paging {
private long size;
private long page;
/**
* コンストラクタ
*
* @param aSize ページサイズ
*/
public PagePaging(final long aSize) {
... | kawakicchi/azuki-framework | azuki-base/main/src/jp/azuki/business/paging/PagePaging.java | Java | apache-2.0 | 920 |
package socketsLogic;
import java.util.Observable;
public class TrafficLogic extends Observable{
private String data;
public TrafficLogic(){
}
public String getData(){
return data;
}
public void setData(String pData){
this.data = pData;
this.setChan... | luartmg/WMA | WMA/src/socketsLogic/TrafficLogic.java | Java | apache-2.0 | 393 |
// Copyright 2021 The Ebiten 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... | hajimehoshi/ebiten | internal/gamepaddb/gamepaddb.go | GO | apache-2.0 | 19,312 |
# -*- test-case-name: txdav.who.test.test_augment -*-
##
# Copyright (c) 2013-2017 Apple 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/li... | macosforge/ccs-calendarserver | txdav/who/augment.py | Python | apache-2.0 | 18,083 |
/*
* Copyright 2017-2022 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... | aws/aws-sdk-java | aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/transform/AssociateFileSystemAliasesRequestMarshaller.java | Java | apache-2.0 | 2,950 |
<?php
// Copyright 2018 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 ... | google/google-ctf | 2018/quals/web-bbs/app/login.php | PHP | apache-2.0 | 1,646 |
//
// WebApiClient-Core.h
// WebApiClient
//
// Created by Matt on 21/07/15.
// Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.
//
#import <WebApiClient/DataWebApiResource.h>
#import <WebApiClient/FileWebApiResource.h>
#import <WebApiClient/NSDictionary+WebApiClien... | Blue-Rocket/WebApiClient | WebApiClient/Code/WebApiClient-Core.h | C | apache-2.0 | 763 |
# mecab-ko-lucene-analyzer
## 소개
[mecab-ko-lucene-analyzer](https://bitbucket.org/eunjeon/mecab-ko-lucene-analyzer)는 [mecab-ko](https://bitbucket.org/eunjeon/mecab-ko), [mecab-ko-dic](https://bitbucket.org/eunjeon/mecab-ko-dic)을 사용한 lucene/solr용 한국어 형태소 분석기입니다.
다음과 같은 기능들을 제공합니다.
- 명사추출
- 복합명사 분해
- 원어절 추출
[Elastic... | jaepil/mecab-ko-lucene-analyzer | README.md | Markdown | apache-2.0 | 9,556 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CodeRefactorings.I... | akrisiun/roslyn | src/EditorFeatures/CSharpTest/CodeActions/IntroduceVariable/IntroduceVariableTests.cs | C# | apache-2.0 | 101,349 |
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <memory>
#include <iomanip>
#include <functional>
#include <new>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <cstdlib>... | aajjbb/contest-files | LiveArchive/FibonnaciWords.cpp | C++ | apache-2.0 | 1,123 |
package in.co.waghmare;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
/**
* borrowed code ... | ashishWaghmare/ashish-alchemy | src/main/java/in/co/waghmare/File.java | Java | apache-2.0 | 1,113 |
/**
* Select pages and assembly(optional)
*/
qx.Class.define("ncms.pgs.PagesSelector", {
extend: qx.ui.tabview.TabView,
properties: {
/**
* Page selected.
* Event data: {
* id : {Number} Page ID,
* name : {String} Page name,
* accessMask : {String}
... | Softmotions/ncms | ncms-engine/ncms-engine-qx/src/main/qooxdoo/classes/ncms/pgs/PagesSelector.js | JavaScript | apache-2.0 | 6,806 |
package fr.free.nrw.commons.auth;
import android.accounts.Account;
import android.accounts.AccountAuthenticatorActivity;
import android.accounts.AccountAuthenticatorResponse;
import android.accounts.AccountManager;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import an... | whym/apps-android-commons | app/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java | Java | apache-2.0 | 16,449 |
package cn.edu.ruc.dao;
import java.util.Date;
import java.util.List;
import cn.edu.ruc.conf.base.device.Tag;
import cn.edu.ruc.httpapi.opentsdb.ExpectResponse;
import cn.edu.ruc.httpapi.opentsdb.HttpClient;
import cn.edu.ruc.httpapi.opentsdb.HttpClientImpl;
import cn.edu.ruc.httpapi.opentsdb.builder.MetricBuilder;
i... | foruever/benchmark-dev | src/main/java/cn/edu/ruc/dao/OpentsdbDao.java | Java | apache-2.0 | 1,603 |
//
// Aircraft.h
// Strategy
//
// Created by btw on 15/3/9.
// Copyright (c) 2015年 Nihility. All rights reserved.
//
#import <Foundation/Foundation.h>
@class Flight;
@protocol Flight;
@class TakeOff;
@protocol TakeOff;
@interface Aircraft : NSObject
@property (strong, nonatomic) Flight<Flight> *flight;
@prope... | Nihility-Ming/Design_Patterns_In_Objective-C | 行为型模式/策略模式/Example_01/Strategy/Aircraft.h | C | apache-2.0 | 489 |
# Verbesina otuzcensis Sagást. & Quipuscoa SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Verbesina otuzcensis/README.md | Markdown | apache-2.0 | 191 |
<!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>Pasini Sara - 832328, PaulonTom... | saumenestrello/temp | html/devicesHome.html | HTML | apache-2.0 | 6,369 |
package org.yuanmomo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class NotPrint {
private static Logger logger = LoggerFactory.getLogger(NotPrint.class);
public static void print(){
logger.warn(NotPrint.class + " not print");
}
}
| yuanmomo/log4j-demo | src/main/java/org/yuanmomo/NotPrint.java | Java | apache-2.0 | 269 |
/*
* Copyright (C) 2013 Michał Charmas (http://blog.charmas.pl)
*
* 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 require... | ph4r05/AndroidStudioDbModelGenerator | src/net/phonex/intellij/android/dbmodel/typeserializers/serializers/BooleanSparseArraySerializer.java | Java | apache-2.0 | 1,237 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.smsc.usuario.ui;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
impor... | edham/SMSC | SMSCUsuario/src/com/smsc/usuario/ui/MisIncidentesActivity.java | Java | apache-2.0 | 4,378 |
/**
* 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... | kingargyle/turmeric-bot | components/camel-sip/src/main/java/org/apache/camel/component/sip/listener/SipMessageCodes.java | Java | apache-2.0 | 4,160 |
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding yo... | bhavyanshu/OpenVID-sys | database/factories/ModelFactory.php | PHP | apache-2.0 | 653 |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class Before1v1Game : MonoBehaviour {
public GUISkin skin_mapa_Forta;
public GUISkin skin_mapa_Koila;
public GUISkin skin_mapa_Gajuta;
public GUISkin skin_mapa_Omaron;
public GUISkin skin_mapa_Pountedal;
publ... | somik861/nasemama | Assets/Scripts/InGame/1v1/Before1v1Game.cs | C# | apache-2.0 | 3,114 |
/*
* 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 n... | mihbor/kafka | clients/src/main/java/org/apache/kafka/common/protocol/types/Struct.java | Java | apache-2.0 | 15,240 |
/*
* 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 n... | SourceStudyNotes/log4j2 | src/main/java/org/apache/logging/log4j/core/util/CloseShieldWriter.java | Java | apache-2.0 | 1,425 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<!-- compiled css output -->
<!--link href="css/ionic.app.css" rel="stylesheet"-->
<link href="lib/ionic/css/ionic.css" re... | rajeshsse/RishabExploringIonic | ShoppingList/www/index.html | HTML | apache-2.0 | 2,455 |
include_recipe "grizzly::quantum_ovs_agent"
# Glance variables
role = getRole
controller_role = "controller_node"
controller_private_ip = ""
public_interface = ""
private_ip = ""
private_interface = ""
private_netmask = ""
quantum_user = "quantum"
quantum_password = ""
mysql_quantum_password = ""
# Query controller... | baremetalcloud/chef-repo | cookbooks/grizzly/recipes/quantum_agents.rb | Ruby | apache-2.0 | 2,946 |
package com.kind.springboot.core.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 用户.
*
* @author cary
*/
@Entity
@Table(name = "t_user")
public class UserDo {
/**
* 用户名
*/
@Column(name = "username")
... | weiguo21/spring-samples | spring-boot-rest/src/main/java/com/kind/springboot/core/domain/UserDo.java | Java | apache-2.0 | 1,202 |
package org.crazycake.jdbcTemplateTool.exception;
import java.lang.reflect.Method;
public class NoColumnAnnotationFoundException extends Exception {
public NoColumnAnnotationFoundException(String ClassName,Method getter){
super(ClassName + "." + getter.getName() + "() should have an @Column annotation.");
}
}
| alexxiyang/jdbctemplatetool | src/main/java/org/crazycake/jdbcTemplateTool/exception/NoColumnAnnotationFoundException.java | Java | apache-2.0 | 319 |
/*
* Copyright (C) 2014 Michell Bak
*
* 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... | MizzleDK/Mizuu | app/src/main/java/com/miz/mizuu/ImageViewer.java | Java | apache-2.0 | 6,075 |
package org.otfusion.caturday.application.dagger.module;
import org.otfusion.caturday.application.dagger.scope.ActivityScope;
import org.otfusion.caturday.presenter.caturday.CaturdayPresenter;
import org.otfusion.caturday.view.common.activity.BaseDaggerActivity;
import dagger.Module;
import dagger.Provides;
@Module
... | jmsalcido/catapi-android | app/src/main/java/org/otfusion/caturday/application/dagger/module/ActivityModule.java | Java | apache-2.0 | 645 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS.">
<meta name="keywords" content="html5,ja... | martinjbaker/ionic-site | _site/docs/nightly/api/utility/ionic.DomUtil/index.html | HTML | apache-2.0 | 37,130 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from common import find_target_items
if len(sys.argv) != 3:
print("Find the value keyword in all pairs")
print(("Usage: ", sys.argv[0], "[input] [keyword]"))
exit(1)
find_target_items(sys.argv[1], sys.argv[2])
| BYVoid/OpenCC | data/scripts/find_target.py | Python | apache-2.0 | 282 |
/*
* Copyright 2011-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 a... | rklabs/folly | folly/io/async/test/AsyncSSLSocketTest.cpp | C++ | apache-2.0 | 72,281 |
import mysql from 'mysql2/promise';
import * as Rx from "rxjs";
export default class MysqlPool {
constructor({config}){
this._config = config;
}
getPool(){
return Rx.Observable.of(mysql.createPool({
...this._config.mysql
}));
}
}
| UnexpectedSoftware/openMarket | src/openMarket/infrastructure/service/MysqlPool.js | JavaScript | apache-2.0 | 260 |
# Epicion northropiae (Schltr.) Small SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Apocynaceae/Metastelma/Metastelma northropiae/ Syn. Epicion northropiae/README.md | Markdown | apache-2.0 | 192 |
import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import TrackList from '../../components/TrackList';
import Header from '../../components/Header';
import DropdownField from '../../components/Fields/DropdownField';
import FilterField from '../../componen... | jaedb/Iris | src/js/views/Library/Tracks.js | JavaScript | apache-2.0 | 8,097 |
package org.shirdrn.smart.dag;
@InterfaceAudience.Private
public abstract class AbstractVertexBuilder<A> implements VertexBuilder<A> {
protected final DAG dag;
private final DAGMonitor dagMonitor;
public AbstractVertexBuilder(DAG dag) {
super();
this.dag = dag;
this.dagMonitor = dag.getDAGMonitor();
}
... | shirdrn/smart-dag | smart-dag-core/src/main/java/org/shirdrn/smart/dag/AbstractVertexBuilder.java | Java | apache-2.0 | 421 |
# Lasianthus kerrii Craib SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Rubiaceae/Lasianthus/Lasianthus schmidtii/ Syn. Lasianthus kerrii/README.md | Markdown | apache-2.0 | 180 |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | floodlight/loxigen-artifacts | openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/ver15/OFBsnTlvActorPortPriorityVer15.java | Java | apache-2.0 | 7,927 |
//
// AppDelegate.h
// kalestenika
//
// Created by Gian Marco Sibilla on 29/07/15.
// Copyright (c) 2015 Gian Marco Sibilla. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| gmbilla/mobidev | kalestenika/kalestenika/AppDelegate.h | C | apache-2.0 | 299 |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | ridoo/IlwisCore | CPPAPI/class_ilwis_1_1_script_syntax_error.html | HTML | apache-2.0 | 9,880 |
<!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... | wildfly-swarm/wildfly-swarm-javadocs | 2.3.1.Final-SNAPSHOT/apidocs/org/wildfly/swarm/config/jgroups/channel/class-use/Fork.ForkResources.html | HTML | apache-2.0 | 7,513 |
package org.onetwo.boot.module.redission;
import java.util.Map;
import lombok.Data;
import org.onetwo.common.propconf.JFishProperties;
import org.redisson.client.codec.Codec;
import org.redisson.spring.cache.CacheConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import com.google.c... | wayshall/onetwo | core/modules/boot/src/main/java/org/onetwo/boot/module/redission/RedissonProperties.java | Java | apache-2.0 | 1,187 |
package com.uned.rfernandez.resolver;
import com.uned.rfernandez.Input;
import com.uned.rfernandez.print.Printer;
public class ResolverFactory {
public static Resolver get(Printer printer, Input input) {
return new Queens(printer, input);
}
}
| colymore/Uned | Preda-N-Queens/src/com/uned/rfernandez/resolver/ResolverFactory.java | Java | apache-2.0 | 252 |
# Asclepias texana A. Heller SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Apocynaceae/Asclepias/Asclepias texana/README.md | Markdown | apache-2.0 | 184 |
/* eslint-disable */
var webpack = require('webpack');
var path = require('path');
var PATHS = {
CONTEXT: __dirname,
BUILD: path.join(__dirname, 'dist')
};
module.exports = {
context: PATHS.CONTEXT,
entry: './playground',
output: {
path: PATHS.BUILD,
filename: 'bundle.js',
chunkFilename: '[name]... | lystable/redocs | examples/the-full-works/playground.webpack.config.js | JavaScript | apache-2.0 | 863 |
# Cacumisporium tenebrosum Preuss, 1851 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Linnaea 24: 130 (1851)
#### Original name
Cacumisporium tenebrosum Preuss, 1851
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Sordariomycetes/Hypocreales/Cacumisporium/Cacumisporium capitulatum/ Syn. Cacumisporium tenebrosum/README.md | Markdown | apache-2.0 | 245 |
package com.rklaehn.abc
import org.github.jamm.MemoryMeter
import cats.kernel.instances.all._
import org.scalatest.FunSuite
class SizeTest extends FunSuite {
lazy val mm = new MemoryMeter()
lazy val overhead = mm.measure(new java.lang.Object)
lazy val pointerSize = (mm.measure(new Array[java.lang.Object](256)... | rklaehn/abc | instrumentedTests/src/test/scala/com/rklaehn/abc/SizeTest.scala | Scala | apache-2.0 | 3,398 |
TWICE
=====
Toolkit for Webbased Interactive Collaborative Environments.
Please visit the [wiki](https://github.com/olinux/twice/wiki) for further instructions of how to use the code and the toolkit. Documentation is a work in progress and will improve constantly - so revisit the page for updates and let us know whic... | incidincer/twice | README.md | Markdown | apache-2.0 | 1,099 |
package org.gradle.test.performance.mediummonolithicjavaproject.p221;
public class Production4438 {
private Production4429 property0;
public Production4429 getProperty0() {
return property0;
}
public void setProperty0(Production4429 value) {
property0 = value;
}
priv... | oehme/analysing-gradle-performance | my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p221/Production4438.java | Java | apache-2.0 | 1,963 |
#!/usr/bin/env python
def makeYqlQuery(req):
result = req.get("result")
parameters = result.get("parameters")
city = parameters.get("geo-city")
if city is None:
return None
return "select * from weather.forecast where woeid in (select woeid from geo.places(1) where text='" + city + ... | jacoboariza/BotIntendHub | yahooWeatherForecast.py | Python | apache-2.0 | 335 |
/**
* Copyright 2013 Netflix, 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 ... | joohnnie/RxScala | examples/src/test/scala/examples/TestSchedulerExample.scala | Scala | apache-2.0 | 2,016 |
package com.kingleung.androidhodgepodge.basic;
import android.app.Activity;
/**
* @author kingleung
* Created on 2018/6/21.
*/
/*
Android studio 3.0 和 Databinding冲突
*/
//@EActivity(R.layout.activity_android_annotation)
public class AndroidAnnotationActivity extends Activity {
// @ViewById(R.id.myInput)
//... | kingleung10/AndroidHodgepodge | app/src/main/java/com/kingleung/androidhodgepodge/basic/AndroidAnnotationActivity.java | Java | apache-2.0 | 1,098 |
package com.lc.wechat.crm.exception;
public class RestException extends Exception {
private static final long serialVersionUID = 2079144167612964345L;
private int code;
private String message;
public RestException() {
}
public RestException(String message) {
super(message);
this.message = message;
}
p... | yoking-zhang/wechat-crm | wechat-crm-core/src/main/java/com/lc/wechat/crm/exception/RestException.java | Java | apache-2.0 | 679 |
/*
* Copyright 2016-2020 DiffPlug
*
* 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 t... | diffplug/spotless | plugin-maven/src/main/java/com/diffplug/spotless/maven/antlr4/Antlr4.java | Java | apache-2.0 | 1,560 |
/*
* Copyright 2012-2020 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-cloud/spring-cloud-commons | spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/BootstrapImportSelector.java | Java | apache-2.0 | 4,734 |
/*
* 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_Physics/PhysicColliderBox.h | C | apache-2.0 | 2,813 |
# Eleocharis parodii Barros SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Cyperaceae/Eleocharis/Eleocharis parodii/README.md | Markdown | apache-2.0 | 183 |
body, h1, h2, h3 {
font-weight: 400;
font-family: "Varela Round", sans-serif;
}
.start-header {
color: #eee;
background-color: #34302d;
font-size: 25px;
padding: 0.5em 0;
border-top: 4px solid #6db33f;
}
.start-header h1 {
text-transform: uppercase;
}
.start-header small {
text-tr... | jadekler/initializr | initializr/src/main/resources/static/css/spring.css | CSS | apache-2.0 | 2,195 |
{% extends "base.html" %}
{% block js %}
{{ super() }}
{% endblock %}
{% block content %}
<div id="title_index" class="title">
<h1>404</h1>
<p id="subtitle">Oups! Something went wrong...</p>
</div>
<div id="main_index">
<br/>
If it's a problem, please try to report it.... | AmadeusITGroup/GraphDash | graphdash/templates/404.html | HTML | apache-2.0 | 426 |
/*
* Copyright 2016 The Error Prone 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 ... | cushon/error-prone | test_helpers/src/main/java/com/google/errorprone/BugCheckerRefactoringTestHelper.java | Java | apache-2.0 | 14,822 |
package com.android.camera.util;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.support.v4.view.accessibility.AccessibilityRecordCompat;
import android.view.View;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.Access... | kesenhoo/Camera2 | src/com/android/camera/util/AccessibilityUtils.java | Java | apache-2.0 | 1,685 |
<html lang="zh-CN"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
<meta name="description" content="">
<meta name="author" content="">
... | Ph0enixxx/MyOj | Public/index.html | HTML | apache-2.0 | 2,806 |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.parsing.console;
import com.intellij.lang.PsiBuilder;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyPsiBundle;
import com... | leafclick/intellij-community | python/python-psi-impl/src/com/jetbrains/python/parsing/console/PyConsoleParsingContext.java | Java | apache-2.0 | 7,502 |
/*
* 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 ... | OpenChaiSpark/OCspark | p2prdd/src/main/scala/com/pointr/spark/p2p/MllibImports.scala | Scala | apache-2.0 | 4,886 |
在 Ubuntu 15.04 上安装 Justniffer
================================================================================
### 简介 ###
[Justniffer][1] 是一个可用于替换 Snort 的网络协议分析器。它非常流行,可交互式地跟踪/探测一个网络连接。它能从实时环境中抓取流量,支持 “lipcap” 和 “tcpdump” 文件格式。它可以帮助用户分析一个用 wireshark 难以抓包的复杂网络。尤其是它可以有效的帮助分析应用层流量,能提取类似图像、脚本、HTML 等 http 内容。Justniffer 有助于... | zky001/TranslateProject | translated/tech/20150918 Install Justniffer In Ubuntu 15.04.md | Markdown | apache-2.0 | 4,830 |
#ifndef OPENSIM_PSIM_CONCRETE_PARAMETERS_H_
#define OPENSIM_PSIM_CONCRETE_PARAMETERS_H_
/* -------------------------------------------------------------------------- *
* OpenSim: ConcreteParameters.h *
* ---------------------------------------------------------------------... | chrisdembia/psim | PSim/ConcreteParameters.h | C | apache-2.0 | 3,578 |
/*
Copyright 2017, 2020 the Velero contributors.
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 wr... | heptio/ark | pkg/controller/backup_sync_controller.go | GO | apache-2.0 | 13,217 |
/*******************************************************************************
* Copyright 2011 Clockwork
*
* 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.ap... | MartinMulder/ebmsadapter | src/main/java/nl/clockwork/mule/ebms/dao/postgresql/EbMSDAOImpl.java | Java | apache-2.0 | 26,696 |
/**
* AdGroupAdService.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.adwords.axis.v201402.cm;
public interface AdGroupAdService extends javax.xml.rpc.Service {
public java.lang.String getAdGroupAdServiceIn... | nafae/developer | modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201402/cm/AdGroupAdService.java | Java | apache-2.0 | 678 |
package def
/*
A list of warehouse coordinates, as simple strings (they're serialized
as such).
FIXME this is really ambiguous vs `rio.SiloURI`, should probably try
to refactor to only be one.
*/
type WarehouseCoords []WarehouseCoord
type WarehouseCoord string
| subuser-security/repeatr | api/def/warehouse.go | GO | apache-2.0 | 268 |
package VMOMI::HostRuntimeInfo;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['connectionState', 'HostSystemConnectionState', 0, ],
['powerState', 'HostSystemPowerState', 0, ],
['standbyMode', undef, 0, 1],
['inMain... | stumpr/p5-vmomi | lib/VMOMI/HostRuntimeInfo.pm | Perl | apache-2.0 | 1,143 |
(function () {
'use strict';
angular.module('components.provider')
.controller('ProvidersController', Controller);
/** @ngInject */
function Controller() {
var ctrl = this;
ctrl.$onChanges = onChanges;
ctrl.doEvent = doEvent;
function onChanges(changes) {
if (changes.providers) {
... | boozallen/projectjellyfish | app/assets/javascripts/app/components/provider/providers/providers.controller.js | JavaScript | apache-2.0 | 546 |
from __future__ import unicode_literals
import datetime
import django
from django.utils.timezone import now
from django.test import TransactionTestCase
from mock import call, patch
from job.seed.metadata import SeedMetadata
from source.configuration.source_data_file import SourceDataFileParseSaver
from storage.model... | ngageoint/scale | scale/source/test/configuration/test_source_data_file.py | Python | apache-2.0 | 4,106 |
import { HorizontalScrollDirective } from './horizontal.scroll.directive';
import { ClearBoxDirective } from './clearbox.directive';
export const DIRECTIVES_DECLARATIONS: any[] = [
HorizontalScrollDirective,
ClearBoxDirective
];
| slamby/slamby-insight | src/app/common/directives/directives.module.ts | TypeScript | apache-2.0 | 238 |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | papicella/snappy-store | gemfirexd/tools/src/test/java/com/pivotal/gemfirexd/jdbc/offheap/OffheapBlobSetMethodsTest.java | Java | apache-2.0 | 3,090 |
/*
* Copyright 2016 HM Revenue & Customs
*
* 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 a... | ahudspith-equalexperts/ct-calculations | src/main/scala/uk/gov/hmrc/ct/computations/CP286.scala | Scala | apache-2.0 | 849 |
find|grep debug.apk >apklist.txt
cat apklist.txt |sed 's/^/adb install /g' >installall.sh
chmod +x *.sh
chmod +x ~/bin -R
./installall.sh
| bayvictor/distributed-polling-system | bin/adb_install_all_subdir_apk.sh | Shell | apache-2.0 | 157 |
package me.thenpush.rest;
import android.content.Context;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.IOException;
import me.thenpush.BuildConfig;
import me.thenpush.ConfigFetcher;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Res... | thenpush/thenpush-android | client/src/main/java/me/thenpush/rest/RestApi.java | Java | apache-2.0 | 2,282 |
/*!
* Start Bootstrap - Stylish Portfolio Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
/* Global Styles */
html,
body {
width: 100%;
height: 100%;
}
body {
font-family: "Source Sans Pro","H... | fstm/fstm.github.io | css/stylish-portfolio.css | CSS | apache-2.0 | 5,495 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Json;
using System.Text;
namespace CommunityHeart.Tools
{
public static class Json
{
public static T Deserialize<T>(string json)
{
var bytes = Encoding.Unicode.GetBytes(json);
... | danvy/communityheart | src/CommunityHeart.Shared/Tools/Json.cs | C# | apache-2.0 | 1,061 |
/*
* Copyright 2016 Dmitry Avtonomov.
*
* 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... | chhh/MSFTBX | MSFileToolbox/src/main/java/umich/ms/datatypes/LCMSData.java | Java | apache-2.0 | 12,150 |
/**
* Copyright (C) 2006-2013 phloc systems
* http://www.phloc.com
* office[at]phloc[dot]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/license... | lsimons/phloc-schematron-standalone | phloc-commons/src/test/java/com/phloc/commons/mock/MockExceptionTest.java | Java | apache-2.0 | 1,439 |
/*
* 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")... | machak/rave | rave-components/rave-web/src/main/java/org/apache/rave/portal/web/api/rest/RegionWidgetApi.java | Java | apache-2.0 | 4,904 |
/*
* Created by SharpDevelop.
* User: Andrei Mejov <andrei.mejov@gmail.com>
* Date: 13.01.2010
* Time: 21:35
*
*/
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Xml;
using System.IO;
namespace OneCService2
{
public class ServiceConfig : ConfigurationSe... | allustin/one-c-connectors | Projects/OneCService2/OneCService2/Config.cs | C# | apache-2.0 | 3,432 |
---
copyright:
years: 2015, 2016
lastupdated: "2016-10-22"
---
{:new_window: target="_blank"}
{:shortdesc: .shortdesc}
# Kundenunterstützung abrufen
{: #getting-customer-support}
Wenn Probleme mit {{site.data.keyword.Bluemix}} auftreten, stehen Ihnen unterschiedliche Unterstützungsoptionen zur Verfügung, z... | patsmith-ibm/docs | support/nl/de/index.md | Markdown | apache-2.0 | 30,997 |
package etcdutil
import (
"log"
"math/rand"
"path"
"strconv"
"time"
"github.com/coreos/go-etcd/etcd"
)
// heartbeat to etcd cluster until stop
func Heartbeat(client *etcd.Client, name string, taskID uint64, interval time.Duration, stop chan struct{}) error {
for {
_, err := client.Set(TaskHealthyPath(name, ... | fengjingchao/taskgraph | pkg/etcdutil/healthy.go | GO | apache-2.0 | 2,688 |
<!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><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>AbstractLogFactory xref</title>
<link type="tex... | hemingwang0902/doc.javake.cn | mybatis-generator-doc-zh/xref/org/mybatis/generator/logging/AbstractLogFactory.html | HTML | apache-2.0 | 4,038 |
package com.ecfront.ez.framework.test
import com.ecfront.ez.framework.core.EZManager
/**
* Mock EZ服务启动测试类,服务测试多继承此类
*/
trait MockStartupSpec extends BasicSpec {
def before():Unit={
EZManager.start()
}
before {
before()
}
test("Mock Start & shutdown flow") {
}
}
| gudaoxuri/ez-framework | services/test/src/main/scala/com/ecfront/ez/framework/test/MockStartupSpec.scala | Scala | apache-2.0 | 327 |
<!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:uncontracted_latency_test result</title>
<meta http-equiv="cache-control" content="no-cache"></meta>... | anne-france/finalproject | _build/test/logs/ct_run.nonode@nohost.2017-05-05_20.39.30/lib.lasp.lasp_SUITE.logs/run.2017-05-05_20.39.30/lasp_suite.uncontracted_latency_test.html | HTML | apache-2.0 | 9,665 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.