code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
/**
* @(#)MediaExportParameters.java
*
* This file is part of the Non-Linear Book project.
* Copyright (c) 2012-2016 Anton P. Kolosov
* Authors: Anton P. Kolosov, et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version... | Java |
# Friend Chat
Friend Chat is a chat integration platform for Friend. It is built to make
it fairly straightforward to add access to 3rd party chat APIs. It is a
client - server architecture where the server handles the connection to the
remote API and presents the content to the client. Multiple clients can
be connect... | Java |
<!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="all"... | Java |
<div align="center" class="heading_gray">
<h3>User Registration</h3>
</div>
<br/>
<?php echo form_open('user/user_registration/userinsert', array('id' => 'formUser'));
echo blue_box_top();
?>
<table width="100%" border="0" cellspacing="0" cellpadding="4" align="center" class="heading_tab" style="margin-top:15p... | Java |
jaleela_protestor_leader = Creature:new {
objectName = "",
socialGroup = "thug",
faction = "thug",
level = 17,
chanceHit = 0.320000,
damageMin = 180,
damageMax = 190,
baseXp = 1102,
baseHAM = 2400,
baseHAMmax = 3000,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType = "",
meatAmount = 0,
hideType = ""... | Java |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateOauthAuthCodesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('oauth_au... | Java |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { AppModule } from '../../../../app.module';
import { MAT_DIALOG_DATA, MatDialog, MatDialogRef } from '@angular/material';
import { ConfirmDialogComponent } from './confirm-dialog.component';
describe('ConfirmDialogComponent', () => {
... | Java |
{% extends 'task/default.html' %}
{% block task-content %}
<dl class="task__data">
{% if task.category %}
<dt>Category</dt>
<dd>{{ task.get_category_display }}</dd>
{% endif %}
{% if task.text %}
<dt>Message</dt>
<dd>{{task.text}}</dd>
{% endif %}
{% if task.user %}
... | Java |
require 'spec_helper'
require 'rollbar/middleware/sinatra'
require 'sinatra/base'
require 'rack/test'
class SinatraDummy < Sinatra::Base
class DummyError < StandardError; end
use Rollbar::Middleware::Sinatra
get '/foo' do
raise DummyError.new
end
get '/bar' do
'this will not crash'
end
post '... | Java |
/*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2020 Asqatasun.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at y... | Java |
'use strict';
var phonetic = require('phonetic');
var socketio = require('socket.io');
var _ = require('underscore');
var load = function(http) {
var io = socketio(http);
var ioNamespace = '/';
var getEmptyRoomId = function() {
var roomId = null;
do {
roomId = phoneti... | Java |
#pragma once
class cosmos;
#include "game/transcendental/step_declaration.h"
class position_copying_system {
public:
void update_transforms(const logic_step step);
}; | Java |
# Does it have wifi?
## Development
Requires **Node 0.12+**.
Install:
```bash
$ npm install -g gulp
$ npm install
```
Run server with auto-reload (without minification):
```bash
$ gulp
```
To force minification of assets (build takes a bit longer) include the `--minified` flag:
```bash
$ gulp --minified
```
##... | Java |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
</head>
<body bgcolor="white">
Provides test classes.
</body>
</html>
| Java |
ALTER TABLE `album` CHANGE fichier fichier varchar(250); | Java |
/*
* Fluffy Meow - Torrent RSS generator for TV series
* Copyright (C) 2015 Victor Denisov
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (... | Java |
require_relative 'api_fixtures_helper'
class FakeApiResponse
include ApiFixturesHelper
def app_init
parse(app_init_plist)
end
def all_cinemas
parse(all_cinemas_plist)
end
def film_times(cinema_id, film_id)
parse(film_times_plist(cinema_id, film_id))
end
end
| Java |
# ETConf -- web-based user-friendly computer hardware configurator
# Copyright (C) 2010-2011 ETegro Technologies, PLC <http://etegro.com/>
# Sergey Matveev <sergey.matveev@etegro.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero... | Java |
/*
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
* Copyright (c) 2016-2017 metaverse core developers (see MVS-AUTHORS)
*
* This file is part of metaverse.
*
* metaverse is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* ad... | Java |
module BABYLON {
export class Animation {
private _keys: Array<any>;
private _offsetsCache = {};
private _highLimitsCache = {};
private _stopped = false;
public _target;
private _easingFunction: IEasingFunction;
public targetPropertyPath: string[];
p... | Java |
//
//{block name="backend/create_backend_order/view/toolbar"}
//
Ext.define('Shopware.apps.SwagBackendOrder.view.main.Toolbar', {
extend: 'Ext.toolbar.Toolbar',
alternateClassName: 'SwagBackendOrder.view.main.Toolbar',
alias: 'widget.createbackendorder-toolbar',
dock: 'top',
ui: 'shopware-ui',
... | Java |
/**
* This file is part of mycollab-services.
*
* mycollab-services 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.
*
* mycolla... | Java |
/*
* jHears, acoustic fingerprinting framework.
* Copyright (C) 2009-2010 Juha Heljoranta.
*
* This file is part of jHears.
*
* jHears is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either ver... | Java |
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
... | Java |
/*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | Java |
## Device Admin user stories
#### Install app on device
#### Register app with right instance
#### Sign in to app
#### Create, update, delete enumerator users on the app
#### Clean data from the app
#### Check daily work of enumerators
#### Manual backup of data
#### Manual upload of data
| Java |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/transitional.dtd">
<html><head>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="estilos.css" />
<title> Indice de Ley Orgánica de Educación Enmarcada en los Der... | Java |
package io.github.jhg543.mellex.operation;
import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import io.github.jhg543.mellex.ASTHelper.*;
import io.github.jhg543.mellex.antlrparser.DefaultSQLBaseListener;
import io.github.jhg543.mellex.antlrparser.DefaultSQLLexer;
import io.github.jhg... | Java |
require 'open_food_network/referer_parser'
module Admin
class EnterprisesController < ResourceController
before_filter :load_enterprise_set, :only => :index
before_filter :load_countries, :except => [:index, :register, :check_permalink]
before_filter :load_methods_and_fees, :only => [:new, :edit, :update... | Java |
# Slight modification from: https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
# Assumes there is Orchestrator like Nomad to handle process dying :P
FROM node:boron
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Copy source code over (including package.json)
COPY ./Code /usr/src/app
# and Yarn it
# and Set t... | Java |
---
"layout": contract
"datum podpisu": 2020-07-01
"datum účinnosti": 2020-07-01
"datum ukončení": 0000-00-00
"title": "NDA - Blanka Lednická"
"použité smluvní typy":
- NDA
"předmět": "Dohoda o ochraně důvěrných informací"
"stav": V plnění
"náklady": 0
"místo uložení": Centrální spisovna
"smluvní strany":
-
"jméno... | Java |
package com.neverwinterdp.scribengin.dataflow.example.wire;
import java.util.Properties;
import com.neverwinterdp.message.Message;
import com.neverwinterdp.scribengin.dataflow.DataSet;
import com.neverwinterdp.scribengin.dataflow.Dataflow;
import com.neverwinterdp.scribengin.dataflow.DataflowDescriptor;
import com.ne... | Java |
package com.gmail.nossr50.commands.party;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.commands.CommandHelper;
impo... | Java |
DELETE FROM `weenie` WHERE `class_Id` = 46553;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (46553, 'ace46553-oyoroisandals', 2, '2019-02-10 00:00:00') /* Clothing */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (46553, 1, 2) /* ItemType - Ar... | Java |
import { TYPES } from 'core/app/types'
import { StateManager } from 'core/dialog'
import { ContainerModule, interfaces } from 'inversify'
import { DecisionEngine } from './decision-engine'
import { DialogEngine } from './dialog-engine'
import { FlowService } from './flow/flow-service'
import { FlowNavigator } from './... | Java |
/*
uSquare 1.0 - Universal Responsive Grid
Copyright (c) 2012 Br0 (shindiristudio.com)
Project site: http://codecanyon.net/
Project demo: http://shindiristudio.com/usquare/
*/
(function($) {
function uSquareItem(element, options) {
this.$item = $(element);
this.$parent = options.$parent;
this.opti... | Java |
var searchData=
[
['backtrace',['backtrace',['../class_logger.html#a5deb9b10c43285287a9113f280ee8fab',1,'Logger']]],
['baseexception',['BaseException',['../class_base_exception.html',1,'']]],
['baseexception_2ephp',['BaseException.php',['../_base_exception_8php.html',1,'']]],
['basic_2ephp',['Basic.php',['../_m... | Java |
<div class="role-filter">
<div class="fw-700 m-b-5">{{"ROLE"|translate}}</div>
<div>
<div class="checkbox-inline" ng-class="{'selected':roles.tank.selected}" uib-tooltip="{{'TANK'|translate}}">
<label class="tank">
<input ng-model="roles.tank.selected" type="checkbox">
... | Java |
body { font-family: 'DejaVu Sans Condensed'; font-size: 11pt; }
p { text-align: justify; margin-bottom: 4pt; margin-top:0pt; }
table {font-family: 'DejaVu Sans Condensed'; font-size: 10pt; line-height: 1.2;
margin-top: 2pt; margin-bottom: 5pt;
border-collapse: collapse; }
thead { font-weight: bold;... | Java |
/*
Copyright (c) 2014-2022 AscEmu Team <http://www.ascemu.org>
This file is released under the MIT license. See README-MIT for more information.
*/
#pragma once
#include <cstdint>
#include "ManagedPacket.h"
#include "WorldPacket.h"
namespace AscEmu::Packets
{
class CmsgQuestgiverRequestReward : public ManagedPa... | Java |
package org.demo.jdk.utilapis;
public class Bird implements Flyable {
private int speed = 15;
@Override
public void fly() {
System.out.println("I'm Bird, my speed is " + speed + ".");
}
}
| Java |
<?php
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.
namespace App\Libraries;
use App\Exceptions\UserVerificationException;
use App\Mail\UserVerification as UserVerificationMail;
use App\M... | Java |
<html>
<head>
<title>Frankenstein, 1831, Vol. 2, Chap. 3, Frame 6</title>
</head>
<body>
<p>
"Having thus arranged my dwelling, and carpeted it with clean
straw, I retired; for I saw the figure of a man at a distance,
and I remembered too well my treatment the night before, to trust
myself in his power. I had fi... | Java |
/*
Copyright (C) 2018 by Claude SIMON (http://zeusw.org/epeios/contact.html).
This file is part of XDHWebQ.
XDHWebQ is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the Li... | Java |
/*
Copyright (C) 2015 Jack Fagner
This file is part of OpenTidl.
OpenTidl is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any... | Java |
# -*- coding: utf-8 -*-
##############################################################################
#
# Infrastructure
# Copyright (C) 2014 Ingenieria ADHOC
# No email
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License... | Java |
<span ng-if="editable" class="omny-edit-section" ng-click="changeUrl()">Edit</span>
<iframe ng-if="videoSource" width="854" height="510" ng-src="{{videoSource}}" frameborder="0" allowfullscreen></iframe>
| Java |
# frozen_string_literal: true
require 'rails_helper'
describe StudentsController do
let(:user) { create(:student) }
before { allow(controller).to receive(:current_user) { user } }
it { should use_before_action :authorize! }
describe '#index' do
let!(:classroom) { create(:classroom) }
let!(:student... | Java |
# SPDX-License-Identifier: AGPL-3.0-or-later
"""
SepiaSearch (Videos)
"""
from json import loads
from dateutil import parser, relativedelta
from urllib.parse import urlencode
from datetime import datetime
# about
about = {
"website": 'https://sepiasearch.org',
"wikidata_id": None,
"official_api_documenta... | Java |
<?php
/*
Kevin Froman - Easy IPFS: easily interact with IPFS in php via this simple API
Copyright (C) 2017 Kevin Froman
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the ... | Java |
import React from 'react';
import { render, waitForElement } from 'react-testing-library';
import FakeDataProvider from '@olimat/web/utils/test/FakeDataProvider';
import MockErrorProvider from '@olimat/web/utils/test/MockErrorProvider';
import MockNextContext from '@olimat/web/utils/test/MockNextContext';
import { ren... | Java |
<?php
// This file declares a new entity type. For more details, see "hook_civicrm_entityTypes" at:
// https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
return [
[
'name' => 'CivirulesLog',
'class' => 'CRM_Civiruleslogger_DAO_CivirulesLog',
'table' => 'civicrm_civirules_log',
],
];
| Java |
{% extends "podcast-base.html" %}
{% load i18n %}
{% load humanize %}
{% load episodes %}
{% load podcasts %}
{% load devices %}
{% load charts %}
{% load utils %}
{% load menu %}
{% block mainmenu %}{{ "/podcast/"|main_menu }}{% endblock %}
{% block sectionmenu %}
{% if podcast.title %}
{{ "/podcast/"|section_menu... | Java |
/*
Classe gerada automaticamente pelo MSTech Code Creator
*/
namespace MSTech.GestaoEscolar.BLL
{
using MSTech.Business.Common;
using MSTech.GestaoEscolar.Entities;
using MSTech.GestaoEscolar.DAL;
using System.Data;
using MSTech.Data.Common;
using System.Collections.Generic;
using System.Linq;
... | Java |
module Laser
# Class that's just a name. Substitute for symbols, which can overlap
# with user-code values.
class PlaceholderObject
def initialize(name)
@name = name
end
def inspect
@name
end
alias_method :to_s, :inspect
end
end
| Java |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-IEs"
* found in "../support/s1ap-r16.4.0/36413-g40.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
*/
#ifndef _S1AP_LastVisitedGERANCellInformation_H_... | Java |
/**
* Copyright (c) 2002-2011 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software F... | Java |
import { createSlice, createEntityAdapter, Reducer, AnyAction, PayloadAction } from '@reduxjs/toolkit';
import { fetchAll, fetchDetails, install, uninstall, loadPluginDashboards, panelPluginLoaded } from './actions';
import { CatalogPlugin, PluginListDisplayMode, ReducerState, RequestStatus } from '../types';
import { ... | Java |
# -*- coding: utf-8 -*-
#
# SPDX-FileCopyrightText: 2013-2021 Agora Voting SL <contact@nvotes.com>
#
# SPDX-License-Identifier: AGPL-3.0-only
#
import pickle
import base64
import json
import re
from datetime import datetime
from flask import Blueprint, request, make_response, abort
from frestq.utils import loads, du... | Java |
class ReportsController < ApplicationController
skip_load_and_authorize_resource
def expenses
@filter = params[:filter]
if (@type = params[:by_type]) && (@group = params[:by_group])
@expenses = ExpenseReport.by(@type, @group).accessible_by(current_ability)
if @filter
@filter.each { |k,v... | Java |
Network Firewall Setup Guide
============================
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
- [Before you begin](#before-you-... | Java |
/*
* Claudia Project
* http://claudia.morfeo-project.org
*
* (C) Copyright 2010 Telefonica Investigacion y Desarrollo
* S.A.Unipersonal (Telefonica I+D)
*
* See CREDITS file for info about members and contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the Affe... | Java |
---
layout: post
title: "All Star Wars, all the time"
date: 2013-04-15 00:00:00 +0900
categories: linux-foundation comics
---

This comic originally appeared on [linux.com](https://www.linux.com) and was sponsored by [The Linux Foundation](h... | Java |
DELETE FROM `weenie` WHERE `class_Id` = 14289;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (14289, 'portalvillalabar', 7, '2019-02-10 00:00:00') /* Portal */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (14289, 1, 65536) /* ItemType - Portal */
... | Java |
// Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package v4_test
import (
"encoding/json"
"net/http"
"time"
jc "github.com/juju/testing/checkers"
"github.com/juju/testing/httptesting"
"github.com/juju/utils/debugstatus"
gc "gopkg.in/check.v1"
"gopkg.in/juju/charm.v... | Java |
// Copyright (c) 2012-present The upper.io/db authors. 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... | Java |
<?php
/**
* plentymarkets shopware connector
* Copyright © 2013-2014 plentymarkets GmbH
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Publ... | Java |
# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'UserProject.drive_auth'
db.add_column(u'user_project', 'drive_auth',
s... | Java |
ace.define("ace/mode/jsx", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text", "ace/tokenizer", "ace/mode/jsx_highlight_rules", "ace/mode/matching_brace_outdent", "ace/mode/behaviour/cstyle", "ace/mode/folding/cstyle"], function (e, t, n) {
function l() {
this.HighlightRules = o, this.$outdent ... | Java |
<?php
class TreeNode {
public $text = "";
public $id = "";
public $iconCls = "";
public $leaf = true;
public $draggable = false;
public $href = "#";
public $hrefTarget = "";
function __construct($id,$text,$iconCls,$leaf,$draggable,$href,$hrefTarget) {
$this->id = $id;
... | Java |
# Northerner Cyril #
Welcome to the Northerner!
This is the reference implementation for a server-client, token-based online architecture of the game Carcassonne.
You may want to look into our [Wiki][] or jump to the [Protocol][]
[Wiki]: https://github.com/BenWiederhake/northerner-cyril/wiki
[Protocol]: https://gi... | Java |
<?php
namespace CloudDataService\NHSNumberValidation\Test;
use CloudDataService\NHSNumberValidation\Test\TestCase;
use CloudDataService\NHSNumberValidation\Validator;
class ValidatorTest extends TestCase
{
public function testInit()
{
$validator = new Validator;
$this->assertTrue(is_object($v... | Java |
# Copyright (C) 2021 OpenMotics BV
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distribu... | Java |
<?php
/**
* BaseContact class
*
* @author Carlos Palma <chonwil@gmail.com>
*/
abstract class BaseContact extends ContentDataObject {
// -------------------------------------------------------
// Access methods
// -------------------------------------------------------
... | Java |
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
... | Java |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (1.8.0_122-ea) on Thu Jan 19 17:37:21 CET 2017 -->
<title>Uses of Class me.Bn32w.Bn32wEngine.entity.collision.CollisionBox</title>
<meta name="date" c... | Java |
<div class="split-content">
<div class="header">
<h2 translate>Templates</h2>
<div class="pull-right">
<div class="sortbar pull-left">
<span class="lab" translate>Filter:</span>
<div class="dropdown" dropdown sd-dropdown-position>
<button id="order_button" class="dro... | Java |
<?php
class MetadataPlugin extends KalturaPlugin
{
const PLUGIN_NAME = 'metadata';
const METADATA_FLOW_MANAGER_CLASS = 'kMetadataFlowManager';
const METADATA_COPY_HANDLER_CLASS = 'kMetadataObjectCopiedHandler';
const METADATA_DELETE_HANDLER_CLASS = 'kMetadataObjectDeletedHandler';
const BULK_UPLOAD_COLUM... | Java |
import React from 'react';
import PropTypes from 'prop-types';
import ManaUsageGraph from './ManaUsageGraph';
class HealingDoneGraph extends React.PureComponent {
static propTypes = {
start: PropTypes.number.isRequired,
end: PropTypes.number.isRequired,
offset: PropTypes.number.isRequired,
healingBy... | Java |
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="shortcut icon" href="../../../../assets/images/dasch-favicon.ico">
<meta name="generator" content="mkdoc... | Java |
/*
* Copyright (c) 2015 - 2016 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is ... | Java |
odoo.define('web_editor.field_html_tests', function (require) {
"use strict";
var ajax = require('web.ajax');
var FormView = require('web.FormView');
var testUtils = require('web.test_utils');
var weTestUtils = require('web_editor.test_utils');
var core = require('web.core');
var Wysiwyg = require('web_editor.wysiwyg'... | Java |
"use strict";
require("./setup");
var exchange = require("../src/exchange"),
assert = require("assert"),
config = require("config"),
async = require("async");
describe("Exchange", function () {
describe("rounding", function () {
it("should round as expected", function() {
assert.equal( excha... | Java |
<?php
require_once __BASE__.'/model/Storable.php';
class AccountSMTP extends Storable
{
public $id = MYSQL_PRIMARY_KEY;
public $code = '';
public $created = MYSQL_DATETIME;
public $last_edit = MYSQL_DATETIME;
public $name = '';
public $host = '';
public $port = '';
public $connection... | Java |
# frozen_string_literal: true
require "spec_helper"
describe "Edit initiative", type: :system do
let(:organization) { create(:organization) }
let(:user) { create(:user, :confirmed, organization: organization) }
let(:initiative_title) { translated(initiative.title) }
let(:new_title) { "This is my initiative ne... | Java |
from odoo import fields, models
class Job(models.Model):
_inherit = "crm.team"
survey_id = fields.Many2one(
'survey.survey', "Interview Form",
help="Choose an interview form")
def action_print_survey(self):
return self.survey_id.action_print_survey()
| Java |
package com.alessiodp.parties.bukkit.addons.external.skript.expressions;
import ch.njol.skript.classes.Changer;
import ch.njol.skript.doc.Description;
import ch.njol.skript.doc.Examples;
import ch.njol.skript.doc.Name;
import ch.njol.skript.doc.Since;
import ch.njol.skript.expressions.base.SimplePropertyExpression;
im... | Java |
//Copyright (c) 2018 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#ifndef INFILL_SUBDIVCUBE_H
#define INFILL_SUBDIVCUBE_H
#include "../settings/types/Ratio.h"
#include "../utils/IntPoint.h"
#include "../utils/Point3.h"
namespace cura
{
struct LayerIndex;
class Polygons;
class Sli... | Java |
class CreateColorMappings < ActiveRecord::Migration
def self.up
create_table :color_mappings do |t|
t.references :collage
t.references :tag
t.string :hex
t.timestamps
end
end
def self.down
drop_table :color_mappings
end
end
| Java |
##############################################################################
# For copyright and license notices, see __manifest__.py file in module root
# directory
##############################################################################
from . import account_move
from . import account_move_line
from . import ... | Java |
/**
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | Java |
package com.nexusplay.containers;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.sql.SQLException;
import org.apache.commons.io.IOUtils;
import com.nexusplay.db.SubtitlesD... | Java |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Tue May 04 10:00:19 CEST 2010 -->
<TITLE>
Uses of Class mx.database.table.Query
</TITLE>
<META NAME="date" CONTENT="2010-05-04">
... | Java |
from ctypes import *
import ctypes.util
import threading
import os
import sys
from warnings import warn
from functools import partial
import collections
import re
import traceback
# vim: ts=4 sw=4 et
if os.name == 'nt':
backend = CDLL('mpv-1.dll')
fs_enc = 'utf-8'
else:
import locale
lc, enc = locale... | Java |
/*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundat... | Java |
// License: MIT
#pragma once
//\brief: TypeFlags, mostly used to define updatePackets.
//\note: check out class inheritance. it is not true that every unit is "just" a creature.
/*
object
- unit
- - player
- - creature
- - - pet <- probably wrong inheritance from summon not from creature
- - - totem <- probably ... | Java |
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2020, Morris Jobke <hey@morrisjobke.de>
*
* @author Morris Jobke <hey@morrisjobke.de>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affe... | Java |
<!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.mi... | Java |
# --
# Kernel/GenericInterface/Operation/Session/SessionCreate.pm - GenericInterface SessionCreate operation backend
# Copyright (C) 2001-2014 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not r... | Java |
<?php
/**
* plentymarkets shopware connector
* Copyright © 2013 plentymarkets GmbH
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public Li... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.