answer stringlengths 15 1.25M |
|---|
# <API key>: 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 new title" }
l... |
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() |
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.<API key>;
import ch.njol.uti... |
//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 SliceMeshStorage;
class SubDivCube
{
public... |
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 |
# directory
from . import account_move
from . import account_move_line
from . import account_master_port |
package com.rapidminer.gui.new_plotter.configuration;
import com.rapidminer.gui.new_plotter.listener.events.<API key>;
import com.rapidminer.gui.new_plotter.utility.DataStructureUtils;
import com.rapidminer.tools.I18N;
import java.awt.BasicStroke;
import java.awt.Color;
import java.lang.ref.WeakReference;
import java.u... |
package com.nexusplay.containers;
import java.io.File;
import java.io.FileInputStream;
import java.io.<API key>;
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.SubtitlesDatabase;
import... |
<!DOCTYPE HTML PUBLIC "-
<!--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">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRI... |
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.ge... |
package org.kuali.kfs.module.purap.document.validation.impl;
import org.kuali.kfs.coreservice.framework.parameter.ParameterService;
import org.kuali.kfs.module.purap.PurapConstants;
import org.kuali.kfs.module.purap.<API key>;
import org.kuali.kfs.module.purap.PurapRuleConstants;
import org.kuali.kfs.module.purap.docum... |
#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 wrong inheritance fr... |
<?php
declare(strict_types=1);
namespace OC\Files\Mount;
use OC\Files\ObjectStore\<API key>;
use OC\Files\ObjectStore\ObjectStoreStorage;
use OC\Files\Storage\Wrapper\Jail;
use OCP\Files\Config\IRootMountProvider;
use OCP\Files\Storage\IStorageFactory;
use OCP\IConfig;
use OCP\ILogger;
/**
* Mount provider for object ... |
<!DOCTYPE html>
<html xmlns="http:
<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"/>
<link rel="stylesheet" href="../../.... |
# Kernel/GenericInterface/Operation/Session/SessionCreate.pm - GenericInterface SessionCreate operation backend
package Kernel::GenericInterface::Operation::Session::SessionCreate;
use strict;
use warnings;
use Kernel::GenericInterface::Operation::Common;
use Kernel::GenericInterface::Operation::Session::Common;
use Ke... |
<?php
/**
* I am a generated class and am required for communicating with plentymarkets.
*/
class <API key>
{
/**
* @var <API key>
*/
public $AttributeValueSets;
/**
* @var <API key>
*/
public $Availability;
/**
* @var string
*/
public $BundleType;
/**
* ... |
<div id="detail_{{ object.id }}" class="detail box ui-draggable ui-droppable expanded expanded-padding">
<div class="box-header">
<div class="box-name ui-draggable-handle">
<i class="fa fa-fw fa-search"></i>
<span>Details of subscription {{ object.name }}</span>
</div>
... |
package storage
import (
"fmt"
"strings"
"time"
mgo "github.com/ilius/mgo"
"github.com/ilius/mgo/bson"
)
func ModifyIndexTTL(db mgo.Database, collection string, index mgo.Index) error {
keyInfo, err := mgo.ParseIndexKey(index.Key)
if err != nil {
return err
}
expireAfterSecon... |
package com.splicemachine.si.impl;
import splice.com.google.common.base.Function;
import com.splicemachine.si.api.txn.TransactionStatus;
/**
* Provides hooks for tests to provide callbacks. Mainly used to provide thread coordination in tests. It allows tests
* to "trace" the internals of the SI execution.
*/
public ... |
window.<API key> = new Class( {
Implements : [Events, JsTestClass, Options],
Binds : ['onDocumentReady', 'onDocumentError'],
options : {
testMethods : [
{ method : 'initialize_', isAsynchron : false }]
},
constants : {
},
initialize : function( options ) {
this.setOptions( opt... |
package com.sapienter.jbilling.server.user;
import com.sapienter.jbilling.server.user.contact.db.ContactDTO;
import com.sapienter.jbilling.server.user.db.CompanyDAS;
import com.sapienter.jbilling.server.user.db.CompanyDTO;
import com.sapienter.jbilling.server.util.db.CurrencyDAS;
import com.sapienter.jbilling.server.ut... |
.wm_language_place {
display:none;
}
#demo_info .sprite {
display:-moz-inline-box;
display:inline-block;
margin-right:6px;
background-image:url(http://afterlogic.com/img/flags/langs.png);
background-repeat:no-repeat;
padding:1px 6px 1px 28px;
}
#demo_info a.sprite {
color:#555;
text-... |
package org.phenotips.<API key>;
import org.phenotips.data.similarity.internal.AbstractVariant;
import org.phenotips.variantstore.shared.GACallInfoFields;
import org.phenotips.variantstore.shared.GAVariantInfoFields;
import org.phenotips.variantstore.shared.VariantUtils;
import java.text.DecimalFormat;
import java.util... |
package org.sejda.model.exception;
/**
* Exception thrown when a wrong password has been set and it's not possible to open the pdf document (and execute the task)
*
* @author Andrea Vacondio
*
*/
public class <API key> extends TaskIOException {
private static final long serialVersionUID = -<API key>;
/**
... |
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Model | partner partnerclient plan', function(hooks) {
setupTest(hooks);
// Replace this with your real tests.
test('it exists', function(assert) {
let store = this.owner.lookup('service:store');
let model = stor... |
eqauctions-trending
============
Early stages...let's see what becomes of this.
## What is it?
This will be a place to read about trending items
that are sold/located on http://ahungry.com/eqauctions/
for buying/selling on the http://project1999.org
EverQuest classic emulation server.
Don't forget to
shell
git clone gi... |
package org.bimserver.database.query.literals;
import org.bimserver.database.query.conditions.LiteralCondition;
public class StringLiteral extends LiteralCondition {
private final String value;
public StringLiteral(String value) {
this.value = value;
}
public Object getValue() {
return v... |
<?php
/**
* Manager for Plus
*
* !! Most of Plus is handled via Discovery or Wire\Paywall !!
*/
namespace Minds\Core\Plus;
use Minds\Core\Di\Di;
use Minds\Core\Config;
use Minds\Core\Data\ElasticSearch;
use Minds\Core\Data\Cassandra;
use Minds\Core\Wire\Paywall\<API key>;
use Minds\Core\Rewards\Contributions\Contri... |
# -*- coding: utf-8 -*-
"""
Models for Student Identity Verification
This is where we put any models relating to establishing the real-life identity
of a student over a period of time. Right now, the only models are the abstract
`PhotoVerification`, and its one concrete implementation
`<API key>`. The hope is to keep a... |
# -*- coding: utf-8 -*-
# OpenERP, Open Source Management Solution
# This program is free software: you can redistribute it and/or modify
# published by the Free Software Foundation, either version 3 of the
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR... |
#include <kotaka/paths/account.h>
#include <kotaka/paths/verb.h>
inherit LIB_VERB;
inherit "/lib/sort";
inherit "~/lib/banlist";
inherit "~System/lib/string/align";
string *query_parse_methods()
{
return ({ "raw" });
}
int compare_sites(string a, string b)
{
int o1a, o2a, o3a, o4a, cidra;
int o1b, o2b, o3b,... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Ext.Net
{
<summary>
</summary>
public partial class RadialAxis
{
<summary>
</summary>
public RadialAxis(Config config... |
package uploads
import (
"context"
"errors"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"regexp"
"sync"
"time"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"github.com/grafana/loki/pkg/storage/chunk"
"github.com/grafana/loki/pkg/storage/ch... |
#include "SessionShiny.hpp"
#include <boost/algorithm/string/predicate.hpp>
#include <core/Error.hpp>
#include <core/Exec.hpp>
#include <r/RExec.hpp>
#include <session/SessionOptions.hpp>
#include <session/<API key>.hpp>
using namespace core;
namespace session {
namespace modules {
namespace shiny {
namespace {
void on... |
from django import forms
# future use |
package cn.dlb.bim.models.ifc4;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Ifc Sub Contract Resource Type Enum</b></em>',
* and utility methods... |
DELETE FROM database_variables WHERE name = '<API key>'; |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
global $mod_strings;
$module_menu = Array(
Array("index.php?module=Teams&action=EditView&return_module=Teams&return_action=DetailView", $mod_strings['LNK_NEW_TEAM'], "CreateTeams"),
Array("index.php?module=Teams&action=index", $mod_... |
<?php
/**
* sfGuardGroupUtf8 form.
*
* @package rrr
* @subpackage form
* @author Your name here
* @version SVN: $Id: <API key>.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
*/
class <API key> extends <API key>
{
/**
* @see sfGuardGroupForm
*/
public function configure()
{
parent::conf... |
*
// * Tanaguru - Automated webpage assessment
// * This program is free software: you can redistribute it and/or modify
// * published by the Free Software Foundation, either version 3 of the
// * This program is distributed in the hope that it will be useful,
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ... |
import { NPS } from './NPS'
export default NPS |
<?php
/**#@+ @ignore */
require_once DEDALO_ROOT . '/lib/Zend/Media/Id3/TextFrame.php';
final class <API key> extends <API key>
{
private $_number;
private $_total;
/**
* Constructs the class with given parameters and parses object related
* data.
*
* @param Zend_Io_Reader $reader The re... |
<?php
/* @var $this <API key> */
/* @var $model Aenderungsantrag */
$this->breadcrumbs = array(
Yii::t('app', 'Administration') => $this->createUrl('/admin/index'),
$model->label(2) => array('index'),
Yii::t('app', 'Create'),
);
$this->menu = array(
array('label' => $model->label(2), 'url... |
'use strict';
/**
* @ngdoc directive
* @name GO.Core.CustomFields.goCustomFieldsEdit
*
* @description
* Prints custom fields form fieldsets.
*
*
* @param {string} ngModel The customFields model property of the model the customFields belong to
* @param {string} serverModel The custom fields server model.
*
* ... |
import React from 'react'
import { observer } from 'mobx-react'
import styled from 'styled-components'
import autobind from 'autobind-decorator'
import SearchInput from '../SearchInput'
import Palette from '../../styleUtils/Palette'
import filterImage from './images/filter'
const border = '1px solid rgba(216, 219, 226,... |
"""
Block Depth Transformer
"""
from __future__ import absolute_import
from openedx.core.djangoapps.content.block_structure.transformer import <API key>
class <API key>(<API key>):
"""
Keep track of the depth of each block within the block structure. In case
of multiple paths to a given node (in a DAG), us... |
#!/usr/bin/env ruby
# Exit codes:
# 0 Test run successful (even with reruns)
# 1 Unspecified error
# 2 Linting failed
# 4 No profile given
# 8 Gettext isn't installed
# 16 Gettext files did not validate
# 32 Cucumber failed
# 64 Rspec failed
# TODO: Use Open4 to continuously flush STDOUT output from the cu... |
import ast
from odoo import api, exceptions, models, _
class MailComposeMessage(models.TransientModel):
_inherit = 'mail.compose.message'
@api.model
def _get_priorities(self):
"""
Load priorities from parameters.
:return: dict
"""
key = 'mail.sending.job.priorities'
... |
<?php
/**
* This is a prototype for a services action.
*
*/
abstract class <API key> implements <API key> {
use <API key>;
protected $collection = null;
/**
* Create an instance of the ServiceAction type.
*/
public function __construct($params = array()) {
$this->collection = Billru... |
#feedbackForm { width: 100%; }
#feedbackForm label { width: 250px; }
#feedbackForm label.error, #commentForm input.submit { margin-left: 253px; }
input[type=text], input[type=password], select, textarea, .inputbox { padding: 3px 5px; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 100%; border: 1px solid ... |
<table mat-table
*ngIf="dataSource"
[dataSource]="dataSource"
[trackBy]="tableTrackerFn"
class="ya-data-table">
<ng-container matColumnDef="order">
<th mat-header-cell *matHeaderCellDef style="width: 1px">
<td mat-cell *matCellDef="let queue">
{{ queue.order }}
</td>
</... |
DELETE FROM `landblock_instance` WHERE `landblock` = 0xA8E0;
INSERT INTO `landblock_instance` (`guid`, `weenie_Class_Id`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`, `is_Link_Child`, `last_Modified`)
VALUES (0x7A8E0026, 30749, 0xA8E00108, 82.301, 85.604, 23.137, 0,... |
'use strict'
var config = {}
config.facebook = {
'appID': '261938654297222',
'app<API key>,
'callbackUrl': '/login/facebook/callback/'
}
config.server = {
'port': process.env.PORT || 3000,
'env': process.env.NODE_ENV || 'dev',
'dbUrl': process.env.MONGODB_URI || 'mongodb://localhost:27017/minihero',
'sess... |
define(function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
var Tokenizer = require("../tokenizer").Tokenizer;
var <API key> = require("./<API key>").<API key>;
var <API key> = require("./<API key>").<API key>;
var CstyleBehaviour = require("./behavi... |
<?php
include_once("bqf_strings.php");
class <API key> extends <API key> {
public function testUnescape() {
$tests = array(
array("one", "one"),
array('<a href="test">test</a>', '<a href="test">test</a>'),
array(' with spaces ', ' with spaces '),
array(' ... |
\hypertarget{<API key>}{\section{Particle\-System\-:\-:Grav\-Obj Strukturreferenz}
\label{<API key>}\index{Particle\-System\-::\-Grav\-Obj@{Particle\-System\-::\-Grav\-Obj}}
}
{\ttfamily \#include $<$Particle\-System.\-h$>$}
\subsection*{Öffentliche Attribute}
\begin{DoxyCompactItemize}
\item
cl\-\_\-float \hyperlink{<... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Rgaa32016 Test.11.01.2 NA 03</title>
</head>
<body class="NA">
<div>
<h1>Rgaa32016 Test.11.01.2 NA 03</h1>
<!-- START [test-detail] -->
... |
# -*- encoding: utf-8 -*-
# res_partner
# This program is free software: you can redistribute it and/or modify
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
from osv import fields, os... |
package com.stratelia.webactiv.util.node.model;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.<API key>;
import java.io.Serializable;
import java.text.ParseException;
import org.silverpeas.search.indexEngine.model.IndexEntry;
import com.silverpeas.util.clipboard.ClipboardSelection;
import com.si... |
import React, { useState } from 'react';
import { connect, ConnectedProps } from 'react-redux';
import { TimeZone } from '@grafana/data';
import { CollapsableSection, Field, Input, RadioButtonGroup, TagsInput } from '@grafana/ui';
import { selectors } from '@grafana/e2e-selectors';
import { FolderPicker } from 'app/cor... |
# This file is part of pi-led-control.
# pi-led-control is free software: you can redistribute it and/or modify
# (at your option) any later version.
# pi-led-control is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
import datetime
import logging
from se... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Fri Mar 21 17:32:01 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.java.chatroom.groupchat3 Class Hierarchy</title>
<meta name="date" content="2014-03-21">
<lin... |
from pathlib import Path
from inxs.cli import main as _main
from tests import equal_documents
def main(*args):
_args = ()
for arg in args:
if isinstance(arg, Path):
_args += (str(arg),)
else:
_args += (arg,)
_main(_args)
# TODO case-study with this use-case
def test_m... |
var _ = require('underscore');
deepExtend = function(obj) {
var parentRE = /
slice = Array.prototype.slice,
hasOwnProperty = Object.prototype.hasOwnProperty;
_.each(slice.call(arguments, 1), function(source) {
for (var prop in source) {
if (hasOwnProperty.call(source, prop)) {
if (_.is... |
package output;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import javax.swing.JOptionPane;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.<API key>;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeL... |
{-# LANGUAGE <API key> #-}
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -<API key> #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE <API key> #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE <API key> #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUA... |
class Transfer < Entry
state_machine :initial => :open, :namespace => :transfer do
event :close do
transition :paid => :closed
end
state :open, :value => 400
state :closed, :value => 430
end
def <API key>
[BankAccount, CreditCard]
end
end |
#!/usr/bin/env python
# This file is part of Essentia
# Essentia is free software: you can redistribute it and/or modify it under
# option) any later version.
# This program is distributed in the hope that it will be useful, but WITHOUT
# details.
from essentia_test import *
class TestHPCP(TestCase):
def testEmpty(... |
import CodeClipboard from './CodeClipboard';
export default CodeClipboard; |
--Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
--T... |
<html>
<head>
<title>Frankenstein, 1831, Vol. 3, Chap. 1, Frame 2</title>
</head>
<body>
<p>
I <a href="../V3notes/trembled.html">trembled violently</a> at
his exordium, and my father continued
"I confess, my son, that I have always looked forward to your
marriage with our dear Elizabeth as <a
href="../V3notes/domestic... |
package org.animotron.cache;
import java.io.IOException;
import java.io.OutputStream;
/**
* @author <a href="mailto:shabanovd@gmail.com">Dmitriy Shabanov</a>
* @author <a href="mailto:gazdovsky@gmail.com">Evgeny Gazdovsky</a>
*
*/
public interface Cache {
public boolean available(String key) throws IOException;... |
<?php
require_once 'ke_db.php';
require_once 'ke_tools.php';
abstract class ke_model extends ke_tools
{
protected $db;
protected $table_name;
public $errors;
public function __construct($name)
{
$this->db = new ke_db();
$this->table_name = $name;
$this->errors = '';
}
protected fu... |
// generator: ilarkesto.mda.legacy.generator.EntityGenerator
package scrum.server.collaboration;
import java.util.*;
import ilarkesto.persistence.*;
import ilarkesto.core.logging.Log;
import ilarkesto.base.*;
import ilarkesto.base.time.*;
import ilarkesto.auth.*;
public abstract class GComment
extends AEnti... |
const { Array } = require.main.require('./Tag/Classes');
class GetTag extends Array {
constructor(client) {
super(client, {
name: 'get',
args: [
{
name: 'array'
}, {
name: 'index'
}
],
minArgs: 2, maxArgs: 2
});
}
async execute(ctx, args)... |
'use strict';
(function() {
describe('Browser charm view', function() {
var container, CharmView, cleanIconHelper, factory, models, node, utils,
view, views, Y, testContainer;
before(function(done) {
Y = YUI(GlobalConfig).use(
'datatype-date',
'<API key>',
'charmsto... |
import React, { useMemo } from 'react';
import { cx, css } from '@emotion/css';
import { MenuItem, WithContextMenu, MenuGroup, useTheme2 } from '@grafana/ui';
import { SelectableValue, GrafanaTheme2 } from '@grafana/data';
import { Seg } from './Seg';
import { unwrap } from './unwrap';
import { toSelectableValue } from... |
package org.asqatasun.rules.rgaa22;
import java.util.LinkedHashSet;
import org.apache.commons.lang3.StringUtils;
import org.asqatasun.entity.audit.EvidenceElement;
import org.asqatasun.entity.audit.ProcessResult;
import org.asqatasun.entity.audit.SourceCodeRemark;
import org.asqatasun.entity.audit.TestSolution;
import ... |
export const BattleAvatarNumbers = {
1: 'lucas',
2: 'dawn',
3: 'youngster-gen4',
4: 'lass-gen4dp',
5: 'camper',
6: 'picnicker',
7: 'bugcatcher',
8: 'aromalady',
9: 'twins-gen4dp',
10: 'hiker-gen4',
11: 'battlegirl-gen4',
12: 'fisherman-gen4',
13: 'cyclist-gen4',
1... |
package nikita.common.config;
/**
* Constants used for ElasticSearch queries
*/
public class ESConstants {
public static final String QUERY_SIZE = "size";
public static final String QUERY_FROM = "from";
public static final String QUERY_QUERY = "query";
public static final String QUERY_PREFIX = "prefix... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>PODEMOS. Scientific and cultural cooperation with the United States to avoid a human capital flight</title>
<meta property="og:title" content="PODEMOS: Scientific and cultural cooperation with ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>About Cella</title>
<link rel="stylesheet" type="text/css" href="styles/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="styles/chosen.css" />
<link rel="stylesheet" type="text/css" href="styles/jquery-ui/jquery-ui... |
# <API key>: true
# == Schema Information
# Table name: packages
# id :integer not null, primary key
# name :string(255)
# initial_price :decimal(, )
# at_the_door_price :decimal(, )
# attendee_limit :integer
# expires_at :datetime
# requires_t... |
<?php return unserialize('a:1:{i:0;O:30:"Doctrine\\ORM\\Mapping\\OneToMany":6:{s:8:"mappedBy";s:9:"container";s:12:"targetEntity";s:7:"Element";s:7:"cascade";N;s:5:"fetch";s:4:"LAZY";s:13:"orphanRemoval";b:0;s:7:"indexBy";N;}}'); |
public class Generic{
public static void main(String[] args){
Car <String> car1 = new Car <String> ();
car1.setName("Buick");
car1.setPrice("100");
System.out.printf("name=%s,price=%s\n",car1.getName(),car1.getPrice());
Car <Integer> car2 = new Car <Integer> ();
car2... |
<?php
$dictionary['RealtyTemplates']['fields']['<API key>'] =
array (
'name' => '<API key>',
'type' => 'link',
'relationship' => '<API key>',
'source'=>'non-db',
'vname'=>'<API key>',
); |
<div class="item dragHandle" data-bind="css: {
'unseen': !seen(), 'selected': selected(), 'checked': checked(),
'forwarded': forwarded(), 'answered': answered(), 'deleted': deleted() || threadHideAnimation(),
'nosubject': emptySubject(),
'threaded': threadPart(),
'show': threadS... |
import * as React from 'react';
import renderOrder from '../renderOrder';
import { RenderLayer } from '../browser_utils/Utils';
import { SharedState } from '../citybound';
import { shadersForLandUses } from './stripedShaders';
import colors from '../colors';
export const LAND_USES = [
"Residential",
"Commercial... |
-- | This module provides the data type and parser for a trait file
module Trait (
Trait(..)
, defaultTrait
, trait
) where
import Maker
import Modifier
import Scoped(Label)
data Trait = Trait {
trait_name :: Label
, agnatic :: Bool
, birth :: Double -- ^ Chance of being assigned on birth. Default 0
, c... |
// Protocol Buffers for Go with Gadgets
// modification, are permitted provided that the following conditions are
// met:
// in the documentation and/or other materials provided with the
// distribution.
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHA... |
// Use, modification, and distribution is subject to the Boost Software
// Contact the author at: fernando_cacciola@hotmail.com
// Revision History
// 19 Nov 2001 Syntatic changes as suggested by Darin Adler (Fernando Cacciola)
// 08 Nov 2001 Fixes to accommodate MSVC (Fernando Cacciola)
// 04 Nov 2001 Fixes... |
package org.kercoin.magrit.sshd;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.List;
import org.apache.sshd.SshServer;
import org.apache.sshd.common.NamedFactory;
import org.apache.sshd.common.util.SecurityUtils;
import org.apache.sshd.server.CommandFactory;... |
/**
* BLOCK: blocks
*
* Registering a basic block with Gutenberg.
* Simple block, renders and saves the same content without any interactivity.
*/
import "./editor.scss";
import "./style.scss";
import React from "react";
import Select from "react-select";
const {
PanelBody,
PanelRow,
ServerSideRender,
... |
<?php
/**
* @package WordPress
* @subpackage Fast_Blog_Theme
* @since Fast Blog 1.0
*/
?>
<!-- Sidebar -->
<ul id="sidebar" class="<?php fastblog_option('sidebar'); ?>">
<?php dynamic_sidebar('sidebar'); ?>
</ul>
<!-- // Sidebar --> |
# -*- coding: utf-8 -*-
from openerp import models, fields
class <API key>(models.Model):
_inherit = "account.bank.statement.line"
name = fields.Char(
string='Memo',
required=False,
default="",
) |
# -*- coding: utf-8 -*-
# Etalage -- Open Data POIs portal
# By: Emmanuel Raviart <eraviart@easter-eggs.com>
# This file is part of Etalage.
# Etalage is free software; you can redistribute it and/or modify
# published by the Free Software Foundation, either version 3 of the
# Etalage is distributed in the hope that it... |
<?php
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
class <API key> extends Action
{
var $peopletag = null;
var $tagger = null;
/**
* Prepare to run
*/
function prepare($args)
{
parent::prepare($args);
if (!common_logged_in()) {
// TRANS: C... |
package org.openjst.protocols.basic.encoder;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.<API key>;
import org.jboss.netty.handler.codec.oneone.OneToOneEncoder;
import org.openjst.commons.io.buffer.Data... |
package com.thegame.server.presentation.exceptions;
import com.thegame.server.common.exceptions.TypifiedException;
/**
* @author e103880
*/
public class <API key> extends TypifiedException{
private final <API key> exceptionType;
private final Object[] arguments;
public <API key>(final <API key> _exception... |
/**
* @ngdoc service
* @name ftepApp.SubscriptionService
* @description
* # SubscriptionService
* Service for subscriptions.
*/
'use strict';
define(['../ftepmodules', 'traversonHal'], function (ftepmodules, <API key>) {
ftepmodules.service('SubscriptionService', [ 'ftepProperties', '$q', 'traverson', functio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.