answer stringlengths 15 1.25M |
|---|
# -*- coding: utf-8; -*-
# This file is part of Superdesk.
from superdesk.io.feed_parsers.newsml_2_0 import NewsMLTwoFeedParser
from superdesk.io.registry import <API key>
from superdesk.errors import ParserError
from superdesk.metadata.item import CONTENT_TYPE
from superdesk import etree as sd_etree
from superdesk imp... |
<?php
/**
* Isis value iterator. Iterates over all values for
* each result row.
*/
class IsisValueIterator implements Iterator
{
private $valueset;
private $row = 0;
private $rows = 0;
/**
* Constructor.
*
* @param $class
* Instance of IsisConnector or child class.
*
* @param $field... |
package org.diqube.connection;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.thrift.transport.TSocket;
import org.apache.thrift.transport.TTransportException;
/**
* A thrift-usable socket customized for the use in diqube.
*
* @author Bastian Gloeckle
*/
publi... |
package elki.index.preprocessed.knn;
import java.util.EventObject;
import elki.database.ids.DBIDs;
/**
* Encapsulates information describing changes of the k nearest neighbors (kNNs)
* of some objects due to insertion or removal of objects. Used to notify all
* subscribed {@link KNNListener} of the change.
*
* @au... |
// API: api.pixels.js
// database schemas
var Project = require('../models/project');
var Clientel = require('../models/client'); // weird name cause 'Client' is restricted name
var User = require('../models/user');
var File = require('../models/file');
var Layers = require('../model... |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML-3.2//EN">
<HTML> <HEAD>
<TITLE></TITLE>
<LINK REV="made" HREF="mailto:dougo AT ccs.neu.edu">
</HEAD>
<BODY>
<H1><HR></H1>
<pre>
From: chris losinger <chrisdl AT pagesz.net>
Date: Mon, 15 Dec 1997 16:15:08 -0500
oh boy oh boy !
since i consider my musical taste to be hi... |
<?php
class <API key>
{
/**
*
* @var Version $Version
* @access public
*/
public $Version = null;
/**
*
* @var ShipmentNumberType $ShipmentNumber
* @access public
*/
public $ShipmentNumber = null;
/**
*
* @var ShipmentOrderDDType $ShipmentOrder
* @access public
*/
public ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rgaa 4.0 Test.1.1.7 Passed 01</title>
</head>
<body class="Passed">
<div>
<h1>Rgaa 4.0 Test.1.1.7 Passed 01</h1>
<!-- START [test-detail] -->
<div class="test-detail" lang="fr">
<p>Chaque image embarquée (balise <code><... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Rgaa32016 Test.8.7.1 Failed 01</title>
</head>
<body class="Failed">
<div>
<h1>Rgaa32016 Test.8.7.1 Failed 01</h1>
<!-- START [test-detail] -->
... |
# OSIS stands for Open Student Information System. It's an application
# designed to manage the core business of higher education institutions,
# such as universities, faculties, institutes and professional schools.
# The core business involves the administration of students, teachers,
# courses, program... |
extern crate diesel;
use self::diesel::result::Error as DatabaseError;
use std::error;
use std::fmt;
use std::convert::From;
#[derive(Debug)]
pub enum QuizError {
DatabaseError(DatabaseError),
JokerUnavailable,
GameAlreadyFinished,
NoGameInProgress,
GameStillInProgress,
StateError,
OutOfReso... |
<?php
$ret = $GLOBALS['db']->Execute("UPDATE `".DB_PREFIX."_mods` SET `icon` = 'l4d.png' WHERE `modfolder` = 'left4dead' AND `icon` = '';");
return true;
?> |
package com.rapidminer.operator;
import com.rapidminer.operator.ports.PortOwner;
import com.rapidminer.operator.ports.quickfix.QuickFix;
import java.util.List;
/**
* An error in the process setup that can be registered with the operator in which it appears using
* {@link Operator#addError(ProcessSetupError)}. Beyond ... |
package org.kuali.kfs.module.ld.document.validation.impl;
import org.apache.commons.lang.StringUtils;
import org.kuali.kfs.kns.service.<API key>;
import org.kuali.kfs.krad.service.<API key>;
import org.kuali.kfs.krad.util.GlobalVariables;
import org.kuali.kfs.module.ld.LaborConstants;
import org.kuali.kfs.module.ld.bus... |
{% extends "base.html" %}
{% set active_page = "projects" %}
{% block content %}
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<script type="text/javascript">
var project_task_runs = {{task_runs_json | tojson}};
var project_sche... |
package org.brewingagile.backoffice.types;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.util.Objects;
@EqualsAndHashCode
@ToString(includeFieldNames = false)
public final class ParticipantEmail {
public final String value;
private ParticipantEmail(String x) {
this.value = Objects... |
DELETE FROM `weenie` WHERE `class_Id` = 27317;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (27317, '<API key>', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (27317, 1, 16) /* ItemType - Creature */
, (27317, ... |
#include "memcached/tcp_conn.hpp"
#include "errors.hpp"
#include <boost/bind.hpp>
#include "arch/io/network.hpp"
#include "concurrency/cross_thread_signal.hpp"
#include "db_thread_info.hpp"
#include "logger.hpp"
#include "memcached/parser.hpp"
#include "perfmon/perfmon.hpp"
struct <API key> : public <API key>, public <... |
<!DOCTYPE html>
<html lang="en"
>
<head>
<title>2016Fall - 2016Fall CPA (MDE)</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="tex... |
package info.nightscout.androidaps.plugins.pump.omnipod;
import android.os.Looper;
import org.joda.time.DateTimeZone;
import org.joda.time.tz.UTCProvider;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Answers;
import org.mockito.Mock;
import org.powermock.api.mockito.PowerMockito;
import or... |
#include "UI.h"
#include <vpvl2/vpvl2.h>
#include <vpvl2/extensions/Archive.h>
#include <vpvl2/extensions/AudioSource.h>
#include <vpvl2/extensions/World.h>
#include <vpvl2/extensions/gl/SimpleShadowMap.h>
#include <vpvl2/qt/ApplicationContext.h>
#include <vpvl2/qt/CustomGLContext.h>
#include <vpvl2/qt/DebugDrawer.h>
#... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<title>Coverage for skf/api/kb/endpoints/kb_item_new.py: 100%</title>
<link rel="icon" sizes="32x32" href="favicon_32.png">
<link rel="style... |
package org.sejda.impl.sambox.component;
import static java.util.Objects.nonNull;
import static org.sejda.commons.util.RequireUtils.requireArg;
import static org.sejda.commons.util.RequireUtils.requireNotBlank;
import static org.sejda.commons.util.RequireUtils.requireNotNullArg;
import static org.sejda.impl.sambox.comp... |
'use strict';
/* Controllers */
angular.module('quizsApp')
.controller('<API key>', ['$scope', '$state', '$rootScope', '$stateParams', '$timeout', 'APP_PATH', 'MAX_FILE_SIZE', 'PATTERN_FILE', 'Notifications', 'Upload', 'Modal', 'Line', 'State', 'Questions', 'QuestionsApi', function($scope, $state, $rootScope, $statePar... |
package org.mazarineblue.functions.events;
import org.mazarineblue.functions.FunctionRegistry;
public class <API key>
extends <API key> {
private static final long serialVersionUID = 1L;
public <API key>(FunctionRegistry registry) {
super(registry);
}
} |
import { WebApplication } from '@/ui_models/application';
import { FeatureStatus, FeatureIdentifier } from '@standardnotes/snjs';
import { FunctionComponent } from 'preact';
import { useCallback } from 'preact/hooks';
import { JSXInternal } from 'preact/src/jsx';
import { Icon } from '../Icon';
import { usePremiumModal... |
<?php
class Constants
{
public static $dbhost = "localhost"; // Replace By Your Database-Host
public static $dbuname = "root"; // Replace By Your Database-Username
<<<< HEAD
public static $dbpass = "password"; // Replace By Your Database-Password
====
public static $dbpass = "123... |
# coding: utf-8
import constance
from django.conf import settings
from rest_framework.response import Response
from rest_framework.views import APIView
from kobo.static_lists import COUNTRIES, LANGUAGES, SECTORS
from kobo.apps.hook.constants import <API key>
class EnvironmentView(APIView):
"""
GET-only view for... |
/*
* @author Ludovic Bertin
* @version 1.0
* date 10/08/2001
*/
package com.stratelia.webactiv.beans.admin;
import javax.inject.Inject;
/**
* AdminReference represents the reference to an Admin instance. It manages the access to this
* instance. The Admin objects gathers all the operations that create the organi... |
// ColoredShape.cpp: implementation of the CColoredShape class.
#include "stdafx.h"
#include "ColoredShape.h"
// Construction/Destruction
CColoredShape::CColoredShape()
{
m_colorName = Quantity_NOC_RED;
}
CColoredShape::CColoredShape(const <API key> aColor, const TopoDS_Shape& aShape)
{
m_colorName = aColor;
... |
/* body{font-family:Georgia,"Times New Roman",Times,serif;margin:0;padding:0;background-color:#F3F3F3;} */
body{
font: 16px/1.4 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
font-family: Helvetica,arial,nimbussansl,li... |
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position:... |
# REST API Backend for the Radiocontrol Project
# 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 django.contrib import admin
... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>A markdown powered article</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom... |
package ruby.ninja.experiments.zahlenpuzzle.token;
import org.junit.Test;
import rubys.ninja.experiments.zahlenpuzzle.token.NumericalToken;
import static org.junit.Assert.assertSame;
public class NumericalTokenTest {
@Test
public void testValueWorks() {
NumericalToken token = new NumericalToken(1);
... |
/* global moment */
(function() {
'use strict';
$.widget("custom.<API key>", {
options: {
serverUrl: 'http://localhost:8000'
},
_create: function() {
// TODO: Paging threads
this.element.on('click', '.chat-thread', $.proxy(this._onChatThreadClick, this));
$(document.body).on('con... |
module Api
class ChildrenController < ApiController
before_action :<API key>, :only => :show
before_action :sanitize_params, :only => [:update, :create, :unverified]
def index
authorize! :index, Child
render :json => Child.all
end
def show
authorize! :show, Child
child = Ch... |
var _ = require('lodash');
var util = require('../../util');
var MappingType = {
is: function(typeName) {
return _.startsWith(typeName, 'mapping(');
},
init: function(typeName, typeCreator, contract) {
this.type = typeName;
var parts = /^mapping\((.*) => (.*)\)/.exec(typeName);
var keyTypeName = p... |
require 'spec_helper'
# Specs in this file have access to a helper object that includes
# the Admin::InventoriesHelper. For example:
# describe Admin::InventoriesHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","that").should == "this that"
# ... |
<?php
class <API key> extends BaseAdminController
{
public function actionList()
{
$admin = new <API key>(<API key>::model(), $this);
$admin->setListFields(array(
'id',
'drugs.tallmanlabel',
'drugs.dose_unit',
));
$admin->setCustomDeleteURL('/O... |
# -*- coding: utf-8 -*-
import unicodecsv
from collections import Counter
from django.http import HttpResponse
from django.shortcuts import render
from .models import Disciplina, Docente, Pesquisa, Extensao, Administrativo
def query_estudantes(query):
result = [
['1-6', query.filter(estudantes__gte=1, e... |
// Core.Agent.TicketProcess.js - provides the special module functions for TicketProcess
"use strict";
var Core = Core || {};
Core.Agent = Core.Agent || {};
/**
* @namespace Core.Agent.TicketProcess
* @memberof Core.Agent
* @author OTRS AG
* @description
* This namespace contains the special module functions ... |
<!
Copyright (C) 2019 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 distributed in the ho... |
USE `${BREAKOUT}`;
-- A participant can be part of multiple teams (because he could have participated at previous events)
-- Therefore we need to support that by adding a new join table to show all teams a participant is / was part of
CREATE TABLE user_role_teams
(
user_role_id BIGINT(20) NOT NULL,
teams_id BIG... |
# -*- encoding: utf-8 -*-
# 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 PURPO... |
# <API key>: true
module Decidim
module Forms
# The data store for a Questionnaire in the Decidim::Forms component.
class Questionnaire < Forms::ApplicationRecord
include Decidim::Templates::Templatable if defined? Decidim::Templates::Templatable
include Decidim::Publicable
include Decidim::... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.mskcc.cbio.oncokb.dao.impl;
import java.util.List;
import net.sf.ehcache.hibernate.HibernateUtil;
import org.hibernate.Hibernate;
import org.hibernate.Session;
import org.mskcc.cbio.oncokb.dao.GeneDao;
import... |
import { <API key> } from './<API key>' ;
export function* _dfs_postorder ( G , seen ) {
for ( let v of G.vitr( ) ) {
if ( seen.has( v ) ) continue ;
yield* <API key>( G , v , seen ) ;
}
} |
DELETE FROM `weenie` WHERE `class_Id` = 43052;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (43052, '<API key>', 2, '2019-02-10 00:00:00') /* Clothing */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (43052, 1, 2) /* ItemType - Armor */
, (43052, 4, ... |
import i18n from './i18n';
const request = {
/**
* @param {object} options
*/
async ajax(options) {
return new Promise((resolve, reject) => {
$
.ajax({
dataType: 'json',
options,
})
.fail((jqXHR, textStatus, errorThrown) => {
if (textStatus === '... |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'pyslvs_ui/entities/edit_point.ui'
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from qtpy import QtCore, QtGui, QtWidgets
class Ui_Dialog(ob... |
<?php
/**#@+ @ignore */
require_once DEDALO_ROOT . '/lib/Zend/Media/Id3/LinkFrame.php';
final class <API key> extends <API key>
{} |
<?php
require_once "sql/contour.sql.php";
function sql_textContour($cols = '0',$where = '1 = 1') {
$contourModuloSql = <API key>();
return <<<EOD
SELECT
way,
height::integer,
$contourModuloSql AS
modulo,
$cols
FROM {$GLOBALS['PGIS_TBL_CONTOUR']}
WHERE
... |
"""
Test for LMS instructor background task queue management
"""
from bulk_email.models import CourseEmail, SEND_TO_ALL
from courseware.tests.factories import UserFactory
from xmodule.modulestore.exceptions import ItemNotFoundError
from instructor_task.api import (
<API key>,
<API key>,
<API key>,
<API ... |
<?php
return [
'listing' => [
'search' => [
'prompt' => 'type in keywords...',
'options' => 'More Search Options',
],
'mode' => 'Mode',
'status' => 'Rank Status',
'mapped-by' => 'mapped by :mapper',
'source' => 'from :source',
'load-mor... |
package com.silverpeas.gallery.process;
import com.silverpeas.form.record.<API key>;
import com.silverpeas.gallery.<API key>;
import com.silverpeas.gallery.control.ejb.GalleryBm;
import com.silverpeas.gallery.control.ejb.MediaServiceFactory;
import com.silverpeas.gallery.dao.MediaDAO;
import com.silverpeas.gallery.mode... |
<?php
declare(strict_types=1);
namespace OC\Activity;
use OCP\Activity\ActivitySettings;
use OCP\Activity\ISetting;
use OCP\IL10N;
/**
* Adapt the old interface based settings into the new abstract
* class based one
*/
class <API key> extends ActivitySettings {
private $oldSettings;
private $l10n;
public... |
BlogListController.$inject = [
'$scope',
'$location',
'$http',
'api',
'gettext',
'upload',
'<API key>',
'$q',
'blogSecurityService',
'notify',
'config',
'urls',
'moment',
'modal',
'blogService',
];
export default function BlogListController(
$scope,
$l... |
# <API key>: true
require "spec_helper"
describe "Monitoring committee member manages voting results", type: :system do
include_context "when monitoring committee member manages voting"
let(:elections_component) { create(:elections_component, participatory_space: voting) }
let!(:election) { create(:election, :bb_... |
/*
Put anything you reference with "url()" in ../assets/
This way, you can minify your application, and just remove the "source" folder for production
*/
#app {
}
.app > * {
box-shadow: -4px -4px 4px rgba(0,0,0,0.3);
background: #555;
width: 320px;
}
.left {
color: white;
}
.item {
position:... |
/* eslint-env nodejs, mocha */
/* global describe:false, app:false, request:false, expect:false */
describe('User', () => {
var passportStub = require('passport-stub');
var User = require('../server/models').User;
var ValidationError = require('mongoose').Error.ValidationError;
before((done) => {
... |
package com.tisawesomeness.minecord.command.utility;
import com.tisawesomeness.minecord.ReactMenu;
import com.tisawesomeness.minecord.ReactMenu.MenuStatus;
import com.tisawesomeness.minecord.command.meta.CommandContext;
import com.tisawesomeness.minecord.command.meta.Result;
import com.tisawesomeness.minecord.config.co... |
class <API key> < ActiveRecord::Migration[5.2]
def change
remove_index :events, name: :<API key>
remove_index :comments, name: :<API key>
remove_index :comments, name: :<API key>
remove_index :comments, name: :<API key>
remove_index :comments, name: :<API key>
remove_index :discussion_readers,... |
'use strict;'
/* redux */
import {compose, createStore, applyMiddleware, combineReducers} from 'redux'
import { routerReducer } from 'react-router-redux'
import thunk from 'redux-thunk'
import <API key> from '<API key>'
/* storage */
import * as storage from 'redux-storage'
import createEngine from '<API key>'
import d... |
class AdditionalFee < ActiveRecord::Base
belongs_to :competition_group
<API key> :competition_group
belongs_to :age_range
<API key> :age_range, :unless => "age_range_id.blank?"
<API key> :name
<API key> :amount, :<API key> => 0.0
end |
# -*- encoding: utf-8 -*-
# OpenERP, Open Source Management Solution
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a rea... |
#include <iostream>
#include <cmath>
using namespace std;
long num;
void checkPrime();
void checkArmstrong();
void checkPerfect();
int main()
{
short choice;
cout << "Enter a number: ";
cin >> num;
while (num < 0) {
cout << "\nERROR: The entered number must be positive! Please input again!" << e... |
{% set can_edit = h.check_access('package_update', {'id':pkg.id }) %}
{% set url_action = 'resource_edit' if url_is_edit and can_edit else 'resource_read' %}
{% set url = h.url_for(controller='package', action=url_action, id=pkg.name, resource_id=res.id) %}
<li class="resource-item" data-id="{{ res.id }}">
{% block r... |
import { extend } from 'leaflet/src/core/Util'
import { Simple } from 'leaflet/src/geo/crs/CRS.Simple'
import { toTransformation } from 'leaflet/src/geometry/Transformation'
export const ZCRS = extend({}, Simple, {
transformation: toTransformation(1, 0, 1, 0)
}) |
<?php
namespace OCA\Passman\Controller;
use \OCA\Passman\BusinessLayer\TagBusinessLayer;
use \OCP\AppFramework\Http\TemplateResponse;
use \OCP\AppFramework\Controller;
use \OCP\AppFramework\Http;
use \OCP\AppFramework\Http\JSONResponse;
class TagController extends Controller {
private $userId;
private $tagBusinessL... |
package com.processpuzzle.fundamental_types.quantity.domain;
public class Units {
public static final String MILLIMETRE = "mm";
public static final String CENTIMETRE = "cm";
public static final String DECIMETRE = "dm";
public static final String METRE = "m";
public static final String KILOMETRE = "km";
... |
package org.mg.wekalib.eval2;
import java.io.FileReader;
import java.util.HashMap;
import java.util.Random;
import org.junit.Assert;
import org.junit.Test;
import org.mg.wekalib.eval2.data.<API key>;
import org.mg.wekalib.eval2.model.RandomForestModel;
import org.mg.wekalib.evaluation.PredictionUtil;
import org.mg.weka... |
#pragma once
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include "pptx_text_context.h"
#include "pptx_slide_context.h"
#include "pptx_output_xml.h"
#include "<API key>.h"
#include "oox_chart_context.h"
#include "pptx_table_context.h"
#include "mediaitems.h"
namespace NSFonts
{
class IApplicati... |
module Codewars.Kata.Unique where
import Data.List
findUniqueNumber :: [Int] -> Int
findUniqueNumber [a] = a
findUniqueNumber (a : (b : c))
| a /= b = a
| otherwise = findUniqueNumber c
-- | All numbers in the unsorted list are present twice,
-- except the one you have to find.
findUnique :: [Int] -> Int
findU... |
import { ExamStatus } from 'Scripts/Models/ExamStatus';
export class Exam {
public Id: string;
public Title: string;
public Subtitle: string;
public Rating: string;
public Questions: number;
public QuestionsAnswered: number[];
public QuestionsBookmarked: number[];
public <API key>: numbe... |
using Implem.Libraries.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Implem.Pleasanter.Libraries.Requests
{
public class Forms : Dictionary<string, string>
{
public bool Exists(string key)
{
return this.Get(key) != null;
}
pub... |
'use strict';
describe('Controller: AboutCtrl', function () {
// load the controller's module
beforeEach(module('zapatonApp'));
var AboutCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
AboutCtrl = $control... |
#include "udplistener.h"
#include "../networkconfwidget.h"
#include <QUdpSocket>
#include <QThread>
#include <QDebug>
const quint16 UdpListener::DEFAULT_PORT = 40000;
const QHostAddress UdpListener::DEFAULT_ADDRESS = QHostAddress::LocalHost;
const QString UdpListener::ID = QString("External program (UDP)");
UdpListener... |
-- phpMyAdmin SQL Dump
-- version 3.4.9
-- http:
-- Host: mysql50-102.wc2:3306
-- Generation Time: Jun 10, 2012 at 03:10 AM
SET SQL_MODE="<API key>";
SET time_zone = "+00:00";
/*!40101 SET @<API key>=@@<API key> */;
/*!40101 SET @<API key>=@@<API key> */;
/*!40101 SET @<API key>=@@<API key> */;
/*!40101 SET NAMES utf8 ... |
class <API key> < ActiveRecord::Migration
def change
create_table :concept_results do |t|
t.integer "activity_session_id"
t.integer "concept_id", null: false
t.json "metadata"
end
end
end |
package tigase.server;
import tigase.conf.<API key>;
import tigase.disco.XMPPService;
import tigase.stats.StatisticsList;
import tigase.sys.TigaseRuntime;
import tigase.util.<API key>;
import tigase.util.UpdatesChecker;
import tigase.xml.Element;
import tigase.xmpp.Authorization;
import tigase.xmpp.JID;
import tigase.x... |
/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
#include "spice-client.h"
#include "spice-common.h"
#include "glib-compat.h"
#include "spice-channel-priv.h"
#include "spice-session-priv.h"
#include "spice-marshal.h"
#include "bio-gio.h"
#include <glib/gi18n.h>
#include <openssl/rsa.h... |
define('<API key>', [
'jquery',
'<API key>'
], function($, Loader) {
'use strict';
var editorId = 'wiki', info = {
type: editorId,
href: '&editor=wiki&force=1',
name: 'Wiki',
compatible: ['wiki', 'wysiwyg']
};
Loader.bootstrap(info).then(keys => {
require(['<API key>'], function (Realtim... |
#ifndef <API key>
#define <API key>
#include <gdk/gdkwindow.h>
G_BEGIN_DECLS
#define <API key> (<API key> ())
#define GDK_WINDOW_IMPL(obj) (<API key> ((obj), <API key>, GdkWindowImpl))
#define GDK_IS_WINDOW_IMPL(obj) (<API key> ((obj), <API key>))
#define <API key>(obj) (<API key> ((obj), <AP... |
#ifndef <API key>
#define <API key>
#include <phonon/objectdescription.h>
#include <phonon/backendinterface.h>
#include <QtCore/QList>
#include <QtCore/QPointer>
#include <QtCore/QStringList>
class KUrl;
#ifdef <API key> /* We are building this library */
# define PHONON_FAKE_EXPORT Q_DECL_EXPORT
#else /* We are using ... |
# define one name for each executable to be built
NAMES = speck64_96
CPU = -mmcu=msp430f1611
UTILS_PATH = ../utils
# sources files specific to 'first_target'
SRC = speck64_96.c
INCLUDES = -I${UTILS_PATH} -Icommon
-include ${UTILS_PATH}/mspgcc.makefile |
package org.geotools.mbstyle.layer;
import java.awt.Color;
import java.awt.Point;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.geotools.mbstyle.MBStyle;
import org.geotools.mbstyle.parse.MBFilter;
import org.geotools.mbstyle.parse.MBFormatException... |
/* <API key> Styles */
.swat-table-view td.<API key> {
padding: 0;
}
.swat-table-view th.<API key> {
padding-left: 36px;
}
td.<API key> a.<API key>:link,
td.<API key> a.<API key>:visited {
display: block;
border: 1px solid transparent;
}
td.<API key> a.<API key>:hover {
background: #f6f2ea url(../im... |
#ifndef AUTOTZD_TZDATA_H
#define AUTOTZD_TZDATA_H
#include <string>
#include <set>
class olson ;
namespace tzdata
{
enum zone_type { All_Zones, Main_Zones, Real_Zones } ;
std::string <API key>(const std::string &mcc) ;
int by_country(const std::string &alpha2, enum zone_type type, std::set<olson*> &out) ;
olson... |
#if __GNUC__ >= 4 || __GNUC_MINOR__ >=3
#pragma GCC diagnostic ignored "-Wold-style-cast"
#endif
#include "OSGColladaInstInfo.h"
#ifdef OSG_WITH_COLLADA
OSG_BEGIN_NAMESPACE
ColladaInstInfo::ColladaInstInfo(ColladaElement *colInstParent,
<API key> *colInst )
: Inherited... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_CN" sourcelanguage="en" version="2.1">
<context>
<name>QObject</name>
<message>
<location filename="../src/qtwrapper/callmanager_wrap.h" line="393"/>
<source>Me</source>
<translation></translation>
</message>
<message>
<... |
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
/* CSP includes */
#include <csp/csp.h>
#include <csp/csp_error.h>
#include <csp/arch/csp_thread.h>
#include <csp/arch/csp_queue.h>
#include <csp/arch/csp_semaphore.h>
#include <csp/arch/csp_malloc.h>
#include <csp/arch/csp_time.h>
#include ... |
#ifndef <API key>
#define <API key>
#include <Gui/<API key>.h>
#include <Gui/<API key>.h>
#include <App/<API key>.h>
#include <App/DynamicProperty.h>
class SoSensor;
class SoDragger;
class SoNode;
namespace Gui {
class SoFCSelection;
class SoFCBoundingBox;
class GuiExport <API key>
{
public:
constructor.
<API k... |
package org.pentaho.reporting.libraries.resourceloader;
import java.io.InputStream;
/**
* A resource data object encapsulates the raw data of an resource at a given point in the past.
* <p/>
* Any change to the resource increases the version number. Version numbers are not needed to be checked regulary, but
* must ... |
package org.opencms.workplace.list;
import org.opencms.util.CmsStringUtil;
import org.opencms.workplace.CmsWorkplace;
import org.opencms.workplace.tools.A_CmsHtmlIconButton;
import org.opencms.workplace.tools.<API key>;
/**
* Implementation of a list item selection action where to define name and the column with the v... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_05) on Sun Jul 13 14:54:41 CEST 2008 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class org.accada.epcis.soap.<API key> (epcis 0.3.3-SNAPSHOT API)
</TITLE>
<META NAME="date" CONTENT=... |
<?php
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER['SCRIPT_NAME'], basename(__FILE__)) !== false) {
header('location: index.php');
exit;
}
/**
* @return array
*/
function module_share_info()
{
return [
'name' => tra('Share'),
'descriptio... |
define( "JBrowse/View/Track/SNPCoverage", ['dojo/_base/declare',
'dojo/_base/array',
'JBrowse/View/Track/Wiggle',
'JBrowse/Util',
'JBrowse/Model/<API key>',
'JBrowse/View/Track/MismatchesMixin'
],
function( declare, array, Wiggle, Util, <API key>, MismatchesM... |
package org.xwiki.sheet.internal;
import java.util.Arrays;
import java.util.Collections;
import org.junit.Assert;
import org.jmock.Expectations;
import org.jmock.Sequence;
import org.junit.Before;
import org.junit.Test;
import org.xwiki.bridge.<API key>;
import org.xwiki.bridge.DocumentModelBridge;
import org.xwiki.con... |
__all__ = ["annotation", "detection", "track"] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.