answer stringlengths 15 1.25M |
|---|
.mycourse_con {float:left; width:100%; margin-top:30px;}
.mycourse_con ul {margin:auto; width:85%; background:#ebebeb; padding:20px;}
.mycourse_con p {line-height:40px; font-size:15px;}
.mycourse_con p.fb {font-weight:bold;}
.mycourse_con p.c1 {text-align:center; color:#ff8400;}
.mycourse_con p img ... |
# 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
from django.contrib.messages.views import SuccessM... |
package edu.yu.einstein.wasp.variantcalling.integration.messages;
import edu.yu.einstein.wasp.integration.messages.WaspMessageType;
/**
* @author
*
*/
public class <API key> extends WaspMessageType{
public static final String VARIANTCALLING = "edu.yu.einstein.wasp.variantcalling";
} |
#!/usr/bin/env bash
# Start-up script that waits for Postgres to be ready
# Christopher Harrison <ch12@sanger.ac.uk>
set -eu
wait_for_postgres() {
local -i max_attempts="$1"
python -u <<-PYTHON
import os
from time import sleep
from cogs import config, mail
from cogs.db.interface impo... |
#ifndef INITGRID_H
#define INITGRID_H
extern const OptionDef odinitgrid [];
int initparamsinitgrid(Option * opts, int optsc);
void freeparamsinitgrid();
void initgrid(Grid g);
#endif |
DELETE FROM `weenie` WHERE `class_Id` = 10356;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (10356, 'housecottage664', 53, '2019-02-10 00:00:00') /* House */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (10356, 1, 128) /* ItemType - Misc */
, (10356, ... |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Nugety
{
public static class AssemblyExtensions
{
}
} |
rockmite = Creature:new {
objectName = "@mob/creature_names:rockmite",
socialGroup = "self",
faction = "",
level = 8,
chanceHit = 0.27,
damageMin = 70,
damageMax = 75,
baseXp = 187,
baseHAM = 405,
baseHAMmax = 495,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType ... |
/**
* A media element corresponding to a <video> element.
*
* It is implemented as a collection of mediaSource objects. The media sources
* will be initialized from the <video> element, its child <source> elements,
* and/or the ROE file referenced by the <video> element.
*
* @param {element}
* videoElement... |
namespace Bny.Blog.Backend.Core.Configuration
{
public static class BnyConfig
{
public const string BNY_ARTICLE_SOURCE = "bny.blog.articleDirectory";
public const string BNY_PORT = "bny.blog.service.port";
public const string BNY_QUICK_EDIT_LINK = "bny.blog.quickEditLink";
public... |
<!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="../../../../aui/css/aui-e... |
package com.x.bbs.assemble.control.service;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import com.x.base.core.container.<API key>;
import com.x.base.core.container.factory.<API key>;
import com.x.base.core.entity.annotation.CheckPersistType;
import com.x.base.core.entity.annotation.CheckRemoveT... |
{% extends "tutorial/base.html" %}
{% load crispy_forms_tags %}
{% block title %}
Nouvel extrait – Tutoriels
{% endblock %}
{% block headline %}
Nouvel extrait
{% endblock %}
{% block headline-sub %}
{% if chapter.part %}
{{ chapter.title }}
{% else %}
{{ chapter.tutorial.title }}
... |
from typing import Optional
import os
def get_env(secret_name: str, default: Optional[str] = None):
"""Gathers secrets and envvars from secret provider and environment"""
if secret_name.startswith("SDC_"):
# Get secret from a secret provider (portainer ?)
return ""
result = os.environ.get(se... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms 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... |
# -*- coding: utf-8 -*-
# template 18
"""
Various tools at your fingertips.
The available tools are:
* cvt_csv_2_rst.py: convert csv file into rst file
* cvt_csv_2_xml.py: convert csv file into xml file
* cvt_script: parse bash script and convert to meet company standard
* gen_readme.py: generate documentation files, m... |
from test_delete import *
from test_openid import *
from test_edit import * |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <float.h>
#include "../gui.h"
#include "../gui_internal.h"
#include "../utilities.h"
static int keyUp(InputEvent* ev, GUIDebugAdjuster* bc);
static void render(GUIDebugAdjuster* da, PassFrameParams* pfp);
static void updateText(GUID... |
/**
* @brief Posix queues support
*
* @file sys_posixq.c
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <stdarg.h>
#include <ctype.h>
#include <memory.h>
#include <errno.h>
#include <signal.h>
#include <limits.h>
#include <pthread.h>
#include <string.h>
#include <ndrx_confi... |
<!DOCTYPE html>
<html lang="en"
>
<head>
<title>Articles by 40323132 - CD (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="te... |
package com.gildorymrp.core.feat;
import com.gildorymrp.api.plugin.core.ActiveFeat;
import com.gildorymrp.api.plugin.core.Character;
import com.gildorymrp.api.plugin.core.Feat;
public class <API key> implements ActiveFeat {
@Override
public String getDescription() {
return "In addition to the single ext... |
#include <kernel/access.h>
#include <kotaka/log.h>
#include <kotaka/paths/bigstruct.h>
#include <kotaka/paths/system.h>
#include <kotaka/paths/text.h>
#include <kotaka/privilege.h>
inherit LIB_INITD;
inherit UTILITY_COMPILE;
private void load()
{
MODULED->boot_module("Verb");
load_dir("lwo");
load_dir("obj"... |
Cuttlefish::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web... |
from sklearn.utils import check_array
import numpy as np
def geh(y_true, y_pred, axis=0):
return np.sqrt(2*np.power(y_pred - y_true, 2)/(y_pred + y_true)).mean(axis=axis)
def <API key>(y_true, y_pred):
# y_true, y_pred = check_array(y_true), check_array(y_pred)
# Note: does not handle mix 1d representation
... |
<?
/*
include(dirname(__FILE__)."/../conf/main.conf.php");
include(dirname(__FILE__)."/../phpwf/plugins/class.db.php");
include(dirname(__FILE__)."/../www/lib/imap.inc.php");
include(dirname(__FILE__)."/../www/lib/class.erpapi.php");
include(dirname(__FILE__)."/../www/plugins/phpmailer/class.phpmailer.php");
include(di... |
package br.gov.mj.sislegis.app.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.xml.bind.annotation.XmlRootElement;
@Entity
@XmlRootElement
public class Usuario implements ... |
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% block content %}
<div class="container">
<h2>Kontakt</h2>
<form action="{% url 'contact' %}" method="post">
{% csrf_token %}
{{ form | crispy }}
<input class="btn btn-primary" type="submit" value="Odeslat" />
</form>
</div>
{% endblock %} |
#include "<API key>.h"
#include "application.h"
#include "document.h"
#include "global.h"
#include "cachedimagefile.h"
#include "iconitemdelegate.h"
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QFileDialog>
#include <QFileInfo>
#include <QDebug>
using namespace qNotesManager;
<API key>::<API key>(QWidget *pa... |
#include "test.h"
#include "memdebug.h"
int test(char *URL)
{
CURLcode res;
CURL *curl;
if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {
fprintf(stderr, "curl_global_init() failed\n");
return TEST_ERR_MAJOR_BAD;
}
curl = curl_easy_init();
if(!curl) {
fprintf(stderr, "curl_easy_init() failed\n... |
package hundsfickerei.schafkopf.server.network.controller;
import hundsfickerei.schafkopf.server.network.model.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import javax.annotation.PostConstruc... |
package org.mskcc.cbio.portal.dao;
import org.cbioportal.persistence.MutationRepository;
import org.mskcc.cbio.portal.model.*;
import java.util.*;
import org.apache.commons.math3.stat.correlation.PearsonsCorrelation;
import org.mskcc.cbio.portal.model.converter.<API key>;
import org.springframework.beans.factory.annota... |
# This file is part of VoltDB.
# 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 unittest
imp... |
<?php
include_once ("FDL/Class.Doc.php");
/**
* Modify enum items
* @param Action &$action current action
* @global string $famid Http var : document id
*/
function editfamilyenums(Action & $action)
{
$usage = new ActionUsage($action);
$usage->setDefinitionText("Modify enum items");
$famId = $usage-><AP... |
html {
-<API key>: none;
}
body {
font: 13px/1.7em 'Open Sans';
background-color: #FFF;
}
p {
margin-bottom: 1.7em;
font: 14px/1.7em 'Open Sans';
}
ul {
margin-bottom: 1.7em;
}
h1, h2, h3,
h4, h5, h6 {
margin-bottom: .85em;
}
h3, h4, h6 {
margin-bottom: 1.15em;
}
input,
button,
select,
t... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Rgaa42019 Test.10.04.01 Failed 07_5</title>
</head>
<body>
<div>
<h1>Rgaa42019 Test.10.04.01 Failed 07_5</h1>
<div class="test-detai... |
DELETE FROM `landblock_instance` WHERE `landblock` = 0xCAB9;
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 (0x7CAB9000, 9686, 0xCAB90100, 153.594, 61.8864, 150.85, ... |
fast.modules.cli.i18n = fast.modules.cli.i18n || {
en: {
placeholder: "To add an entry just type and hit enter or type / to search"
},
de: {
placeholder: "Um einen Eintrag hinzu zu fügen einfach tippen und mit Enter bestätigen oder / zum Suchen eingeben"
}
}; |
package com.jd.survey.domain.settings;
public enum Month {
JANUARY("JAN"),
FEBRUARY("FEB"),
MARCH("MAR"),
APRIL("APR"),
MAY("MAY"),
JUNE("JUN"),
JULY("JUL"),
AUGUST("AUG"),
SEPTEMBER("SEP"),
OCTOBER("OCT"),
NOVEMBER("NOV"),
DECEMBER("DEC");
private String code;
pr... |
<?php
return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle::class => ['all' => true],
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
... |
# -*- coding: utf8 -*-
# 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
from datetime i... |
# Releasing children from poverty in Jesus' name
# The licence is in the file __manifest__.py
import math
from datetime import datetime, timedelta
from odoo import api, models, fields, exceptions, _
from odoo.exceptions import ValidationError
class EventCompassion(models.Model):
"""A Compassion event. """
... |
from odoo import api, fields, models
class IrMailServer(models.Model):
_inherit = "ir.mail_server"
smtp_from = fields.Char(
string="Email From", help="Set this in order to email from a specific address."
)
@api.model
def send_email(
self, message, mail_server_id=None, smtp_server=Non... |
#include "dash.h"
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include "sha3/sph_blake.h"
#include "sha3/sph_bmw.h"
#include "sha3/sph_groestl.h"
#include "sha3/sph_jh.h"
#include "sha3/sph_keccak.h"
#include "sha3/sph_skein.h"
#include "sha3/sph_luffa.h"
#include "sha3/sph_cubehash.h... |
class AssignInboxToSample < ActiveRecord::Migration[5.2]
def change
channel = Channel.find_by(subject: Channel::<API key>)
if (channel.nil?)
attributes = {
subject: Channel::<API key>,
channel_type: 8,
msg_template: {"data": "This file [%{filename}] has been moved to the sample[%... |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
$mod_strings = array (
'LBL_MODULE_NAME' => 'Tasks',
'LBL_TASK' => 'Tasks: ',
'LBL_MODULE_TITLE' => ' Tasks: Home',
'<API key>' => ' Task Search',
'LBL_LIST_FORM_TITLE' => ' Task List',
'LBL_NEW_FORM_TITLE' => ' Create Task',
... |
#ifndef HQLATTR_HPP
#define HQLATTR_HPP
#include "hqlexpr.hpp"
#define MAX_MAXLENGTH (INFINITE_LENGTH-1)
extern HQL_API IHqlExpression * queryProperty(ITypeInfo * type, _ATOM search);
extern HQL_API IHqlExpression * queryPropertyChild(ITypeInfo * type, _ATOM search, unsigned idx);
extern HQL_API void cloneFieldModifier... |
-- brittany { <API key>: { tag: <API key> }, <API key>: IndentPolicyLeft }
func :: (((((((((())))))))))
-- current output is.. funny. wonder if that can/needs to be improved.. |
#ifndef SCALAR_H_
#define SCALAR_H_ (1)
#include <cmath>
// Scalar: Our basic numerical type. double for now;
typedef double Scalar;
#define SCALAR_SQRT(s) std::sqrt(s)
#define SCALAR_ABS(s) std::abs(s)
#define SCALAR_ACOS(s) std::acos(s)
#define SCALAR_SIN(s) std::sin(s)
#define SCALAR_COS(s) std::cos(s)
// See float.... |
using System;
using System.Windows.Forms;
namespace HybrasylEditor.UI
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
private void newItem_Click(object sender, EventArgs e)
{
var form = new NewItemForm();
... |
layout: blog
title: Blog
permalink: /blog/
layoutCls: x-wide
{% for post in site.posts %}
{% include post-excerpt.html %}
{% endfor %} |
package gplx.xowa.xtns.dynamicPageList; import gplx.*; import gplx.xowa.*; import gplx.xowa.xtns.*;
class Dpl_itm_keys {
public static byte Parse(byte[] src, int bgn, int end, byte or) {
Object o = keys.Get_by_mid(src, bgn, end);
return o == null ? or : ((Byte_obj_val)o).Val();
}
public stat... |
<?php
// See the LICENCE file in the repository root for full licence text.
namespace App\Models\Match;
use App\Models\Beatmap;
use App\Traits\Scoreable;
/**
* @property int $count100
* @property int $count300
* @property int $count50
* @property int $countgeki
* @property int $countkatu
* @property int $countmis... |
use pool_crate::Reset;
use std::io::{self,Write};
use std::cmp::{min,max};
use std::{fmt,str};
use pool::{Pool,Checkout};
#[derive(Debug,PartialEq,Clone)]
pub enum InputElement {
length in the stream
Slice(usize),
Splice(usize), // x bytes copied in kernel
}
#[derive(Debug,PartialEq,Clone)]
pub enum OutputElement... |
<!DOCTYPE html>
<!--[if lt IE 7]><html class="ng-csp ie ie6 lte9 lte8 lte7"><![endif]-->
<!--[if IE 7]><html class="ng-csp ie ie7 lte9 lte8 lte7"><![endif]-->
<!--[if IE 8]><html class="ng-csp ie ie8 lte9 lte8"><![endif]-->
<!--[if IE 9]><html class="ng-csp ie ie9 lte9"><![endif]-->
<!--[if gt IE 9]><html class="ng-csp... |
package org.semtix.shared.daten.enums;
/**
* Konstanten zum Status des Antrags (nichtenschieden, genehmigt, abgelehnt)
*/
public enum AntragStatus {
NICHTENTSCHIEDEN (1, "nicht entschieden"),
GENEHMIGT (2, "genehmigt"),
ABGELEHNT (3, "abgelehnt");
private int statusID;
private String statusText;
... |
package com.rapidminer.example.table;
/**
* Implementation of DataRow that is backed by primitive arrays. Should always be used if more than
* 50% of the data is sparse. As fast (or even faster than map implementation) but needs
* considerably less memory.
*
* @author Niraj Aswani, Julien Nioche, Ingo Mierswa, She... |
<!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="../../.... |
<?php
/**
* Base static class for performing query and update operations on the 'conversion' table.
*
*
*
* @package lib.model.om
*/
abstract class BaseconversionPeer {
/** the default database name for this class */
const DATABASE_NAME = 'propel';
/** the table name for this class */
const TAB... |
CREATE TABLE IF NOT EXISTS `pum_claim_level` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`level` varchar(80) DEFAULT NULL,
`max_amount` decimal(11,2) DEFAULT NULL,
`authorizing_level` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARACTER SET = utf... |
import {getSortingFromQuery} from './sorting'
export default {getSortingFromQuery} |
import React from 'react';
import PropTypes from 'prop-types';
import {connect} from 'react-redux';
import * as actions from '../../actions';
import ng from 'core/services/ng';
import {<API key>} from 'core/helpers/dom/<API key>';
/**
* @ngdoc React
* @module superdesk.core.editor3
* @name <API key>
* @param {Strin... |
# -*- coding: utf-8 -*-
import re
from odoo import models, fields, api, _
from odoo.exceptions import ValidationError, UserError
from odoo.tools.float_utils import float_split_str
from odoo.tools.misc import mod10r
<API key> = 27
<API key> = 12
class AccountMove(models.Model):
_inherit = 'account.move'
<API key... |
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace HearthAnalyzer.Core.Cards
{
<summary>
Represents a deck of cards
</summary>
... |
/* eslint-disable react/<API key> */
// TODO(*): Fix above?
import React from 'react';
import ReactDOM from 'react-dom';
import _ from 'lodash';
import {ItemList as ItemListComponent} from 'apps/search/components';
import {<API key>} from 'apps/authoring/authoring/services/<API key>;
ItemList.$inject = [
'$location... |
<?php
require_once 'base/fs_model.php';
class <API key> extends fs_model
{
public $pvptotal;
public $dtopor;
public $recargo;
public $irpf;
public $pvpsindto;
public $cantidad;
public $codimpuesto;
public $pvpunitario;
public $idlinea;
public $idfactura;
public $idalbaran;
public $de... |
package com.rapidminer.operator.libraries;
import com.rapidminer.gui.tools.VersionNumber;
import com.rapidminer.operator.Operator;
import com.rapidminer.operator.<API key>;
import com.rapidminer.operator.OperatorDescription;
import com.rapidminer.repository.BlobEntry;
import com.rapidminer.tools.OperatorService;
import... |
package com.rapidminer.gui.new_plotter;
/**
* An exception which is thrown if an error occurs during plotting. Think of this as a
* RuntimeException in the context of the plotter framework.
*
* For errors during chart configuration {@see <API key>}.
*
* @author Marius Helf
*
*/
public class <API key> extends <A... |
<?php
/**
* @package api
* @subpackage filters.base
* @abstract
*/
abstract class <API key> extends KalturaFilter
{
static private $map_between_objects = array
(
"idEqual" => "_eq_id",
"idIn" => "_in_id",
"systemNameEqual" => "_eq_system_name",
"systemNameIn" => "_in_system_n... |
#ifndef <API key>
#define <API key>
#include <vector>
#include "rpc/serialize_macros.hpp"
class printf_buffer_t;
/* Binary blob that represents some unknown POD type */
class binary_blob_t {
public:
binary_blob_t() { }
template<class obj_t>
explicit binary_blob_t(const obj_t &o) : storage(reinterpret_cast<c... |
DELETE FROM `weenie` WHERE `class_Id` = 27851;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (27851, 'guidesingularity', 8, '2019-02-10 00:00:00') /* Book */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (27851, 1, 8192) /* ItemType - Writable */
, (27851,... |
DELETE FROM `weenie` WHERE `class_Id` = 10807;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (10807, 'tumerokaugmented', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (10807, 1, 16) /* ItemType - Creature */
, (1... |
"""
Test for asset XML generation / parsing.
"""
import unittest
import pytest
from contracts import <API key>
from lxml import etree
from opaque_keys.edx.locator import CourseLocator
from path import Path as path
from six.moves import zip
from xmodule.assetstore import AssetMetadata
from xmodule.modulestore.tests.test... |
<?php
defined( 'BASEPATH' ) or exit( 'No direct script access allowed' );
define( 'FILE_READ_MODE', 0644 );
define( 'FILE_WRITE_MODE', 0666 );
define( 'DIR_READ_MODE', 0755 );
define( 'DIR_WRITE_MODE', 0755 );
define( 'FOPEN_READ', 'rb' );
define( 'FOPEN_READ_WRITE', 'r+b' );
define( '<API key>', 'wb' ); // truncates e... |
package Schema::Result::Profile;
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use Moose;
use MooseX::NonMoose;
use namespace::autoclean;
extends 'DBIx::Class::Core';
__PACKAGE__->load_components("InflateColumn::DateTime");
=head1 NAME
Schema::Result::Profile
=cut
__PACKAGE__->table("profiles");... |
<API key> = Creature:new {
objectName = "",
socialGroup = "rebel",
faction = "rebel",
level = 100,
chanceHit = 1,
damageMin = 645,
damageMax = 1000,
baseXp = 9429,
baseHAM = 24000,
baseHAMmax = 30000,
armor = 0,
resists = {0,0,0,0,0,0,0,0,-1},
meatType = "",
meatA... |
create table <API key>
(
k_coin int not null AUTO_INCREMENT,
created_by int null,
created_for int null,
redeemed_by int null,
redeemed_for int null,
date_created timestamp null default CURRENT_TIMESTAMP,
date_redeemed timestamp null,
utility_flag int null,
KEY <API key> (k_coin)
); |
package org.restcomm.protocols.ss7.cap.api.service.circuitSwitchedCall.primitive;
import java.io.Serializable;
/**
*
<code>
<API key> ::= SEQUENCE {
<API key> [1] OCTET STRING (SIZE(1)) OPTIONAL,
-- <API key> 'xxxx xx01'B
-- <API key> 'xxxx xx10'B
-- if absent from Connect or <API key>,
-- then CAMEL s... |
// Generated from comp.proto
package org.yamcs.protobuf;
public final class SchemaComp
{
public static final class ComputationDef
{
public static final org.yamcs.protobuf.SchemaComp.ComputationDef.MessageSchema WRITE =
new org.yamcs.protobuf.SchemaComp.ComputationDef.MessageSchema();
... |
(function()
{
/**
* Add to collection with DUP examination.
* @param {Object} collection
* @param {Object} element
* @param {Object} database
*/
function addSafely( collection, element, database )
{
// 1. IE doesn't support customData on text nodes;
// 2. Text nodes ... |
from typing import Any, Sequence, Union
from dataclasses import dataclass
from . import RequestMsg, ReplyMsg, Message, SimpleMessage
from hedgehog.protocol.proto import ack_pb2
from hedgehog.utils import protobuf
__all__ = ['Acknowledgement']
# <GSL customizable: module-header>
from hedgehog.protocol.proto.ack_pb2 impo... |
package nc.ird.malariaplantdb.service.xls;
import lombok.extern.slf4j.Slf4j;
import nc.ird.malariaplantdb.service.xls.infos.SheetInfo;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
@Slf4j
public class ExcelReaderTest {
@SuppressWarnings("unchecked")
@Test
public void testReadOK()... |
package com.neverwinterdp.kafka.tool;
import java.util.HashMap;
import java.util.Map;
import com.beust.jcommander.DynamicParameter;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.ParametersDelegate;
public class KafkaTopicConfig {
@Parameter(names = "--zk-co... |
package com.ephesoft.gxt.core.shared.dto;
import com.google.gwt.user.client.rpc.IsSerializable;
public class PageTypeDTO implements IsSerializable {
private DocumentTypeDTO documentTypeDTO;
private String identifier;
private String name;
private String description;
private boolean isDeleted;
/**... |
<div id="sidebar-menu-block">
<h3 change:h="">${rootElement/getLabel}</h3>
<tal:block change:menu="menuObject menuObject; class masterUlClass; itemName item; ulClass level%level; liInPathClass inpath">
<tal:block change:menuitem="item" />
</tal:block>
</div> |
#include <stdio.h> /* printf */
#include <stdlib.h> /* system, NULL, EXIT_FAILURE */
#include <string>
#include <iostream>
using namespace std;
int main (int argc, char* argv[])
{
string command = "nohup ";
for (int i = 1; i < argc; ++i) {
//std::cout << argv[i] << std::endl;
command +=... |
// module object
var l_module = exports.module = {};
// a pool for all message handlers
var l_handlers = exports.handlers = {};
var l_checkers = exports.checkers = {};
var l_api = exports.api = {};
var l_name = 'SR.Video.ffmpeg';
// SR.Video handlers (copied from /handlers/video.js)
var l_dbVideoChannel = "icVideoCh... |
DELETE FROM `weenie` WHERE `class_Id` = 41229;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (41229, '<API key>', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (41229, 1, 16) /* ItemType - Creature */
, (41229, ... |
var metaData = (function() {
var <API key> = {
type: "",
id: "",
name: "",
description: ""
},
<API key> = {
id: "",
name: "",
type: "",
description: ""
},
geneticProfiles = {},
cli... |
void calculate_weights(conjugrad_float_t *w, unsigned char *msa, uint64_t ncol, uint64_t nrow, conjugrad_float_t threshold);
void uniform_weights(conjugrad_float_t *w, uint64_t nrow); |
package com.ephesoft.gxt.core.shared.dto.propertyAccessors;
import com.ephesoft.gxt.core.shared.dto.ImportPoolDTO;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;
/**
* This interface provides Property Accessors for ... |
Stizun::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true
# Full error reports are disabled and caching is turned on
... |
#!/bin/bash
set -eEuo pipefail
# External dependencies:
# s3cmd expects AWS_ACCESS_KEY_ID and <API key> to be set in the
# environment.
# For signing the script expects the private signing key to already be
# imported and PGPKEYID and <API key> to be set in the
# environment.
# - generate_index.py
# For gen... |
/** \file
* Functionals for domain initialization -- generic implementation.
*/
#ifndef <API key>
#define <API key>
#include "plbWrapper/block/<API key>.h"
#include "core/cell.h"
#include "atomicBlock/dataField3D.h"
namespace plb {
template<typename T>
<API key><T>::<API key> (
std::vector<T> const& value_ )
... |
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using InfinniPlatform.PrintView.Properties;
namespace InfinniPlatform.PrintView.Writers.Pdf
{
internal class HtmlToPdfUtil
{
private const int UtilTimeout = 60 * 1000;
private const string PaddingB... |
package org.voltdb;
import java.util.ArrayList;
import java.util.Iterator;
import org.voltdb.VoltTable.ColumnInfo;
import com.google_voltpatches.common.collect.ImmutableSet;
public class DRProducerStatsBase {
public static interface Columns {
// column for both tables
public static final String CLUS... |
const axios = require('axios')
const Pino = require('pino')
class Telegram {
constructor () {
this.logger = new Pino({ level: process.env.LOG_LEVEL })
}
async sendMessage (chatId, message, options = {}) {
const url = `https://api.telegram.org/bot${process.env.TELEGRAM_BOT_TOKEN}/sendMessage`
const dat... |
{% ckan_extends %}
{% block bodytag %} class="resource-page"{% endblock %}
{% block banner %}
<h1 class="page-heading">{{ h.<API key>(res) | truncate(50) }}</h1>
{% endblock %}
{% block resource_read_title %}{% endblock %}
{{ super() }} |
<?php
require_once('modules/RestaurantBookings/RestaurantBookings.php');
class Viewexport2word extends SugarView{
var $ss ;
function Viewexport2word() {
parent::SugarView();
}
function display(){
global $sugar_config,$mod_strings,$app_strings;
... |
<API key> = Creature:new {
objectName = "@mob/creature_names:<API key>",
socialGroup = "slice_hound",
faction = "",
level = 10,
chanceHit = 0.28,
damageMin = 130,
damageMax = 140,
baseXp = 356,
baseHAM = 675,
baseHAMmax = 825,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
... |
#include "<API key>.h"
#include "Delete.h"
namespace OOX
{
namespace Logic
{
Delete::Delete()
{
}
Delete::~Delete()
{
}
Delete::Delete(const XML::XNode& node)
{
fromXML(node);
}
const Delete& Delete::operator =(const XML... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.