answer stringlengths 15 1.25M |
|---|
from ev import Command, CmdSet
from src.commands.default.muxcommand import MuxCommand
class CmdAttack(Command):
"""
Begin to fight a target, typically an npc enemy.
Usage:
attack target-name
"""
key = 'attack'
aliases = ['kill']
help_category = "Combat"
locks = "cmd:all()"
de... |
package de.plushnikov.utilityclass;
import lombok.experimental.UtilityClass;
@UtilityClass
public class Permission {
public String <API key> = "arena.admin";
} |
// Use of this source code is governed by a BSD-style
package template
import (
"bytes"
"encoding/json"
"fmt"
"reflect"
"strings"
"unicode/utf8"
)
// nextJSCtx returns the context that determines whether a slash after the
// given run of tokens starts a regular expression instead of a division
/... |
#ifndef PNGTEST1_READER_H
#define PNGTEST1_READER_H
extern int TestReader();
#endif /* PNGTEST1_READER_H */ |
import { ConfigPlugin, WarningAggregator, <API key> } from '@expo/config-plugins';
import { ExpoConfig } from '@expo/config-types';
export type IosProps = {
appleTeamId?: string;
<API key>?: 'Development' | 'Production';
};
export const <API key>: ConfigPlugin<IosProps> = (
config,
{ appleTeamId, <API key> }
) ... |
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>wdt.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="$relpath/search.css" rel="styleshee... |
package versioned.host.exp.exponent.modules.api.components;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.common.MapBuilder;
import com.facebook.react.uimanager.annotations.ReactProp;
import com.facebook.react.uimanager.SimpleViewManager;
import com.facebook.react.uimanager.ThemedReactContext;... |
<?php
namespace NpPage\Config\Loader;
/**
* Description of ConfigLoader
*
* @author tomoaki
*/
interface <API key> {
public function __construct(array $config = null);
public function load($name);
} |
from jinja2 import escape
from flask.globals import _request_ctx_stack
from flask import json
from wtforms import widgets
from mytrade.utils import _, get_url
class Select2Widget(widgets.Select):
def __call__(self, field, **kwargs):
kwargs.setdefault('data-role', u'select2')
allow_blank = getattr(fi... |
<?php
namespace frontend\controllers;
use common\models\Product;
class ProductController extends \frontend\controllers\FrontendController
{
public function actionView($slug)
{
$productModel = new Product();
$productData = $productModel->findOne(['slug' => $slug]);
$relatedProduct = $prod... |
package gov.hhs.fha.nhinc.patientdiscovery.entity.deferred.response;
import gov.hhs.fha.nhinc.common.nhinccommon.AssertionType;
import gov.hhs.fha.nhinc.nhinclib.NhincConstants;
import gov.hhs.fha.nhinc.orchestration.Orchestratable;
import gov.hhs.fha.nhinc.orchestration.<API key>;
import gov.hhs.fha.nhinc.patientdisco... |
#!/usr/bin/env bash
set -u #Detect undefined variable
set -o pipefail #Return return code in pipeline fails
# IFS=$'\n\t' #used in loop, Internal Field Separator
#Target: Automatically Install & Update Tor Browser On GNU/Linux
#Writer: MaxdSre
#Update Time:
# - Feb 16, 2017 11:43 +0800
# - May 16, 2017 17:20 Tue -040... |
package com.psddev.dari.db;
import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.... |
// Use of this source code is governed by a BSD-style
// Bridge package to expose http internals to tests in the http_test
// package.
package http
import (
"net"
"net/url"
"time"
)
func NewLoggingConn(baseName string, c net.Conn) net.Conn {
return newLoggingConn(baseName, c)
}
var ExportAppendTime = ap... |
/**
* @file vcs_defs.h
* Defines and definitions within the vcs package
*/
#ifndef VCS_DEFS_H
#define VCS_DEFS_H
namespace Cantera
{
/*!
* ERROR CODES
*/
#define VCS_SUCCESS 0
#define VCS_NOMEMORY 1
#define <API key> -1
#define <API key> -2
#define VCS_PUB_BAD -3
#define <API key> -4
#define VCS_FAILED_LOO... |
// SeqAn - The Library for Sequence Analysis
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// * Neither the name of Knut Reinert or the FU Berlin nor the names of
// its contributors ... |
define([
"firebug/lib/object",
"firebug/lib/trace",
"firebug/lib/locale",
"firebug/lib/domplate"
],
function(Obj, FBTrace, Locale, Domplate) {
// Custom Panel Implementation
var panelName = "Canary";
Firebug.MyPanel = function MyPanel() {};
Firebug.MyPanel.prototype = Obj.extend(Firebug.Panel,
{
nam... |
/**
* @file
* This file includes definitions for Thread child table.
*/
#include "child_table.hpp"
#include "common/code_utils.hpp"
#include "common/instance.hpp"
#include "common/locator-getters.hpp"
namespace ot {
#if OPENTHREAD_FTD
ChildTable::Iterator::Iterator(Instance &aInstance, Child::StateFilter aFilter)
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>noHitCounter</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.... |
package com.vmware.vim25;
@SuppressWarnings("all")
public class <API key> extends <API key> {
public <API key>[] failoverHosts;
public <API key>[] getFailoverHosts() {
return this.failoverHosts;
}
public void setFailoverHosts(<API key>[] failoverHosts) {
this.failoverHosts=failoverHosts;
}
} |
{% load i18n %}
{% if items %}
{% if is_searching %}
<h2>
{% blocktrans count counter=items.paginator.count %}
There is one match
{% plural %}
There are {{ counter }} matches
{% endblocktrans %}
</h2>
{% endif %}
{% include "wagtailpolls/list.h... |
package org.sirix.cache;
import org.sirix.index.redblacktree.RBNode;
import org.sirix.page.PageReference;
import org.sirix.page.RevisionRootPage;
import org.sirix.page.interfaces.Page;
public interface BufferManager extends AutoCloseable {
Cache<PageReference, Page> getRecordPageCache();
Cache<PageReference, Page> ... |
#include <stdio.h>
#define DELAY 40000
#define CLEAR1 " [1B[4D [1B[4D [1B[4D [1B[4D [1B[4D "
#define ROCKET1 "[1;32m /\\ [1B[4D || [1B[4D || [1B[4D || [1B[4D [1B[4D [0m"
#define ROCKET2 "[1;36m _. [1B[5D / | [1B[6D / / [1B[6D / / [1B[6D / [1B[6D ... |
/* <API key>: BSD-3-Clause */
#include <stdlib.h>
#include "files.h"
#include "log.h"
#include "tpm2_cc_util.h"
#include "tpm2_policy.h"
#include "tpm2_tool.h"
typedef struct <API key> <API key>;
struct <API key> {
const char *session_path;
TPM2_CC command_code;
const char *<API key>;
tpm2_session *sess... |
<div class="col-sm-4 col-lg-3">
<ul class="nav nav-pills nav-stacked nav-email">
<li class="active"> <a href="#"> <i class="glyphicon glyphicon-inbox"></i> Branch </a> </li>
<li> <a href="<?php echo Yii::app()->createUrl("<API key>?pId=" . $pId); ?>"> <i class="glyphicon glyphicon-th-list"></i> View... |
(function(KUBE){
"use strict";
/* Load class */
KUBE.LoadSingleton('/Library/DOM/FeatureDetect', FeatureDetect,['/Library/Extend/Object']);
/* Declaration */
FeatureDetect.prototype.toString = function(){ return '[object '+this.constructor.name+']' };
function FeatureDetect(){
var detect... |
def <API key>(item):
'''
Parser for 'ghosttouch.wordpress.com'
'''
vol, chp, frag, postfix = <API key>(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('PRC', 'PRC', 'translated'),
('Loiterous', '... |
<?php
// Generated automatically by phpdaogen.
// Do NOT edit this file.
// Any changes made to this file will be overwritten the next time it is generated.
abstract class ApppageuriAbstract {
public $id;
public $when_added;
public $page_uri;
public static function createDefault() {
$v = new App... |
<?php
use app\models\general\GeneralLabel;
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\PlSejarahPerubatan */
$this->title = GeneralLabel::updateTitle.' '.GeneralLabel::<API key>.': ' . ' ' . $model-><API key>;
$this->params['breadcrumbs'][] = ['label' => GeneralLabel::<API key>, 'url' ... |
<?php
defined('PHPFOX') or exit('NO DICE!');
class <API key> extends Phpfox_Component {
public function process() {
$aDraws = phpfox::getService('draw.browse')->getDraws(array(
'order' => 'd.total_comment DESC',
'limit' => 5
), true);
$this->template()->assign(array(
... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_14) on Fri Sep 18 14:09:14 BST 2009 -->
<TITLE>
uk.org.mygrid.cagrid.servicewrapper.service.interproscan.job.service.globus.resource
</TITLE>
<META NAME="date" CONTENT="2009-09-18">
<LINK REL ="stylesheet" TYPE="text/css" HREF="..... |
from web import views
if __name__ == "__main__":
views.app.run(debug=True) |
#include <stdarg.h>
#include "native_client/src/include/portability.h"
#include "native_client/src/include/portability_process.h"
#include "srpcgen/ppp_rpc.h"
#include "native_client/src/shared/ppapi_proxy/plugin_getinterface.h"
#include "native_client/src/shared/ppapi_proxy/plugin_globals.h"
#include "native_client/sr... |
// Use of this source code is governed by a BSD-style
package key
import (
"encoding/hex"
"reflect"
"testing"
topodatapb "github.com/youtube/vitess/go/vt/proto/topodata"
)
func TestKey(t *testing.T) {
k0 := Uint64Key(0)
k1 := Uint64Key(1)
k2 := Uint64Key(0x7FFFFFFFFFFFFFFF)
k3 := Uint64K... |
// include string.h for memcpy()
#include <string.h>
// include stdlib.h for malloc()
#include <stdlib.h>
// include DMA HAL
#if DMA
#include "sys/alt_dma.h"
#include "<API key>.h"
/**
* DMA channels for transmitting and receiving when SENDING tokens
*/
alt_dma_txchan transmit_channel;
/**
* Multiple receive channels... |
// of patent rights can be found in the PATENTS file in the same directory.
// pink/pink/src/pink_cli.cc
#include "utils/pink_cli.h"
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <netdb.h>
#include <poll.h>
#include <unistd.h>
namespace bubbl... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "comments".
*
* @property integer $comment_id
* @property integer $section_id
* @property integer $student_id
* @property string $interim_quality
* @property string $interim_improvement
* @property string $interim_comment
* @property ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http:
<html>
<head>
<title>SHTOOLS - Localized spectral analysis</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../css/sh.css">
<link rel="icon" type="image/vnd.microso... |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>colour.recovery.dataset.smits1999 — Colour 0.3.6 documentation</title>
<link rel="stylesheet" href="../../../../_static/basic.css" type="text/css" />
<link rel="stylesheet" href... |
<?php
require_once dirname(__FILE__) . '/Message.php';
require_once dirname(__FILE__) . '/Part.php';
require_once dirname(__FILE__) . '/../MIME.php';
class MIME_Structure {
/**
* Given the results of imap_fetchstructure(), parse the structure
* of the message, figuring out correct bodypart numbers, etc.
... |
package com.vmware.vim25;
/**
@author Steve Jin (sjin@vmware.com)
*/
public enum <API key>
{
inherit ("inherit"),
vmDirectory ("vmDirectory"),
hostLocal ("hostLocal");
private final String val;
private <API key>(String val)
{
this.val = val;
}
} |
#pragma once
#include <memory>
namespace DAVA
{
#if defined(<API key>)
// FIX: replace DefaultSTLAllocator with TrackingAllocator after fixing framework and game codebases
template <typename T>
using DefaultSTLAllocator = std::allocator<T>;
//using DefaultSTLAllocator = TrackingAllocator<T, ALLOC_POOL_DEFAULT>;
#else
t... |
#import <UIKit/UIKit.h>
#import <ABI39_0_0React/ABI39_0_0RCTBridge.h>
#import <ABI39_0_0React/<API key>.h>
typedef void (^<API key>)(int64_t progress, int64_t total);
typedef void (^<API key>)(UIImage *image);
typedef void (^<API key>)(NSError *error, UIImage *image);
typedef dispatch_block_t <API key>;
/**
* Provides... |
describe('Generic location view', function () {
describe('opening an info window', function () {
beforeEach(function () {
spyOn(suApp.view.GenericLocationView.prototype, "render");
this.view = new suApp.view.GenericLocationView({
model: new Backbone.Model()
});
});
it('should ope... |
<?php
namespace backend\models;
use Composer\Package\Loader\<API key>;
use Yii;
use frontend\models\Chat;
use frontend\models\Statistics;
use frontend\models\Chatnot;
/**
* This is the model class for table "welcome".
*
* @property integer $u_id
* @property string $lytis
* @property string $orentacija
* @property... |
package kiwi.service.revision;
import java.io.IOException;
import java.io.Serializable;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.uti... |
<body><h2>Population Estimates with k shares per contributor using dtree and attribute selection method non_zero</h2><table border="1" class="dataframe">
<thead>
<tr style="text-align: right;">
<th></th>
<th>all</th>
<th>giraffes</th>
<th>zebras</th>
</tr>
<tr>
<th>num_images... |
<?php
use yii\helpers\Url;
?>
<script type="text/javascript">
</script>
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-lg-12">
<div class="ibox float-e-margins">
<div class="ibox-content text-center p-md">
<h2><spa... |
package org.basex.query.func.fn;
import static org.basex.query.QueryError.*;
import org.basex.build.json.*;
import org.basex.build.json.JsonOptions.JsonFormat;
import org.basex.io.parse.json.*;
import org.basex.query.*;
import org.basex.query.func.*;
import org.basex.query.value.item.*;
import org.basex.query.value.map... |
<html>
<body>
<script language="JavaScript">
TargetDate = "12/31/2020 5:00 AM";
BackColor = "palegreen";
ForeColor = "navy";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
FinishMessage = "It is finally here!";
</script>
<script>
func... |
<?php
namespace frontend\controllers;
use Yii;
use app\models\Jurulatih;
// use frontend\models\<API key>;
use yii\web\Controller;
use yii\web\<API key>;
use yii\filters\VerbFilter;
use yii\web\UploadedFile;
use app\models\general\Upload;
use app\models\general\GeneralVariable;
use app\models\general\GeneralLabel;
use ... |
package com.twelvemonkeys.servlet.jsp.droplet.taglib;
import com.twelvemonkeys.servlet.jsp.droplet.Param;
import com.twelvemonkeys.servlet.jsp.taglib.ExTagSupport;
import javax.servlet.jsp.JspException;
public class ParamTag extends ExTagSupport {
/**
* This is the name of the parameter to be inserted into the... |
<?php
/**
* UserDao
*/
require_once('../bean/User.php');
class UserDao
{
function addUser(User $user){
return true;
}
function deleteUser(User $user){
return true;
}
function updateUser(){
$user = new User();
... |
package com.smartdevicelink.test.rpc.enums;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import junit.framework.TestCase;
import com.smartdevicelink.proxy.rpc.enums.ImageFieldName;
/**
* This is a unit test class for the SmartDeviceLink library project class :
* {@link com.smartdeviceli... |
<?php
use yii\helpers\Html;
//use yii\grid\GridView;
use kartik\grid\GridView;
use miloschuman\highcharts\Highcharts;
use app\models\RepChildDevR6;
/* @var $this yii\web\View */
/* @var $searchModel app\models\CampaignSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Campaigns';
$this->para... |
<?php
namespace yii\liuxy\helpers;
use Yii;
use yii\liuxy\gearman\Client;
class IdGeneratorHelper {
const PREFIX = 'id.generator';
/**
* @param $category
* @param string $cacheName
*/
public static function get($category) {
$key = self::PREFIX.$category;
if (!Yii::$app->cache-... |
from django.conf import settings
from django.core.files.storage import FileSystemStorage
from django.core.urlresolvers import reverse
from django.db import models
from django.utils.html import strip_tags
from django.utils.safestring import mark_safe
from django.core.exceptions import ValidationError
from make_mozilla.c... |
var <API key> =
[
[ "apply", "<API key>.html#<API key>", null ],
[ "setF", "<API key>.html#<API key>", null ],
[ "f", "<API key>.html#<API key>", null ]
]; |
// .NAME <API key> - create a ellipsoidal-shaped button
// .SECTION Description
// <API key> creates a ellipsoidal shaped button with
// texture coordinates suitable for application of a texture map. This
// provides a way to make nice looking 3D buttons. The buttons are
// represented as vtkPolyData that includes text... |
body[device='tablet'] #open_tabs_container {
padding-bottom: 40px;
}
body[device='tablet'] #open_tabs_container .page-list>div {
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.16);
margin: 40px auto 0 auto;
min-width: 500px;
max-width: 550px;
}
@media only screen and (min-device-width: 700px) {
body[device='tablet... |
"""
Query subclasses which provide extra functionality beyond simple data retrieval.
"""
from django.core.exceptions import FieldError
from django.db import connections
from django.db.models.sql.constants import *
from django.db.models.sql.datastructures import Date
from django.db.models.sql.expressions import SQLEvalu... |
Flywheel - Remote SDK for JavaScript
JavaScript SDK for HTML5 compliant web browsers.
# About
Given the simplicity of the protocol, you can connect to Flywheel directly over a stock HTML5 `WebSocket` - as long as you're willing to perform some trivial string manipulation to handle `B`, `P` and `R` frames, and handle so... |
<?php
namespace Application\Entity;
use Core\Entity\Entity;
use Core\Entity\EntityException;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\Mapping\SequenceGenerator;
use Doctrine\ORM\Mapping\PrePersist;
use Zend\InputFilter\InputFilter;
use Zend\InputFilter\Factory as InputFactory;
use Zend\InputFilter\<API key>;
u... |
#!/bin/bash
# Bucket location
export AWS_S3_BUCKET="YourBucket/install"
export AWS_DEFAULT_REGION=eu-central-1
# Download the files from S3
echo "Downloading install files" >> /home/ec2-user/log.txt
aws s3 cp --region $AWS_DEFAULT_REGION s3://$AWS_S3_BUCKET/install/install-unrealircd.sh /home/ec2-user/install-unrealirc... |
{% extends "account/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
{% block head_title %}{% trans "Change Password" %}{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<div class="col-md-5">
<h2>{% trans "Change Password" %}</h2>
<form method="POST" action=".... |
package abi10_0_0.host.exp.exponent.modules.api;
import android.util.Base64;
import abi10_0_0.com.facebook.react.bridge.Arguments;
import abi10_0_0.com.facebook.react.bridge.Promise;
import abi10_0_0.com.facebook.react.bridge.<API key>;
import abi10_0_0.com.facebook.react.bridge.<API key>;
import abi10_0_0.com.facebook... |
obj-y := main.o
obj-y += mm.o
obj-y += signal.o
obj-$(CONFIG_MCACHE) += mcache.o
obj-y += spawn.o
obj-y += libc-support.o
obj-y += scheduler.o
obj-$(CONFIG_SCHED_RR) += scheduler-rr.o
obj-$(CONFIG_SCHED_FIFO) += scheduler-fifo.o
obj-y += task.o
obj-y += panic.o
obj-y += syscall.o
obj-$(CONFIG_ELF) += elf-loader.o
obj-y... |
<h1>TABLE "<?= $table ?>"</h1>
<?= $this->render('_form', ['columns'=>$columns, 'row'=>$row]) ?> |
<?php
namespace ClipRest\Model;
use Zend\Db\TableGateway\TableGateway;
class ClipTable {
protected $tableGateway;
public function __construct(TableGateway $tableGateway)
{
$this->tableGateway = $tableGateway;
}
public function fetchAll()
{
$resultSet = $this->tableGateway->select... |
"""
Test if Matplotlib is using PyQt4 as backend
"""
def <API key>():
print ("testing matplotlib qt backend ...")
try:
# Matplot changed its file structure several times in history, so we
# must test all
try:
from matplotlib.backends.qt_compat import QtCore
except:
... |
package gov.hhs.fha.nhinc.docsubmission.inbound;
import org.apache.log4j.Logger;
import gov.hhs.fha.nhinc.common.nhinccommon.AssertionType;
import gov.hhs.fha.nhinc.docsubmission.DocSubmissionUtils;
import gov.hhs.fha.nhinc.docsubmission.<API key>;
import gov.hhs.fha.nhinc.docsubmission.XDRAuditLogger;
import gov.hhs.f... |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "auth_item".
*
* @property string $name
* @property integer $type
* @property string $description
* @property string $rule_name
* @property string $data
* @property integer $created_at
* @property integer $updated_at
*
* @proper... |
package net.fortuna.ical4j.model.parameter;
import net.fortuna.ical4j.model.Content;
import net.fortuna.ical4j.model.Encodable;
import net.fortuna.ical4j.model.Parameter;
import net.fortuna.ical4j.model.ParameterFactory;
import net.fortuna.ical4j.util.Strings;
import java.net.URISyntaxException;
/**
* $Id$ [18-Apr-200... |
{-# LANGUAGE GADTs #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE <API key> #-}
{-# LANGUAGE <API key> #-}
-- modification... |
#![allow(
dead_code,
non_snake_case,
<API key>,
<API key>
)]
#[allow(non_snake_case, <API key>, <API key>)]
pub mod root {
#[allow(unused_imports)]
use self::super::root;
pub mod Halide {
#[allow(unused_imports)]
use self::super::super::root;
#[derive(Debug, Default, ... |
package com.atlassian.plugin.loaders;
import com.atlassian.plugin.Plugin;
import com.atlassian.plugin.PluginArtifact;
import com.atlassian.plugin.<API key>;
import com.atlassian.plugin.event.PluginEventManager;
import com.atlassian.plugin.factories.PluginFactory;
import com.atlassian.plugin.impl.<API key>;
import com.a... |
/*! @file
@brief Effectseer main
@author (hira@rvf-rc45.net)
*/
#include "main.hpp"
#include "utils/i_scene.hpp"
#include "utils/director.hpp"
#include "widgets/widget_filer.hpp"
#include "widgets/widget_frame.hpp"
#include "widgets/widget_button.hpp"
#include "widgets/widget_check.hpp"
#include "widgets/widg... |
html,body{font-family: "Microsoft YaHei",arial,courier new,courier,"",monospace; letter-spacing: 0.5px;}
html,body{height:100%; background-color: #f2f2f2;}
li {float: left; list-style: none;}
a, a:hover, a:active, a:focus {text-decoration: none; color: #666;}
.clear:after {
content: ".";
display: block;
hei... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Orchard.Layouts.ViewModels {
public class <API key> {
public string Label { get; set; }
public string Model { get; set; }
}
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Forms | Slate Admin 2.0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="<API key>" content="yes">
<!-- Styles -->
<link href="./css/bootstrap.css" rel="stylesheet">
<link... |
define("ace/snippets/tconf",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "
# TConf snippets - for TConf, see below #\n\
\n\
snippet if\n\
if ${1:condition} then\n\
${2}\n\
endif\n\
snippet if-else\n\
if ${1:condition} then\n\
${2}\n... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.Storage;
namespace Mle.IO {
public class StorageFileUtils {
public StorageFolder Folder { get; private set; }
public StorageFileUtils(StorageFolder folder) {
Folder = folder;
}
pub... |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta charset="utf-8" />
<title>statsmodels.regression.mixed_linear_model.MixedLMResults.aic — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygmen... |
from __future__ import print_function
from __future__ import division
import hoomd
import pytest
import numpy as np
import hoomd.hpmc.pytest.conftest
def <API key>():
xmax = 0.02
dx = 1e-4
sdf = hoomd.hpmc.compute.SDF(xmax=xmax, dx=dx)
assert np.isclose(sdf.xmax, xmax)
assert np.isclose(sdf.dx, dx)
... |
<?php
namespace app\components;
class EmailEvent extends BasicEvent
{
const EVENT_TYPE_EMAIL = 'email';
/**
* @param \app\models\Event $event
* @param $object
* @param \app\models\EventType $type
* @return bool
*/
public static function generateEvents($event, $object, $type)
{
... |
#setup git
git config --global user.email "s3562412@student.rmit.edu.au"
git config --global user.name "Loy Larvin"
#clone the docker repository
git clone --quiet --branch=master https://larvinloy:$GITHUB_API_KEY@github.com/larvinloy/docker-dareon
#go into directory and copy data we're interested
rm -f docker-dareon/d... |
/**
* @file testing/blas_l2/test_cgemv_offset.c
* KBLAS is a high performance CUDA library for subset of BLAS
* and LAPACK routines optimized for NVIDIA GPUs.
* KBLAS is provided by KAUST.
*
* @version 3.0.0
* @author Ahmad Abdelfattah
* @date 2018-11-14
**/
#include <stdio.h>
#include <stdlib.h>
#include <... |
<?php
namespace yii\caching;
/**
* DummyCache
*
* DummyCache
* 'cache' `\Yii::$app->cache`
* DummyCache
*
*
* Cache [guide article on caching](guide:caching-overview)
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class DummyCache extends Cache
{
/**
*
*
* @param string ... |
// This file has been generated by Py++.
#include "boost/python.hpp"
#include "indexing_suite/value_traits.hpp"
#include "indexing_suite/container_suite.hpp"
#include "indexing_suite/map.hpp"
#include "wrap_osgfx.h"
#include "f:/users/cmbruns/git/osgpyplusplus/src/modules/osgfx/generated_code/<API key>.pypp.hpp"
#inclu... |
<?php
namespace Krystal\Security;
use <API key>;
use <API key>;
use Krystal\Text\TextUtils;
class Filter implements Sanitizeable
{
/**
* Sanitize a value
*
* @param string $value
* @param string $filter
* @throws \<API key> if invalid $value type supplied
* @throws \<API key> If unknow... |
package test.gov.nih.nci.cacoresdk;
import junit.framework.TestCase;
import gov.nih.nci.system.applicationservice.ApplicationService;
import gov.nih.nci.system.client.<API key>;
/**
* @author Satish Patel
*
*/
public abstract class SDKTestBase extends TestCase {
private ApplicationService appService;
private... |
#include "mod_cryptoapi.h"
HMODULE mod_cryptoapi::hRsaEng = NULL;
bool mod_cryptoapi::loadRsaEnh()
{
if(!hRsaEng)
hRsaEng = LoadLibrary(L"rsaenh");
return (hRsaEng != NULL);
}
bool mod_cryptoapi::unloadRsaEnh()
{
if(hRsaEng)
FreeLibrary(hRsaEng);
return true;
}
bool mod_cryptoapi::getPro... |
'use strict';
var serviceBase = 'http://localhost:81/yii/BongoERP/web/'
var app = angular.module('app', ['ngRoute','SiteControllers','AppServices']);
app.config(['$routeProvider',function($routeProvider){
$routeProvider.
when("/home",{controller:"SiteController",templateUrl:"pages/site/home.html"}).
... |
#include "cmdsys.h"
#include <sl/sl_flat_set.h>
#include <sl/sl_hash_table.h>
#include <sl/sl_string.h>
#include <snlsys/list.h>
#include <snlsys/math.h>
#include <snlsys/mem_allocator.h>
#include <snlsys/ref_count.h>
#include <snlsys/snlsys.h>
#include <argtable2.h>
#include <limits.h>
#include <stdarg.h>
#include <st... |
#include "main.h"
#include "Statistics.h"
#include "Calculus.h"
#include "Arithmetic.h"
#include "eigenvectors.h"
#include <algorithm>
#include <iostream>
#include "header.h"
void Dimensions::help() {
pprintf("-dimensions prints the size of the current image.\n\n"
"Usage: ImageStack -load a.tga -dimensi... |
package org.mafagafogigante.dungeon.entity.creatures;
import org.mafagafogigante.dungeon.entity.Luminosity;
import org.mafagafogigante.dungeon.entity.Preset;
import org.mafagafogigante.dungeon.entity.TagSet;
import org.mafagafogigante.dungeon.entity.Weight;
import org.mafagafogigante.dungeon.entity.creatures.Creature.T... |
// Authors: Radu Serban
// Torsion chassis connector model constructed with data from file (JSON format).
#include "chrono/utils/ChCompositeInertia.h"
#include "chrono_vehicle/ChVehicleModelData.h"
#include "chrono_vehicle/chassis/<API key>.h"
#include "chrono_vehicle/utils/ChUtilsJSON.h"
using namespace rapidjson;
nam... |
{% extends "lbforum/base_site.html" %}
{% load i18n %}
{% load lbforum_filters %}
{% load lbforum_tags %}
{% block title %}{{ block.super }}{% endblock %}
{% block content_right_bar %}
{% include 'lbforum/widgets/cur_user_profile.html' %}
{% endblock %}
{% block content_content %}
<div class="box">
<div class=... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>lib/draft-js/ContentState.js - itsa-react-editor</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link... |
#!/usr/bin/python3
import sys
if len(sys.argv)!=4:
print("Usage: %s infile outfile num"%sys.argv[0])
sys.exit(0)
infile = open(sys.argv[1], "r")
outfile = open(sys.argv[2], "w")
num = float(sys.argv[3])
cont = True
while cont:
curnum = ""
c = infile.read(1)
while c!=" " and c!="":
curnum+=c
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.