answer stringlengths 15 1.25M |
|---|
<?php
namespace Kids\Controller;
use Silex\Application;
use Silex\<API key>;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Kids\Entity\Workshop;
use Kids\Entity\Establishment;
use Kids\Entity\PublicAge;
use Kids\Entity\WorkshopCategory;
use Kids\Entity\Address;
use Kid... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Controllers.Bases;
namespace net.authorize.sample
{
public class <API key>
{
public static A... |
-- This program is free software; you can redistribute it and/or modify
-- This program is distributed in the hope that it will be useful,
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 51 Franklin St, Fifth Floor, Bos... |
package junit.tutorial.calculator;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@RunWith(JUnit4.class)
public class CalculatorTest {
@Test
public void multiply() {
Calculator calc = n... |
import {Vec3f} from "./Vec3f";
import {Quaternion} from "./Quaternion";
import {MathUtils} from "./MathUtils";
import {Vec4f} from "./Vec4f";
export class Mat4f{
// Matrix row & column values as in i,j
m:Float32Array;
/*
* Constructor Mat4f()
* @info: Rows and columns are 0 by default
*/
... |
module.exports = function (options, suite, test, expect, teardown) {
require('./integration.expressions')(options, suite, test, expect, teardown);
suite('tribe.storage.integration.' + options.type, function () {
var storage = require('tribe.storage'),
db;
test("basic store and retrie... |
from math import floor
def score_syntax_errors(program_lines):
points = {')': 3, ']': 57, '}': 1197, '>': 25137}
s = 0
scores_auto = []
for line in program_lines:
corrupted, stack = corrupted_character(line)
if corrupted:
s += points[corrupted]
else:
score... |
using System;
using App.Common.Extensions;
namespace App.Core.Elements
{
<summary>
Класс для описания списка заявлений по оплате по типам служб.
</summary>
public class Declaration
{
<summary>
Расчетный период.
</summary>
public string SettlementPeriod { get; set; }
... |
package influent.server.sql;
/**
* Represents a SQL FROM clause. This can be used to create complicated
* sub-selects that can still be chained together.
*
* @author cregnier
*
*/
public interface SQLFrom {
/**
* Sets the name of table to select results from.<br>
* This cannot be set if {@link #from... |
# <API key>
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` ... |
module TinyMVC
class BaseModel
attr_reader :id
def initialize(options = {})
parameters = self.class.stored_parameters + [:id]
parameters.each do |attr|
<API key>(:"@#{attr}", options[attr.to_s] || options[attr.to_sym])
end
end
def self.stored_parameters(*args)
return @s... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_PT" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About ReturnCoin</source>
<translation type="unfinished"/>
</message>
<message>
<location ... |
// <API key>.h
// ChilliSource
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following c... |
<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* Oeuvre.
*
* @ORM\Table(name="oeuvre")
* @ORM\Entity(repositoryClass="App\Repository\OeuvreRepository")
*/
class Oeuvre
{
/**
* @var int
*
... |
<section>
<body>
<!-- Quick setting box starts -->
<div class="quick-slide hidden-xs"></div>
<div class="out-container">
<div class="outer">
<!-- Sidebar starts -->
<!-- Sidebar ends -->
<!-- Mainbar starts -->
<div class="mainbar">
<!--... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>nlocks</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="
<h1>nlocks</h1>
... |
layout: post
microblog: true
date: 2009-11-17 03:00 +0300
guid: http://desparoz.micro.blog/2009/11/17/t5805027465.html
For PADI Instructors in the US this is a BIG deal. RT @DiverWire: Boy Scouts announce new Scuba Diving Merit Badge [bit.ly/15pcnA](http://bit.ly/15pcnA) |
#include <stdio.h>
#include <signal.h>
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <linux/videodev2.h>
#include <sys/stat.h>
#include "utils.h"
#include "appbase.h"
#include "uvc.h"
#define DEFAULT_WAIT_TIME 5
int stop;
#define SHOULD_STOP(v) (stop = v)
#define IS_STOPPED... |
<h1><%= title %></h1>
<div class="source_info">
<p><%= title %> description.</p>
</div>
<section class="source_section">
<h2><%= title %> section</h2>
<div class="source_example">
example code
</div>
</section> |
package builtins
import (
"fmt"
"net/mail"
"net/url"
"regexp"
"strings"
u "github.com/araddon/gou"
"github.com/mssola/user_agent"
"github.com/araddon/qlbridge/expr"
"github.com/araddon/qlbridge/value"
"github.com/araddon/qlbridge/vm"
)
var _ = u.EMPTY
// email a string, parses em... |
#include <QWebView>
#include "helpdialog.h"
/**
* Constructor of Help Dialog
*/
HelpDialog::HelpDialog(QWidget *parent) : QWebPage(parent) {
view = new QWebView();
}
/**
* Shows the help dialog
*/
void HelpDialog::showHelpDialog() {
createWindow(QWebPage::WebModalDialog);
view->setPage(this);
vi... |
"use strict";
var _slicedToArray = function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { var _arr = []; for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { _arr.push(_step.value); if (i && _arr.length === i) break; } return _arr; } el... |
//estrutura com os dados lidos
struct {
float tensao;
float corrente;
float temperaturaBaterias;
float temperaturaCockpit;
float velocidade; //velocidade calculada do carro
double hodometro; //armazena a quantidade de metros percorridos
} dados;
//estrutura com as configuracoes do controlador
struct {
lon... |
<?php
namespace Wallabag\Bundle\CoreBundle\Entity;
use Doctrine\Bundle\MongoDBBundle\Validator\Constraints\Unique;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
use JMS\Serializer\Annotation\Expose;
use JMS\Serializer\Annotatio... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
namespace Comm... |
// Endless Online Bot v0.0.1
#ifndef UTIL_HPP_INCLUDED
#define UTIL_HPP_INCLUDED
#include <math.h>
#include <vector>
#include <string>
int path_length(int x1, int y1, int x2, int y2);
std::vector<std::string> Args(std::string str);
std::string Lowercase(std::string str);
#endif // UTIL_HPP_INCLUDED |
const mutations = {
SET_ACTIVE_TAB(state, tab){
state.activeTab = tab;
},
SET_DATA_ACTIVE_TAB(state, tab){
state.hubActiveTab = tab;
},
SET_PROXY_STATE(state, proxy){
state.proxy_switch = proxy;
},
SET_INIT_INFO(state, info){
_.extend(state, info);
}
};
export default mutations; |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=Shift_JIS" />
<meta name="keywords" content="L[[h" />
<meta name="description" content="Ðî¶" />
<title>z[y[WE^Cg</title>
<link rel="stylesheet" href="style.css" type="text/css... |
#!/usr/bin/python
# Config file test app (together with test.cfg file)
import os, sys
sys.path.append("..")
import configfile
cfg = configfile.ConfigFile("test.cfg")
cfg.setCfgValue("name1", "value1")
cfg.setCfgValue("name2", "value2")
cfg.selectSection("user")
cfg.setCfgValue("username", "janis")
cfg.setCfgValue("acce... |
# <API key>: true
require "dis/jobs/delete"
require "dis/jobs/store"
require "dis/jobs/change_type" |
<?php
namespace AppBundle\Security\Core\User;
use HWI\Bundle\OAuthBundle\OAuth\Response\<API key>;
use HWI\Bundle\OAuthBundle\Security\Core\User\FOSUBUserProvider as BaseClass;
use Symfony\Component\Security\Core\User\UserInterface;
class FOSUBUserProvider extends BaseClass
{
/**
* {@inheritDoc}
*/
pu... |
<?php
namespace Db\User;
use Core\Query;
class GetUnconfirmedUsers extends Query
{
protected $id;
protected function build()
{
$query = '
SELECT
u.id,
u.type,
u.email,
u.email_confirmed,
u.<API key>,
... |
<?php
echo __DIR__;
require dirname(__DIR__) . "/HikerCommand.php";
function <API key>() {
require dirname( __FILE__ ) . '/../hikerquotes.php';
}
tests_add_filter( 'muplugins_loaded', '<API key>' );
require getenv( 'WP_TESTS_DIR' ) . '/includes/bootstrap.php'; |
// home page
exports.index = function(req, res){
res.render('index', { title: 'B O X L A N D' });
}; |
'use strict';
/**
* Module dependencies.
*/
var express = require('express'),
mean = require('meanio'),
consolidate = require('consolidate'),
mongoStore = require('connect-mongo')(express),
flash = require('connect-flash'),
helpers = require('view-helpers'),
config = require('./config'),
e... |
package <API key>
import (
"bytes"
"fmt"
"github.com/gogo/protobuf/proto"
"github.com/golang/snappy"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/prompb"
"strings"
"testing"
"time"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/test... |
package org.nem.core.model;
import org.nem.core.utils.ArrayUtils;
import java.util.Comparator;
/**
* A custom comparator for comparing <API key> objects.
* <br>
* This comparator only looks at the transaction signer and other hash.
*/
public class <API key> implements Comparator<<API key>> {
@Override
publi... |
body {
padding-top: 65px;
}
#footer {
padding: 10px;
color: #333;
}
#titulo {
color: #fff;
}
#textoSobreNosotros {
color: #333;
}
#login-buttons a, .accounts-dialog a {
color: rgb(0, 0, 0);
text-decoration: none;
text-align: center;
vertical-align: middle;
line-height: 50px;
padding: 20px;
}
#subm... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cfgv: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... |
#ifndef PANDO_FRAMEWORK_H_
#define PANDO_FRAMEWORK_H_
void <API key>(void);
#endif /* PANDO_FRAMEWORK_H_ */ |
layout: default
<div class="page clearfix" index>
<div class="left">
<h1>Welcome to jisonami's Notes!</h1>
<small></small>
<hr>
<ul>
{% for post in paginator.posts %}
<li>
<h2>
<a class="post-link" href="{{ post.url | prepen... |
<?php
namespace app\controllers;
use Yii;
use app\models\{Freight, FreightSearch};
use yii\web\{Controller, <API key>};
/**
* FreightController implements the CRUD actions for Freight model.
*/
class FreightController extends Controller
{
/**
* Lists all Freight models.
* @return mixed
*/
publi... |
// For further details and documentation:
(function(root){
// Module loading - this runs server-side only
var Monitor = root.Monitor || require('../Monitor'),
_ = Monitor._,
Probe = Monitor.Probe,
REPL = require('repl'),
Stream = require('stream'),
util = require('util'),
events ... |
package model.dataModels;
/**
* Class ManufacturingData.
* @author Daniel
*
*/
public class ManufacturingData {
private String customerNumber;
private String materialNumber;
private String orderNumber;
private String timeStamp;
private MachineData[] machineData;
private <API key> analysisDat... |
using System;
using System.Collections.Generic;
using Roguelike.Core.Elements.Inventory;
using Roguelike.Entities;
using RLNET;
namespace Roguelike.Systems {
public class InventorySystem {
private Player player;
public InventorySystem() {
player = Game.Player;
}
void Sele... |
<?php
class TeamsTest extends Raideer\TwitchApi\TestCase
{
public function __construct()
{
$this->setResource('Raideer\TwitchApi\Resources\Teams');
}
public function <API key>()
{
$this->assertSame('teams', $this->resource->getName());
}
public function test_getTeams()
{
... |
# <API key>: true
require "dry/core/equalizer"
require "rom/initializer"
require "rom/relation/loaded"
require "rom/relation/composite"
require "rom/relation/materializable"
require "rom/pipeline"
require "rom/support/memoizable"
module ROM
class Relation
# Abstract relation graph class
# @api public
clas... |
<?php
namespace AppBundle\Tests\Entity;
use AppBundle\Entity\Auth;
use PHPUnit\Framework\TestCase;
class AuthTest extends TestCase
{
public function testAdd()
{
$obj = new Auth();
$result = $obj->setToken('sdfsdf465456');
$this->assertEquals('sdfsdf465456', $obj->getToken());
}
} |
#ifndef <API key>
#define <API key>
#include "device.h"
#include "physics/moving/unit.h"
#include "player.h"
#include "physics/moving/unit.h"
#include <glm/gtx/rotate_vector.hpp>
namespace zombie {
class HumanPlayer : public Player {
public:
HumanPlayer(DevicePtr device, std::unique_ptr<Unit> unit)
... |
#ifndef COIN_STATE_H
#define COIN_STATE_H
#include <string>
#include <limits>
#include "sync.h"
enum eNodeType
{
NT_FULL = 1,
NT_THIN,
NT_UNKNOWN // end marker
};
enum eNodeState
{
NS_STARTUP = 1,
NS_GET_HEADERS,
<API key>,
NS_READY,
NS_UNKNOWN // end marker
};
enum eBlockFlags
{
<AP... |
module Librr::Displayer
class << self
attr_accessor :save_output, :output
def clear_output
@output = []
end
def save(text)
@output ||= []
@output << text
end
end
def show text
if Librr::Displayer.save_output
Librr::Displayer.save(text)
return
end
puts ... |
var gif_bgs = [];
var gif_center = [];
var length_bgs = 0;
var length_center = 0;
var timer;
var duration = 4000;
var loaded = 0;
var next_bg;
var next_center;
var audio = document.getElementById("sound");
var muted = false;
function next(e){
clearInterval(timer);
timer = setInterval(next, duration);
... |
{% extends 'login_base.html' %}
{% block body %}
<div class="form-container">
<form action="" method="post" enctype="multipart/form-data">
{% csrf_token %}
{% for field in form %}
{{ field }}
{{ field.errors }}
{% endfor %}
<input id="submit" type="submit" val... |
<?php
class ProfilesTest extends <API key>
{
public function setUp()
{
$di = <API key>::instance();
$this->profiles = $di['profiles'];
$this->_loadFixture('tests/fixtures/results.json');
}
protected function _loadFixture($file)
{
$contents = file_get_contents($file);
... |
package com.tbp.safemaps;
import the.safemaps.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class MarkUnsafe extends... |
#include "protagonist.h"
#include "SerializeResult.h"
#include "v8_wrapper.h"
#include "snowcrash.h"
using namespace v8;
using namespace protagonist;
Result::Result()
{
}
Result::~Result()
{
}
Nan::Persistent<Function> Result::constructor;
void Result::Init(Handle<Object> exports)
{
Nan::HandleScope scope;
Loca... |
<select ng-model="city" ng-options="city.name for city in cities">
<option value="">Choose City</option>
</select>
Best City:{{city.name}}
<label>Select Two Fish</label>
<input type="checkbox" ng-model="isTwoFish"> <br/>
<select>
<option>One Fish</option>
<option ng-selected="isTwoFish">Two Fish</option>
</select... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Sun Jan 11 17:03:54 EET 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.github.tilastokeskus.matertis.core.command (Matertis 1.0-SNAPSHOT Test API)</title>
<meta nam... |
<?php
// Define path constants
defined('CRAFT_BASE_PATH') || define('CRAFT_BASE_PATH', str_replace('\\', '/', realpath(dirname(__FILE__).'/../../')).'/');
defined('CRAFT_APP_PATH') || define('CRAFT_APP_PATH', CRAFT_BASE_PATH.'app/');
defined('CRAFT_CONFIG_PATH') || define('CRAFT_CONFIG_P... |
require "importu/backends"
class DummyBackend
def self.<API key>?(definition)
false
end
def initialize(finder_fields:, **)
@finder_fields = finder_fields
@objects = []
@max_id = 0
end
def find(record)
@finder_fields.detect do |field_group|
if field_group.respond_to?(:call) # proc
... |
#!/usr/bin/env python3
"""
My radio server application
For my eyes only
"""
#CREATE TABLE Radio(id integer primary key autoincrement, radio text, genre text, url text);
uuid='<API key>'
# Import CherryPy global namespace
import os
import sys
import time
import socket
import cherrypy
import sqlite3 as lite
import re... |
{% load staticfiles i18n %}<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{% block title %}netmon{% endblock title %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"... |
require 'spec_helper'
describe 'Git LFS File Locking API' do
include WorkhorseHelpers
let(:project) { create(:project) }
let(:maintainer) { create(:user) }
let(:developer) { create(:user) }
let(:guest) { create(:user) }
let(:path) { 'README.md' }
let(:headers) do
{
'Authorization' => ... |
layout: default
title: Yogi Tea Sayings - Archive
{% for post in site.posts %}
<article class="saying">{{ post.title }}</article>
{% endfor %} |
// WARNING: this file is used by both the client and the server.
// Do not use any browser or node-specific API!
/* eslint hammerhead/proto-methods: 2 */
import reEscape from '../utils/regexp-escape';
import INTERNAL_ATTRS from '../processing/dom/internal-attributes';
import { isSpecialPage } from '../utils/url';
const... |
import announcements from './announcements'
import delegates from './delegates'
import fees from './fees'
import ledger from './ledger'
import market from './market'
import peer from './peer'
import wallets from './wallets'
export {
announcements,
delegates,
fees,
ledger,
market,
peer,
wallets
} |
import React, { PureComponent } from "react";
import { isObject } from "../../../helpers";
import type {
GetLocalization,
InputEvent,
<API key>,
Prices,
} from "../../../types";
/**
* @typedef {Object.<string, number>} OptionIndex
*/
export type OptionIndex = {
[propertyName: string]: number,
};
/**
* @typ... |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) -->
<!-- Created: ; Product Code... |
let BASE_DIR = '/masn01-archive/';
const TAG_OPTIONS = ['meteor', 'cloud', 'bug', 'misc'];
let CURR_DIR = null;
let CURR_FILES = null;
let INIT_CMAP = null;
let CURR_IDX = 0;
let PREV_IDX = null;
$(async function() {
let cameras = JSON.parse(await $.get('cameras.php'));
cameras.forEach((camera) => {
$('... |
import React, { Component, PropTypes } from 'react'
import { Search, Grid } from 'semantic-ui-react'
import { browserHistory } from 'react-router'
import Tag from './Tag'
import { search, setQuery, clearSearch } from '../actions/entities'
import { MIN_CHARACTERS, <API key> } from '../constants/search'
const propTypes =... |
<!-- HTML header for doxygen 1.8.10-->
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>SideCar: SideCar::Parameter::Defs::<API key>< T &... |
require 'test_helper'
class HostRedirectorTest < ActionController::TestCase
tests MyController
setup do
@old_host = get_config_host
set_config_host "localhost"
end
teardown do
set_config_host @old_host
end
test "should get index" do
request.host = "localhost"
get :index
assert_respon... |
/* This file defines a function that parses DER with various errors and
* violations. This is not a part of the library itself, because the allowed
* violations are chosen arbitrarily and do not follow or establish any
* standard.
*
* In many places it matters that different implementations do not only accept
* t... |
PowerdnsOnRails::Application.configure do
# Settings specified here will take precedence over those in config/environment.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 tur... |
'''
Test cases for pyclbr.py
Nick Mathewson
'''
from test.test_support import run_unittest, import_module
import sys
from types import ClassType, FunctionType, MethodType, BuiltinFunctionType
import pyclbr
from unittest import TestCase
StaticMethodType = type(staticmethod(lambda: None))
ClassMethodType = type(cla... |
<<<< HEAD
var xmlDoc;
var xmlloaded = false;
var _finalUrl;
/*
* input: none
* output: none
* gets zipcode from the zipcode text field
*/
function createURL() {
var zip = document.getElementById("zipcode").value;
var format = "&format=xml"
var _clientId = "&client_id=API KEY";
var _url = "https://ap... |
<div class="col-md-12 remove_padding">
<div class="col-md-4 right_padding ttt_pack" id="rmpd_calculate">
<div class="row col-md-12 header_new_style">
<h2 class="tt text_caplock">Location</h2>
<span class="liner_landing"></span>
<di... |
The MIT License (MIT)
Copyright (c) 2015 copyright Juan Quemada
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, me... |
import { createElement } from 'react'
import omit from 'lodash/omit'
import { useSpring, animated } from '@react-spring/web'
import { useTheme, useMotionConfig } from '@nivo/core'
import { NoteSvg } from './types'
export const AnnotationNote = <Datum,>({
datum,
x,
y,
note,
}: {
datum: Datum
x: n... |
package pl.mmorpg.prototype.client.exceptions;
public class <API key> extends GameException
{
public <API key>(String identifier)
{
super(identifier);
}
public <API key>(Class<?> type)
{
super(type.getName());
}
} |
FROM node
WORKDIR /usr/src/app
COPY package*.json client.js index.html rest-server.js UserModel.js ./
RUN npm ci
EXPOSE 3000
CMD ["npm", "start"] |
// This file was generated based on 'C:\ProgramData\Uno\Packages\Uno.Collections\0.13.2\Extensions\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_UNO_COLLECTIONS_UNION_ENUMERATOR__OUTRACKS_SIMULATOR_BYTECODE_STATEMENT_H__
#define __APP_UNO_COLLECTIONS_UNION_ENUMERATOR__OUTRACKS_... |
layout: automation
title: Automation of Paving, Surfacing, and Tamping Equipment Operators
subtitle: Will robots and artificial intelligence take the job of Paving, Surfacing, and Tamping Equipment Operators? Get the facts.
soc:
code: 47-2071
title: Paving, Surfacing, and Tamping Equipment Operators
definition: '... |
import { ILogger, getLogger } from './loggers';
import { CancellationToken, ICancellationToken } from '../util/CancellationToken';
import { Step } from './Step';
import { ModuleLoader } from './ModuleLoader';
import * as _ from 'underscore';
import { Guid } from '../util/Guid';
import { InjectorLookup, Module, ModuleRe... |
<div class="<API key>">
<ion:usermanager request="form" attr="has_errors" form_name="profile_save">
<div class="greentab"><div class="greentab_head"><div><div><div><ion:translation term="<API key>" /></div></div></div></div><div class="greentab_content"><div><div>
<div class="usermanager_error">... |
from django.db import models
from django.core.urlresolvers import reverse
class Software(models.Model):
name = models.CharField(max_length=200)
def __unicode__(self):
return self.name
def get_absolute_url(self):
return reverse('software_edit', kwargs={'pk': self.pk}) |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Децентрализированное Хранилище Данных</title>
<link rel="stylesheet" href="/bootstrap-3.3.7/css/bootstrap.min.css">... |
#!/usr/bin/python3
"""
This bot uploads text from djvu files onto pages in the "Page" namespace.
It is intended to be used for Wikisource.
The following parameters are supported:
-index:... name of the index page (without the Index: prefix)
-djvu:... path to the djvu file, it shall be:
... |
{{ _("test1") }}
{{ _('test2') }}
{{ _ 'test3' }}
{{ _ "test3.1" _ 'test4' _ "test5" }}
<%=_("test6")%>
<%= _("test7") %> |
package edu.brown.cs.pianoHeroFiles;
import java.io.<API key>;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.<API key>;
import java.io.File;
import java.io.FileInputStream;
import java.io.<API key>;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
imp... |
$( document ).ready( function () {
$( "#form" ).validate( {
rules: {
company: { required: true },
truckType: { required: true },
materialType: { required: true },
fromSite: { required: true },
toSite: ... |
var axios = require("axios");
var expect = require("chai").expect;
var MockAdapter = require("../src");
describe("MockAdapter asymmetric matchers", function () {
var instance;
var mock;
beforeEach(function () {
instance = axios.create();
mock = new MockAdapter(instance);
});
it("mocks a post request w... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdatePagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table(
'pages',... |
'use strict';
var intlNameInitials = function () {
};
var pattern = '{0}{1}';
function _firstLetter(text) {
return text.charAt(0);
}
function _upperCase(letter) {
if (letter === 'ı'){
return 'I';
}
return letter.toUpperCase();
}
function _isHangul(l){
if ((l > 44032) && (l < 55203)) {
... |
export default [
{
radius: 6,
sizeReduction: .85,
branchProbability: 0.12,
rotation: new THREE.Vector3(0, 1, 0),
color: 'blue'
},{
radius: 6,
sizeReduction: .85,
branchProbability: 0.21,
rotation: new THREE.Vector3(0, 1, 0),
color: 'blue'
},{
radius: 3,
sizeReduction: .87... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lv_LV" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Hirocoin</source>
<translation>Par Hirocoin</translation>
</m... |
VERSION := 1.1a
ROOT := $(shell pwd)
PATH := $(ROOT)/.luvit:$(PATH)
all: module
test: module |
setTimeout(() => {
import(/* webpackPreload: true */ "./lazy-chunk-2.js").then((mod) =>
mod.test()
);
}, 750); |
html
{
min-height: 100%;
padding-bottom: 1px;
}
body
{
background: #000;
margin: 0 auto;
width: 1024px;
font-family: 'Arial';
}
#header-container
{
float: left;
width: 128px;
}
#header-container img
{
margin: 13px 10px 0;
}
#main
{
background: #FFF;
float: left;
width: 76... |
<?php declare(strict_types=1);
namespace Tests\Tsufeki\HmContainer\Definition;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
use Tsufeki\HmContainer\Definition\Reference;
/**
* @covers \Tsufeki\HmContainer\Definition\Reference
*/
class ReferenceTest extends TestCase
{
public function <API ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.