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 |
|---|---|---|---|---|---|
CLIENT_KEYSTORE_DIR=../client/src/main/resources
SERVER_KEYSTORE_DIR=../server/src/main/resources
CLIENT_KEYSTORE=$CLIENT_KEYSTORE_DIR/client-nonprod.jks
SERVER_KEYSTORE=$SERVER_KEYSTORE_DIR/server-nonprod.jks
JAVA_CA_CERTS=$JAVA_HOME/jre/lib/security/cacerts
# Generate a client and server RSA 2048 key pair
keytool -g... | joutwate/mtls-springboot | bin/gen-non-prod-key.sh | Shell | unlicense | 1,292 |
<!doctype html>
<html>
<title>npm</title>
<meta http-equiv="content-type" value="text/html;utf-8">
<link rel="stylesheet" type="text/css" href="../../static/style.css">
<body>
<div id="wrapper">
<h1><a href="../cli/npm.html">npm</a></h1> <p>node package manager</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2... | caplin/qa-browsers | nodejs/node_modules/npm/html/doc/cli/npm.html | HTML | unlicense | 7,619 |
package samples;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.event.ActionEvent;
import java.awt.image.BufferedImage;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.A... | terifan/ListView | src/samples/TestStyles.java | Java | unlicense | 7,926 |
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable, :recoverable,
:rememberable, :trackable, :validatable, :omniauthable,
omniauth_providers: [:facebook,... | jennyyuejin/projectFox | app/models/user.rb | Ruby | unlicense | 592 |
OUTNAME:=ina219.ovl
TARGET = eagle
ifndef PDIR # {
GEN_IMAGES= eagle.app.v6.out
GEN_BINS = eagle.app.v6.bin
SUBDIRS = main
endif # } PDIR
APPDIR = .
LDDIR = $(WEB_BASE)/ld
LD_FILE = $(LDDIR)/overlay.ld
DEPENDS_eagle.app.v6 = \
$(LD_FILE) \
$(LDDIR)/overlay.ld
COMPONENTS_eagle.app.... | pvvx/esp8266web | ovls/ina219/Makefile | Makefile | unlicense | 1,401 |
<?php
/**
* \Magento\Widget\Model\Widget\Instance
*
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Widget\Test\Unit\Model\Widget;
class InstanceTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\Widget\Model\Config\Data|P... | fathi-hindi/oneplace | vendor/magento/module-widget/Test/Unit/Model/Widget/InstanceTest.php | PHP | unlicense | 13,756 |
## Conversion to formula
Excel doesn't allow usage of `{{tag}}`, `<<tag>>` or `[[tag]]` inside formulas.
Therefore tag expressions can only be defined as standard text values.
But Templater recognizes special tag `[[equals]]` which causes conversion of the text field into formula.
Be careful to have all tags evaluat... | ngs-doo/TemplaterExamples | Beginner/ToFormulaConversion/Readme.md | Markdown | unlicense | 379 |
package de.incub8.tomeefreezetestcase;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Entity
@NoArgsConstructor
public class DerivedDataEntity
{
@Id
@GeneratedValue
private Long id;
pr... | JanDoerrenhaus/tomeefreezetestcase | src/main/java/de/incub8/tomeefreezetestcase/DerivedDataEntity.java | Java | unlicense | 449 |
#include<cstdio>
const int V=999;
char c[V][V],p[V];
int t;
char go(int v)
{
if(v==t)return 1;
if(p[v])return 0;
p[v]=1;
for(int i=1;i<=t;i++)
if(c[v][i]-- && go(i))
return ++c[i][v];
else c[v][i]++;
return 0;
}
int flow()
{
int i,f=0;
while(1)
{
for(i... | dk00/old-stuff | ntuj/0378.cpp | C++ | unlicense | 878 |
<?
include("db.inc.php");
$link = mysql_connect ("localhost", getUser(), getPassword())
or die ("Could not connect to MySQL Server");
mysql_select_db ("fsa", $link);
$sql = "SELECT * FROM servers";
$result = mysql_query ($sql, $link)
or die ("Query Died!");
while ($row = mysql_fetch_... | jeffrey-io/wall-of-shame | 2001/FileSharingAccelerator/Beta2/ServerSide/fetch_servers.php3 | PHP | unlicense | 480 |
<!doctype html>
<html lang="en" ng-app="TODOList">
<head>
<meta charset="utf-8">
<title>TODOList</title>
<link rel="stylesheet" href="css/app.css"/>
<link rel="stylesheet" href="css/animations.css"/>
<!-- jQuery -->
<script src="lib/jQuery/jquery-2.0.3.min.js"></script>
<!-- bootstrap -->
<script ... | Alessio22/TODOList | frontend/index.html | HTML | unlicense | 1,290 |
# Re-implementing common Unix utilities such as
- cat(1)
- ls(1)
- grep(1)
- wc(1)
- nc(1)
- bash(1)
So that I understand Unix better.
# TODO
- argument parsing
- usage output (--help)
| tlehman/unix_utils | README.md | Markdown | unlicense | 197 |
/*
* sprite.h
*
* Created on: Sep 8, 2013
* Author: drb
*/
#ifndef SPRITE_H_
#define SPRITE_H_
#include <vector>
#include "../util/Point.h"
#include "ISprite.h"
class sprite : public ISprite
{
public:
sprite();
virtual ~sprite();
virtual void render (double delta , SDL_Renderer* rednerer , SDL... | zyphrus/asteroids | render/sprite.h | C | unlicense | 797 |
import java.util.Scanner;
public class Question5_44a
{
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
System.out.println("Enter an integer. ");
int input = scanner.nextInt();
String output = "";
for (int i = 1; i <= 16; i++)
{
output = (input & 1) + output;
input... | SubhamSatyajeet/JavaRough | Liang/Chapter5/Question5_44a.java | Java | unlicense | 392 |
<!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="">
<meta name="author" content="">
<!-- <title>Curso Bíblico - A Bíblia Fala - Estudo 1</title> -->
<!-- Bootstrap core CSS --... | kfazolin/biblia | language/pt_br/teste.html | HTML | unlicense | 2,456 |
package be.normegil.librarium.model.dao;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
UTUniverseDatabaseDAOSafety.class,
UTUniverseDatabaseDAO.class
})
public class UniverseDatabaseDAOTestSuite {
} | Normegil/Librarium-Server | src/test/java/be/normegil/librarium/model/dao/UniverseDatabaseDAOTestSuite.java | Java | unlicense | 267 |
#include<cstdio>
int main(int argc, char **argv) {
unsigned int port = 65637, id = 257;
bool topo = false;
for (i = 1; i + 1 < argc; ++i) {
if (!strcmp(argv[i], "-p"))
sscanf(argv[++i], &port);
else if (!strcmp(argv[i], "-t"))
topo |= serv.Load(argv[++i]);
else if (!strcmp(argv[i], "-d"))
... | dk00/old-stuff | csie/10computer-networks/3x/main.cpp | C++ | unlicense | 654 |
#include <bits/stdc++.h>
using namespace std;
#pragma comment(linker,"/stack:1024000000,1024000000")
#define db(x) cout<<(x)<<endl
#define pf(x) push_front(x)
#define pb(x) push_back(x)
#define mp(x,y) make_pair(x,y)
#define ms(x,y) memset(x,y,sizeof x)
typedef long long LL;
const double pi=acos(-1),eps=1e-9;
const LL ... | QAQrz/ACM-Codes | CodeForces/851/A - Arpa and a research in Mexican wave.cpp | C++ | unlicense | 522 |
using System;
using System.Runtime.Serialization;
namespace Hibernation
{
/// <summary>
/// Represents errors that occur during Hibernation session management.
/// </summary>
[Serializable]
public class HibernationException : Exception
{
/// <summary>
/// Initializes a new inst... | malorisdead/Hibernation | Hibernation/HibernationException.cs | C# | unlicense | 2,732 |
package com.mobium.client.api.networking;
import com.mobium.reference.utils.executing.ExecutingException;
import org.json.JSONObject;
/**
* on 15.10.15.
*/
public interface IExtraApiInterface extends ApiInterface {
JSONObject DoApiRequest(String method, JSONObject args, JSONObject extra) throws NetworkingExce... | naebomium/android | app/src/main/java/com/mobium/client/api/networking/IExtraApiInterface.java | Java | unlicense | 383 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FasmDebug
{
struct FasHeader
{
public uint Signature;
public byte MajorVersion;
public byte MinorVersion;
public ushort HeaderLength;
public uint InputNameOffset;
publi... | Rohansi/LoonyVM | Tools/fasconvert/Program.cs | C# | unlicense | 16,319 |
#/**
# * 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... | venkatsatish/incubator-singa | thirdparty/install.sh | Shell | apache-2.0 | 13,556 |
/*
* Copyright 2015 Schedo 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 applic... | ipalermo/schedo | android/src/main/java/com/ncode/android/apps/schedo/gcm/GCMCommand.java | Java | apache-2.0 | 813 |
package com.likebamboo.osa.android.request;
import android.text.TextUtils;
import com.android.volley.Request;
import com.android.volley.Response;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.Map;
/**
* Created by likebamboo on 2015/5/12.
*/
public abstract class BaseRequest<T> exte... | likebamboo/AndroidBlog | app/src/main/java/com/likebamboo/osa/android/request/BaseRequest.java | Java | apache-2.0 | 2,200 |
package com.devin.util;
import android.content.Context;
import android.media.AudioManager;
/**
* <p>Description:
* <p>Company:
* <p>Email:bjxm2013@163.com
* <p>Created by Devin Sun on 2017/11/6.
*/
public class SpeakerUtils {
/**
* 扬声器开关
* @param context
* @param enableSpeaker 是否打开扬声器,true:打... | sundevin/utilsLibrary | utilslibrary/src/main/java/com/devin/util/SpeakerUtils.java | Java | apache-2.0 | 1,961 |
package com.taobao.tddl.repo.bdb.executor;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Future;
import com.taobao.tddl.common.exception.TddlException;
import com.taobao.tddl.common.model.Group;
import com.taobao.tddl.common.model.lifecycle.AbstractLifecycle;
imp... | sdgdsffdsfff/tddl | tddl-repo-bdb/src/main/java/com/taobao/tddl/repo/bdb/executor/BDBGroupExecutor.java | Java | apache-2.0 | 6,080 |
package scalacookbook.chapter04
/**
* Created by liguodong on 2016/6/30.
*/
object ProvideDefaultValueForConstructParam extends App{
import section05._
val s = new Socket
println(s.timeout)
val s2 = new Socket(5000)
println(s2.timeout)
val s3 = new Socket(timeout=5000)
println(s3.timeout)
//Di... | liguodongIOT/java-scala-mix-sbt | src/main/scala/scalacookbook/chapter04/ProvideDefaultValueForConstructParam.scala | Scala | apache-2.0 | 1,176 |
/*
* Copyright 2022 Crown Copyright
*
* 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... | gchq/stroom | stroom-lmdb/src/main/java/stroom/bytebuffer/ByteBufferSupport.java | Java | apache-2.0 | 4,197 |
/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
// private
// This is a support class used internally by the Grid components
Ext.grid.HeaderDragZone = Ext.extend(Ext.dd.DragZone, {
maxDragWidth: 120,
constructor : fun... | ahwxl/cms | icms/src/main/webapp/res/extjs/src/widgets/grid/ColumnDD.js | JavaScript | apache-2.0 | 6,400 |
---
title: "Streaming File Sink"
nav-title: Streaming File Sink
nav-parent_id: connectors
nav-pos: 5
---
<!--
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 ... | greghogan/flink | docs/dev/connectors/streamfile_sink.md | Markdown | apache-2.0 | 32,733 |
{% extends 'herders/profile/data_logs/base.html' %}
{% load static crispy_forms_tags %}
{% block css %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.45/css/bootstrap-datetimepicker.min.css" />
{% endblock css %}
{% block logs %}
<div class="panel panel-default"... | PeteAndersen/swarfarm | herders/templates/herders/profile/data_logs/base_table.html | HTML | apache-2.0 | 877 |
/*
* 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 ... | kkhatua/drill | exec/java-exec/src/test/java/org/apache/drill/TestFunctionsQuery.java | Java | apache-2.0 | 47,791 |
:host {
--light-grey: hsl(0 0% 90%);
--grey: hsl(0 0% 60%);
--dark-grey: hsl(0 0% 40%);
}
| GoogleChromeLabs/ProjectVisBug | app/components/hotkey-map/base.element_light.css | CSS | apache-2.0 | 96 |
#pragma once
class COrderItem
{
public:
COrderItem(void);
~COrderItem(void);
public:
CString orderID;
CString orderTel;
CString orderStatus;
CString orderType;
float orderPayed;
float orderDiscount;
int orderBig;
int orderSmall;
CString orderName;
int iIndex;
};
| DanielShangHai/ChangxipuOrderManager | ChangxipuAdmin/ChangxipuAdmin/OrderItem.h | C | apache-2.0 | 297 |
/**
* Copyright 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 applicable law ... | googlecodelabs/android-smart-lock | app/src/main/java/com/google/codelab/smartlock/SplashFragment.java | Java | apache-2.0 | 1,068 |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
?>
<div class="large">
<div class="center">
<?php echo _('Search series'); ?>:<br/>
<?php
echo form_open("search/");
echo form_input(array('name' => 'search', 'placeholder' => _('To search series, type and hit enter'), 'id' => 'searchbox... | FoolCode/FoOlSlide | content/themes/default/views/search_pre.php | PHP | apache-2.0 | 366 |
'use strict';
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
process.stdin.on('data', inputStdin => {
inputString += inputStdin;
});
process.stdin.on('end', _ => {
inputString = inputString.trim().split('\n').map(string => {
return string.trim(... | MithileshCParab/HackerRank-10DaysOfStatistics | Tutorials/10 Days Of Javascript/Day 3/try_catch_finally.js | JavaScript | apache-2.0 | 907 |
# -*- coding: utf-8 -*-
# Copyright 2022 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... | googleapis/python-analytics-data | samples/generated_samples/analyticsdata_v1beta_generated_beta_analytics_data_batch_run_pivot_reports_async.py | Python | apache-2.0 | 1,518 |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v8/enums/campaign_status.proto
namespace Google\Ads\GoogleAds\V8\Enums;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Container for enum des... | googleads/google-ads-php | src/Google/Ads/GoogleAds/V8/Enums/CampaignStatusEnum.php | PHP | apache-2.0 | 856 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | semonte/intellij-community | platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonCodeAnalyzerImpl.java | Java | apache-2.0 | 39,395 |
//
// SheetWindowController.h
// b-music
//
// Created by Sergey P on 02.10.13.
// Copyright (c) 2013 Sergey P. 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 Softwa... | Serjip/b-music | b-music/SheetWindowController.h | C | apache-2.0 | 1,903 |
<!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_25) on Fri Jun 05 10:51:23 EDT 2015 -->
<title>Uses of Class org.apache.cassandra.hadoop.cql3.CqlBulkOutputFormat (apache-cassandra API)</title... | Jcamilorada/Cassandra | Instalacion/javadoc/org/apache/cassandra/hadoop/cql3/class-use/CqlBulkOutputFormat.html | HTML | apache-2.0 | 4,751 |
package comm
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestQueryType_String(t *testing.T) {
assert.Equal(t, "REQUEST", Request.String())
assert.Equal(t, "RESPONSE", Response.String())
}
func TestOutcome_String(t *testing.T) {
assert.Equal(t, "SUCCESS", Success.String())
assert.Equal(t, "E... | drausin/libri | libri/librarian/server/comm/outcomes_test.go | GO | apache-2.0 | 629 |
package org.tendons.manager;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/... | wind-clothes/tendons | tendons-manager/src/test/java/org/tendons/manager/AppTest.java | Java | apache-2.0 | 685 |
package com.jpettersson.wearify;
import android.content.Context;
import android.net.Uri;
import android.util.Log;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.common.data.FreezableUtils;
import com.google.android.gms.wea... | jpettersson/wearify | wear/src/main/java/com/jpettersson/wearify/DataLayerListenerService.java | Java | apache-2.0 | 2,265 |
/*
* Copyright 2016 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | lsmaira/gradle | subprojects/launcher/src/main/java/org/gradle/launcher/exec/RunAsBuildOperationBuildActionRunner.java | Java | apache-2.0 | 2,807 |
/* @flow */
import React, { PureComponent } from 'react';
import { checkCompatibility } from '../api';
import CompatibilityScreen from '../start/CompatibilityScreen';
export default class CompatibilityChecker extends PureComponent {
state = {
compatibilityCheckFail: false,
};
componentDidMount() {
chec... | nashvail/zulip-mobile | src/boot/CompatibilityChecker.js | JavaScript | apache-2.0 | 634 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ru">
<head>
<title>AxisLineFormatRecord (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script... | pedro93/ifarmaStudents | poi-3.10-FINAL/docs/apidocs/org/apache/poi/hssf/record/chart/AxisLineFormatRecord.html | HTML | apache-2.0 | 22,617 |
// Package logic implements the Azure ARM Logic service API version 2016-06-01.
//
// REST API for Azure Logic Apps.
package logic
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance w... | colemickens/azure-sdk-for-go | arm/logic/client.go | GO | apache-2.0 | 4,778 |
/* Generic definitions */
/* Assertions (useful to generate conditional code) */
/* Current type and class (and size, if applicable) */
/* Value methods */
/* Interfaces (keys) */
/* Interfaces (values) */
/* Abstract implementations (keys) */
/* Abstract implementations (values) */
/* Static containers (keys) */
/... | karussell/fastutil | src/it/unimi/dsi/fastutil/ints/Int2ReferenceMaps.java | Java | apache-2.0 | 14,114 |
/*
* Copyright 2014 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | fariagu/dashbuilder | dashbuilder-backend/dashbuilder-dataset-sql/src/test/java/org/dashbuilder/dataprovider/sql/SQLTableDataSetLookupTest.java | Java | apache-2.0 | 13,322 |
package com.google.android.apps.forscience.whistlepunk.cloudsync;
import android.content.Context;
import java.io.IOException;
/** An interface that defines a service used to sync data to and from a cloud storage provider. */
public interface CloudSyncManager {
/** Syncs the Experiment Library file to cloud storage... | googlearchive/science-journal | OpenScienceJournal/whistlepunk_library/src/main/java/com/google/android/apps/forscience/whistlepunk/cloudsync/CloudSyncManager.java | Java | apache-2.0 | 492 |
#!/usr/bin/env python3
# coding=utf-8
"""
This module, debugging.py, will contain code related to debugging (such as printing error messages).
"""
#import sys
#sys.path.insert(0, '/home/dev_usr/urbtek')
#from universal_code import system_operations as so
class MyException(Exception):
"""
Just something useful to ... | utarsuno/urbtek | universal_code/debugging.py | Python | apache-2.0 | 2,265 |
package cs.si.stavor.settings;
import cs.si.stavor.R;
import cs.si.stavor.MainActivity;
import cs.si.stavor.StavorApplication;
import android.app.Activity;
import android.os.Bundle;
import android.preference.PreferenceFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGrou... | CS-SI/Stavor | stavor/src/main/java/cs/si/stavor/settings/SettingsGeneralFragment.java | Java | apache-2.0 | 1,968 |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | pwoodworth/intellij-community | platform/platform-impl/src/com/intellij/openapi/components/impl/stores/StorageUtil.java | Java | apache-2.0 | 15,918 |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_0940 {
}
| lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_0940.java | Java | apache-2.0 | 151 |
//
// UIImage+AKCryptography.h
// AmazeKit
//
// Created by Jeff Kelley on 8/13/12.
// Copyright (c) 2013 Detroit Labs. 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 Li... | detroit-labs/AmazeKit | AmazeKit/AmazeKit/UIImage+AKCryptography.h | C | apache-2.0 | 809 |
package com.github.yuukis.businessmap.util;
public class StringJUtils {
private static final char[] HANKAKU_KATAKANA = { '。', '「', '」', '、', '・',
'ヲ', 'ァ', 'ィ', 'ゥ', 'ェ', 'ォ', 'ャ', 'ュ', 'ョ', 'ッ', 'ー', 'ア', 'イ',
'ウ', 'エ', 'オ', 'カ', 'キ', 'ク', 'ケ', 'コ', 'サ', 'シ', 'ス', 'セ', 'ソ',
'タ', 'チ', 'ツ', 'テ', 'ト', ... | yuukis/businessmap | src/com/github/yuukis/businessmap/util/StringJUtils.java | Java | apache-2.0 | 4,463 |
/*******************************************************************************
*
* Copyright 2011-2014 Spiffy UI 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
*
... | spiffyui/spiffyui | spiffyui/src/main/java/org/spiffyui/client/rest/RESTLoginCallBack.java | Java | apache-2.0 | 1,518 |
"""Tests for the kraken sensor platform."""
from datetime import timedelta
from unittest.mock import patch
from pykrakenapi.pykrakenapi import KrakenAPIError
from homeassistant.components.kraken.const import (
CONF_TRACKED_ASSET_PAIRS,
DEFAULT_SCAN_INTERVAL,
DEFAULT_TRACKED_ASSET_PAIR,
DOMAIN,
)
from ... | lukas-hetzenecker/home-assistant | tests/components/kraken/test_sensor.py | Python | apache-2.0 | 9,736 |
var nock = require('nock')
//, sinon = require('sinon')
, chai = require('chai')
, fixtures = require('./portal-fixtures')
, EsriPortal = require('../index');
var expect = chai.expect;
var scope;
var prodUrl = 'https://www.arcgis.com';
describe('search ', function () {
beforeEach(function()... | dbouwman/esri-portal-api | test/search.spec.js | JavaScript | apache-2.0 | 3,577 |
# Cochlearia lancifolia Stokes SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Brassicales/Brassicaceae/Cochlearia/Cochlearia lancifolia/README.md | Markdown | apache-2.0 | 178 |
# Opuntia zacana Howell SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Cactaceae/Opuntia/Opuntia zacana/README.md | Markdown | apache-2.0 | 171 |
# Stilpnopappus pratensis var. crotonifolius Mart. ex DC. VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Stilpnopappus pratensis/Stilpnopappus pratensis crotonifolius/README.md | Markdown | apache-2.0 | 205 |
# Carpocanistrum cephalum Haeckel, 1887 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Haeckel, E. (1887). Report on the Radiolaria collected by H. M. S. Challenger during the years 1873-76. London: Eyre & Spottiswoode.
#### Original name
null
### Remarks
n... | mdoering/backbone | life/Chromista/Radiozoa/Nassellaria/Carpocaniidae/Carpocanistrum/Carpocanistrum cephalum/README.md | Markdown | apache-2.0 | 323 |
# Porphyra augustinae Kützing SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Rhodophyta/Bangiophyceae/Bangiales/Bangiaceae/Porphyra/Porphyra augustinae/README.md | Markdown | apache-2.0 | 186 |
# Marasmius schulzeri Quél. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Marasmius schulzeri Quél.
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Marasmiaceae/Marasmius/Marasmius schulzeri/README.md | Markdown | apache-2.0 | 181 |
/**
* Copyright 2017 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | wjfang/amphtml | ads/google/imaVideo.js | JavaScript | apache-2.0 | 33,640 |
import * as _ from 'lodash';
import { Component } from '@angular/core';
import {HeroesService} from "../../services/heroes-service";
@Component({
selector: 'home',
templateUrl: './home.component.html'
})
export class HomeComponent {
public heroes = [];
constructor(private heroesService: HeroesService) {
t... | mmayorivera/ng-preloader | src/app/components/home/home.component.ts | TypeScript | apache-2.0 | 569 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: z-index parsing - decimal value</title>
<meta name="assert" content="An integer value for z-index must be used" />
<style type="... | jameshopkins/ie8-bugs | tests/zindex-decimal.html | HTML | apache-2.0 | 914 |
package com.orangeclk.service;
import com.orangeclk.model.entity.CityEntity;
import java.util.Optional;
/**
* Created by orangeclk on 1/9/17.
*/
public interface CityService {
Optional<CityEntity> findByName(String name);
CityEntity save(String name);
CityEntity findOne(int id);
}
| orangeclk/huiyin | src/main/java/com/orangeclk/service/CityService.java | Java | apache-2.0 | 299 |
/**
*
* Copyright (C) 2014 Ash (Tuxdude) <tuxdude.github@gmail.com>
*
* This file is part of logback-colorizer.
*
* 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://... | Tuxdude/logback-colorizer | colorizer/src/test/java/org/tuxdude/logback/extensions/tests/package-info.java | Java | apache-2.0 | 880 |
<html>
<body>
This inspection reports synchronization on static fields. While not strictly incorrect,
synchronization on static fields can lead to bad performance because of contention.
<p>
<small>New in 10, Powered by InspectionGadgets</small>
</body>
</html>
| joewalnes/idea-community | plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizationOnStaticField.html | HTML | apache-2.0 | 261 |
/*
* 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 "l... | mhurne/aws-sdk-java | aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/transform/DescribeReplicationTasksRequestMarshaller.java | Java | apache-2.0 | 4,015 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MEPH.util.FileWatcher
{
class Program
{
static FileWatcherManager fileWatcherManager;
static void Main(string[] args)
{
fileWatcherManager = new Fil... | mephisto83/FileWatcher | MEPH.util.FileWatcher/MEPH.util.FileWatcher/Program.cs | C# | apache-2.0 | 521 |
package com.altarit.berry.persist.service.impl;
import com.altarit.berry.model.entity.User;
import com.altarit.berry.persist.dao.UserDao;
import com.altarit.berry.persist.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.spring... | altarit/spring-berry | berry-parent/berry-persist/src/main/java/com/altarit/berry/persist/service/impl/UserServiceImpl.java | Java | apache-2.0 | 1,684 |
/**
* (c) Copyright 2016 Admios. The software in this package is published under the terms of the Apache License Version 2.0, a copy of which has been included with this distribution in the LICENSE.md file.
*/
package org.mule.modules.watsonalchemylanguage.model;
import org.mule.api.annotations.param.Optional;
/**
... | Admios/watson-alchemy-language-connector | src/main/java/org/mule/modules/watsonalchemylanguage/model/SentimentAnalysisRequest.java | Java | apache-2.0 | 2,670 |
/*
Copyright 2013 Demon Developers Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writin... | slightfoot/android-tandem-scroll | Library/src/com/demondevelopers/tandemscroll/TandemController.java | Java | apache-2.0 | 1,510 |
<!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.5.0_11) on Tue Jun 12 22:14:09 BST 2007 -->
<TITLE>
All Classes
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
... | wjsrobertson/j2menace | AsteroidBelt/docs/javadoc/AsteroidBelt-0.0.1-javadoc/allclasses-frame.html | HTML | apache-2.0 | 3,279 |
/*******************************************************************************
* Copyright 2019 See AUTHORS file
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apac... | mini2Dx/mini2Dx | ui/src/main/java/org/mini2Dx/ui/effect/SlideDirection.java | Java | apache-2.0 | 894 |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2013, GridWay Project Leads (GridWay.org) */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | GridWay/gridway | src/drmaa/drmaa1.0/org/ggf/drmaa/SimpleJobTemplate.java | Java | apache-2.0 | 33,332 |
<!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 Fri Apr 06 09:47:29 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | wildfly-swarm/wildfly-swarm-javadocs | 2018.4.2/apidocs/org/wildfly/swarm/config/webservices/class-use/EndpointConfig.EndpointConfigResources.html | HTML | apache-2.0 | 7,674 |
<!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_60) on Thu Nov 05 22:43:47 MST 2015 -->
<title>Uses of Class ca.ualberta.cs.swapmyride.EditProfileActivity</title>
<meta name="date" content="2... | CMPUT301F15T05/cuddly-quack | Documentation/JavaDoc/ca/ualberta/cs/swapmyride/class-use/EditProfileActivity.html | HTML | apache-2.0 | 4,273 |
package com.caul.modules.sys.controller;
import com.caul.modules.base.AdminBaseController;
import net.sf.json.JSONObject;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Created by BlueDream on 2016-05-29.
*/
@RestController
public ... | sdliang1013/account-import | src/main/java/com/caul/modules/sys/controller/PermissionController.java | Java | apache-2.0 | 637 |
"""
pluginconf.d configuration file - Files
=======================================
Shared mappers for parsing and extracting data from
``/etc/yum/pluginconf.d/*.conf`` files. Parsers contained
in this module are:
PluginConfD - files ``/etc/yum/pluginconf.d/*.conf``
---------------------------------------------------... | RedHatInsights/insights-core | insights/parsers/pluginconf_d.py | Python | apache-2.0 | 3,141 |
from cobra.core.loading import get_model
from cobra.core import json
class UserConfig(object):
default_config = {
'guide.task.participant': '1',
'guide.document.share': '1',
'guide.customer.share': '1',
'guide.workflow.operation': '1',
'guide.workflow.createform': '1',
... | lyoniionly/django-cobra | src/cobra/core/configure/user_config.py | Python | apache-2.0 | 1,284 |
extern crate byteorder;
use byteorder::{ByteOrder, BigEndian};
use std::io::{Read, Write, Result};
/// A byte buffer object specifically turned to easily read and write binary values
pub struct ByteBuffer {
data: Vec<u8>,
wpos: usize,
rpos: usize,
rbit: usize,
wbit: usize,
}
impl ByteBuffer {
... | mmitteregger/rust-bytebuffer | src/lib.rs | Rust | apache-2.0 | 14,910 |
package com.baidu.beidou.navi.client.attachment;
import com.baidu.beidou.navi.server.vo.RequestDTO;
import com.baidu.beidou.navi.util.StringUtil;
/**
* ClassName: AuthAttachmentHandler <br/>
* Function: 带有权限处理的handler
*
* @author Zhang Xu
*/
public class AuthAttachmentHandler implements AttachmentHandler {
... | neoremind/navi | navi/src/main/java/com/baidu/beidou/navi/client/attachment/AuthAttachmentHandler.java | Java | apache-2.0 | 1,909 |
/*
* Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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
... | opensingular/singular-server | requirement/requirement-sei-30-connector/src/main/java/org/opensingular/requirement/connector/sei30/ws/ArrayOfUnidade.java | Java | apache-2.0 | 2,461 |
// 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/ver14/OFBsnPduTxRequestVer14.java | Java | apache-2.0 | 18,089 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
* Copyright (c) 2012, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Apache License, version 2.0. The full text of the Apache License is at
* http://www.apache.org/l... | pplaquette/webapps-sweetspot | index.html | HTML | apache-2.0 | 6,531 |
<!--[metadata]>
+++
title = "Using Compose with Swarm"
description = "How to use Compose and Swarm together to deploy apps to multi-host clusters"
keywords = ["documentation, docs, docker, compose, orchestration, containers, swarm"]
[menu.main]
parent="workw_compose"
+++
<![end-metadata]-->
# Using Compose with Swar... | denverdino/compose | docs/swarm.md | Markdown | apache-2.0 | 6,047 |
<?php
declare(strict_types=1);
namespace Framework\Syscrack\Game\Softwares;
/**
* Lewis Lancaster 2017
*
* Class Firewall
*
* @package Framework\Syscrack\Game\Softwares
*/
use Framework\Syscrack\Game\Bases\BaseSoftware;
/**
* Class Firewall
* @package Framework\Syscrack\Game\Softwares
*/
cla... | dialtoneuk/Syscrack2017 | src/Syscrack/Game/Softwares/Firewall.php | PHP | apache-2.0 | 638 |
/*
* Copyright 2013 The GDG Frisbee Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | gdgjodhpur/gdgapp | app/src/main/java/org/gdg/frisbee/android/app/GdgVolley.java | Java | apache-2.0 | 3,200 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ChocolateyChecksumType - FAKE - F# Make</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Steffen Forkmann, Mauricio Scheffer,... | kirill-gerasimenko/fseye | packages/FAKE/docs/apidocs/fake-choco-chocolateychecksumtype.html | HTML | apache-2.0 | 9,264 |
package com.quakearts.appbase.test.experiments;
public interface TestSubInject {
void doSomething();
}
| kwakutwumasi/Quakearts-JSF-Webtools | qa-appbase/src/test/java/com/quakearts/appbase/test/experiments/TestSubInject.java | Java | apache-2.0 | 105 |
/**
* Copyright 2015-2016 Debmalya Jash
* <p/>
* 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
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unless required by applicabl... | debmalya/mapDB | src/main/java/scrapper/ThoughtOfTheDay.java | Java | apache-2.0 | 2,360 |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Noef.UnitTests")]
[assembly: Assem... | sam-meacham/Noef | src/Noef.UnitTests/Properties/AssemblyInfo.cs | C# | apache-2.0 | 1,418 |
Score
=====
Simple & scalable orchestration engine
| dimarassin/Score | README.md | Markdown | apache-2.0 | 56 |
<!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... | dcarda/aba.route.validator | target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_13b_testAbaNumberCheck_27622_bad_d3k.html | HTML | apache-2.0 | 10,990 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.