answer stringlengths 15 1.25M |
|---|
def transform(scrabble):
return {ch.lower(): v for (v, chs) in scrabble.items() for ch in chs} |
class ShoppingCart
def <API key>(cancelURL, returnURL, locale, ammount, number = 1)
@transaction = <API key>(cancelURL, returnURL, locale, ammount, number)
end
def get_ec_details(token, payerid = nil)
@transaction = get_ec_details_call(token, payerid)
end
def create_recurring(token, payerid, subscript... |
<!DOCTYPE html>
<html lang="gl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>PODEMOS. Plan de reactivación económica para as comarcas do Besaya e de Reinosa</title>
<meta property="og:title" content="PODEMOS: Plan de reactivación económica para as comarcas do Besaya e d... |
using System;
using System.ComponentModel;
using System.Reflection;
using System.Threading;
using System.Web.UI;
using Ext.Net.Utilities;
namespace Ext.Net
{
<summary>
</summary>
[Description("")]
public partial class ControlState : BaseItem
{
<summary>
</summary>
<typeparam ... |
# How to hack on One Click Orgs
## Requirements
* Ruby 1.9.3
* RubyGems ~> 1.3.7
* bundler gem ~> 1.0.0 (install with gem install bundler)
* MySQL, including client libraries (e.g. libmysqlclient-dev on Debian)
Optional libraries
* [wkhtmltopdf](http://code.google.com/p/wkhtmltopdf/)
N.B. One Click Orgs is not compat... |
package com.splicemachine.derby.stream.function;
import com.splicemachine.db.iapi.services.io.ArrayUtil;
import com.splicemachine.db.iapi.sql.execute.ExecRow;
import com.splicemachine.derby.iapi.sql.execute.SpliceOperation;
import com.splicemachine.derby.impl.sql.execute.operations.JoinUtils;
import com.splicemachine.d... |
package com.koda.integ.hbase.test;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.NavigableSet;
import java.util.TreeMap;
import java.util.TreeSet;
import org.apache.commons.logging.Log;
import org.apache.commons.loggin... |
'use strict';
/**
* @module module:publish/packages/states
*/
/**
* Defines the list of package publication states.
*
* @namespace
*/
var STATES = {
/**
* Package is on error.
*
* @const
* @type {Number}
* @default
* @inner
*/
ERROR: 0,
/**
* Package is in the queue waiting to be pro... |
#pragma warning disable 1591
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net... |
class ProductPicture < ActiveRecord::Base
scope :main, :conditions => { :is_main_picture => true }
belongs_to :product
mount_uploader :file, <API key>, :mount_on => :file_file_name
# has_attached_file :file, :styles => { :medium => ["400>x400>", :jpg],
# :thumb => ["80x... |
#!/bin/bash
# 1st param (optional): force the target branch to update to. WILL LOSE UNCOMMITTED CHANGES. Defaults to staying on current branch.
set -ex
cd `dirname $0`
if [[ -n $1 ]]
then
git fetch origin
git checkout --force origin/$1
fi
git submodule sync
git submodule update --init --recursive |
package org.kuali.kfs.krad.uif.util;
import org.apache.commons.lang.StringUtils;
import org.kuali.kfs.krad.datadictionary.validation.constraint.<API key>;
import org.kuali.kfs.krad.keyvalues.KeyValuesFinder;
import org.kuali.kfs.krad.service.<API key>;
import org.kuali.kfs.krad.uif.UifConstants;
import org.kuali.kfs.kr... |
<?php
namespace Timetabio\Library\Transformations
{
use Timetabio\Framework\Dom\Document;
use Timetabio\Frontend\Models\PageModel;
interface <API key>
{
public function apply(PageModel $model, Document $template);
}
} |
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import os
import re
from future import standard_library
from pyload.utils import convert, purge, web
from pyload.utils.convert import to_str
from pyload.utils.layer.legacy import hashlib
from pyload.utils.time import seconds_to_midnight
st... |
#pragma once
#include "introspection.hpp"
namespace dci::grt::structSupport
{
template <class T> constexpr bool operator==(const T &l, const T &r) requires introspection::declaredAsStruct<T> {return introspection::linearize(l) == introspection::linearize(r);}
template <class T> constexpr bool operator!=(const T... |
YUI.add("lang/<API key>",function(a){a.Intl.add("<API key>","fr",{"a":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"A":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"b":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],"B":["janvier","février","mars","a... |
package cn.dlb.bim.models.ifc2x3tc1;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Ifc Project Order Record</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link cn.dlb.bim.models.... |
#include "pypool.h"
#include "parsing.h"
#include <iostream>
using namespace std;
using namespace essentia;
PyMethodDef PyPool_methods[] = {
{ "__add__", (PyCFunction)PyPool::add, METH_VARARGS,
"Pool.add(key, value) adds \"value\" to the pool under \"key\"" },
{ "__set__", (PyCFu... |
# -*- coding: utf-8 -*-
from __future__ import absolute_import
#from . import report_order_line
#from . import order_report_nex # Estado de Cuenta - Used by Patient - Moved
from . import report_sale_product
from . import order_admin
from . import ticket
from . import order
from . import order_business
from .... |
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
<API key>(array('plugins' => array(array('function', 'sugar_getjspath', 'modules/ModuleBuilder/tpls/includes.tpl', 38, false),)), $this); ?>
<script type="text/javascript" src="<?php echo <API key>(array('file' => 'modules/ModuleBuilder/javascript/JSTransac... |
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// der Code erneut generiert wird.
// </auto-generated>
namespace CafeInternational.Properties {
using System;
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
// Die... |
// #pragma once is supported starting with _MCS_VER 1000,
// so we need not to check the version (because we only support _MSC_VER >= 1100)!
#pragma once
//#include <windows.h>
// special defines for VC5/6 (if no actual PSDK is installed):
#if _MSC_VER < 1300
typedef unsigned __int64 DWORD64, *PDWORD64;
#if defined(_WI... |
package se.malmo.esb.primecase;
import javax.xml.ws.WebFault;
@WebFault(name = "HandleCaseException", targetNamespace = "http://schemas.datacontract.org/2004/07/PrimeSystems.PrimeCaseCore.Portal")
public class <API key> extends Exception {
public static final long serialVersionUID = 20090615172405L;
private org... |
class GameDecorator < Draper::Decorator
delegate_all
def start
clock_icon +
format_timedate(object.start)
end
def registration_end
clock_icon +
format_timedate(object.registration_end)
end
def <API key>
5
end
def <API key>
h.content_tag(:div, class: "list-group") {
((1..5).... |
package nl.mpi.arbil.ui;
import java.awt.HeadlessException;
import java.awt.Point;
import java.io.File;
import java.net.<API key>;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLDecoder;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.Reso... |
--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... |
package com.x.program.center.zhengwudingding;
import com.x.base.core.project.exception.<API key>;
import com.x.base.core.project.exception.PromptException;
class ExceptionListOrg extends <API key> {
private static final long serialVersionUID = <API key>;
ExceptionListOrg(Integer retCode, String retMessage) {
... |
package com.cgi.eoss.ftep.io.download;
import com.cgi.eoss.ftep.io.ServiceIoException;
import com.cgi.eoss.ftep.logging.Logging;
import com.google.common.collect.ImmutableMultimap;
import com.google.common.collect.Iterables;
import com.google.common.collect.Multimap;
import com.jayway.jsonpath.JsonPath;
import lombok.B... |
var webpack = require('webpack')
function getConfig() {
var env = process.env.CONFIG_FILE_ENV
var configFile = ''
if (env) {
configFile = 'config_' + env + '.js'
} else {
configFile = 'config.js'
}
console.log("Using this config file: ", configFile)
return __dirname + '/confi... |
'use strict';
export default function() {
let app = require('../app').app;
let gridfs = app.get('gridfs');
return gridfs;
} |
import ckan.plugins as plugins
import ckan.lib.base as base
class LegalController(base.BaseController):
def index(self):
return plugins.toolkit.render('ckanext/legal/index.html')
def nutzungsbedingungen(self):
return plugins.toolkit.render('ckanext/legal/nutzungsbedingungen.html')
class HelpCont... |
# <API key>: true
module StatusPage
class ChecksController < <API key>
before_action :set_check, :ensure_public
def show
@public_view = true
render template: 'checks/show', layout: 'status_page'
end
private
# Use callbacks to share common setup or constraints between actions.
def s... |
package com.x.program.center.schedule;
import java.util.Calendar;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;
import... |
# -*- coding: utf-8 -*-
# Module Writen For Odoo, Open Source Management Solution
# info Vauxoo (info@vauxoo.com)
# coded by: moylop260@vauxoo.com
from . import runbot_repo
from . import runbot_build |
<!--<div align="center" class="heading_gray">
<h3>Participant Card(single)</h3>
</div>
<br />
<?php echo form_open('report/prereportpdf/participant_regno', array('id' => 'part_reg','target'=>'_blank'));
echo blue_box_top();
for($j=0;$j<count($retdat); $j++){
$dat[$retdat[$j]['school_code']] = $retdat[$j]['schoo... |
package com.readrz.math.merging.snaps;
import java.util.ArrayList;
import java.util.List;
import com.readrz.data.SnapInfo;
public final class ClusterDocument {
private final SnapInfo _snapInfo;
private final List<ClusterSentence> _sentences;
public ClusterDocument(SnapInfo snapInfo) {
_snapInfo = sn... |
<?php
abstract class acCouchdbDocument extends <API key> {
const BIG_DOCUMENT_SIZE = 50000;
protected $_is_new = true;
protected $<API key> = null;
protected $_is_modified = false;
public function loadFromCouchdb(stdClass $data) {
if (!is_null($this-><API key>)) {
throw new acCou... |
# 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. See the
import numpy as np
from numpy import math
_trigono... |
# This file is part of wger Workout Manager.
# wger Workout Manager is free software: you can redistribute it and/or modify
# (at your option) any later version.
# wger Workout Manager is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# Standard Library
i... |
// 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. See the
using System;
using System.IO;
using System.Te... |
package uk.org.sappho.code.heatmap.selection;
import java.util.List;
public interface HeatMapSelector {
public List<HeatMapMapping> map(String changedFile);
} |
import videojs from 'video.js'
import './pause-bezel'
const Plugin = videojs.getPlugin('plugin')
class BezelsPlugin extends Plugin {
constructor (player: videojs.Player, options?: videojs.ComponentOptions) {
super(player)
this.player.ready(() => {
player.addClass('vjs-bezels')
})
player.addChild... |
<API key> = Creature:new {
objectName = "@mob/creature_names:<API key>",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "rebel",
faction = "rebel",
level = 27,
chanceHit = 0.38,
damageMin = 260,
damageMax = 270,
baseXp = 2700,
baseHAM = 8100,
baseHAMma... |
--Copyright (C) 2007 <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... |
package msi.gama.rap.oauth;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class ResourceLoaderUtil {
private static final ClassLoader CLASSLOADER = ResourceLoaderUtil.class.getClassLoader();
public static String readTextContent( Strin... |
'use strict'
import fetch from 'isomorphic-fetch'
import get from 'lodash/get'
import omit from 'lodash/omit'
import qs from 'qs'
import twreporterRedux from '@twreporter/redux'
import { InternalServerError } from '../custom-error'
import { <API key>, <API key>, <API key>, RETURN_DELAY_TIME } from '../constants/authors... |
package resources;
import static org.junit.Assert.assertTrue;
import java.util.Iterator;
import org.junit.Test;
public class <API key> {
/**
* Characters are compared by numerical value and they
* should therefore be stored in such order within the list.
*/
@Test
public void testSorting() {
... |
#pragma once
#include <vector>
#include <string>
#include <unordered_map>
#include "scene/Asset.hpp"
#include "scene/Scene.hpp"
#include "scene/Parameter.hpp"
#include "scene/Technique.hpp"
#include "scene/Pass.hpp"
#include <scene/SeqPos.hpp>
namespace Scene {
class Effect : public <API key>
{
friend class Library... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platforms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
<?php
error_reporting(E_ALL ^ ( E_STRICT | E_DEPRECATED | E_NOTICE ) );
putenv('DEBUG=true');
ini_set('display_errors',true);
set_time_limit(100);
ini_set('zlib.output_compression','On');
ini_set('zlib.<API key>',9);
// routing config for built in web server. we only use this for travis temporarily
if (function_exists(... |
import os
import random
import string
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
TEST_APP_URL = os.getenv('TEST_APP_URL')
TEST_CLIENT_URL = os.getenv('TEST_CLIENT_URL')
E2E_ARGS = os.getenv('E2E_ARGS')
TEST_URL = TEST_CLIENT_URL if E2E_ARGS =... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rgaa 4.0 Test.4.6.2 Failed 01</title>
</head>
<body class="Failed">
<div>
<h1>Rgaa 4.0 Test.4.6.2 Failed 01</h1>
<!-- START [test-detail] -->
<div class="test-detail" lang="fr">
<p>Pour chaque <a href="https://www.numeriqu... |
package com.personalgarage.service.common.application;
import com.personalgarage.service.common.exceptions.<API key>;
import com.personalgarage.service.common.interfaces.errors.ApplicationErrors;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.Res... |
package org.opencps.processmgt.model.impl;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.model.CacheModel;
import org.opencps.processmgt.model.ProcessWorkflow;
import java.io.Externalizable;
import java.io.IOException;
import java.io.Obj... |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
// Opportunity is used to store customer information.
class Opportunity extends SugarBean {
var $field_name_map;
// Stored fields
var $id;
var $lead_source;
var $date_entered;
var $date_modified;
var $modified_us... |
App.WhyExhibitView = Ember.View.extend({
templateName: 'why-exhibit',
classNames: ['tile content-tile why-exhibit rabdforange innerTile mix general_info all tab-tile tile-3-tall tile-n-wide'],
attributeBindings: ['width:data-width', 'height:data-height'],
width: 'n',
height: 2,
didInsertElement:... |
DELETE FROM `weenie` WHERE `class_Id` = 14006;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (14006, 'housecottage2314', 53, '2019-02-10 00:00:00') /* House */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (14006, 1, 128) /* ItemType - Misc */
, (14006, ... |
import 'font-awesome/scss/font-awesome.scss'
import '<API key>/dist/<API key>.scss'
import 'vue2-animate/dist/vue2-animate.min.css'
import 'buefy/lib/buefy.css'
import 'bulmaswatch/lumen/bulmaswatch.min.css'
import Buefy from 'buefy'
import Vue from 'vue'
import VueCookie from 'vue-cookie'
import Raven from 'raven-js'
... |
'use strict';
describe('myApp.joystickDpadSwitch module', function() {
var $compile, $rootScope, scope, $controller, element,controller;
beforeEach(angular.mock.module('templates'));
beforeEach(module('myApp.joystickDpadSwitch'));
beforeEach(module('myApp.joystickService'));
beforeEach(module('myApp.roverServ... |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2018-03-26 15:34
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('jurisdiction', '<API key>'),
]
operations = [
migrations.RemoveField(
model_name='jurisdiction',
name='f... |
package state_test
import (
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
"github.com/juju/juju/state"
"github.com/juju/juju/testing/factory"
)
type CollectionsSuite struct {
ConnSuite
}
var _ = gc.Suite(&CollectionsSuite{})
type collec... |
package tigase.io;
import tigase.stats.StatisticsList;
import java.io.EOFException;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Describe class TLSIO here.
*
*
* Created: Sat May 14 07:43:30 200... |
(function() {
var NAME = _CMProxy.parameter.NAME;
var DESCRIPTION = _CMProxy.parameter.DESCRIPTION;
Ext.define("CMDBuild.delegate.administration.common.basepanel.<API key>", {
extend: "CMDBuild.delegate.administration.common.basepanel.CMFormFiledsManager",
/**
* @return {array} an a... |
<!DOCTYPE html>
<html lang="en"
>
<head>
<title>task1 - CDW2 (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="text/css">
/*so... |
import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import { Trans } from '@lingui/macro';
import <API key> from 'common/<API key>';
import { makePlainUrl } from 'interface/common/makeAnalyzerUrl';
import <API key> from 'interface/home/ReportHistory/<API key>';
const ... |
describe('<API key>', function(){
var $compile,
$parse,
scope;
beforeEach(module('json-schema-ui'));
beforeEach(inject(function(_$compile_, _$rootScope_, _$parse_){
$compile = _$compile_;
$parse = _$parse_;
scope = _$rootScope_.$new();
}));
it('should preproce... |
package org.rstudio.studio.client.workbench.views.workspace.model;
import com.google.gwt.core.client.JavaScriptObject;
public class DownloadInfo extends JavaScriptObject
{
protected DownloadInfo()
{
}
public final native String getPath() /*-{
return this.path[0];
}-*/;
public final native String... |
// DO NOT EDIT: generated by gooxml ECMA-376 generator
// Use of this source code is governed by the terms of the Affero GNU General
package wml
import (
"encoding/xml"
"log"
)
type CT_DocPartCategory struct {
// Category Associated With Entry
Name *CT_String
// Gallery Associated With Entry
Gal... |
# <API key>: true
require 'spec_helper'
describe 'Underlined' do
it 'underlined_single' do
docx = OoxmlParser::DocxParser.parse_docx('spec/document/elements/paragraph/runs/font_style/underlined/underlined_single.docx')
expect(docx.elements[0].nonempty_runs.first.font_style.underlined).to eq(:single)
end
end |
/*
* Written by Matti Katila
*/
// MAKE: gcc triples.c -o triples `pkg-config glib-2.0 --cflags --libs ` && ./triples test add 1 2 3
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <stdlib.h>
#include <glib.h>
static const char *APP... |
package backend.api.rest.application.v21.impl;
import com.liferay.petra.string.StringPool;
import com.liferay.portal.kernel.json.JSONArray;
import com.liferay.portal.kernel.json.JSONException;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.json.JSONObject;
import com.liferay.por... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rgaa 4.0 Test.12.9.1 Failed 01</title>
</head>
<body class="Failed">
<div>
<h1>Rgaa 4.0 Test.12.9.1 Failed 01</h1>
<!-- START [test-detail] -->
<div class="test-detail" lang="fr">
<p>Dans chaque page web, chaque <a href="h... |
<?php
namespace AppBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\<API key>;
use Symfony\Component\OptionsResolver\<API key>;
class FiltroPaisType extends AbstractType
{
/**
* @param <API key> $builder
* @param array $options
*/
public function buildForm(<AP... |
import { commitMutation, graphql } from "react-relay";
const mutation = graphql`
mutation SetPasswordMutation($input: SetPasswordInput!) {
setPassword(input: $input) {
viewer {
MemberReset_viewer
}
}
}
`;
function commit(environment, input, onCompleted) {
const variables = {
input,... |
<?php
return array(
'does_not_exist' => 'ไม่มีโมเดลนี้',
'assoc_users' => 'โมเดลนี้มีความสัมพันธ์กับสินทรัพย์หนึ่ง หรือมากกว่าในปัจจุบัน และจะไม่สามารถลบได้ กรุณาลบสินทรัพย์และลองอีกครั้ง ',
'create' => array(
'error' => 'ยังไม่ได้สร้างโมเดล กรุณาลองใหม่อีกครั้ง',
'success' => 'สร้างโม... |
{% extends "base.html" %}
{% block page_content %}
<!-- Page Heading/Breadcrumbs -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
<small>Submit</small>
</h1>
<ol class="breadcrumb">
... |
/**
* CORE
*
* This is the set of CSS rules required by Calendar to drive core functionality and structure.
* Changes to these rules may result in the Calendar not functioning or rendering correctly.
*
* They should not be modified for skinning.
**/
/* CALENDAR BOUNDING BOX */
.yui-calcontainer {
position: r... |
DELETE FROM `weenie` WHERE `class_Id` = 10228;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (10228, 'housecottage536', 53, '2019-02-10 00:00:00') /* House */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (10228, 1, 128) /* ItemType - Misc */
, (10228, ... |
Thursday 17th of September 2015 09:26:47 AM
Unknown error type: [8] Undefined offset: 226
Error on line 14 in file /home/starsquest/servers/game/includes/libs/opbe/implementations/2Moons/1_6_1_injectionmode/LangImplementation.php, PHP 5.4.36-0+deb7u3 (Linux)
$_POST =
$_GET =
<table class="lined widthFull">
... |
namespace InfinniPlatform.PrintView.Expressions.CompiledExpressions
{
internal class ConstantExpression : ICompiledExpression
{
public static readonly ConstantExpression Null = new ConstantExpression(null);
private readonly object _value;
public ConstantExpression(object value)
{... |
const dns = require('dns')
const localIP = '192.168.178.0'
// TODO: make local IP a variable or in config file
function <API key> (packetArray) {
var routesArray = []
for (var packet in packetArray) {
try {
routesArray.push(getRouteFromPacket(packet))
} catch (exception) {
... |
html, body
{
margin: 0;
padding: 0;
font-family: Consolas, Monospace;
font-size: 12px;
}
p, div
{
margin: 0;
padding: 0;
}
p
{
padding: 2px 5px;
}
p.lineError
{
background-color: #FFD8D8;
border-bottom: 1px dashed #FF9696
}
span.error
{
color: #F00;
min-width: 5px;
border... |
/**
* Utility functions for manipulating the data from files, like reading it into memory
* and converting between the different formats we use
*/
#include "util.h"
#include <stdio.h>
#include <string.h>
#include "lines.h"
/**
* This reads data from the given file pointer into memory, breaking it into segments
* o... |
using ACE.Server.Network.Enum;
using ACE.Server.Network.GameMessages;
using ACE.Server.Network.GameMessages.Messages;
namespace ACE.Server.Network.Handlers
{
public static class DDDHandler
{
[GameMessage(GameMessageOpcode.<API key>, SessionState.AuthConnected)]
public static void <API key>(Clien... |
package org.yamcs.algorithms;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Te... |
namespace LQT.GUI.Quantification
{
partial class FrmMorbidity
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<param name="dispos... |
ActionController::Routing::Routes.draw do |map|
# The priority is based upon order of creation: first created -> highest priority.
# Sample of regular route:
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'
# Keep in mind you can assign values other than :controller and :action
# Sa... |
package cn.dlb.bim.ifc.shared;
public class <API key> extends Exception {
private static final long serialVersionUID = -<API key>;
public <API key>(String message) {
super(message);
}
} |
# 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 ready-to-use solution with commercial
# garantees and support are strongly ... |
<?php
/**
* This class has been auto-generated by the Doctrine ORM Framework
*/
class <API key> extends <API key>
{
} |
<?php
require __DIR__ . '/tests/Utilities.php';
?> |
package cn.dlb.bim.models.ifc4;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Ifc Member Type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link cn.dlb.bim.models.ifc4.IfcMemberType#getPredefinedType <em>Predefined Type... |
{% extends 'base.html' %}
{% load static %}
{% block content %}
<script src="{% static 'js/jquery.liveurl.js' %}"></script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<style>
.<API key> .ui-state-default... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="t... |
package com.ephesoft.gxt.core.shared.comparator;
public interface SortingProperty {
/**
* Gets the <code>orderNumber</code> which specifies ordering at UI.
*
* @return {@link String}
*/
String getOrderNumber();
} |
using System.Web.Mvc;
using Frapid.Areas;
using Frapid.Dashboard;
using Frapid.Dashboard.Controllers;
using Frapid.DataAccess.Models;
namespace MixERP.HRM.Controllers.Tasks
{
public class ContractController : DashboardController
{
[Route("dashboard/hrm/tasks/contracts")]
[MenuPolicy]
[Sc... |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('app', '0014_survey'),
]
operations = [
migrations.AddField(
model_name='survey',
name='question2',
... |
package gplx.xowa.xtns.geoCrumbs; import gplx.*; import gplx.xowa.*; import gplx.xowa.xtns.*;
import gplx.xowa.xtns.pfuncs.*;
import gplx.xowa.langs.*; import gplx.xowa.langs.kwds.*;
import gplx.xowa.parsers.*; import gplx.xowa.parsers.tmpls.*;
public class Geoc_isin_func extends Pf_func_base {
@Override public int... |
# coding=utf-8
import os
import setuptools
# The plugin's identifier, has to be unique
plugin_identifier = "OctoPNP"
# The plugin's python package, should be "octoprint_<plugin identifier>", has to be unique
plugin_package = "octoprint_%s" % plugin_identifier
# The plugin's human readable name.
# Can be overwritten wit... |
(function() {
'use strict';
var repositories = function(restmod) {
return restmod.model('/repositories');
};
repositories.$inject = ['restmod'];
module.exports = {
name: 'Repositories',
provider: repositories
};
}) (); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.