answer stringlengths 15 1.25M |
|---|
if (typeof AgileTracker == 'undefined') {
AgileTracker = {};
}
AgileTracker.ColumnView = Backbone.View.extend({
template: JST['templates/column'],
tagName: 'td',
events: {
'click a.toggle-column': 'toggle'
},
name: function() {
return this.options.name;
},
render: function() {
this.$el.html(... |
package com.rapidminer.gui.new_plotter.engine.jfreechart.legend;
import java.awt.Paint;
import java.awt.Shape;
import java.awt.Stroke;
import java.text.AttributedString;
/**
* A LegendItem which has a label left and right of the shape in addition to the default label.
*
* @author Marius Helf
* @deprecated since 9.2... |
DELETE FROM `weenie` WHERE `class_Id` = 37196;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (37196, '<API key>', 2, '2019-02-10 00:00:00') /* Clothing */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (37196, 1, 2) /* ItemType - Armor */
, (37196, 4, ... |
const verbose = require('debug')('ha:initializations:express:verbose')
const info = require('debug')('ha:initializations:express:info')
const warn = require('debug')('ha:initializations:express:warn')
const error = require('debug')('ha:initializations:express:error')
const {authenticated, unauthenticated} = require('./... |
module OSRIC.DM where
import EasyIRCBot
import OSRIC.State
setDM :: String -> IRC OSRICState Message
setDM n = do
s <- get
let cs = concrete $ customState s
put $ s { customState = cs { dm = n } }
return $ privmsg $ "Set DM to " ++ n ++"."
tellDM :: IRC OSRICState Message
tellDM = gets (dm.customState) >>= \d -... |
package placebooks.client.ui.dialogs;
import java.util.ArrayList;
import java.util.List;
import placebooks.client.controllers.<API key>;
import placebooks.client.logger.Log;
import placebooks.client.ui.UIMessages;
import placebooks.client.ui.images.markers.Markers;
import placebooks.client.ui.items.MapItem;
import plac... |
local ObjectManager = require("managers.object.object_manager")
includeFile("dungeon/geonosian_lab/conversations/<API key>.lua")
<API key> = ScreenPlay:new {
numberOfActs = 1,
keypadCodes = { 32281, 12872, 51892, 12753, 86332, 11380, 52577, 78660 },
lockedCells = { 1627785, 1627786, 1627790, 1627805, 162781... |
package com.gallatinsystems.survey.dao;
import com.gallatinsystems.survey.domain.Translation;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.logging.Level;
import javax.jdo.PersistenceManager;
import com.gallatinsystems.framework.dao.BaseDAO;
import com... |
<?php
class Pages extends CI_Controller {
private $data = array (
'stylesheet' => 'cover',
'additional_css_el' => '',
'additional_js_el' => '',
'title' => 'Home',
'description' => 'Welcome to SimpleWorkOrder',
'author' => 'SimpleWorkOrder'
);
public function __construct() {
parent::__c... |
describe Universign::API do
describe '.request_timestamp', vcr: { cassette_name: 'universign' } do
subject { described_class.timestamp(digest) }
let(:digest) { Digest::SHA256.hexdigest("CECI EST UN HASH") }
it { is_expected.not_to be_nil }
end
end |
package tools_test
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
gc "launchpad.net/gocheck"
"github.com/wallyworld/core/environs/tools"
"github.com/wallyworld/core/testing/testbase"
)
type buildSuite struct {
testbase.LoggingSuite
restore func()
cwd string
filePath st... |
<?php
namespace rhosocial\user\rbac\permissions;
use rhosocial\user\rbac\Permission;
/**
* @version 1.0
* @author vistart <i@vistart.me>
*/
class DeleteAdminUser extends Permission
{
/**
* @inheritdoc
*/
public $name = 'deleteAdminUser';
/**
* @inheritdoc
*/
public $description = ... |
# <API key>: true
# This is a temporary fix to ignore some HTML/CSS validation issues with the
# Decidim HTML validation process.
module W3CValidators
class NuValidator
protected
alias validate_nu validate unless method_defined?(:validate_nu)
def validate(options) # :nodoc:
filter_results(validate_n... |
package org.geomajas.gwt2.plugin.corewidget.example.client.sample.dialog;
import com.google.gwt.core.client.Callback;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiHandler;
import com.goog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='clustercheck',
use_scm_version=True,
setup_requires=['setuptools_scm'],
install_requires=[
'Twisted>=12.2',
'PyMySQL'
],
description='Standalone service for reporting of Percona... |
import React, {useMemo} from 'react';
import { useSelector, useDispatch } from 'react-redux';
import { bindActionCreators } from 'redux';
import * as EqualizerActions from '../../actions/equalizer';
import Equalizer from '../../components/Equalizer';
import EqualizerPresetList from '../../components/EqualizerPresetList... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import socket
import struct
import time
import hashlib
import sys
import os
import random
import traceback
# CONFIG
server = "192.168.100.150"
username = ""
password = ""
host_name = "LIYUANYUAN"
host_os = "8089D"
host_ip = "10.30.22.17"
PRIMARY_DNS = "114.114.114.114"
dhcp... |
<?php
class Cookie {
public static function exists($name) {
return (isset($_COOKIE[$name])) ? true : false;
}
public static function get($name) {
return $_COOKIE[$name];
}
public static function put($name, $value, $expiry) {
if (setcookie($name, $value, time() + $expiry, "/")... |
package com.foundationdb.server.types.texpressions;
import com.foundationdb.qp.operator.QueryContext;
import com.foundationdb.qp.row.Row;
import com.foundationdb.server.explain.*;
import com.foundationdb.server.explain.std.<API key>;
import com.foundationdb.server.types.TInstance;
import com.foundationdb.server.types.T... |
<?php
if (!defined('GLPI_ROOT')) {
die("Sorry. You can't access directly to this file");
}
/**
* Manage the hours in the timeslot.
*/
class <API key> extends CommonDBTM {
/**
* We activate the history.
*
* @var boolean
*/
public $dohistory = true;
/**
* The right name for this class
... |
package com.puresoltechnologies.purifinity.server.passwordstore.rest.api;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.puresoltech... |
<div class="panel panel-info" ng-if="success">
<div class="panel-heading">
<a target="_blank" href="http://circl.lu/services/passive-dns/">CIRCL.lu</a> Passive DNS Report
</div>
<div class="panel-body">
<!-- Domain details -->
<p ng-if="content.results.length == 0">
No re... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Cp1252">
<title>com.kraqqen.util.sern</title>
</head>
<body>
<dl><dt>Author:</dt><dd>E</dd></dl>
</body>
</html> |
// 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
using System.IO;
using YamlDotNet.RepresentationModel;
namespace LoLAutoLogin... |
from .hooks import pre_init_hook
from . import models
from . import report |
package objenome.solution;
import objenome.goal.Between;
import objenome.goal.DecideNumericValue.DecideIntegerValue;
/**
*
* @author me
*/
public class SetIntegerValue extends SetConstantValue<Integer> implements SetNumericValue {
public SetIntegerValue(DecideIntegerValue d, @Between(min=0, max=1) double normali... |
import * as React from "react";
import { Pages_organization } from "./__generated__/Pages_organization.graphql";
import PageItem from "./PageItem";
type Props = {
memberGroupId: string;
pages: {
edges: Array<{
node: Pages_organization;
}>;
};
};
export default class PageList extends React.Component<... |
package net.katk.model;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OrderCol... |
DELETE FROM `weenie` WHERE `class_Id` = 30345;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (30345, '<API key>', 3, '2019-02-10 00:00:00') /* MissileLauncher */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (30345, 1, 256) /* ItemType - MissileWeapon */
... |
#ifndef <API key>
#define <API key>
#include <pthread.h>
#include <map>
#include <string>
#include "arch/compiler.hpp"
#include "config/args.hpp"
#include "arch/runtime/event_queue.hpp"
#include "arch/runtime/system_event.hpp"
#include "arch/runtime/message_hub.hpp"
#include "arch/runtime/coroutines.hpp"
#include "arch... |
GtkFrame.frame_default {
border: 0px;
padding: 0px;
border-radius: 16px;
background-color: #5c7dbe;
}
GtkFrame.frame_bet {
border: 6px solid;
border-color: #c1c0bf;
border-radius: 24px;
background-color: white;
box-shadow: 2px 2px 4px black inset;
padding: 25px;
}
.font_bet {
... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<style type="text/css" media="screen">
body, html, div {
padding: 0px;
margin: 0px;
border: 0px;
}
body, html {
hei... |
package ProjectTaskToDo::Schema::Result::TodolistUser;
# 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", "PK::Auto");
=head1 NAME
ProjectTaskToDo::Schema::R... |
package petascope.wcps2.translator;
/**
* Translator class for the extend operation in wcps
*
* @author <a href="mailto:alex@flanche.net">Alex Dumitru</a>
* @author <a href="mailto:vlad@flanche.net">Vlad Merticariu</a>
*/
public class ExtendExpression extends CoverageExpression {
/**
* Constructor for the... |
=begin
Camaleon CMS is a content management system
Copyright (C) 2015 by Owen Peredo Diaz
Email: owenperedo@gmail.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3... |
<?php
/**
* @see Zend_OpenId
*/
//$1 "Zend/OpenId.php";
/**
* @see <API key>
*/
//$1 "Zend/OpenId/Extension.php";
/**
* @see <API key>
*/
//$1 "Zend/OpenId/Consumer/Storage.php";
/**
* @see Zend_Http_Client
*/
//$1 'Zend/Http/Client.php';
class <API key>
{
/**
* Reference to an implementation of storag... |
"""
Test for LMS instructor background task queue management
"""
from mock import patch, Mock
from bulk_email.models import CourseEmail, SEND_TO_ALL
from courseware.tests.factories import UserFactory
from xmodule.modulestore.exceptions import ItemNotFoundError
from instructor_task.api import (
<API key>,
<API k... |
package cn.dlb.bim.models.ifc2x3tc1;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Ifc Feature Element Subtraction</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link cn.dlb.bim.models.ifc2x3tc1.<API key>#getVoidsElement... |
package com.stratelia.webactiv.servlets;
import com.stratelia.silverpeas.peasCore.SessionManager;
import com.stratelia.silverpeas.silvertrace.SilverTrace;
import javax.servlet.ServletContextEvent;
import javax.servlet.<API key>;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
... |
#!/usr/bin/env bash
cd /var/www
/home/vagrant/.rvm/wrappers/epiclogger/bundle install
/home/vagrant/.rvm/wrappers/epiclogger/rake db:migrate
/home/vagrant/.rvm/wrappers/epiclogger/bundler exec rails s -d -b 0.0.0.0
/home/vagrant/.rvm/wrappers/epiclogger/bundler exec sidekiq -d -L sidekiq.log -q mailer,5 -q default
exit... |
Factory.define :section do |f|
f.title "Articles"
end |
package org.yamcs.tctm;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.net.MulticastSocket;
import java.nio.ByteBuffer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.yamcs.<API key>;
import org.yamcs.YConfiguration;
import org.yamcs.archive.Pac... |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class <API key> extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema)
{... |
<?php
namespace Fusio\Impl\Table\Generated;
class RoutesResponseRow extends \PSX\Record\Record
{
public function setId(?int $id) : void
{
$this->setProperty('id', $id);
}
public function getId() : ?int
{
return $this->getProperty('id');
}
public function setMethodId(?int $met... |
package org.kuali.kfs.module.cam.batch.dataaccess.impl;
import org.apache.ojb.broker.query.Criteria;
import org.apache.ojb.broker.query.QueryFactory;
import org.apache.ojb.broker.query.<API key>;
import org.kuali.kfs.module.cam.<API key>;
import org.kuali.kfs.module.cam.batch.dataaccess.<API key>;
import org.kuali.kfs.... |
<?php
// created: 2017-10-10 15:19:35
$mod_strings = array (
'LBL_ASSIGNED_TO_ID' => 'Assigned User Id',
'<API key>' => 'Assigned to',
'LBL_SECURITYGROUPS' => 'Security Groups',
'<API key>' => 'Security Groups',
'LBL_ID' => 'ID',
'LBL_DATE_ENTERED' => 'Date Created',
'LBL_DATE_MODIFIED' => 'Date Modified'... |
package org.asqatasun.rules.rgaa32016;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.asqatasun.entity.audit.TestSolution;
import org.asqatasun.entity.audit.ProcessResult;
import org.asqatasun.rules.keystore.AttributeStore;
import org.asqatasun.rules.keystore.HtmlElementStore;
import static org.asqatas... |
/* larger canvas, spectrum + EQ visualization and other items */
background-position:50% 50%; /* (~109px) initial play button position
}*/
.sm2-inline-list .ui360-vis {
cursor:pointer
}
.ui360-vis a {
font:14px "helvetica neue",helvetica,monaco,lucida,terminal,monospace;
white-space:nowrap;
text-indent:0px; /* und... |
from django.urls import path
from . import dashboard_views
app_name = 'exam'
urlpatterns = [
path('assignment/new/', dashboard_views.MakeAssignmentView.as_view(),
name='assignment_new'),
path('assignment/success/',
dashboard_views.<API key>.as_view(),
name='assignment_success'),
p... |
/*global OpManagerFactory, IWidget, updateLayout, Wirecloud */
(function () {
"use strict";
var Dragboard = function Dragboard(tab, workspace, dragboardElement) {
// PRIVATE VARIABLES
this.currentCode = 1;
// HTML Elements
this.dragboardElement = document.getElementById('dragboar... |
#include "harness.h"
#include "catalog/catalog.h"
#include "catalog/cluster.h"
#include "catalog/constraint.h"
#include "catalog/database.h"
#include "catalog/table.h"
#include "common/tabletuple.h"
#include "common/valuevector.h"
#include "expressions/abstractexpression.h"
#include "indexes/tableindex.h"
#include "pla... |
// How Level Up Tests Apollo Queries - Level Up Code Blog
// An example with 'apollo-link-state':
import { graphql } from 'graphql';
import { schema } from './FakeDataProvider';
// Takes a query and args and returns mocked data
const mockGraphql = async (query, args = {}) => {
try {
const res = await graphq... |
<?php
umask(0117);
fopen('text.txt', 'a+');
?> |
// 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
// You should have received a copy of the GNU ... |
package es.igosoftware.euclid.experimental.vectorial.rendering.symbolizer;
import es.igosoftware.euclid.IBoundedGeometry2D;
import es.igosoftware.euclid.ICurve2D;
import es.igosoftware.euclid.ISurface2D;
import es.igosoftware.euclid.bounding.<API key>;
import es.igosoftware.euclid.bounding.IFinite2DBounds;
import es.ig... |
# = Informations
# Ekylibre - Simple agricultural ERP
# This program is free software: you can redistribute it and/or modify
# any later version.
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# == Table: listing_nodes
# attribute_name ... |
class <API key> < ActiveRecord::Migration[4.2]
def change
add_column :spending_proposals, :hidden_at, :datetime
end
end |
package com.cgi.eoss.fstep.orchestrator.service;
import static java.nio.file.StandardOpenOption.CREATE;
import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING;
import static java.nio.file.StandardOpenOption.WRITE;
import java.io.<API key>;
import java.io.IOException;
import java.io.OutputStream;
import java.n... |
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import DeviceUtil, { DeviceKind } from "../../Base/Util/DeviceUtil";
import DeviceComponent from "./DeviceComponent";
export interface OnChangeDevice { (deviceId: string, deviceName: string): void };
export class DeviceView {
private _textElemen... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="image/x-icon" href="../favicon.ico" rel="icon" />
<link href="../src/tamination.css" type="text/css" rel="stylesheet" />
<link href="../src/jque... |
class Drink < ApplicationRecord
include <API key>
validates :drink_name, presence: true
def display
drink_name
end
def self.params
[
:id,
:drink_name,
:notes,
:calories,
:price
]
end
end |
# licence: AGPL
from pyramid.view import view_config
from dace.processinstance.core import <API key>
from pontus.default_behavior import Cancel
from pontus.form import FormView
from pontus.view import BasicView
from pontus.view_operation import MultipleView
from lac.content.processes.<API key>.behaviors import (
Re... |
#include "stdafx.h"
#include "signerCapi.h"
#include <stdio.h>
#include <string.h>
#include <vcclr.h >
#include <stdlib.h >
#include <fcntl.h>
#include <iostream>
#include <io.h>
#include <map>
#using <System.dll>
#using <System.Security.dll>
#include <msclr\marshal_cppstd.h>
using namespace System;
using namespace Sys... |
<?php namespace Controller;
class PostController extends \Controller\BaseController {
static $layout = "admin";
public function index(){
$entries = \Model\Post::paginate([
'updated' => "DESC"
],null,10);
return \Bootie\App::view('admin.posts.index',[
'entries' ... |
define(function(require, exports, module) {
'use strict';
console.log('Loading search.js ...');
var TSCORE = require('tscore');
var currentQuery = '';
var nextQuery = '';
var recursiveSymbol = '~';
// TODO implement case sensitive search
var caseSensitiveSearch = false;
function prepareQuery(queryText... |
<?php
use GuzzleHttp\Client;
use GuzzleHttp\Cookie\CookieJar;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Message\ResponseInterface;
require __DIR__ . '/../../vendor/autoload.php';
trait BasicStructure {
use Auth;
use Trashbin;
/** @var string */
private $currentUser = '';
/** @var stri... |
from base64 import urlsafe_b64decode
from io import StringIO
from django.http.response import HttpResponse
from django.shortcuts import render
from django.views.decorators.cache import never_cache
from django.views.decorators.csrf import csrf_exempt
import openid2rp
from Care4Care.settings import STATICFILES_DIRS
@neve... |
<?php
class <API key> extends <API key>
{
protected $prefix = 'OPERAMINIONANDROID';
public static $constantIDs = array(
'<API key>',
'<API key>',
'<API key>',
);
public function canHandle($userAgent)
{
if (<API key>::isDesktopBrowser($userAgent)) {
return ... |
use crate::domain::model::error::Error as ModelError;
use crate::domain::ports::secondary::list::{List, Parameters};
use async_trait::async_trait;
use common::document::ContainerDocument;
use futures::stream::{Stream, StreamExt};
use std::pin::Pin;
use tracing::info_span;
use tracing_futures::Instrument;
type PinnedStr... |
<?php
namespace SPHERE\Application\Corporation\Company\Service;
use SPHERE\Application\Corporation\Company\Service\Entity\TblCompany;
use SPHERE\Application\Corporation\Company\Service\Entity\ViewCompany;
use SPHERE\Application\Platform\System\Protocol\Protocol;
use SPHERE\System\Database\Binding\AbstractData;
/**
* C... |
"use strict";
describe("Zotero.Tags", function () {
describe("#getID()", function () {
it("should return tag id", function* () {
var tagName = Zotero.Utilities.randomString();
var item = <API key>('item');
item.addTag(tagName);
yield item.saveTx();
... |
from . import controllers |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<title>COBRA::Export::Midos - Export collection as Midos2000 database</title>
<link rev="made" href="mailto:feedback@suse.de" />
</head>
<body style="background-color: white">
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr><td class="block" style="... |
og.selectingCells = false;
og.actualSelCell = '';
og.selectedCells = [];
og.paintingDay = 0;
og.old_style = {'background-color':'transparent', 'opacity':'1', 'filter':'alpha(opacity = 100)'};
var scroll_to = -1;
var cant_tips = 0;
var tips_array = [];
og.currentHourLineTOut = null;
o... |
package com.stratelia.silverpeas.containerManager;
/**
* This is the data structure that represents a link links between icone and action (use in JSP
* ActionBar)
*/
public class URLIcone {
private String sIconePath = ""; // path on the icone to show in the JSP
private String sAlternateText = ""; // Alternate te... |
"""Tests for the source package recipe view classes and templates."""
__metaclass__ = type
from mechanize import LinkNotFoundError
from storm.locals import Store
from testtools.matchers import StartsWith
import transaction
from zope.component import getUtility
from zope.security.interfaces import Unauthorized
from zope... |
package io.github.pablomusumeci.find.domain.services.api;
import java.util.Map;
public class LearningResponse {
private boolean success;
private String message;
public Map<String, Float> getBayes() {
return bayes;
}
private Map<String, Float> bayes;
public boolean isSuccess() {
r... |
/** @file
* Implementation of performance tests for Connections
*/
#include <fstream>
#include <iostream>
#include <time.h>
#include <stdlib.h>
#include <nupic/algorithms/TemporalMemory.hpp>
#include <nupic/algorithms/Connections.hpp>
#include "<API key>.hpp"
using namespace std;
using namespace nupic;
using namespac... |
"""
Tests for the dump_to_neo4j management command.
"""
from datetime import datetime
from unittest import mock
import ddt
from django.core.management import call_command
from edx_toggles.toggles.testutils import <API key>
from xmodule.modulestore.tests.django_utils import <API key>
from xmodule.modulestore.tests.facto... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Chrome page top margin bug</title>
<style>
@page {
size: 400px 200px;
margin: 0;
}
body {
margin: 0;
}
section {
margin-top: 20px;
page-break-after: always;
}... |
import fs from 'fs';
import path from 'path';
import { assert } from 'chai';
import <API key> from '../src/<API key>';
describe('<API key>', () => {
it('separates code based on GENERATED_CODE token', () => {
const fixture = fs.readFileSync(
path.join(__dirname, './fixtures/impl-legacy-basic.cpp'),
'ut... |
.Scale {
transform: scale(0.8);
opacity: 0;
transition: transform 0.1s linear, opacity 0.1s linear;
}
.Scale.visible {
opacity: 1;
transform: scale(1);
} |
# Numenta Platform for Intelligent Computing (NuPIC)
# following terms and conditions apply:
# This program is free software: you can redistribute it and/or modify
# published by the Free Software Foundation.
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR... |
package com.torodb.torod.db.backends;
import com.google.common.base.Preconditions;
import com.torodb.torod.core.backend.DbBackend;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import javax.annotation.Nonnull;
import javax.inject.Singleton;
import javax.sql.DataSource;
@Singleton
pub... |
DELETE FROM `weenie` WHERE `class_Id` = 38320;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (38320, '<API key>', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `<API key>` (`object_Id`, `type`, `value`)
VALUES (38320, 1, 16) /* ItemType - Creature */
, (38320, ... |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
$module_name = 'abc_affiliate';
$listViewDefs[$module_name] = array(
'NAME' => array(
'width' => '32',
'label' => 'LBL_NAME',
'default' => true,
'link' => true),
'ASSIGNED_USER_NAME' => array(
... |
'use strict';
angular.module( 'portailApp' )
.component( 'news',
{
bindings: { edition: '<' },
controller: [ '$sce', 'Popups', '$http', '$q', 'URL_ENT', 'RANDOM_IMAGES', 'currentUser',
function( $sce, Popups, $http, $q, URL_ENT, RANDOM_IMAGES, currentUser ) {
var ctrl = this;
ctrl.news... |
<?php
require 'configure.php';
require 'errorcodes.php';
require 'establish_link.php';
require 'utilfuncs.php';
/**
* Function that loads a map from the database.
* Might be worth refactoring this somewhat.
*/
function get_map( $userID, $pass_hash, $mapID, $timestamp ) {
global $version;
//Set up the b... |
#include <string>
#include <cstdio>
#include <cstdlib>
#include <time.h>
int main(int argc, char** argv){
char buffer1[2048] = {0};
char buffer2[2048] = {0};
int bytesTotal = 0;
int bytesMoved = 0;
int bytes = 0;
int change = 0;
int iterations = 0;
std::string oper1 = "Test String to be ... |
<?php
namespace Core;
/**
* Session class
*
* @package core
* @author Frederic Guillot
*/
class Session
{
const SESSION_LIFETIME = 0; // Until the browser is closed
/**
* Return true if the session is open
*
* @static
* @access public
* @return boolean
*/
public static ... |
package com.nokia.mole.common;
import java.io.Serializable;
import java.util.Random;
import org.apache.log4j.Logger;
public class ID implements Comparable<ID>, Serializable {
private static final long serialVersionUID = 1L;
static Logger log = Logger.getLogger(ID.class);
public static final Random random = ... |
# AirCasting - Share your Air!
# 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
# You can contact the authors by email at <info@ha... |
/*
LudiPQ - 1 - 2 Portal
@author Jvlaple
*/
function enter(pi) {
var nextMap = 922010400;
var eim = pi.getPlayer().getEventInstance();
var target = eim.getMapInstance(nextMap);
var targetPortal = target.getPortal("st00");
// only let people through if the eim is ready
var avail = eim.getProperty... |
\hypertarget{<API key>}{}\section{Riferimenti per il file Elaborato7/\+Driver\+\_\+\+G\+P\+I\+O\+\_\+\+Custom/\+Terza\+\_\+\+Tipologia/main.c}
\label{<API key>}\index{Elaborato7/\+Driver\+\_\+\+G\+P\+I\+O\+\_\+\+Custom/\+Terza\+\_\+\+Tipologia/main.\+c@{Elaborato7/\+Driver\+\_\+\+G\+P\+I\+O\+\_\+\+Custom/\+Terza\+\_\+\... |
<!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... |
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
<head>
{% block head %}
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/2015/css/main.css" />
{% if FEED_ALL_ATOM %}
... |
define(["i18nObj","jquery"],function(a,b){b.extend(!0,a,{translations:{ar:{quick_start_bar:{event:{save:"حفظ",saving:"جارٍ الحفظ..."}}},es:{quick_start_bar:{event:{save:"Guardar",saving:"Guardando..."}}},fr:{quick_start_bar:{event:{save:"Enregistrer",saving:"Enregistrement..."}}},ja:{quick_start_bar:{event:{save:"",sav... |
package org.cojen.tupl.core;
import java.io.IOException;
import java.util.Comparator;
/**
* Overrides inherited methods to scan in reverse order.
*
* @author Brian S O'Neill
*/
class SortReverseScanner extends SortScanner {
SortReverseScanner(LocalDatabase db) {
super(db);
}
@Override
public... |
import React from 'react';
import { Abelito75 } from 'CONTRIBUTORS';
import SpellLink from 'common/SpellLink';
import SPELLS from 'common/SPELLS';
import SPECS from 'game/SPECS';
import { TooltipElement } from 'common/Tooltip';
import Warning from 'interface/Alert/Warning';
import CHANGELOG from './CHANGELOG';
export d... |
import download from "downloadjs"
import {<API key>} from "./templates"
import {ImportFidusFile} from "../../importer/file"
import {deactivateWait, addAlert, get, post, cancelPromise, findTarget, Dialog, escapeText, shortFileTitle, longFilePath} from "../../common"
/**
* Functions for the recovering previously created... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.