answer stringlengths 15 1.25M |
|---|
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Aug 06 17:37:29 EST 2004 -->
<TITLE>
Overlay
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="Overlay";
}
</SCRIPT>
<BODY BGCOLOR="white" onlo... |
package com.blamejared.compat.tcomplement.highoven;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import com.blamejared.ModTweaker;
import com.blamejared.compat.mantle.<API key>;
import com.blamejared.compat.tcomplement.highoven.recipes.HeatRecipeTweaker;
impo... |
package org.cactoos.io;
import java.io.<API key>;
import java.io.IOException;
import java.io.InputStream;
/**
* InputStream that returns content in small portions.
*
* @since 0.12
*/
public final class SlowInputStream extends InputStream {
/**
* Original stream.
*/
private final InputStream origin... |
Test.expect(reverseWords('The quick brown fox jumps over the lazy dog.') === 'ehT kciuq nworb xof spmuj revo eht yzal .god');
Test.expect(reverseWords('apple') === 'elppa');
Test.expect(reverseWords('a b c d') === 'a b c d');
Test.expect(reverseWords('double spaced words') === 'elbuod decaps sdrow'); |
'use strict';
import { gl } from './Context';
import { mat4 } from 'gl-matrix';
import Camera from './Camera';
class OrthographicCamera extends Camera
{
constructor(
{
path,
uniforms,
background,
translucence,
right,
top,
name = 'orthographic.camera',
... |
// Karma configuration
// Generated on Wed Feb 17 2016 10:45:47 GMT+0100 (CET)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: './',
// frameworks to use
frameworks: ['systemjs', 'jasmine'],
... |
#pragma once
#include "unittest.h"
#include <iostream>
#include <vector>
class PairSum : public UnitTest
{
public:
typedef std::vector<int> IntVec;
/*!
* \brief hasPairSum Checks to see if there are any two integers that sum to the given value.
* Assumes input vector is sorted.
* \param vec The v... |
<?php
return [
'default' => env('DB_CONNECTION', 'mysql'),
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
],
'mysql' => [
'driver' => 'mysql',
... |
USE `your_database`;
CREATE TABLE <API key> AS
SELECT doc_std_name_id,
doc_std_name,
person_id,
person_name,
invt_seq_nr
FROM applt_addr_ifris
WHERE invt_seq_nr = 0
GROUP BY doc_std_name_id;
-- STEP 2 Create table with unkown entities where inventors sequence is different than 0
CREATE TABLE... |
<img src="DashboardScreenshot.png"/> |
<?php
require_once 'phpmailer/class.phpmailer.php';
/**
* Class NotifyManager
*
* @property NotifyModule $module
*/
class old_NotifyManager extends Ab_ModuleManager {
private $emlcounter = 1;
public function SendMail($email, $subject, $message, $from = '', $fromName = ''){
public function SendByMailer($... |
#!/usr/bin/env python
'''
Import this module to have access to a global redis cache named GLOBAL_CACHE.
USAGE:
from caching import GLOBAL_CACHE
GLOBAL_CACHE.store('foo', 'bar')
GLOBAL_CACHE.get('foo')
>> bar
'''
from redis_cache import SimpleCache
try:
GLOBAL_CACHE
except NameError:
GLOBAL_CACHE... |
using System;
namespace East.Tool.UseCaseTranslator.WebAPI.Areas.HelpPage
{
<summary>
This represents an image sample on the help page. There's a display template named ImageSample associated with this class.
</summary>
public class ImageSample
{
<summary>
Initializes a new instance ... |
'use strict'
// create a net-peer compatible object based on a UDP datagram socket
module.exports = function udpAdapter(udpSocket, udpDestinationHost, udpDestinationPort) {
const _listeners = []
udpSocket.on('message', (msg, rinfo) => {
//console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`)
... |
package ru.otus.java_2017_04.golovnin.hw09;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity(name = "user")
@Table(name = "users")
public class User extends DataSet{
@Column(name = "name")
private String name;
@Column(name = "age", nullable = false, l... |
var Filter = require('broccoli-filter')
module.exports = WrapFilter;
WrapFilter.prototype = Object.create(Filter.prototype);
WrapFilter.prototype.constructor = WrapFilter;
function WrapFilter (inputTree, options) {
if (!(this instanceof WrapFilter)) return new WrapFilter(inputTree, options)
Filter.call(this, inputT... |
{% extends "layout.html" %}
{% block head %}
{% include "includes/head.html" %}
<script>
$(document).ready(function() {
var source = getParameterByName('source') || 'employer';
$('#source').val(source);
});
function getParameterByName(name, url) {
if (... |
layout: post
title: My First HTML File
image: /images/html.png
excerpt: How to create your first HTML file, including setting up your development environment.
I've compiled some things that might help you create your first HTML file.
Creating Your Workbench Folder
Developers like having a folder dedicated to all of our... |
package com.purvotara.airbnbmapexample.model;
import android.content.Context;
import com.android.volley.Request;
import com.google.gson.Gson;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;
import com.purvotara.airbnbmapexample.cons... |
html, body, .flexbox {
background-color: #FFF;
margin: 0;
padding: 0;
height: 100%;
line-height: 1;
font-family: 'Open Sans', 'Verdana', 'sans-serif';
color: white;
}
b {
font-weight: bolder;
font-size: 18px;
}
.main-flexbox {
display: flex;
flex-wrap: wrap;
}
.nested-flexbox... |
// William E. Kempf
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/thread.hpp>
#include <boost/task.hpp>
#include <boost/test/unit_test.hpp>
#include <libs/task/test/util.ipp>
namespace tsk = boost::tasks;
namespace pt = boost::posix_time;
struct condition_test_data
{
condition_test_data() : n... |
namespace _8.ArraySymmetry
{
using System;
using System.Linq;
public class ArraySymmetry
{
public static void Main()
{
var words = Console.ReadLine().Split(' ').ToArray();
var isSymmetric = true;
for (int i = 0; i < words.Length / 2; i++)
{... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Books extends MY_Controller {
public function __construct() {
parent::__construct();
$this->loadModel('Book', 'books_model');
$this->setTitle('Bookshelf');
}
public function index()
{
$this->setOutputData('books', $this-... |
Template.formeditprofile.events({
'submit #editform': function(event){
event.preventDefault();
var firstNameVar = event.target.firstname.value;
var lastNameVar = event.target.lastname.value;
var classVar = event.target.classvar.value;
Profiles.insert({
uid:Meteor.... |
\hypertarget{<API key>}{}\section{cpp.\+utils Namespace Reference}
\label{<API key>}\index{cpp.\+utils@{cpp.\+utils}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item
def \hyperlink{<API key>}{Read\+File} (filename, print\+\_\+error=True)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemiz... |
def selector(values, setBits):
maxBits = len(values)
def select(v):
out = []
for i in range(maxBits):
if (v & (1 << i)):
out.append(values[i])
return out
v = (2 ** setBits) - 1
endState = v << (maxBits - setBits)
yield select(v)
while v != endS... |
// FoalTS
import { ValidateFunction } from 'ajv';
import {
ApiParameter,
ApiResponse,
Context,
Hook,
HookDecorator,
<API key>,
IApiHeaderParameter,
OpenApi,
ServiceManager
} from '../../core';
import { getAjvInstance } from '../utils';
import { isFunction } from './is-function.util';
/**
* Hook - Val... |
using System;
using System.Collections.Generic;
using Baseline;
using Marten.Storage;
namespace Marten.Schema.Identity.Sequences
{
public class <API key> : IIdGeneration
{
private readonly HiloSettings _hiloSettings;
private readonly DocumentMapping _mapping;
public <API key>(DocumentMap... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test Ceros Embed with Google Analytics</title>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['<API key>']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.create... |
var expect = require('expect.js');
var EventEmitter = require('events').EventEmitter;
var fixtures = require('../fixtures');
var Detector = require('../../lib/detector.js');
describe('Detector', function() {
// Used to test emitted events
var found;
var listener = function(magicNumber) {
found.p... |
# testStr = "Hello {name}, How long have you bean?. I'm {myName}"
# testStr = testStr.format(name="Leo", myName="Serim")
# print(testStr)
limit = None
hello = str(limit, "")
print(hello)
# print( "4" in "3.5") |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'App.created_at'
db.add_column('mobile_apps_app', 'created_at', self.gf('django.db.models.fields.DateT... |
<?php
if (!defined('VOBLA_TESTING')) {
set_include_path(implode(PATH_SEPARATOR, array(
realpath(__DIR__.'/../lib/'),
realpath(__DIR__.'/../lib/vendor/Doctrine/lib/'),
realpath(__DIR__.'/../lib/vendor/Moko/lib/'),
realpath(__DIR__.'/../lib/vendor/Logade/lib/'),
get_include_pat... |
using System;
using System.Collections.Generic;
namespace VanEmdeBoasTree.Tests
{
internal static class <API key>
{
public static void RunAllTests()
{
<API key>();
}
static void <API key>()
{
var universe = 1000;
var expectedSize = 1024... |
.unselectable {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
._jsPlumb_connector:hover {
cursor: pointer;
opacity: 0.7;
}
._jsPlumb_endpoint,
._jsPlumb_dragging {
cursor: move !important;
z-index: 999;
/* bypass overlay z-index*/
}
.source-anchor {
v... |
/**
* Example implementation of the dialog choice UI pattern.
*/
#include "<API key>.h"
#include "xadow.h"
static Window *s_diag_window;
static TextLayer *s_label_layer;
static BitmapLayer *s_icon_layer;
static ActionBarLayer *s_action_bar_layer;
static uint8_t resp_buffer[3];
static SmartstrapAttribute *s_attr_bat_c... |
import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import './PostListView.scss';
import { toastr } from 'react-redux-toastr';
import { bindActionCreators } from 'redux';
import {
fetchPostsFromApi,
selectPostCategory,
clearPostsErrors,
clearPostsMessages
} from '../../../actions/ac... |
package models.factories;
import models.squares.PropertySquare;
import java.util.Set;
/**
* @author Ani Kristo
*/
interface PropertyFactory {
Set<? extends PropertySquare> makeSquares();
} |
layout: post
title: ""
date: 2017-02-14
excerpt: ""
tags: [, resume]
feature: https://cdn.justice-love.com/image/jpg/bjfj1.jpg
project: true
comments: false
*
*
* 15580938143eddyxu1213@126.com
* [http:
* GitHub[https:
*
*
* dubbospring AOP spring JPAMybatisnettytomcatseata
* Apache dubboalibaba seata
* [http:
* java
* ... |
#include <stdlib.h>
#include <sys/time.h>
#include <sys/resource.h>
class Timer
{
public:
int start();
int <API key> (double &);
int elapsedUserTime (double &);
... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TableTop.Repository.DatabaseModels;
namespace TableTop.Data.Context
{
public class TableTopContext : DbContext
... |
# HipStudio
## About
HipStudio is a small web application to allow [Visual Studio Online](http://visualstudio.com)
to post messages to a [HipChat](http://hipchat.com) room.
VSO [already supports HipChat](http:
wanted to be able to better customize the messages being posted.
## Prerequisites
This project is written in P... |
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing.Design;
using System.Collections;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Collections.Generic;
using SharpGL;
using SharpGL.SceneGraph.Quadrics;
using SharpGL.SceneGraph.Cameras;
u... |
// Code generated by github.com/fjl/gencodec. DO NOT EDIT.
package tests
import (
"encoding/json"
"math/big"
"github.com/okcoin/go-okcoin/common"
"github.com/okcoin/go-okcoin/common/math"
)
var _ = (*<API key>)(nil)
func (d DifficultyTest) MarshalJSON() ([]byte, error) {
type DifficultyTest struct {... |
using EnsureThat;
using System;
using System.Collections.ObjectModel;
namespace BuildHelper.UI.Data
{
<summary>
Class used to store configuration settings in Visual Studio ConfigurationStore
</summary>
[Serializable]
public class <API key>
{
public <API key><BuildConfiguration> Configura... |
<section data-ng-controller="AngularController">
<h2>This is angular YO</h2>
</section> |
/**
* Module dependencies.
*/
var util = require('sails-util'),
uuid = require('node-uuid'),
path = require('path'),
generateSecret = require('./generateSecret'),
cookie = require('express/node_modules/cookie'),
parseSignedCookie = require('cookie-parser').signedCookie,
ConnectSession = require('express/n... |
// StoreLocation.cs - System.Security.Cryptography.X509Certificates.StoreLocation
// Sebastien Pouliot <sebastien@ximian.com>
// 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, modif... |
\hypertarget{<API key>}{}\section{/mnt/windows/data/programming/crapengine2/source/plugins/resources/source/resourcesplugin.cpp File Reference}
\label{<API key>}\index{/mnt/windows/data/programming/crapengine2/source/plugins/resources/source/resourcesplugin.\+cpp@{/mnt/windows/data/programming/crapengine2/source/plugin... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Flights Register</title>
<link type="text/css" href="./resources/css/flights.css" rel="stylesheet"/>
<script type="text/javascript" src="./resources/js/flights.js"></script>
</head>
<body>
<header>
... |
function showErrorMessage(errorMessage) {
$("#authorize-prompt")
.addClass("error-prompt")
.removeClass("success-prompt")
.html(errorMessage);
}
function showSuccessMessage(message) {
$("#authorize-prompt")
.removeClass("error-prompt")
.addClass("success-prompt")
... |
import math
import urwid
from mitmproxy.tools.console import common
from mitmproxy.tools.console import signals
from mitmproxy.tools.console import grideditor
class SimpleOverlay(urwid.Overlay):
def __init__(self, master, widget, parent, width, valign="middle"):
self.widget = widget
self.master = ma... |
package turtle.gui.panel;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.Border;
import turtle.behavior.team.<API key>;
... |
Important Dates:
| Date | event |
|
| March 31, 2017 | Registration begins. |
| March 31, 2017 | Release of training dataset. |
| May 31, 2017 | Release of validation dataset. |
| July 10 -- July 31, 2017 | Software evaluation phas... |
module.exports = [
'M6 2 L26 2 L26 30',
'L16 24 L6 30 Z'
].join(' '); |
package platzi.app;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
public interface <API key> extends JpaRepository<Instructor, Long> {
Optional<Instructor> findByUsername(String username);
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<!-- build:css styles/vendor.css -->
<!-- bower:css -->
<link rel="stylesheet" href="bower_components/ionic/release/css/i... |
int test_1(duk_context *ctx) {
void *ptr;
size_t sz;
int i;
duk_set_top(ctx, 0);
<API key>(ctx, 1024);
<API key>(ctx, 0);
<API key>(ctx, 1024);
<API key>(ctx, 0);
for (i = 0; i < 4; i++) {
sz = (size_t) 0xdeadbeef;
ptr = duk_require_buffer(ctx, i, &sz);
printf... |
# SonarQube Companion
SonarQube Companion application for Scrum teams.
[,
)
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': os.path.join(os.path.dirname(__file__), 'highways.db'), #... |
<div class="container">
<div class="card-panel darken-2 z-depth-2">
<h5 class="red-text"><i class="fa fa-search-plus"></i> CONSULTA</h5>
<br>
<form action="<?php echo baseUrl ?>home/consultas/index" method="POST" class="col s12">
<?php echo Token::field() ?>
<div class="row">
<div clas... |
#include "common.h"
#define BUFFSIZE 4096
int main(void) {
int n;
char buf[BUFFSIZE];
while ((n = read(STDIN_FILENO, buf, BUFFSIZE)) > 0) {
if (write(STDOUT_FILENO, buf, n) != n) {
err_sys("write error");
}
}
if (n < 0) {
err_sys("read error");
}
exit(0);
} |
package com.qiniu.android.dns.http;
import com.qiniu.android.dns.Domain;
import com.qiniu.android.dns.IResolver;
import com.qiniu.android.dns.NetworkInfo;
import com.qiniu.android.dns.Record;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
public final cla... |
package test.ethereum.core;
import test.ethereum.TestContext;
import org.ethereum.config.SystemProperties;
import org.ethereum.core.Block;
import org.ethereum.core.BlockchainImpl;
import org.ethereum.core.Genesis;
import org.ethereum.facade.Blockchain;
import org.ethereum.manager.WorldManager;
import org.junit.After;
i... |
#include "../Internal.h"
#include <sys/types.h>
#include <sys/wait.h>
#include <Lumino/Base/ElapsedTimer.h>
#include <Lumino/IO/Process.h>
#if defined(LN_OS_MAC)
#include <crt_externs.h>
#define environ (*_NSGetEnviron())
#else
extern char **environ;
#endif
LN_NAMESPACE_BEGIN
namespace detail {
// ProcessImpl
class Pro... |
.left {
left: -8.33%;
text-align: left;
float: left;
width: 50%;
z-index: -10;
}
.right {
left: 31.25%;
top: 75px;
float: right;
text-align: right;
z-index: -10;
width: 50%
}
.img-center {
background-position: center;
background-size: cover;
width: 100%;
} |
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.2.1] - 2018-07-02
Fixed
- Fix #12: Open only one Ev... |
package com.wabbit.libraries;
import android.content.Context;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.UUID;
public class Installation {
private static String sID = null;
private static final String INSTALLATION = "INSTAL... |
<?php get_header(); ?>
<main role="main" class="main-content">
<!-- section -->
<section>
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<h1><?php the_title();?></h1>
<?php get_template_part( 'template-parts/content', 'single' );?>
<span><?php previous_pos... |
// FMKImageMarkerLayer.h
// FMMapKit
#import "FMKLayer.h"
@class FMKImageMarker;
/**
"addLayer:"
FMKMap <API key>:
*/
@interface FMKImageLayer : FMKLayer
/**
*
*
* @param groupID ID
*
* @return
*/
- (instancetype)initWithGroupID:(NSString *)groupID;
ID
@property (nonatomic,readonly) NSString* groupID;
/*... |
// This file is part of the Siv3D Engine.
# pragma once
# include "Common.hpp"
# include "Asset.hpp"
# include "ShaderCommon.hpp"
# include "VertexShader.hpp"
# include "AsyncTask.hpp"
namespace s3d
{
struct <API key> : IAsset
{
FilePath path;
String entryPoint;
Array<<API key>> bindi... |
// DATA_TEMPLATE: empty_table
oTest.fnStart("5396 - fnUpdate with 2D arrays for a single row");
$(document).ready(function () {
$('#example thead tr').append('<th>6</th>');
$('#example thead tr').append('<th>7</th>');
$('#example thead tr').append('<th>8</th>');
$('#example thead tr').append('<th>9</th>... |
package BubbleSort2D;
public class person {
String name;
int age;
boolean sortme = false;
public person(String n, int a) {
name = n;
age = a;
}
public String toString(){
return name + " " + Integer.toString(age);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ShoNS.Array;
using Rhino.Geometry;
namespace mikity.ghComponents
{
public partial class Mothra2 : Grasshopper.Kernel.GH_Component
{
private DoubleArray[] baseFunction;
privat... |
# Processing
Processing a request consists of these phases:
* Dialog Context: check if the input is just an answer to a question by the system
* Tokenization: from raw text to a string of tokens
* Parsing: from tokens to parse tree with attached generic relations
* Relationizer: combine the relations to a single set wi... |
JSON = JSON[0]
local function checkArg(n, have, ...)
have = type(have)
local function check(want, ...)
if not want then
return false
else
return have == want or check(...)
end
end
if not check(...) then
local msg = string.format("bad argument #%d (%s expected, got %s)",
... |
using System.ComponentModel.Composition.Hosting;
using System.Threading.Tasks;
using LiteGuard;
using Mileage.Server.Contracts.Commands;
using Mileage.Server.Contracts.Commands.Mileage;
using Mileage.Shared.Results;
using Raven.Client;
using Raven.Client.Indexes;
namespace Mileage.Server.Infrastructure.Commands.Mileage... |
!function(i){var n="tosrus",e="html";i[n].media[e]={filterAnchors:function(n){return"#"==n.slice(0,1)&&i(n).is("div")},initAnchors:function(e,t){i('<div class="'+i[n]._c("html")+'" />').append(i(t)).appendTo(e),e.removeClass(i[n]._c.loading).trigger(i[n]._e.loaded)},filterSlides:function(i){return i.is("div")},initSlid... |
'use strict';
module.exports = {
Accounts: require('./src/Accounts'),
Email: require('./src/Email'),
Init: require('./src/Init'),
Prefs: require('./src/Prefs'),
Security: require('./src/Security')
}; |
// FORGestureTrack.h
// <API key>
#import "FORTrackGesture.h"
@interface UIWindow (tracking)
- (void)startTracking;
- (void)endTracking;
@end |
<?php
namespace Sfs\AdminBundle\Tests\Fixtures\TestBundle\Admin;
use Sfs\AdminBundle\Controller\AdminController;
use Sfs\AdminBundle\Tests\Fixtures\TestBundle\Admin\Form\Type\PageType;
class PageAdmin extends AdminController
{
protected $resourceName = "Page";
public function setListFields() {
return ar... |
package com.github.mmonkey.Automator.Migrations;
import com.github.mmonkey.Automator.Automator;
public abstract class MigrationRunner {
protected Automator plugin;
protected int version;
protected int latest = 0;
public void run() {
while (this.version != this.latest) {
MigrationInte... |
using System;
using System.Diagnostics;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
namespace SimpleNet.ServiceHost.Behaviors
{
public class ErrorHandler : IErrorHandler
{
// Provide a fault. The Message fault parameter can be replaced, or set to
// null to suppress... |
namespace Enexure.MicroBus
{
public interface IQuery<in TQuery, out TResult> : IQuery, IMessage
where TQuery : IQuery<TQuery, TResult>
{
}
public interface IQuery
{
}
} |
package core
trait Card {
def name: String
def cost: Int
}
trait Actionable {
}
trait Treasurable {
def coin: Int
}
trait Victoriable {
def vp: Int
}
object Estate extends Card with Victoriable {
val name = "Estate"
val cost = 2
val vp = 1
}
object Copper extends Card with Treasurable {
val name = "Copp... |
module.exports = {
KeyQ: {
printable: true,
keyCode: 81,
Default: 'ქ',
Shift: '',
CapsLock: 'Ⴕ',
Shift_CapsLock: '',
Alt: '',
Alt_Shift: ''
},
KeyW: {
printable: true,
keyCode: 87,
Default: 'წ',
Shift: 'ჭ',
CapsLock: 'Ⴜ',
Shift_CapsLock: 'Ⴝ',
Alt: '∑',
... |
<?php
declare(strict_types = 1);
namespace App\Tests\Integration\Rest\Traits\Methods\src;
use App\Rest\Controller;
use App\Rest\Interfaces\<API key>;
use App\Rest\Interfaces\<API key>;
use App\Rest\Traits\Methods\UpdateMethod;
abstract class <API key> extends Controller
{
use UpdateMethod;
public function __con... |
<!-- ignore the following lines, they are not important to this demo -->
<<API key> [summary]="summary" [content]="description">
</<API key>>
<!-- start to learn the demo from here -->
<jigsaw-header [level]="2"></jigsaw-header>
<jigsaw-steps #jigsawSteps class="steps" [data]="data" (add)="addHandler($event)" (remove)=... |
.post {
lost-column: 1/1 0 0;
margin-top: 124px;
padding: 40px 50px 0;
@media (--tablet) {
padding-left: 35px;
padding-right: 35px;
}
@media (--desktop) {
padding-left: 20px;
padding-right: 20px;
}
&-container {
lost-center: 980px;
lost-align: center;
text-align: center;
... |
package loadingandsaving.<API key>.splitintohtmlpages.java;
/**
* A simple class to hold a topic title and HTML file name together.
*/
class Topic
{
Topic(String title, String fileName) throws Exception
{
mTitle = title;
mFileName = fileName;
}
String getTitle() throws Exception { retu... |
class <%= class_name %> < ApplicationPage
# self.route = nil # slug
# self.allow_create = true
# self.allow_destroy = true
# self.minimum_children = nil
# self.minimum_children = nil
# self.allowed_children = []
# form do |f|
# f.inputs
# f.buttons
# end
# def static_children... |
package org.opengroup.archimate.xmlexchange;
/**
* XML Exception
*
* @author Phillip Beauvoir
*/
public class <API key> extends Exception {
public <API key>() {
super(Messages.<API key>);
}
public <API key>(String message) {
super(message);
}
public <API key>(String message, Thr... |
@file
#ifndef <API key>
#define <API key>
#include "wxchartctrl.h"
#include "wxmath2dplot.h"
#include <wx/menu.h>
A control that displays a math2d plot.
\ingroup chartclasses
class wxMath2DPlotCtrl : public wxChartCtrl
{
public:
Constructs a wxMath2DPlotCtrl control.
@param parent Pointer to a parent window.
... |
window.Boid = (function(){
function Boid(x, y, settings){
this.location = new Vector(x, y);
this.acceleration = new Vector(0, 0);
this.velocity = new Vector(Helper.getRandomInt(-1,1), Helper.getRandomInt(-1,1));
this.settings = settings || {};
this.show_connections = settings.show_conn... |
package com.aliumujib.majlis.mkan_report_app.addnew.fragments;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.aliumujib.majlis.mkan_report_app.R;
import com.stepstone.stepper.VerificationError;
public class SihateJismaniPart2 extends Bas... |
<?php
namespace WellCommerce\Bundle\LocaleBundle\Copier;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\Criteria;
use Symfony\Component\PropertyAccess\PropertyAccess;
use WellCommerce\Bundle\CoreBundle\Helper\Doctrine\<API key>;
use WellCommerce\Bundle\LocaleBundle\Entity\<API key>;
use Wel... |
/// <reference path="vector2d.ts" />
function fillCircle(x: number, y: number, radius: number, color: string) {
context.beginPath();
context.arc(x, y, radius, 0, Math.PI * 2);
context.fillStyle = color;
context.fill();
}
function fillCircleWithFace(context: <API key>, x: number, y: number, radius: number, color... |
using EdityMcEditface.HtmlRenderer.SiteBuilder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EdityMcEditface.Mvc.Config
{
public class <API key>
{
<summary>
The site builder to customize.
</summary>
public ISiteBuilder... |
package com.hypebeast.sdk.api.model.hypebeaststore;
import com.google.gson.annotations.SerializedName;
import com.hypebeast.sdk.api.model.Alternative;
import com.hypebeast.sdk.api.model.symfony.taxonomy;
public class ReponseNormal extends Alternative {
@SerializedName("products")
public ResponseProductList prod... |
// <API key>.h
// geopackage-iosTests
#import "<API key>.h"
@interface <API key> : <API key>
@end |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.